1import{a as De}from"./chunk-JNQIBFWH.js";import{a as Te}from"./chunk-EZRCIEZS.js";import{a as ae}from"./chunk-RL23CMKJ.js";import{a as _e,b as fe,c as Ce}from"./chunk-UJTXFVLU.js";import{d as ye,e as Se,g as be}from"./chunk-BSL22QOB.js";import"./chunk-NJIOGT5G.js";import{a as oe}from"./chunk-WBKEXQKE.js";import{n as ge}from"./chunk-DNWKX7ME.js";import{a as ue}from"./chunk-7RJ7KBOV.js";import"./chunk-EOY6SAP7.js";import{q as pe}from"./chunk-ZGCK3FI7.js";import"./chunk-RVGGNFAO.js";import{J as de}from"./chunk-YJGV56BU.js";import"./chunk-5LNWRJOG.js";import"./chunk-TZCA4BMQ.js";import"./chunk-UX52FRTR.js";import"./chunk-IWYKCUBW.js";import"./chunk-MZ3B3AQU.js";import"./chunk-GJ3HPRCZ.js";import"./chunk-L77O44AU.js";import"./chunk-XZDAMPUP.js";import{b as he}from"./chunk-L27WCSZV.js";import"./chunk-UWULTQAP.js";import"./chunk-RB2YP5E2.js";import{n as le}from"./chunk-QIIVFJNA.js";import"./chunk-KO7CD6JP.js";import"./chunk-6D27RETG.js";import{C as te,h as Z,m as ee}from"./chunk-DJ7NG7WZ.js";import{c as X}from"./chunk-KI4XJKCH.js";import{a as re,c as me,h as Ae,j as xe,k as ve}from"./chunk-NERRRF6P.js";import{v as ie,w as ne}from"./chunk-SXBT3OYT.js";import"./chunk-SN3EPBFH.js";import"./chunk-EHPYMWXB.js";import"./chunk-EUX7SKJZ.js";import"./chunk-7ZFPQAIH.js";import"./chunk-7NPDSOWV.js";import"./chunk-R5IULLQ2.js";import"./chunk-LEKN3M5J.js";import{a as ce,b as se}from"./chunk-KFHTLBNQ.js";import"./chunk-YV5TISNX.js";import{D as J,w as G}from"./chunk-IDF3EASQ.js";import"./chunk-WJESYQVL.js";import{$c as b,B as O,Bc as d,Cb as Q,Cc as n,Dc as o,Ec as S,F as P,Gd as $,Ib as s,Id as j,La as h,Lc as y,Ma as p,Md as B,Rd as K,Sb as k,Uc as m,Wc as l,Xa as g,Zb as U,_c as q,aa as L,ad as A,dc as M,ed as D,ha as z,jd as r,kd as Y,l as T,ld as W,sa as x,t as R,uc as _,wc as f,wd as F}from"./chunk-K6IHZUMJ.js";var N=class{};var V=class{};var Ne=["setupDialog"],Ve=["addDialog"],Pe=["editDialog"],Le=["fetchTransactionsDialog"],ze=["fetchBankAccountsDialog"],Ie=["aiiaBankAccountTable"],we=["aiiaBatchLogTableAll"],He=()=>["name","accountProviderName","currency","youniumPaymentMethod","youniumLastTransactionSync","youniumLastTransactionSyncCount","aiiaLastSynchronized"],ke=()=>["batchNumber","bankAccount","numberOfTransactions","description","totalBatchLogAmount","currency","aiiaSynchronized","youniumTransactionSync","aiiaEnvironment"];function Re(i,u){if(i&1){let e=y();n(0,"yon-button",21),m("onClick",function(){h(e);let t=l();return p(t.redirectAiiaHub())}),r(1," Aiia HUB "),o()}}function Oe(i,u){i&1&&(n(0,"div",14),S(1,"yon-icon",22),n(2,"p",23),r(3,"Connected"),o()()),i&2&&(s(),d("size",40)("weight",350))}function Qe(i,u){if(i&1){let e=y();n(0,"yon-button",24),m("onClick",function(){h(e);let t=l();return p(t.onDisconnect())}),o()}i&2&&d("color","#C70C0C")("size",28)}function Ue(i,u){if(i&1){let e=y();n(0,"yon-button",25),m("onClick",function(){h(e);let t=l();return p(t.onSetup())}),r(1,"CONNECT"),o()}}function qe(i,u){i&1&&(n(0,"div")(1,"p",26)(2,"i"),r(3,"Not connected to Aiia."),o()(),n(4,"p",27),r(5,"Click connect button to start the setup process."),o()())}function Ye(i,u){i&1&&(n(0,"p",29),r(1,"Configure bank accounts and map to payment method."),o())}function We(i,u){i&1&&(n(0,"p",29),r(1," Configure bank accounts and update payment method account settings. To manually fetch payments, click fetch payments for each bank account. "),o())}function $e(i,u){if(i&1){let e=y();n(0,"yon-button",34),m("onClick",function(){h(e),l(2);let t=D(23);return p(t.show())}),r(1,"FETCH BANK ACCOUNTS"),o()}}function je(i,u){if(i&1&&(n(0,"small",31)(1,"i"),r(2),$(3,"date"),o()()),i&2){let e,a=l(2);s(2),W("Last import: ",j(3,1,(e=a.aiiaSettings())==null?null:e.lastAccountSync,"short"))}}function Ke(i,u){i&1&&S(0,"mat-progress-bar",32)}function Ge(i,u){i&1&&(n(0,"p"),r(1,"Select account row above to show batches attached to specific account."),o())}function Je(i,u){if(i&1&&(n(0,"p"),r(1," Batch history for Account: "),n(2,"i"),r(3),o()()),i&2){let e=l(3);s(3),Y(e.selectedBankAccount().name)}}function Xe(i,u){if(i&1){let e=y();n(0,"div")(1,"b",35),r(2,"Batch history"),o(),_(3,Ge,2,0,"p")(4,Je,4,1,"p"),n(5,"div",36)(6,"yon-entity-table",37,9),m("fieldsAreFetched",function(){h(e);let t=l(2);return p(t.setDataSource())}),o()(),n(8,"div",36),S(9,"yon-entity-table",38,10),o()()}if(i&2){let e=l(2);s(3),f(e.isBankAccountSelected()?4:3),s(2),d("hidden",e.isBankAccountSelected()),s(),d("defaultPageSize",10)("defaultFields",F(9,ke)),s(2),d("hidden",!e.isBankAccountSelected()),s(),d("manualTableData",e.tableData())("isManualData",!0)("defaultPageSize",10)("defaultFields",F(10,ke))}}function Ze(i,u){if(i&1){let e=y();n(0,"div")(1,"p",28)(2,"strong"),r(3,"Bank accounts"),o()(),_(4,Ye,2,0,"p",29)(5,We,2,0,"p",29),n(6,"div",30),_(7,$e,2,0,"yon-button"),_(8,je,4,4,"small",31),o(),_(9,Ke,1,0,"mat-progress-bar",32),n(10,"yon-entity-table",33,8),m("selectionChanged",function(t){h(e);let c=l();return c.onSelectBankAccount(t),p(c.filterBatchTableData(t))}),o(),S(12,"br"),_(13,Xe,11,11,"div"),o()}if(i&2){let e,a,t,c=l();s(4),f((e=c.aiiaSettings())!=null&&e.lastAccountSync?5:4),s(3),f(c.isSynchronizingAccounts()?-1:7),s(),f((a=c.aiiaSettings())!=null&&a.lastAccountSync?8:-1),s(),f(c.isLoading()?9:-1),s(),d("defaultPageSize",10)("alwaysSelectFirst",!1)("useCustomEmptyText",!0)("customEmptyText",c.emptyTableText())("defaultFields",F(11,He))("actionColumnButtons",c.bankAccountsActionButtons()),s(3),f((t=c.aiiaSettings())!=null&&t.lastAccountSync?13:-1)}}function et(i,u){if(i&1){let e=y();n(0,"mat-stepper",39),S(1,"mat-step",40)(2,"mat-step",41)(3,"mat-step",42)(4,"mat-step",43),o(),n(5,"h5",44),r(6,"Connect to Aiia"),o(),n(7,"p"),r(8,"Fetch account and transaction data directly into Younium"),o(),n(9,"div",45)(10,"mat-radio-group",46),m("ngModelChange",function(t){h(e);let c=l();return p(c.aiiaEnvironment.set(t))}),n(11,"mat-radio-button",47),r(12,"Connect to Aiia Production"),o(),n(13,"mat-radio-button",47),r(14,"Connect to Aiia Sandbox"),o()(),n(15,"yon-button",48),m("onClick",function(){h(e);let t=l();return p(t.onActivate(t.aiiaEnvironment()))}),r(16," Connect "),o()()}if(i&2){let e=l();s(10),d("ngModel",e.aiiaEnvironment()),s(),d("value","production"),s(2),d("value","sandbox"),s(2),d("disabled",e.isLoading())}}function tt(i,u){if(i&1){let e=y();n(0,"div",49)(1,"h6",50),r(2,"Assign payment method"),o(),n(3,"yon-field",51),m("ngModelChange",function(t){h(e);let c=l();return p(c.selectedPaymentMethodIdToAdd.set(t))}),o(),n(4,"div",52)(5,"yon-button",53),m("onClick",function(){h(e);let t=l();return p(t.addPaymentMethod())}),r(6," ASSIGN "),o(),n(7,"yon-button",34),m("onClick",function(){h(e);let t=l();return p(t.cancelAddPaymentMethod())}),r(8,"CANCEL"),o()()()}if(i&2){let e=l();s(3),d("data",e.paymentMethods())("useWideDropdown",!0)("ngModel",e.selectedPaymentMethodIdToAdd())("isRequired",!0),s(2),d("disabled",!e.selectedPaymentMethodIdToAdd())}}function it(i,u){if(i&1){let e=y();n(0,"div",57)(1,"yon-field",61),m("ngModelChange",function(t){h(e);let c=l(2);return p(c.fetchFromDate.set(t))}),o()()}if(i&2){let e=l(2);s(),d("max",e.getMaxFetchDate())("min",e.getMinFetchDate())("isRequired",!0)("ngModel",e.fetchFromDate())}}function nt(i,u){if(i&1){let e=y();
1n(0,"div",54)(1,"h5",55),r(2,"Select period to fetch"),o(),n(3,"mat-radio-group",56),m("ngModelChange",function(t){h(e);let c=l();return p(c.useCustomDateFetch.set(t))}),n(4,"mat-radio-button",47),r(5,"From last fetch in Aiia until now"),o(),n(6,"mat-radio-button",47),r(7,"Use custom start date until now"),o(),_(8,it,2,4,"div",57),o(),n(9,"div",58),S(10,"i",59),o()(),n(11,"div",60)(12,"yon-button",53),m("onClick",function(){h(e);let t=l();return p(t.synchronizeTransactions())}),r(13," FETCH PAYMENTS "),o(),n(14,"yon-button",34),m("onClick",function(){h(e);let t=l();return p(t.cancelFetchTransactions())}),r(15,"CANCEL"),o()()}if(i&2){let e=l();s(3),d("ngModel",e.useCustomDateFetch()),s(),d("value",!1),s(2),d("value",!0),s(2),f(e.useCustomDateFetch()?8:-1),s(2),d("innerHTML",e.fetchPaymentText(),Q),s(2),d("disabled",e.checkCustomDate())}}function ot(i,u){if(i&1){let e=y();n(0,"div",45)(1,"h4",55),r(2,"Fetch bank accounts"),o(),n(3,"p",28),r(4," This will trigger a new fetch of bank accounts from Aiia, which may mean that the accounts that are currently shown changes. "),o(),n(5,"p"),r(6,"Do you want to update the table by fetching bank accounts again?"),o(),n(7,"div",62)(8,"yon-button",53),m("onClick",function(){h(e);let t=l();return p(t.fetchBankAccounts())}),r(9," FETCH ACCOUNTS "),o(),n(10,"yon-button",34),m("onClick",function(){h(e),l();let t=D(23);return p(t.close())}),r(11,"CANCEL"),o()()()}if(i&2){let e=l();s(8),d("disabled",e.isSynchronizingAccounts())}}var Rt=(()=>{class i{constructor(e,a,t,c){this.notificationService=e,this.aiiaService=a,this.paymentMethodService=t,this.dialogService=c,this.aiiaSettings=g(new V),this.isSynchronizingAccounts=g(!1),this.isBankAccountSelected=g(!1),this.selectedBankAccount=g(new N),this.aiiaEnvironment=g("production"),this.emptyTableText=g(`There is currently no information to show. 2 Click the FETCH BANK ACCOUNTS button above to show bank accounts from Aiia.`),this.fetchPaymentText=g("Transactions that have already been fetched and converted into payments will be ignored.<br> Only transactions in booked state will be fetched. <br> No negative transactions will be converted to payments"),this.isLoading=g(!1),this.bankAccountsActionButtons=g([]),this.tableData=g(void 0),this.paymentMethods=g([]),this.selectedPaymentMethodIdToAdd=g(void 0),this.fetchFromDate=g(new Date),this.useCustomDateFetch=g(!1),this.unsubscribe$=new R,this.isFetchPaymentDisable=C=>!C||C.youniumPaymentMethod===void 0,this.allBatchDataSource=g(new pe),this.checkCustomDate=K(()=>{let C="",v=this.getMaxFetchDate().setHours(0,0,0,0),w=this.getMinFetchDate().setHours(0,0,0,0);return this.useCustomDateFetch()&&(this.fetchFromDate()||(C="Provide a correct value for custom date"),(this.fetchFromDate()?.setHours(0,0,0,0)>v||this.fetchFromDate()?.setHours(0,0,0,0)<w)&&(C="Fetch date must be within a 2 year time span")),C||!1}),this.aiiaService.getSettings().pipe(L(1)).subscribe(C=>{this.aiiaSettings.set(C),this.aiiaSettings().accessTokenValid&&this.aiiaService.checkManualSynch().pipe(x(this.unsubscribe$)).subscribe(v=>{v&&this.dialogService.createConfirmDialog("You need to reconnect one or more of your accounts in Aiia. You will be redirected to an Aiia page where you can reconnect the affected accounts.","Reconnect","OK","CANCEL").then(E=>T(this,null,function*(){E&&(this.isSynchronizingAccounts.set(!0),window.location.assign(v))}))})})}ngOnInit(){this.paymentMethodService.read().pipe(x(this.unsubscribe$)).subscribe(e=>{this.paymentMethods.set(e)}),this.setActionButtons()}setActionButtons(){this.bankAccountsActionButtons.set([{description:"Fetch payments",icon:"credit_score",disable:this.isFetchPaymentDisable,onClick:e=>{this.onSelectBankAccount(e),this.fetchTransactionsDialog.show()}},{description:"Account settings",icon:"settings",onClick:e=>{this.onSelectBankAccount(e),this.addDialog.show()}}])}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}onSetup(){this.setupDialog.show()}onActivate(e){this.isLoading.set(!0),this.aiiaService.activate(e).pipe(x(this.unsubscribe$),z(()=>this.isLoading.set(!1))).subscribe(a=>{a.accessAuthorizationUrl&&window.location.assign(a.accessAuthorizationUrl),this.aiiaSettings.set(a)})}fetchBankAccounts(){return T(this,null,function*(){this.isSynchronizingAccounts.set(!0);try{this.aiiaSettings.set(yield P(this.aiiaService.fetchAccounts())),this.aiiaBankAccountTable.refresh(),this.notificationService.success("Bank account fetch from Aiia completed"),this.isBankAccountSelected.set(!1)}catch(e){this.notificationService.error(e)}finally{this.isSynchronizingAccounts.set(!1),this.fetchBankAccountsDialog.close()}})}synchronizeAccounts(){return T(this,null,function*(){this.dialogService.createConfirmDialog(`This will trigger a new fetch of bank accounts from Aiia, which may mean that the accounts that are currently shown changes. 3 Do you want to update the table by fetching bank accounts again? `,"FETCH BANK ACCOUNTS","FETCH ACCOUNTS","CANCEL").then(a=>T(this,null,function*(){if(a){this.isSynchronizingAccounts.set(!0);try{this.aiiaSettings.set(yield P(this.aiiaService.fetchAccounts())),this.aiiaBankAccountTable.refresh(),this.notificationService.success("Bank account fetch from Aiia completed"),this.isBankAccountSelected.set(!1)}catch(t){this.notificationService.error(t)}finally{this.isSynchronizingAccounts.set(!1)}}}))})}synchronizeTransactions(){return T(this,null,function*(){this.fetchTransactionsDialog.close(),this.isLoading.set(!0),this.aiiaService.fetchTransactions(this.selectedBankAccount()?.aiiaAccountId,this.useCustomDateFetch(),this.fetchFromDate()).pipe(x(this.unsubscribe$),z(()=>{this.onTransactionsFetched()})).subscribe({next:e=>{e.success?this.notificationService.success(e.message):this.notificationService.error(e.message)},error:e=>{this.notificationService.error(e.error.message)}})})}onTransactionsFetched(){this.isBankAccountSelected.set(!1),this.aiiaBankAccountTable.refresh().then(()=>{this.aiiaBankAccountTable.clearRowSelection()}),this.aiiaBatchLogTableAll.refresh(),this.isLoading.set(!1)}redirectAiiaHub(){window.open("https://app.getviia.com/#/hub/login","_blank")}getMaxFetchDate(){return new Date}getMinFetchDate(){var e=new Date;return e.setFullYear(e.getFullYear()-2),e}openTransactionsDialog(){this.fetchTransactionsDialog.show()}cancelFetchTransactions(){this.fetchTransactionsDialog.close()}onDisconnect(){return T(this,null,function*(){(yield this.dialogService.createConfirmDialog("Saved bank accounts will be deleted from Younium. Created payment batches and batch history will remain. You also need to revoke access from Younium in your Aiia hub under Services","WARNING","DISCONNECT","STAY
3CONNECTED"))&&this.aiiaService.disconnectFromAiia().pipe(x(this.unsubscribe$)).subscribe({next:t=>{t&&(this.notificationService.success("Disconnected from Aiia."),this.aiiaService.getSettings().pipe(x(this.unsubscribe$)).subscribe(c=>this.aiiaSettings.set(c)))},error:t=>this.notificationService.error(t.error.message)})})}onSelectBankAccount(e){e?(this.selectedBankAccount.set(e),this.selectedBankAccount().youniumPaymentMethod=e?.youniumPaymentMethod,this.isBankAccountSelected.set(!0)):(this.selectedBankAccount.set(null),this.isBankAccountSelected.set(!1))}setDefaultPaymentMethod(){let e=this.paymentMethods().find(a=>a.name===this.selectedBankAccount().youniumPaymentMethod);this.selectedPaymentMethodIdToAdd.set(e?.id??void 0)}cancelAddPaymentMethod(){this.selectedPaymentMethodIdToAdd.set(null),this.addDialog.close()}addPaymentMethod(){this.aiiaService.addPaymentMethod(this.selectedPaymentMethodIdToAdd(),this.selectedBankAccount()?.aiiaAccountId).pipe(x(this.unsubscribe$)).subscribe({next:e=>{e&&(this.notificationService.success("Payment method was added"),this.aiiaBankAccountTable.refresh(),this.addDialog.close())},error:e=>this.notificationService.error(e.error.message)})}filterBatchTableData(e){e?(this.isBankAccountSelected.set(!0),this.filterData(e).pipe(L(1)).subscribe(a=>{this.tableData.set(a)})):this.isBankAccountSelected.set(!1)}filterData(e){let a=this.allBatchDataSource().data.filter(t=>t.bankAccount===e.name);return O(a)}setDataSource(){this.aiiaBatchLogTableAll&&(this.allBatchDataSource.set(this.aiiaBatchLogTableAll.dataSource),this.isBankAccountSelected()&&this.filterBatchTableData(this.selectedBankAccount()))}resetFetchPaymentsDialog(){this.useCustomDateFetch.set(!1),this.fetchFromDate.set(new Date)}static{this.\u0275fac=function(a){return new(a||i)(k(X),k(De),k(Te),k(oe))}}static{this.\u0275cmp=U({type:i,selectors:[["yon-settings-aiia"]],viewQuery:function(a,t){if(a&1&&q(Ne,5)(Ve,5)(Pe,5)(Le,5)(ze,5)(Ie,5)(we,5)(we,5),a&2){let c;b(c=A())&&(t.setupDialog=c.first),b(c=A())&&(t.addDialog=c.first),b(c=A())&&(t.editDialog=c.first),b(c=A())&&(t.fetchTransactionsDialog=c.first),b(c=A())&&(t.fetchBankAccountsDialog=c.first),b(c=A())&&(t.aiiaBankAccountTable=c.first),b(c=A())&&(t.aiiaBatchLogTableAll=c.first),b(c=A())&&(t.aiiaBatchLogTable=c.first)}},decls:26,vars:19,consts:[["setupDialog",""],["setupDialogContent",""],["addDialog",""],["addDialogContent",""],["fetchTransactionsDialog",""],["fetchTransactionsDialogContent",""],["fetchBankAccountsDialog",""],["fetchBankAccountsDialogContent",""],["aiiaBankAccountTable",""],["aiiaBatchLogTableAll",""],["aiiaBatchLogTable",""],["header","Aiia - Connect to European banks","imageUrl","../../assets/img/aiia/aiia-logo.png",3,"isLoading","imageSize"],["tooltip","Overview and control your financial data "],[1,"flex","items-center","aiia__connect-disconnect-container"],[1,"flex","items-center","aiia__connected-container"],["type","mat-icon-button","buttonIcon","signal_disconnected","tooltip","Disconnect",1,"disconnect-icon-button",3,"color","size"],["color","primary"],["header","Aiia setup",3,"customDialogWidth","customClass","containerTemplate","isLoading"],[3,"onShow","header","customDialogWidth","containerTemplate"],["header","Fetch payments",3,"onClose","customDialogWidth","containerTemplate"],["dialogSize","lg",3,"containerTemplate","customClass"],["tooltip","Overview and control your financial data ",3,"onClick"],["name","done",1,"mr-2","connected-icon",3,"size","weight"],[1,"mb-0","connected-text"],["type","mat-icon-button","buttonIcon","signal_disconnected","tooltip","Disconnect",1,"disconnect-icon-button",3,"onClick","color","size"],["color","primary",3,"onClick"],[1,"mt-2",2,"font-size","1.1em"],[1,"yon-grey","fw-500"],[1,"mb-0"],[1,"width-50"],[1,"flex","items-end","mb-2"],[1,"ml-3"],["mode","indeterminate"],["entity","aiiaAccount","viewName","aiia-account-table",3,"selectionChanged","defaultPageSize","alwaysSelectFirst","useCustomEmptyText","customEmptyText","defaultFields","actionColumnButtons"],[3,"onClick"],[2,"font-size","15.5px"],[3,"hidden"],["entity","aiiaBatchLog","viewName","aiia-batch-log-table",3,"fieldsAreFetched","defaultPageSize","defaultFields"],["entity","aiiaBatchLog","viewName","aiia-batch-log-table",3,"manualTableData","isManualData","defaultPageSize","defaultFields"],["linear","",1,"mb-2"],["label","Connect to Aiia"],["label","Onboarding"],["label","Company registration"],["label","Processing by Aiia"],[1,"fw-500","mb-2"],[1,"flex","flex-column","width-80"],[1,"aiia__radio-button-group",3,"ngModelChange","ngModel"],[3,"value"],[1,"align-self-end",3,"onClick","disabled"],[1,"width-90"],[1,"mb-1","fw-
3500"],["type","select","title","Payment Method","textField","name","valueField","id",1,"mt-1",3,"ngModelChange","data","useWideDropdown","ngModel","isRequired"],[1,"account-settings__button-container"],["color","primary",1,"mr-2",3,"onClick","disabled"],[1,"width-80"],[1,"fw-500"],[1,"flex","flex-column",3,"ngModelChange","ngModel"],[1,"aiia-custom-date-input"],[1,"fetch-payments-text"],[1,"fw-300","font-small",3,"innerHTML"],[1,"flex","justify-end","mt-2","mb-2"],["type","date",3,"ngModelChange","max","min","isRequired","ngModel"],[1,"flex","justify-end","mt-1"]],template:function(a,t){if(a&1&&(n(0,"yon-card",11)(1,"yon-card-header-left"),_(2,Re,2,0,"yon-button",12),o(),n(3,"yon-card-header-right")(4,"div",13),_(5,Oe,4,2,"div",14),_(6,Qe,1,2,"yon-button",15),o(),_(7,Ue,2,0,"yon-button",16),o(),_(8,qe,6,0,"div"),_(9,Ze,14,12,"div"),o(),S(10,"yon-dialog",17,0),M(12,et,17,4,"ng-template",null,1,B),n(14,"yon-dialog",18,2),m("onShow",function(){return t.setDefaultPaymentMethod()}),o(),M(16,tt,9,5,"ng-template",null,3,B),n(18,"yon-dialog",19,4),m("onClose",function(){return t.resetFetchPaymentsDialog()}),o(),M(20,nt,16,6,"ng-template",null,5,B),S(22,"yon-dialog-center",20,6),M(24,ot,12,1,"ng-template",null,7,B)),a&2){let c,C,v,w,E,I,H,Me=D(13),Be=D(17),Ee=D(21),Fe=D(25);d("isLoading",t.isSynchronizingAccounts())("imageSize","lg"),s(2),f((c=t.aiiaSettings())!=null&&c.isIntegrationActive?2:-1),s(3),f((C=t.aiiaSettings())!=null&&C.isIntegrationActive?5:-1),s(),f((v=t.aiiaSettings())!=null&&v.isIntegrationActive?6:-1),s(),f((w=t.aiiaSettings())!=null&&w.isIntegrationActive?-1:7),s(),f((E=t.aiiaSettings())!=null&&E.isIntegrationActive?-1:8),s(),f((I=t.aiiaSettings())!=null&&I.isIntegrationActive?9:-1),s(),d("customDialogWidth","550px")("customClass","aiia-setup-dialog")("containerTemplate",Me)("isLoading",t.isLoading()),s(4),d("header","Payment method for "+((H=t.selectedBankAccount())==null?null:H.name))("customDialogWidth","550px")("containerTemplate",Be),s(4),d("customDialogWidth","550px")("containerTemplate",Ee),s(4),d("containerTemplate",Fe)("customClass","fetch-bank-accounts-popup__dialog")}},dependencies:[J,te,Z,ee,Ae,xe,ne,ge,ue,de,se,ce,le,he,ie,Ce,_e,fe,be,ye,Se,me,ve,re,G],encapsulation:2,data:{animation:[ae.slideInOut]}})}}return i})();export{Rt as SettingsAiiaComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.