From 4942e4cdc32a241c6ee94dd87fbf54d37462d103 Mon Sep 17 00:00:00 2001 From: gkbishnoi07 Date: Mon, 3 Nov 2025 22:41:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?= =?UTF-8?q?eb-app@28beb149a22a44fe0f719d66c77bc28e68560f50=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...e-IVHTYIXN.js => account-transfers.module-GDY344BC.js} | 2 +- browser/{chunk-FTOWLVPJ.js => chunk-2GS7A7AG.js} | 2 +- browser/{chunk-VBBRCPKR.js => chunk-5AGPL5TR.js} | 2 +- browser/{chunk-6BHQY5IX.js => chunk-F236TJSX.js} | 2 +- browser/{chunk-UYUZ6Z3O.js => chunk-PSX76TTC.js} | 2 +- browser/{chunk-YP73UGHI.js => chunk-T2EJMLQH.js} | 2 +- browser/{chunk-ZU2BZ22G.js => chunk-U4ZSIPVL.js} | 2 +- browser/{chunk-3WJYEYPY.js => chunk-WHWF3LGY.js} | 2 +- ....module-EBIQQZB5.js => collaterals.module-MTJBLGFN.js} | 2 +- ...dule-ULKUEONO.js => fixed-deposits.module-H5PAL7OD.js} | 4 ++-- browser/index.html | 2 +- ...{loans.module-4FOPOZNZ.js => loans.module-ALJQYSNV.js} | 4 ++-- browser/main.js | 8 ++++---- ...-Q3BVQOAN.js => recurring-deposits.module-IYQ4UZD4.js} | 4 ++-- ...ings.module-ST6ORCRD.js => savings.module-PQFTXTEB.js} | 4 ++-- ...hares.module-ZHVNBTYF.js => shares.module-4RI5JN4U.js} | 2 +- 16 files changed, 23 insertions(+), 23 deletions(-) rename browser/{account-transfers.module-IVHTYIXN.js => account-transfers.module-GDY344BC.js} (99%) rename browser/{chunk-FTOWLVPJ.js => chunk-2GS7A7AG.js} (89%) rename browser/{chunk-VBBRCPKR.js => chunk-5AGPL5TR.js} (99%) rename browser/{chunk-6BHQY5IX.js => chunk-F236TJSX.js} (97%) rename browser/{chunk-UYUZ6Z3O.js => chunk-PSX76TTC.js} (82%) rename browser/{chunk-YP73UGHI.js => chunk-T2EJMLQH.js} (97%) rename browser/{chunk-ZU2BZ22G.js => chunk-U4ZSIPVL.js} (91%) rename browser/{chunk-3WJYEYPY.js => chunk-WHWF3LGY.js} (99%) rename browser/{collaterals.module-EBIQQZB5.js => collaterals.module-MTJBLGFN.js} (99%) rename browser/{fixed-deposits.module-ULKUEONO.js => fixed-deposits.module-H5PAL7OD.js} (99%) rename browser/{loans.module-4FOPOZNZ.js => loans.module-ALJQYSNV.js} (99%) rename browser/{recurring-deposits.module-Q3BVQOAN.js => recurring-deposits.module-IYQ4UZD4.js} (99%) rename browser/{savings.module-ST6ORCRD.js => savings.module-PQFTXTEB.js} (99%) rename browser/{shares.module-ZHVNBTYF.js => shares.module-4RI5JN4U.js} (99%) diff --git a/browser/account-transfers.module-IVHTYIXN.js b/browser/account-transfers.module-GDY344BC.js similarity index 99% rename from browser/account-transfers.module-IVHTYIXN.js rename to browser/account-transfers.module-GDY344BC.js index 63b6def94..8ae50da24 100644 --- a/browser/account-transfers.module-IVHTYIXN.js +++ b/browser/account-transfers.module-GDY344BC.js @@ -1,4 +1,4 @@ -import{a as D}from"./chunk-6BHQY5IX.js";import{$a as Ee,$b as j,$c as Be,Aa as At,Ac as ht,Ad as ut,Ba as Mt,Bc as z,Ca as kt,Cd as U,D as H,Da as E,E as qt,Ea as t,Fa as c,Fc as Q,Fd as ft,G as V,Ga as v,Gc as _,Ha as g,Hc as W,Ia as Te,Ic as tt,J as h,Jd as Pe,Jf as Re,K as C,Ka as he,La as Ce,Lc as Ft,Lf as Le,Ma as be,Mc as ke,Mf as He,Nc as et,Nd as xt,Nf as je,Oa as w,Oc as Ct,Pa as vt,Pc as Fe,Qc as nt,Ra as o,Sa as s,Sb as N,Se as jt,Ta as Lt,Tc as it,Td as Ne,Te as $t,Ue as Ut,V as ce,Vb as Tt,Vf as $e,Wb as G,Wc as at,We as Gt,Xe as zt,Yb as pe,Yc as Oe,Z as a,Ze as Qt,_a as ye,_c as bt,_e as Wt,ab as Z,ad as F,af as Yt,ba as I,bb as P,bd as q,bf as Jt,ca as A,da as Vt,df as Kt,ed as $,ga as u,gd as rt,gf as Ot,ia as m,jb as De,kd as Y,ld as ot,ma as n,mc as Ae,md as we,me as qe,na as e,ne as Ve,oa as f,od as st,og as Ue,pa as R,pb as M,pd as J,qa as L,qd as Ht,rd as K,sa as O,sd as lt,ta as T,ua as b,ud as mt,vc as k,wd as ct,xa as Rt,xc as Me,xd as pt,yd as dt,ze as yt}from"./chunk-3WJYEYPY.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` +import{a as D}from"./chunk-F236TJSX.js";import{$a as Ee,$b as j,$c as Be,Aa as At,Ac as ht,Ad as ut,Ba as Mt,Bc as z,Ca as kt,Cd as U,D as H,Da as E,E as qt,Ea as t,Fa as c,Fc as Q,Fd as ft,G as V,Ga as v,Gc as _,Ha as g,Hc as W,Ia as Te,Ic as tt,J as h,Jd as Pe,Jf as Re,K as C,Ka as he,La as Ce,Lc as Ft,Lf as Le,Ma as be,Mc as ke,Mf as He,Nc as et,Nd as xt,Nf as je,Oa as w,Oc as Ct,Pa as vt,Pc as Fe,Qc as nt,Ra as o,Sa as s,Sb as N,Se as jt,Ta as Lt,Tc as it,Td as Ne,Te as $t,Ue as Ut,V as ce,Vb as Tt,Vf as $e,Wb as G,Wc as at,We as Gt,Xe as zt,Yb as pe,Yc as Oe,Z as a,Ze as Qt,_a as ye,_c as bt,_e as Wt,ab as Z,ad as F,af as Yt,ba as I,bb as P,bd as q,bf as Jt,ca as A,da as Vt,df as Kt,ed as $,ga as u,gd as rt,gf as Ot,ia as m,jb as De,kd as Y,ld as ot,ma as n,mc as Ae,md as we,me as qe,na as e,ne as Ve,oa as f,od as st,og as Ue,pa as R,pb as M,pd as J,qa as L,qd as Ht,rd as K,sa as O,sd as lt,ta as T,ua as b,ud as mt,vc as k,wd as ct,xa as Rt,xc as Me,xd as pt,yd as dt,ze as yt}from"./chunk-WHWF3LGY.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` `,s(2,2,"labels.buttons.View Transactions History"),` `))}function Ke(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Within Bank")," "))}function Xe(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Own Account")," "))}var Xt=(()=>{class i{constructor(r){this.route=r,this.allowclientedit=!1,this.route.data.subscribe(d=>{this.standingInstructionsData=d.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(d){return new(d||i)(I(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-standing-instructions"]],decls:215,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[4,"ngIf"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` `),n(2,"button",1),t(3,` diff --git a/browser/chunk-FTOWLVPJ.js b/browser/chunk-2GS7A7AG.js similarity index 89% rename from browser/chunk-FTOWLVPJ.js rename to browser/chunk-2GS7A7AG.js index 61564782b..3f62d6ae5 100644 --- a/browser/chunk-FTOWLVPJ.js +++ b/browser/chunk-2GS7A7AG.js @@ -1,4 +1,4 @@ -import{$b as x,Ea as t,Fa as m,Ga as u,Oa as f,Ra as o,Sa as a,Z as n,ad as E,ba as p,ca as d,ia as c,kc as v,ma as e,na as i,nc as D,oc as M,pb as g,pc as b,qc as C,vc as S}from"./chunk-3WJYEYPY.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,` +import{$b as x,Ea as t,Fa as m,Ga as u,Oa as f,Ra as o,Sa as a,Z as n,ad as E,ba as p,ca as d,ia as c,kc as v,ma as e,na as i,nc as D,oc as M,pb as g,pc as b,qc as C,vc as S}from"./chunk-WHWF3LGY.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,` `),e(4,"div",1),t(5,` `),e(6,"p"),t(7),o(8,"translate"),i(),t(9,` `),i(),t(10,` diff --git a/browser/chunk-VBBRCPKR.js b/browser/chunk-5AGPL5TR.js similarity index 99% rename from browser/chunk-VBBRCPKR.js rename to browser/chunk-5AGPL5TR.js index 9649264cd..c6fbec4c1 100644 --- a/browser/chunk-VBBRCPKR.js +++ b/browser/chunk-5AGPL5TR.js @@ -1 +1 @@ -import{Ab as u,Bc as c,D as o,G as p,uc as f,xb as r}from"./chunk-3WJYEYPY.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; +import{Ab as u,Bc as c,D as o,G as p,uc as f,xb as r}from"./chunk-WHWF3LGY.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; diff --git a/browser/chunk-6BHQY5IX.js b/browser/chunk-F236TJSX.js similarity index 97% rename from browser/chunk-6BHQY5IX.js rename to browser/chunk-F236TJSX.js index c0b0ba984..a11435b3b 100644 --- a/browser/chunk-6BHQY5IX.js +++ b/browser/chunk-F236TJSX.js @@ -1 +1 @@ -import{Ab as N,D as f,G as l,wb as m,xb as a,xc as i,y as g}from"./chunk-3WJYEYPY.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; +import{Ab as N,D as f,G as l,wb as m,xb as a,xc as i,y as g}from"./chunk-WHWF3LGY.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; diff --git a/browser/chunk-UYUZ6Z3O.js b/browser/chunk-PSX76TTC.js similarity index 82% rename from browser/chunk-UYUZ6Z3O.js rename to browser/chunk-PSX76TTC.js index 82b9d32e9..dbc68576a 100644 --- a/browser/chunk-UYUZ6Z3O.js +++ b/browser/chunk-PSX76TTC.js @@ -1 +1 @@ -import{D as r,G as c,Qf as a}from"./chunk-3WJYEYPY.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a}; +import{D as r,G as c,Qf as a}from"./chunk-WHWF3LGY.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a}; diff --git a/browser/chunk-YP73UGHI.js b/browser/chunk-T2EJMLQH.js similarity index 97% rename from browser/chunk-YP73UGHI.js rename to browser/chunk-T2EJMLQH.js index bcf6f8687..faa762f31 100644 --- a/browser/chunk-YP73UGHI.js +++ b/browser/chunk-T2EJMLQH.js @@ -1 +1 @@ -import{Ab as d,D as i,G as p,Of as n,j as u,xb as c}from"./chunk-3WJYEYPY.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d}; +import{Ab as d,D as i,G as p,Of as n,j as u,xb as c}from"./chunk-WHWF3LGY.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d}; diff --git a/browser/chunk-ZU2BZ22G.js b/browser/chunk-U4ZSIPVL.js similarity index 91% rename from browser/chunk-ZU2BZ22G.js rename to browser/chunk-U4ZSIPVL.js index 61f6d3a0d..e0834fc50 100644 --- a/browser/chunk-ZU2BZ22G.js +++ b/browser/chunk-U4ZSIPVL.js @@ -1 +1 @@ -import{D as r,G as i,Qf as n}from"./chunk-3WJYEYPY.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b}; +import{D as r,G as i,Qf as n}from"./chunk-WHWF3LGY.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b}; diff --git a/browser/chunk-3WJYEYPY.js b/browser/chunk-WHWF3LGY.js similarity index 99% rename from browser/chunk-3WJYEYPY.js rename to browser/chunk-WHWF3LGY.js index 8663a6373..f9143222d 100644 --- a/browser/chunk-3WJYEYPY.js +++ b/browser/chunk-WHWF3LGY.js @@ -13,7 +13,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` `+t.message,r,e,n),t[JH]=r,t[e0]=null,t}function aN(t,i,e,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==tN?t.slice(2):t;let r=Qi(i);if(Array.isArray(i))r=i.map(Qi).join(" -> ");else if(typeof i=="object"){let a=[];for(let o in i)if(i.hasOwnProperty(o)){let s=i[o];a.push(o+":"+(typeof s=="string"?JSON.stringify(s):Qi(s)))}r=`{${a.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${t.replace(eN,` `)}`}var hr=Yb(Nb("Optional"),8);var Yr=Yb(Nb("SkipSelf"),4);function Ns(t,i){let e=t.hasOwnProperty(X3);return e?t[X3]:null}function oN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?t8(e,i):i(e))}function Qb(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function t0(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function cN(t,i){let e=[];for(let n=0;ni;){let a=r-2;t[r]=t[a],r--}t[i]=e,t[i+1]=n}}function I0(t,i,e){let n=z1(t,i);return n>=0?t[n|1]=e:(n=~n,lN(t,n,i,e)),n}function Ih(t,i){let e=z1(t,i);if(e>=0)return t[e|1]}function z1(t,i){return dN(t,i,1)}function dN(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){let a=n+(r-n>>1),o=t[a<i?r=a:n=a+1}return~(r<{e.push(o)};return t8(i,o=>{let s=o;Yh(s,a,[],n)&&(r||=[],r.push(s))}),r!==void 0&&ty(r,a),e}function ty(t,i){for(let e=0;e{i(a,n)})}}function Yh(t,i,e,n){if(t=li(t),!t)return!1;let r=null,a=jv(t),o=!a&&Fo(t);if(!a&&!o){let d=t.ngModule;if(a=jv(d),a)r=d;else return!1}else{if(o&&!o.standalone)return!1;r=t}let s=n.has(r);if(o){if(s)return!1;if(n.add(r),o.dependencies){let d=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let h of d)Yh(h,i,e,n)}}else if(a){if(a.imports!=null&&!s){n.add(r);let h;try{t8(a.imports,v=>{Yh(v,i,e,n)&&(h||=[],h.push(v))})}finally{}h!==void 0&&ty(h,i)}if(!s){let h=Ns(r)||(()=>new r);i({provide:r,useFactory:h,deps:Ai},r),i({provide:Zb,useValue:r,multi:!0},r),i({provide:hl,useValue:()=>ae(r),multi:!0},r)}let d=a.providers;if(d!=null&&!s){let h=t;n8(d,v=>{i(v,h)})}}else return!1;return r!==t&&t.providers!==void 0}function n8(t,i){for(let e of t)$b(e)&&(e=e.\u0275providers),Array.isArray(e)?n8(e,i):i(e)}var pN=Wt({provide:String,useValue:Wt});function ny(t){return t!==null&&typeof t=="object"&&pN in t}function fN(t){return!!(t&&t.useExisting)}function hN(t){return!!(t&&t.useFactory)}function gl(t){return typeof t=="function"}function gN(t){return!!t.useClass}var P0=new A(""),q3={},Wv={},Ph;function T0(){return Ph===void 0&&(Ph=new n0),Ph}var fn=class{},E1=class extends fn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Kh(i,o=>this.processProvider(o)),this.records.set(Kb,ll(void 0,this)),r.has("environment")&&this.records.set(fn,ll(void 0,this));let a=this.records.get(P0);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Zb,Ai,ft.Self))}retrieve(i,e){let n=e;return this.get(i,n.optional?m3:zs,n)}destroy(){M1(this),this._destroyed=!0;let i=ht(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ht(i)}}onDestroy(i){return M1(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){M1(this);let e=Xa(this),n=qi(void 0),r;try{return i()}finally{Xa(e),qi(n)}}get(i,e=zs,n=ft.Default){if(M1(this),i.hasOwnProperty($v))return i[$v](this);n=O0(n);let r,a=Xa(this),o=qi(void 0);try{if(!(n&ft.SkipSelf)){let d=this.records.get(i);if(d===void 0){let h=CN(i)&&E0(i);h&&this.injectableDefInScope(h)?d=ll(Qh(i),q3):d=null,this.records.set(i,d)}if(d!=null)return this.hydrate(i,d,n)}let s=n&ft.Self?T0():this.parent;return e=n&ft.Optional&&e===zs?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[e0]=s[e0]||[]).unshift(Qi(i)),a)throw s;return rN(s,i,"R3InjectorError",this.source)}else throw s}finally{qi(o),Xa(a)}}resolveInjectorInitializers(){let i=ht(null),e=Xa(this),n=qi(void 0),r;try{let a=this.get(hl,Ai,ft.Self);for(let o of a)o()}finally{Xa(e),qi(n),ht(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(Qi(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=li(i);let e=gl(i)?i:li(i&&i.provide),n=vN(i);if(!gl(i)&&i.multi===!0){let r=this.records.get(e);r||(r=ll(void 0,q3,!0),r.factory=()=>qh(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=ht(null);try{return e.value===Wv?Gb(Qi(i)):e.value===q3&&(e.value=Wv,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&yN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ht(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=li(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Qh(t){let i=E0(t),e=i!==null?i.factory:Ns(t);if(e!==null)return e;if(t instanceof A)throw new Ce(204,!1);if(t instanceof Function)return _N(t);throw new Ce(204,!1)}function _N(t){if(t.length>0)throw new Ce(204,!1);let e=GH(t);return e!==null?()=>e.factory(t):()=>new t}function vN(t){if(ny(t))return ll(void 0,t.useValue);{let i=iy(t);return ll(i,q3)}}function iy(t,i,e){let n;if(gl(t)){let r=li(t);return Ns(r)||Qh(r)}else if(ny(t))n=()=>li(t.useValue);else if(hN(t))n=()=>t.useFactory(...qh(t.deps||[]));else if(fN(t))n=(r,a)=>ae(li(t.useExisting),a!==void 0&&a&ft.Optional?ft.Optional:void 0);else{let r=li(t&&(t.useClass||t.provide));if(bN(t))n=()=>new r(...qh(t.deps));else return Ns(r)||Qh(r)}return n}function M1(t){if(t.destroyed)throw new Ce(205,!1)}function ll(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function bN(t){return!!t.deps}function yN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function CN(t){return typeof t=="function"||typeof t=="object"&&t instanceof A}function Kh(t,i){for(let e of t)Array.isArray(e)?Kh(e,i):e&&$b(e)?Kh(e.\u0275providers,i):i(e)}function Ki(t,i){let e;t instanceof E1?(M1(t),e=t):e=new J3(t);let n,r=Xa(e),a=qi(void 0);try{return i()}finally{Xa(r),qi(a)}}function i8(){return Wb()!==void 0||g1()!=null}function r8(t){if(!i8())throw new Ce(-203,!1)}function xN(t){let i=ni.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function MN(t){return typeof t=="function"}var lo=0,ct=1,et=2,vi=3,qr=4,Zi=5,_l=6,i0=7,Wn=8,vl=9,ao=10,an=11,O1=12,qv=13,Dl=14,pr=15,Fs=16,dl=17,oo=18,A0=19,ry=20,Ho=21,Th=22,Bs=23,Ir=24,pl=25,Sn=26,ay=1;var js=7,r0=8,bl=9,_i=10;function No(t){return Array.isArray(t)&&typeof t[ay]=="object"}function uo(t){return Array.isArray(t)&&t[ay]===!0}function a8(t){return(t.flags&4)!==0}function Sl(t){return t.componentOffset>-1}function V0(t){return(t.flags&1)===1}function ya(t){return!!t.template}function a0(t){return(t[et]&512)!==0}function kl(t){return(t[et]&256)===256}var Zh=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function oy(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Pe=(()=>{let t=()=>sy;return t.ngInherit=!0,t})();function sy(t){return t.type.prototype.ngOnChanges&&(t.setInput=DN),wN}function wN(){let t=ly(this),i=t?.current;if(i){let e=t.previous;if(e===ba)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function DN(t,i,e,n,r){let a=this.declaredInputs[n],o=ly(t)||SN(t,{previous:ba,current:null}),s=o.current||(o.current={}),d=o.previous,h=d[a];s[a]=new Zh(h&&h.currentValue,e,d===ba),oy(t,i,r,e)}var cy="__ngSimpleChanges__";function ly(t){return t[cy]||null}function SN(t,i){return t[cy]=i}var Yv=null;var Qt=function(t,i=null,e){Yv?.(t,i,e)},dy="svg",kN="math";function Ca(t){for(;Array.isArray(t);)t=t[lo];return t}function uy(t,i){return Ca(i[t])}function Da(t,i){return Ca(i[t.index])}function o8(t,i){return t.data[i]}function H1(t,i){return t[i]}function my(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function xa(t,i){let e=i[t];return No(e)?e:e[lo]}function EN(t){return(t[et]&4)===4}function s8(t){return(t[et]&128)===128}function ON(t){return uo(t[vi])}function Bo(t,i){return i==null?null:t[i]}function py(t){t[dl]=0}function fy(t){t[et]&1024||(t[et]|=1024,s8(t)&&El(t))}function IN(t,i){for(;t>0;)i=i[Dl],t--;return i}function L0(t){return!!(t[et]&9216||t[Ir]?.dirty)}function Xh(t){t[ao].changeDetectionScheduler?.notify(8),t[et]&64&&(t[et]|=1024),L0(t)&&El(t)}function El(t){t[ao].changeDetectionScheduler?.notify(0);let i=Us(t);for(;i!==null&&!(i[et]&8192||(i[et]|=8192,!s8(i)));)i=Us(i)}function hy(t,i){if(kl(t))throw new Ce(911,!1);t[Ho]===null&&(t[Ho]=[]),t[Ho].push(i)}function PN(t,i){if(t[Ho]===null)return;let e=t[Ho].indexOf(i);e!==-1&&t[Ho].splice(e,1)}function Us(t){let i=t[vi];return uo(i)?i[vi]:i}function c8(t){return t[i0]??=[]}function l8(t){return t.cleanup??=[]}function TN(t,i,e,n){let r=c8(i);r.push(e),t.firstCreatePass&&l8(t).push(n,r.length-1)}var ut={lFrame:Cy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Jh=!1;function AN(){return ut.lFrame.elementDepthCount}function VN(){ut.lFrame.elementDepthCount++}function LN(){ut.lFrame.elementDepthCount--}function d8(){return ut.bindingsEnabled}function gy(){return ut.skipHydrationRootTNode!==null}function RN(t){return ut.skipHydrationRootTNode===t}function zN(){ut.skipHydrationRootTNode=null}function je(){return ut.lFrame.lView}function Kt(){return ut.lFrame.tView}function G(t){return ut.lFrame.contextLView=t,t[Wn]}function W(t){return ut.lFrame.contextLView=null,t}function yi(){let t=_y();for(;t!==null&&t.type===64;)t=t.parent;return t}function _y(){return ut.lFrame.currentTNode}function HN(){let t=ut.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function jo(t,i){let e=ut.lFrame;e.currentTNode=t,e.isParent=i}function u8(){return ut.lFrame.isParent}function m8(){ut.lFrame.isParent=!1}function NN(){return ut.lFrame.contextLView}function vy(){return Jh}function o0(t){let i=Jh;return Jh=t,i}function Ks(){let t=ut.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function p8(){return ut.lFrame.bindingIndex}function FN(t){return ut.lFrame.bindingIndex=t}function Zs(){return ut.lFrame.bindingIndex++}function N1(t){let i=ut.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function BN(){return ut.lFrame.inI18n}function jN(t,i){let e=ut.lFrame;e.bindingIndex=e.bindingRootIndex=t,e6(i)}function UN(){return ut.lFrame.currentDirectiveIndex}function e6(t){ut.lFrame.currentDirectiveIndex=t}function $N(t){let i=ut.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function f8(){return ut.lFrame.currentQueryIndex}function R0(t){ut.lFrame.currentQueryIndex=t}function GN(t){let i=t[ct];return i.type===2?i.declTNode:i.type===1?t[Zi]:null}function by(t,i,e){if(e&ft.SkipSelf){let r=i,a=t;for(;r=r.parent,r===null&&!(e&ft.Host);)if(r=GN(a),r===null||(a=a[Dl],r.type&10))break;if(r===null)return!1;i=r,t=a}let n=ut.lFrame=yy();return n.currentTNode=i,n.lView=t,!0}function h8(t){let i=yy(),e=t[ct];ut.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function yy(){let t=ut.lFrame,i=t===null?null:t.child;return i===null?Cy(t):i}function Cy(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function xy(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var My=xy;function g8(){let t=xy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function WN(t){return(ut.lFrame.contextLView=IN(t,ut.lFrame.contextLView))[Wn]}function Qr(){return ut.lFrame.selectedIndex}function $s(t){ut.lFrame.selectedIndex=t}function Ol(){let t=ut.lFrame;return o8(t.tView,t.selectedIndex)}function Ut(){ut.lFrame.currentNamespace=dy}function Sa(){qN()}function qN(){ut.lFrame.currentNamespace=null}function YN(){return ut.lFrame.currentNamespace}var wy=!0;function z0(){return wy}function H0(t){wy=t}function QN(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=i.type.prototype;if(n){let o=sy(i);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}function _8(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e=n)break}else i[d]<0&&(t[dl]+=65536),(s>14>16&&(t[et]&3)===i&&(t[et]+=16384,Qv(s,a)):Qv(s,a)}var fl=-1,Gs=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=n}};function ZN(t){return(t.flags&8)!==0}function XN(t){return(t.flags&16)!==0}function JN(t,i,e){let n=0;for(;ni){o=a-1;break}}}for(;a>16}function c0(t,i){let e=tF(t),n=i;for(;e>0;)n=n[Dl],e--;return n}var t6=!0;function l0(t){let i=t6;return t6=t,i}var nF=256,Ey=nF-1,Oy=5,iF=0,va={};function rF(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(D1)&&(n=e[D1]),n==null&&(n=e[D1]=iF++);let r=n&Ey,a=1<>Oy)]|=a}function d0(t,i){let e=Iy(t,i);if(e!==-1)return e;let n=i[ct];n.firstCreatePass&&(t.injectorIndex=i.length,Vh(n.data,t),Vh(i,null),Vh(n.blueprint,null));let r=v8(t,i),a=t.injectorIndex;if(ky(r)){let o=s0(r),s=c0(r,i),d=s[ct].data;for(let h=0;h<8;h++)i[a+h]=s[o+h]|d[o+h]}return i[a+8]=r,a}function Vh(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Iy(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function v8(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=Ly(r),n===null)return fl;if(e++,r=r[Dl],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return fl}function n6(t,i,e){rF(t,i,e)}function aF(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r>20,C=n?s:s+v,S=r?s+v:h;for(let D=C;D=d&&L.type===e)return D}if(r){let D=o[d];if(D&&ya(D)&&D.type===e)return d}return null}function I1(t,i,e,n,r){let a=t[e],o=i.data;if(a instanceof Gs){let s=a;s.resolving&&Gb(ZH(o[e]));let d=l0(s.canSeeViewProviders);s.resolving=!0;let h,v=s.injectImpl?qi(s.injectImpl):null,C=by(t,n,ft.Default);try{a=t[e]=s.factory(void 0,r,o,t,n),i.firstCreatePass&&e>=n.directiveStart&&QN(e,o[e],i)}finally{v!==null&&qi(v),l0(d),s.resolving=!1,My()}}return a}function sF(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(D1)?t[D1]:void 0;return typeof i=="number"?i>=0?i&Ey:cF:i}function Zv(t,i,e){let n=1<>Oy)]&n)}function Xv(t,i){return!(t&ft.Self)&&!(t&ft.Host&&i)}var Hs=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return Ay(this._tNode,this._lView,i,O0(n),e)}};function cF(){return new Hs(yi(),je())}function we(t){return R1(()=>{let i=t.prototype.constructor,e=i[X3]||i6(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let a=r[X3]||i6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function i6(t){return Fb(t)?()=>{let i=i6(li(t));return i&&i()}:Ns(t)}function lF(t,i,e,n,r){let a=t,o=i;for(;a!==null&&o!==null&&o[et]&2048&&!a0(o);){let s=Vy(a,o,e,n|ft.Self,va);if(s!==va)return s;let d=a.parent;if(!d){let h=o[ry];if(h){let v=h.get(e,va,n);if(v!==va)return v}d=Ly(o),o=o[Dl]}a=d}return r}function Ly(t){let i=t[ct],e=i.type;return e===2?i.declTNode:e===1?t[Zi]:null}function N0(t){return aF(yi(),t)}function Jv(t,i=null,e=null,n){let r=Ry(t,i,e,n);return r.resolveInjectorInitializers(),r}function Ry(t,i=null,e=null,n,r=new Set){let a=[e||Ai,mN(t)];return n=n||(typeof t=="object"?void 0:Qi(t)),new E1(a,i||T0(),n||null,r)}var Te=class t{static THROW_IF_NOT_FOUND=zs;static NULL=new n0;static create(i,e){if(Array.isArray(i))return Jv({name:""},e,i,"");{let n=i.name??"";return Jv({name:n},i.parent,i.providers,n)}}static \u0275prov=R({token:t,providedIn:"any",factory:()=>ae(Kb)});static __NG_ELEMENT_ID__=-1};var hn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>N0(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},dF=new A("");dF.__NG_ELEMENT_ID__=t=>{let i=yi();if(i===null)throw new Ce(204,!1);if(i.type&2)return i.value;if(t&ft.Optional)return null;throw new Ce(204,!1)};var zy=!1,Uo=(()=>{class t{static __NG_ELEMENT_ID__=uF;static __NG_ENV_ID__=e=>e}return t})(),u0=class extends Uo{_lView;constructor(i){super(),this._lView=i}onDestroy(i){let e=this._lView;return kl(e)?(i(),()=>{}):(hy(e,i),()=>PN(e,i))}};function uF(){return new u0(je())}var Ws=class{},b8=new A("",{providedIn:"root",factory:()=>!1});var Hy=new A(""),Ny=new A(""),mo=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Je(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})();var r6=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,i8()&&(this.destroyRef=u(Uo,{optional:!0})??void 0,this.pendingTasks=u(mo,{optional:!0})??void 0)}emit(i){let e=ht(null);try{super.next(i)}finally{ht(e)}}subscribe(i,e,n){let r=i,a=e||(()=>null),o=n;if(i&&typeof i=="object"){let d=i;r=d.next?.bind(d),a=d.error?.bind(d),o=d.complete?.bind(d)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:a,complete:o});return i instanceof Me&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},j=r6;function P1(...t){}function Fy(t){let i,e;function n(){t=P1;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function eb(t){return queueMicrotask(()=>t()),()=>{t=P1}}var y8="isAngularZone",m0=y8+"_ID",mF=0,se=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=zy}=i;if(typeof Zone>"u")throw new Ce(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,hF(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(y8)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new Ce(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new Ce(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){let a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,i,pF,P1,P1);try{return a.runTask(o,e,n)}finally{a.cancelTask(o)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},pF={};function C8(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fF(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){Fy(()=>{t.callbackScheduled=!1,a6(t),t.isCheckStableRunning=!0,C8(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),a6(t)}function hF(t){let i=()=>{fF(t)},e=mF++;t._inner=t._inner.fork({name:"angular",properties:{[y8]:!0,[m0]:e,[m0+e]:!0},onInvokeTask:(n,r,a,o,s,d)=>{if(gF(d))return n.invokeTask(a,o,s,d);try{return tb(t),n.invokeTask(a,o,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),nb(t)}},onInvoke:(n,r,a,o,s,d,h)=>{try{return tb(t),n.invoke(a,o,s,d,h)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!_F(d)&&i(),nb(t)}},onHasTask:(n,r,a,o)=>{n.hasTask(a,o),r===a&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,a6(t),C8(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,a,o)=>(n.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function a6(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function tb(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nb(t){t._nesting--,C8(t)}var p0=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new j;onMicrotaskEmpty=new j;onStable=new j;onError=new j;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}};function gF(t){return By(t,"__ignore_ng_zone__")}function _F(t){return By(t,"__scheduler_tick__")}function By(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function vF(t="zone.js",i){return t==="noop"?new p0:t==="zone.js"?new se(i):t}var Vi=class{_console=console;handleError(i){this._console.error("ERROR",i)}},bF=new A("",{providedIn:"root",factory:()=>{let t=u(se),i=u(Vi);return e=>t.runOutsideAngular(()=>i.handleError(e))}});function ib(t,i){return Hb(t,i)}function yF(t){return Hb(zb,t)}var jy=(ib.required=yF,ib);function CF(){return Il(yi(),je())}function Il(t,i){return new Y(Da(t,i))}var Y=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=CF}return t})();function Uy(t){return t instanceof Y?t.nativeElement:t}function $o(t){return typeof t=="function"&&t[Gi]!==void 0}function zn(t,i){let e=dh(t,i?.equal),n=e[Gi];return e.set=r=>h1(n,r),e.update=r=>uh(n,r),e.asReadonly=xF.bind(e),e}function xF(){let t=this[Gi];if(t.readonlyFn===void 0){let i=()=>this();i[Gi]=t,t.readonlyFn=i}return t.readonlyFn}function $y(t){return $o(t)&&typeof t.set=="function"}function MF(){return this._results[Symbol.iterator]()}var kn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new N}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=sN(i);(this._changesDetected=!oN(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MF};function Gy(t){return(t.flags&128)===128}var Wy=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Wy||{}),qy=new Map,wF=0;function DF(){return wF++}function SF(t){qy.set(t[A0],t)}function o6(t){qy.delete(t[A0])}var rb="__ngContext__";function Pl(t,i){No(i)?(t[rb]=i[A0],SF(i)):t[rb]=i}function Yy(t){return Ky(t[O1])}function Qy(t){return Ky(t[qr])}function Ky(t){for(;t!==null&&!uo(t);)t=t[qr];return t}var s6;function Zy(t){s6=t}function Xy(){if(s6!==void 0)return s6;if(typeof document<"u")return document;throw new Ce(210,!1)}var Xs=new A("",{providedIn:"root",factory:()=>kF}),kF="ng",x8=new A(""),Go=new A("",{providedIn:"platform",factory:()=>"unknown"});var ze=new A(""),F1=new A("",{providedIn:"root",factory:()=>Xy().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var EF="h",OF="b";var Jy=!1,IF=new A("",{providedIn:"root",factory:()=>Jy});var M8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(M8||{}),Tl=new A(""),ab=new Set;function Wo(t){ab.has(t)||(ab.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var w8=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=PF}return t})();function PF(){return new w8(je(),yi())}var ul=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ul||{}),eC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),TF=[ul.EarlyRead,ul.Write,ul.MixedReadWrite,ul.Read],AF=(()=>{class t{ngZone=u(se);scheduler=u(Ws);errorHandler=u(Vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Tl,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Qt(16),this.executing=!0;for(let n of TF)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let a=r.hooks[n];return a(r.pipelinedValue)},r.snapshot))}catch(a){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Qt(17)}register(e){let{view:n}=e;n!==void 0?((n[pl]??=[]).push(e),El(n),n[et]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(M8.AFTER_NEXT_RENDER,e):e()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),c6=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,r,a,o=null){this.impl=i,this.hooks=e,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[pl];i&&(this.view[pl]=i.filter(e=>e!==this))}};function Js(t,i){!i?.injector&&r8(Js);let e=i?.injector??u(Te);return Wo("NgAfterRender"),tC(t,e,i,!1)}function kt(t,i){!i?.injector&&r8(kt);let e=i?.injector??u(Te);return Wo("NgAfterNextRender"),tC(t,e,i,!0)}function VF(t,i){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function tC(t,i,e,n){let r=i.get(eC);r.impl??=i.get(AF);let a=i.get(Tl,null,{optional:!0}),o=e?.phase??ul.MixedReadWrite,s=e?.manualCleanup!==!0?i.get(Uo):null,d=i.get(w8,null,{optional:!0}),h=new c6(r.impl,VF(t,o),d?.view,n,s,a?.snapshot(null));return r.impl.register(h),h}var LF=(t,i,e,n)=>{};function RF(t,i,e,n){LF(t,i,e,n)}var zF=()=>null;function nC(t,i,e=!1){return zF(t,i,e)}function iC(t,i){let e=t.contentQueries;if(e!==null){let n=ht(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch{}return j3}function F0(t){return HF()?.createHTML(t)||t}var U3;function rC(){if(U3===void 0&&(U3=null,ni.trustedTypes))try{U3=ni.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return U3}function ob(t){return rC()?.createHTML(t)||t}function sb(t){return rC()?.createScriptURL(t)||t}var so=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rb})`}},d6=class extends so{getTypeName(){return"HTML"}},u6=class extends so{getTypeName(){return"Style"}},m6=class extends so{getTypeName(){return"Script"}},p6=class extends so{getTypeName(){return"URL"}},f6=class extends so{getTypeName(){return"ResourceURL"}};function Pr(t){return t instanceof so?t.changingThisBreaksApplicationSecurity:t}function po(t,i){let e=NF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${Rb})`)}return e===i}function NF(t){return t instanceof so&&t.getTypeName()||null}function aC(t){return new d6(t)}function oC(t){return new u6(t)}function sC(t){return new m6(t)}function cC(t){return new p6(t)}function lC(t){return new f6(t)}function FF(t){let i=new g6(t);return BF()?new h6(i):i}var h6=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(F0(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},g6=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=F0(i),e}};function BF(){try{return!!new window.DOMParser().parseFromString(F0(""),"text/html")}catch{return!1}}var jF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function B0(t){return t=String(t),t.match(jF)?t:"unsafe:"+t}function fo(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function B1(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var dC=fo("area,br,col,hr,img,wbr"),uC=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mC=fo("rp,rt"),UF=B1(mC,uC),$F=B1(uC,fo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),GF=B1(mC,fo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),cb=B1(dC,$F,GF,UF),pC=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),WF=fo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qF=fo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),YF=B1(pC,WF,qF),QF=fo("script,style,template"),_6=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=XF(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=ZF(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=lb(i).toLowerCase();if(!cb.hasOwnProperty(e))return this.sanitizedSomething=!0,!QF.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r"),!0}endElement(i){let e=lb(i).toLowerCase();cb.hasOwnProperty(e)&&!dC.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(db(i))}};function KF(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ZF(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw fC(i);return i}function XF(t){let i=t.firstChild;if(i&&KF(t,i))throw fC(i);return i}function lb(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function fC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var JF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eB=/([^\#-~ |!])/g;function db(t){return t.replace(/&/g,"&").replace(JF,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(eB,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var $3;function S8(t,i){let e=null;try{$3=$3||FF(t);let n=i?String(i):"";e=$3.getInertBodyElement(n);let r=5,a=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=$3.getInertBodyElement(n)}while(n!==a);let s=new _6().sanitizeChildren(ub(e)||e);return F0(s)}finally{if(e){let n=ub(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function ub(t){return"content"in t&&tB(t)?t.content:null}function tB(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var di=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(di||{});function Al(t){let i=E8();return i?ob(i.sanitize(di.HTML,t)||""):po(t,"HTML")?ob(Pr(t)):S8(Xy(),Yi(t))}function k8(t){let i=E8();return i?i.sanitize(di.URL,t)||"":po(t,"URL")?Pr(t):B0(Yi(t))}function nB(t){let i=E8();if(i)return sb(i.sanitize(di.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return sb(Pr(t));throw new Ce(904,!1)}function iB(t,i){return i==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||i==="href"&&(t==="base"||t==="link")?nB:k8}function hC(t,i,e){return iB(i,e)(t)}function E8(){let t=je();return t&&t[ao].sanitizer}var rB=/^>|^->||--!>|)/g,oB="\u200B$1\u200B";function sB(t){return t.replace(rB,i=>i.replace(aB,oB))}function Yue(t){return t.ownerDocument.defaultView}function Que(t){return t.ownerDocument}function gC(t){return t instanceof Function?t():t}function cB(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let a=i.length;if(r+a===n||t.charCodeAt(r+a)<=32)return r}e=r+1}}var _C="ng-template";function lB(t,i,e,n){let r=0;if(n){for(;r-1){let a;for(;++ra?C="":C=r[v+1].toLowerCase(),n&2&&h!==C){if(Gr(n))return!1;o=!0}}}}return Gr(n)||o}function Gr(t){return(t&1)===0}function mB(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let a=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!Gr(o)&&(i+=mb(a,r),r=""),n=o,a=a||!Gr(n);e++}return r!==""&&(i+=mb(a,r)),i}function vB(t){return t.map(_B).join(",")}function bB(t){let i=[],e=[],n=1,r=2;for(;nSn&&wC(t,i,Sn,!1),Qt(o?2:0,r),e(n,r)}finally{$s(a),Qt(o?3:1,r)}}function U0(t,i,e){VB(t,i,e),(e.flags&64)===64&&LB(t,i,e)}function A8(t,i,e=Da){let n=i.localNames;if(n!==null){let r=i.index+1;for(let a=0;anull;function TB(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function j1(t,i,e,n,r,a,o,s){if(!s&&L8(i,t,e,n,r)){Sl(i)&&AB(e,i.index);return}if(i.type&3){let d=Da(i,e);n=TB(n),r=o!=null?o(r,i.value||"",n):r,a.setProperty(d,n,r)}else i.type&12}function AB(t,i){let e=xa(i,t);e[et]&16||(e[et]|=64)}function VB(t,i,e){let n=e.directiveStart,r=e.directiveEnd;Sl(e)&&EB(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||d0(e,i);let a=e.initialInputs;for(let o=n;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[e[o+1]];e[o].call(s)}n!==null&&(i[i0]=null);let r=i[Ho];if(r!==null){i[Ho]=null;for(let o=0;o{El(t.lView)},consumerOnSignalRead(){this.lView[Ir]=this}});function sj(t){let i=t[Ir]??Object.create(cj);return i.lView=t,i}var cj=Be(q({},qc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Us(t.lView);for(;i&&!AC(i[ct]);)i=Us(i);i&&fy(i)},consumerOnSignalRead(){this.lView[Ir]=this}});function AC(t){return t.type!==2}function VC(t){if(t[Bs]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Bs])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[et]&8192)}}var lj=100;function LC(t,i=!0,e=0){let r=t[ao].rendererFactory,a=!1;a||r.begin?.();try{dj(t,e)}catch(o){throw i&&FB(t,o),o}finally{a||r.end?.()}}function dj(t,i){let e=vy();try{o0(!0),y6(t,i);let n=0;for(;L0(t);){if(n===lj)throw new Ce(103,!1);n++,y6(t,1)}}finally{o0(e)}}function uj(t,i,e,n){if(kl(i))return;let r=i[et],a=!1,o=!1;h8(i);let s=!0,d=null,h=null;a||(AC(t)?(h=ij(i),d=p1(h)):ah()===null?(s=!1,h=sj(i),d=p1(h)):i[Ir]&&(f1(i[Ir]),i[Ir]=null));try{py(i),FN(t.bindingStartIndex),e!==null&&DC(t,i,e,2,n);let v=(r&3)===3;if(!a)if(v){let D=t.preOrderCheckHooks;D!==null&&Y3(i,D,null)}else{let D=t.preOrderHooks;D!==null&&Q3(i,D,0,null),Ah(i,0)}if(o||mj(i),VC(i),RC(i,0),t.contentQueries!==null&&iC(t,i),!a)if(v){let D=t.contentCheckHooks;D!==null&&Y3(i,D)}else{let D=t.contentHooks;D!==null&&Q3(i,D,1),Ah(i,1)}fj(t,i);let C=t.components;C!==null&&HC(i,C,0);let S=t.viewQuery;if(S!==null&&l6(2,S,n),!a)if(v){let D=t.viewCheckHooks;D!==null&&Y3(i,D)}else{let D=t.viewHooks;D!==null&&Q3(i,D,2),Ah(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[Th]){for(let D of i[Th])D();i[Th]=null}a||(PC(i),i[et]&=-73)}catch(v){throw a||El(i),v}finally{h!==null&&(o3(h,d),s&&aj(h)),g8()}}function RC(t,i){for(let e=Yy(t);e!==null;e=Qy(e))for(let n=_i;n0&&(t[e-1][qr]=n[qr]);let a=t0(t,_i+i);GB(n[ct],n);let o=a[oo];o!==null&&o.detachView(a[ct]),n[vi]=null,n[qr]=null,n[et]&=-129}return n}function hj(t,i,e,n){let r=_i+n,a=e.length;n>0&&(e[r-1][qr]=i),n-1&&(T1(i,n),t0(e,n))}this._attachedToViewContainer=!1}$0(this._lView[ct],this._lView)}onDestroy(i){hy(this._lView,i)}markForCheck(){B8(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[et]&=-129}reattach(){Xh(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,LC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=a0(this._lView),e=this._lView[Fs];e!==null&&!i&&N8(e,this._lView),SC(this._lView[ct],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Ce(902,!1);this._appRef=i;let e=a0(this._lView),n=this._lView[Fs];n!==null&&!e&&jC(n,this._lView),Xh(this._lView)}};var Qe=(()=>{class t{static __NG_ELEMENT_ID__=vj}return t})(),gj=Qe,_j=class extends gj{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,n){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,n){let r=U1(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:n});return new A1(r)}};function vj(){return q0(yi(),je())}function q0(t,i){return t.type&4?new _j(i,t,Il(t,i)):null}function Vl(t,i,e,n,r){let a=t.data[i];if(a===null)a=bj(t,i,e,n,r),BN()&&(a.flags|=32);else if(a.type&64){a.type=e,a.value=n,a.attrs=r;let o=HN();a.injectorIndex=o===null?-1:o.injectorIndex}return jo(a,!0),a}function bj(t,i,e,n,r){let a=_y(),o=u8(),s=o?a:a&&a.parent,d=t.data[i]=Cj(t,s,e,i,n,r);return yj(t,d,a,o),d}function yj(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function Cj(t,i,e,n,r,a){let o=i?i.injectorIndex:-1,s=0;return gy()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Xue=new RegExp(`^(\\d+)*(${OF}|${EF})*(.*)`);var xj=()=>null;function xl(t,i){return xj(t,i)}var Mj=class{},UC=class{},C6=class{resolveComponentFactory(i){throw Error(`No component factory found for ${Qi(i)}.`)}},Y0=class{static NULL=new C6},En=class{},Ke=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>wj()}return t})();function wj(){let t=je(),i=yi(),e=xa(i.index,t);return(No(e)?e:t)[an]}var Dj=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>null})}return t})();var Rh={},x6=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){n=O0(n);let r=this.injector.get(i,Rh,n);return r!==Rh||e===Rh?r:this.parentInjector.get(i,e,n)}};function M6(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,a=0;if(i!==null)for(let o=0;o0&&(e.directiveToIndex=new Map);for(let S=0;S0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function Lj(t,i,e){if(e){if(i.exportAs)for(let n=0;n{let[e,n,r]=t[i],a={propName:e,templateName:i,isSignal:(n&j0.SignalBased)!==0};return r&&(a.transform=r),a})}function Hj(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function Nj(t,i,e){let n=i instanceof fn?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new x6(e,n):e}function Fj(t){let i=t.get(En,null);if(i===null)throw new Ce(407,!1);let e=t.get(Dj,null),n=t.get(Ws,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function Bj(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return bC(i,e,e==="svg"?dy:e==="math"?kN:null)}var qs=class extends UC{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=zj(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Hj(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=vB(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r){Qt(22);let a=ht(null);try{let o=this.componentDef,s=n?["ng-version","19.2.14"]:bB(this.componentDef.selectors[0]),d=I8(0,null,null,1,0,null,null,null,null,[s],null),h=Nj(o,r||this.ngModule,i),v=Fj(h),C=v.rendererFactory.createRenderer(null,o),S=n?OB(C,n,o.encapsulation,h):Bj(o,C),D=P8(null,d,null,512|xC(o),null,null,v,C,h,null,nC(S,h,!0));D[Sn]=S,h8(D);let L=null;try{let ne=GC(Sn,d,D,"#host",()=>[this.componentDef],!0,0);S&&(CC(C,S,ne),Pl(S,D)),U0(d,D,ne),D8(d,ne,D),WC(d,ne),e!==void 0&&jj(ne,this.ngContentSelectors,e),L=xa(ne.index,D),D[Wn]=L[Wn],R8(d,D,null)}catch(ne){throw L!==null&&o6(L),o6(D),ne}finally{Qt(23),g8()}return new w6(this.componentType,D)}finally{ht(a)}}},w6=class extends Mj{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=o8(e[ct],Sn),this.location=Il(this._tNode,e),this.instance=xa(this._tNode.index,e)[Wn],this.hostView=this.changeDetectorRef=new A1(e,void 0,!1),this.componentType=i}setInput(i,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let r=this._rootLView,a=L8(n,r[ct],r,i,e);this.previousInputValues.set(i,e);let o=xa(n.index,r);B8(o,1)}get injector(){return new Hs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function jj(t,i,e){let n=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=Uj}return t})();function Uj(){let t=yi();return YC(t,je())}var $j=rt,qC=class extends $j{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return Il(this._hostTNode,this._hostLView)}get injector(){return new Hs(this._hostTNode,this._hostLView)}get parentInjector(){let i=v8(this._hostTNode,this._hostLView);if(ky(i)){let e=c0(i,this._hostLView),n=s0(i),r=e[ct].data[n+8];return new Hs(r,e)}else return new Hs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=vb(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-_i}createEmbeddedView(i,e,n){let r,a;typeof n=="number"?r=n:n!=null&&(r=n.index,a=n.injector);let o=xl(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},a,o);return this.insertImpl(s,r,Cl(this._hostTNode,o)),s}createComponent(i,e,n,r,a){let o=i&&!MN(i),s;if(o)s=e;else{let L=e||{};s=L.index,n=L.injector,r=L.projectableNodes,a=L.environmentInjector||L.ngModuleRef}let d=o?i:new qs(Fo(i)),h=n||this.parentInjector;if(!a&&d.ngModule==null){let ne=(o?h:this.parentInjector).get(fn,null);ne&&(a=ne)}let v=Fo(d.componentType??{}),C=xl(this._lContainer,v?.id??null),S=C?.firstChild??null,D=d.create(h,r,S,a);return this.insertImpl(D.hostView,s,Cl(this._hostTNode,C)),D}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(ON(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[vi],h=new qC(d,d[Zi],d[vi]);h.detach(h.indexOf(i))}}let a=this._adjustIndex(e),o=this._lContainer;return $1(o,r,a,n),i.attachToViewContainerRef(),Qb(zh(o),a,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=vb(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=T1(this._lContainer,e);n&&(t0(zh(this._lContainer),e),$0(n[ct],n))}detach(i){let e=this._adjustIndex(i,-1),n=T1(this._lContainer,e);return n&&t0(zh(this._lContainer),e)!=null?new A1(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function vb(t){return t[r0]}function zh(t){return t[r0]||(t[r0]=[])}function YC(t,i){let e,n=i[t.index];return uo(n)?e=n:(e=NC(n,i,null,t),i[t.index]=e,T8(i,e)),Wj(e,i,t,n),new qC(e,t,i)}function Gj(t,i){let e=t[an],n=e.createComment(""),r=Da(i,t),a=e.parentNode(r);return f0(e,a,n,e.nextSibling(r),!1),n}var Wj=Qj,qj=()=>!1;function Yj(t,i,e){return qj(t,i,e)}function Qj(t,i,e,n){if(t[js])return;let r;e.type&8?r=Ca(n):r=Gj(i,e),t[js]=r}var D6=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},S6=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let a=0;a0)n.push(o[s/2]);else{let h=a[s+1],v=i[-d];for(let C=_i;Ci.trim())}function XC(t,i,e){t.queries===null&&(t.queries=new k6),t.queries.track(new E6(i,e))}function nU(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function $8(t,i){return t.queries.getByIndex(i)}function JC(t,i){let e=t[ct],n=$8(e,i);return n.crossesNgTemplate?O6(e,t,i,[]):QC(e,t,n,i)}function ex(t,i,e){let n,r=d3(()=>{n._dirtyCounter();let a=oU(n,t);if(i&&a===void 0)throw new Ce(-951,!1);return a});return n=r[Gi],n._dirtyCounter=zn(0),n._flatValue=void 0,r}function iU(t){return ex(!0,!1,t)}function rU(t){return ex(!0,!0,t)}function aU(t,i){let e=t[Gi];e._lView=je(),e._queryIndex=i,e._queryList=U8(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function oU(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[et]&4)return i?void 0:Ai;let r=U8(e,n),a=JC(e,n);return r.reset(a,Uy),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function bb(t,i){return iU(i)}function sU(t,i){return rU(i)}var tx=(bb.required=sU,bb);function cU(t){let i=[],e=new Map;function n(r){let a=e.get(r);if(!a){let o=t(r);e.set(r,a=o.then(mU))}return a}return v0.forEach((r,a)=>{let o=[];r.templateUrl&&o.push(n(r.templateUrl).then(h=>{r.template=h}));let s=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=s,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let h=r.styles.length,v=r.styleUrls;r.styleUrls.forEach((C,S)=>{s.push(""),o.push(n(C).then(D=>{s[h+S]=D,v.splice(v.indexOf(C),1),v.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&o.push(n(r.styleUrl).then(h=>{s.push(h),r.styleUrl=void 0}));let d=Promise.all(o).then(()=>pU(a));i.push(d)}),dU(),Promise.all(i).then(()=>{})}var v0=new Map,lU=new Set;function dU(){let t=v0;return v0=new Map,t}function uU(){return v0.size===0}function mU(t){return typeof t=="string"?t:t.text()}function pU(t){lU.delete(t)}var co=class{},G8=class{};var b0=class extends co{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new g0(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let a=Xb(i);this._bootstrapComponents=gC(a.bootstrap),this._r3Injector=Ry(i,e,[{provide:co,useValue:this},{provide:Y0,useValue:this.componentFactoryResolver},...n],Qi(i),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},y0=class extends G8{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new b0(this.moduleType,i,[])}};function fU(t,i,e){return new b0(t,i,e,!1)}var I6=class extends co{injector;componentFactoryResolver=new g0(this);instance=null;constructor(i){super();let e=new E1([...i.providers,{provide:co,useValue:this},{provide:Y0,useValue:this.componentFactoryResolver}],i.parent||T0(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function G1(t,i,e=null){return new I6({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var hU=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=ey(!1,e.type),r=n.length>0?G1([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=R({token:t,providedIn:"environment",factory:()=>new t(ae(fn))})}return t})();function I(t){return R1(()=>{let i=nx(t),e=Be(q({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(hU).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ma.Emulated,styles:t.styles||Ai,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Wo("NgStandalone"),ix(e);let n=t.dependencies;return e.directiveDefs=yb(n,!1),e.pipeDefs=yb(n,!0),e.id=yU(e),e})}function gU(t){return Fo(t)||Jb(t)}function _U(t){return t!==null}function K(t){return R1(()=>({type:t.type,bootstrap:t.bootstrap||Ai,declarations:t.declarations||Ai,imports:t.imports||Ai,exports:t.exports||Ai,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function vU(t,i){if(t==null)return ba;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],a,o,s,d;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a,d=r[3]||null):(a=r,o=r,s=j0.None,d=null),e[a]=[n,s,d],i[a]=o}return e}function bU(t){if(t==null)return ba;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function V(t){return R1(()=>{let i=nx(t);return ix(i),i})}function _t(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function nx(t){let i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||ba,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ai,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vU(t.inputs,i),outputs:bU(t.outputs),debugInfo:null}}function ix(t){t.features?.forEach(i=>i(t))}function yb(t,i){if(!t)return null;let e=i?uN:gU;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(_U)}function yU(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let a of n.join("|"))i=Math.imul(31,i)+a.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function CU(t){return Object.getPrototypeOf(t.prototype).constructor}function ce(t){let i=CU(t.type),e=!0,n=[t];for(;i;){let r;if(ya(t))r=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Ce(903,!1);r=i.\u0275dir}if(r){if(e){n.push(r);let o=t;o.inputs=Hh(t.inputs),o.declaredInputs=Hh(t.declaredInputs),o.outputs=Hh(t.outputs);let s=r.hostBindings;s&&SU(t,s);let d=r.viewQuery,h=r.contentQueries;if(d&&wU(t,d),h&&DU(t,h),xU(t,r),UH(t.outputs,r.outputs),ya(r)&&r.data.animation){let v=t.data;v.animation=(v.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let o=0;o=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=yl(r.hostAttrs,e=yl(e,r.hostAttrs))}}function Hh(t){return t===ba?{}:t===Ai?[]:t}function wU(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function DU(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,a)=>{i(n,r,a),e(n,r,a)}:t.contentQueries=i}function SU(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function rx(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=ax,e.hostDirectives=n?t.map(P6):[t]):n?e.hostDirectives.unshift(...t.map(P6)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function ax(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let a of r)Cb(P6(a),i,e)}else Cb(n,i,e)}function Cb(t,i,e){let n=Jb(t.directive);kU(n.declaredInputs,t.inputs),ax(n,i,e),e.set(n,t),i.push(n)}function P6(t){return typeof t=="function"?{directive:li(t),inputs:ba,outputs:ba}:{directive:li(t.directive),inputs:xb(t.inputs),outputs:xb(t.outputs)}}function xb(t){if(t===void 0||t.length===0)return ba;let i={};for(let e=0;e{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Y8=new A(""),q1=new A(""),K0=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,i8()&&(this._destroyRef=u(Uo,{optional:!0})??void 0),Q8||(AU(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e()},n)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,n,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}static \u0275fac=function(n){return new(n||t)(ae(se),ae(Z0),ae(q1))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Z0=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return Q8?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function AU(t){Q8=t}var Q8,lx=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new T6})}return t})(),T6=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),this.queuedEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||(this.queuedEffectCount++,n.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}};function qo(t){return!!t&&typeof t.then=="function"}function K8(t){return!!t&&typeof t.subscribe=="function"}var dx=new A("");function Z8(t){return wl([{provide:dx,multi:!0,useValue:t}])}var ux=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=u(dx,{optional:!0})??[];injector=u(Te);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let a=Ki(this.injector,r);if(qo(a))e.push(a);else if(K8(a)){let o=new Promise((s,d)=>{a.subscribe({complete:s,error:d})});e.push(o)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),X8=new A("");function VU(){lh(()=>{throw new Ce(600,!1)})}function LU(t){return t.isBoundToModule}var RU=10;function mx(t,i){return Array.isArray(i)?i.reduce(mx,t):q(q({},t),i)}var bi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(bF);afterRenderManager=u(eC);zonelessEnabled=u(b8);rootEffectScheduler=u(lx);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new N;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(mo).hasPendingTasks.pipe(pe(e=>!e));constructor(){u(Tl,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=u(fn);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,r=Te.NULL){Qt(10);let a=e instanceof UC;if(!this._injector.get(ux).done){let D="";throw new Ce(405,D)}let s;a?s=e:s=this._injector.get(Y0).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let d=LU(s)?void 0:this._injector.get(co),h=n||s.selector,v=s.create(r,[],h,d),C=v.location.nativeElement,S=v.injector.get(Y8,null);return S?.registerApplication(C),v.onDestroy(()=>{this.detachView(v.hostView),Z3(this.components,v),S?.unregisterApplication(C)}),this._loadComponent(v),Qt(11,v),v}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Qt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(M8.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Ce(101,!1);let e=ht(null);try{this._runningTick=!0,this.synchronize()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ht(e),this.afterTick.next(),Qt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(En,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++L0(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;Z3(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(X8,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Z3(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Ce(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z3(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function zU(t,i,e,n){if(!e&&!L0(t))return;LC(t,i,e&&!n?0:1)}function ee(t,i,e,n){let r=je(),a=Zs();if(fr(r,a,i)){let o=Kt(),s=Ol();zB(s,r,t,i,e,n)}return ee}function J8(t,i,e,n){return fr(t,Zs(),e)?i+Yi(e)+n:qn}function px(t,i,e,n,r,a){let o=p8(),s=V1(t,o,e,r);return N1(2),s?i+Yi(e)+n+Yi(r)+a:qn}function HU(t,i,e,n,r,a,o,s){let d=p8(),h=sx(t,d,e,r,o);return N1(3),h?i+Yi(e)+n+Yi(r)+a+Yi(o)+s:qn}function NU(t,i,e,n,r,a,o,s,d,h){let v=p8(),C=cx(t,v,e,r,o,d);return N1(4),C?i+Yi(e)+n+Yi(r)+a+Yi(o)+s+Yi(d)+h:qn}function G3(t,i){return t<<17|i<<2}function Ys(t){return t>>17&32767}function FU(t){return(t&2)==2}function BU(t,i){return t&131071|i<<17}function A6(t){return t|2}function Ml(t){return(t&131068)>>2}function Nh(t,i){return t&-131069|i<<2}function jU(t){return(t&1)===1}function V6(t){return t|1}function UU(t,i,e,n,r,a){let o=a?i.classBindings:i.styleBindings,s=Ys(o),d=Ml(o);t[n]=e;let h=!1,v;if(Array.isArray(e)){let C=e;v=C[1],(v===null||z1(C,v)>0)&&(h=!0)}else v=e;if(r)if(d!==0){let S=Ys(t[s+1]);t[n+1]=G3(S,s),S!==0&&(t[S+1]=Nh(t[S+1],n)),t[s+1]=BU(t[s+1],n)}else t[n+1]=G3(s,0),s!==0&&(t[s+1]=Nh(t[s+1],n)),s=n;else t[n+1]=G3(d,0),s===0?s=n:t[d+1]=Nh(t[d+1],n),d=n;h&&(t[n+1]=A6(t[n+1])),Mb(t,v,n,!0),Mb(t,v,n,!1),$U(i,v,t,n,a),o=G3(s,d),a?i.classBindings=o:i.styleBindings=o}function $U(t,i,e,n,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof i=="string"&&z1(a,i)>=0&&(e[n+1]=V6(e[n+1]))}function Mb(t,i,e,n){let r=t[e+1],a=i===null,o=n?Ys(r):Ml(r),s=!1;for(;o!==0&&(s===!1||a);){let d=t[o],h=t[o+1];GU(d,i)&&(s=!0,t[o+1]=n?V6(h):A6(h)),o=n?Ys(h):Ml(h)}s&&(t[e+1]=n?A6(r):V6(r))}function GU(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?z1(t,i)>=0:!1}var Wr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function WU(t){return t.substring(Wr.key,Wr.keyEnd)}function qU(t){return YU(t),fx(t,hx(t,0,Wr.textEnd))}function fx(t,i){let e=Wr.textEnd;return e===i?-1:(i=Wr.keyEnd=QU(t,Wr.key=i,e),hx(t,i,e))}function YU(t){Wr.key=0,Wr.keyEnd=0,Wr.value=0,Wr.valueEnd=0,Wr.textEnd=t.length}function hx(t,i,e){for(;i32;)i++;return i}function y(t,i,e){let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!1)}return y}function L6(t,i,e,n,r){L8(i,t,e,r?"class":"style",n)}function Et(t,i,e){return _x(t,i,e,!1),Et}function te(t,i){return _x(t,i,null,!0),te}function It(t){vx(t$,gx,t,!0)}function gx(t,i){for(let e=qU(i);e>=0;e=fx(i,e))I0(t,WU(i),!0)}function _x(t,i,e,n){let r=je(),a=Kt(),o=N1(2);if(a.firstUpdatePass&&yx(a,t,o,n),i!==qn&&fr(r,o,i)){let s=a.data[Qr()];Cx(a,s,r,r[an],t,r[o+1]=i$(i,e),n,o)}}function vx(t,i,e,n){let r=Kt(),a=N1(2);r.firstUpdatePass&&yx(r,null,a,n);let o=je();if(e!==qn&&fr(o,a,e)){let s=r.data[Qr()];if(xx(s,n)&&!bx(r,a)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=$h(d,e||"")),L6(r,s,o,e,n)}else n$(r,s,o,o[an],o[a+1],o[a+1]=e$(t,i,e),n,a)}}function bx(t,i){return i>=t.expandoStartIndex}function yx(t,i,e,n){let r=t.data;if(r[e+1]===null){let a=r[Qr()],o=bx(t,e);xx(a,n)&&i===null&&!o&&(i=!1),i=KU(r,a,i,n),UU(r,a,i,e,o,n)}}function KU(t,i,e,n){let r=$N(t),a=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=Fh(null,t,i,e,n),e=L1(e,i.attrs,n),a=null);else{let o=i.directiveStylingLast;if(o===-1||t[o]!==r)if(e=Fh(r,t,i,e,n),a===null){let d=ZU(t,i,n);d!==void 0&&Array.isArray(d)&&(d=Fh(null,t,i,d[1],n),d=L1(d,i.attrs,n),XU(t,i,n,d))}else a=JU(t,i,n)}return a!==void 0&&(n?i.residualClasses=a:i.residualStyles=a),e}function ZU(t,i,e){let n=e?i.classBindings:i.styleBindings;if(Ml(n)!==0)return t[Ys(n)]}function XU(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[Ys(r)]=n}function JU(t,i,e){let n,r=i.directiveEnd;for(let a=1+i.directiveStylingLast;a0;){let d=t[r],h=Array.isArray(d),v=h?d[1]:d,C=v===null,S=e[r+1];S===qn&&(S=C?Ai:void 0);let D=C?Ih(S,n):v===n?S:void 0;if(h&&!x0(D)&&(D=Ih(d,n)),x0(D)&&(s=D,o))return s;let L=t[r+1];r=o?Ys(L):Ml(L)}if(i!==null){let d=a?i.residualClasses:i.residualStyles;d!=null&&(s=Ih(d,n))}return s}function x0(t){return t!==void 0}function i$(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Qi(Pr(t)))),t}function xx(t,i){return(t.flags&(i?8:16))!==0}function X0(t,i,e){let n=je(),r=J8(n,t,i,e);vx(I0,gx,r,!0)}var R6=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),r=Math.max(i,e),a=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,a),this.attach(r,o)}else this.attach(n,a)}move(i,e){this.attach(e,this.detach(i))}};function Bh(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function r$(t,i,e){let n,r,a=0,o=t.length-1,s=void 0;if(Array.isArray(i)){let d=i.length-1;for(;a<=o&&a<=d;){let h=t.at(a),v=i[a],C=Bh(a,h,a,v,e);if(C!==0){C<0&&t.updateValue(a,v),a++;continue}let S=t.at(o),D=i[d],L=Bh(o,S,d,D,e);if(L!==0){L<0&&t.updateValue(o,D),o--,d--;continue}let ne=e(a,h),oe=e(o,S),ye=e(a,v);if(Object.is(ye,oe)){let qe=e(d,D);Object.is(qe,ne)?(t.swap(a,o),t.updateValue(o,D),d--,o--):t.move(o,a),t.updateValue(a,v),a++;continue}if(n??=new M0,r??=Sb(t,a,o,e),z6(t,n,a,ye))t.updateValue(a,v),a++,o++;else if(r.has(ye))n.set(ne,t.detach(a)),o--;else{let qe=t.create(a,i[a]);t.attach(a,qe),a++,o++}}for(;a<=d;)Db(t,n,e,a,i[a]),a++}else if(i!=null){let d=i[Symbol.iterator](),h=d.next();for(;!h.done&&a<=o;){let v=t.at(a),C=h.value,S=Bh(a,v,a,C,e);if(S!==0)S<0&&t.updateValue(a,C),a++,h=d.next();else{n??=new M0,r??=Sb(t,a,o,e);let D=e(a,C);if(z6(t,n,a,D))t.updateValue(a,C),a++,o++,h=d.next();else if(!r.has(D))t.attach(a,t.create(a,C)),a++,o++,h=d.next();else{let L=e(a,v);n.set(L,t.detach(a)),o--}}}for(;!h.done;)Db(t,n,e,t.length,h.value),h=d.next()}for(;a<=o;)t.destroy(t.detach(o--));n?.forEach(d=>{t.destroy(d)})}function z6(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function Db(t,i,e,n,r){if(z6(t,i,n,e(n,r)))t.updateValue(n,r);else{let a=t.create(n,r);t.attach(n,a)}}function Sb(t,i,e,n){let r=new Set;for(let a=i;a<=e;a++)r.add(n(a,t.at(a)));return r}var M0=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),i(n,e)}}};function ke(t,i){Wo("NgControlFlow");let e=je(),n=Zs(),r=e[n]!==qn?e[n]:-1,a=r!==-1?w0(e,Sn+r):void 0,o=0;if(fr(e,n,t)){let s=ht(null);try{if(a!==void 0&&BC(a,o),t!==-1){let d=Sn+t,h=w0(e,d),v=B6(e[ct],d),C=xl(h,v.tView.ssrId),S=U1(e,v,i,{dehydratedView:C});$1(h,S,o,Cl(v,C))}}finally{ht(s)}}else if(a!==void 0){let s=FC(a,o);s!==void 0&&(s[Wn]=i)}}var H6=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-_i}};function ho(t,i){return i}var N6=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function Xi(t,i,e,n,r,a,o,s,d,h,v,C,S){Wo("NgControlFlow");let D=je(),L=Kt(),ne=d!==void 0,oe=je(),ye=s?o.bind(oe[pr][Wn]):o,qe=new N6(ne,ye);oe[Sn+t]=qe,C0(D,L,t+1,i,e,n,r,Bo(L.consts,a)),ne&&C0(D,L,t+2,d,h,v,C,Bo(L.consts,S))}var F6=class extends R6{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-_i}at(i){return this.getLView(i)[Wn].$implicit}attach(i,e){let n=e[_l];this.needsIndexUpdate||=i!==this.length,$1(this.lContainer,e,i,Cl(this.templateTNode,n))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,a$(this.lContainer,i)}create(i,e){let n=xl(this.lContainer,this.templateTNode.tView.ssrId),r=U1(this.hostLView,this.templateTNode,new H6(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(i){$0(i[ct],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[Wn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(H0(!0),bC(n,r,YN()));function c$(t,i,e,n,r){let a=i.consts,o=Bo(a,n),s=Vl(i,t,8,"ng-container",o);o!==null&&M6(s,o,!0);let d=Bo(a,r);return d8()&&j8(i,e,s,d,V8),s.mergedAttrs=yl(s.mergedAttrs,s.attrs),i.queries!==null&&i.queries.elementStart(i,s),s}function gn(t,i,e){let n=je(),r=Kt(),a=t+Sn,o=r.firstCreatePass?c$(a,r,n,i,e):r.data[a];jo(o,!0);let s=l$(r,n,o,t);return n[a]=s,z0()&&G0(r,n,s,o),Pl(s,n),V0(o)&&(U0(r,n,o),D8(r,o,n)),e!=null&&A8(n,o),gn}function _n(){let t=yi(),i=Kt();return u8()?m8():(t=t.parent,jo(t,!1)),i.firstCreatePass&&(_8(i,t),a8(t)&&i.queries.elementEnd(t)),_n}function Tt(t,i,e){return gn(t,i,e),_n(),Tt}var l$=(t,i,e,n)=>(H0(!0),xB(i[an],""));function de(){return je()}function zt(t,i,e){let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!0)}return zt}var Rs=void 0;function d$(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var u$=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Rs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",d$],S1={};function Mx(t,i,e){typeof i!="string"&&(e=i,i=t[on.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),S1[i]=t,e&&(S1[i][on.ExtraData]=e)}function er(t){let i=m$(t),e=kb(i);if(e)return e;let n=i.split("-")[0];if(e=kb(n),e)return e;if(n==="en")return u$;throw new Ce(701,!1)}function kb(t){return t in S1||(S1[t]=ni.ng&&ni.ng.common&&ni.ng.common.locales&&ni.ng.common.locales[t]),S1[t]}var on=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(on||{});function m$(t){return t.toLowerCase().replace(/_/g,"-")}var D0="en-US",p$="USD";var f$=D0;function h$(t){typeof t=="string"&&(f$=t.toLowerCase().replace(/_/g,"-"))}function Eb(t,i,e){return function n(r){if(r===Function)return e;let a=Sl(t)?xa(t.index,i):i;B8(a,5);let o=i[Wn],s=Ob(i,o,e,r),d=n.__ngNextListenerFn__;for(;d;)s=Ob(i,o,d,r)&&s,d=d.__ngNextListenerFn__;return s}}function Ob(t,i,e,n){let r=ht(null);try{return Qt(6,i,e),e(n)!==!1}catch(a){return g$(t,a),!1}finally{Qt(7,i,e),ht(r)}}function g$(t,i){let e=t[vl],n=e?e.get(Vi,null):null;n&&n.handleError(i)}function Ib(t,i,e,n,r,a){let o=i[e],s=i[ct],h=s.data[e].outputs[n],v=o[h],C=s.firstCreatePass?l8(s):null,S=c8(i),D=v.subscribe(a),L=S.length;S.push(a,D),C&&C.push(r,t.index,L,-(L+1))}function z(t,i,e,n){let r=je(),a=Kt(),o=yi();return wx(a,r,r[an],o,t,i,n),z}function _$(t,i,e,n){let r=t.cleanup;if(r!=null)for(let a=0;ad?s[d]:null}typeof o=="string"&&(a+=2)}return null}function wx(t,i,e,n,r,a,o){let s=V0(n),h=t.firstCreatePass?l8(t):null,v=c8(i),C=!0;if(n.type&3||o){let S=Da(n,i),D=o?o(S):S,L=v.length,ne=o?ye=>o(Ca(ye[n.index])):n.index,oe=null;if(!o&&s&&(oe=_$(t,i,r,n.index)),oe!==null){let ye=oe.__ngLastListenerFn__||oe;ye.__ngNextListenerFn__=a,oe.__ngLastListenerFn__=a,C=!1}else{a=Eb(n,i,a),RF(i,D,r,a);let ye=e.listen(D,r,a);v.push(a,ye),h&&h.push(r,ne,L,L+1)}}else a=Eb(n,i,a);if(C){let S=n.outputs?.[r],D=n.hostDirectiveOutputs?.[r];if(D&&D.length)for(let L=0;L(H0(!0),yB(i[an],n));function P(t){return X("",t,""),P}function X(t,i,e){let n=je(),r=J8(n,t,i,e);return r!==qn&&tu(n,Qr(),r),X}function Ct(t,i,e,n,r){let a=je(),o=px(a,t,i,e,n,r);return o!==qn&&tu(a,Qr(),o),Ct}function eg(t,i,e,n,r,a,o){let s=je(),d=HU(s,t,i,e,n,r,a,o);return d!==qn&&tu(s,Qr(),d),eg}function C$(t,i,e,n,r,a,o,s,d){let h=je(),v=NU(h,t,i,e,n,r,a,o,s,d);return v!==qn&&tu(h,Qr(),v),C$}function tu(t,i,e){let n=uy(i,t);CB(t[an],n,e)}function Y1(t,i,e){$y(i)&&(i=i());let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!1)}return Y1}function nu(t,i){let e=$y(t);return e&&t.set(i),e}function Q1(t,i){let e=je(),n=Kt(),r=yi();return wx(n,e,e[an],r,t,i),Q1}var x$={};function tg(t){let i=Kt(),e=je(),n=t+Sn,r=Vl(i,n,128,null,null);return jo(r,!1),my(i,e,n,x$),tg}function M$(t,i,e){let n=Kt();if(n.firstCreatePass){let r=ya(t);j6(e,n.data,n.blueprint,r,!0),j6(i,n.data,n.blueprint,r,!1)}}function j6(t,i,e,n,r){if(t=li(t),Array.isArray(t))for(let a=0;a>20;if(gl(t)||!t.multi){let D=new Gs(h,r,k),L=Uh(d,i,r?v:v+S,C);L===-1?(n6(d0(s,o),a,d),jh(a,t,i.length),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(D),o.push(D)):(e[L]=D,o[L]=D)}else{let D=Uh(d,i,v+S,C),L=Uh(d,i,v,v+S),ne=D>=0&&e[D],oe=L>=0&&e[L];if(r&&!oe||!r&&!ne){n6(d0(s,o),a,d);let ye=S$(r?D$:w$,e.length,r,n,h);!r&&oe&&(e[L].providerFactory=ye),jh(a,t,i.length,0),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(ye),o.push(ye)}else{let ye=kx(e[r?L:D],h,!r&&n);jh(a,t,D>-1?D:L,ye)}!r&&n&&oe&&e[L].componentProviders++}}}function jh(t,i,e,n){let r=gl(i),a=gN(i);if(r||a){let d=(a?li(i.useClass):i).prototype.ngOnDestroy;if(d){let h=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){let v=h.indexOf(e);v===-1?h.push(e,[n,d]):h[v+1].push(n,d)}else h.push(e,d)}}}function kx(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function Uh(t,i,e,n){for(let r=e;r{e.providersResolver=(n,r)=>M$(n,r?r(t):t,i)}}function tr(t,i,e){let n=Ks()+t,r=je();return r[n]===qn?W1(r,n,e?i.call(e):i()):OU(r,n)}function go(t,i,e,n){return Ex(je(),Ks(),t,i,e,n)}function ka(t,i,e,n,r){return Ox(je(),Ks(),t,i,e,n,r)}function iu(t,i){let e=t[i];return e===qn?void 0:e}function Ex(t,i,e,n,r,a){let o=i+e;return fr(t,o,r)?W1(t,o+1,a?n.call(a,r):n(r)):iu(t,o+1)}function Ox(t,i,e,n,r,a,o){let s=i+e;return V1(t,s,r,a)?W1(t,s+2,o?n.call(o,r,a):n(r,a)):iu(t,s+2)}function k$(t,i,e,n,r,a,o,s){let d=i+e;return sx(t,d,r,a,o)?W1(t,d+3,s?n.call(s,r,a,o):n(r,a,o)):iu(t,d+3)}function E$(t,i,e,n,r,a,o,s,d){let h=i+e;return cx(t,h,r,a,o,s)?W1(t,h+4,d?n.call(d,r,a,o,s):n(r,a,o,s)):iu(t,h+4)}function E(t,i){let e=Kt(),n,r=t+Sn;e.firstCreatePass?(n=O$(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks??=[]).push(r,n.onDestroy)):n=e.data[r];let a=n.factory||(n.factory=Ns(n.type,!0)),o,s=qi(k);try{let d=l0(!1),h=a();return l0(d),my(e,je(),r,h),h}finally{qi(s)}}function O$(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function O(t,i,e){let n=t+Sn,r=je(),a=H1(r,n);return ru(r,n)?Ex(r,Ks(),i,a.transform,e,a):a.transform(e)}function Kr(t,i,e,n){let r=t+Sn,a=je(),o=H1(a,r);return ru(a,r)?Ox(a,Ks(),i,o.transform,e,n,o):o.transform(e,n)}function ame(t,i,e,n,r){let a=t+Sn,o=je(),s=H1(o,a);return ru(o,a)?k$(o,Ks(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function ng(t,i,e,n,r,a){let o=t+Sn,s=je(),d=H1(s,o);return ru(s,o)?E$(s,Ks(),i,d.transform,e,n,r,a,d):d.transform(e,n,r,a)}function ru(t,i){return t[ct].data[i].pure}function nr(t,i){return q0(t,i)}var W3=null;function I$(t){W3!==null&&(t.defaultEncapsulation!==W3.defaultEncapsulation||t.preserveWhitespaces!==W3.preserveWhitespaces)||(W3=t)}var Qs=class{full;major;minor;patch;constructor(i){this.full=i;let e=i.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},ig=new Qs("19.2.14"),$6=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},Ix=(()=>{class t{compileModuleSync(e){return new y0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=Xb(e),a=gC(r.declarations).reduce((o,s)=>{let d=Fo(s);return d&&o.push(new qs(d)),o},[]);return new $6(n,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),P$=new A("");function T$(t,i,e){let n=new y0(e);return Promise.resolve(n)}function Pb(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var A$=(()=>{class t{zone=u(se);changeDetectionScheduler=u(Ws);applicationRef=u(bi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function V$({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new se(Be(q({},Px()),{scheduleInRootZone:e})),[{provide:se,useFactory:t},{provide:hl,multi:!0,useFactory:()=>{let n=u(A$,{optional:!0});return()=>n.initialize()}},{provide:hl,multi:!0,useFactory:()=>{let n=u(L$);return()=>{n.initialize()}}},i===!0?{provide:Hy,useValue:!0}:[],{provide:Ny,useValue:e??zy}]}function Px(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var L$=(()=>{class t{subscription=new Me;initialized=!1;zone=u(se);pendingTasks=u(mo);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var R$=(()=>{class t{appRef=u(bi);taskService=u(mo);ngZone=u(se);zonelessEnabled=u(b8);tracing=u(Tl,{optional:!0});disableScheduling=u(Hy,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(m0):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Ny,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof p0||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let n=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(n))return;let r=this.useMicrotaskScheduler?eb:Fy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(m0+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){throw this.taskService.remove(e),n}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function z$(){return typeof $localize<"u"&&$localize.locale||D0}var Ea=new A("",{providedIn:"root",factory:()=>u(Ea,ft.Optional|ft.SkipSelf)||z$()}),Tx=new A("",{providedIn:"root",factory:()=>p$});var S0=new A(""),H$=new A("");function x1(t){return!t.moduleRef}function N$(t){let i=x1(t)?t.r3Injector:t.moduleRef.injector,e=i.get(se);return e.run(()=>{x1(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Vi,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:a=>{n.handleError(a)}})}),x1(t)){let a=()=>i.destroy(),o=t.platformInjector.get(S0);o.add(a),i.onDestroy(()=>{r.unsubscribe(),o.delete(a)})}else{let a=()=>t.moduleRef.destroy(),o=t.platformInjector.get(S0);o.add(a),t.moduleRef.onDestroy(()=>{Z3(t.allPlatformModules,t.moduleRef),r.unsubscribe(),o.delete(a)})}return B$(n,e,()=>{let a=i.get(ux);return a.runInitializers(),a.donePromise.then(()=>{let o=i.get(Ea,D0);if(h$(o||D0),!i.get(H$,!0))return x1(t)?i.get(bi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(x1(t)){let d=i.get(bi);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return F$(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function F$(t,i){let e=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new Ce(-403,!1);i.push(t)}function B$(t,i,e){try{let n=e();return qo(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}var Ax=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=n?.scheduleInRootZone,a=()=>vF(n?.ngZone,Be(q({},Px({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),o=n?.ignoreChangesOutsideZone,s=[V$({ngZoneFactory:a,ignoreChangesOutsideZone:o}),{provide:Ws,useExisting:R$}],d=fU(e.moduleType,this.injector,s);return N$({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=mx({},n);return T$(this.injector,r,e).then(a=>this.bootstrapModuleFactory(a,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ce(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(S0,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(ae(Te))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),k1=null,Vx=new A("");function j$(t){if(k1&&!k1.get(Vx,!1))throw new Ce(400,!1);VU(),k1=t;let i=t.get(Ax);return G$(t),i}function rg(t,i,e=[]){let n=`Platform: ${i}`,r=new A(n);return(a=[])=>{let o=Lx();if(!o||o.injector.get(Vx,!1)){let s=[...e,...a,{provide:r,useValue:!0}];t?t(s):j$(U$(s,n))}return $$(r)}}function U$(t=[],i){return Te.create({name:i,providers:[{provide:P0,useValue:"platform"},{provide:S0,useValue:new Set([()=>k1=null])},...t]})}function $$(t){let i=Lx();if(!i)throw new Ce(401,!1);return i}function Lx(){return k1?.get(Ax)??null}function G$(t){let i=t.get(x8,null);Ki(t,()=>{i?.forEach(e=>e())})}var be=(()=>{class t{static __NG_ELEMENT_ID__=W$}return t})();function W$(t){return q$(yi(),je(),(t&16)===16)}function q$(t,i,e){if(Sl(t)&&!e){let n=xa(t.index,i);return new A1(n,n)}else if(t.type&175){let n=i[pr];return new A1(n,i)}return null}var G6=class{constructor(){}supports(i){return ox(i)}create(i){return new W6(i)}},Y$=(t,i)=>i,W6=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||Y$}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,r=0,a=null;for(;e||n;){let o=!n||e&&e.currentIndex{o=this._trackByFn(r,s),e===null||!Object.is(e.trackById,o)?(e=this._mismatch(e,s,o,r),n=!0):(n&&(e=this._verifyReinsertion(e,s,o,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,r){let a;return i===null?a=this._itTail:(a=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,a,r)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,r),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,a,r)):i=this._addAfter(new q6(e,n),a,r)),i}_verifyReinsertion(i,e,n,r){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return a!==null?i=this._reinsertAfter(a,i._prev,r):i.currentIndex!=r&&(i.currentIndex=r,this._addToMoves(i,r)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let r=i._prevRemoved,a=i._nextRemoved;return r===null?this._removalsHead=a:r._nextRemoved=a,a===null?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let r=e===null?this._itHead:e._next;return i._next=r,i._prev=e,r===null?this._itTail=i:r._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new k0),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new k0),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},q6=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},Y6=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},k0=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new Y6,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,r=this.map.get(n);return r?r.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Tb(t,i,e){let n=t.previousIndex;if(n===null)return n;let r=0;return e&&n{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let r=this._records.get(i);this._maybeAddToChanges(r,e);let a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}let n=new Z6(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}},Z6=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function Ab(){return new gr([new G6])}var gr=(()=>{class t{factories;static \u0275prov=R({token:t,providedIn:"root",factory:Ab});constructor(e){this.factories=e}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ab()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new Ce(901,!1)}}return t})();function Vb(){return new au([new Q6])}var au=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:Vb});factories;constructor(e){this.factories=e}static create(e,n){if(n){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Vb()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n)return n;throw new Ce(901,!1)}}return t})();var Rx=rg(null,"core",[]),zx=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(ae(bi))};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function B(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ot(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}function ir(t){return mh(t)}function Zr(t,i){return d3(t,i?.equal)}var X6=class{[Gi];constructor(i){this[Gi]=i}destroy(){this[Gi].destroy()}};function K1(t,i){!i?.injector&&r8(K1);let e=i?.injector??u(Te),n=i?.manualCleanup!==!0?e.get(Uo):null,r,a=e.get(w8,null,{optional:!0}),o=e.get(Ws);return a!==null&&!i?.forceRoot?(r=Z$(a.view,o,t),n instanceof u0&&n._lView===a.view&&(n=null)):r=X$(t,e.get(lx),o),r.injector=e,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new X6(r)}var Hx=Be(q({},qc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:P1,run(){if(this.dirty=!1,this.hasRun&&!s3(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??=[]).push(n),i=p1(this),e=o0(!1);try{this.maybeCleanup(),this.fn(t)}finally{o0(e),o3(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Q$=Be(q({},Hx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){f1(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),K$=Be(q({},Hx),{consumerMarkedDirty(){this.view[et]|=8192,El(this.view),this.notifier.notify(13)},destroy(){f1(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Bs]?.delete(this)}});function Z$(t,i,e){let n=Object.create(K$);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=e,t[Bs]??=new Set,t[Bs].add(n),n.consumerMarkedDirty(n),n}function X$(t,i,e){let n=Object.create(Q$);return n.fn=t,n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}function ou(t,i){let e=Fo(t),n=i.elementInjector||T0();return new qs(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function Nx(t){let i=Fo(t);if(!i)return null;let e=new qs(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var De=new A("");var jx=null;function _r(){return jx}function ag(t){jx??=t}var Z1=class{},X1=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(Ux),providedIn:"platform"})}return t})(),og=new A(""),Ux=(()=>{class t extends X1{_location;_history;_doc=u(De);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _r().getBaseHref(this._doc)}onPopState(e){let n=_r().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=_r().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function su(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function Fx(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Xr(t){return t&&t[0]!=="?"?`?${t}`:t}var Jr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(lu),providedIn:"root"})}return t})(),cu=new A(""),lu=(()=>{class t extends Jr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??u(De).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return su(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+Xr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(ae(X1),ae(cu,8))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tr=(()=>{class t{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=tG(Fx(Bx(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Xr(n))}normalize(e){return t.stripTrailingSlash(eG(this._basePath,Bx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Xr;static joinWithSlash=su;static stripTrailingSlash=Fx;static \u0275fac=function(n){return new(n||t)(ae(Jr))};static \u0275prov=R({token:t,factory:()=>J$(),providedIn:"root"})}return t})();function J$(){return new Tr(ae(Jr))}function eG(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function Bx(t){return t.replace(/\/index.html$/,"")}function tG(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var hg=(()=>{class t extends Jr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=su(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(ae(X1),ae(cu,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Zx={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},yu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(yu||{});var Ci=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Ci||{}),Gt=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Gt||{}),rr=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(rr||{}),ui={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Xx(t){return er(t)[on.LocaleId]}function Jx(t,i,e){let n=er(t),r=[n[on.DayPeriodsFormat],n[on.DayPeriodsStandalone]],a=Ar(r,i);return Ar(a,e)}function eM(t,i,e){let n=er(t),r=[n[on.DaysFormat],n[on.DaysStandalone]],a=Ar(r,i);return Ar(a,e)}function tM(t,i,e){let n=er(t),r=[n[on.MonthsFormat],n[on.MonthsStandalone]],a=Ar(r,i);return Ar(a,e)}function nM(t,i){let n=er(t)[on.Eras];return Ar(n,i)}function J1(t,i){let e=er(t);return Ar(e[on.DateFormat],i)}function ed(t,i){let e=er(t);return Ar(e[on.TimeFormat],i)}function td(t,i){let n=er(t)[on.DateTimeFormat];return Ar(n,i)}function ta(t,i){let e=er(t),n=e[on.NumberSymbols][i];if(typeof n>"u"){if(i===ui.CurrencyDecimal)return e[on.NumberSymbols][ui.Decimal];if(i===ui.CurrencyGroup)return e[on.NumberSymbols][ui.Group]}return n}function gg(t,i){return er(t)[on.NumberFormats][i]}function nG(t){return er(t)[on.Currencies]}function iM(t){if(!t[on.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[on.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function rM(t){let i=er(t);return iM(i),(i[on.ExtraData][2]||[]).map(n=>typeof n=="string"?sg(n):[sg(n[0]),sg(n[1])])}function aM(t,i,e){let n=er(t);iM(n);let r=[n[on.ExtraData][0],n[on.ExtraData][1]],a=Ar(r,i)||[];return Ar(a,e)||[]}function Ar(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function sg(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}function oM(t,i,e="en"){let n=nG(e)[t]||Zx[t]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||t}var iG=2;function sM(t){let i,e=Zx[t];return e&&(i=e[2]),typeof i=="number"?i:iG}var rG=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,du={},aG=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function cM(t,i,e,n){let r=fG(t);i=_o(e,i)||i;let o=[],s;for(;i;)if(s=aG.exec(i),s){o=o.concat(s.slice(1));let v=o.pop();if(!v)break;i=v}else{o.push(i);break}let d=r.getTimezoneOffset();n&&(d=dM(n,d),r=pG(r,n));let h="";return o.forEach(v=>{let C=uG(v);h+=C?C(r,e,d):v==="''"?"'":v.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function hu(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function _o(t,i){let e=Xx(t);if(du[e]??={},du[e][i])return du[e][i];let n="";switch(i){case"shortDate":n=J1(t,rr.Short);break;case"mediumDate":n=J1(t,rr.Medium);break;case"longDate":n=J1(t,rr.Long);break;case"fullDate":n=J1(t,rr.Full);break;case"shortTime":n=ed(t,rr.Short);break;case"mediumTime":n=ed(t,rr.Medium);break;case"longTime":n=ed(t,rr.Long);break;case"fullTime":n=ed(t,rr.Full);break;case"short":let r=_o(t,"shortTime"),a=_o(t,"shortDate");n=uu(td(t,rr.Short),[r,a]);break;case"medium":let o=_o(t,"mediumTime"),s=_o(t,"mediumDate");n=uu(td(t,rr.Medium),[o,s]);break;case"long":let d=_o(t,"longTime"),h=_o(t,"longDate");n=uu(td(t,rr.Long),[d,h]);break;case"full":let v=_o(t,"fullTime"),C=_o(t,"fullDate");n=uu(td(t,rr.Full),[v,C]);break}return n&&(du[e][i]=n),n}function uu(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function ea(t,i,e="-",n,r){let a="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,a=e));let o=String(t);for(;o.length0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return oG(s,i);let d=ta(o,ui.MinusSign);return ea(s,i,d,n,r)}}function sG(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function Zt(t,i,e=Ci.Format,n=!1){return function(r,a){return cG(r,a,t,i,e,n)}}function cG(t,i,e,n,r,a){switch(e){case 2:return tM(i,r,n)[t.getMonth()];case 1:return eM(i,r,n)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let h=rM(i),v=aM(i,r,n),C=h.findIndex(S=>{if(Array.isArray(S)){let[D,L]=S,ne=o>=D.hours&&s>=D.minutes,oe=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+ea(o,2,a)+ea(Math.abs(r%60),2,a);case 1:return"GMT"+(r>=0?"+":"")+ea(o,1,a);case 2:return"GMT"+(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);case 3:return n===0?"Z":(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}var lG=0,fu=4;function dG(t){let i=hu(t,lG,1).getDay();return hu(t,0,1+(i<=fu?fu:fu+7)-i)}function lM(t){let i=t.getDay(),e=i===0?-3:fu-i;return hu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function cg(t,i=!1){return function(e,n){let r;if(i){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{let a=lM(e),o=dG(a.getFullYear()),s=a.getTime()-o.getTime();r=1+Math.round(s/6048e5)}return ea(r,t,ta(n,ui.MinusSign))}}function pu(t,i=!1){return function(e,n){let a=lM(e).getFullYear();return ea(a,t,ta(n,ui.MinusSign),i)}}var lg={};function uG(t){if(lg[t])return lg[t];let i;switch(t){case"G":case"GG":case"GGG":i=Zt(3,Gt.Abbreviated);break;case"GGGG":i=Zt(3,Gt.Wide);break;case"GGGGG":i=Zt(3,Gt.Narrow);break;case"y":i=Hn(0,1,0,!1,!0);break;case"yy":i=Hn(0,2,0,!0,!0);break;case"yyy":i=Hn(0,3,0,!1,!0);break;case"yyyy":i=Hn(0,4,0,!1,!0);break;case"Y":i=pu(1);break;case"YY":i=pu(2,!0);break;case"YYY":i=pu(3);break;case"YYYY":i=pu(4);break;case"M":case"L":i=Hn(1,1,1);break;case"MM":case"LL":i=Hn(1,2,1);break;case"MMM":i=Zt(2,Gt.Abbreviated);break;case"MMMM":i=Zt(2,Gt.Wide);break;case"MMMMM":i=Zt(2,Gt.Narrow);break;case"LLL":i=Zt(2,Gt.Abbreviated,Ci.Standalone);break;case"LLLL":i=Zt(2,Gt.Wide,Ci.Standalone);break;case"LLLLL":i=Zt(2,Gt.Narrow,Ci.Standalone);break;case"w":i=cg(1);break;case"ww":i=cg(2);break;case"W":i=cg(1,!0);break;case"d":i=Hn(2,1);break;case"dd":i=Hn(2,2);break;case"c":case"cc":i=Hn(7,1);break;case"ccc":i=Zt(1,Gt.Abbreviated,Ci.Standalone);break;case"cccc":i=Zt(1,Gt.Wide,Ci.Standalone);break;case"ccccc":i=Zt(1,Gt.Narrow,Ci.Standalone);break;case"cccccc":i=Zt(1,Gt.Short,Ci.Standalone);break;case"E":case"EE":case"EEE":i=Zt(1,Gt.Abbreviated);break;case"EEEE":i=Zt(1,Gt.Wide);break;case"EEEEE":i=Zt(1,Gt.Narrow);break;case"EEEEEE":i=Zt(1,Gt.Short);break;case"a":case"aa":case"aaa":i=Zt(0,Gt.Abbreviated);break;case"aaaa":i=Zt(0,Gt.Wide);break;case"aaaaa":i=Zt(0,Gt.Narrow);break;case"b":case"bb":case"bbb":i=Zt(0,Gt.Abbreviated,Ci.Standalone,!0);break;case"bbbb":i=Zt(0,Gt.Wide,Ci.Standalone,!0);break;case"bbbbb":i=Zt(0,Gt.Narrow,Ci.Standalone,!0);break;case"B":case"BB":case"BBB":i=Zt(0,Gt.Abbreviated,Ci.Format,!0);break;case"BBBB":i=Zt(0,Gt.Wide,Ci.Format,!0);break;case"BBBBB":i=Zt(0,Gt.Narrow,Ci.Format,!0);break;case"h":i=Hn(3,1,-12);break;case"hh":i=Hn(3,2,-12);break;case"H":i=Hn(3,1);break;case"HH":i=Hn(3,2);break;case"m":i=Hn(4,1);break;case"mm":i=Hn(4,2);break;case"s":i=Hn(5,1);break;case"ss":i=Hn(5,2);break;case"S":i=Hn(6,1);break;case"SS":i=Hn(6,2);break;case"SSS":i=Hn(6,3);break;case"Z":case"ZZ":case"ZZZ":i=mu(0);break;case"ZZZZZ":i=mu(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=mu(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=mu(2);break;default:return null}return lg[t]=i,i}function dM(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function mG(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function pG(t,i,e){let r=t.getTimezoneOffset(),a=dM(i,r);return mG(t,-1*(a-r))}function fG(t){if($x(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,a=1,o=1]=t.split("-").map(s=>+s);return hu(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(rG))return hG(n)}let i=new Date(t);if(!$x(i))throw new Error(`Unable to convert "${t}" into a date`);return i}function hG(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,a=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-n,d=Number(t[6]||0),h=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(i,o,s,d,h),i}function $x(t){return t instanceof Date&&!isNaN(t.valueOf())}var gG=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Gx=22,gu=".",nd="0",_G=";",vG=",",dg="#",Wx="\xA4";function uM(t,i,e,n,r,a,o=!1){let s="",d=!1;if(!isFinite(t))s=ta(e,ui.Infinity);else{let h=yG(t);o&&(h=bG(h));let v=i.minInt,C=i.minFrac,S=i.maxFrac;if(a){let qe=a.match(gG);if(qe===null)throw new Error(`${a} is not a valid digit info`);let nt=qe[1],An=qe[3],Rn=qe[5];nt!=null&&(v=ug(nt)),An!=null&&(C=ug(An)),Rn!=null?S=ug(Rn):An!=null&&C>S&&(S=C)}CG(h,C,S);let D=h.digits,L=h.integerLen,ne=h.exponent,oe=[];for(d=D.every(qe=>!qe);L0?oe=D.splice(L,D.length):(oe=D,D=[0]);let ye=[];for(D.length>=i.lgSize&&ye.unshift(D.splice(-i.lgSize,D.length).join(""));D.length>i.gSize;)ye.unshift(D.splice(-i.gSize,D.length).join(""));D.length&&ye.unshift(D.join("")),s=ye.join(ta(e,n)),oe.length&&(s+=ta(e,r)+oe.join("")),ne&&(s+=ta(e,ui.Exponential)+"+"+ne)}return t<0&&!d?s=i.negPre+s+i.negSuf:s=i.posPre+s+i.posSuf,s}function Cu(t,i,e,n,r){let a=gg(i,yu.Currency),o=pM(a,ta(i,ui.MinusSign));return o.minFrac=sM(n),o.maxFrac=o.minFrac,uM(t,o,i,ui.CurrencyGroup,ui.CurrencyDecimal,r).replace(Wx,e).replace(Wx,"").trim()}function mM(t,i,e){let n=gg(i,yu.Decimal),r=pM(n,ta(i,ui.MinusSign));return uM(t,r,i,ui.Group,ui.Decimal,e)}function pM(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(_G),r=n[0],a=n[1],o=r.indexOf(gu)!==-1?r.split(gu):[r.substring(0,r.lastIndexOf(nd)+1),r.substring(r.lastIndexOf(nd)+1)],s=o[0],d=o[1]||"";e.posPre=s.substring(0,s.indexOf(dg));for(let v=0;v-1&&(i=i.replace(gu,"")),(a=i.search(/e/i))>0?(r<0&&(r=a),r+=+i.slice(a+1),i=i.substring(0,a)):r<0&&(r=i.length),a=0;i.charAt(a)===nd;a++);if(a===(s=i.length))n=[0],r=1;else{for(s--;i.charAt(s)===nd;)s--;for(r-=a,n=[],o=0;a<=s;a++,o++)n[o]=Number(i.charAt(a))}return r>Gx&&(n=n.splice(0,Gx-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function CG(t,i,e){if(i>e)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${e}).`);let n=t.digits,r=n.length-t.integerLen,a=Math.min(Math.max(i,r),e),o=a+t.integerLen,s=n[o];if(o>0){n.splice(Math.max(t.integerLen,o));for(let C=o;C=5)if(o-1<0){for(let C=0;C>o;C--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[o-1]++;for(;r=h?L.pop():d=!1),S>=10?1:0},0);v&&(n.unshift(v),t.integerLen++)}function ug(t){let i=parseInt(t);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+t);return i}var mg=/\s+/,qx=[],yn=(()=>{class t{_ngEl;_renderer;initialClasses=qx;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(mg):qx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(mg):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(mg).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||t)(k(Y),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var _u=class{$implicit;ngForOf;index;count;constructor(i,e,n,r){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ht=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((r,a,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new _u(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(a===null?void 0:a);else if(a!==null){let s=n.get(a);n.move(s,o),Yx(s,r)}});for(let r=0,a=n.length;r{let a=n.get(r.currentIndex);Yx(a,r)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(gr))};static \u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Yx(t,i){t.context.$implicit=i.item}var Ae=(()=>{class t{_viewContainer;_context=new vu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Qx(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Qx(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe))};static \u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),vu=class{$implicit=null;ngIf=null};function Qx(t,i){if(t&&!t.createEmbeddedView)throw new Ce(2020,!1)}var bu=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},id=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let n=e===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let n of this._defaultViews)n.enforceState(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),_g=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,n,r){this.ngSwitch=r,r._addCase(),this._view=new bu(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(id,9))};static \u0275dir=V({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),vg=(()=>{class t{constructor(e,n,r){r._addDefault(new bu(e,n))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(id,9))};static \u0275dir=V({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})();var bg=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[r,a]=e.split("."),o=r.indexOf("-")===-1?void 0:wa.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(k(Y),k(au),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Yo=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||t)(k(rt))};static \u0275dir=V({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Pe]})}return t})();function Ll(t,i){return new Ce(2100,!1)}var pg=class{createSubscription(i,e){return ir(()=>i.subscribe({next:e,error:n=>{throw n}}))}dispose(i){ir(()=>i.unsubscribe())}},fg=class{createSubscription(i,e){return i.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(i){i.unsubscribe()}},xG=new fg,MG=new pg,rd=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(qo(e))return xG;if(K8(e))return MG;throw Ll(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(k(be,16))};static \u0275pipe=_t({name:"async",type:t,pure:!1})}return t})(),wG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Ll(t,e);return e.toLowerCase()}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"lowercase",type:t,pure:!0})}return t})(),DG=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,SG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Ll(t,e);return e.replace(DG,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"titlecase",type:t,pure:!0})}return t})();var kG="mediumDate",fM=new A(""),hM=new A(""),ec=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,a){if(e==null||e===""||e!==e)return null;try{let o=n??this.defaultOptions?.dateFormat??kG,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return cM(e,o,a||this.locale,s)}catch(o){throw Ll(t,o.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(fM,24),k(hM,24))};static \u0275pipe=_t({name:"date",type:t,pure:!0})}return t})();var EG=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"json",type:t,pure:!1})}return t})();function OG(t,i){return{key:t,value:i}}var IG=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Kx;transform(e,n=Kx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(OG(o.key,o.currentValue))})),(r||a)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(k(au,16))};static \u0275pipe=_t({name:"keyvalue",type:t,pure:!1})}return t})();function Kx(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{_locale;constructor(e){this._locale=e}transform(e,n,r){if(!gM(e))return null;r||=this._locale;try{let a=_M(e);return mM(a,r,n)}catch(a){throw Ll(t,a.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16))};static \u0275pipe=_t({name:"number",type:t,pure:!0})}return t})();var yg=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,n="USD"){this._locale=e,this._defaultCurrencyCode=n}transform(e,n=this._defaultCurrencyCode,r="symbol",a,o){if(!gM(e))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=oM(s,r==="symbol"?"wide":"narrow",o):s=r);try{let d=_M(e);return Cu(d,o,s,n,a)}catch(d){throw Ll(t,d.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(Tx,16))};static \u0275pipe=_t({name:"currency",type:t,pure:!0})}return t})();function gM(t){return!(t==null||t===""||t!==t)}function _M(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var fe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function od(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,a]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(a)}return null}var xu="browser",vM="server";function Cg(t){return t===xu}function Mu(t){return t===vM}var tc=class{};function dpe(t,i,e){return Mx(t,i,e)}var bM=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new xg(u(De),window)})}return t})(),xg=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=PG(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}};function PG(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let a=r.shadowRoot;if(a){let o=a.getElementById(i)||a.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var Su=new A(""),Sg=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,r,a){return this._findPluginFor(n).addEventListener(e,n,r,a)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(a=>a.supports(e)),!n)throw new Ce(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(ae(Su),ae(se))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),sd=class{_doc;constructor(i){this._doc=i}manager},wu="ng-app-id";function yM(t){for(let i of t)i.remove()}function CM(t,i){let e=i.createElement("style");return e.textContent=t,e}function TG(t,i,e,n){let r=t.head?.querySelectorAll(`style[${wu}="${i}"],link[${wu}="${i}"]`);if(r)for(let a of r)a.removeAttribute(wu),a instanceof HTMLLinkElement?n.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]})}function wg(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var kg=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,r,a={}){this.doc=e,this.appId=n,this.nonce=r,this.isServer=Mu(a),TG(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,CM);n?.forEach(r=>this.addUsage(r,this.external,wg))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let a=n.get(e);a?a.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(yM(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])yM(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,CM(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,wg(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(wu,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(ae(De),ae(Xs),ae(F1,8),ae(Go))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Mg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Eg=/%COMP%/g;var MM="%COMP%",AG=`_nghost-${MM}`,VG=`_ngcontent-${MM}`,LG=!0,RG=new A("",{providedIn:"root",factory:()=>LG});function zG(t){return VG.replace(Eg,t)}function HG(t){return AG.replace(Eg,t)}function wM(t,i){return i.map(e=>e.replace(Eg,t))}var Og=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,r,a,o,s,d,h=null,v=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=d,this.nonce=h,this.tracingService=v,this.platformIsServer=Mu(s),this.defaultRenderer=new cd(e,o,d,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ma.ShadowDom&&(n=Be(q({},n),{encapsulation:Ma.Emulated}));let r=this.getOrCreateRenderer(e,n);return r instanceof Du?r.applyToHost(e):r instanceof ld&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,a=r.get(n.id);if(!a){let o=this.doc,s=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,v=this.removeStylesOnCompDestroy,C=this.platformIsServer,S=this.tracingService;switch(n.encapsulation){case Ma.Emulated:a=new Du(d,h,n,this.appId,v,o,s,C,S);break;case Ma.ShadowDom:return new Dg(d,h,e,n,o,s,this.nonce,C,S);default:a=new ld(d,h,n,v,o,s,C,S);break}r.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(ae(Sg),ae(kg),ae(Xs),ae(RG),ae(De),ae(Go),ae(se),ae(F1),ae(Tl,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),cd=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,r,a){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=a}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(Mg[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(xM(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(xM(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new Ce(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let a=Mg[r];a?i.setAttributeNS(a,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=Mg[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(wa.DashCase|wa.Important)?i.style.setProperty(e,n,r&wa.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&wa.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=_r().getGlobalEventTarget(this.doc,i),!i))throw new Ce(5102,!1);let a=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(i,e,a)),this.eventManager.addEventListener(i,e,a,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function xM(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Dg=class extends cd{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,n,r,a,o,s,d,h){super(i,a,o,d,h),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let v=r.styles;v=wM(r.id,v);for(let S of v){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=S,this.shadowRoot.appendChild(D)}let C=r.getExternalStyles?.();if(C)for(let S of C){let D=wg(S,a);s&&D.setAttribute("nonce",s),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ld=class extends cd{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,a,o,s,d,h){super(i,a,o,s,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let v=n.styles;this.styles=h?wM(h,v):v,this.styleUrls=n.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Du=class extends ld{contentAttr;hostAttr;constructor(i,e,n,r,a,o,s,d,h){let v=r+"-"+n.id;super(i,e,n,a,o,s,d,h,v),this.contentAttr=zG(v),this.hostAttr=HG(v)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var ku=class t extends Z1{supportsDOMEvents=!0;static makeCurrent(){ag(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=NG();return e==null?null:FG(e)}resetBaseElement(){dd=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return od(document.cookie,i)}},dd=null;function NG(){return dd=dd||document.head.querySelector("base"),dd?dd.getAttribute("href"):null}function FG(t){return new URL(t,document.baseURI).pathname}var Eu=class{addToWindow(i){ni.getAngularTestability=(n,r=!0)=>{let a=i.findTestabilityInTree(n,r);if(a==null)throw new Ce(5103,!1);return a},ni.getAllAngularTestabilities=()=>i.getAllTestabilities(),ni.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let r=ni.getAllAngularTestabilities(),a=r.length,o=function(){a--,a==0&&n()};r.forEach(s=>{s.whenStable(o)})};ni.frameworkStabilizers||(ni.frameworkStabilizers=[]),ni.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let r=i.getTestability(e);return r??(n?_r().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},BG=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),SM=(()=>{class t extends sd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,a){return e.addEventListener(n,r,a),()=>this.removeEventListener(e,n,r,a)}removeEventListener(e,n,r,a){return e.removeEventListener(n,r,a)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),DM=["alt","control","meta","shift"],jG={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},UG={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kM=(()=>{class t extends sd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,a){let o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_r().onAndCancel(e,o.domEventName,s,a))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let a=t._normalizeKey(n.pop()),o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),DM.forEach(h=>{let v=n.indexOf(h);v>-1&&(n.splice(v,1),o+=h+".")}),o+=a,n.length!=0||a.length===0)return null;let d={};return d.domEventName=r,d.fullKey=o,d}static matchEventFullKeyCode(e,n){let r=jG[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),DM.forEach(o=>{if(o!==r){let s=UG[o];s(e)&&(a+=o+".")}}),a+=r,a===n)}static eventCallback(e,n,r){return a=>{t.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>n(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function $G(){ku.makeCurrent()}function GG(){return new Vi}function WG(){return Zy(document),document}var qG=[{provide:Go,useValue:xu},{provide:x8,useValue:$G,multi:!0},{provide:De,useFactory:WG}],YG=rg(Rx,"browser",qG);var QG=[{provide:q1,useClass:Eu},{provide:Y8,useClass:K0,deps:[se,Z0,q1]},{provide:K0,useClass:K0,deps:[se,Z0,q1]}],KG=[{provide:P0,useValue:"root"},{provide:Vi,useFactory:GG},{provide:Su,useClass:SM,multi:!0,deps:[De]},{provide:Su,useClass:kM,multi:!0,deps:[De]},Og,kg,Sg,{provide:En,useExisting:Og},{provide:tc,useClass:BG},[]],ZG=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[...KG,...QG],imports:[fe,zx]})}return t})();var zl=class{},ud=class{},vr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` -`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),a=e.slice(n+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let a=i.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Iu=class{encodeKey(i){return EM(i)}encodeValue(i){return EM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function XG(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,a)),i.decodeValue(r.slice(a+1))],d=e.get(o)||[];d.push(s),e.set(o,d)}),e}var JG=/%(\d[a-f0-9])/gi,eW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EM(t){return encodeURIComponent(t).replace(JG,(i,e)=>eW[e]??i)}function Ou(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Iu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=XG(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Ou):[Ou(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Ou(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(Ou(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Pu=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function tW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function OM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function IM(t){return typeof Blob<"u"&&t instanceof Blob}function PM(t){return typeof FormData<"u"&&t instanceof FormData}function nW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var TM="Content-Type",AM="Accept",LM="X-Request-URL",RM="text/plain",zM="application/json",iW=`${zM}, ${RM}, */*`,Rl=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let a;if(tW(this.method)||r?(this.body=n!==void 0?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new vr,this.context??=new Pu,!this.params)this.params=new Z,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":sS.set(D,i.setHeaders[D]),h)),i.setParams&&(v=Object.keys(i.setParams).reduce((S,D)=>S.set(D,i.setParams[D]),v)),new t(e,n,o,{params:v,headers:h,context:C,reportProgress:d,responseType:r,withCredentials:s,transferCache:a})}},nc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(nc||{}),Hl=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new vr,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Tu=class t extends Hl{constructor(i={}){super(i)}type=nc.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},md=class t extends Hl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=nc.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},pd=class extends Hl{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},rW=200,aW=204;function Ig(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var On=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof Rl)a=e;else{let d;r.headers instanceof vr?d=r.headers:d=new vr(r.headers);let h;r.params&&(r.params instanceof Z?h=r.params:h=new Z({fromObject:r.params})),a=new Rl(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let o=ie(a).pipe(Ti(d=>this.handler.handle(d)));if(e instanceof Rl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof md));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Ig(r,n))}post(e,n,r={}){return this.request("POST",e,Ig(r,n))}put(e,n,r={}){return this.request("PUT",e,Ig(r,n))}static \u0275fac=function(n){return new(n||t)(ae(zl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var oW=new A("");function HM(t,i){return i(t)}function sW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function cW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var NM=new A(""),Tg=new A(""),FM=new A(""),Ag=new A("",{providedIn:"root",factory:()=>!0});function lW(){let t=null;return(i,e)=>{t===null&&(t=(u(NM,{optional:!0})??[]).reduceRight(sW,HM));let n=u(mo);if(u(Ag)){let a=n.add();return t(i,e).pipe(_a(()=>n.remove(a)))}else return t(i,e)}}var Au=(()=>{class t extends zl{backend;injector;chain=null;pendingTasks=u(mo);contributeToStability=u(Ag);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Tg),...this.injector.get(FM,[])]));this.chain=n.reduceRight((r,a)=>cW(r,a,this.injector),HM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(ud),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var dW=/^\)\]\}',?\n/,uW=RegExp(`^${LM}:`,"m");function mW(t){return"responseURL"in t&&t.responseURL?t.responseURL:uW.test(t.getAllResponseHeaders())?t.getResponseHeader(LM):null}var Pg=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(AM)||o.setRequestHeader(AM,iW),!e.headers.has(TM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(TM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=mW(o)||e.url;return d=new Tu({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==aW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?rW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let Rn=nt;nt=nt.replace(dW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=Rn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new md({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new pd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new pd({error:ne,status:o.status||0,statusText:o.statusText||"Unknown Error",url:oe||void 0});a.error(ye)},S=!1,D=ne=>{S||(a.next(h()),S=!0);let oe={type:nc.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),e.responseType==="text"&&o.responseText&&(oe.partialText=o.responseText),a.next(oe)},L=ne=>{let oe={type:nc.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),a.next(oe)};return o.addEventListener("load",v),o.addEventListener("error",C),o.addEventListener("timeout",C),o.addEventListener("abort",C),e.reportProgress&&(o.addEventListener("progress",D),s!==null&&o.upload&&o.upload.addEventListener("progress",L)),o.send(s),a.next({type:nc.Sent}),()=>{o.removeEventListener("error",C),o.removeEventListener("abort",C),o.removeEventListener("load",v),o.removeEventListener("timeout",C),e.reportProgress&&(o.removeEventListener("progress",D),s!==null&&o.upload&&o.upload.removeEventListener("progress",L)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(ae(tc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),BM=new A(""),pW="XSRF-TOKEN",fW=new A("",{providedIn:"root",factory:()=>pW}),hW="X-XSRF-TOKEN",gW=new A("",{providedIn:"root",factory:()=>hW}),fd=class{},_W=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=od(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(fW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function vW(t,i){let e=t.url.toLowerCase();if(!u(BM)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(fd).getToken(),r=u(gW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Vg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Vg||{});function bW(t,i){return{\u0275kind:t,\u0275providers:i}}function yW(...t){let i=[On,Pg,Au,{provide:zl,useExisting:Au},{provide:ud,useFactory:()=>u(oW,{optional:!0})??u(Pg)},{provide:Tg,useValue:vW,multi:!0},{provide:BM,useValue:!0},{provide:fd,useClass:_W}];for(let e of t)i.push(...e.\u0275providers);return wl(i)}var VM=new A("");function CW(){return bW(Vg.LegacyInterceptors,[{provide:VM,useFactory:lW},{provide:Tg,useExisting:VM,multi:!0}])}var jM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=ae(xW),r},providedIn:"root"})}return t})(),xW=(()=>{class t extends hd{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case di.NONE:return n;case di.HTML:return po(n,"HTML")?Pr(n):S8(this._doc,String(n)).toString();case di.STYLE:return po(n,"Style")?Pr(n):n;case di.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case di.URL:return po(n,"URL")?Pr(n):B0(String(n));case di.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return aC(e)}bypassSecurityTrustStyle(e){return oC(e)}bypassSecurityTrustScript(e){return sC(e)}bypassSecurityTrustUrl(e){return cC(e)}bypassSecurityTrustResourceUrl(e){return lC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nl=class{},UM=(()=>{class t extends Nl{getTranslation(e){return ie({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),_d=class{},$M=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Lu(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,r,a,o;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((r=t.length)==i.length){for(a=0;a{bd(i[n])?n in t?e[n]=Rg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):Rg({},i)}function zg(t,i){let e=i.split(".");i="";do i+=e.shift(),Qo(t)&&Qo(t[i])&&(bd(t[i])||jg(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function wW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Fl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(Ug(e))return this.interpolateString(e,n);if(MW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=zg(n,a);return Qo(o)?o:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Bl=class{},WM=(()=>{class t extends Bl{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),vd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Hg=new A("ISOLATE_TRANSLATE_SERVICE"),Ng=new A("USE_DEFAULT_LANG"),Fg=new A("DEFAULT_LANGUAGE"),Bg=new A("USE_EXTEND"),gd=t=>Gn(t)?t:ie(t),br=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,n,r,a,o,s=!0,d=!1,h=!1,v){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.extend=h,d&&(this.store=new vd),v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(Le(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return ie(this.translations[e]);this.currentLang||(this.currentLang=e);let n=this.retrieveTranslations(e);return Gn(n)?(n.pipe(Le(1)).subscribe(()=>{this.changeLang(e)}),n):(this.changeLang(e),ie(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(Vs(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Vs(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=Rg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(zg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(zg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(jg(e))return e.map(r=>this.runInterpolation(r,n));if(bd(e)){let r={};for(let a in e){let o=this.runInterpolation(e[a],n);o!==void 0&&(r[a]=o)}return r}else return this.parser.interpolate(e,n)}getParsedResult(e,n,r){if(n instanceof Array){let a={},o=!1;for(let d of n)a[d]=this.getParsedResultForKey(e,d,r),o=o||Gn(a[d]);if(!o)return a;let s=n.map(d=>gd(a[d]));return no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>gd(this.getParsedResult(r,e,n)))):gd(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}stream(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}instant(e,n){if(!Qo(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,n);return Gn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){wW(this.translations[r],e,Ug(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(vd),ae(Nl),ae(Bl),ae(Fl),ae(_d),ae(Ng),ae(Hg),ae(Bg),ae(Fg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);Gn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Lu(e,this.lastKey)&&Lu(n,this.lastParams))return this.value;let r;if(Qo(n[0])&&n.length)if(Ug(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else bd(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(k(br,16),k(be,16))};static \u0275pipe=_t({name:"translate",type:t,pure:!1});static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var $g=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:UM},e.compiler||{provide:Bl,useClass:WM},e.parser||{provide:Fl,useClass:GM},e.missingTranslationHandler||{provide:_d,useClass:$M},vd,{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:UM},e.compiler||{provide:Bl,useClass:WM},e.parser||{provide:Fl,useClass:GM},e.missingTranslationHandler||{provide:_d,useClass:$M},{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Gg={mifos_x:{version:"251103",hash:"3175c15"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Gg.mifos_x.version,hash:Gg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var qM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var YM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var QM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Ko=(()=>{class t{constructor(){this.alertEvent=new j}alert(e){this.alertEvent.emit(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ul=i3(zu());var Li=(()=>{class t{static{this.DEFAULT_DATEFORMAT="yyyy-MM-dd"}static{this.DEFAULT_DATETIMEFORMAT="yyyy-MM-dd HH:mm"}constructor(e){this.datePipe=e}getDate(e){return this.datePipe.transform(e,"YYYY-MM-DD")}formatDate(e,n){return new ec(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,Ul.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,Ul.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,Ul.default)(e).toDate()}parseDatetime(e){return(0,Ul.default)(e).toDate()}convertToDate(e,n){return(0,Ul.default)(e).toDate()}get language(){return localStorage.getItem("mifosXLanguage")?JSON.parse(localStorage.getItem("mifosXLanguage")):"en"}calculateDiff(e,n){return Math.floor((Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/(1e3*60*60*24))}static{this.\u0275fac=function(n){return new(n||t)(ae(ec))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){return JSON.parse(localStorage.getItem("mifosXDateFormat"))}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),JSON.parse(localStorage.getItem("mifosXLanguage"))}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return JSON.parse(localStorage.getItem("mifosXServers"))}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers()[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return JSON.parse(localStorage.getItem("mifosXTenantIdentifiers"))}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return JSON.parse(localStorage.getItem("mifosXThemeDarkEnabled"))}static{this.\u0275fac=function(n){return new(n||t)(ae(Ko),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Hu=i3(zu());var yr=(()=>{class t{constructor(e){this.settingsService=e}transform(e,n){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return Hu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Hu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Hu.default)(e),n==null?a.format(r):a.format(n)}static{this.\u0275fac=function(n){return new(n||t)(k(Nt,16))}}static{this.\u0275pipe=_t({name:"dateFormat",type:t,pure:!0})}}return t})();var Cd=i3(zu());var Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,Cd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,Cd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=Cd.default.unix(e):r=(0,Cd.default)(e);let a=n??"YYYY-MM-DDTHH:mm:ssZ";return r.format(a)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"datetimeFormat",type:t,pure:!0})}}return t})();var Nu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var KM=(()=>{class t{transform(e,n,r,a){let o;return n&&(o=n.find(s=>s[r]===e)),o?o[a]:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Zo=(()=>{class t{constructor(e,n){this.decimalFormat=e,this.settingsService=n}transform(e,n){if(e===void 0)return n||"";let r=this.settingsService.decimals,a=`1.${r}-${r}`;return this.decimalFormat.transform(e,a)}static{this.\u0275fac=function(n){return new(n||t)(k(ad,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var JM=i3(XM());var Bu=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return JM.json(e)}catch{return e}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"prettyPrint",type:t,pure:!0})}}return t})();var ew=(()=>{class t{transform(e){return{true:"status-active",false:"status-deleted",Active:"status-active",Block:"status-block","charges.StatusType.active.true":"status-active","loanStatusType.submitted.and.pending.approval":"status-pending","loanStatusType.approved":"status-approved","loanStatusType.active":"status-active","loanStatusType.overpaid":"status-overpaid","loanStatusType.chargeoff":"status-chargeoff","loanStatusType.activeOverdue":"status-active-overdue","loanSubStatusType.contractTermination":"subStatus-contract-termination","savingsAccountStatusType.submitted.and.pending.approval":"status-pending","savingsAccountStatusType.approved":"status-approved","savingsAccountStatusType.active":"status-active","savingsAccountStatusType.activeInactive":"status-active-overdue","savingsAccountStatusType.activeDormant":"status-active-overdue","savingsAccountStatusType.matured":"status-matured","shareAccountStatusType.submitted.and.pending.approval":"status-pending","shareAccountStatusType.approved":"status-approved","shareAccountStatusType.active":"status-active","shareAccountStatusType.rejected":"status-rejected","loanProduct.active":"status-active","loanProduct.inActive":"status-inactive","clientStatusType.pending":"status-pending","clientStatusType.closed":"status-closed","clientStatusType.rejected":"status-rejected","clientStatusType.withdraw":"status-withdraw","clientStatusType.active":"status-active","clientStatusType.submitted.and.pending.approval":"status-pending","clientStatusTYpe.approved":"status-approved","clientStatusType.transfer.in.progress":"status-transfer-progress","clientStatusType.transfer.on.hold":"status-transfer-hold","groupingStatusType.active":"status-active","groupingStatusType.pending":"status-pending","groupingStatusType.submitted.and.pending.approval":"status-pending","groupingStatusType.approved":"status-approved","smsCampaignStatus.active":"status-active","smsCampaignStatus.pending":"status-pending","smsCampaignStatus.closed":"status-closed","purchasedSharesStatusType.applied":"status-pending"}[e]??"status-unknown"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"statusLookup",type:t,pure:!0})}}return t})();var ic=(()=>{class t{constructor(e){this.translateService=e}transform(e,n,r="labels"){let a=`${r}.${n}.${e}`;return this.translateService.instant(a)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"translateKey",type:t,pure:!0})}}return t})();var ju=(()=>{class t{transform(e,n){if(e.length<=40)return e;let r=e.substring(0,30);return n&&(r=e.substring(0,n)),r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"truncateText",type:t,pure:!0})}}return t})();var nw=(()=>{class t{transform(e){e=decodeURIComponent(e);let n=e.slice(1).split("/");if(e.includes("?")){let a=n.pop(),o=a.slice(0,a.indexOf("?"));n.push(o)}return n.map(a=>a.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" ")).join(" | ")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"urlToString",type:t,pure:!0})}}return t})();var Uu=(()=>{class t{constructor(e){this.translateService=e}transform(e,...n){if(e==null)return null;let r=e?"Yes":"No";return this.translateService.instant("labels.buttons."+r)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"yesNo",type:t,pure:!0})}}return t})();var iw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[ew,qM,YM,QM,KM,nw,yr,Ia,Nu,Zo,Uu,Bu,ic,ju],imports:[fe]})}}return t})();var bo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},$u="Authorization",EW="Fineract-Platform-TenantId",rw="Fineract-Platform-TFA-Token",aw=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(bo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:bo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?bo.headers[$u]=`Bearer ${e}`:bo.headers[$u]=`Basic ${e}`}setTwoFactorAccessToken(e){bo.headers[rw]=e}removeAuthorization(){delete bo.headers[$u]}removeAuthorizationTenant(){delete bo.headers[$u],delete bo.headers[EW]}removeTwoFactorAuthorization(){delete bo.headers[rw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Gu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Ko),ae(aw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Xo=(()=>{class t{constructor(e,n,r){this.templateRef=e,this.viewContainer=n,this.authenticationService=r;let a=this.authenticationService.getCredentials();this.userPermissions=a.permissions}set mifosxHasPermission(e){if(typeof e!="string")throw new Error("hasPermission value must be a string");this.viewContainer.clear(),this.hasPermission(e)&&this.viewContainer.createEmbeddedView(this.templateRef)}hasPermission(e){return e=e.trim(),this.userPermissions.includes("ALL_FUNCTIONS")?!0:e!==""?e.substring(0,5)==="READ_"&&this.userPermissions.includes("ALL_FUNCTIONS_READ")?!0:!!this.userPermissions.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)(k(Qe),k(rt),k(Gu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var fw=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y))};static \u0275dir=V({type:t})}return t})(),hw=(()=>{class t extends fw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Yn=new A("");var IW={provide:Yn,useExisting:wt(()=>ri),multi:!0};function PW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var TW=new A(""),ri=(()=>{class t extends fw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!PW())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y),k(TW,8))};static \u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ue([IW]),ce]})}return t})();function Kg(t){return t==null||Zg(t)===0}function Zg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ai=new A(""),ac=new A(""),AW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vn=class{static min(i){return gw(i)}static max(i){return _w(i)}static required(i){return vw(i)}static requiredTrue(i){return VW(i)}static email(i){return LW(i)}static minLength(i){return bw(i)}static maxLength(i){return yw(i)}static pattern(i){return RW(i)}static nullValidator(i){return qu()}static compose(i){return Sw(i)}static composeAsync(i){return kw(i)}};function gw(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function vw(t){return Kg(t.value)?{required:!0}:null}function VW(t){return t.value===!0?null:{required:!0}}function LW(t){return Kg(t.value)||AW.test(t.value)?null:{email:!0}}function bw(t){return i=>{let e=i.value?.length??Zg(i.value);return e===null||e===0?null:e{let e=i.value?.length??Zg(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function RW(t){if(!t)return qu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Kg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function qu(t){return null}function Cw(t){return t!=null}function xw(t){return qo(t)?jt(t):t}function Mw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function ww(t,i){return i.map(e=>e(t))}function zW(t){return!t.validate}function Dw(t){return t.map(i=>zW(i)?i:e=>i.validate(e))}function Sw(t){if(!t)return null;let i=t.filter(Cw);return i.length==0?null:function(e){return Mw(ww(e,i))}}function Xg(t){return t!=null?Sw(Dw(t)):null}function kw(t){if(!t)return null;let i=t.filter(Cw);return i.length==0?null:function(e){let n=ww(e,i).map(xw);return no(n).pipe(pe(Mw))}}function Jg(t){return t!=null?kw(Dw(t)):null}function sw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Ew(t){return t._rawValidators}function Ow(t){return t._rawAsyncValidators}function qg(t){return t?Array.isArray(t)?t:[t]:[]}function Yu(t,i){return Array.isArray(t)?t.includes(i):t===i}function cw(t,i){let e=qg(i);return qg(t).forEach(r=>{Yu(e,r)||e.push(r)}),e}function lw(t,i){return qg(i).filter(e=>!Yu(t,e))}var Qu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Xg(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Jg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ii=class extends Qu{name;get formDirective(){return null}get path(){return null}},Nn=class extends Qu{_parent=null;name=null;valueAccessor=null},Ku=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},HW={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},t6e=Be(q({},HW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Ku{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Nn,2))};static \u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ce]})}return t})(),Lr=(()=>{class t extends Ku{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(ii,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[ce]})}return t})();var xd="VALID",Wu="INVALID",Gl="PENDING",Md="DISABLED",es=class{},Zu=class extends es{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Dd=class extends es{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Sd=class extends es{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Wl=class extends es{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Xu=class extends es{source;constructor(i){super(),this.source=i}},Ju=class extends es{source;constructor(i){super(),this.source=i}};function e5(t){return(im(t)?t.validators:t)||null}function NW(t){return Array.isArray(t)?Xg(t):t||null}function t5(t,i){return(im(i)?i.asyncValidators:t)||null}function FW(t){return Array.isArray(t)?Jg(t):t||null}function im(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Iw(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new Ce(1e3,"");if(!n[e])throw new Ce(1001,"")}function Pw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var ql=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return ir(this.statusReactive)}set status(i){ir(()=>this.statusReactive.set(i))}_status=Zr(()=>this.statusReactive());statusReactive=zn(void 0);get valid(){return this.status===xd}get invalid(){return this.status===Wu}get pending(){return this.status==Gl}get disabled(){return this.status===Md}get enabled(){return this.status!==Md}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=zn(!0);get dirty(){return!this.pristine}get touched(){return ir(this.touchedReactive)}set touched(i){ir(()=>this.touchedReactive.set(i))}_touched=Zr(()=>this.touchedReactive());touchedReactive=zn(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(cw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(cw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(lw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(lw(i,this._rawAsyncValidators))}hasValidator(i){return Yu(this._rawValidators,i)}hasAsyncValidator(i){return Yu(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Sd(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Sd(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Dd(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Dd(!0,n))}markAsPending(i={}){this.status=Gl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Wl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Be(q({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Md,this.errors=null,this._forEachChild(r=>{r.disable(Be(q({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Zu(this.value,n)),this._events.next(new Wl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=xd,this._forEachChild(n=>{n.enable(Be(q({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xd||this.status===Gl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Zu(this.value,e)),this._events.next(new Wl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Be(q({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Md:xd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Gl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=xw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Wl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Md:this.errors?Wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gl)?Gl:this._anyControlsHaveStatus(Wu)?Wu:xd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),r&&this._events.next(new Dd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Sd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){im(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=NW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=FW(this._rawAsyncValidators)}},rc=class extends ql{constructor(i,e,n){super(e5(e),t5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Pw(this,!0,i),Object.keys(i).forEach(n=>{Iw(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Tw=rc;var Yg=class extends rc{};var Yl=new A("",{providedIn:"root",factory:()=>rm}),rm="always";function am(t,i){return[...i.path,t]}function kd(t,i,e=rm){n5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),jW(t,i),$W(t,i),UW(t,i),BW(t,i)}function em(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),nm(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function tm(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function BW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function n5(t,i){let e=Ew(t);i.validator!==null?t.setValidators(sw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Ow(t);i.asyncValidator!==null?t.setAsyncValidators(sw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();tm(i._rawValidators,r),tm(i._rawAsyncValidators,r)}function nm(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Ew(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(i.asyncValidator!==null){let r=Ow(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let n=()=>{};return tm(i._rawValidators,n),tm(i._rawAsyncValidators,n),e}function jW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Aw(t,i)})}function UW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Aw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Aw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $W(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Vw(t,i){t==null,n5(t,i)}function GW(t,i){return nm(t,i)}function i5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function WW(t){return Object.getPrototypeOf(t.constructor)===hw}function Lw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function r5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ri?e=a:WW(a)?n=a:r=a}),r||n||e||null}function qW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var YW={provide:ii,useExisting:wt(()=>Ql)},wd=Promise.resolve(),Ql=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=zn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new rc({},Xg(e),Jg(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path),r=new rc({});Vw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){wd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Lw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Xu(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new Ju(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([YW]),ce]})}return t})();function dw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function uw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Jo=class extends ql{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(e5(e),t5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),im(e)&&(e.nonNullable||e.initialValueIsDefault)&&(uw(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){dw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){dw(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){uw(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},xi=Jo,QW=t=>t instanceof Jo,KW=(()=>{class t extends ii{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,standalone:!1,features:[ce]})}return t})();var ZW={provide:Nn,useExisting:wt(()=>XW)},mw=Promise.resolve(),XW=(()=>{class t extends Nn{_changeDetectorRef;callSetDisabledState;control=new Jo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=r5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),i5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){kd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){mw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);mw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?am(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(k(ii,9),k(ai,10),k(ac,10),k(Yn,10),k(be,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ue([ZW]),ce,Pe]})}return t})();var ts=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),JW={provide:Yn,useExisting:wt(()=>eq),multi:!0},eq=(()=>{class t extends hw{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[ue([JW]),ce]})}return t})();var a5=new A(""),tq={provide:Nn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Nn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=r5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&em(n,this,!1),kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}i5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&em(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yn,10),k(a5,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ue([tq]),ce,Pe]})}return t})(),nq={provide:ii,useExisting:wt(()=>Qn)},Qn=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=zn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new j;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return kd(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){em(e.control||null,e,!1),qW(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),Lw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Xu(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ju(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(em(n||null,e),QW(r)&&(kd(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Vw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&GW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){n5(this.form,this),this._oldForm&&nm(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([nq]),ce,Pe]})}return t})(),iq={provide:ii,useExisting:wt(()=>Rw)},Rw=(()=>{class t extends KW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Hw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([iq]),ce]})}return t})(),rq={provide:ii,useExisting:wt(()=>zw)},zw=(()=>{class t extends ii{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Hw(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([rq]),ce]})}return t})();function Hw(t){return!(t instanceof Rw)&&!(t instanceof Qn)&&!(t instanceof zw)}var aq={provide:Nn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Nn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=r5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),i5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10),k(Yn,10),k(a5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([aq]),ce,Pe]})}return t})();function Nw(t){return typeof t=="number"?t:parseInt(t,10)}function Fw(t){return typeof t=="number"?t:parseFloat(t)}var Ed=(()=>{class t{_validator=qu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):qu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,features:[Pe]})}return t})(),oq={provide:ai,useExisting:wt(()=>sq),multi:!0},sq=(()=>{class t extends Ed{max;inputName="max";normalizeInput=e=>Fw(e);createValidator=e=>_w(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[ue([oq]),ce]})}return t})(),cq={provide:ai,useExisting:wt(()=>lq),multi:!0},lq=(()=>{class t extends Ed{min;inputName="min";normalizeInput=e=>Fw(e);createValidator=e=>gw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[ue([cq]),ce]})}return t})(),dq={provide:ai,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Ed{required;inputName="required";normalizeInput=B;createValidator=e=>vw;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&ee("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ue([dq]),ce]})}return t})();var uq={provide:ai,useExisting:wt(()=>mq),multi:!0},mq=(()=>{class t extends Ed{minlength;inputName="minlength";normalizeInput=e=>Nw(e);createValidator=e=>bw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ue([uq]),ce]})}return t})(),pq={provide:ai,useExisting:wt(()=>fq),multi:!0},fq=(()=>{class t extends Ed{maxlength;inputName="maxlength";normalizeInput=e=>Nw(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ue([pq]),ce]})}return t})();var Bw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Qg=class extends ql{constructor(i,e,n){super(e5(e),t5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Pw(this,!1,i),i.forEach((n,r)=>{Iw(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function pw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var hq=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),a={};return pw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new rc(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Yg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(pw(n)?a=n:(a.validators=n,a.asyncValidators=r),new Jo(e,Be(q({},a),{nonNullable:!0}))):new Jo(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Qg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof Jo)return e;if(e instanceof ql)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(n,r,a)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ns=(()=>{class t extends hq{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yl,useValue:e.callSetDisabledState??rm}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Bw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:a5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yl,useValue:e.callSetDisabledState??rm}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Bw]})}return t})();var Uw=(()=>{class t{set _(e){let n=e.split(":");this.currencyCode=n[0],this.displaySymbol=n.length>1?n[1]:"$",this.digitsInfo=n.length>2?n[2]:"1.2-2"}blur(e){e.value=this.parse(e.value)}focus(e){typeof this.control.value>"u"?e.value="":e.value=this.control.value}ngOnInit(){setTimeout(()=>{this.el.nativeElement.value=this.parse(this.el.nativeElement.value)})}constructor(e,n,r){this.locale=e,this.el=n,this.control=r,this.format="N0",this.digitsInfo="1.0-0",this.sufix=""}parse(e){return Cu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Ea),k(Y),k(Nn))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxFormatAmount",""]],hostBindings:function(n,r){n&1&&z("blur",function(o){return r.blur(o.target)})("focus",function(o){return r.focus(o.target)})},inputs:{sufix:"sufix",_:[0,"mifosxFormatAmount","_"]}})}}return t})();var s6e=(()=>{class t{constructor(e,n){this.control=e,this.el=n}onFocus(){this.control.control?.markAsTouched(),this.control.control?.updateValueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)(k(Nn),k(Y))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxValidateOnFocus",""]],hostBindings:function(n,r){n&1&&z("focus",function(){return r.onFocus()})}})}}return t})();var $w=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({imports:[fe]})}}return t})();var Rr=class{constructor(i={}){this.controlType=i.controlType||"",this.controlName=i.controlName||"",this.label=i.label||"",this.value=i.value===void 0?"":i.value,this.required=!!i.required,this.order=i.order===void 0?1:i.order,this.validators=i.validators===void 0?[]:i.validators,this.min=i.min===void 0?null:i.min,this.max=i.max===void 0?null:i.max}};function yo(t){return t.buttons===0||t.detail===0}function Co(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var o5;function Gw(){if(o5==null){let t=typeof document<"u"?document.head:null;o5=!!(t&&(t.createShadowRoot||t.attachShadow))}return o5}function oc(t){if(Gw()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Ri(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function In(t){return t.composedPath?t.composedPath()[0]:t.target}function Dt(t,i,e,n,r){let a=parseInt(ig.major),o=parseInt(ig.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var s5;try{s5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{s5=!1}var He=(()=>{class t{_platformId=u(Go);isBrowser=this._platformId?Cg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||s5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Od;function Ww(){if(Od==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Od=!0}))}finally{Od=Od||!1}return Od}function is(t){return Ww()?t:!!t.capture}function sn(t,i=0){return om(t)?Number(t):arguments.length===2?i:0}function om(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var qw=new A("cdk-input-modality-detector-options"),Yw={ignoreKeys:[18,17,224,91,16]},Qw=650,c5={passive:!0,capture:!0},Kw=(()=>{class t{_platform=u(He);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Je(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=In(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Co(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=In(e)};constructor(){let e=u(se),n=u(De),r=u(qw,{optional:!0});if(this._options=q(q({},Yw),r),this.modalityDetected=this._modality.pipe(Ls(1)),this.modalityChanged=this.modalityDetected.pipe(sl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,c5),Dt(a,n,"mousedown",this._onMousedown,c5),Dt(a,n,"touchstart",this._onTouchstart,c5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Id=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Id||{}),Zw=new A("cdk-focus-monitor-default-options"),sm=is({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Kw);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(De,{optional:!0});_stopInputModalityDetector=new N;constructor(){let e=u(Zw,{optional:!0});this._detectionMode=e?.detectionMode||Id.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=In(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=Cn(e);if(!this._platform.isBrowser||r.nodeType!==1)return ie();let a=oc(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;let s={checkChildren:n,subject:new N,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Cn(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let a=Cn(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Id.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Id.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Qw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),a=In(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,sm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,sm)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sm),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o{class t{_elementRef=u(Y);_focusMonitor=u(qt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var cm=new WeakMap,Ze=(()=>{class t{_appRef;_injector=u(Te);_environmentInjector=u(fn);load(e){let n=this._appRef=this._appRef||this._injector.get(bi),r=cm.get(n);r||(r={loaders:new Set,refs:[]},cm.set(n,r),n.onDestroy(()=>{cm.get(n)?.refs.forEach(a=>a.destroy()),cm.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(ou(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} +`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),a=e.slice(n+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let a=i.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Iu=class{encodeKey(i){return EM(i)}encodeValue(i){return EM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function XG(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,a)),i.decodeValue(r.slice(a+1))],d=e.get(o)||[];d.push(s),e.set(o,d)}),e}var JG=/%(\d[a-f0-9])/gi,eW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EM(t){return encodeURIComponent(t).replace(JG,(i,e)=>eW[e]??i)}function Ou(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Iu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=XG(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Ou):[Ou(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Ou(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(Ou(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Pu=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function tW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function OM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function IM(t){return typeof Blob<"u"&&t instanceof Blob}function PM(t){return typeof FormData<"u"&&t instanceof FormData}function nW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var TM="Content-Type",AM="Accept",LM="X-Request-URL",RM="text/plain",zM="application/json",iW=`${zM}, ${RM}, */*`,Rl=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let a;if(tW(this.method)||r?(this.body=n!==void 0?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new vr,this.context??=new Pu,!this.params)this.params=new Z,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":sS.set(D,i.setHeaders[D]),h)),i.setParams&&(v=Object.keys(i.setParams).reduce((S,D)=>S.set(D,i.setParams[D]),v)),new t(e,n,o,{params:v,headers:h,context:C,reportProgress:d,responseType:r,withCredentials:s,transferCache:a})}},nc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(nc||{}),Hl=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new vr,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Tu=class t extends Hl{constructor(i={}){super(i)}type=nc.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},md=class t extends Hl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=nc.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},pd=class extends Hl{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},rW=200,aW=204;function Ig(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var On=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof Rl)a=e;else{let d;r.headers instanceof vr?d=r.headers:d=new vr(r.headers);let h;r.params&&(r.params instanceof Z?h=r.params:h=new Z({fromObject:r.params})),a=new Rl(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let o=ie(a).pipe(Ti(d=>this.handler.handle(d)));if(e instanceof Rl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof md));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Ig(r,n))}post(e,n,r={}){return this.request("POST",e,Ig(r,n))}put(e,n,r={}){return this.request("PUT",e,Ig(r,n))}static \u0275fac=function(n){return new(n||t)(ae(zl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var oW=new A("");function HM(t,i){return i(t)}function sW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function cW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var NM=new A(""),Tg=new A(""),FM=new A(""),Ag=new A("",{providedIn:"root",factory:()=>!0});function lW(){let t=null;return(i,e)=>{t===null&&(t=(u(NM,{optional:!0})??[]).reduceRight(sW,HM));let n=u(mo);if(u(Ag)){let a=n.add();return t(i,e).pipe(_a(()=>n.remove(a)))}else return t(i,e)}}var Au=(()=>{class t extends zl{backend;injector;chain=null;pendingTasks=u(mo);contributeToStability=u(Ag);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Tg),...this.injector.get(FM,[])]));this.chain=n.reduceRight((r,a)=>cW(r,a,this.injector),HM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(ud),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var dW=/^\)\]\}',?\n/,uW=RegExp(`^${LM}:`,"m");function mW(t){return"responseURL"in t&&t.responseURL?t.responseURL:uW.test(t.getAllResponseHeaders())?t.getResponseHeader(LM):null}var Pg=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(AM)||o.setRequestHeader(AM,iW),!e.headers.has(TM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(TM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=mW(o)||e.url;return d=new Tu({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==aW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?rW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let Rn=nt;nt=nt.replace(dW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=Rn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new md({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new pd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new pd({error:ne,status:o.status||0,statusText:o.statusText||"Unknown Error",url:oe||void 0});a.error(ye)},S=!1,D=ne=>{S||(a.next(h()),S=!0);let oe={type:nc.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),e.responseType==="text"&&o.responseText&&(oe.partialText=o.responseText),a.next(oe)},L=ne=>{let oe={type:nc.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),a.next(oe)};return o.addEventListener("load",v),o.addEventListener("error",C),o.addEventListener("timeout",C),o.addEventListener("abort",C),e.reportProgress&&(o.addEventListener("progress",D),s!==null&&o.upload&&o.upload.addEventListener("progress",L)),o.send(s),a.next({type:nc.Sent}),()=>{o.removeEventListener("error",C),o.removeEventListener("abort",C),o.removeEventListener("load",v),o.removeEventListener("timeout",C),e.reportProgress&&(o.removeEventListener("progress",D),s!==null&&o.upload&&o.upload.removeEventListener("progress",L)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(ae(tc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),BM=new A(""),pW="XSRF-TOKEN",fW=new A("",{providedIn:"root",factory:()=>pW}),hW="X-XSRF-TOKEN",gW=new A("",{providedIn:"root",factory:()=>hW}),fd=class{},_W=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=od(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(fW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function vW(t,i){let e=t.url.toLowerCase();if(!u(BM)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(fd).getToken(),r=u(gW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Vg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Vg||{});function bW(t,i){return{\u0275kind:t,\u0275providers:i}}function yW(...t){let i=[On,Pg,Au,{provide:zl,useExisting:Au},{provide:ud,useFactory:()=>u(oW,{optional:!0})??u(Pg)},{provide:Tg,useValue:vW,multi:!0},{provide:BM,useValue:!0},{provide:fd,useClass:_W}];for(let e of t)i.push(...e.\u0275providers);return wl(i)}var VM=new A("");function CW(){return bW(Vg.LegacyInterceptors,[{provide:VM,useFactory:lW},{provide:Tg,useExisting:VM,multi:!0}])}var jM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=ae(xW),r},providedIn:"root"})}return t})(),xW=(()=>{class t extends hd{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case di.NONE:return n;case di.HTML:return po(n,"HTML")?Pr(n):S8(this._doc,String(n)).toString();case di.STYLE:return po(n,"Style")?Pr(n):n;case di.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case di.URL:return po(n,"URL")?Pr(n):B0(String(n));case di.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return aC(e)}bypassSecurityTrustStyle(e){return oC(e)}bypassSecurityTrustScript(e){return sC(e)}bypassSecurityTrustUrl(e){return cC(e)}bypassSecurityTrustResourceUrl(e){return lC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nl=class{},UM=(()=>{class t extends Nl{getTranslation(e){return ie({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),_d=class{},$M=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Lu(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,r,a,o;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((r=t.length)==i.length){for(a=0;a{bd(i[n])?n in t?e[n]=Rg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):Rg({},i)}function zg(t,i){let e=i.split(".");i="";do i+=e.shift(),Qo(t)&&Qo(t[i])&&(bd(t[i])||jg(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function wW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Fl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(Ug(e))return this.interpolateString(e,n);if(MW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=zg(n,a);return Qo(o)?o:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Bl=class{},WM=(()=>{class t extends Bl{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),vd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Hg=new A("ISOLATE_TRANSLATE_SERVICE"),Ng=new A("USE_DEFAULT_LANG"),Fg=new A("DEFAULT_LANGUAGE"),Bg=new A("USE_EXTEND"),gd=t=>Gn(t)?t:ie(t),br=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,n,r,a,o,s=!0,d=!1,h=!1,v){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.extend=h,d&&(this.store=new vd),v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(Le(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return ie(this.translations[e]);this.currentLang||(this.currentLang=e);let n=this.retrieveTranslations(e);return Gn(n)?(n.pipe(Le(1)).subscribe(()=>{this.changeLang(e)}),n):(this.changeLang(e),ie(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(Vs(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Vs(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=Rg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(zg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(zg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(jg(e))return e.map(r=>this.runInterpolation(r,n));if(bd(e)){let r={};for(let a in e){let o=this.runInterpolation(e[a],n);o!==void 0&&(r[a]=o)}return r}else return this.parser.interpolate(e,n)}getParsedResult(e,n,r){if(n instanceof Array){let a={},o=!1;for(let d of n)a[d]=this.getParsedResultForKey(e,d,r),o=o||Gn(a[d]);if(!o)return a;let s=n.map(d=>gd(a[d]));return no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>gd(this.getParsedResult(r,e,n)))):gd(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}stream(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}instant(e,n){if(!Qo(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,n);return Gn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){wW(this.translations[r],e,Ug(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(vd),ae(Nl),ae(Bl),ae(Fl),ae(_d),ae(Ng),ae(Hg),ae(Bg),ae(Fg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);Gn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Lu(e,this.lastKey)&&Lu(n,this.lastParams))return this.value;let r;if(Qo(n[0])&&n.length)if(Ug(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else bd(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(k(br,16),k(be,16))};static \u0275pipe=_t({name:"translate",type:t,pure:!1});static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var $g=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:UM},e.compiler||{provide:Bl,useClass:WM},e.parser||{provide:Fl,useClass:GM},e.missingTranslationHandler||{provide:_d,useClass:$M},vd,{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:UM},e.compiler||{provide:Bl,useClass:WM},e.parser||{provide:Fl,useClass:GM},e.missingTranslationHandler||{provide:_d,useClass:$M},{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Gg={mifos_x:{version:"251103",hash:"28beb14"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Gg.mifos_x.version,hash:Gg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var qM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var YM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var QM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Ko=(()=>{class t{constructor(){this.alertEvent=new j}alert(e){this.alertEvent.emit(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ul=i3(zu());var Li=(()=>{class t{static{this.DEFAULT_DATEFORMAT="yyyy-MM-dd"}static{this.DEFAULT_DATETIMEFORMAT="yyyy-MM-dd HH:mm"}constructor(e){this.datePipe=e}getDate(e){return this.datePipe.transform(e,"YYYY-MM-DD")}formatDate(e,n){return new ec(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,Ul.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,Ul.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,Ul.default)(e).toDate()}parseDatetime(e){return(0,Ul.default)(e).toDate()}convertToDate(e,n){return(0,Ul.default)(e).toDate()}get language(){return localStorage.getItem("mifosXLanguage")?JSON.parse(localStorage.getItem("mifosXLanguage")):"en"}calculateDiff(e,n){return Math.floor((Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/(1e3*60*60*24))}static{this.\u0275fac=function(n){return new(n||t)(ae(ec))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){return JSON.parse(localStorage.getItem("mifosXDateFormat"))}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),JSON.parse(localStorage.getItem("mifosXLanguage"))}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return JSON.parse(localStorage.getItem("mifosXServers"))}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers()[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return JSON.parse(localStorage.getItem("mifosXTenantIdentifiers"))}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return JSON.parse(localStorage.getItem("mifosXThemeDarkEnabled"))}static{this.\u0275fac=function(n){return new(n||t)(ae(Ko),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Hu=i3(zu());var yr=(()=>{class t{constructor(e){this.settingsService=e}transform(e,n){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return Hu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Hu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Hu.default)(e),n==null?a.format(r):a.format(n)}static{this.\u0275fac=function(n){return new(n||t)(k(Nt,16))}}static{this.\u0275pipe=_t({name:"dateFormat",type:t,pure:!0})}}return t})();var Cd=i3(zu());var Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,Cd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,Cd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=Cd.default.unix(e):r=(0,Cd.default)(e);let a=n??"YYYY-MM-DDTHH:mm:ssZ";return r.format(a)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"datetimeFormat",type:t,pure:!0})}}return t})();var Nu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var KM=(()=>{class t{transform(e,n,r,a){let o;return n&&(o=n.find(s=>s[r]===e)),o?o[a]:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Zo=(()=>{class t{constructor(e,n){this.decimalFormat=e,this.settingsService=n}transform(e,n){if(e===void 0)return n||"";let r=this.settingsService.decimals,a=`1.${r}-${r}`;return this.decimalFormat.transform(e,a)}static{this.\u0275fac=function(n){return new(n||t)(k(ad,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var JM=i3(XM());var Bu=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return JM.json(e)}catch{return e}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"prettyPrint",type:t,pure:!0})}}return t})();var ew=(()=>{class t{transform(e){return{true:"status-active",false:"status-deleted",Active:"status-active",Block:"status-block","charges.StatusType.active.true":"status-active","loanStatusType.submitted.and.pending.approval":"status-pending","loanStatusType.approved":"status-approved","loanStatusType.active":"status-active","loanStatusType.overpaid":"status-overpaid","loanStatusType.chargeoff":"status-chargeoff","loanStatusType.activeOverdue":"status-active-overdue","loanSubStatusType.contractTermination":"subStatus-contract-termination","savingsAccountStatusType.submitted.and.pending.approval":"status-pending","savingsAccountStatusType.approved":"status-approved","savingsAccountStatusType.active":"status-active","savingsAccountStatusType.activeInactive":"status-active-overdue","savingsAccountStatusType.activeDormant":"status-active-overdue","savingsAccountStatusType.matured":"status-matured","shareAccountStatusType.submitted.and.pending.approval":"status-pending","shareAccountStatusType.approved":"status-approved","shareAccountStatusType.active":"status-active","shareAccountStatusType.rejected":"status-rejected","loanProduct.active":"status-active","loanProduct.inActive":"status-inactive","clientStatusType.pending":"status-pending","clientStatusType.closed":"status-closed","clientStatusType.rejected":"status-rejected","clientStatusType.withdraw":"status-withdraw","clientStatusType.active":"status-active","clientStatusType.submitted.and.pending.approval":"status-pending","clientStatusTYpe.approved":"status-approved","clientStatusType.transfer.in.progress":"status-transfer-progress","clientStatusType.transfer.on.hold":"status-transfer-hold","groupingStatusType.active":"status-active","groupingStatusType.pending":"status-pending","groupingStatusType.submitted.and.pending.approval":"status-pending","groupingStatusType.approved":"status-approved","smsCampaignStatus.active":"status-active","smsCampaignStatus.pending":"status-pending","smsCampaignStatus.closed":"status-closed","purchasedSharesStatusType.applied":"status-pending"}[e]??"status-unknown"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"statusLookup",type:t,pure:!0})}}return t})();var ic=(()=>{class t{constructor(e){this.translateService=e}transform(e,n,r="labels"){let a=`${r}.${n}.${e}`;return this.translateService.instant(a)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"translateKey",type:t,pure:!0})}}return t})();var ju=(()=>{class t{transform(e,n){if(e.length<=40)return e;let r=e.substring(0,30);return n&&(r=e.substring(0,n)),r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"truncateText",type:t,pure:!0})}}return t})();var nw=(()=>{class t{transform(e){e=decodeURIComponent(e);let n=e.slice(1).split("/");if(e.includes("?")){let a=n.pop(),o=a.slice(0,a.indexOf("?"));n.push(o)}return n.map(a=>a.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" ")).join(" | ")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"urlToString",type:t,pure:!0})}}return t})();var Uu=(()=>{class t{constructor(e){this.translateService=e}transform(e,...n){if(e==null)return null;let r=e?"Yes":"No";return this.translateService.instant("labels.buttons."+r)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"yesNo",type:t,pure:!0})}}return t})();var iw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[ew,qM,YM,QM,KM,nw,yr,Ia,Nu,Zo,Uu,Bu,ic,ju],imports:[fe]})}}return t})();var bo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},$u="Authorization",EW="Fineract-Platform-TenantId",rw="Fineract-Platform-TFA-Token",aw=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(bo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:bo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?bo.headers[$u]=`Bearer ${e}`:bo.headers[$u]=`Basic ${e}`}setTwoFactorAccessToken(e){bo.headers[rw]=e}removeAuthorization(){delete bo.headers[$u]}removeAuthorizationTenant(){delete bo.headers[$u],delete bo.headers[EW]}removeTwoFactorAuthorization(){delete bo.headers[rw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Gu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Ko),ae(aw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Xo=(()=>{class t{constructor(e,n,r){this.templateRef=e,this.viewContainer=n,this.authenticationService=r;let a=this.authenticationService.getCredentials();this.userPermissions=a.permissions}set mifosxHasPermission(e){if(typeof e!="string")throw new Error("hasPermission value must be a string");this.viewContainer.clear(),this.hasPermission(e)&&this.viewContainer.createEmbeddedView(this.templateRef)}hasPermission(e){return e=e.trim(),this.userPermissions.includes("ALL_FUNCTIONS")?!0:e!==""?e.substring(0,5)==="READ_"&&this.userPermissions.includes("ALL_FUNCTIONS_READ")?!0:!!this.userPermissions.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)(k(Qe),k(rt),k(Gu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var fw=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y))};static \u0275dir=V({type:t})}return t})(),hw=(()=>{class t extends fw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Yn=new A("");var IW={provide:Yn,useExisting:wt(()=>ri),multi:!0};function PW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var TW=new A(""),ri=(()=>{class t extends fw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!PW())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y),k(TW,8))};static \u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ue([IW]),ce]})}return t})();function Kg(t){return t==null||Zg(t)===0}function Zg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ai=new A(""),ac=new A(""),AW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vn=class{static min(i){return gw(i)}static max(i){return _w(i)}static required(i){return vw(i)}static requiredTrue(i){return VW(i)}static email(i){return LW(i)}static minLength(i){return bw(i)}static maxLength(i){return yw(i)}static pattern(i){return RW(i)}static nullValidator(i){return qu()}static compose(i){return Sw(i)}static composeAsync(i){return kw(i)}};function gw(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function vw(t){return Kg(t.value)?{required:!0}:null}function VW(t){return t.value===!0?null:{required:!0}}function LW(t){return Kg(t.value)||AW.test(t.value)?null:{email:!0}}function bw(t){return i=>{let e=i.value?.length??Zg(i.value);return e===null||e===0?null:e{let e=i.value?.length??Zg(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function RW(t){if(!t)return qu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Kg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function qu(t){return null}function Cw(t){return t!=null}function xw(t){return qo(t)?jt(t):t}function Mw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function ww(t,i){return i.map(e=>e(t))}function zW(t){return!t.validate}function Dw(t){return t.map(i=>zW(i)?i:e=>i.validate(e))}function Sw(t){if(!t)return null;let i=t.filter(Cw);return i.length==0?null:function(e){return Mw(ww(e,i))}}function Xg(t){return t!=null?Sw(Dw(t)):null}function kw(t){if(!t)return null;let i=t.filter(Cw);return i.length==0?null:function(e){let n=ww(e,i).map(xw);return no(n).pipe(pe(Mw))}}function Jg(t){return t!=null?kw(Dw(t)):null}function sw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Ew(t){return t._rawValidators}function Ow(t){return t._rawAsyncValidators}function qg(t){return t?Array.isArray(t)?t:[t]:[]}function Yu(t,i){return Array.isArray(t)?t.includes(i):t===i}function cw(t,i){let e=qg(i);return qg(t).forEach(r=>{Yu(e,r)||e.push(r)}),e}function lw(t,i){return qg(i).filter(e=>!Yu(t,e))}var Qu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Xg(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Jg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ii=class extends Qu{name;get formDirective(){return null}get path(){return null}},Nn=class extends Qu{_parent=null;name=null;valueAccessor=null},Ku=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},HW={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},t6e=Be(q({},HW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Ku{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Nn,2))};static \u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ce]})}return t})(),Lr=(()=>{class t extends Ku{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(ii,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[ce]})}return t})();var xd="VALID",Wu="INVALID",Gl="PENDING",Md="DISABLED",es=class{},Zu=class extends es{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Dd=class extends es{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Sd=class extends es{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Wl=class extends es{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Xu=class extends es{source;constructor(i){super(),this.source=i}},Ju=class extends es{source;constructor(i){super(),this.source=i}};function e5(t){return(im(t)?t.validators:t)||null}function NW(t){return Array.isArray(t)?Xg(t):t||null}function t5(t,i){return(im(i)?i.asyncValidators:t)||null}function FW(t){return Array.isArray(t)?Jg(t):t||null}function im(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Iw(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new Ce(1e3,"");if(!n[e])throw new Ce(1001,"")}function Pw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var ql=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return ir(this.statusReactive)}set status(i){ir(()=>this.statusReactive.set(i))}_status=Zr(()=>this.statusReactive());statusReactive=zn(void 0);get valid(){return this.status===xd}get invalid(){return this.status===Wu}get pending(){return this.status==Gl}get disabled(){return this.status===Md}get enabled(){return this.status!==Md}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=zn(!0);get dirty(){return!this.pristine}get touched(){return ir(this.touchedReactive)}set touched(i){ir(()=>this.touchedReactive.set(i))}_touched=Zr(()=>this.touchedReactive());touchedReactive=zn(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(cw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(cw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(lw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(lw(i,this._rawAsyncValidators))}hasValidator(i){return Yu(this._rawValidators,i)}hasAsyncValidator(i){return Yu(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Sd(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Sd(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Dd(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Dd(!0,n))}markAsPending(i={}){this.status=Gl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Wl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Be(q({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Md,this.errors=null,this._forEachChild(r=>{r.disable(Be(q({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Zu(this.value,n)),this._events.next(new Wl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=xd,this._forEachChild(n=>{n.enable(Be(q({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xd||this.status===Gl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Zu(this.value,e)),this._events.next(new Wl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Be(q({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Md:xd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Gl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=xw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Wl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Md:this.errors?Wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gl)?Gl:this._anyControlsHaveStatus(Wu)?Wu:xd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),r&&this._events.next(new Dd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Sd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){im(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=NW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=FW(this._rawAsyncValidators)}},rc=class extends ql{constructor(i,e,n){super(e5(e),t5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Pw(this,!0,i),Object.keys(i).forEach(n=>{Iw(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Tw=rc;var Yg=class extends rc{};var Yl=new A("",{providedIn:"root",factory:()=>rm}),rm="always";function am(t,i){return[...i.path,t]}function kd(t,i,e=rm){n5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),jW(t,i),$W(t,i),UW(t,i),BW(t,i)}function em(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),nm(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function tm(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function BW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function n5(t,i){let e=Ew(t);i.validator!==null?t.setValidators(sw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Ow(t);i.asyncValidator!==null?t.setAsyncValidators(sw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();tm(i._rawValidators,r),tm(i._rawAsyncValidators,r)}function nm(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Ew(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(i.asyncValidator!==null){let r=Ow(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let n=()=>{};return tm(i._rawValidators,n),tm(i._rawAsyncValidators,n),e}function jW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Aw(t,i)})}function UW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Aw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Aw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $W(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Vw(t,i){t==null,n5(t,i)}function GW(t,i){return nm(t,i)}function i5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function WW(t){return Object.getPrototypeOf(t.constructor)===hw}function Lw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function r5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ri?e=a:WW(a)?n=a:r=a}),r||n||e||null}function qW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var YW={provide:ii,useExisting:wt(()=>Ql)},wd=Promise.resolve(),Ql=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=zn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new rc({},Xg(e),Jg(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path),r=new rc({});Vw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){wd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Lw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Xu(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new Ju(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([YW]),ce]})}return t})();function dw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function uw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Jo=class extends ql{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(e5(e),t5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),im(e)&&(e.nonNullable||e.initialValueIsDefault)&&(uw(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){dw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){dw(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){uw(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},xi=Jo,QW=t=>t instanceof Jo,KW=(()=>{class t extends ii{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,standalone:!1,features:[ce]})}return t})();var ZW={provide:Nn,useExisting:wt(()=>XW)},mw=Promise.resolve(),XW=(()=>{class t extends Nn{_changeDetectorRef;callSetDisabledState;control=new Jo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=r5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),i5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){kd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){mw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);mw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?am(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(k(ii,9),k(ai,10),k(ac,10),k(Yn,10),k(be,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ue([ZW]),ce,Pe]})}return t})();var ts=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),JW={provide:Yn,useExisting:wt(()=>eq),multi:!0},eq=(()=>{class t extends hw{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[ue([JW]),ce]})}return t})();var a5=new A(""),tq={provide:Nn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Nn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=r5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&em(n,this,!1),kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}i5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&em(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yn,10),k(a5,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ue([tq]),ce,Pe]})}return t})(),nq={provide:ii,useExisting:wt(()=>Qn)},Qn=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=zn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new j;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return kd(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){em(e.control||null,e,!1),qW(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),Lw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Xu(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ju(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(em(n||null,e),QW(r)&&(kd(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Vw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&GW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){n5(this.form,this),this._oldForm&&nm(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([nq]),ce,Pe]})}return t})(),iq={provide:ii,useExisting:wt(()=>Rw)},Rw=(()=>{class t extends KW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Hw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([iq]),ce]})}return t})(),rq={provide:ii,useExisting:wt(()=>zw)},zw=(()=>{class t extends ii{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Hw(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([rq]),ce]})}return t})();function Hw(t){return!(t instanceof Rw)&&!(t instanceof Qn)&&!(t instanceof zw)}var aq={provide:Nn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Nn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=r5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),i5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return am(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10),k(Yn,10),k(a5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([aq]),ce,Pe]})}return t})();function Nw(t){return typeof t=="number"?t:parseInt(t,10)}function Fw(t){return typeof t=="number"?t:parseFloat(t)}var Ed=(()=>{class t{_validator=qu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):qu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,features:[Pe]})}return t})(),oq={provide:ai,useExisting:wt(()=>sq),multi:!0},sq=(()=>{class t extends Ed{max;inputName="max";normalizeInput=e=>Fw(e);createValidator=e=>_w(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[ue([oq]),ce]})}return t})(),cq={provide:ai,useExisting:wt(()=>lq),multi:!0},lq=(()=>{class t extends Ed{min;inputName="min";normalizeInput=e=>Fw(e);createValidator=e=>gw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[ue([cq]),ce]})}return t})(),dq={provide:ai,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Ed{required;inputName="required";normalizeInput=B;createValidator=e=>vw;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&ee("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ue([dq]),ce]})}return t})();var uq={provide:ai,useExisting:wt(()=>mq),multi:!0},mq=(()=>{class t extends Ed{minlength;inputName="minlength";normalizeInput=e=>Nw(e);createValidator=e=>bw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ue([uq]),ce]})}return t})(),pq={provide:ai,useExisting:wt(()=>fq),multi:!0},fq=(()=>{class t extends Ed{maxlength;inputName="maxlength";normalizeInput=e=>Nw(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ue([pq]),ce]})}return t})();var Bw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Qg=class extends ql{constructor(i,e,n){super(e5(e),t5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Pw(this,!1,i),i.forEach((n,r)=>{Iw(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function pw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var hq=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),a={};return pw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new rc(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Yg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(pw(n)?a=n:(a.validators=n,a.asyncValidators=r),new Jo(e,Be(q({},a),{nonNullable:!0}))):new Jo(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Qg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof Jo)return e;if(e instanceof ql)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(n,r,a)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ns=(()=>{class t extends hq{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var jw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yl,useValue:e.callSetDisabledState??rm}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Bw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:a5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yl,useValue:e.callSetDisabledState??rm}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Bw]})}return t})();var Uw=(()=>{class t{set _(e){let n=e.split(":");this.currencyCode=n[0],this.displaySymbol=n.length>1?n[1]:"$",this.digitsInfo=n.length>2?n[2]:"1.2-2"}blur(e){e.value=this.parse(e.value)}focus(e){typeof this.control.value>"u"?e.value="":e.value=this.control.value}ngOnInit(){setTimeout(()=>{this.el.nativeElement.value=this.parse(this.el.nativeElement.value)})}constructor(e,n,r){this.locale=e,this.el=n,this.control=r,this.format="N0",this.digitsInfo="1.0-0",this.sufix=""}parse(e){return Cu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Ea),k(Y),k(Nn))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxFormatAmount",""]],hostBindings:function(n,r){n&1&&z("blur",function(o){return r.blur(o.target)})("focus",function(o){return r.focus(o.target)})},inputs:{sufix:"sufix",_:[0,"mifosxFormatAmount","_"]}})}}return t})();var s6e=(()=>{class t{constructor(e,n){this.control=e,this.el=n}onFocus(){this.control.control?.markAsTouched(),this.control.control?.updateValueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)(k(Nn),k(Y))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxValidateOnFocus",""]],hostBindings:function(n,r){n&1&&z("focus",function(){return r.onFocus()})}})}}return t})();var $w=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({imports:[fe]})}}return t})();var Rr=class{constructor(i={}){this.controlType=i.controlType||"",this.controlName=i.controlName||"",this.label=i.label||"",this.value=i.value===void 0?"":i.value,this.required=!!i.required,this.order=i.order===void 0?1:i.order,this.validators=i.validators===void 0?[]:i.validators,this.min=i.min===void 0?null:i.min,this.max=i.max===void 0?null:i.max}};function yo(t){return t.buttons===0||t.detail===0}function Co(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var o5;function Gw(){if(o5==null){let t=typeof document<"u"?document.head:null;o5=!!(t&&(t.createShadowRoot||t.attachShadow))}return o5}function oc(t){if(Gw()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Ri(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function In(t){return t.composedPath?t.composedPath()[0]:t.target}function Dt(t,i,e,n,r){let a=parseInt(ig.major),o=parseInt(ig.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var s5;try{s5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{s5=!1}var He=(()=>{class t{_platformId=u(Go);isBrowser=this._platformId?Cg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||s5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Od;function Ww(){if(Od==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Od=!0}))}finally{Od=Od||!1}return Od}function is(t){return Ww()?t:!!t.capture}function sn(t,i=0){return om(t)?Number(t):arguments.length===2?i:0}function om(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var qw=new A("cdk-input-modality-detector-options"),Yw={ignoreKeys:[18,17,224,91,16]},Qw=650,c5={passive:!0,capture:!0},Kw=(()=>{class t{_platform=u(He);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Je(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=In(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Co(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=In(e)};constructor(){let e=u(se),n=u(De),r=u(qw,{optional:!0});if(this._options=q(q({},Yw),r),this.modalityDetected=this._modality.pipe(Ls(1)),this.modalityChanged=this.modalityDetected.pipe(sl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,c5),Dt(a,n,"mousedown",this._onMousedown,c5),Dt(a,n,"touchstart",this._onTouchstart,c5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Id=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Id||{}),Zw=new A("cdk-focus-monitor-default-options"),sm=is({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Kw);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(De,{optional:!0});_stopInputModalityDetector=new N;constructor(){let e=u(Zw,{optional:!0});this._detectionMode=e?.detectionMode||Id.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=In(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=Cn(e);if(!this._platform.isBrowser||r.nodeType!==1)return ie();let a=oc(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;let s={checkChildren:n,subject:new N,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Cn(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let a=Cn(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Id.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Id.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Qw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),a=In(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,sm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,sm)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sm),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o{class t{_elementRef=u(Y);_focusMonitor=u(qt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var cm=new WeakMap,Ze=(()=>{class t{_appRef;_injector=u(Te);_environmentInjector=u(fn);load(e){let n=this._appRef=this._appRef||this._injector.get(bi),r=cm.get(n);r||(r={loaders:new Set,refs:[]},cm.set(n,r),n.onDestroy(()=>{cm.get(n)?.refs.forEach(a=>a.destroy()),cm.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(ou(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} `],encapsulation:2,changeDetection:0})}return t})();function rs(t){return Array.isArray(t)?t:[t]}var Xw=new Set,sc,eD=(()=>{class t{_platform=u(He);_nonce=u(F1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_q}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&gq(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gq(t,i){if(!Xw.has(t))try{sc||(sc=document.createElement("style"),i&&sc.setAttribute("nonce",i),sc.setAttribute("type","text/css"),document.head.appendChild(sc)),sc.sheet&&(sc.sheet.insertRule(`@media ${t} {body{ }}`,0),Xw.add(t))}catch(e){console.error(e)}}function _q(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var cc=(()=>{class t{_mediaMatcher=u(eD);_zone=u(se);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Jw(rs(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=Jw(rs(e)).map(o=>this._registerQuery(o).observable),a=ti(r);return a=gi(a.pipe(Le(1)),a.pipe(Ls(1),$r(0))),a.pipe(pe(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:d,query:h})=>{s.matches=s.matches||d,s.breakpoints[h]=d}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),a={observable:new Ue(o=>{let s=d=>this._zone.run(()=>o.next(d));return n.addListener(s),()=>{n.removeListener(s)}}).pipe($e(n),pe(({matches:o})=>({query:e,matches:o})),ve(this._destroySubject)),mql:n};return this._queries.set(e,a),a}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Jw(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function vq(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nD=(()=>{class t{_mutationObserverFactory=u(tD);_observedElements=new Map;_ngZone=u(se);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=Cn(e);return new Ue(r=>{let o=this._observeElement(n).pipe(pe(s=>s.filter(d=>!vq(d))),Ve(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new N,r=this._mutationObserverFactory.create(a=>n.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Td=(()=>{class t{_contentObserver=u(nD);_elementRef=u(Y);event=new j;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=sn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe($r(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",B],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Kl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[tD]})}return t})();var os=(()=>{class t{_platform=u(He);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return yq(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=bq(Eq(e));if(n&&(iD(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=iD(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Sq(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return kq(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bq(t){try{return t.frameElement}catch{return null}}function yq(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Cq(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function xq(t){return wq(t)&&t.type=="hidden"}function Mq(t){return Dq(t)&&t.hasAttribute("href")}function wq(t){return t.nodeName.toLowerCase()=="input"}function Dq(t){return t.nodeName.toLowerCase()=="a"}function oD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function iD(t){if(!oD(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Sq(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function kq(t){return xq(t)?!1:Cq(t)||Mq(t)||t.hasAttribute("contenteditable")||oD(t)}function Eq(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var lm=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,r,a=!1,o){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._injector=o,a||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?kt(i,{injector:this._injector}):setTimeout(i)}},Zl=(()=>{class t{_checker=u(os);_ngZone=u(se);_document=u(De);_injector=u(Te);constructor(){u(Ze).load(ar)}create(e,n=!1){return new lm(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),d5=(()=>{class t{_elementRef=u(Y);_focusTrapFactory=u(Zl);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){u(He).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ri(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",B],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",B]},exportAs:["cdkTrapFocus"],features:[Pe]})}return t})(),sD=new A("liveAnnouncerElement",{providedIn:"root",factory:cD});function cD(){return null}var lD=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Oq=0,Ad=(()=>{class t{_ngZone=u(se);_defaultOptions=u(lD,{optional:!0});_liveElement;_document=u(De);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(sD,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,a,o;return n.length===1&&typeof n[0]=="number"?o=n[0]:[a,o]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),o==null&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_platform=u(He);_hasCheckedHighContrastMode;_document=u(De);_breakpointSubscription;constructor(){this._breakpointSubscription=u(cc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return as.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return as.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return as.BLACK_ON_WHITE}return as.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(l5,rD,aD),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===as.BLACK_ON_WHITE?e.add(l5,rD):n===as.WHITE_ON_BLACK&&e.add(l5,aD)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xo=(()=>{class t{constructor(){u(dm)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Kl]})}return t})();var u5={},Fe=(()=>{class t{_appId=u(Xs);getId(e){return this._appId!=="ng"&&(e+=this._appId),u5.hasOwnProperty(e)||(u5[e]=0),`${e}${u5[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Iq=200,Xl=class{_letterKeyStream=new N;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new N;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:Iq;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Mt(e=>this._pressedLetters.push(e)),$r(i),Ve(()=>this._pressedLetters.length>0),pe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;nt[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Jl=class{_items;_activeItemIndex=-1;_activeItem=zn(null);_wrap=!1;_typeaheadSubscription=Me.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof kn?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):$o(i)&&(this._effectRef=K1(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new N;change=new N;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Xl(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!i[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}}};var lc=class extends Jl{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var aa=class extends Jl{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};function dc(t){return Gn(t)?t:ie(t)}var m5=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=i=>!1;_trackByFn=i=>i;_items=[];_typeahead;_typeaheadSubscription=Me.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let i=0;for(let n=0;n{this._items=n.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Gn(i)?i.subscribe(n=>{this._items=n,this._typeahead?.setItems(n),this._updateActiveItemIndex(n),this._initializeFocus()}):(this._items=i,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new N;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(i){switch(i.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(i.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(i,e={}){e.emitChangeEvent??=!0;let n=typeof i=="number"?i:this._items.findIndex(o=>this._trackByFn(o)===this._trackByFn(i));if(n<0||n>=this._items.length)return;let r=this._items[n];if(this._activeItem!==null&&this._trackByFn(r)===this._trackByFn(this._activeItem))return;let a=this._activeItem;this._activeItem=r??null,this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n),this._activeItem?.focus(),a?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(i){let e=this._activeItem;if(!e)return;let n=i.findIndex(r=>this._trackByFn(r)===this._trackByFn(e));n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}_setTypeAhead(i){this._typeahead=new Xl(this._items,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(i){for(let e=i+1;e=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return i}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let i=this._activeItem.getParent();if(!i||this._skipPredicateFn(i))return;this.focusItem(i)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?dc(this._activeItem.getChildren()).pipe(Le(1)).subscribe(i=>{let e=i.find(n=>!this._skipPredicateFn(n));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(i){return typeof i.isDisabled=="boolean"?i.isDisabled:i.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let i=this._activeItem.getParent(),e;i?e=dc(i.getChildren()):e=ie(this._items.filter(n=>n.getParent()===null)),e.pipe(Le(1)).subscribe(n=>{for(let r of n)r.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function Pq(){return(t,i)=>new m5(t,i)}var mD=new A("tree-key-manager",{providedIn:"root",factory:Pq});var fD=" ";function e2(t,i,e){let n=fm(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(fD)))}function ss(t,i,e){let n=fm(t,i);e=e.trim();let r=n.filter(a=>a!==e);r.length?t.setAttribute(i,r.join(fD)):t.removeAttribute(i)}function fm(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var hD="cdk-describedby-message",pm="cdk-describedby-host",f5=0,t2=(()=>{class t{_platform=u(He);_document=u(De);_messageRegistry=new Map;_messagesContainer=null;_id=`${f5++}`;constructor(){u(Ze).load(ar),this._id=u(Xs)+"-"+f5++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let a=p5(n,r);typeof n!="string"?(pD(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let a=p5(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof n=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${pm}="${this._id}"]`);for(let n=0;nr.indexOf(hD)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);e2(e,"aria-describedby",r.messageElement.id),e.setAttribute(pm,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,ss(e,"aria-describedby",r.messageElement.id),e.removeAttribute(pm)}_isElementDescribedByMessage(e,n){let r=fm(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function p5(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function pD(t,i){t.id||(t.id=`${hD}-${i}-${f5++}`)}var Tq=["mat-internal-form-field",""],Aq=["*"],n2=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&te("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Tq,ngContentSelectors:Aq,decls:1,vars:0,template:function(n,r){n&1&&(xe(),re(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0} `],encapsulation:2,changeDetection:0})}return t})();var Yt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} `],encapsulation:2,changeDetection:0})}return t})();var oa=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(oa||{}),hm,uc;function gm(){if(uc==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return uc=!1,uc;if("scrollBehavior"in document.documentElement.style)uc=!0;else{let t=Element.prototype.scrollTo;t?uc=!/\{\s*\[native code\]\s*\}/.test(t.toString()):uc=!1}}return uc}function i2(){if(typeof document!="object"||!document)return oa.NORMAL;if(hm==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),hm=oa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,hm=t.scrollLeft===0?oa.NEGATED:oa.INVERTED),t.remove()}return hm}function h5(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var r2,gD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function g5(){if(r2)return r2;if(typeof document!="object"||!document)return r2=new Set(gD),r2;let t=document.createElement("input");return r2=new Set(gD.filter(i=>(t.setAttribute("type",i),t.type===i))),r2}function en(t){return t!=null&&`${t}`!="false"}function Ln(t){return t==null?"":typeof t=="string"?t:`${t}px`}function _D(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let a=`${r}`.trim();a&&e.push(a)}}return e}var zr=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(zr||{}),_5=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=zr.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},vD=is({passive:!0,capture:!0}),v5=class{_events=new Map;addHandler(i,e,n,r){let a=this._events.get(e);if(a){let o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vD)})}removeHandler(i,e,n){let r=this._events.get(i);if(!r)return;let a=r.get(e);a&&(a.delete(n),a.size===0&&r.delete(e),r.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,vD)))}_delegateEventHandler=i=>{let e=In(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(a=>a.handleEvent(i))})}},Rd={enterDuration:225,exitDuration:150},Vq=800,bD=is({passive:!0,capture:!0}),yD=["mousedown","touchstart"],CD=["mouseup","mouseleave","touchend","touchcancel"],Lq=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} diff --git a/browser/collaterals.module-EBIQQZB5.js b/browser/collaterals.module-MTJBLGFN.js similarity index 99% rename from browser/collaterals.module-EBIQQZB5.js rename to browser/collaterals.module-MTJBLGFN.js index 804ce301f..a5f6a5c3e 100644 --- a/browser/collaterals.module-EBIQQZB5.js +++ b/browser/collaterals.module-MTJBLGFN.js @@ -1,4 +1,4 @@ -import{$b as L,Ab as Y,Ad as ft,Bc as tt,Cd as xt,D as E,E as y,Ea as t,Fa as c,Fc as et,Fd as ht,G as w,Ga as h,Gc as it,Ha as b,Hc as at,Ic as nt,J as Q,Jd as bt,Jf as Rt,K as z,Mf as Pt,Nc as lt,Oa as B,Qc as ot,Ra as m,Sa as p,Sb as F,Se as vt,Tc as rt,Te as gt,Ue as _t,Vb as O,Vf as Tt,Wb as V,Wc as mt,We as St,Xe as Dt,Yb as U,Z as o,Ze as It,_c as pt,_e as Mt,ad as A,af as Et,ba as f,bb as W,bd as j,bf as yt,ca as R,da as P,df as wt,ed as H,ga as d,gd as st,ia as C,kd as ct,ld as dt,ma as i,mc as Z,na as a,oa as u,og as Bt,pa as D,pb as g,pd as ut,qa as I,rd as Ct,sa as J,ta as T,ua as K,vc as N,xb as X}from"./chunk-3WJYEYPY.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` +import{$b as L,Ab as Y,Ad as ft,Bc as tt,Cd as xt,D as E,E as y,Ea as t,Fa as c,Fc as et,Fd as ht,G as w,Ga as h,Gc as it,Ha as b,Hc as at,Ic as nt,J as Q,Jd as bt,Jf as Rt,K as z,Mf as Pt,Nc as lt,Oa as B,Qc as ot,Ra as m,Sa as p,Sb as F,Se as vt,Tc as rt,Te as gt,Ue as _t,Vb as O,Vf as Tt,Wb as V,Wc as mt,We as St,Xe as Dt,Yb as U,Z as o,Ze as It,_c as pt,_e as Mt,ad as A,af as Et,ba as f,bb as W,bd as j,bf as yt,ca as R,da as P,df as wt,ed as H,ga as d,gd as st,ia as C,kd as ct,ld as dt,ma as i,mc as Z,na as a,oa as u,og as Bt,pa as D,pb as g,pd as ut,qa as I,rd as Ct,sa as J,ta as T,ua as K,vc as N,xb as X}from"./chunk-WHWF3LGY.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` `),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",B(4,Ht)),o(3),h(` `,p(4,2,"labels.buttons.Edit"),` `))}function kt(e,s){if(e&1){let n=J();i(0,"button",18),T("click",function(){Q(n);let r=K();return z(r.deleteCollateral())}),t(1,` diff --git a/browser/fixed-deposits.module-ULKUEONO.js b/browser/fixed-deposits.module-H5PAL7OD.js similarity index 99% rename from browser/fixed-deposits.module-ULKUEONO.js rename to browser/fixed-deposits.module-H5PAL7OD.js index 1a146316d..492b6f5ae 100644 --- a/browser/fixed-deposits.module-ULKUEONO.js +++ b/browser/fixed-deposits.module-H5PAL7OD.js @@ -1,4 +1,4 @@ -import{a as di}from"./chunk-FTOWLVPJ.js";import{a as Fn,b as wn}from"./chunk-ZU2BZ22G.js";import{a as mi}from"./chunk-6BHQY5IX.js";import{$a as Oe,$b as B,Aa as _t,Ab as Hn,Ac as J,Ad as yt,Ba as Ct,Bc as H,Bd as It,Ca as ht,Cd as ue,D as Gt,Da as R,Df as ei,E as $e,Ea as t,Fa as u,Fc as it,Fd as st,G as Lt,Ga as f,Gc as V,Ha as S,Hc as X,I as te,Ia as se,Ib as Ee,Ic as at,Id as De,Ie as Yn,If as ni,J as P,Jb as Fe,Jd as ke,Je as Jn,Jf as fe,K as M,Kf as ii,Lb as ce,Lc as Q,Lf as ai,Mb as le,Me as Xe,Mf as oi,Nb as we,Nc as ot,Nd as Ne,Ne as Ze,Oa as k,Oc as Kt,Oe as tn,P as Le,Pa as Ge,Pc as Ln,Pe as en,Qc as rt,Qd as Ke,Qe as re,Qf as $t,Ra as r,Rd as Qe,Re as Qt,Sa as c,Sb as N,Sd as Ye,Se as wt,Ta as F,Tb as zn,Tc as pt,Td as xe,Te as Bt,Ue as Rt,V as qn,Va as et,Vb as $,Vf as ri,Wa as jn,Wb as Y,Wc as dt,We as kt,Wf as nn,Xb as $n,Xe as Nt,Xf as Ve,Yb as En,Yd as Je,Z as o,Ze as Vt,_b as Be,_c as ct,_e as qt,_f as pi,ab as vt,ad as y,af as jt,ba as _,bb as w,bd as G,bf as Ht,ca as A,cb as ye,cd as Un,da as Ue,dd as Gn,df as zt,dg as ci,ed as ut,fg as li,ga as m,gd as Dt,gf as be,ha as Ae,hd as Wn,ia as d,jb as Ie,jd as Kn,kc as ee,kd as Z,lc as Re,ld as xt,lf as Xn,ma as n,mc as Wt,mf as Zn,na as i,nc as ne,nf as ti,ng as an,oa as g,ob as me,oc as ie,od as bt,og as si,pa as v,pb as O,pc as ae,pd as tt,qa as D,qc as oe,qd as Ft,rd as lt,sa as I,sd as At,ta as b,ua as C,ud as Ot,vc as E,wd as St,xa as ft,xb as de,xd as Pt,yd as Mt,zd as We,ze as Qn}from"./chunk-3WJYEYPY.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` +import{a as di}from"./chunk-2GS7A7AG.js";import{a as Fn,b as wn}from"./chunk-U4ZSIPVL.js";import{a as mi}from"./chunk-F236TJSX.js";import{$a as Oe,$b as B,Aa as _t,Ab as Hn,Ac as J,Ad as yt,Ba as Ct,Bc as H,Bd as It,Ca as ht,Cd as ue,D as Gt,Da as R,Df as ei,E as $e,Ea as t,Fa as u,Fc as it,Fd as st,G as Lt,Ga as f,Gc as V,Ha as S,Hc as X,I as te,Ia as se,Ib as Ee,Ic as at,Id as De,Ie as Yn,If as ni,J as P,Jb as Fe,Jd as ke,Je as Jn,Jf as fe,K as M,Kf as ii,Lb as ce,Lc as Q,Lf as ai,Mb as le,Me as Xe,Mf as oi,Nb as we,Nc as ot,Nd as Ne,Ne as Ze,Oa as k,Oc as Kt,Oe as tn,P as Le,Pa as Ge,Pc as Ln,Pe as en,Qc as rt,Qd as Ke,Qe as re,Qf as $t,Ra as r,Rd as Qe,Re as Qt,Sa as c,Sb as N,Sd as Ye,Se as wt,Ta as F,Tb as zn,Tc as pt,Td as xe,Te as Bt,Ue as Rt,V as qn,Va as et,Vb as $,Vf as ri,Wa as jn,Wb as Y,Wc as dt,We as kt,Wf as nn,Xb as $n,Xe as Nt,Xf as Ve,Yb as En,Yd as Je,Z as o,Ze as Vt,_b as Be,_c as ct,_e as qt,_f as pi,ab as vt,ad as y,af as jt,ba as _,bb as w,bd as G,bf as Ht,ca as A,cb as ye,cd as Un,da as Ue,dd as Gn,df as zt,dg as ci,ed as ut,fg as li,ga as m,gd as Dt,gf as be,ha as Ae,hd as Wn,ia as d,jb as Ie,jd as Kn,kc as ee,kd as Z,lc as Re,ld as xt,lf as Xn,ma as n,mc as Wt,mf as Zn,na as i,nc as ne,nf as ti,ng as an,oa as g,ob as me,oc as ie,od as bt,og as si,pa as v,pb as O,pc as ae,pd as tt,qa as D,qc as oe,qd as Ft,rd as lt,sa as I,sd as At,ta as b,ua as C,ud as Ot,vc as E,wd as St,xa as ft,xb as de,xd as Pt,yd as Mt,zd as We,ze as Qn}from"./chunk-WHWF3LGY.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` `),n(4,"div",1),t(5,` `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,` `),i(),t(10,` @@ -2267,4 +2267,4 @@ import{a as di}from"./chunk-FTOWLVPJ.js";import{a as Fn,b as wn}from"./chunk-ZU2 `,p.fixedDepositsAccountData.maturityDate?c(61,47,p.fixedDepositsAccountData.maturityDate):"N/A",` `),o(7),u(c(68,49,"labels.inputs.Deposit Period")),o(4),S(` `,p.fixedDepositsAccountData.depositPeriod,"\xA0",F(72,51,p.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),` - `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule}; + `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule}; diff --git a/browser/index.html b/browser/index.html index 2d32eb6ba..e87a24a0e 100644 --- a/browser/index.html +++ b/browser/index.html @@ -57,5 +57,5 @@
- + diff --git a/browser/loans.module-4FOPOZNZ.js b/browser/loans.module-ALJQYSNV.js similarity index 99% rename from browser/loans.module-4FOPOZNZ.js rename to browser/loans.module-ALJQYSNV.js index b342300d4..4a2d3e1af 100644 --- a/browser/loans.module-4FOPOZNZ.js +++ b/browser/loans.module-ALJQYSNV.js @@ -1,4 +1,4 @@ -import{a as hf}from"./chunk-UYUZ6Z3O.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-VBBRCPKR.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-YP73UGHI.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-6BHQY5IX.js";import{$a as pa,$b as $t,$c as V1,$e as wc,$f as pf,Aa as si,Ac as ce,Ad as On,Ba as ci,Bc as ie,Bd as qa,Bf as tf,Ca as pi,Cd as be,Cf as ef,D as an,Da as Et,Dc as B1,Df as Va,E as fc,Ea as e,Ef as nf,Fa as C,Fb as Hl,Fc as xe,Fd as cn,G as sn,Ga as y,Gc as Gt,Ha as Wt,Hc as me,Hd as $1,Hf as af,I as Er,Ia as Qs,Ic as Te,Id as fi,Ie as mo,If as Tc,J as ct,Ja as t0,Jd as ra,Je as Do,Jf as pn,K as pt,Ka as e0,Kd as Y1,Ke as yc,Kf as Ic,La as n0,Lc as se,Lf as ns,Ma as i0,Mc as j1,Md as xc,Me as Xl,Mf as of,Nc as Le,Nd as qo,Ne as Ql,Nf as is,Oa as Ut,Oc as Ti,Oe as ts,P as Ul,Pa as La,Pc as jo,Pe as es,Pf as Pt,Qc as Ie,Qd as _c,Qe as uo,Ra as p,Rd as vc,Re as za,Rf as rf,Sa as u,Sb as Ot,Sd as bc,Se as fn,T as I1,Ta as ze,Tb as N1,Tc as Ae,Td as Ii,Te as hn,Tf as lf,Ua as M1,Uc as q1,Ue as gn,V as od,Va as Ue,Vb as oe,Vc as z1,Ve as Sc,Vf as sf,W as hc,Wb as te,Wc as ke,We as xn,Wf as la,Xb as F1,Xe as _n,Xf as Pi,Yb as rd,Yd as Cc,Ye as Dc,Yf as a0,Z as s,Ze as vn,_b as ja,_c as _e,_e as bn,_f as cf,aa as A1,ab as on,ad as Dt,ae as da,af as Cn,b as D1,ba as E,bb as Vt,bd as fe,bf as yn,c as w1,ca as yt,cd as U1,cf as Pc,da as gc,dd as H1,df as Sn,dg as mf,e as P1,ed as De,fg as df,ga as g,gd as Re,gf as Mi,ha as oa,hb as E1,hd as G1,ia as h,kc as Gl,kd as de,lc as Wl,ld as Be,lf as J1,ma as r,mc as Qn,me as Z1,mf as X1,mg as Ac,na as l,nb as L1,nc as $l,ne as K1,nf as Q1,ng as Xi,oa as P,ob as Da,oc as Yl,od as $e,og as uf,pa as V,pb as St,pc as Zl,pd as ue,qa as U,qc as Kl,qd as Vn,rd as ve,sa as vt,sd as In,ta as it,ua as I,uc as ma,ud as An,vc as It,wc as k1,wd as Ze,xa as le,xc as R1,xd as Ke,ya as O1,yd as Je,z as T1,zc as Jl,zd as wa,ze as So}from"./chunk-3WJYEYPY.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` +import{a as hf}from"./chunk-PSX76TTC.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-5AGPL5TR.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-T2EJMLQH.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-F236TJSX.js";import{$a as pa,$b as $t,$c as V1,$e as wc,$f as pf,Aa as si,Ac as ce,Ad as On,Ba as ci,Bc as ie,Bd as qa,Bf as tf,Ca as pi,Cd as be,Cf as ef,D as an,Da as Et,Dc as B1,Df as Va,E as fc,Ea as e,Ef as nf,Fa as C,Fb as Hl,Fc as xe,Fd as cn,G as sn,Ga as y,Gc as Gt,Ha as Wt,Hc as me,Hd as $1,Hf as af,I as Er,Ia as Qs,Ic as Te,Id as fi,Ie as mo,If as Tc,J as ct,Ja as t0,Jd as ra,Je as Do,Jf as pn,K as pt,Ka as e0,Kd as Y1,Ke as yc,Kf as Ic,La as n0,Lc as se,Lf as ns,Ma as i0,Mc as j1,Md as xc,Me as Xl,Mf as of,Nc as Le,Nd as qo,Ne as Ql,Nf as is,Oa as Ut,Oc as Ti,Oe as ts,P as Ul,Pa as La,Pc as jo,Pe as es,Pf as Pt,Qc as Ie,Qd as _c,Qe as uo,Ra as p,Rd as vc,Re as za,Rf as rf,Sa as u,Sb as Ot,Sd as bc,Se as fn,T as I1,Ta as ze,Tb as N1,Tc as Ae,Td as Ii,Te as hn,Tf as lf,Ua as M1,Uc as q1,Ue as gn,V as od,Va as Ue,Vb as oe,Vc as z1,Ve as Sc,Vf as sf,W as hc,Wb as te,Wc as ke,We as xn,Wf as la,Xb as F1,Xe as _n,Xf as Pi,Yb as rd,Yd as Cc,Ye as Dc,Yf as a0,Z as s,Ze as vn,_b as ja,_c as _e,_e as bn,_f as cf,aa as A1,ab as on,ad as Dt,ae as da,af as Cn,b as D1,ba as E,bb as Vt,bd as fe,bf as yn,c as w1,ca as yt,cd as U1,cf as Pc,da as gc,dd as H1,df as Sn,dg as mf,e as P1,ed as De,fg as df,ga as g,gd as Re,gf as Mi,ha as oa,hb as E1,hd as G1,ia as h,kc as Gl,kd as de,lc as Wl,ld as Be,lf as J1,ma as r,mc as Qn,me as Z1,mf as X1,mg as Ac,na as l,nb as L1,nc as $l,ne as K1,nf as Q1,ng as Xi,oa as P,ob as Da,oc as Yl,od as $e,og as uf,pa as V,pb as St,pc as Zl,pd as ue,qa as U,qc as Kl,qd as Vn,rd as ve,sa as vt,sd as In,ta as it,ua as I,uc as ma,ud as An,vc as It,wc as k1,wd as Ze,xa as le,xc as R1,xd as Ke,ya as O1,yd as Je,z as T1,zc as Jl,zd as wa,ze as So}from"./chunk-WHWF3LGY.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` `),r(2,"td"),e(3),p(4,"translate"),l(),e(5,` `),r(6,"td"),e(7,` `),r(8,"span",49),P(9,"i",50),l(),e(10),l(),e(11,` @@ -6166,7 +6166,7 @@ end`};i.events.push(["putFont",function(c){(function(d){var m=d.font,x=d.out,v=d `),g(7,WN,34,3,"table",1),e(8,` `),l(),e(9,` -`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var $N=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild($N),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` +`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var $N=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild($N),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` `),r(2,"tbody"),e(3,` `),r(4,"tr"),e(5,` `),r(6,"td",0),e(7,` diff --git a/browser/main.js b/browser/main.js index 46d369c93..5431ec263 100644 --- a/browser/main.js +++ b/browser/main.js @@ -1,4 +1,4 @@ -import{a as R$,b as Sa,c as Bw,d as Ei,e as gW}from"./chunk-VBBRCPKR.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-YP73UGHI.js";import{$ as n$,$a as io,$b as Dt,$c as Wm,$d as z$,A as wo,Aa as Nt,Ab as Ro,Ac as _i,Ad as Gi,Ae as Q$,Af as kw,B as Bo,Ba as Bt,Bb as eu,Bc as We,Bd as on,Be as Gg,Bf as lW,C as KU,Ca as Rt,Cb as b$,Cc as mb,Cd as de,Ce as Tp,Cf as cW,D as Wt,Da as Mt,Db as C$,Dc as Wo,Dd as B$,De as Ss,Df as La,E as un,Ea as t,Eb as y$,Ec as D$,Ed as N$,Ee as ws,Ef as Mp,F as JS,Fa as b,Fb as $m,Fc as Se,Fd as Gt,Fe as Y$,Ff as Zm,G as Qt,Ga as P,Gb as vo,Gc as bt,Gd as xw,Ge as K$,Gf as Iw,H as JU,Ha as _t,Hb as cm,Hc as re,He as J$,Hf as Rl,I as Vo,Ia as ea,Ib as Zs,Ic as ue,Id as Fn,Ie as mu,If as Fr,J as W,Ja as l$,Jb as zs,Jc as pm,Jd as Li,Je as $e,Jf as _r,K as Q,Ka as q0,Kb as S$,Kd as qg,Ke as wi,Kf as mo,L as ca,La as H0,Lb as zo,Lc as _e,Ld as ou,Le as Z$,Lf as no,M as ZU,Ma as G0,Mb as ps,Mc as nu,Md as Ci,Me as _a,Mf as ya,N as ZS,Na as c$,Nb as js,Nc as ge,Nd as sn,Ne as va,Nf as Ji,O as j0,Oa as ht,Ob as Lh,Oc as Gn,Od as _w,Oe as ba,Of as vr,P as $n,Pa as Xe,Pb as sw,Pc as er,Pd as vw,Pe as Ca,Pf as pW,Q as Nh,Qa as vs,Qb as pb,Qc as fe,Qd as Qm,Qe as En,R as lb,Ra as m,Rb as lw,Rc as ha,Rd as Ym,Re as dn,Rf as Tw,S as JO,Sa as d,Sb as Lt,Sc as is,Sd as Km,Se as Fe,Sf as Mw,T as XU,Ta as Ye,Tb as fa,Tc as he,Td as Pi,Te as Be,Tf as mW,U as t$,Ua as Js,Ub as cw,Uc as A$,Ud as bw,Ue as Re,Uf as Dw,V as XS,Va as pi,Vb as te,Vc as ru,Vd as Cw,Vf as rl,W as tw,Wa as vi,Wb as qt,Wc as Ie,Wd as L$,We as Ne,Wf as Is,X as e$,Xa as Um,Xb as es,Xc as gw,Xd as Hg,Xe as Le,Xf as Xn,Y as Rg,Ya as p$,Yb as tr,Yc as ns,Yd as Yo,Yf as hn,Z as l,Za as m$,Zb as pw,Zc as O$,Zd as yw,Ze as Ve,Zf as dW,_ as i$,_a as Lg,_b as Hi,_c as xe,_d as V$,_e as ze,_f as ol,a as ab,aa as ew,ab as se,ac as mw,ad as wt,ae as Xs,af as je,ag as uW,b as Oh,ba as V,bb as zt,bc as XO,bd as oe,be as Sw,bf as qe,bg as xn,c as Qc,ca as yt,cb as Ra,cc as w$,cd as Qo,ce as j$,cg as Aw,d as _s,da as fn,db as Na,dc as E$,dd as Al,de as q$,df as He,dg as Xm,e as qU,ea as cb,eb as d$,ec as t9,ed as me,ee as H$,ef as X$,eg as fW,f as HU,fa as r$,fb as Ip,fc as dw,fd as Ol,fe as G$,ff as tW,g as sb,ga as x,gb as u$,gc as uw,gd as Ue,ge as U$,gf as ci,gg as Ow,h as Fh,ha as kr,hb as bs,hc as P$,hd as ga,he as $$,hf as eW,hg as na,i as GU,ia as g,ib as iw,ic as k$,id as F$,ie as mm,if as iW,ig as Dp,j as xr,ja as Zd,jb as Vg,jc as fw,jd as zg,je as au,jf as Bl,jg as Co,k as UU,ka as kp,kb as nw,kc as qr,kd as $t,ke as su,kf as xl,kg as Ap,l as $U,la as o$,lb as f$,lc as bo,ld as Te,le as W$,lf as Es,lg as Fw,m as Bg,ma as a,mb as rw,mc as ni,md as rs,me as Cs,mf as Ps,mg as hW,n as YS,na as s,nb as tu,nc as Ar,nd as jg,ne as ys,nf as ks,o as WU,oa as k,ob as h$,oc as Or,od as Si,oe as lu,of as nW,og as Yr,p as wc,pa as ot,pb as St,pc as po,pd as Ht,pe as cu,pf as rW,q as Bh,qa as at,qb as Yc,qc as Ir,qd as Tr,qe as tl,qf as ww,r as KS,ra as Pc,rb as g$,rc as hw,rd as Zt,re as el,rf as Ug,s as Oo,sa as st,sb as x$,sc as I$,sd as De,se as Jm,sf as $g,t as Fo,ta as q,tb as ow,tc as T$,td as qs,te as il,tf as Ew,u as Gm,ua as A,ub as aw,uc as zi,ud as Oe,ue as nl,uf as oW,v as QU,va as a$,vb as _$,vc as Et,vd as ia,ve as Fl,vf as Pw,w as YU,wa as s$,wc as iu,wd as Ti,we as Io,wf as Wg,x as Ec,xa as Xt,xb as Hn,xc as Wn,xd as Mi,xe as pu,xf as Qg,y as KO,ya as Xd,yb as ZO,yc as M$,yd as Di,ye as xa,yf as aW,z as Rh,za as Ng,zb as v$,zc as Dl,zd as Ai,ze as Je,zf as sW}from"./chunk-3WJYEYPY.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Dr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Uh=Pe((tx,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,yr=RegExp(ar.source),Sr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Er="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Er+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",sc="["+cn+"]",Hl="["+Rn+"]",m0="[^"+Wa+ma+pl+cn+Rn+Pr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",lc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Bc="["+Pr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+m0+")",ap="(?:"+Bc+"|"+m0+")",Rc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,lc,El].join("|")+")"+Gl+Yp+")*",vd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,Cd="(?:"+[sc,lc,El].join("|")+")"+Sm,P1="(?:"+[Eo+us+"?",us,lc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),yd=RegExp(us,"g"),k1=RegExp(op+"(?="+op+")|"+P1+Sm,"g"),DC=RegExp([Bc+"?"+Hl+"+"+Rc+"(?="+[da,Bc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Bc+Ws,"$"].join("|")+")",Bc+"?"+Ws+"+"+Rc,Bc+"+"+Qp,bd,vd,pl,Cd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Mf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],y_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},S_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Df={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},w_=parseFloat,Sd=parseInt,E_=typeof global=="object"&&global&&global.Object===Object&&global,P_=typeof self=="object"&&self&&self.Object===Object&&self,fs=E_||P_||Function("return this")(),I1=typeof tx=="object"&&tx&&!tx.nodeType&&tx,d0=I1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,T1=d0&&d0.exports===I1,k_=T1&&E_.process,cc=function(){try{var ui=d0&&d0.require&&d0.require("util").types;return ui||k_&&k_.binding&&k_.binding("util")}catch{}}(),FC=cc&&cc.isArrayBuffer,Af=cc&&cc.isDate,M1=cc&&cc.isMap,BC=cc&&cc.isRegExp,RC=cc&&cc.isSet,NC=cc&&cc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function wd(ui,ji,bi,qn){for(var Mr=-1,ro=ui==null?0:ui.length;++Mr-1}function D1(ui,ji,bi){for(var qn=-1,Mr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&u0(ji,ui[bi],0)>-1;);return bi}function f0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Nf=Bf(vA),yA=Bf(S_);function SA(ui){return"\\"+Df[ui]}function V1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Mf.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function F_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Mr){bi[++ji]=[Mr,qn]}),bi}function B_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Mr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Wf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=j1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:sg(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Qf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=ph(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Gd(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Av(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?lh:sh:hi?hl:ls,Qr=Wi?e:ur(L);return pc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Yf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Kf(L,Y,ut,Ft){var ee=-1,we=Of,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=D1,Qe=!1):Y.length>=i&&(we=Rf,Qe=!1,Y=new hc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var U1=By(),Cy=By(!0);function gc(L,Y){return L&&U1(L,Y,ls)}function Jf(L,Y){return L&&Cy(L,Y,ls)}function Fd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function _0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new hc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Nc.call(ri,hi,1),Nc.call(L,hi,1);return L}function Z_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Nc.call(L,ee,1):iv(L,ee)}}return L}function Xf(L,Y){return L+Gf(ny()*(Y-L+1))}function Z1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Hf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function X_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Gf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return lg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(B0(L))}function tv(L,Y){var ut=B0(L);return hh(ut,x0(Y,0,ut.length))}function th(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:Vd(L);if(Ui)return z1(Ui);Qe=!1,ee=Rf,hi=new hc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:xc(L,Y,ut)}var ig=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=N_?N_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function av(L){var Y=new L.constructor(L.byteLength);return new Id(Y).set(new Id(L)),Y}function i7(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function b0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function sv(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Ld(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=fc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&P0(we)=="wrapper")var Qe=new fc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new hc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ +import{a as R$,b as Sa,c as Bw,d as Ei,e as gW}from"./chunk-5AGPL5TR.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-T2EJMLQH.js";import{$ as n$,$a as io,$b as Dt,$c as Wm,$d as z$,A as wo,Aa as Nt,Ab as Ro,Ac as _i,Ad as Gi,Ae as Q$,Af as kw,B as Bo,Ba as Bt,Bb as eu,Bc as We,Bd as on,Be as Gg,Bf as lW,C as KU,Ca as Rt,Cb as b$,Cc as mb,Cd as de,Ce as Tp,Cf as cW,D as Wt,Da as Mt,Db as C$,Dc as Wo,Dd as B$,De as Ss,Df as La,E as un,Ea as t,Eb as y$,Ec as D$,Ed as N$,Ee as ws,Ef as Mp,F as JS,Fa as b,Fb as $m,Fc as Se,Fd as Gt,Fe as Y$,Ff as Zm,G as Qt,Ga as P,Gb as vo,Gc as bt,Gd as xw,Ge as K$,Gf as Iw,H as JU,Ha as _t,Hb as cm,Hc as re,He as J$,Hf as Rl,I as Vo,Ia as ea,Ib as Zs,Ic as ue,Id as Fn,Ie as mu,If as Fr,J as W,Ja as l$,Jb as zs,Jc as pm,Jd as Li,Je as $e,Jf as _r,K as Q,Ka as q0,Kb as S$,Kd as qg,Ke as wi,Kf as mo,L as ca,La as H0,Lb as zo,Lc as _e,Ld as ou,Le as Z$,Lf as no,M as ZU,Ma as G0,Mb as ps,Mc as nu,Md as Ci,Me as _a,Mf as ya,N as ZS,Na as c$,Nb as js,Nc as ge,Nd as sn,Ne as va,Nf as Ji,O as j0,Oa as ht,Ob as Lh,Oc as Gn,Od as _w,Oe as ba,Of as vr,P as $n,Pa as Xe,Pb as sw,Pc as er,Pd as vw,Pe as Ca,Pf as pW,Q as Nh,Qa as vs,Qb as pb,Qc as fe,Qd as Qm,Qe as En,R as lb,Ra as m,Rb as lw,Rc as ha,Rd as Ym,Re as dn,Rf as Tw,S as JO,Sa as d,Sb as Lt,Sc as is,Sd as Km,Se as Fe,Sf as Mw,T as XU,Ta as Ye,Tb as fa,Tc as he,Td as Pi,Te as Be,Tf as mW,U as t$,Ua as Js,Ub as cw,Uc as A$,Ud as bw,Ue as Re,Uf as Dw,V as XS,Va as pi,Vb as te,Vc as ru,Vd as Cw,Vf as rl,W as tw,Wa as vi,Wb as qt,Wc as Ie,Wd as L$,We as Ne,Wf as Is,X as e$,Xa as Um,Xb as es,Xc as gw,Xd as Hg,Xe as Le,Xf as Xn,Y as Rg,Ya as p$,Yb as tr,Yc as ns,Yd as Yo,Yf as hn,Z as l,Za as m$,Zb as pw,Zc as O$,Zd as yw,Ze as Ve,Zf as dW,_ as i$,_a as Lg,_b as Hi,_c as xe,_d as V$,_e as ze,_f as ol,a as ab,aa as ew,ab as se,ac as mw,ad as wt,ae as Xs,af as je,ag as uW,b as Oh,ba as V,bb as zt,bc as XO,bd as oe,be as Sw,bf as qe,bg as xn,c as Qc,ca as yt,cb as Ra,cc as w$,cd as Qo,ce as j$,cg as Aw,d as _s,da as fn,db as Na,dc as E$,dd as Al,de as q$,df as He,dg as Xm,e as qU,ea as cb,eb as d$,ec as t9,ed as me,ee as H$,ef as X$,eg as fW,f as HU,fa as r$,fb as Ip,fc as dw,fd as Ol,fe as G$,ff as tW,g as sb,ga as x,gb as u$,gc as uw,gd as Ue,ge as U$,gf as ci,gg as Ow,h as Fh,ha as kr,hb as bs,hc as P$,hd as ga,he as $$,hf as eW,hg as na,i as GU,ia as g,ib as iw,ic as k$,id as F$,ie as mm,if as iW,ig as Dp,j as xr,ja as Zd,jb as Vg,jc as fw,jd as zg,je as au,jf as Bl,jg as Co,k as UU,ka as kp,kb as nw,kc as qr,kd as $t,ke as su,kf as xl,kg as Ap,l as $U,la as o$,lb as f$,lc as bo,ld as Te,le as W$,lf as Es,lg as Fw,m as Bg,ma as a,mb as rw,mc as ni,md as rs,me as Cs,mf as Ps,mg as hW,n as YS,na as s,nb as tu,nc as Ar,nd as jg,ne as ys,nf as ks,o as WU,oa as k,ob as h$,oc as Or,od as Si,oe as lu,of as nW,og as Yr,p as wc,pa as ot,pb as St,pc as po,pd as Ht,pe as cu,pf as rW,q as Bh,qa as at,qb as Yc,qc as Ir,qd as Tr,qe as tl,qf as ww,r as KS,ra as Pc,rb as g$,rc as hw,rd as Zt,re as el,rf as Ug,s as Oo,sa as st,sb as x$,sc as I$,sd as De,se as Jm,sf as $g,t as Fo,ta as q,tb as ow,tc as T$,td as qs,te as il,tf as Ew,u as Gm,ua as A,ub as aw,uc as zi,ud as Oe,ue as nl,uf as oW,v as QU,va as a$,vb as _$,vc as Et,vd as ia,ve as Fl,vf as Pw,w as YU,wa as s$,wc as iu,wd as Ti,we as Io,wf as Wg,x as Ec,xa as Xt,xb as Hn,xc as Wn,xd as Mi,xe as pu,xf as Qg,y as KO,ya as Xd,yb as ZO,yc as M$,yd as Di,ye as xa,yf as aW,z as Rh,za as Ng,zb as v$,zc as Dl,zd as Ai,ze as Je,zf as sW}from"./chunk-WHWF3LGY.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Dr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Uh=Pe((tx,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,yr=RegExp(ar.source),Sr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Er="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Er+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",sc="["+cn+"]",Hl="["+Rn+"]",m0="[^"+Wa+ma+pl+cn+Rn+Pr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",lc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Bc="["+Pr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+m0+")",ap="(?:"+Bc+"|"+m0+")",Rc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,lc,El].join("|")+")"+Gl+Yp+")*",vd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,Cd="(?:"+[sc,lc,El].join("|")+")"+Sm,P1="(?:"+[Eo+us+"?",us,lc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),yd=RegExp(us,"g"),k1=RegExp(op+"(?="+op+")|"+P1+Sm,"g"),DC=RegExp([Bc+"?"+Hl+"+"+Rc+"(?="+[da,Bc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Bc+Ws,"$"].join("|")+")",Bc+"?"+Ws+"+"+Rc,Bc+"+"+Qp,bd,vd,pl,Cd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Mf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],y_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},S_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Df={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},w_=parseFloat,Sd=parseInt,E_=typeof global=="object"&&global&&global.Object===Object&&global,P_=typeof self=="object"&&self&&self.Object===Object&&self,fs=E_||P_||Function("return this")(),I1=typeof tx=="object"&&tx&&!tx.nodeType&&tx,d0=I1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,T1=d0&&d0.exports===I1,k_=T1&&E_.process,cc=function(){try{var ui=d0&&d0.require&&d0.require("util").types;return ui||k_&&k_.binding&&k_.binding("util")}catch{}}(),FC=cc&&cc.isArrayBuffer,Af=cc&&cc.isDate,M1=cc&&cc.isMap,BC=cc&&cc.isRegExp,RC=cc&&cc.isSet,NC=cc&&cc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function wd(ui,ji,bi,qn){for(var Mr=-1,ro=ui==null?0:ui.length;++Mr-1}function D1(ui,ji,bi){for(var qn=-1,Mr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&u0(ji,ui[bi],0)>-1;);return bi}function f0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Nf=Bf(vA),yA=Bf(S_);function SA(ui){return"\\"+Df[ui]}function V1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Mf.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function F_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Mr){bi[++ji]=[Mr,qn]}),bi}function B_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Mr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Wf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=j1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:sg(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Qf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=ph(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Gd(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Av(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?lh:sh:hi?hl:ls,Qr=Wi?e:ur(L);return pc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Yf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Kf(L,Y,ut,Ft){var ee=-1,we=Of,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=D1,Qe=!1):Y.length>=i&&(we=Rf,Qe=!1,Y=new hc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var U1=By(),Cy=By(!0);function gc(L,Y){return L&&U1(L,Y,ls)}function Jf(L,Y){return L&&Cy(L,Y,ls)}function Fd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function _0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new hc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Nc.call(ri,hi,1),Nc.call(L,hi,1);return L}function Z_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Nc.call(L,ee,1):iv(L,ee)}}return L}function Xf(L,Y){return L+Gf(ny()*(Y-L+1))}function Z1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Hf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function X_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Gf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return lg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(B0(L))}function tv(L,Y){var ut=B0(L);return hh(ut,x0(Y,0,ut.length))}function th(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:Vd(L);if(Ui)return z1(Ui);Qe=!1,ee=Rf,hi=new hc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:xc(L,Y,ut)}var ig=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=N_?N_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function av(L){var Y=new L.constructor(L.byteLength);return new Id(Y).set(new Id(L)),Y}function i7(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function b0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function sv(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Ld(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=fc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&P0(we)=="wrapper")var Qe=new fc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new hc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ /* [wrapped with `+Y+`] */ `)}function Gy(L){return Vr(L)||O0(L)||!!(qf&&L&&L[qf])}function _p(L,Y){var ut=typeof L;return Y=Y??G,!!Y&&(ut=="number"||ut!="symbol"&&pa.test(L))&&L>-1&&L%1==0&&L0){if(++Y>=Ct)return arguments[0]}else Y=0;return L.apply(e,arguments)}}function hh(L,Y){var ut=-1,Ft=L.length,ee=Ft-1;for(Y=Y===e?Ft:Y;++ut1?L[Y-1]:e;return ut=typeof ut=="function"?(L.pop(),ut):e,bc(L,ut)});function bv(L){var Y=be(L);return Y.__chain__=!0,Y}function L7(L,Y){return Y(L),L}function M0(L,Y){return Y(L)}var V7=nm(function(L){var Y=L.length,ut=Y?L[0]:0,Ft=this.__wrapped__,ee=function(we){return H1(we,L)};return Y>1||this.__actions__.length||!(Ft instanceof oo)||!_p(ut)?this.thru(ee):(Ft=Ft.slice(ut,+ut+(Y?1:0)),Ft.__actions__.push({func:M0,args:[ee],thisArg:e}),new fc(Ft,this.__chain__).thru(function(we){return Y&&!we.length&&we.push(e),we}))});function z7(){return bv(this)}function j7(){return new fc(this.value(),this.__chain__)}function f3(){this.__values__===e&&(this.__values__=fl(this.value()));var L=this.__index__>=this.__values__.length,Y=L?e:this.__values__[this.__index__++];return{done:L,value:Y}}function q7(){return this}function H7(L){for(var Y,ut=this;ut instanceof Od;){var Ft=k0(ut);Ft.__index__=0,Ft.__values__=e,Y?ee.__wrapped__=Ft:Y=Ft;var ee=Ft;ut=ut.__wrapped__}return ee.__wrapped__=L,Y}function h3(){var L=this.__wrapped__;if(L instanceof oo){var Y=L;return this.__actions__.length&&(Y=new oo(this)),Y=Y.reverse(),Y.__actions__.push({func:M0,args:[mg],thisArg:e}),new fc(Y,this.__chain__)}return this.thru(mg)}function Cv(){return nv(this.__wrapped__,this.__actions__)}var g3=ih(function(L,Y,ut){bn.call(L,ut)?++L[ut]:em(L,ut,1)});function x3(L,Y,ut){var Ft=Vr(L)?I_:UA;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}function G7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,dr(Y,3))}var _3=lv(xv),Xl=lv(Zy);function v3(L,Y){return As(D0(L,Y),1)}function U7(L,Y){return As(D0(L,Y),j)}function b3(L,Y,ut){return ut=ut===e?1:Jn(ut),As(D0(L,Y),ut)}function ug(L,Y){var ut=Vr(L)?pc:im;return ut(L,dr(Y,3))}function C3(L,Y){var ut=Vr(L)?LC:_y;return ut(L,dr(Y,3))}var $7=ih(function(L,Y,ut){bn.call(L,ut)?L[ut].push(Y):em(L,ut,[Y])});function tc(L,Y,ut,Ft){L=kl(L)?L:B0(L),ut=ut&&!Ft?Jn(ut):0;var ee=L.length;return ut<0&&(ut=Ka(ee+ut,0)),Eh(L)?ut<=ee&&L.indexOf(Y,ut)>-1:!!ee&&u0(L,Y,ut)>-1}var W7=Xr(function(L,Y,ut){var Ft=-1,ee=typeof Y=="function",we=kl(L)?bi(L.length):[];return im(L,function(Qe){we[++Ft]=ee?Ul(Y,Qe,ut):Bd(Qe,Y,ut)}),we}),Q7=ih(function(L,Y,ut){em(L,ut,Y)});function D0(L,Y){var ut=Vr(L)?sa:K_;return ut(L,dr(Y,3))}function Gc(L,Y,ut,Ft){return L==null?[]:(Vr(Y)||(Y=Y==null?[]:[Y]),ut=Ft?e:ut,Vr(ut)||(ut=ut==null?[]:[ut]),J_(L,Y,ut))}var Y7=ih(function(L,Y,ut){L[ut?0:1].push(Y)},function(){return[[],[]]});function vh(L,Y,ut){var Ft=Vr(L)?A1:R1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,im)}function y3(L,Y,ut){var Ft=Vr(L)?bA:R1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,_y)}function K7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,fg(dr(Y,3)))}function S3(L){var Y=Vr(L)?Dm:JA;return Y(L)}function w3(L,Y,ut){(ut?Ys(L,Y,ut):Y===e)?Y=1:Y=Jn(Y);var Ft=Vr(L)?HA:tv;return Ft(L,Y)}function E3(L){var Y=Vr(L)?fy:XA;return Y(L)}function bh(L){if(L==null)return 0;if(kl(L))return Eh(L)?Ed(L):L.length;var Y=Fs(L);return Y==pe||Y==fi?L.size:Y_(L).length}function P3(L,Y,ut){var Ft=Vr(L)?O1:t7;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}var k3=Xr(function(L,Y){if(L==null)return[];var ut=Y.length;return ut>1&&Ys(L,Y[0],Y[1])?Y=[]:ut>2&&Ys(Y[0],Y[1],Y[2])&&(Y=[Y[0]]),J_(L,As(Y,1),[])}),Hd=V_||function(){return fs.Date.now()};function I3(L,Y){if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){if(--L<1)return Y.apply(this,arguments)}}function yv(L,Y,ut){return Y=ut?e:Y,Y=L&&Y==null?L.length:Y,jc(L,gt,e,e,e,e,Y)}function Sv(L,Y){var ut;if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){return--L>0&&(ut=Y.apply(this,arguments)),L<=1&&(Y=e),ut}}var wv=Xr(function(L,Y,ut){var Ft=M;if(ut.length){var ee=Zp(ut,jd(wv));Ft|=tt}return jc(L,Ft,Y,ut,ee)}),T3=Xr(function(L,Y,ut){var Ft=M|F;if(ut.length){var ee=Zp(ut,jd(T3));Ft|=tt}return jc(Y,Ft,L,ut,ee)});function Ev(L,Y,ut){Y=ut?e:Y;var Ft=jc(L,z,e,e,e,e,e,Y);return Ft.placeholder=Ev.placeholder,Ft}function Pv(L,Y,ut){Y=ut?e:Y;var Ft=jc(L,$,e,e,e,e,e,Y);return Ft.placeholder=Pv.placeholder,Ft}function kv(L,Y,ut){var Ft,ee,we,Qe,ri,hi,Ui=0,Wi=!1,rn=!1,Mn=!0;if(typeof L!="function")throw new ml(n);Y=la(Y)||0,Pa(ut)&&(Wi=!!ut.leading,rn="maxWait"in ut,we=rn?Ka(la(ut.maxWait)||0,Y):we,Mn="trailing"in ut?!!ut.trailing:Mn);function Zn(Ga){var $c=Ft,Wc=ee;return Ft=ee=e,Ui=Ga,Qe=L.apply(Wc,$c),Qe}function ur(Ga){return Ui=Ga,ri=Bm(so,Y),Wi?Zn(Ga):Qe}function Qr(Ga){var $c=Ga-hi,Wc=Ga-Ui,Jv=Y-$c;return rn?hs(Jv,we-Wc):Jv}function gr(Ga){var $c=Ga-hi,Wc=Ga-Ui;return hi===e||$c>=Y||$c<0||rn&&Wc>=we}function so(){var Ga=Hd();if(gr(Ga))return go(Ga);ri=Bm(so,Qr(Ga))}function go(Ga){return ri=e,Mn&&Ft?Zn(Ga):(Ft=ee=e,Qe)}function Il(){ri!==e&&ig(ri),Ui=0,Ft=hi=ee=ri=e}function gl(){return ri===e?Qe:go(Hd())}function Tl(){var Ga=Hd(),$c=gr(Ga);if(Ft=arguments,ee=this,hi=Ga,$c){if(ri===e)return ur(hi);if(rn)return ig(ri),ri=Bm(so,Y),Zn(hi)}return ri===e&&(ri=Bm(so,Y)),Qe}return Tl.cancel=Il,Tl.flush=gl,Tl}var J7=Xr(function(L,Y){return Yf(L,1,Y)}),Z7=Xr(function(L,Y,ut){return Yf(L,la(Y)||0,ut)});function X7(L){return jc(L,mt)}function Ch(L,Y){if(typeof L!="function"||Y!=null&&typeof Y!="function")throw new ml(n);var ut=function(){var Ft=arguments,ee=Y?Y.apply(this,Ft):Ft[0],we=ut.cache;if(we.has(ee))return we.get(ee);var Qe=L.apply(this,Ft);return ut.cache=we.set(ee,Qe)||we,Qe};return ut.cache=new(Ch.Cache||mp),ut}Ch.Cache=mp;function fg(L){if(typeof L!="function")throw new ml(n);return function(){var Y=arguments;switch(Y.length){case 0:return!L.call(this);case 1:return!L.call(this,Y[0]);case 2:return!L.call(this,Y[0],Y[1]);case 3:return!L.call(this,Y[0],Y[1],Y[2])}return!L.apply(this,Y)}}function t8(L){return Sv(2,L)}var M3=e7(function(L,Y){Y=Y.length==1&&Vr(Y[0])?sa(Y[0],$l(dr())):sa(As(Y,1),$l(dr()));var ut=Y.length;return Xr(function(Ft){for(var ee=-1,we=hs(Ft.length,ut);++ee=Y}),O0=$_(function(){return arguments}())?$_:function(L){return Fa(L)&&bn.call(L,"callee")&&!L_.call(L,"callee")},Vr=bi.isArray,r8=FC?$l(FC):Sy;function kl(L){return L!=null&&Sh(L.length)&&!rm(L)}function qa(L){return Fa(L)&&kl(L)}function o8(L){return L===!0||L===!1||Fa(L)&&Os(L)==ct}var Vm=MA||Sg,a8=Af?$l(Af):an;function s8(L){return Fa(L)&&L.nodeType===1&&!Bs(L)}function F0(L){if(L==null)return!0;if(kl(L)&&(Vr(L)||typeof L=="string"||typeof L.splice=="function"||Vm(L)||vp(L)||O0(L)))return!L.length;var Y=Fs(L);if(Y==pe||Y==fi)return!L.size;if(uh(L))return!Y_(L).length;for(var ut in L)if(bn.call(L,ut))return!1;return!0}function l8(L,Y){return Rd(L,Y)}function c8(L,Y,ut){ut=typeof ut=="function"?ut:e;var Ft=ut?ut(L,Y):e;return Ft===e?Rd(L,Y,e,ut):!!Ft}function gg(L){if(!Fa(L))return!1;var Y=Os(L);return Y==Kt||Y==It||typeof L.message=="string"&&typeof L.name=="string"&&!Bs(L)}function p8(L){return typeof L=="number"&&j_(L)}function rm(L){if(!Pa(L))return!1;var Y=Os(L);return Y==ke||Y==ce||Y==jt||Y==Ke}function N3(L){return typeof L=="number"&&L==Jn(L)}function Sh(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=G}function Pa(L){var Y=typeof L;return L!=null&&(Y=="object"||Y=="function")}function Fa(L){return L!=null&&typeof L=="object"}var Av=M1?$l(M1):wy;function m8(L,Y){return L===Y||W1(L,Y,pv(Y))}function d8(L,Y,ut){return ut=typeof ut=="function"?ut:e,W1(L,Y,pv(Y),ut)}function u8(L){return Fv(L)&&L!=+L}function f8(L){if(Uy(L))throw new Mr(o);return W_(L)}function h8(L){return L===null}function Ov(L){return L==null}function Fv(L){return typeof L=="number"||Fa(L)&&Os(L)==si}function Bs(L){if(!Fa(L)||Os(L)!=le)return!1;var Y=ua(L);if(Y===null)return!0;var ut=bn.call(Y,"constructor")&&Y.constructor;return typeof ut=="function"&&ut instanceof ut&&kd.call(ut)==KC}var wh=BC?$l(BC):Ey;function L3(L){return N3(L)&&L>=-G&&L<=G}var Gd=RC?$l(RC):Q1;function Eh(L){return typeof L=="string"||!Vr(L)&&Fa(L)&&Os(L)==di}function Rs(L){return typeof L=="symbol"||Fa(L)&&Os(L)==gi}var vp=NC?$l(NC):YA;function V3(L){return L===e}function ko(L){return Fa(L)&&Fs(L)==Zi}function xs(L){return Fa(L)&&Os(L)==Xi}var $o=S0(K1),Ba=S0(function(L,Y){return L<=Y});function fl(L){if(!L)return[];if(kl(L))return Eh(L)?mc(L):Yl(L);if(Md&&L[Md])return EA(L[Md]());var Y=Fs(L),ut=Y==pe?F_:Y==fi?z1:B0;return ut(L)}function bp(L){if(!L)return L===0?L:0;if(L=la(L),L===j||L===-j){var Y=L<0?-1:1;return Y*H}return L===L?L:0}function Jn(L){var Y=bp(L),ut=Y%1;return Y===Y?ut?Y-ut:Y:0}function Ha(L){return L?x0(Jn(L),0,et):0}function la(L){if(typeof L=="number")return L;if(Rs(L))return K;if(Pa(L)){var Y=typeof L.valueOf=="function"?L.valueOf():L;L=Pa(Y)?Y+"":Y}if(typeof L!="string")return L===0?L:+L;L=A_(L);var ut=zr.test(L);return ut||No.test(L)?Sd(L.slice(2),ut?2:8):to.test(L)?K:+L}function Cp(L){return gp(L,hl(L))}function yp(L){return L?x0(Jn(L),-G,G):L===0?L:0}function Wr(L){return L==null?"":dl(L)}var g8=C0(function(L,Y){if(uh(Y)||kl(Y)){gp(Y,ls(Y),L);return}for(var ut in Y)bn.call(Y,ut)&&Po(L,ut,Y[ut])}),xg=C0(function(L,Y){gp(Y,hl(Y),L)}),ao=C0(function(L,Y,ut,Ft){gp(Y,hl(Y),L,Ft)}),x8=C0(function(L,Y,ut,Ft){gp(Y,ls(Y),L,Ft)}),z3=nm(H1);function _8(L,Y){var ut=Tm(L);return Y==null?ut:Qf(ut,Y)}var v8=Xr(function(L,Y){L=Go(L);var ut=-1,Ft=Y.length,ee=Ft>2?Y[2]:e;for(ee&&Ys(Y[0],Y[1],ee)&&(Ft=1);++ut1),we}),gp(L,lh(L),ut),Ft&&(ut=Pl(ut,y|C|E,Ny));for(var ee=Y.length;ee--;)iv(ut,Y[ee]);return ut});function _g(L,Y){return Q3(L,fg(dr(Y)))}var I8=nm(function(L,Y){return L==null?{}:v0(L,Y)});function Q3(L,Y){if(L==null)return{};var ut=sa(lh(L),function(Ft){return[Ft]});return Y=dr(Y),qo(L,ut,function(Ft,ee){return Y(Ft,ee[0])})}function T8(L,Y,ut){Y=hp(Y,L);var Ft=-1,ee=Y.length;for(ee||(ee=1,L=e);++FtY){var Ft=L;L=Y,Y=Ft}if(ut||L%1||Y%1){var ee=ny();return hs(L+ee*(Y-L+w_("1e-"+((ee+"").length-1))),Y)}return Xf(L,Y)}var B8=Fm(function(L,Y,ut){return Y=Y.toLowerCase(),L+(ut?eS(Y):Y)});function eS(L){return zv(Wr(L).toLowerCase())}function Lv(L){return L=Wr(L),L&&L.replace(Xo,Nf).replace(yd,"")}function R8(L,Y,ut){L=Wr(L),Y=dl(Y);var Ft=L.length;ut=ut===e?Ft:x0(Jn(ut),0,Ft);var ee=ut;return ut-=Y.length,ut>=0&&L.slice(ut,ee)==Y}function Wd(L){return L=Wr(L),L&&Sr.test(L)?L.replace(oa,yA):L}function N8(L){return L=Wr(L),L&&wr.test(L)?L.replace(ds,"\\$&"):L}var om=Fm(function(L,Y,ut){return L+(ut?"-":"")+Y.toLowerCase()}),L8=Fm(function(L,Y,ut){return L+(ut?" ":"")+Y.toLowerCase()}),iS=Ry("toLowerCase");function nS(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Ed(L):0;if(!Y||Ft>=Y)return L;var ee=(Y-Ft)/2;return xp(Gf(ee),ut)+L+xp(Hf(ee),ut)}function Ph(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Ed(L):0;return Y&&Ft>>0,ut?(L=Wr(L),L&&(typeof Y=="string"||Y!=null&&!wh(Y))&&(Y=dl(Y),!Y&&Pm(L))?Om(mc(L),0,ut):L.split(Y,ut)):[]}var sS=Fm(function(L,Y,ut){return L+(ut?" ":"")+zv(Y)});function lS(L,Y,ut){return L=Wr(L),ut=ut==null?0:x0(Jn(ut),0,L.length),Y=dl(Y),L.slice(ut,ut+Y.length)==Y}function cS(L,Y,ut){var Ft=be.templateSettings;ut&&Ys(L,Y,ut)&&(Y=e),L=Wr(L),Y=ao({},Y,Ft,zd);var ee=ao({},Y.imports,Ft.imports,zd),we=ls(ee),Qe=O_(ee,we),ri,hi,Ui=0,Wi=Y.interpolate||ss,rn="__p += '",Mn=R_((Y.escape||ss).source+"|"+Wi.source+"|"+(Wi===sr?nr:ss).source+"|"+(Y.evaluate||ss).source+"|$","g"),Zn="//# sourceURL="+(bn.call(Y,"sourceURL")?(Y.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++y_+"]")+` `;L.replace(Mn,function(gr,so,go,Il,gl,Tl){return go||(go=Il),rn+=L.slice(Ui,Tl).replace(za,SA),so&&(ri=!0,rn+=`' + @@ -12549,7 +12549,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `),k(57,"mat-paginator",13),t(58,` `),s(),t(59,` `),s(),t(60,` -`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,qOt)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var n9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:_x}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:_x,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:_x}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:_x,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-4FOPOZNZ.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-EBIQQZB5.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-ULKUEONO.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-ST6ORCRD.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-Q3BVQOAN.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-ZHVNBTYF.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(e=>e.AccountTransfersModule)}]}]}])],xJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,gJ,RF,NF,_x,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(n9t),tr]})}}return e})();var r9t=e=>({editForm:e}),_J=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` +`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,qOt)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var n9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:_x}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:_x,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:_x}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:_x,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-ALJQYSNV.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-MTJBLGFN.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-H5PAL7OD.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-PQFTXTEB.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-IYQ4UZD4.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-4RI5JN4U.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(e=>e.AccountTransfersModule)}]}]}])],xJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,gJ,RF,NF,_x,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(n9t),tr]})}}return e})();var r9t=e=>({editForm:e}),_J=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` `),a(4,"div"),t(5,` `),a(6,"form",2,0),t(8,` `),a(9,"mat-form-field"),t(10,` @@ -13916,7 +13916,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `,d(68,26,"labels.buttons.Cancel"),` `),l(3),g("disabled",!n.editGroupForm.valid),l(),P(` `,d(72,28,"labels.buttons.Submit"),` - `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Zt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var CLt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-4FOPOZNZ.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-ST6ORCRD.js").then(e=>e.SavingsModule)}]}]}])],yJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(CLt),tr]})}}return e})();var SJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,yJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var yLt=["showClosedCenters"],SLt=()=>[10,25,50,100],wLt=()=>["../","organization","bulk-import","Centers"],ELt=()=>["create"],PLt=e=>[e,"general"];function kLt(e,r){e&1&&(a(0,"button",22),t(1,` + `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Zt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var CLt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-ALJQYSNV.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-PQFTXTEB.js").then(e=>e.SavingsModule)}]}]}])],yJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(CLt),tr]})}}return e})();var SJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,yJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var yLt=["showClosedCenters"],SLt=()=>[10,25,50,100],wLt=()=>["../","organization","bulk-import","Centers"],ELt=()=>["create"],PLt=e=>[e,"general"];function kLt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",23),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,wLt)),l(3),P("",d(4,2,"labels.buttons.Import Center"),` `))}function ILt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",24),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,ELt)),l(3),P("",d(4,2,"labels.buttons.Create Center"),` @@ -36376,7 +36376,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `),k(2,"fa-icon",32),t(3),m(4,"translate"),s()}e&2&&(l(3),P("",d(4,1,"labels.buttons.Delete"),` `))}function Wmi(e,r){e&1&&(a(0,"td",23),t(1,` `),x(2,$mi,5,3,"button",30),t(3,` - `),s()),e&2&&(l(2),g("mifosxHasPermission","DELETE_ENTITY_DATATABLE_CHECK"))}function Qmi(e,r){e&1&&k(0,"tr",33)}function Ymi(e,r){e&1&&k(0,"tr",34)}var dD=(()=>{class e{constructor(i,o,n){this.organizationService=i,this.route=o,this.dialog=n,this.displayedColumns=["entity","productName","datatableName","status","systemDefined","actions"],this.entityValues=[{code:"m_client",value:"Client"},{code:"m_loan",value:"Loan"},{code:"m_group",value:"Group"},{code:"m_savings_account",value:"Savings Account"}],this.route.data.subscribe(c=>{this.entityDataTableChecksData=c.entityDataTableChecks.pageItems})}applyFilter(i){this.dataSource.filter=i.trim().toLowerCase()}ngOnInit(){this.setEntityDataTableChecks(),this.setEntity()}setEntity(){for(let i=0;i{switch(o){case"status":return i.status.value;default:return i[o]}}}deleteEntityDataTableCheck(i){this.dialog.open(Li,{data:{deleteContext:`entity data table check ${i}`}}).afterClosed().subscribe(n=>{n.delete&&this.organizationService.deleteEntityDataTableCheck(i).subscribe(()=>{this.entityDataTableChecksData=this.entityDataTableChecksData.filter(c=>c.id!==i),this.dataSource.data=this.entityDataTableChecksData})})}static{this.\u0275fac=function(o){return new(o||e)(V(Ei),V(Lt),V(ni))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-entity-data-table-checks"]],viewQuery:function(o,n){if(o&1&&(Nt(Je,7),Nt($e,7)),o&2){let c;Bt(c=Rt())&&(n.paginator=c.first),Bt(c=Rt())&&(n.sort=c.first)}},decls:74,vars:9,consts:[[1,"container","m-b-20","layout-row","align-end","gap-20px"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row","gap-20px"],[1,"flex-fill"],["matInput","",3,"keyup"],[1,"mat-elevation-z8"],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","entity"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","productName"],["matColumnDef","datatableName"],["matColumnDef","status"],["matColumnDef","systemDefined"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","plus",1,"m-r-10"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"className"],["icon","check-circle","size","lg","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["icon","times-circle","size","lg","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["icon","check-circle","size","lg","matTooltipPosition","right",3,"matTooltip"],["icon","times-circle","size","lg","matTooltipPosition","right",3,"matTooltip"],["mat-header-cell",""],["mat-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-row",""],["mat-row",""]],template:function(o,n){o&1&&(a(0,"div",0),t(1,` + `),s()),e&2&&(l(2),g("mifosxHasPermission","DELETE_ENTITY_DATATABLE_CHECK"))}function Qmi(e,r){e&1&&k(0,"tr",33)}function Ymi(e,r){e&1&&k(0,"tr",34)}var dD=(()=>{class e{constructor(i,o,n){this.organizationService=i,this.route=o,this.dialog=n,this.displayedColumns=["entity","productName","datatableName","status","systemDefined","actions"],this.entityValues=[{code:"m_client",value:"Client"},{code:"m_loan",value:"Loan"},{code:"m_group",value:"Group"},{code:"m_savings_account",value:"Savings Account"}],this.route.data.subscribe(c=>{this.entityDataTableChecksData=c.entityDataTableChecks.pageItems})}applyFilter(i){this.dataSource.filter=i.trim().toLowerCase()}ngOnInit(){this.setEntityDataTableChecks(),this.setEntity()}setEntity(){let i=new Map;this.entityValues.forEach(o=>{i.set(o.code,o.value)}),this.dataSource.data.forEach(o=>{let n=i.get(o.entity);n&&(o.entity=n)})}setEntityDataTableChecks(){this.dataSource=new ci(this.entityDataTableChecksData),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(i,o)=>{switch(o){case"status":return i.status.value;default:return i[o]}}}deleteEntityDataTableCheck(i){this.dialog.open(Li,{data:{deleteContext:`entity data table check ${i}`}}).afterClosed().subscribe(n=>{n.delete&&this.organizationService.deleteEntityDataTableCheck(i).subscribe(()=>{this.entityDataTableChecksData=this.entityDataTableChecksData.filter(c=>c.id!==i),this.dataSource.data=this.entityDataTableChecksData})})}static{this.\u0275fac=function(o){return new(o||e)(V(Ei),V(Lt),V(ni))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-entity-data-table-checks"]],viewQuery:function(o,n){if(o&1&&(Nt(Je,7),Nt($e,7)),o&2){let c;Bt(c=Rt())&&(n.paginator=c.first),Bt(c=Rt())&&(n.sort=c.first)}},decls:74,vars:9,consts:[[1,"container","m-b-20","layout-row","align-end","gap-20px"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row","gap-20px"],[1,"flex-fill"],["matInput","",3,"keyup"],[1,"mat-elevation-z8"],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","entity"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","productName"],["matColumnDef","datatableName"],["matColumnDef","status"],["matColumnDef","systemDefined"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","plus",1,"m-r-10"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"className"],["icon","check-circle","size","lg","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["icon","times-circle","size","lg","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["icon","check-circle","size","lg","matTooltipPosition","right",3,"matTooltip"],["icon","times-circle","size","lg","matTooltipPosition","right",3,"matTooltip"],["mat-header-cell",""],["mat-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-row",""],["mat-row",""]],template:function(o,n){o&1&&(a(0,"div",0),t(1,` `),x(2,Ami,5,5,"button",1),t(3,` `),s(),t(4,` diff --git a/browser/recurring-deposits.module-Q3BVQOAN.js b/browser/recurring-deposits.module-IYQ4UZD4.js similarity index 99% rename from browser/recurring-deposits.module-Q3BVQOAN.js rename to browser/recurring-deposits.module-IYQ4UZD4.js index 78bbfbd78..d28bac74e 100644 --- a/browser/recurring-deposits.module-Q3BVQOAN.js +++ b/browser/recurring-deposits.module-IYQ4UZD4.js @@ -1,4 +1,4 @@ -import{a as Tn,b as Mn}from"./chunk-ZU2BZ22G.js";import{a as mi}from"./chunk-6BHQY5IX.js";import{$a as be,$b as V,Aa as St,Ab as kn,Ac as Q,Ad as Rt,Ba as Pt,Bc as U,Bd as Ft,Ca as Tt,Cd as pe,D as It,Da as R,Df as ni,E as Ve,Ea as t,Fa as u,Fc as ct,Fd as ut,G as yt,Ga as x,Gc as q,Ha as M,Hc as Y,I as Zt,Ia as oe,Ib as Me,Ic as nt,Id as fe,Ie as Ke,If as ii,J as S,Jb as ye,Jd as ce,Je as Xn,Jf as Yt,K as P,Kf as ri,Lb as re,Lc as J,Lf as Ze,Mb as ae,Me as Qe,Mf as ai,Nb as Ae,Nc as it,Nd as He,Ne as Ye,Oa as L,Oc as Ee,Oe as Je,P as qe,Pa as xe,Pc as zn,Pe as Xe,Qc as rt,Qd as $e,Qe as ne,Qf as le,Ra as o,Rd as Le,Re as Qt,Sa as c,Sb as k,Sd as ze,Se as Bt,Ta as w,Tb as Vn,Tc as at,Td as se,Te as Nt,Ue as kt,V as Bn,Va as G,Vb as H,Vf as oi,Wb as z,Wc as st,We as Vt,Wf as tn,Xb as qn,Xe as qt,Xf as Re,Yb as Pn,Yd as We,Z as a,Ze as jt,_a as Nn,_b as Ie,_c as ot,_e as Gt,_f as pi,ab as Mt,ad as O,af as Ut,ba as C,bb as F,bd as W,bf as Ht,ca as A,cb as Se,cd as Wn,da as je,dd as Kn,df as $t,dg as ci,ed as lt,fg as si,ga as m,gd as gt,gf as _e,ha as ve,hd as Qn,ia as d,jb as Pe,jd as Yn,kc as jn,kd as X,lc as Gn,ld as mt,lf as Zn,ma as n,mc as ee,mf as ti,na as i,nb as Ge,nc as Un,nf as ei,ng as we,oa as f,ob as Te,oc as Hn,od as xt,og as li,pa as D,pb as I,pc as $n,pd as Z,qa as v,qc as Ln,qd as Kt,rd as dt,sa as y,sd as Ot,ta as b,ua as _,uc as Oe,ud as Et,vc as E,wd as ft,xa as bt,xb as te,xd as _t,yd as Ct,zd as Ue,ze as Jn}from"./chunk-3WJYEYPY.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` +import{a as Tn,b as Mn}from"./chunk-U4ZSIPVL.js";import{a as mi}from"./chunk-F236TJSX.js";import{$a as be,$b as V,Aa as St,Ab as kn,Ac as Q,Ad as Rt,Ba as Pt,Bc as U,Bd as Ft,Ca as Tt,Cd as pe,D as It,Da as R,Df as ni,E as Ve,Ea as t,Fa as u,Fc as ct,Fd as ut,G as yt,Ga as x,Gc as q,Ha as M,Hc as Y,I as Zt,Ia as oe,Ib as Me,Ic as nt,Id as fe,Ie as Ke,If as ii,J as S,Jb as ye,Jd as ce,Je as Xn,Jf as Yt,K as P,Kf as ri,Lb as re,Lc as J,Lf as Ze,Mb as ae,Me as Qe,Mf as ai,Nb as Ae,Nc as it,Nd as He,Ne as Ye,Oa as L,Oc as Ee,Oe as Je,P as qe,Pa as xe,Pc as zn,Pe as Xe,Qc as rt,Qd as $e,Qe as ne,Qf as le,Ra as o,Rd as Le,Re as Qt,Sa as c,Sb as k,Sd as ze,Se as Bt,Ta as w,Tb as Vn,Tc as at,Td as se,Te as Nt,Ue as kt,V as Bn,Va as G,Vb as H,Vf as oi,Wb as z,Wc as st,We as Vt,Wf as tn,Xb as qn,Xe as qt,Xf as Re,Yb as Pn,Yd as We,Z as a,Ze as jt,_a as Nn,_b as Ie,_c as ot,_e as Gt,_f as pi,ab as Mt,ad as O,af as Ut,ba as C,bb as F,bd as W,bf as Ht,ca as A,cb as Se,cd as Wn,da as je,dd as Kn,df as $t,dg as ci,ed as lt,fg as si,ga as m,gd as gt,gf as _e,ha as ve,hd as Qn,ia as d,jb as Pe,jd as Yn,kc as jn,kd as X,lc as Gn,ld as mt,lf as Zn,ma as n,mc as ee,mf as ti,na as i,nb as Ge,nc as Un,nf as ei,ng as we,oa as f,ob as Te,oc as Hn,od as xt,og as li,pa as D,pb as I,pc as $n,pd as Z,qa as v,qc as Ln,qd as Kt,rd as dt,sa as y,sd as Ot,ta as b,ua as _,uc as Oe,ud as Et,vc as E,wd as ft,xa as bt,xb as te,xd as _t,yd as Ct,zd as Ue,ze as Jn}from"./chunk-WHWF3LGY.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` `),n(3,"div",1),t(4,` `),n(5,"p"),t(6),i(),t(7,` `),i(),t(8,` @@ -2477,4 +2477,4 @@ import{a as Tn,b as Mn}from"./chunk-ZU2BZ22G.js";import{a as mi}from"./chunk-6BH `),m(15,Es,68,30,"div",1),t(16,` `),i(),t(17,` -`)),l&2&&(a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(5),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval))},dependencies:[I,F,Ge,Te,O,Rt,E,Ft,ni,Yt],styles:[".recurring-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var Rs=[{path:"",data:{title:"Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:"create-recurring-deposits-account",data:{title:"Create Recurring Deposits Account",breadcrumb:"Create Recurring Deposits Account"},component:sn,resolve:{recurringDepositsAccountTemplate:On}},{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"",component:nn,resolve:{recurringDepositsAccountData:In,savingsDatatables:Mn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Sn,data:{title:"Recurring Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:rn,data:{title:"Recurring Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:an,data:{title:"Recurring Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:pn,data:{title:"Recurring Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions-tab",component:on,data:{title:"Recurring Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:cn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Tn}}]}]},{path:"edit-recurring-deposit-account",data:{title:"Edit Recurring Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bn,resolve:{recurringDepositsAccountAndTemplate:Rn}},{path:"transactions",data:{title:"Recurring Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Dn,resolve:{recurringDepositsAccountTransaction:wn}},{path:"edit",component:vn,resolve:{recurringDepositsAccountTransactionTemplate:Fn}}]}]},{path:"actions/:name",data:{title:"Recurring Deposits Account Actions",routeParamBreadcrumb:"name"},component:hn,resolve:{recurringDepositsAccountActionData:En}}]},{path:":recurringDepositAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(e=>e.AccountTransfersModule)}]},{path:"",data:{title:"All Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(e=>e.AccountTransfersModule)}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({providers:[di,In,Tn,Mn,On,En,Rn,wn,Fn],imports:[Pn.forChild(Rs),Pn]})}}return e})();var Lf=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({imports:[li,ai,oi,ui,nn,rn,an,on,pn,cn,sn,me,de,ue,Be,ge,Ne,hn,ln,mn,dn,un,gn,xn,Jt,bn,fn,_n,Cn,Dn,vn,Sn]})}}return e})();export{Lf as RecurringDepositsModule}; +`)),l&2&&(a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(5),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval))},dependencies:[I,F,Ge,Te,O,Rt,E,Ft,ni,Yt],styles:[".recurring-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var Rs=[{path:"",data:{title:"Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:"create-recurring-deposits-account",data:{title:"Create Recurring Deposits Account",breadcrumb:"Create Recurring Deposits Account"},component:sn,resolve:{recurringDepositsAccountTemplate:On}},{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"",component:nn,resolve:{recurringDepositsAccountData:In,savingsDatatables:Mn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Sn,data:{title:"Recurring Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:rn,data:{title:"Recurring Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:an,data:{title:"Recurring Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:pn,data:{title:"Recurring Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions-tab",component:on,data:{title:"Recurring Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:cn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Tn}}]}]},{path:"edit-recurring-deposit-account",data:{title:"Edit Recurring Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bn,resolve:{recurringDepositsAccountAndTemplate:Rn}},{path:"transactions",data:{title:"Recurring Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Dn,resolve:{recurringDepositsAccountTransaction:wn}},{path:"edit",component:vn,resolve:{recurringDepositsAccountTransactionTemplate:Fn}}]}]},{path:"actions/:name",data:{title:"Recurring Deposits Account Actions",routeParamBreadcrumb:"name"},component:hn,resolve:{recurringDepositsAccountActionData:En}}]},{path:":recurringDepositAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(e=>e.AccountTransfersModule)}]},{path:"",data:{title:"All Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(e=>e.AccountTransfersModule)}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({providers:[di,In,Tn,Mn,On,En,Rn,wn,Fn],imports:[Pn.forChild(Rs),Pn]})}}return e})();var Lf=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({imports:[li,ai,oi,ui,nn,rn,an,on,pn,cn,sn,me,de,ue,Be,ge,Ne,hn,ln,mn,dn,un,gn,xn,Jt,bn,fn,_n,Cn,Dn,vn,Sn]})}}return e})();export{Lf as RecurringDepositsModule}; diff --git a/browser/savings.module-ST6ORCRD.js b/browser/savings.module-PQFTXTEB.js similarity index 99% rename from browser/savings.module-ST6ORCRD.js rename to browser/savings.module-PQFTXTEB.js index 583a19b2a..1189932fa 100644 --- a/browser/savings.module-ST6ORCRD.js +++ b/browser/savings.module-PQFTXTEB.js @@ -1,4 +1,4 @@ -import{a as He}from"./chunk-UYUZ6Z3O.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-YP73UGHI.js";import{a as Ge}from"./chunk-FTOWLVPJ.js";import{a as ri,b as si}from"./chunk-ZU2BZ22G.js";import{a as Gi}from"./chunk-6BHQY5IX.js";import{$a as ge,$b as k,$c as Ai,Aa as Pt,Ac as z,Ad as Rt,Ba as yt,Bc as j,Bd as Vt,Ca as Ot,Cd as Lt,D as Tt,Da as D,Dc as bi,Df as Ve,E as We,Ea as t,Fa as u,Fb as Je,Fc as nt,Fd as bt,Ff as Ei,G as Mt,Ga as v,Gc as U,Ha as R,Hc as K,I as Oe,Ia as Ie,Ic as it,Id as le,Ie as Fe,If as wi,J as S,Jd as _e,Je as ai,Jf as de,K as M,Ka as Zn,Ke as Di,Kf as pn,La as ti,Lc as ft,Lf as dn,Ma as ei,Mc as Si,Md as Oi,Me as ke,Mf as Fi,Nc as at,Nd as nn,Ne as Be,Oa as B,Oc as oe,Oe as Ne,P as Qe,Pa as Nt,Pc as Mi,Pe as Re,Qc as ot,Qd as an,Qe as he,Qf as I,Ra as c,Rd as on,Re as pe,Rf as ki,Sa as m,Sb as F,Sd as rn,Se as Ut,Ta as St,Tb as Xe,Tc as rt,Td as Ce,Te as qt,Tf as Bi,Ua as hi,Ue as Ht,V as Ci,Va as et,Vb as q,Vf as Ni,W as Ke,Wa as ni,Wb as G,Wc as pt,We as zt,Wf as Le,Xb as Ze,Xe as $t,Xf as ue,Yb as ii,Yd as sn,Z as o,Ze as Wt,_b as De,_c as st,_e as Qt,_f as un,ab as It,ad as P,ae as Ii,af as Kt,ba as x,bb as N,bd as J,bf as Yt,ca as A,cd as en,da as Ye,dd as Ti,df as Jt,dg as Ri,ed as ct,fg as Vi,ga as d,gd as ht,gf as Zt,hd as Pi,ia as l,jd as yi,kc as te,kd as X,lc as Ee,ld as dt,lf as cn,m as _i,ma as i,mc as Et,mf as mn,mg as Li,na as a,nc as ee,nf as ln,ng as je,oa as f,ob as fe,oc as ne,od as vt,og as ji,pa as E,pb as T,pc as ie,pd as Z,qa as w,qc as ae,qd as re,rd as mt,sa as y,sd as wt,ta as h,ua as C,uc as ve,ud as Ft,vc as O,wd as xt,xa as gt,xc as tn,xd as _t,yd as Ct,zd as xe,ze as we}from"./chunk-3WJYEYPY.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` +import{a as He}from"./chunk-PSX76TTC.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-T2EJMLQH.js";import{a as Ge}from"./chunk-2GS7A7AG.js";import{a as ri,b as si}from"./chunk-U4ZSIPVL.js";import{a as Gi}from"./chunk-F236TJSX.js";import{$a as ge,$b as k,$c as Ai,Aa as Pt,Ac as z,Ad as Rt,Ba as yt,Bc as j,Bd as Vt,Ca as Ot,Cd as Lt,D as Tt,Da as D,Dc as bi,Df as Ve,E as We,Ea as t,Fa as u,Fb as Je,Fc as nt,Fd as bt,Ff as Ei,G as Mt,Ga as v,Gc as U,Ha as R,Hc as K,I as Oe,Ia as Ie,Ic as it,Id as le,Ie as Fe,If as wi,J as S,Jd as _e,Je as ai,Jf as de,K as M,Ka as Zn,Ke as Di,Kf as pn,La as ti,Lc as ft,Lf as dn,Ma as ei,Mc as Si,Md as Oi,Me as ke,Mf as Fi,Nc as at,Nd as nn,Ne as Be,Oa as B,Oc as oe,Oe as Ne,P as Qe,Pa as Nt,Pc as Mi,Pe as Re,Qc as ot,Qd as an,Qe as he,Qf as I,Ra as c,Rd as on,Re as pe,Rf as ki,Sa as m,Sb as F,Sd as rn,Se as Ut,Ta as St,Tb as Xe,Tc as rt,Td as Ce,Te as qt,Tf as Bi,Ua as hi,Ue as Ht,V as Ci,Va as et,Vb as q,Vf as Ni,W as Ke,Wa as ni,Wb as G,Wc as pt,We as zt,Wf as Le,Xb as Ze,Xe as $t,Xf as ue,Yb as ii,Yd as sn,Z as o,Ze as Wt,_b as De,_c as st,_e as Qt,_f as un,ab as It,ad as P,ae as Ii,af as Kt,ba as x,bb as N,bd as J,bf as Yt,ca as A,cd as en,da as Ye,dd as Ti,df as Jt,dg as Ri,ed as ct,fg as Vi,ga as d,gd as ht,gf as Zt,hd as Pi,ia as l,jd as yi,kc as te,kd as X,lc as Ee,ld as dt,lf as cn,m as _i,ma as i,mc as Et,mf as mn,mg as Li,na as a,nc as ee,nf as ln,ng as je,oa as f,ob as fe,oc as ne,od as vt,og as ji,pa as E,pb as T,pc as ie,pd as Z,qa as w,qc as ae,qd as re,rd as mt,sa as y,sd as wt,ta as h,ua as C,uc as ve,ud as Ft,vc as O,wd as xt,xa as gt,xc as tn,xd as _t,yd as Ct,zd as xe,ze as we}from"./chunk-WHWF3LGY.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` `),i(4,"div",1),t(5,` `),i(6,"p"),t(7),c(8,"translate"),a(),t(9,` `),a(),t(10,` @@ -2459,5 +2459,5 @@ import{a as He}from"./chunk-UYUZ6Z3O.js";import{a as gn,b as oi,c as Ui,d as qi} `),a()),e&2){let n=D(7),s=D(15),r=C();o(4),l("ngIf",!r.savingsAccountData.status.rejected&&!r.savingsAccountData.status.submittedAndPendingApproval)("ngIfElse",n),o(5),l("ngIf",!r.savingsAccountData.status.rejected&&!r.savingsAccountData.status.submittedAndPendingApproval),o(3),l("ngIf",r.isActive)("ngIfElse",s)}}var Xn=(()=>{class e{constructor(n,s){this.route=n,this.router=s,this.isLoading=!0,this.isActive=!1,this.route.parent.parent.data.subscribe(r=>{this.savingsAccountData=r.savingsAccountData,this.currency=this.savingsAccountData.currency,this.isLoading=!1;let g=this.savingsAccountData.status.value;this.isActive=g==="Active"}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}static{this.\u0275fac=function(s){return new(s||e)(x(F),x(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-general-tab"]],decls:4,vars:2,consts:[["alternateDetails",""],["alternateSummary",""],["class","loader",4,"ngIf"],["class","savings-account-tables layout-row gap-2percent",4,"ngIf"],[1,"loader"],[1,"loading"],[1,"savings-account-tables","layout-row","gap-2percent"],[1,"flex-49","layout-column","gap-4percent"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["class","flex-49",4,"ngIf","ngIfElse"],[1,"table-headers"],[1,"r-amount"],[3,"externalId"],[1,"flex-49"],[4,"mifosxHasPermission"]],template:function(s,r){s&1&&(d(0,Il,4,0,"div",2),t(1,` `),d(2,g0,17,5,"div",3),t(3,` -`)),s&2&&(l("ngIf",r.isLoading),o(2),l("ngIf",!r.isLoading))},dependencies:[T,N,fe,P,Rt,Lt,O,Vt,Ve,de,dn],styles:[".loader[_ngcontent-%COMP%]{margin-bottom:39px;overflow:auto}.sidenav[_ngcontent-%COMP%]{overflow-x:hidden}@keyframes _ngcontent-%COMP%_move{0%{left:0}16.7%{left:0}33.3%{left:640px}50%{left:1120px}66.7%{left:640px}83.3%{left:0}to{left:0}}@keyframes _ngcontent-%COMP%_grow{0%{width:160px}16.7%{width:640px}33.3%{width:640px}50%{width:160px}66.7%{width:640px}83.3%{width:640px}to{width:160px}}.general-tab-container[_ngcontent-%COMP%]{padding:16px 20px;width:100%;box-sizing:border-box;position:relative;background-color:var(--background-color, #f8f9fa);color:var(--text-color, #333);transition:background-color .3s ease,color .3s ease}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:24px;padding:16px 0;position:relative;border-bottom:1px solid var(--border-color, #e9ecef)}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:600;margin:0 0 8px;line-height:1.2;color:var(--primary-color, #007bff);position:relative}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.95rem;margin:0;line-height:1.4;color:var(--text-secondary, #6c757d);position:relative}.general-tab-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%]{background:var(--card-background, #fff);border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;position:relative;width:100%;max-width:600px;transition:box-shadow .3s ease,background-color .3s ease}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:16px 20px;background:var(--card-header-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #e9ecef);position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;line-height:1.3;color:var(--text-color, #333)}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:20px;position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--border-light, #f1f3f4);position:relative;min-height:24px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:500;color:var(--text-secondary, #6c757d);flex:0 0 auto;margin-right:16px;white-space:nowrap;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:600;color:var(--text-color, #333);text-align:right;flex:1 1 auto;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value.currency[_ngcontent-%COMP%]{color:var(--success-color, #28a745);font-size:1.05rem}[data-theme=dark][_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%], .dark-theme[_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%]{--background-color: #1a1a1a;--text-color: #e9ecef;--text-secondary: #adb5bd;--primary-color: #4dabf7;--card-background: #2d3748;--card-header-bg: #374151;--border-color: #4a5568;--border-light: #2d3748;--success-color: #68d391}@media (width <= 768px){.general-tab-container[_ngcontent-%COMP%]{padding:12px 16px}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:20px;padding:12px 0}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.5rem}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.9rem}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:14px 16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{padding:8px 0}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:12px}}"]})}}return e})();var f0=[{path:"",data:{title:"All Savings",breadcrumb:"Savings",routeParamBreadcrumb:!1,addBreadcrumbLink:!1},children:[{path:"create",data:{title:"Create Savings Account",breadcrumb:"Create Savings Account"},component:Vn,resolve:{savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"Saving Account View",routeParamBreadcrumb:"savingAccountId"},component:_n,resolve:{savingsAccountData:He,savingsDatatables:si},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",data:{title:"Savings Account Details",breadcrumb:"General",routeParamBreadcrumb:!1},children:[{path:"",component:Xn}]},{path:"transactions",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Cn},{path:"export",component:qn}]},{path:"charges",component:Bn,data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:Nn,data:{title:"Savings Account SIH",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"notes",component:Kn,data:{title:"Savings Account Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{savingAccountNotes:Hi}},{path:"documents",component:Qn,data:{title:"Savings Account Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{savingsDocuments:zi}},{path:"datatables",children:[{path:":datatableName",component:Rn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ri}}]}]},{path:":savingAccountId/edit",data:{title:"Edit Savings Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Ln,resolve:{savingsAccountAndTemplate:pi}},{path:":savingAccountId/transactions/:id",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:jn,resolve:{transactionDatatables:li},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Jn,resolve:{savingsAccountTransaction:di}},{path:"datatables",children:[{path:":datatableName",component:hn,data:{title:"View Data table",routeParamBreadcrumb:"datatableName"},resolve:{transactionDatatable:mi}}]}]},{path:"edit",component:Hn,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{savingsAccountTransactionTemplate:vi}},{path:"reciept",component:Un,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{savingsTransactionReciept:fi}}]},{path:":savingAccountId/charges",data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:Gn,resolve:{savingsAccountData:He,savingsAccountCharge:ui}}]},{path:":savingAccountId/actions/:name",data:{title:"Savings Account Actions",breadcrumb:"Savings Account Actions",routeParamBreadcrumb:"name"},component:kn,resolve:{savingsAccountActionData:gi}},{path:":savingAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-IVHTYIXN.js").then(e=>e.AccountTransfersModule)},{path:"gsim-account",children:[{path:"create",data:{title:"Create GSIM Application",breadcrumb:"Create GSIM Application"},component:zn,resolve:{groupsData:qi,savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},children:[{path:"",component:$n,resolve:{gsimData:xi,savingAccountData:He,groupsData:oi}}]}]}]}],$i=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({providers:[He,si,ri,mi,li,Wn,pi,di,ui,gi,fi,vi,Ui,oi,xi],imports:[ii.forChild(f0),ii]})}}return e})();var Wi=(()=>{class e{constructor(){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-savings-transaction-datatable-tab"]],decls:4,vars:3,template:function(s,r){s&1&&(i(0,"p"),t(1),c(2,"translate"),a(),t(3,` +`)),s&2&&(l("ngIf",r.isLoading),o(2),l("ngIf",!r.isLoading))},dependencies:[T,N,fe,P,Rt,Lt,O,Vt,Ve,de,dn],styles:[".loader[_ngcontent-%COMP%]{margin-bottom:39px;overflow:auto}.sidenav[_ngcontent-%COMP%]{overflow-x:hidden}@keyframes _ngcontent-%COMP%_move{0%{left:0}16.7%{left:0}33.3%{left:640px}50%{left:1120px}66.7%{left:640px}83.3%{left:0}to{left:0}}@keyframes _ngcontent-%COMP%_grow{0%{width:160px}16.7%{width:640px}33.3%{width:640px}50%{width:160px}66.7%{width:640px}83.3%{width:640px}to{width:160px}}.general-tab-container[_ngcontent-%COMP%]{padding:16px 20px;width:100%;box-sizing:border-box;position:relative;background-color:var(--background-color, #f8f9fa);color:var(--text-color, #333);transition:background-color .3s ease,color .3s ease}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:24px;padding:16px 0;position:relative;border-bottom:1px solid var(--border-color, #e9ecef)}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:600;margin:0 0 8px;line-height:1.2;color:var(--primary-color, #007bff);position:relative}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.95rem;margin:0;line-height:1.4;color:var(--text-secondary, #6c757d);position:relative}.general-tab-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%]{background:var(--card-background, #fff);border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;position:relative;width:100%;max-width:600px;transition:box-shadow .3s ease,background-color .3s ease}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:16px 20px;background:var(--card-header-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #e9ecef);position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;line-height:1.3;color:var(--text-color, #333)}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:20px;position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--border-light, #f1f3f4);position:relative;min-height:24px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:500;color:var(--text-secondary, #6c757d);flex:0 0 auto;margin-right:16px;white-space:nowrap;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:600;color:var(--text-color, #333);text-align:right;flex:1 1 auto;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value.currency[_ngcontent-%COMP%]{color:var(--success-color, #28a745);font-size:1.05rem}[data-theme=dark][_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%], .dark-theme[_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%]{--background-color: #1a1a1a;--text-color: #e9ecef;--text-secondary: #adb5bd;--primary-color: #4dabf7;--card-background: #2d3748;--card-header-bg: #374151;--border-color: #4a5568;--border-light: #2d3748;--success-color: #68d391}@media (width <= 768px){.general-tab-container[_ngcontent-%COMP%]{padding:12px 16px}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:20px;padding:12px 0}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.5rem}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.9rem}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:14px 16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{padding:8px 0}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:12px}}"]})}}return e})();var f0=[{path:"",data:{title:"All Savings",breadcrumb:"Savings",routeParamBreadcrumb:!1,addBreadcrumbLink:!1},children:[{path:"create",data:{title:"Create Savings Account",breadcrumb:"Create Savings Account"},component:Vn,resolve:{savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"Saving Account View",routeParamBreadcrumb:"savingAccountId"},component:_n,resolve:{savingsAccountData:He,savingsDatatables:si},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",data:{title:"Savings Account Details",breadcrumb:"General",routeParamBreadcrumb:!1},children:[{path:"",component:Xn}]},{path:"transactions",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Cn},{path:"export",component:qn}]},{path:"charges",component:Bn,data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:Nn,data:{title:"Savings Account SIH",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"notes",component:Kn,data:{title:"Savings Account Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{savingAccountNotes:Hi}},{path:"documents",component:Qn,data:{title:"Savings Account Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{savingsDocuments:zi}},{path:"datatables",children:[{path:":datatableName",component:Rn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ri}}]}]},{path:":savingAccountId/edit",data:{title:"Edit Savings Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Ln,resolve:{savingsAccountAndTemplate:pi}},{path:":savingAccountId/transactions/:id",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:jn,resolve:{transactionDatatables:li},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Jn,resolve:{savingsAccountTransaction:di}},{path:"datatables",children:[{path:":datatableName",component:hn,data:{title:"View Data table",routeParamBreadcrumb:"datatableName"},resolve:{transactionDatatable:mi}}]}]},{path:"edit",component:Hn,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{savingsAccountTransactionTemplate:vi}},{path:"reciept",component:Un,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{savingsTransactionReciept:fi}}]},{path:":savingAccountId/charges",data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:Gn,resolve:{savingsAccountData:He,savingsAccountCharge:ui}}]},{path:":savingAccountId/actions/:name",data:{title:"Savings Account Actions",breadcrumb:"Savings Account Actions",routeParamBreadcrumb:"name"},component:kn,resolve:{savingsAccountActionData:gi}},{path:":savingAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-GDY344BC.js").then(e=>e.AccountTransfersModule)},{path:"gsim-account",children:[{path:"create",data:{title:"Create GSIM Application",breadcrumb:"Create GSIM Application"},component:zn,resolve:{groupsData:qi,savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},children:[{path:"",component:$n,resolve:{gsimData:xi,savingAccountData:He,groupsData:oi}}]}]}]}],$i=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({providers:[He,si,ri,mi,li,Wn,pi,di,ui,gi,fi,vi,Ui,oi,xi],imports:[ii.forChild(f0),ii]})}}return e})();var Wi=(()=>{class e{constructor(){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-savings-transaction-datatable-tab"]],decls:4,vars:3,template:function(s,r){s&1&&(i(0,"p"),t(1),c(2,"translate"),a(),t(3,` `)),s&2&&(o(),v("",m(2,1,"labels.heading.savings-transaction-datatable-tab works"),"!"))},dependencies:[T,P,O],encapsulation:2})}}return e})();var hh=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({imports:[ji,Fi,Ni,$i,kn,Dn,Cn,_n,Bn,Nn,Rn,Vn,se,me,ce,Me,Ln,bn,Sn,Mn,An,Tn,Pn,yn,fn,vn,jn,Ge,Gn,Ue,qe,On,In,En,ze,Un,qn,Hn,wn,$n,zn,Fn,Yn,Qn,Kn,hn,Jn,Wi,Xn,$e]})}}return e})();export{hh as SavingsModule}; diff --git a/browser/shares.module-ZHVNBTYF.js b/browser/shares.module-4RI5JN4U.js similarity index 99% rename from browser/shares.module-ZHVNBTYF.js rename to browser/shares.module-4RI5JN4U.js index 64becb7d0..430b3902f 100644 --- a/browser/shares.module-ZHVNBTYF.js +++ b/browser/shares.module-4RI5JN4U.js @@ -1,4 +1,4 @@ -import{$a as Ze,$b as k,$c as fi,Aa as te,Ab as ci,Ac as re,Ad as Be,Ba as ie,Bc as q,Bd as je,Ca as ne,Cd as Dt,D as Ne,Da as R,Df as wt,E as dt,Ea as e,Fa as u,Fc as oe,Fd as be,Ff as Pi,G as Oe,Ga as S,Gc as $,Ha as P,Hc as se,I as ut,Ic as W,Id as Ai,If as wi,J as y,Jd as Tt,Je as rt,Jf as st,K as I,Kc as ui,Ke as yt,Kf as mt,Lf as Ri,Me as It,Mf as Fi,Nc as Y,Nd as gi,Ne as Et,Oa as N,Oc as hi,Oe as Mt,P as ht,Pa as si,Pe as Pt,Qc as me,Qd as bi,Qe as ot,Ra as m,Rd as Di,Re as Ue,Sa as c,Sb as F,Sd as Ti,Se as De,Ta as ae,Tb as pi,Tc as ce,Td as Le,Te,Ua as mi,Ue as ye,Va as Ce,Vb as z,Vf as Bi,Wb as K,Wc as pe,We as Ie,Xb as li,Xe as Ee,Xf as ki,Yb as ni,Yd as yi,Z as a,Ze as Me,_b as St,_c as le,_e as Pe,ab as qe,ad as T,af as we,ba as x,bb as j,bd as de,bf as Re,ca as b,cd as xi,da as ft,dd as Si,df as Fe,dg as Rt,ed as ue,ga as l,gd as ge,gf as Ve,hd as vi,ia as d,jd as _i,kc as vt,kd as J,lc as _t,ld as he,lf as Ii,ma as i,mc as He,mf as Ei,mg as Ni,na as n,nc as Ct,nf as Mi,oa as f,ob as et,oc as At,od as fe,og as Oi,pa as C,pb as D,pc as gt,pd as X,qa as A,qc as bt,qd as tt,rd as xe,sa as w,sd as it,ta as g,ua as _,uc as di,ud as nt,vc as E,wd as Se,xa as H,xb as xt,xd as ve,yd as _e,zd as Ci,ze as at}from"./chunk-3WJYEYPY.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` +import{$a as Ze,$b as k,$c as fi,Aa as te,Ab as ci,Ac as re,Ad as Be,Ba as ie,Bc as q,Bd as je,Ca as ne,Cd as Dt,D as Ne,Da as R,Df as wt,E as dt,Ea as e,Fa as u,Fc as oe,Fd as be,Ff as Pi,G as Oe,Ga as S,Gc as $,Ha as P,Hc as se,I as ut,Ic as W,Id as Ai,If as wi,J as y,Jd as Tt,Je as rt,Jf as st,K as I,Kc as ui,Ke as yt,Kf as mt,Lf as Ri,Me as It,Mf as Fi,Nc as Y,Nd as gi,Ne as Et,Oa as N,Oc as hi,Oe as Mt,P as ht,Pa as si,Pe as Pt,Qc as me,Qd as bi,Qe as ot,Ra as m,Rd as Di,Re as Ue,Sa as c,Sb as F,Sd as Ti,Se as De,Ta as ae,Tb as pi,Tc as ce,Td as Le,Te,Ua as mi,Ue as ye,Va as Ce,Vb as z,Vf as Bi,Wb as K,Wc as pe,We as Ie,Xb as li,Xe as Ee,Xf as ki,Yb as ni,Yd as yi,Z as a,Ze as Me,_b as St,_c as le,_e as Pe,ab as qe,ad as T,af as we,ba as x,bb as j,bd as de,bf as Re,ca as b,cd as xi,da as ft,dd as Si,df as Fe,dg as Rt,ed as ue,ga as l,gd as ge,gf as Ve,hd as vi,ia as d,jd as _i,kc as vt,kd as J,lc as _t,ld as he,lf as Ii,ma as i,mc as He,mf as Ei,mg as Ni,na as n,nc as Ct,nf as Mi,oa as f,ob as et,oc as At,od as fe,og as Oi,pa as C,pb as D,pc as gt,pd as X,qa as A,qc as bt,qd as tt,rd as xe,sa as w,sd as it,ta as g,ua as _,uc as di,ud as nt,vc as E,wd as Se,xa as H,xb as xt,xd as ve,yd as _e,zd as Ci,ze as at}from"./chunk-WHWF3LGY.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` `),f(2,"mifosx-account-number",32),e(3,` `),n()),t&2){let r=_();a(2),H("accountNo",r.sharesAccountData.clientAccountNo)}}function Qi(t,p){if(t&1&&(i(0,"tr"),e(1,` `),i(2,"td"),e(3),m(4,"translate"),n(),e(5,`