1import{i as e,r as t,t as n}from"./standalone-app-Bj-IdwrG.js";import{n as r,r as i}from"./polymer-C_GypsRJ.js";import{E as a,_ as o,d as ee,l as s,p as c,u as l,v as u,x as d}from"./institution-DyFDvNu6.js";import{n as f,t as te}from"./user-BMje1Le7.js";import{t as p}from"./display-strings-MZHh2uw2.js";import{t as m}from"./paths-BjKNBopk.js";import{n as h,t as g}from"./page-B8YwBOEr.js";import{t as ne}from"./date-URgChy6n.js";import{t as re}from"./localstorage-CrjOLZ-F.js";import{t as _}from"./phone-CyPjF9av.js";import{$n as ie,$t as ae,Jt as oe,Mn as se,Qt as v,Sr as y,Tt as ce,Vn as le,Yt as ue,_r as b,dr as de,en as x,er as fe,i as S,nt as pe,o as C,ot as w,sn as T,sr as me,wt as he,xr as ge,xt as _e,yr as ve}from"./main-5Sl8yySz.js";import"./jha-card-DC-UH8vN.js";import"./jha-card-header-D2XWRnD9.js";import"./jha-button-Dyau4S4K.js";import{t as E}from"./observable-models-D0t-na9H.js";import{t as D}from"./language-utils-DMDnwVwz.js";import"./bannoweb-flex-wrapper-DLiUDxGK.js";import"./bannoweb-confirmation-DnbjNe7C.js";import{n as O}from"./banno-styles-B3iGgKv1.js";import"./jha-dropdown-toggle-BD-PhqOy.js";import"./jha-slider-pane-CG5LkspN.js";import{t as ye}from"./high-risk-Bokt2EDh.js";import"./jha-flex-wrapper-DmIt29Hs.js";import{t as k}from"./observable-models-lit-Conecq5s.js";import{r as be,t as xe}from"./sso-utils-BtlATq0e.js";import{t as A}from"./async-dialog-Bj6--dJf.js";import"./bannoweb-footer-BHfy0Tct.js";import{t as j}from"./color-scheme-images-xlieek3s.js";import"./bannoweb-connect-institution-select-2fa-method-BLn4Kcr5.js";import"./bannoweb-user-avatar-DEbvKHs4.js";import{t as Se}from"./bannoweb-add-account-menu-CcJgcIhV.js";import{t as Ce}from"./iframe-resize-DPWceWuB.js";import{Q as M}from"./merchant-utils-DCUCb9GZ.js";import{t as we}from"./sidebar-mixin-BvUkr-mW.js";import"./bannoweb-core-offline-banner-d7dV8U78.js";import{t as Te}from"./bannoweb-link-toast-h4fCZG4V.js";function Ee(e){if(!e)return`unknown controller`;for(let[t,n]of Object.entries(C))if(n===e)return t;return`unknown controller`}function De(e,t){let n=e.message||e.url||Ee(t),r=e.error||e.detail||{};return{message:`Load Controller Error - ${n}`,data:{extra:{type:`loadFailed`},method:r.method||e.method,url:r.url||e.url,statusCode:r.statusCode||e.statusCode||e.httpStatusCode}}}var N=pe.WireAbilities,Oe=[{id:h.BANNOWEB_DASHBOARD,url:m.BANNOWEB_DASHBOARD,title:`Dashboard`,icon:`dashboard`},{id:h.BANNOWEB_MESSAGES,url:m.BANNOWEB_MESSAGES,title:`Messages`,icon:`mail`,associatedRoutes:[h.BANNOWEB_MESSAGES_DETAIL]},{id:h.BANNOWEB_ACCOUNTS,url:b.url(m.BANNOWEB_ACCOUNTS),title:`Accounts`,icon:`wallet`},{id:h.BANNOWEB_TRANSFERS,url:m.BANNOWEB_TRANSFERS,title:`Transfers`,icon:`transfer`,abilityCheck:e=>e.abilities.schedulableTransfers},{id:h.BANNOWEB_TRANSFERS,url:m.BANNOWEB_RAPID_TRANSFERS,title:`Transfers`,icon:`transfer`,abilityCheck:e=>{let t=e.abilities?.moovPullFromCard||e.abilities?.moovPushToCard;return!e.abilities.schedulableTransfers&&t}},{sso:s.POWER_M2M_TRANSFERS},{id:h.BANNOWEB_REMOTE_DEPOSITS,url:m.BANNOWEB_REMOTE_DEPOSITS,title:`Remote deposits`,icon:`deposit`,associatedRoutes:[h.BANNOWEB_REMOTE_DEPOSITS_ADD_ACCOUNT],abilityCheck:e=>e.abilities.rdc&&e.abilities.clientSideRDCProvider!==`Ensenta`},{id:h.BANNOWEB_ENSENTA_REMOTE_DEPOSITS,url:m.BANNOWEB_ENSENTA_REMOTE_DEPOSITS,title:`Deposit checks`,icon:`deposit`,abilityCheck:e=>e.abilities.rdc&&e.abilities.clientSideRDCProvider===`Ensenta`},{id:`payments-menu`,title:`Payments`,icon:`bill`,links:[{id:h.BANNOWEB_BILL_PAY,url:m.BANNOWEB_BILL_PAY,title:`Bill pay`,icon:`bill`,associatedRoutes:[h.BANNOWEB_ADD_PAYEE,h.BANNOWEB_PAY,h.BANNOWEB_PAY_MULTIPLE,h.BANNOWEB_SSO_PAYMENTS],abilityCheck:e=>e.abilities.billPay},{sso:s.RESPONSIVE_BILL_PAY},{id:`zelle`,url:`/zelle`,title:`Send money with Zelle®`,icon:`circle-dollar`,associatedRoutes:[h.BANNOWEB_ZELLE_ACCEPT_REQUEST,h.BANNOWEB_ZELLE_ENROLLMENT,h.BANNOWEB_ZELLE_MANAGE_RECIPIENTS,h.BANNOWEB_ZELLE_MANAGE_PAYMENT_PROFILES,h.BANNOWEB_ZELLE_OVERVIEW,h.BANNOWEB_ZELLE_REQUEST,h.BANNOWEB_ZELLE_SEND],abilityCheck:e=>me.hasZelleAbility(e.abilities.zelle)},{sso:s.POSITIVE_PAY},{sso:s.POWER_SKIP_PAYMENT},{id:h.BANNOWEB_POSITIVE_PAY,url:m.BANNOWEB_POSITIVE_PAY,title:`Positive pay`,icon:`wires`,abilityCheck:e=>e.abilities.positivePay},{id:h.BANNOWEB_ACH_PAYMENTS,url:m.BANNOWEB_ACH_PAYMENTS,title:`ACH`,icon:`ach`,associatedRoutes:[h.BANNOWEB_ACH_PAYMENTS_INITIATE,h.BANNOWEB_ACH_PAYMENTS_UPLOAD,h.BANNOWEB_ACH_BATCH_CREATE,h.BANNOWEB_ACH_BATCH_EDIT,h.BANNOWEB_ACH_BATCH_DETAIL,h.BANNOWEB_ACH_BATCH_RECIPIENTS,h.BANNOWEB_ACH_BATCH_RECIPIENTS_EDIT,h.BANNOWEB_ACH_BULK_INITIATE,h.BANNOWEB_ACH_TAX_CREATE,h.BANNOWEB_ACH_SEARCH_RECIPIENTS],abilityCheck:e=>e.abilities.ach},{id:h.BANNOWEB_RETAIL_WIRES,url:`/payments/wire-transfers`,title:`Wires`,icon:`wires`,associatedRoutes:[],abilityCheck:()=>C.store.user.hasRetailWireAbility},{id:h.BANNOWEB_WIRES_PAYMENTS,url:`/payments/wires`,title:`Wires`,icon:`wires`,associatedRoutes:[h.BANNOWEB_CREATE_WIRE,h.BANNOWEB_WIRE_INITIATE],abilityCheck:e=>e.abilities.wires},{id:h.BANNOWEB_ACH,url:m.BANNOWEB_ACH,title:`Approve ACH`,icon:`ach`,abilityCheck:e=>e.smallBusinessSettings.ach},{id:h.BANNOWEB_WIRES,url:m.BANNOWEB_WIRES,title:`Approve wires`,icon:`wires`,abilityCheck:e=>[N.SINGLE,N.DUAL].includes(e.smallBusinessSettings.wire)}]},{sso:s.POWER_FULL_VIEW},{sso:s.CASH_MANAGEMENT},{sso:s.INVOICES},{sso:s.DEBT_RELIEF},{sso:s.POWER_MAIN_LOAN_APPLICATION},{sso:s.POWER_SECONDARY_LOAN_APPLICATION},{sso:s.PAYROLL_PROTECTION_PROGRAM},{sso:s.FOREIGN_CURRENCY},{sso:s.BROKERAGE_TOOLS},{sso:s.BROKERAGE_TOOLS_2},{sso:s.PORTFOLIO_MANAGEMENT},{id:`insights-menu`,title:`Insights`,icon:`lightbulb`,abilityCheck:e=>e.abilities.geezeoInsights&&!!e.getLink(s.BUDGET_TOOLS),links:[{id:h.BANNOWEB_INSIGHTS,title:`Overview`,url:m.BANNOWEB_INSIGHTS},{id:`budgets`,title:`Budgets`,sso:s.BUDGET_TOOLS,route:l.BUDGETS},{id:`cashflow`,title:`Cashflow`,sso:s.BUDGET_TOOLS,route:l.CASHFLOW},{id:`goals`,title:`Goals`,sso:s.BUDGET_TOOLS,route:l.GOALS},{id:`networth`,title:`Net worth`,sso:s.BUDGET_TOOLS,route:l.NETWORTH},{id:`analyzer`,title:`Spending by category`,sso:s.BUDGET_TOOLS,route:l.SPENDING_BY_CATEGORY}]}
1,{id:`reports-menu`,url:`/reports/prior-day`,title:`Reports`,icon:`invoice`,abilityCheck:e=>e.abilities.cashManagementReports},{sso:s.CARD_CONTROLS_PP_MAIN},{sso:s.REWARDS_MAIN},{sso:s.CARD_CONTROLS_ONLINE},{sso:s.POWER_CARD_CONTROLS},{sso:s.POWER_MAIN_REWARDS},{sso:s.CREDIT_SCORE},{sso:s.CHARITABLE_GIVING},{sso:s.FORMS},{sso:s.POWER_FORMS},{id:h.BANNOWEB_FORMS,url:m.BANNOWEB_FORMS,title:`Forms`,icon:`form`,abilityCheck:e=>e.abilities.selfServiceForms},{sso:s.CHECK_PROCESSING},{sso:s.INSTITUTION_DEFINED_1},{sso:s.INSTITUTION_DEFINED_2},{sso:s.INSTITUTION_DEFINED_3},{sso:s.INSTITUTION_DEFINED_4},{sso:s.INSTITUTION_DEFINED_5},{id:h.BANNOWEB_SUPPORT,url:m.BANNOWEB_SUPPORT,title:`Support`,icon:`help`}],ke=class{constructor(e){this._institution=e}get links(){return this.displayLinks(Oe)}displayLinks(e){return e.filter(this.linkFilter.bind(this)).map(this.getLink.bind(this))}linkFilter(e){let t=!e.abilityCheck||e.abilityCheck(this._institution)===!0;return e.sso?t&&!!this._institution.getLink(e.sso):e.links&&this.displayLinks(e.links).length===0?!1:t}getLink(e){if(e.sso)return this.getSsoLink(e);if(e.links&&e.links.length>0){let t=this.displayLinks(e.links);return{...e,links:t}}return e}getSsoLink(e){let t=this._institution.getLink(e.sso);return t?{id:e.id||t.linkType,title:e.title||t.title,icon:ee.get(t.linkType),url:be(t,null,e.route),fdicNotice:t.fdicNotice}:null}};window.BannowebMenuGroupElement=class extends o{static get is(){return`bannoweb-menu-group`}static get properties(){return{menuTitle:String,open:{type:Boolean,reflect:!0,attribute:`open`},active:{type:Boolean,reflect:!0,attribute:`active`},flattened:{type:Boolean,reflect:!0,attribute:`flattened`},empty:{type:Boolean,reflect:!0,attribute:`empty`}}}constructor(){super(),n(()=>import(`./jha-icon-chevron-down-CppozcK0.js`),[]),this.menuTitle=``,this.open=!1,this.active=!1,this.flattened=!1,this.empty=!1}get _slottedChildren(){let e=this.shadowRoot.querySelector(`#content slot`);return e?e.assignedNodes({flatten:!0}).filter(e=>e.nodeType==Node.ELEMENT_NODE):[]}updateMenu(e){this._slottedChildren.length<3?(this.open=!0,this.flattened=!0):(this._slottedChildren.forEach(e=>e.hideIcon=!0),this.flattened=!1,this.open=this.active),this._slottedChildren.length===0&&(this.empty=!0)}toggleOpen(e){e.stopPropagation(),this.open=!this.open}static get styles(){return[O,a`:host{display:block;position:relative}#toggle{box-sizing:border-box;cursor:pointer;width:100%;height:48px;color:var(--menu-text-color);touch-action:manipulation;-webkit-touch-callout:none;background-color:#0000;border:0;align-items:center;padding:0 16px 0 63px;font-size:16px;text-decoration:none;display:flex;position:relative}:host([empty]){display:none}:host([active]:not([open])) #toggle{background-color:var(--menu-item-selected-color);fill:var(--menu-text-selected-color)}:host([active]:not([open])) #toggle:before{content:"";background:var(--body-text-theme-color);width:4px;position:absolute;top:0;bottom:0;left:0}#toggle:hover{color:var(--menu-text-pressed-color);background:var(--menu-item-pressed-color)}
1:host([flattened]) #toggle{display:none}button:hover ::slotted(*){fill:var(--menu-icon-pressed-color)!important}.contents{display:none}:host([open]) .contents{display:block}.contents ::slotted(*){padding-left:63px!important}.contents[flat] ::slotted(*){padding-left:max(16px, env(safe-area-inset-right))!important}jha-icon-chevron-down{fill:var(--menu-text-color);margin-left:auto;transition:transform .2s ease-in-out}#toggle:hover jha-icon-chevron-down{fill:var(--menu-text-pressed-color)}:host([open]) jha-icon-chevron-down{transform:rotate(-180deg)}.icon{position:absolute;top:8px;left:16px}`]}renderMenuButton(){return this.flattened?``:d`<button type="button" id="toggle" class="reset" @click="${this.toggleOpen}"> <div class="icon"> <slot name="icon"></slot> </div> ${this.menuTitle} <jha-icon-chevron-down></jha-icon-chevron-down> </button>`}render(){return d`${this.renderMenuButton()} <div ?flat="${this.flattened}" class="contents" id="content"> <slot @slotchange="${this.updateMenu}"></slot> </div>`}},customElements.define(window.BannowebMenuGroupElement.is,window.BannowebMenuGroupElement),window.BannowebMenuGroupElement;var Ae=k(o);window.BannowebMessageBadgeElement=class extends Ae{static get is(){return`bannoweb-message-badge`}static get properties(){return{messages:{type:Object},showTooltip:{type:Boolean,reflect:!0,attribute:`show-tooltip`},lastUpdateTime:{type:String},displayCount:{type:Boolean,reflect:!0,attribute:`displaycount`},unreadMessages:{type:Number},unreadAlerts:{type:Number}}}constructor(){super(),this.messagesSubscription_,this.debounceMessagesChange_=null,this.messages=C.store.messages,this.showTooltip=!1,this.lastUpdateTime=``,this.displayCount=!1,this.unreadMessages=0,this.unreadAlerts=0}connectedCallback(){super.connectedCallback(),this.messagesSubscription_=c.from(this.messages).subscribe(this.onMessagesChanged_.bind(this)),this.onMessagesChanged_()}disconnectedCallback(){super.disconnectedCallback(),this.messagesSubscription_&&this.messagesSubscription_.unsubscribe(),this.messagesSubscription_=null}onMessagesChanged_(){clearTimeout(this.debounceMessagesChange_),this.debounceMessagesChange_=setTimeout(this.updateCount_.bind(this),250)}updateCount_(){this.unreadMessages=this.getUnreadMessagesCount_(this.messages.items),this.unreadAlerts=this.getUnreadAlertsCount_(this.messages.items),this.updateAppBadge(this.unreadMessages,this.unreadAlerts)}hasUnread_(){return!!(this.unreadMessages||this.unreadAlerts)}updateAppBadge(e,t){if(`setAppBadge`in navigator&&`clearAppBadge`in navigator)try{e||t?navigator.setAppBadge(e+t):navigator.clearAppBadge()}catch{}}unreadCount(){return this.displayCount?(this.unreadMessages+this.unreadAlerts).toString():``}getUnreadAlertsCount_(e=[]){return e.filter(e=>e instanceof fe&&!e.read).length}getUnreadMessagesCount_(e=[]){return e.filter(e=>e instanceof le&&e.unreadMessageCount>0||e instanceof ie&&!e.read).length}getCountMessage(){if(!this.unreadMessages&&!this.unreadAlerts)return`You have no unread messages.`;let e=this.unreadAlerts?`${this.unreadAlerts} ${this.unreadAlerts===1?`alert`:`alerts`}`:``,t=this.unreadMessages?`${this.unreadMessages} ${this.unreadMessages===1?`message`:`messages`}`:``;return e?t?`${e}, ${t}`:e:t}static get styles(){return a`:host{justify-content:center;align-items:center;display:flex}div{position:relative}span{background:var(--indicator-background-color);border:1px solid var(--primary-content-background-color);color:var(--indicator-text-color);z-index:1;border-radius:12px;padding:4px;position:absolute;top:0;right:-3px}:host([displaycount]) span{justify-content:center;align-items:center;min-width:8px;height:8px;font-size:12px;display:flex;top:-10px;right:0}`}render(){return d`<div> ${this.hasUnread_()?d`<span>${this.unreadCount()}</span>`:``} ${this.showTooltip?d`<jha-tooltip bottom-left text="${this.getCountMessage()}"> <slot></slot> </jha-tooltip>`:``} ${this.showTooltip?``:d`<slot></slot>`} </div>`}},customElements.define(window.BannowebMessageBadgeElement.is,window.BannowebMessageBadgeElement),window.BannowebMessageBadgeElement;var je=ye(o);window.BannowebNavigationElement=class extends je{static get is(){return`bannoweb-navigation`}static get properties(){return{links:{type:Array},activeLink:{type:String},focusFirstItem:{type:Boolean}}}constructor(){super(),n(()=>
1import(`./bannoweb-shared-icons-CVhKuhWm.js`),[]),this.links=[],this.activeLink=null,this.focusFirstItem=!1}firstUpdated(e){if(super.firstUpdated(e),this.focusFirstItem){let e=this.shadowRoot?.querySelector(`a`);e&&e.focus()}}get activeMenu(){let e=this.links.find(e=>(e.links||[]).some(e=>this.isActiveLink(e)));return e?e.id:``}isActiveLink(e){return e.id===this.activeLink||window.location.pathname===e.url||(e.associatedRoutes||[]).includes(this.activeLink)}handleHRALinkClick(e,t){e.preventDefault(),e.stopPropagation(),this.doHighRisk(()=>{window.location.href=t})}static get styles(){return a`a{box-sizing:border-box;cursor:pointer;text-align:left;width:100%;height:48px;color:var(--menu-text-color);border-width:0;outline:none;align-items:center;padding:0 16px;font-size:16px;text-decoration:none;display:flex;position:relative}a>div{flex-grow:1}a:hover,a:focus-visible{color:var(--menu-text-pressed-color);background-color:var(--menu-item-pressed-color)}bannoweb-shared-icons{background-color:var(--menu-icon-background-color);width:24px;height:24px;fill:var(--menu-icon-color);border-radius:50%;flex-shrink:0;margin-right:10px;padding:6px}a[is-active],a:active{background-color:var(--menu-item-selected-color);color:var(--menu-text-selected-color);fill:var(--menu-text-selected-color);font-weight:500}a:hover bannoweb-shared-icons{background-color:var(--menu-icon-background-pressed-color);fill:var(--menu-icon-pressed-color)}a[is-active] bannoweb-shared-icons{background-color:var(--menu-icon-background-selected-color);fill:var(--menu-icon-selected-color)}a[is-active]:before{content:"";background:var(--menu-item-selected-accent-color);width:4px;position:absolute;top:0;bottom:0;left:0}bannoweb-menu-group a bannoweb-shared-icons{display:none}bannoweb-menu-group[flattened] a bannoweb-shared-icons{display:block}@supports (width:max(0px, 1px)){a{padding-left:max(16px, env(safe-area-inset-right))}}`}async handleClickFdicNotice(e,t){e.preventDefault();let{default:r}=await n(async()=>{let{default:e}=await import(`./bannoweb-fdic-speedbump-dialog-RrK9Mrfw.js`);return{default:e}},[]),i=t.url,a=t&&t.fdicNotice;if(a)try{let e=new r;e.title=`Notice`,e.description=a,await A.showDialog({el:e,smallMobile:!0,hideHeader:!0,confirmButtonText:`Continue`,confirmButtonHref:i,cancelButtonText:`Cancel`}),A.closeDialog()}catch{return}else window.location.href=i}renderLink(e){return e.url?d`<a href="${e.url}" aria-current="${this.isActiveLink(e)}" ?is-active="${this.isActiveLink(e)}" @click="${e.fdicNotice?t=>this.handleClickFdicNotice(t,e):[s.POWER_M2M_TRANSFERS,s.CARD_CONTROLS_PP_MAIN].includes(e.id)?t=>this.handleHRALinkClick(t,e.url):null}"> ${e.icon?d`<bannoweb-shared-icons .icon="${e.icon}"></bannoweb-shared-icons>`:``} <div>${e.title}</div> ${e.id===h.BANNOWEB_MESSAGES?d`<bannoweb-message-badge displaycount></bannoweb-message-badge>`:``} </a>`:``}renderMenuGroup(e){return d`<bannoweb-menu-group .menuTitle="${e.title}" id="${e.id}" ?active="${e.id===this.activeMenu}"> ${e.icon?d`<bannoweb-shared-icons slot="icon" .icon="${e.icon}"></bannoweb-shared-icons>`:``} ${e.links.map(e=>this.renderLink(e))} </bannoweb-menu-group>`}render(){return this.links.length===0?d``:d`<nav> ${this.links.map(e=>e.links&&e.links.length?this.renderMenuGroup(e):this.renderLink(e))} </nav>`}},customElements.define(window.BannowebNavigationElement.is,window.BannowebNavigationElement),window.BannowebNavigationElement;var Me=C.store.user,Ne=E(j(we(D(r))));window.BannowebSidebarElement=class extends Ne{static get is(){return`bannoweb-sidebar`}static get properties(){return{linkTypes_:{type:Object},user:{type:Object},focusFirstItem:{type:Boolean},updatedLinks:{type:Array},organizationDetailsLoaded:{type:Boolean,value:!1}}}constructor(){super(),n(()=>import(`./jha-icon-circle-plus-BLEvKI6Q.js`),[]),n(()=>import(`./jha-icon-logout-DY2KNqio.js`),[]),n(()=>import(`./jha-icon-settings-C7rsThmY.js`),[]),n(()=>import(`./jha-icon-chevron-up-Dr9NZ788.js`),[]),n(()=>import(`./jha-icon-circle-user-CHyVpWt6.js`),[]),n(()=>import(`./jha-icon-business-gwqZpHgV.js`),[]),n(()=>import(`./jha-icon-tools-BMGqHAYw.js`),[]),n(()=>import(`./bannoweb-sso-redirect-link-C1r9q3Io.js`),[]),this._navigation=void 0,this.linkTypes_=s,this.user=Me,this.focusFirstItem=!1,this.updatedLinks=[],this.boundOnOrganizationDetail
1sLoaded_=e=>this.onOrganizationDetailsLoaded_(e),this.loadRetailWiresAccess(),this.loadMerchantEnrollmentStatus()}connectedCallback(){super.connectedCallback(),C.loginController.addEventListener(v.EventType.ORGANIZATION_DETAILS_LOADED,this.boundOnOrganizationDetailsLoaded_)}disconnectedCallback(){super.disconnectedCallback(),C.loginController.removeEventListener(v.EventType.ORGANIZATION_DETAILS_LOADED,this.boundOnOrganizationDetailsLoaded_)}logoutUrl(){return C.loginController.logoutUrl()}logout(e){e.preventDefault(),C.loginController.logout(void 0,e.currentTarget.href)}onOrganizationDetailsLoaded_(e){this.organizationDetailsLoaded=!0}getNavigationLinks(...e){return this._navigation||=new ke(this.institution),this.updatedLinks.length?this.updatedLinks:this._navigation.links}async loadRetailWiresAccess(){try{if(!await T.evaluate(`retail-wires`)){C.store.user.hasRetailWireAbility=!1;return}if(!C.store.institution.abilities.graphEnabled){C.store.user.hasRetailWireAbility=!1;return}let e=await C.retailWiresController.hasWiresAccess();C.store.user.hasRetailWireAbility=e,this.updatedLinks.length&&this._navigation&&this.loadMerchantEnrollmentStatus()}catch{C.store.user.hasRetailWireAbility=!1}}async loadMerchantEnrollmentStatus(){if(!C.store.institution.abilities.merchantAcquisition||(await C.merchantController.fetchEnrollmentStatus(),!M()))return;let e=this._navigation.links.slice(0,3),t=this._navigation.links.slice(3,this._navigation.links.length),n=[...e,{id:h.BANNOWEB_MERCHANT_DASHBOARD,url:m.BANNOWEB_MERCHANT_DASHBOARD,title:`Merchant`,icon:`sba`,associatedRoutes:[h.BANNOWEB_MERCHANT_ENROLLMENT,h.BANNOWEB_MERCHANT_ENROLLMENT_MOBILE,h.BANNOWEB_MERCHANT_ACCEPT_PAYMENT,h.BANNOWEB_MERCHANT_LINKS,h.BANNOWEB_MERCHANT_CUSTOMERS,h.BANNOWEB_MERCHANT_INVOICES,h.BANNOWEB_MERCHANT_DISPUTES,h.BANNOWEB_MERCHANT_PRODUCT_CATALOG],abilityCheck:e=>e.abilities?.merchantAcquisition},...t];this.updatedLinks=n}getAddAccountText(){let{accountOpeningLinksLabelText:e}=this.institution.displayStrings;return!e||e===`Add an account`?`Add an account`:e}getUsername(e,t,n){return e||(t&&n?`${t} ${n}`:t||n||null)}getUserMenuAriaLabel(){return`user menu`}getDashboardAriaLabel(){return`Dashboard`}openAccountMenu_(e){e.preventDefault(),e.stopPropagation();let t=new Se;t.menuLabel=this.getAddAccountText(),t.isAccountOpening=!0;let n=document.querySelector(`banno-web`);n&&n.dispatchEvent(new S(t))}showManageUsersLink(e,t,n){return e&&t&&t.profile&&t.profile.organization&&t.profile.organization.adminLevel!==te.AdminLevel.USER}showOpenAccountButton(...e){return!!(this.institution.getLink(s.ACCOUNT_OPENING)||this.institution.getLink(s.LOAN_ACCOUNT_OPENING)||this.institution.getLink(s.POWER_OPEN_SUBSHARE))}isOrgMember(e,...t){return!!e?.profile?.organization?.summary}static get template(){return i`<style>:host{touch-action:manipulation;-webkit-tap-highlight-color:#0000;border-right:1px solid var(--menu-divider-color,#b3bfc9);display:block;@apply --base-font-styles;color:var(--menu-text-color);z-index:2;width:272px;position:fixed;top:0;bottom:0;left:0}@supports (width:max(0px, 1px)){:host{width:max(272px, calc(272px + env(safe-area-inset-left)))}}.fi-logo{border-bottom:1px solid var(--menu-divider-color);justify-content:center;align-items:center;padding:8px 0;display:flex}div#content{box-sizing:border-box;background-color:var(--menu-background-color);flex-direction:column;height:100%;display:flex}bannoweb-navigation{flex-grow:1;flex-shrink:1;margin-top:12px;margin-bottom:64px;padding-bottom:16px;overflow-y:auto}bannoweb-sso-redirect-link{--sso-link-font-size:16px;--link-icon-hover-background:var(--menu-item-pressed-color)}jha-dropdown bannoweb-sso-redirect-link{--sso-link-padding:0;--sso-link-width:100%;padding:0}jha-dropdown button,jha-dropdown a,jha-dropdown bannoweb-sso-redirect-link{@apply --base-font-styles;box-sizing:border-box;cursor:pointer;text-align:left;border-width:0;width:100%;height:48px;padding:0 16px;font-size:16px;@apply --flex-space-between;touch-action:manipulation;-webkit-touch-callout:none;--sso-link-font-size:16px;--sso-link-color:var(--menu-text-color);--sso-link-hover-color:var(--menu-text-pressed-color);--sso-link-hover-background:var(--menu-item-pressed-color);--link-icon-hover-background:var(--menu-icon-pressed-color);background-color:#0000;outline:none;text-decoration:none;position:relative}jha-dropdown button,jha-dropdown a{color:var(--menu-text-color)}@supports (width:max(0px, 1px)){jha-dropdown button,jha-dropdown a{padding-left:max(16px, env(safe-area-inset-right))}bannoweb-sso-redirect-link[has-link],jha-dropdown bannoweb-sso-redirect-link[has-link]{--sso-link-padding:0 16px 0 max(16px, env(safe-area-inset-right));--sso-link-height:48px;padding:0}}jha-dropdown-toggle{outline:none}jha-dropdown-menu-item:hover a,jha-dropdown-menu-item:hover button,jha-dropdown-toggle button:hover,jha-dropdown-toggle:focus,jha-dropdown-toggle:focus-within{color:var(--menu-text-pressed-color);background-color:var(--menu-item-pressed-color)}.icon{background-color:var(--menu-icon-background-color);width:24px;height:24px;
1fill:var(--menu-icon-color);border-radius:50%;flex-shrink:0;margin-right:10px;padding:6px}bannoweb-sso-redirect-link{--jha-icon-color:var(--menu-icon-color)}hr{border:none;border-top:1px solid var(--menu-divider-color)}.sidebar-user-menu{border-top:1px solid var(--menu-divider-color);background:var(--menu-background-color);position:absolute;bottom:0;left:0;right:0}.sidebar-user-menu-dropup{padding-top:12px}.sidebar-user-menu-toggle{height:64px}jha-dropdown-menu-item button,jha-dropdown-menu-item a{justify-content:flex-start}jha-dropdown-toggle jha-icon-chevron-up{fill:var(--menu-text-color);transition:transform .2s ease-in-out}button:hover jha-icon-chevron-up{fill:var(--menu-text-pressed-color)}jha-dropdown-toggle[is-active] jha-icon-chevron-up{transform:rotate(180deg)}bannoweb-user-avatar{width:36px;height:36px;box-shadow:0 0 1px 0 var(--menu-text-color);margin-right:12px}jha-dropdown-menu{background:var(--menu-background-color);border-radius:0;top:auto;bottom:63px;left:0;box-shadow:0 -3px 4px -2px #0003}jha-dropdown-menu-item{--jha-dropdown-menu-item-text-color:var(--menu-text-color);--jha-dropdown-menu-item-text-hover-color:var(--menu-text-pressed-color);--link-icon-hover-background:var(--menu-text-pressed-color);--sso-link-hover-color:var(--menu-text-pressed-color);--jha-component-background-color:var(--menu-background-color);border-radius:0}jha-dropdown-menu-item:hover{--menu-icon-color:var(--menu-icon-pressed-color)}jha-dropdown-toggle button{width:100%}.org-name{background:var(--secondary-content-background-color);max-width:150px;color:var(--body-text-primary-color);white-space:nowrap;text-overflow:ellipsis;border-radius:4px;align-items:center;gap:4px;margin-top:4px;padding:2px;font-size:12px;font-weight:500;display:flex;overflow:hidden}
1jha-icon-business{fill:var(--body-text-primary-color);flex-shrink:0;width:14px;height:14px}</style> <div id="content"> <div class="fi-logo"> <a href="/" aria-label="[[getDashboardAriaLabel()]]"> <img role="presentation" src="[[menuLogoImage]]" alt="[[institution.name]]" height="60"> </a> </div> <bannoweb-navigation links="[[getNavigationLinks(institution.abilities, institution.links.length, updatedLinks, user.hasRetailWireAbility)]]" active-link="[[routeId]]" focus-first-item="[[focusFirstItem]]"></bannoweb-navigation> <jha-dropdown class="sidebar-user-menu"> <jha-dropdown-toggle slot="toggle"> <button type="button" aria-label="[[getUserMenuAriaLabel()]]" class="sidebar-user-menu-toggle toggle-button"> <bannoweb-flex-wrapper> <bannoweb-user-avatar aria-hidden="true" user-id="[[user.id]]"></bannoweb-user-avatar> <div class="username"> [[getUsername(user.profile.preferredName, user.profile.firstName, user.profile.lastName)]] <template is="dom-if" if="[[isOrgMember(user, user.profile.organization, organizationDetailsLoaded)]]"> <div class="org-name"> <jha-icon-business></jha-icon-business> [[user.profile.organization.summary.organizationName]] </div> </template> </div> </bannoweb-flex-wrapper> <jha-icon-chevron-up></jha-icon-chevron-up> </button> </jha-dropdown-toggle> <jha-dropdown-menu dropup class="sidebar-user-menu-dropup"> <template is="dom-if" if="[[showOpenAccountButton(institution.links)]]"> <jha-dropdown-menu-item> <button on-click="openAccountMenu_" type="button"> <jha-icon-circle-plus class="icon"></jha-icon-circle-plus> <div>[[getAddAccountText()]]</div> </button> </jha-dropdown-menu-item> </template> <jha-dropdown-menu-item> <a href="/settings"> <jha-icon-circle-user class="icon"></jha-icon-circle-user> <div>Personal settings</div> </a> </jha-dropdown-menu-item> <template is="dom-if" if="[[showManageUsersLink(institution.abilities.userManagement, user, user.profile.organization)]]"> <jha-dropdown-menu-item> <a href="/settings/manage-users"> <jha-icon-business class="icon"></jha-icon-business> <div>Manage business</div> </a> </jha-dropdown-menu-item> </template> <jha-dropdown-menu-item> <a href="/settings/institution/[[institution.id]]"> <jha-icon-tools class="icon"></jha-icon-tools> <div>Account settings</div> </a> </jha-dropdown-menu-item> <jha-dropdown-menu-item> <bannoweb-sso-redirect-link link-type="[[linkTypes_.NETTELLER]]"></bannoweb-sso-redirect-link> </jha-dropdown-menu-item> <jha-dropdown-menu-item> <a href="[[logoutUrl()]]" on-click="logout"> <jha-icon-logout class="icon"></jha-icon-logout> <div>Sign out</div> </a> </jha-dropdown-menu-item> </jha-dropdown-menu> </jha-dropdown> </div>`}},customElements.define(window.BannowebSidebarElement.is,window.BannowebSidebarElement);var Pe=window.BannowebSidebarElement,Fe=new Set([h.BANNOWEB_MESSAGES,h.BANNOWEB_MESSAGES_DETAIL]),Ie=200,P=9,Le=300*1e3,F={LIVE_CHAT:`liveChat`,LEAVE_A_MESSAGE:`leaveAMessage`},Re=k(o);window.BannowebMiniChatLauncherElement=class extends Re{static get is(){return`bannoweb-mini-chat-launcher`}static get properties(){return{institution:{type:Object,attribute:!1},routeId:{type:String,attribute:`route-id`},miniChatEnabled:{type:Boolean,state:!0},menuOpen:{type:Boolean,state:!0},activeIndex:{type:Number,state:!0},hasSession:{type:Boolean,state:!0},unreadCount:{type:Number,state:!0},asyncMessage:{type:String,state:!0},desiredOpen:{type:Boolean,state:!0},institutionMessage:{type:Object,state:!0}}}constructor(){super(),n(()=>import(`./jha-icon-start-conversation-J_rjoIBi.js`),[]),this.institution=C.store.institution,this.routeId=``,this.miniChatEnabled=!1,this.menuOpen=!1,this.activeIndex=-1,this.hasSession=!1,this.unreadCount=0,this.asyncMessage=``,this.desiredOpen=!1,this.institutionMessage=null,this.institutionMessageFetchedAt_=0,this.institutionMessageRequest_=null,this.announcedOpen_=!1,this.closeTimer_=null,this.hoverSuppressed_=!1,this.boundDocumentPointerDown_=this.onDocumentPointerDown.bind(this),this.miniCurrentUser_=null,this.miniInstitutionConfig_=null,this.miniChatReady_=T.evaluate(w).then(async e=>{e&&await n(()=>import(`./mini-D4qpIH64.js`),[]),this.miniChatEnabled=e})}disconnectedCallback(){super.disconnectedCallback(),this.clearCloseTimer_(),document.removeEventListener(`pointerdown`,this.boundDocumentPointerDown_,!0)}get suppressed(){return Fe.has(this.routeId)}get panelOpen(){return this.desiredOpen&&!this.suppressed}get triggerElement(){return this.renderRoot?this.renderRoot.querySelector(`.trigger`):null}get panelElement(){return this.renderRoot?this.renderRoot.querySelector(`jh-conversations-mini-panel`):null}get miniCurrentUser(){let e=C.store.user,t=e.profile;return!e.id||!t||!t.id?null:(this.miniCurrentUser_&&this.miniCurrentUser_.id===e.id||(this.miniCurrentUser_={id:e.id,userId:{id:e.id,userType:`consumer`}
1,profile:{id:t.id,firstName:t.firstName,lastName:t.lastName},institutionId:e.institutionId}),this.miniCurrentUser_)}get miniInstitutionConfig(){let e=this.institution.name;return e?(this.miniInstitutionConfig_&&this.miniInstitutionConfig_.name===e||(this.miniInstitutionConfig_={name:e,logoUrl:t.config.images?.icons?.default?.light??``}),this.miniInstitutionConfig_):null}get conversationUrlTemplate(){return`${C.conversationsController.getConversationsBasePath()}/{conversationId}`}get menuItemElements(){return this.renderRoot?Array.from(this.renderRoot.querySelectorAll(`.menu-item`)):[]}get institutionIsOpen(){return this.institutionMessage===null||this.institutionMessage.isOpen}get menuItems(){let e=[{action:F.LEAVE_A_MESSAGE,label:`Leave a message`}];return this.institutionIsOpen&&e.push({action:F.LIVE_CHAT,label:`Live Chat`}),e}get triggerLabel(){return this.hasSession?`Chat with us, conversation in progress`:`Chat with us`}get badgeText(){return this.unreadCount>P?`${P}+`:String(this.unreadCount)}get unreadAnnouncement(){return this.unreadCount===0?``:this.unreadCount===1?`${this.unreadCount} unread message`:`${this.unreadCount} unread messages`}loadInstitutionMessage_(e=1/0){this.institutionMessageRequest_||this.institutionMessageFetchedAt_&&Date.now()-this.institutionMessageFetchedAt_<e||(this.institutionMessageRequest_=C.conversationsController.getInstitutionMessage().then(e=>{this.institutionMessage=e}).catch(e=>{t.console.log(e)}).finally(()=>{this.institutionMessageFetchedAt_=Date.now(),this.institutionMessageRequest_=null}))}openMenu(e=-1){this.clearCloseTimer_(),this.activeIndex=e,!this.menuOpen&&(this.menuOpen=!0,this.loadInstitutionMessage_(Le),document.addEventListener(`pointerdown`,this.boundDocumentPointerDown_,!0))}closeMenu(e){if(this.clearCloseTimer_(),document.removeEventListener(`pointerdown`,this.boundDocumentPointerDown_,!0),this.menuOpen&&(this.menuOpen=!1,this.activeIndex=-1,e)){let e=this.triggerElement;e&&e.focus()}}requestPanel_(e){e!==void 0&&(this.asyncMessage=e),this.desiredOpen=!0}clearCloseTimer_(){this.closeTimer_!==null&&(clearTimeout(this.closeTimer_),this.closeTimer_=null)}scheduleClose_(){this.clearCloseTimer_(),this.closeTimer_=setTimeout(()=>{this.closeTimer_=null,this.hoverSuppressed_=!1,this.closeMenu(!1)},Ie)}onPointerEnter(e){e.pointerType===`mouse`&&(this.clearCloseTimer_(),!(this.hoverSuppressed_||this.hasSession)&&this.openMenu())}onPointerLeave(e){e.pointerType===`mouse`&&this.scheduleClose_()}onTriggerClick(e){if(this.clearCloseTimer_(),this.hasSession){this.requestPanel_();return}this.menuOpen?(this.hoverSuppressed_=!0,this.closeMenu(!1)):this.openMenu()}onMenuItemClick(e){let t=e.currentTarget.dataset.action;this.hoverSuppressed_=!0,this.requestPanel_(t===F.LEAVE_A_MESSAGE?`Leave a message and we'll get back to you as soon as we can.`:``),this.closeMenu(!1)}onKeyDown(e){let t=e.composedPath()[0]===this.triggerElement,n=this.menuItemElements.length-1;switch(e.key){case`Escape`:if(!this.menuOpen)return;e.stopPropagation(),this.hoverSuppressed_=!0,this.closeMenu(!0);break;case`ArrowUp`:if(this.hasSession&&!this.menuOpen)return;e.preventDefault(),this.menuOpen?this.focusItemAt(t?n:this.activeIndex-1):this.openMenu(n);break;case`ArrowDown`:if(this.hasSession&&!this.menuOpen)return;e.preventDefault(),this.menuOpen?this.focusItemAt(t?0:this.activeIndex+1):this.openMenu(0);break;case`Home`:if(!this.menuOpen||t)return;e.preventDefault(),this.focusItemAt(0);break;case`End`:if(!this.menuOpen||t)return;e.preventDefault(),this.focusItemAt(n);break;case`Tab`:this.closeMenu(!1);break;default:break}}focusItemAt(e){let t=this.menuItemElements.length;t&&(this.activeIndex=(e%t+t)%t)}onFocusOut(e){e.relatedTarget&&this.renderRoot.contains(e.relatedTarget)||this.closeMenu(!1)}onDocumentPointerDown(e){e.composedPath().includes(this)||this.closeMenu(!1)}onMiniState(e){let{open:t,hasSession:n,unreadCount:r}=e.detail;this.hasSession=n,this.unreadCount=r,this.suppressed||(this.desiredOpen=t)}onSessionEnded(e){e.detail.reason===`user`&&(this.asyncMessage=``)}onHandoffClick(e){e.preventDefault(),b.go(`${C.conversationsController.getConversationsBasePath()}/${e.detail.conversationId}`)}willUpdate(e){super.willUpdate(e),e.has(`routeId`)&&this.suppressed&&this.closeMenu(!1)}updated(e){this.miniChatEnabled&&this.institution.abilities.conversations&&this.loadInstitutionMessage_();let t=this.panelElement;if(t&&t.returnFocusTo!==this.triggerElement&&(t.returnFocusTo=this.triggerElement),this.panelOpen!==this.announcedOpen_&&(this.announcedOpen_=this.panelOpen,this.dispatchEvent(new CustomEvent(`mini-chat-open-changed`,{bubbles:!0,composed:!0,detail:{open:this.panelOpen}}))),(e.has(`menuOpen`)||e.has(`activeIndex`))&&this.menuOpen&&this.activeIndex>=0){let e=this.menuItemElements,t=e[Math.min(this.activeIndex,e.length-1)];t&&t.focus()}}static get styles(){return[O,a`:host{display:contents}:host([hidden]){display:none}.cluster{z-index:999;pointer-events:none;flex-direction:column;align-items:flex-end;display:flex;position:fixed;bottom:12px;right:60px}.cluster[data-suppressed]{display:none}@media (width<=600px){.cluster[data-panel-open]{display:none}}.menu{visibility:hidden;pointer-events:none;flex-direction:column;align-items:flex-end;
1gap:8px;padding-bottom:8px;transition:visibility 0s linear .3s;display:flex}.menu[data-open]{visibility:visible;pointer-events:auto;transition-delay:0s}button.reset.menu-item{text-align:center;white-space:nowrap;border-radius:var(--button-corner-radius,20px);background-color:var(--primary-content-background-color);width:auto;color:var(--body-text-theme-color);opacity:0;padding:8px 16px;line-height:20px;transition:opacity .2s,transform .3s cubic-bezier(.59,.1,.03,1.27);transform:translateY(12px);box-shadow:0 0 4px #00000024,0 4px 8px #00000047}button.reset.menu-item:hover{box-shadow:0 0 6px #00000029,0 6px 12px #00000052}button.reset.menu-item:nth-last-child(2){transform:translateY(28px)}.menu[data-open] button.reset.menu-item{opacity:1;transform:translateY(0)}.menu[data-open] button.reset.menu-item:last-child{transition-delay:0s}.menu[data-open] button.reset.menu-item:nth-last-child(2){transition-delay:50ms}button.reset.trigger{box-sizing:border-box;background-color:var(--primary-content-background-color);width:40px;height:40px;
1fill:var(--link-button-text-color);pointer-events:auto;border-radius:50%;padding:8px;transition:background-color .15s,fill .15s;position:relative;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}button.reset.trigger:hover{box-shadow:0 0 6px #00000029,0 6px 12px #00000052}button.reset.trigger[aria-expanded=true]{background-color:var(--link-button-text-color);fill:var(--primary-content-background-color)}button.reset.trigger:focus-visible,button.reset.menu-item:focus-visible{outline:2px solid var(--link-button-text-color);outline-offset:2px}jha-icon-start-conversation{width:24px;height:24px;fill:inherit;display:block}.badge{box-sizing:border-box;border:1px solid var(--primary-content-background-color);background-color:var(--indicator-background-color);min-width:18px;height:18px;color:var(--indicator-text-color);text-align:center;pointer-events:none;border-radius:9px;padding:0 4px;font-size:11px;font-weight:600;line-height:16px;position:absolute;top:-2px;right:-2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){button.reset.menu-item,.menu[data-open] button.reset.menu-item{transition-duration:1ms;transition-delay:0s;transform:none}}`]}render(){if(!this.miniChatEnabled||!this.institution.abilities.conversations)return u;let e=this.menuItems,t=Math.min(Math.max(this.activeIndex,0),e.length-1);return d`<div class="cluster" ?data-suppressed="${this.suppressed}" ?data-panel-open="${this.panelOpen}" @pointerenter="${this.onPointerEnter}" @pointerleave="${this.onPointerLeave}" @keydown="${this.onKeyDown}" @focusout="${this.onFocusOut}"> <div id="menu" class="menu" role="menu" aria-labelledby="trigger" ?data-open="${this.menuOpen}"> ${e.map((e,n)=>d`<button type="button" class="reset menu-item" role="menuitem" data-action="${e.action}" tabindex="${this.menuOpen&&n===t?`0`:`-1`}" @click="${this.onMenuItemClick}"> ${e.label} </button>`)} </div> <button id="trigger" type="button" class="reset trigger" aria-label="${this.triggerLabel}" aria-haspopup="${this.hasSession?u:`menu`}" aria-expanded="${this.hasSession?u:String(this.menuOpen)}" aria-controls="${this.hasSession?u:`menu`}" @click="${this.onTriggerClick}"> <jha-icon-start-conversation aria-hidden="true"></jha-icon-start-conversation> ${this.unreadCount>0?d`<span class="badge" aria-hidden="true">${this.badgeText}</span>`:u} </button> <span class="sr-only" role="status" aria-live="polite">${this.unreadAnnouncement}</span> </div> <jh-conversations-mini-panel ?open="${this.panelOpen}" async-message="${this.asyncMessage}" conversation-url-template="${this.conversationUrlTemplate}" .currentUser="${this.miniCurrentUser}" .institutionConfig="${this.miniInstitutionConfig}" @jh-conversations-mini-state-changed="${this.onMiniState}" @jh-conversations-mini-session-ended="${this.onSessionEnded}" @jh-conversations-mini-handoff-click="${this.onHandoffClick}"></jh-conversations-mini-panel>`}},customElements.define(window.BannowebMiniChatLauncherElement.is,window.BannowebMiniChatLauncherElement),window.BannowebMiniChatLauncherElement,window.BannowebFloatingContactUsHelpIconElement=class extends o{static get is(){return`bannoweb-floating-contact-us-help-icon`}static get styles(){return a`:host{width:24px;height:24px;display:inline-block}svg{width:100%;height:100%;display:block}`}render(){return d`<svg> <path transform="translate(-7, -8)" d="M19.5 13a4.6 4.6 0 0 0-4.5 4.7h2.3c0-1.3 1-2.3 2.2-2.3 1.2 0 2.3 1 2.3 2.3 0 2.4-3.4 2.1-3.4 6h2.2c0-2.7 3.4-3 3.4-6 0-2.6-2-4.7-4.5-4.7zm-1.2 14h2.4v-2.5h-2.4v2.4z"></path> </svg>`}},customElements.define(window.BannowebFloatingContactUsHelpIconElement.is,window.BannowebFloatingContactUsHelpIconElement),window.BannowebFloatingContactUsHelpIconElement;var I=C.store.institution,ze=k(o);window.BannowebFloatingContactUsElement=class extends ze{static get is(){return`bannoweb-floating-contact-us`}static get properties(){return{institution:{type:Object},visible:{type:Boolean,reflect:!0},miniChat:{type:Boolean,attribute:`mini-chat`,reflect:!0}}}constructor(){super(),n(()=>import(`./jha-icon-mail-Bod8ToAY.js`),[]),n(()=>import(`./jha-icon-help-DCULPA_A.js`),[]),n(()=>import(`./jha-icon-start-conversation-J_rjoIBi.js`),[]),n(()=>import(`./jha-icon-phone-Sp_w6FSU.js`),[]),this.institution=I,this.visible=!1,this.miniChat=!1,g.isMobile()||(this.addEventListener(`mouseenter`,this.onMouseEnter),this.addEventListener(`mouseleave`,this.onMouseLeave))}onClick(e){this.visible=!this.visible}onMouseEnter(e){this.visible=!0}onMouseLeave(e){this.visible=!1}onFocusLink(e){window.innerWidth<739||(this.visible=!0)}onBlurLink(e){window.innerWidth<739||(this.visible=!1)}getFormattedPhone(e){return _.formatPhone(e)}getPhoneHref(e){return`tel:${_.toE164(e)}`}isConversationsEnabled_(e){return e.conversations}static get styles(){return a`:host{pointer-events:none;text-align:center;flex-direction:column;padding:0;display:flex;position:fixed;bottom:12px;right:12px}@media (width>=740px){:host{pointer-events:none;text-align:center;flex-direction:column;padding:0;display:flex;position:fixed;bottom:12px;right:12px}}bannoweb-floating-contact-us-help-icon,jha-icon-phone,jha-icon-mail,jha-icon-help,jha-icon-start-conversation{cursor:pointer;background-color:var(--primary-content-background-color);
1fill:var(--link-button-text-color);border-radius:50%;margin-top:8px;padding:8px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}bannoweb-floating-contact-us-help-icon:hover,jha-icon-phone:hover,jha-icon-mail:hover,jha-icon-help:hover,jha-icon-start-conversation:hover{box-shadow:0 0 6px #00000029,0 6px 12px #00000052}jha-tooltip#phone{opacity:0;transition:all .3s cubic-bezier(.59,.1,.03,1.27);transform:translateY(50px)}jha-tooltip#email,jha-tooltip#conversations{opacity:0;transition:all .3s cubic-bezier(.59,.1,.03,1.27);transform:translateY(100px)}jha-tooltip#support{opacity:0;transition:all .3s cubic-bezier(.59,.1,.03,1.27);transform:translateY(150px)}bannoweb-floating-contact-us-help-icon{pointer-events:auto;z-index:1}:host([visible]){pointer-events:auto}:host([visible]) jha-tooltip#phone,:host([visible]) jha-tooltip#email,:host([visible]) jha-tooltip#conversations,:host([visible]) jha-tooltip#support,:host([visible]) jha-tooltip{opacity:1;transform:translateY(0)}:host([mini-chat]) bannoweb-floating-contact-us-help-icon{transition:background-color .15s,fill .15s}:host([mini-chat][visible]) bannoweb-floating-contact-us-help-icon{background-color:var(--link-button-text-color);fill:var(--primary-content-background-color)}`}render(){return d`<jha-tooltip id="support" left text="${`Support`}"> <a href="/support" @focus="${this.onFocusLink}" @blur="${this.onBlurLink}"> <jha-icon-help aria-label="${`Support`}"></jha-icon-help> </a> </jha-tooltip> ${this.isConversationsEnabled_(this.institution.abilities)?this.miniChat?u:d`<jha-tooltip id="conversations" left text="${`Start a conversation`}"> <a href="/messages/new?support" @focus="${this.onFocusLink}" @blur="${this.onBlurLink}"> <jha-icon-start-conversation aria-label="${`Start a conversation`}"></jha-icon-start-conversation> </a> </jha-tooltip>`:d`<jha-tooltip id="email" left text="${`Email`}"> <a href="${`mailto:${this.institution.contactEmail}`}" @focus="${this.onFocusLink}" @blur="${this.onBlurLink}"> <jha-icon-mail aria-label="${`Email`}"></jha-icon-mail> </a> </jha-tooltip>`} <jha-tooltip id="phone" left text="${this.getFormattedPhone(I.phoneNumber)}"> <a href="${this.getPhoneHref(I.phoneNumber)}" @focus="${this.onFocusLink}" @blur="${this.onBlurLink}"> <jha-icon-phone aria-label="${`Phone`}"></jha-icon-phone> </a> </jha-tooltip> <bannoweb-floating-contact-us-help-icon @click="${this.onClick}" aria-hidden="true"></bannoweb-floating-contact-us-help-icon>`}},customElements.define(window.BannowebFloatingContactUsElement.is,window.BannowebFloatingContactUsElement),window.BannowebFloatingContactUsElement;var Be=240,Ve=Ce(o);window.BannowebPopupPromotedMessageElement=class extends Ve{static get is(){return`bannoweb-popup-promoted-message`}static get properties(){return{message:{type:Object}}}constructor(){super(),n(()=>import(`./jha-icon-mail-Bod8ToAY.js`),[]),n(()=>import(`./jha-icon-close-CwW0xena.js`),[]),this.message=void 0,this.minFrameHeight=Be}dismissPromotedMessage(e){this.dispatchEvent(new CustomEvent(`dismiss-promoted-message`,{bubbles:!0,composed:!0}))}static get styles(){return a`:host{text-align:center;border-radius:var(--jha-card-border-radius);flex-direction:column;height:auto;min-height:240px;padding:0;display:flex;position:fixed;bottom:12px;right:12px}jha-card{width:100%;margin-bottom:0;padding-bottom:16px;position:absolute;bottom:0;right:0}jha-card-header{border-top-left-radius:var(--jha-card-border-radius);border-top-right-radius:var(--jha-card-border-radius);background-color:var(--navigation-bar-color);--jha-card-header-border-bottom-color:none}h1{color:var(--navigation-bar-title-color);align-items:center;gap:6px;display:flex}h1 jha-icon-mail,jha-icon-close{fill:var(--navigation-bar-title-color)}article{height:100%;max-height:calc(60vh - 50px);overflow:auto}iframe{flex:1 0 auto;width:100%;max-height:60vh}@media (width>=740px){:host{text-align:center;flex-direction:column;padding:0;display:flex;position:fixed;bottom:12px;right:12px}}@media (width<=739px){:host{bottom:0;right:0}jha-card{width:100%;max-width:none;margin-left:0;margin-right:0}}`}render(){return d`<jha-card> <jha-card-header> <h1> <jha-icon-mail></jha-icon-mail> ${this.message.title} </h1> <jha-button sync icon slot="header-right" @click="${this.dismissPromotedMessage}" type="button"> <jha-icon-close aria-label="${`Close message`}"></jha-icon-close> </jha-button>
1 </jha-card-header> <article> <iframe title="${`Message`}" frameborder="0" sandbox="allow-popups allow-top-navigation-by-user-activation allow-popups-to-escape-sandbox allow-same-origin" .srcdoc="${this.message.messageHtml}" @load="${this.onFrameLoaded}"></iframe> </article> </jha-card>`}},customElements.define(window.BannowebPopupPromotedMessageElement.is,window.BannowebPopupPromotedMessageElement),window.BannowebPopupPromotedMessageElement;var{fetchController:L,accountsController:He}=C,R=oe.EventType,z={INSTITUTION_LOGIN:`institution-login`,ANSWER_MFA:`answer-mfa`,OPTIONS_2FA:`options-2fa`,CONFIRM_2FA:`confirm-2fa`,CONFIRMATION:`confirmation`,ERROR_CONFIRMATION:`error-confirmation`,CONFIRM_REMOVE:`confirm-remove`,REMOVE_ERROR:`remove-error`},Ue=D(r);window.BannowebExternalInstitutionLoginElement=class extends Ue{static get is(){return`bannoweb-external-institution-login`}static get properties(){return{focusedPane:{type:String},selectedInstitution:{type:Object},mfaQuestions:{type:Array},login2faOptions:{type:Array},institutionId:{type:String,observer:window.BannowebExternalInstitutionLoginElement.prototype.computeSelectedInstitution},institutionName:{type:String,observer:window.BannowebExternalInstitutionLoginElement.prototype.computeSelectedInstitution},username:{type:String},errorMessage:{type:String},isRemoving:{type:Boolean,value:!1}}}constructor(){super(),n(()=>import(`./jha-icon-circle-warning-Dzn5hcMr.js`),[]),n(()=>import(`./jha-icon-close-CwW0xena.js`),[]),this.slider=null,this.subscription=null,this.boundOnDialogClose_=this.onDialogClose.bind(this),this.previousPane=z.INSTITUTION_LOGIN,this.bannowebLayout=null}connectedCallback(){super.connectedCallback(),this.slider=this.shadowRoot.querySelector(`jha-slider-content`),this.parentElement.addEventListener(`close`,this.boundOnDialogClose_)}disconnectedCallback(){this.dispatchEvent(new Event(window.BannowebExternalInstitutionLoginElement.Event.CLOSED)),super.disconnectedCallback()}onDialogClose(e){if(this.parentElement.removeEventListener(`close`,this.boundOnDialogClose_),this.focusedPane!==z.CONFIRMATION&&this.focusedPane!==z.ERROR_CONFIRMATION){let e=document.querySelector(`bannoweb-layout`);e&&e.dispatchEvent(new y(`Failed to get account info`)),L.cancelSync()}}computeSelectedInstitution(){this.selectedInstitution={name:this.institutionName,id:this.institutionId,imgSrc:`${t.API_SERVER}/institutions/${this.institutionId}/logo`,iconSrc:`${t.API_SERVER}/institutions/${this.institutionId}/logo`}}showHeader(e){return e!==z.CONFIRMATION&&e!==z.ERROR_CONFIRMATION}onFiLogin(e){this.handleSubscription(),L.verifyAggCredentials(this.institutionId,e.detail.username,e.detail.password)}handleSubscription(){this.subscription&&this.subscription.unsubscribe(),this.subscription=c.from(L).subscribe(e=>{switch(e.type){case R.MUST_ANSWER_QUESTIONS:{let t=e;this.mfaQuestions=t.detail.questions,this.focusedPane=z.ANSWER_MFA;break}case R.INVALID_LOGIN:this.errorMessage=e.detail.message,this.focusedPane=z.ERROR_CONFIRMATION,this.subscription.unsubscribe();break;case R.AGGREGATION_FINISHED:this.subscription.unsubscribe(),this.focusedPane=z.CONFIRMATION;break;case R.CHOOSE_LOGIN_OPTION:{let t=e;this.login2faOptions=t.detail.options,this.focusedPane=z.OPTIONS_2FA;break}case R.MUST_VERIFY_2FA:this.focusedPane=z.CONFIRM_2FA;break;default:}})}onAnswerMfa(e){this.handleSubscription(),L.answerAggQuestions(e.detail)}onConfirm2fa(e){this.handleSubscription(),L.verifyAgg2faCode(e.detail.code)}onSelected2faMethod(e){this.handleSubscription(),L.chooseLoginOption(e.detail.value)}closeModal(e){this.dispatchEvent(new CustomEvent(`closeModal`,{bubbles:!0,composed:!0}))}onOkConfirmation(e){this.closeModal(),this.subscription&&this.subscription.unsubscribe(),L.cancelSync()}onClickRemove(e){e.preventDefault(),e.stopImmediatePropagation(),this.previousPane=this.focusedPane,this.focusedPane=z.CONFIRM_REMOVE}onClickConfirmRemove(e){this.isRemoving=!0,He.removeAggAccount(this.institutionId).then(()=>{this.bannowebLayout&&this.bannowebLayout.dispatchEvent&&this.bannowebLayout.dispatchEvent(new y(`You have removed all ${this.institutionName} accounts.`)),this.dispatchEvent(new CustomEvent(`closeModal`,{bubbles:!0,composed:!0}))}).catch(()=>
1{this.focusedPane=z.REMOVE_ERROR}).finally(()=>{this.isRemoving=!1})}onClickCancelRemove(e){this.focusedPane=this.previousPane}showRemoveButton(e){return e!==z.CONFIRM_REMOVE&&e!==z.REMOVE_ERROR}getMsgRemoveInstitutionAuth(e){return`Remove ${e}`}static get template(){return i`<style>@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(15%)}to{opacity:1;transform:translate(0,0)}}:host{text-align:center;flex:1 0 auto;display:block}:host(.fadeinup) jha-card{@apply --fade-in-up-animation;}:host(.fadeout){animation:.1s linear fadeOut}#backBtn{--jha-button-text:var(--color-muted);--jha-button-text-size:10pt}jha-header jha-button{--jha-button-line-height:0}button{@apply --button-reset;color:var(--body-text-theme-color);font-size:16px}jha-slider-pane[accountType]{width:537px}jha-card-header h1{@apply --card-header-title;}jha-icon-circle-warning{width:125px;height:125px;fill:var(--color-warning)}#remove-btn{margin-bottom:24px}</style> <template is="dom-if" if="[[showHeader(focusedPane)]]"> <jha-card-header center-header> <h1>Account verification</h1> <jha-button sync icon slot="header-right" on-click="closeModal" type="button"> <jha-icon-close aria-label="Close dialog"></jha-icon-close> </jha-button> </jha-card-header> </template> <jha-slider> <jha-slider-content focused-pane="[[focusedPane]]"> <jha-slider-pane institution-login> <bannoweb-connect-institution-login username="[[username]]" selected-institution="[[selectedInstitution]]" on-fi-login="onFiLogin"></bannoweb-connect-institution-login> </jha-slider-pane> <jha-slider-pane answer-mfa> <bannoweb-connect-institution-answer-mfa selected-institution="[[selectedInstitution]]" questions="[[mfaQuestions]]" on-answer-questions="onAnswerMfa"></bannoweb-connect-institution-answer-mfa> </jha-slider-pane> <jha-slider-pane options-2fa> <bannoweb-connect-institution-select-2fa-method selected-institution="[[selectedInstitution]]" login2fa-options="[[login2faOptions]]" on-selection="onSelected2faMethod"></bannoweb-connect-institution-select-2fa-method> </jha-slider-pane> <jha-slider-pane confirm-2fa> <bannoweb-connect-institution-confirm-2fa selected-institution="[[selectedInstitution]]" on-confirm-2fa="onConfirm2fa"></bannoweb-connect-institution-confirm-2fa> </jha-slider-pane> <jha-slider-pane confirmation> <bannoweb-confirmation> <h1 slot="header">Institution updated</h1> <p slot="description">It may take a moment to process transactions.</p> <jha-button type="button" wide sync on-click="onOkConfirmation"> Ok </jha-button> </bannoweb-confirmation> </jha-slider-pane> <jha-slider-pane error-confirmation> <bannoweb-confirmation> <jha-icon-circle-warning slot="icon"></jha-icon-circle-warning> <h1 slot="header">Sorry, that's incorrect</h1> <p slot="description">[[errorMessage]]</p> <jha-button type="button" wide sync on-click="onOkConfirmation"> Ok </jha-button> </bannoweb-confirmation> </jha-slider-pane> <jha-slider-pane confirm-remove> <bannoweb-confirmation> <jha-icon-circle-warning slot="icon"></jha-icon-circle-warning> <h1 slot="header">Remove all accounts from [[institutionName]]</h1> <p slot="description"> You will no longer be able to view activity and transactions for any of your accounts at this institution. </p> <p slot="description">You may add this institution again from Settings.</p> <jha-button type="button" outline sync on-click="onClickCancelRemove"> Cancel </jha-button> <jha-button type="button" on-click="onClickConfirmRemove" is-loading="[[isRemoving]]"> Remove </jha-button> </bannoweb-confirmation> </jha-slider-pane> <jha-slider-pane remove-error> <bannoweb-confirmation> <jha-icon-circle-warning slot="icon"></jha-icon-circle-warning> <h1 slot="header">Oops, something went wrong.</h1> <p slot="description">Please try again.</p> <jha-button type="button" sync on-click="onClickCancelRemove"> Ok </jha-button> </bannoweb-confirmation> </jha-slider-pane> </jha-slider-content> </jha-slider> <template is="dom-if" if="[[showRemoveButton(focusedPane)]]"> <jha-button id="remove-btn" type="button" link sync on-click="onClickRemove"> [[getMsgRemoveInstitutionAuth(institutionName)]] </jha-button>
1 </template>`}},window.BannowebExternalInstitutionLoginElement.PaneId=z,window.BannowebExternalInstitutionLoginElement.Event={CLOSED:`closed`},customElements.define(window.BannowebExternalInstitutionLoginElement.is,window.BannowebExternalInstitutionLoginElement);var We=window.BannowebExternalInstitutionLoginElement;function Ge(e){let{x:t,y:n}=document.body.getBoundingClientRect(),r=document.documentElement.clientWidth,i=document.documentElement.clientHeight;return{x:t+document.documentElement.scrollLeft*2+e.x/e.width*r,y:n+document.documentElement.scrollTop*2+e.y/e.height*i}}var B=new Map;new BroadcastChannel(`banno-agent-channel`).addEventListener(`message`,e=>{let t=e.data.action;if(t===`close`){let t=e.data.agent,n=B.get(t);if(n){n.remove(),B.delete(t);return}}if(t!==`start`&&t===`cursor`){let t=e.data.id,n=e.data.mousePosition,r=B.get(t);r||(r=new window.SupportAgentCursor,r.setAttribute(`id`,t),document.body.appendChild(r),B.set(t,r));let i=Ge(n);r.style.left=`${i.x}px`,r.style.top=`${i.y}px`,r.agentName=e.data.agentName||`Agent`}}),window.SupportAgentCursor=class extends o{static get is(){return`support-agent-cursor`}static get properties(){return{agentName:{type:String}}}constructor(){super(),this.agentName=`Agent`}static get styles(){return a`:host{text-align:center;background-color:var(--jha-button-background,var(--jha-color-primary,#006ee4));color:var(--jha-button-text,var(--jha-text-white,#fff));border:1px solid;border-color:var(--jha-button-text,var(--jha-text-white,#fff));font-weight:var(--jha-button-default-font-weight,400);font-size:var(--jha-button-default-font-size,14px);z-index:101;border-radius:0 40px 40px;padding:8px;transition:all .2s ease-in-out;position:absolute;box-shadow:2px 4px 6px #00000054}`}render(){return d`${this.agentName}`}},customElements.define(window.SupportAgentCursor.is,window.SupportAgentCursor),window.SupportAgentCursor;var V=C.store.accounts,Ke=C.store.transferAccounts,H=C.store.user,U=C.store.institution,{accountsController:W,activityController:qe,alertsController:G,billsController:Je,fetchController:K,loginController:q,messagesController:J,transfersController:Y,zelleController:Ye,conversationsController:X,merchantController:Z}=C,Xe=ce.EventType,Q=oe.EventType,Ze=ue.EventType,$=_e.EventType,Qe=ve(xe(E(j(D(r)))));window.BannowebLayoutElement=class extends Qe{static get is(){return`bannoweb-layout`}static get properties(){return{user:{type:Object,value:()=>C.store.user},institution:{type:Object,value:()=>U},loadRetry:{type:Boolean,value:!0},headerText:{type:String,value:()=>U.name},loadFailedCounter:{type:Number,value:0},currentRouteId:{type:String,value:h.BANNOWEB_DASHBOARD},linkTypes_:{type:Object,value:()=>s},scrollPosition:{type:Number,value:0,reflectToAttribute:!0},showBackground:{type:Boolean,value:!1,reflectToAttribute:!0},hideChrome:{type:Boolean,value:!1,reflectToAttribute:!0},miniChatEnabled:{type:Boolean,value:!1},chatOpen:{type:Boolean,value:!1,reflectToAttribute:!0},messages:{type:Object,value:()=>C.store.messages},dismissedPromotedMessage:{type:Boolean,value:!1}}}constructor(){super(),n(()=>import(`./jha-icon-menu-DnAazoTs.js`),[]),n(()=>import(`./bannoweb-alert-preview-CuTMKaeR.js`),[]),n(()=>import(`./bannoweb-conversation-preview-BR7zlrSd.js`),[]),n(()=>import(`./bannoweb-message-preview-C-zKlu-p.js`),[]),T.evaluate(w).then(e=>this.miniChatEnabled=e),this.controllersFailed_=new Map,this.subscriptions_=new Set,this.aggModalOpen_=!1,this.boundOnPageTitleChange_=this.onPageTitleChange_.bind(this),this.debouncedScrollPosition_=this.debounce(this.setScrollPosition_.bind(this)),this.failedToastAlreadyDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener(g.TITLE_CHANGE_EVENT,this.boundOnPageTitleChange_,!1),this.subscriptions_.add(c.from(qe).subscribe(e=>{e.type===Xe.IDLE?this.onIdle():e.type===Xe.SESSION_EXPIRED&&this.onExpired()})),this.subscriptions_.add(c.from(q).subscribe(e=>{e.type===v.EventType.AGGREGATION_LOGIN_TIMEOUT&&this.onLoadFailed(new CustomEvent(v.EventType.AGGREGATION_LOGIN_TIMEOUT))})),this.subscriptions_.add(c.from(K).subscribe(e=>{e.type===Ze.LOAD_CHECK_TRANSACTION_ERROR&&this.onLoadFailed(e,K)}
1)),C.controllers.forEach(e=>{this.subscriptions_.add(c.from(e).subscribe(t=>{if(t.type===f.EventType.FORBIDDEN){let e=t.data&&t.data.errorCode||t.message;Number.parseInt(e,10)===25&&this.showPasswordResetDialog()}else t.type===f.EventType.LOAD_FAILED?this.onLoadFailed(t,e):t.type===he.EventType.TRANSFER_ACCOUNTS_LOADED&&this.onTransferAccountsLoaded()}))}),this.subscriptions_.add(c.from(K).subscribe(async e=>{if(this.aggModalOpen_)return;let t=e;switch(e.type){case Q.CHOOSE_LOGIN_OPTION:{let e=await this.openExternalFiLoginModal_(t,window.BannowebExternalInstitutionLoginElement.PaneId.OPTIONS_2FA);e.login2faOptions=t.detail.options;break}case Q.MUST_ANSWER_QUESTIONS:{let e=await this.openExternalFiLoginModal_(t,window.BannowebExternalInstitutionLoginElement.PaneId.ANSWER_MFA);e.mfaQuestions=t.detail.questions;break}case Q.AGG_ACCOUNT_LOGIN:{let e=await this.openExternalFiLoginModal_(t,window.BannowebExternalInstitutionLoginElement.PaneId.INSTITUTION_LOGIN);e.username=t.detail.username;break}case Q.ALL_ACCOUNT_BALANCE_ENRICHMENT_FAILED:this.openBalancesRetryModal_();break;default:break}})),q.offlineMode===x.NETWORK_UNAVAILABLE&&this.dispatchEvent(new y(`Network unavailable - you appear to be offline`)),q.offlineMode===x.TOO_MANY_REQUESTS&&(this.loadRetry=!1,this.onLoadFailed(new CustomEvent(v.EventType.OFFLINE_MODE))),document.addEventListener(`scroll`,this.debouncedScrollPosition_,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),this.subscriptions_.forEach(e=>{e.unsubscribe()}),this.subscriptions_.clear(),document.removeEventListener(g.TITLE_CHANGE_EVENT,this.boundOnPageTitleChange_,!1),document.removeEventListener(`scroll`,this.debouncedScrollPosition_,{passive:!0})}showPopupPromotedMessage(...e){let t=C.store.messages;if(t.loading)return!1;let n=b.currentNodeId===h.BANNOWEB_DASHBOARD;if(!t.loading){let e=t.getMostRecentPromotedMessage();return!!e&&e.promotedType===`popup`&&n&&!this.dismissedPromotedMessage}}getPromotedMessage(){return C.store.messages.getMostRecentPromotedMessage()}dismissPromotedMessage(e){let n=this.shadowRoot.querySelector(`bannoweb-popup-promoted-message`);n&&n.classList.add(`fade-out`);let r=C.store.messages.getMostRecentPromotedMessage();setTimeout(()=>{r&&C.messagesController.setMessageRead(r.id).catch(e=>{t.console.error(`Could not mark message as read`,e)}).finally(()=>{r.read=!0}),this.dismissedPromotedMessage=!0},750)}onMiniChatOpenChanged_(e){this.chatOpen=e.detail.open}onLoadFailed(t,n){if(!(V.items.length>0&&V.items[0].name&&t.currentTarget===W)&&n){this.controllersFailed_.set(n,!0);let r=De(t,n);e(r.message,`error`,r.data)}}openTransfersToast(e,t){let n=new Te;n.message=e,n.linkText=t,n.linkHref=`/settings/external-accounts`,this.dispatchEvent(new y(n,{id:`external-transfers-toast`}))}onTransferAccountsLoaded(){Ke.items.some(e=>{if(e.depositVerificationStatus===se.ExternalAccountVerificationStatus.PENDING){let t=e.depositVerificationInitiationDate,
1n=e.depositExpirationDate,r=Math.abs(ne.dayDiff(t)),i=n&&new Date>new Date(n)||!n&&r>=38,a=t&&r>10&&r<38;if(i)return this.openTransfersToast(`Your external transfer account confirmation deposits have expired.`,`Learn more`),!0;if(a)return this.openTransfersToast(`The deposits to connect your external transfer account have been sent.`,`Verify deposits`),!0}})}fetchData(e){this.dispatchEvent(new ge(`load-failed`)),this.loadRetry=this.loadFailedCounter<2,this.failedToastAlreadyDisplayed=!1,this.loadFailedCounter++,K.sync(),this.controllersFailed_.get(W)&&(this.controllersFailed_.set(W,!1),W.loadAccounts()),this.controllersFailed_.get(Y)&&(this.controllersFailed_.set(Y,!1),Y.loadTransfers()),this.controllersFailed_.get(G)&&(this.controllersFailed_.set(G,!1),G.loadAlerts()),this.controllersFailed_.get(J)&&(this.controllersFailed_.set(J,!1),J.loadMessages()),this.controllersFailed_.get(K)&&this.controllersFailed_.set(K,!1),this.controllersFailed_.get(X)&&(this.controllersFailed_.set(X,!1),X.loadConversations())}async iPayRoutes_(e,r,i,a){let o=()=>{if(i===b.currentNodeId)return super.routeEnter(e,r,i,a).then(()=>{setTimeout(()=>{this.currentRouteId=i})})};switch(i){case h.BANNOWEB_SSO_PAYMENTS:return n(()=>import(`./bannoweb-payments-sso-DEo8teCM.js`).then(o),[]);case h.BANNOWEB_BILL_PAY:return n(()=>import(`./bannoweb-payments-dashboard-C5A1ywzz.js`).then(o),[]);case h.BANNOWEB_PAY:case h.BANNOWEB_ADD_PAYEE:return n(()=>import(`./bannoweb-bills-card-C5x4eJQZ.js`).then(o),[]);case h.BANNOWEB_PAY_MULTIPLE:return n(()=>import(`./bannoweb-pay-multiple-bills-BDyQxrof.js`).then(o),[]);default:return t.console.warn(`Unrecognized payment route - split point needs added`,i),o()}}async iPayCheckEnrollment_(e,t,r,i){let a=Promise.resolve();H.billPayConfig.enrolled===void 0&&(a=Je.loadUserConfiguration());try{await a}catch{return this.iPayRoutes_(e,t,r,i)}if(H.billPayConfig.enrolled===!1){let{default:e}=await n(async()=>{let{default:e}=await import(`./bannoweb-payments-sso-dialog-DD96sIWy.js`);return{default:e}},[]),t=new e;return H.billPayConfig.ssoRequiredPostEnrollment===!0?t.destination=m.BANNOWEB_SSO_PAYMENTS:t.destination=i.path,t.user=H,U.abilities.billPayEnrollment?t.mode=$.BILL_PAY_UNENROLLED:t.mode=$.BILL_PAY_FAILED,b.nextStateWasPopped?(window.history.replaceState(null,``,m.BANNOWEB_DASHBOARD),!1):(this.dispatchEvent(new S(t,[`small-mobile`])),!1)}else return this.iPayRoutes_(e,t,r,i)}async zelleRoutes_(e,r,i,a){let o=()=>{if(i===b.currentNodeId)return super.routeEnter(e,r,i,a).then(()=>{setTimeout(()=>{this.currentRouteId=i})})};switch(i){case h.BANNOWEB_ZELLE_ACCEPT_REQUEST:return n(()=>import(`./bannoweb-zelle-accept-request-BnNHaVHl.js`).then(o),[]);case h.BANNOWEB_ZELLE_ENROLLMENT:return n(()=>import(`./bannoweb-zelle-enrollment-B-Raxa7I.js`).then(o),[]);case h.BANNOWEB_ZELLE_MANAGE_RECIPIENTS:return n(()=>import(`./bannoweb-zelle-manage-recipients-C0GOAPcb.js`).then(o),[]);case h.BANNOWEB_ZELLE_MANAGE_PAYMENT_PROFILES:return n(()=>import(`./bannoweb-zelle-manage-payment-profiles-DCn2Zqbt.js`).then(o),[]);case h.BANNOWEB_ZELLE_OVERVIEW:return n(()=>import(`./bannoweb-zelle-overview-CL8Tibgo.js`).then(o),[]);case h.BANNOWEB_ZELLE_REQUEST:return n(()=>import(`./bannoweb-zelle-request-Cqet7vlD.js`).then(o),[]);case h.BANNOWEB_ZELLE_SEND:return n(()=>import(`./bannoweb-zelle-send-Bb0-4f6H.js`).then(o),[]);default:return t.console.warn(`Unrecognized zelle route - split point needs added`,i),o()}}async zelleCheckEnrollment_(e,t,r,i){if(!H.id||re.getValue(de.ZELLE_ENROLLED_FLAG,H.id)===!0)return this.zelleRoutes_(e,t,r,i);try{if(b.nextStateWasPopped)return await b.go(m.BANNOWEB_DASHBOARD),!1;if(await Ye.checkIsZelleEnrolled()===!0)return this.zelleRoutes_(e,t,r,i);let{default:a}=await n(async()=>{let{default:e}=await import(`./bannoweb-zelle-welcome-dialog-Bpi0eY8u.js`);return{default:e}},[]),o=new a;o.addEventListener(window.BannowebZelleWelcomeDialogElement.Event.GET_STARTED,()=>{b.go(m.BANNOWEB_ZELLE_ENROLLMENT)}),this.dispatchEvent(new S(o))}catch{if(b.nextStateWasPopped)return await b.go(m.BANNOWEB_DASHBOARD),!1;await this.showGenericErrorDialog_(p.OOPS_OUR_BAD_TRY_AGAIN_LATER)}}async routeEnter(e,r,i,a){let o=()=>
1{if(i===b.currentNodeId)return super.routeEnter(e,r,i,a).then(()=>{setTimeout(()=>{this.currentRouteId=i})})};switch(i){case h.BANNOWEB_SSO_DEEPLINK:return n(()=>import(`./bannoweb-sso-deeplink-WX4S1mQj.js`).then(o),[]);case h.BANNOWEB_DASHBOARD:return n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[]);case h.BANNOWEB_ACCOUNT_DETAIL:return n(()=>import(`./bannoweb-account-detail-lEVVVYO3.js`).then(o),[]);case h.BANNOWEB_ALL_ACTIVITY:return n(()=>import(`./bannoweb-all-activity-DLyxeSpH.js`).then(o),[]);case h.BANNOWEB_TRANSFER:return n(()=>import(`./bannoweb-transfer-Bocix9NT.js`).then(o),[]);case h.BANNOWEB_RAPID_TRANSFERS:return U.abilities?.moovPullFromCard||U.abilities?.moovPushToCard?n(()=>import(`./bannoweb-rapid-transfers-dashboard-c4V8Sd_w.js`).then(o),[]):n(()=>import(`./bannoweb-transfers-dashboard-BmV-EQ0J.js`).then(o),[]);case h.BANNOWEB_RAPID_TRANSFER:return U.abilities?.moovPullFromCard||U.abilities?.moovPushToCard?n(()=>import(`./bannoweb-rapid-transfer-BP19mAUF.js`).then(o),[]):n(()=>import(`./bannoweb-transfer-Bocix9NT.js`).then(o),[]);case h.BANNOWEB_RAPID_TRANSFERS_ADD_CARD:return U.abilities?.moovPullFromCard||U.abilities?.moovPushToCard?n(()=>import(`./bannoweb-rapid-transfers-add-card-CMk3pxxu.js`).then(o),[]):n(()=>import(`./bannoweb-transfer-Bocix9NT.js`).then(o),[]);case h.BANNOWEB_MERCHANT_ENROLLMENT:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-enrollment-BAx1UsCA.js`).then(o),[]):(b.go(m.BANNOWEB_DASHBOARD),n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[]))}case h.BANNOWEB_MERCHANT_DASHBOARD:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-dashboard-uFhfbqhz.js`).then(o),[]):(b.go(m.BANNOWEB_DASHBOARD),n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[]))}case h.BANNOWEB_MERCHANT_ACCEPT_PAYMENT:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-accept-payment-Ewy14g24.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[])}case h.BANNOWEB_MERCHANT_DISPUTES:return U.abilities?.merchantAcquisition?n(()=>import(`./bannoweb-merchant-disputes-DmpQ8frG.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[]);case h.BANNOWEB_MERCHANT_PRODUCT_CATALOG:return T.evaluate(`tap-2-local-product-catalog`).then(e=>n(e?()=>import(`./bannoweb-merchant-product-catalog-CZ5k2iIq.js`).then(o):()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[]));case h.BANNOWEB_MERCHANT_LINKS:{let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-links-BZMDM2am.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[])}case h.BANNOWEB_MERCHANT_ACCOUNT_INFO:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-account-info-CuSWTIbr.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[])}case h.BANNOWEB_MERCHANT_CUSTOMERS:case h.BANNOWEB_MERCHANT_CUSTOMER_DETAILS:case h.BANNOWEB_MERCHANT_CREATE_CUSTOMER:case h.BANNOWEB_MERCHANT_EDIT_CUSTOMER:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-customers-Dlg--t-Z.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[])}case h.BANNOWEB_MERCHANT_INVOICES:case h.BANNOWEB_MERCHANT_INVOICE_DETAIL:case h.BANNOWEB_MERCHANT_INVOICE_CREATE:{await Z.fetchEnrollmentStatus();let e=M();return U.abilities?.merchantAcquisition&&e?n(()=>import(`./bannoweb-merchant-invoices-BtDftnQW.js`).then(o),[]):n(()=>import(`./bannoweb-dashboard-7MBolAnI.js`).then(o),[])}case h.BANNOWEB_ACCOUNT_DETAIL_TRANSFER:return n(()=>import(`./bannoweb-transfer-Bocix9NT.js`).then(o),[]);case h.BANNOWEB_ACCOUNTS_ORGANIZE:return n(()=>import(`./bannoweb-accounts-organize-Fk2AJ8Qg.js`).then(o),[]);case h.BANNOWEB_ACCOUNT_REWARDS:return n(()=>import(`./bannoweb-account-rewards-CBsHJQU8.js`).then(o),[]);case h.BANNOWEB_ACCOUNT_ALERT_PREFERENCES:return n(()=>import(`./bannoweb-account-alert-preferences-legacy-DpMeY-4e.js`).then(o),[]);case h.BANNOWEB_ACCOUNT_ALERTS:return n(()=>import(`./bannoweb-account-alerts-B4bJE_oZ.js`).then(o),[]);case h.BANNOWEB_ACCOUNT_FSCC_PAYMENTS:return n(()=>import(`./bannoweb-account-fscc-payments-pzj8LGFC.js`).then(o),[]);case h.BANNOWEB_SETTINGS:case h.BANNOWEB_SETTINGS_INSTITUTION:case h.BANNOWEB_SETTINGS_MANAGE_USERS:case h.BANNOWEB_SETTINGS_MANAGE_ROLES:case h.BANNOWEB_SETTINGS_MANAGE_ROLE_PERMISSIONS:case h.BANNOWEB_SETTINGS_ORG_ACTIVITY:case h.BANNOWEB_SETTINGS_BUSINESS_PROFILE:case h.BANNOWEB_SETTINGS_POWER_CHANGE_ADDRESS:case h.BANNOWEB_SETTINGS_PROFILE:case h.BANNOWEB_SETTINGS_SECURITY:case h.BANNOWEB_SETTINGS_TRAVEL_NOTICES:case h.BANNOWEB_SETTINGS_ALERTS:case h.BANNOWEB_SETTINGS_EXTERNAL_ACCOUNTS:case h.BANNOWEB_SETTINGS_THIRD_PARTY_ACCOUNTS:case h.BANNOWEB_AGREEMENTS:case h.BANNOWEB_AGREEMENT:return n(()=>
1import(`./bannoweb-settings-OrH8ds_W.js`).then(o),[]);case h.BANNOWEB_SUB_USER_CREATE:return n(()=>import(`./bannoweb-sub-user-create-BqFkDl1m.js`).then(o),[]);case h.BANNOWEB_SUB_USER_OVERVIEW:return n(()=>import(`./bannoweb-sub-user-overview-2Twr6dXY.js`).then(o),[]);case h.BANNOWEB_SUB_USER_PERMISSIONS:return n(()=>import(`./bannoweb-sub-user-permissions-U1OVepvf.js`).then(o),[]);case h.BANNOWEB_SUB_USER_EDIT_PROFILE:return n(()=>import(`./bannoweb-sub-user-edit-profile-DhNIgMcG.js`).then(o),[]);case h.BANNOWEB_SUB_USER_ACCOUNT_PERMISSIONS:return n(()=>import(`./bannoweb-sub-user-account-permissions-CGf_di4o.js`).then(o),[]);case h.BANNOWEB_SUB_USER_COMPANIES:return n(()=>import(`./bannoweb-sub-user-companies-Fe4SoLOL.js`).then(o),[]);case h.BANNOWEB_SUB_USER_COMPANY_PERMISSIONS:return n(()=>import(`./bannoweb-sub-user-company-permissions-BfCJV7cn.js`).then(o),[]);case h.BANNOWEB_SUB_USER_ACCOUNTS:return n(()=>import(`./bannoweb-sub-user-accounts-D6NzSR5y.js`).then(o),[]);case h.BANNOWEB_SUB_USER_EXTERNAL_APPLICATIONS:return n(()=>import(`./bannoweb-sub-user-external-applications-DQR6Wunp.js`).then(o),[]);case h.BANNOWEB_SETTINGS_TWO_FACTOR:return n(()=>import(`./bannoweb-settings-two-factor-DykGZYZv.js`).then(o),[]);case h.BANNOWEB_SETTINGS_ACCOUNT:return n(()=>import(`./bannoweb-settings-account-8FNZFfUv.js`).then(o),[]);case h.BANNOWEB_EDIT_TRANSFER:return n(()=>import(`./bannoweb-transfer-Bocix9NT.js`).then(o),[]);case h.BANNOWEB_UNSUPPORTED_TRANSFER:return n(()=>import(`./bannoweb-unsupported-transfer-B3dXIj5q.js`).then(o),[]);case h.BANNOWEB_DOCUMENTS:case h.BANNOWEB_ALL_DOCUMENTS:return n(()=>import(`./bannoweb-documents-EpCI4uZp.js`).then(o),[]);case h.BANNOWEB_MESSAGES:case h.BANNOWEB_MESSAGES_DETAIL:return n(()=>import(`./bannoweb-conversations-DM_1VFa9.js`).then(o),[]);case h.BANNOWEB_ADD_ACCOUNT:return n(()=>import(`./bannoweb-add-account-CJ9jnw19.js`).then(o),[]);case h.BANNOWEB_EXPORT_TRANSACTIONS:return n(()=>import(`./bannoweb-export-transactions-B33ad4Cu.js`).then(o),[]);case h.BANNOWEB_DOCUMENTS_SSO:return n(()=>import(`./bannoweb-documents-sso-C_f-Y8dD.js`).then(o),[]);case h.BANNOWEB_CONNECT_INSTITUTION:return n(()=>import(`./bannoweb-connect-institution-Bk_6fT-N.js`).then(o),[]);case h.BANNOWEB_CONNECT_FINICITY:case h.BANNOWEB_CONNECT_FINICITY_FIX:return n(()=>import(`./bannoweb-connect-finicity-CctX_uc5.js`).then(o),[]);case h.BANNOWEB_ACH:return n(()=>import(`./bannoweb-ach-CE12cMH8.js`).then(o),[]);case h.BANNOWEB_STOP_PAYMENTS:return n(()=>import(`./bannoweb-stop-payments-DRwuC9y0.js`).then(o),[]);case h.BANNOWEB_SUPPORT:return n(()=>import(`./bannoweb-support-page-b4z9RVnp.js`).then(o),[]);case h.BANNOWEB_TRANSFERS:return n(()=>import(`./bannoweb-transfers-dashboard-BmV-EQ0J.js`).then(o),[]);case h.BANNOWEB_DASHBOARD_ORGANIZE:return n(()=>import(`./bannoweb-dashboard-organize-C36MUZdV.js`).then(o),[]);case h.BANNOWEB_ACCOUNTS:return n(()=>import(`./bannoweb-accounts-C8ZTamd5.js`).then(o),[]);case h.BANNOWEB_MANAGE_CARD:return n(()=>import(`./bannoweb-manage-card-CFWh2qiB.js`).then(o),[]);case h.BANNOWEB_WALLETS_CONNECTIONS:return n(()=>import(`./bannoweb-wallets-connections-0-VY1Bu1.js`).then(o),[]);case h.BANNOWEB_REMOTE_DEPOSITS:return n(()=>import(`./bannoweb-remote-deposits-Cl66B1IY.js`).then(o),[]);case h.BANNOWEB_REMOTE_DEPOSITS_ADD_ACCOUNT:return n(()=>import(`./bannoweb-add-rdc-account-BpVyzqCz.js`).then(o),[]);case h.BANNOWEB_POWER_SKIP_PAYMENT:return n(()=>import(`./bannoweb-skip-a-pay-poweron-BaQPJY3C.js`).then(o),[]);case h.BANNOWEB_FSCC_PAYMENT:return n(()=>import(`./bannoweb-fscc-payment-DkISm-4e.js`).then(o),[]);case h.BANNOWEB_POWER_LOAN:return n(()=>import(`./bannoweb-loan-payoff-poweron-B-yX6Sfe.js`).then(o),[]);case h.BANNOWEB_POWER_WITHDRAW_CHECK:return n(()=>import(`./bannoweb-withdraw-check-poweron-D4vogx0b.js`).then(o),[]);case h.BANNOWEB_POWER_OPEN_SUBSHARE:return n(()=>import(`./bannoweb-open-subshare-poweron-DYanqwu2.js`).then(o),[]);case h.BANNOWEB_POWER_OVERDRAFT_OPT_IN:return n(()=>import(`./bannoweb-overdraft-opt-in-poweron-H3qg60pI.js`).then(o),[]);case h.BANNOWEB_WIRES:return n(()=>import(`./bannoweb-wires-BlwjIo_4.js`).then(o),[]);case h.BANNOWEB_WIRES_PAYMENTS:return n(()=>import(`./bannoweb-wires-dashboard-B7kiMNOP.js`).then(o),[]);case h.BANNOWEB_RETAIL_WIRES:return n(()=>import(`./bannoweb-retail-wires-dashboard-DsO4pbca.js`).then(o),[]);case h.BANNOWEB_RETAIL_WIRE_CREATE:return n(()=>import(`./bannoweb-retail-create-wire-DH74hUHN.js`).then(o),[]);case h.BANNOWEB_CREATE_WIRE:return n(()=>import(`./bannoweb-create-wire-DnqxjCoa.js`).then(o),[]);case h.BANNOWEB_EDIT_WIRE:return n(()=>import(`./bannoweb-edit-wire-xiojDHQU.js`).then(o),[]);case h.BANNOWEB_REJECT_WIRE:return n(()=>import(`./bannoweb-reject-wire-cElSyLOj.js`).then(o),[]);case h.BANNOWEB_WIRE_INITIATE:return n(()=>import(`./bannoweb-wire-initiate-46PUEmB7.js`).then(o),[]);case h.BANNOWEB_ACH_PAYMENTS:return n(()=>import(`./bannoweb-ach-dashboard-DSba-qv8.js`).then(o),[]);case h.BANNOWEB_ACH_PAYMENTS_INITIATE:return n(()=>import(`./bannoweb-ach-batch-initiate-CYIeazsY.js`).then(o),[]);case h.BANNOWEB_ACH_PAYMENTS_UPLOAD:return T.evaluate(`ach-navigator-enabled`).then(e=>e?n(()=>import(`./bannoweb-ach-upload-navigator-CJonzNpA.js`).then(()=>{customElements.get(`bannoweb-ach-upload`)||customElements.define(`bannoweb-ach-upload-navigator`,window.BannowebAchUploadElement)}),[]).then(o):n(()=>import(`./bannoweb-ach-upload-CiinfIah.js`).then(o),[]));case h.BANNOWEB_ACH_BATCH_CREATE:case h.BANNOWEB_ACH_BATCH_EDIT:return n(()=>import(`./bannoweb-ach-batch-form-Dxl1V-Q9.js`).then(o),[]);case h.BANNOWEB_ACH_BATCH_DETAIL:return n(()=>import(`./bannoweb-ach-batch-page-B3wVK6jK.js`).then(o),[]);case h.BANNOWEB_ACH_BATCH_RECIPIENTS:return n(()=>import(`./bannoweb-ach-batch-recipients-page-Dh-fj-Xe.js`).then(o),[]);case h.BANNOWEB_ACH_BATCH_RECIPIENTS_EDIT:return n(()=>import(`./bannoweb-ach-batch-recipients-edit-page-BBmAWIjb.js`).then(o),[]);case h.BANNOWEB_ACH_TAX_CREATE:return n(()=>import(`./bannoweb-ach-tax-form-DAiyVgVP.js`).then(o),[]);case h.BANNOWEB_ACH_SEARCH_RECIPIENTS:return T.evaluate(`ach-search-recipients`).then(e=>n(e?()=>import(`./bannoweb-ach-search-recipients-BumVBZ0l.js`).then(o):()=>import(`./bannoweb-ach-dashboard-DSba-qv8.js`).then(o),[]));case h.BANNOWEB_ACH_DOWNLOAD:return n(()=>import(`./bannoweb-ach-download-DAis96uc.js`).then(o),[]);case h.BANNOWEB_ACH_BULK_INITIATE:return n(()=>import(`./bannoweb-ach-bulk-initiate-D4210Uxb.js`).then(o),[]);case h.BANNOWEB_ACH_BATCH_REJECT:return n(()=>import(`./bannoweb-ach-batch-reject-DaEqDkJe.js`).then(o),[]);case h.BANNOWEB_POSITIVE_PAY:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayDashboard()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_ACH_FILTER_RULES:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayAchFilterRules()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_UPLOAD:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayUpload()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_REVIEW_CHECKS:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayReviewChecks()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_MANUAL_ENTRY:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayManualEntry()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_WORK_EXCEPTIONS:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayWorkExceptions()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_WORK_ACH_EXCEPTIONS:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositiveWorkAchExceptions()),[]).then(o);case h.BANNOWEB_POSITIVE_PAY_MANAGE_TEMPLATES:return n(()=>import(`./bannoweb-positive-pay-AgwN8BUB.js`).then(e=>e.importPositivePayManageTemplates()),[]).then(o);case h.BANNOWEB_ENSENTA_REMOTE_DEPOSITS:return n(()=>import(`./bannoweb-ensenta-deposits-Bha1NcuN.js`).then(o),[]);case h.BANNOWEB_ENSENTA_REMOTE_DEPOSIT:return n(()=>import(`./bannoweb-ensenta-deposit-BQ0eVkKW.js`).then(o),[]);case h.BANNOWEB_POWER_USA_EPAY:return n(()=>import(`./bannoweb-usa-epay-poweron-BsZzD-NR.js`).then(o),[]);case h.BANNOWEB_MANAGE_CREDIT_CARD:return n(()=>import(`./bannoweb-manage-credit-card-poweron-fN2-RjLB.js`).then(o),[]);case h.BANNOWEB_CARD_LOCATION_MANAGEMENT:return n(()=>import(`./bannoweb-card-location-management-poweron-DlUNn_rj.js`).then(o),[]);case h.BANNOWEB_POWER_CD_RENEW:return n(()=>
1import(`./bannoweb-cd-renew-poweron-lP4b4A0R.js`).then(o),[]);case h.BANNOWEB_POWER_M2M_TRANSFERS:return n(()=>import(`./bannoweb-m2m-transfers-poweron-D5qrkY-n.js`).then(o),[]);case h.BANNOWEB_POWER_MAIN_REWARDS:return n(()=>import(`./bannoweb-power-main-rewards-poweron-CMpkFGAV.js`).then(o),[]);case h.BANNOWEB_POWER_REWARDS:return n(()=>import(`./bannoweb-power-rewards-poweron-Cdf1RZCp.js`).then(o),[]);case h.BANNOWEB_POWER_DOCUMENTS_EXTERNAL:return n(()=>import(`./bannoweb-power-documents-external-poweron-D72PCG63.js`).then(o),[]);case h.BANNOWEB_POWER_DOCUMENTS:return n(()=>import(`./bannoweb-power-documents-poweron-BYiy-2UH.js`).then(o),[]);case h.BANNOWEB_POWER_CARD_CONTROLS:return n(()=>import(`./bannoweb-power-card-controls-poweron-BXSAsQHI.js`).then(o),[]);case h.BANNOWEB_CARD_CONTROLS_PP:return n(()=>import(`./bannoweb-card-controls-pp-poweron-DHBo40E3.js`).then(o),[]);case h.BANNOWEB_CARD_CONTROLS_PP_MAIN:return n(()=>import(`./bannoweb-card-controls-pp-main-poweron-SbIMrGNW.js`).then(o),[]);case h.BANNOWEB_POWER_MAIN_LOAN_APPLICATION:return n(()=>import(`./bannoweb-power-main-loan-application-poweron-qACou90f.js`).then(o),[]);case h.BANNOWEB_POWER_SECONDARY_LOAN_APPLICATION:return n(()=>import(`./bannoweb-power-secondary-loan-application-poweron-DJsKAUbW.js`).then(o),[]);case h.BANNOWEB_POWER_PERKS:return n(()=>import(`./bannoweb-power-perks-poweron-FQLM_GpH.js`).then(o),[]);case h.BANNOWEB_POWER_PAYMENTS:return n(()=>import(`./bannoweb-power-payments-poweron-CnAeMm8c.js`).then(o),[]);case h.BANNOWEB_POWER_FORMS:return n(()=>import(`./bannoweb-power-forms-poweron-DGJccNHX.js`).then(o),[]);case h.BANNOWEB_POWER_FULL_VIEW:return n(()=>import(`./bannoweb-power-full-view-poweron-RyZ2Wkrk.js`).then(o),[]);case h.BANNOWEB_PAYMENTS:b.go(m.BANNOWEB_BILL_PAY);return;case h.BANNOWEB_SSO_PAYMENTS:case h.BANNOWEB_BILL_PAY:case h.BANNOWEB_PAY:case h.BANNOWEB_ADD_PAYEE:case h.BANNOWEB_PAY_MULTIPLE:return this.iPayCheckEnrollment_(e,r,i,a);case h.BANNOWEB_ZELLE_ENROLLMENT:return this.zelleRoutes_(e,r,i,a);case h.BANNOWEB_ZELLE_ACCEPT_REQUEST:case h.BANNOWEB_ZELLE_MANAGE_RECIPIENTS:case h.BANNOWEB_ZELLE_MANAGE_PAYMENT_PROFILES:case h.BANNOWEB_ZELLE_OVERVIEW:case h.BANNOWEB_ZELLE_REQUEST:case h.BANNOWEB_ZELLE_SEND:return this.zelleCheckEnrollment_(e,r,i,a);case h.BANNOWEB_SETTINGS_SECURITY_APPS:return n(()=>import(`./bannoweb-settings-connected-apps-4Xlnfm5k.js`).then(o),[]);case h.BANNOWEB_LIT_EXAMPLE:return n(()=>import(`./bannoweb-lit-example-CN2e3Xdc.js`).then(o),[]);case h.BANNOWEB_INSIGHTS:return n(()=>import(`./bannoweb-insights-dashboard-Ch4TpNeJ.js`).then(o),[]);case h.BANNOWEB_SETTINGS_UNAPPROVED_CLIENTS:return n(()=>import(`./bannoweb-settings-ofx-mfa-clients-BkyHrWmf.js`).then(o),[]);case h.BANNOWEB_REPORTS_SAVED:return n(()=>import(`./bannoweb-reports-saved-CXf1dDi1.js`).then(o),[]);case h.BANNOWEB_REPORT:return n(()=>import(`./bannoweb-report-E2VHChnR.js`).then(o),[]);case h.BANNOWEB_REPORT_SELECT_ACCOUNTS:return n(()=>import(`./bannoweb-report-select-accounts-DM_oPEx5.js`).then(o),[]);case h.BANNOWEB_ACH_IMPORT_SETTINGS:return n(()=>import(`./bannoweb-ach-import-settings-BY2p-GEH.js`).then(o),[]);case h.BANNOWEB_CONVERSATION_CLAIM:return n(()=>import(`./bannoweb-conversations-claim-DtM6woWG.js`).then(o),[]);case h.BANNOWEB_FORMS:return n(()=>import(`./bannoweb-forms-Dja9dBww.js`).then(o),[]);default:return t.console.warn(`Unrecognized layout route - split point needs added`,i),o()}}menuIconClick(e){e.stopPropagation();let t=new Pe;t.focusFirstItem=!0,t.routeId=this.currentRouteId,this.dispatchEvent(new S(t,[`mobile-menu`]))}async onIdle(){let{default:e}=await n(async()=>{let{default:e}=await import(`./bannoweb-inactivity-dialog-26n48jBf.js`);return{default:e}},[]),t=new e;this.dispatchEvent(new S(t,[`aria-label`,`Are you still there?`]))}onExpired(){q.logout(ae.INACTIVE)}openExternalFiLoginModal_(e,t){let n=new We;n.institutionId=e.detail.institutionId,n.institutionName=e.detail.institutionName,n.bannowebLayout=this,this.dispatchEvent(new S(n)),n.focusedPane=t;let r=e=>{n.removeEventListener(window.BannowebExternalInstitutionLoginElement.Event.CLOSED,r),this.aggModalOpen_=!1};return n.addEventListener(window.BannowebExternalInstitutionLoginElement.Event.CLOSED,r),this.aggModalOpen_=!0,n}async openBalancesRetryModal_(){let{default:e}=await n(async()=>{let{default:e}=await import(`./bannoweb-account-balances-enrichment-failed-dialog-BmsCMrTs.js`);return{default:e}},[]),t=new e,r=e=>{this.fetchData(),t.removeEventListener(`retry`,r),this.dispatchEvent(new CustomEvent(window.BannowebLayoutElement.EVENT.CLOSE_MODAL,{composed:!0,bubbles:!0}))};t.addEventListener(`retry`,r),this.dispatchEvent(new S(t))}async showPasswordResetDialog(){let{default:e}=await n(async()=>{let{default:e}=await import(`./bannoweb-change-password-form-BTQrxsWp.js`);return{default:e}},[]),t=new e;t.setAttribute(`dialog`,`true`),t.setAttribute(`button-label`,`Update`),t.showCancel=!0,t.showHeader=!0,t.showWarning=!0,t.addEventListener(`passwordchanged`,e=>{n(async()=>{let{default:e}=await import(`./bannoweb-ok-confirmation-dialog-CB2b-2ah.js`);return{default:e}},[]).then(({default:e})=>{let t=new e;t.header=`Password updated`,t.description=`Your password has been updated successfully.`,this.dispatchEvent(new S(t))})}),this.dispatchEvent(new S(t))}logoutUrl(){return q.logoutUrl()}logout(e){e.preventDefault(),q.logout(void 0,e.currentTarget.href)}onSkipLinkClick_(e){let t=this.shadowRoot.querySelector(`div#main-content`);t&&t.focus()}setScrollPosition_(){this.scrollPosition=window.scrollY}debounce(e){let t;return(...n)=>{t&&cancelAnimationFrame(t),t=requestAnimationFrame(()=>{e(...n)})}}onPageTitleChange_(e){let t=(e||{}).detail||this.institution.name;this.headerText=t===`Dashboard`?this.institution.name:t}showFiLogo_(e,t,n){return e&&t===n}async showGenericErrorDialog_(e=p.OOPS_OUR_BAD_TRY_AGAIN_LATER){let{default:t}=await n(async()=>{let{default:e}=await import(`./bannoweb-ok-confirmation-dialog-CB2b-2ah.js`);return{default:e}},[]),r=new t;r.showWarningIcon=!0,r.description=e,this.dispatchEvent(new S(r))}static get template(){return i`<style>@keyframes fadeInUp{0%{opacity:0;transform:translateY(15%)}to{opacity:1;transform:translate(0,0)}}@keyframes fadeOut{0%{opacity:1;transform:translate(0,0)}to{opacity:0;transform:translateY(15%)}}:host{box-sizing:border-box;background:var(--secondary-page-background-color);flex-direction:column;flex:1 0 auto;min-height:100%;display:flex;position:relative}:host ::slotted(bannoweb-footer){background-color:var(--footer-background-color)}bannoweb-floating-contact-us{z-index:999;background-color:#0000}bannoweb-popup-promoted-message{@apply --fade-in-up-animation;z-index:1001;width:600px;box-shadow:0 0 14px #00000080}bannoweb-popup-promoted-message.fade-out{animation-name:fadeOut;animation-duration:.75s;animation-timing-function:cubic-bezier(.1,.5,.1,1);animation-delay:initial;animation-iteration-count:initial;animation-direction:initial;animation-fill-mode:backwards;animation-play-state:initial}bannoweb-message-badge{padding-right:4px}bannoweb-core-offline-banner{position:relative;top:0;left:0;right:0}header{z-index:99;background:0 0;flex-shrink:0;transition:all .3s ease-out;display:none;position:fixed;top:0;left:0;right:0}.header{margin-top:8px;padding:26px 32px 16px;position:relative}header div.institution-label{height:100%;position:absolute;top:0;left:0;right:0}header img{pointer-events:none;opacity:0;height:100%;margin:0 auto;transition:all .3s ease-out;position:absolute;top:0;left:50%;transform:translate(-50%)}header h3{text-align:center;color:var(--navigation-bar-title-color);pointer-events:none;opacity:0;font-size:16px;font-weight:500;transition:all .3s ease-out;position:absolute;top:30px;left:0;right:0}:host([show-background]) header,:host(:not([scroll-position="0"])) header{background:var(--navigation-bar-color);--jha-icon-color:var(--toolbar-button-color);box-shadow:0 1px 3px #0000003d}:host([show-background]) header img,:host([show-background]) header h3,:host(:not([scroll-position="0"])) header img,:host(:not([scroll-position="0"])) header h3{opacity:1;margin:0}.container{display:flex}.container.has-promoted-message{opacity:.5}main{flex-direction:column;flex:auto;min-height:100vh;display:flex}:host([no-scroll]){position:fixed;inset:0}@media (-ms-high-contrast:none){:host{height:100%}}@media (width<=1024px){.sidebar{display:none}header{text-align:left;--jha-icon-color:var(--hero-text-color);display:block}}@media (width<=834px){.header{padding-left:16px}}@media (width<=768px){.header{padding-left:24px}}@media (width<=470px){.header{padding-left:16px}}@media (width<=600px){:host([chat-open]) bannoweb-floating-contact-us{display:none}}@media (width<=480px){:host([hide-chrome]) header,:host([hide-chrome]) bannoweb-footer{display:none}}@media (height<=450px){.header{padding:min(26px,1vh) 32px min(16px,1vh)}header h3{top:min(30px,2vh)}}@media print{header,bannoweb-floating-contact-us,bannoweb-mini-chat-launcher,bannoweb-footer{display:none}:host ::slotted(*),:host ::slotted(bannoweb-dashboard){background-color:#0000}}.sidebar{flex-shrink:0;width:272px}bannoweb-sidebar{position:fixed;top:0;bottom:0;left:0}#skip-link{color:#000;opacity:0;z-index:99;background:#fff;height:0;font-size:18px;font-weight:500;position:absolute;top:0;left:0}#skip-link:focus{opacity:1;height:auto}.loading-placeholder{height:calc(100vh - 48px)}@media (width<=1024px){.desktop-offline-banner{opacity:0;z-index:-1}}@media (width<=739px){bannoweb-popup-promoted-message{width:calc(100% - 32px);max-height:60vh;bottom:16px;left:16px;right:16px}}</style> <header> <bannoweb-core-offline-banner dashboard></bannoweb-core-offline-banner> <div class="header"> <jha-button id="mobile-menu" icon="" sync="" on-click="menuIconClick" type="button"> <bannoweb-message-badge> <jha-icon-menu aria-label="Menu"></jha-icon-menu> </bannoweb-message-badge>
1 </jha-button> <template is="dom-if" if="[[showFiLogo_(showTitlebarLogo, headerText, institution.name)]]"> <img src="[[titlebarLogoImage]]" alt="[[institution.name]]"> </template> <template is="dom-if" if="[[!showFiLogo_(showTitlebarLogo, headerText, institution.name)]]"> <h3>[[headerText]]</h3> </template> </div> </header> <button id="skip-link" on-click="onSkipLinkClick_" type="button"> Skip to main content </button> <template is="dom-if" if="[[showPopupPromotedMessage(messages.loading, dismissedPromotedMessage)]]"> <bannoweb-popup-promoted-message class="fadeinup" role="contentinfo" message="[[getPromotedMessage()]]" on-dismiss-promoted-message="dismissPromotedMessage"></bannoweb-popup-promoted-message> </template> <bannoweb-floating-contact-us role="contentinfo" mini-chat$="[[miniChatEnabled]]"></bannoweb-floating-contact-us> <template is="dom-if" if="[[miniChatEnabled]]"> <bannoweb-mini-chat-launcher route-id="[[currentRouteId]]" on-mini-chat-open-changed="onMiniChatOpenChanged_"></bannoweb-mini-chat-launcher> </template> <div class="container"> <div class="sidebar"> <bannoweb-sidebar route-id="[[currentRouteId]]"></bannoweb-sidebar> </div> <div id="main-content" tabindex="-1"></div> <main> <bannoweb-core-offline-banner dashboard class="desktop-offline-banner"></bannoweb-core-offline-banner> <slot> <div class="loading-placeholder"></div> </slot> <bannoweb-footer></bannoweb-footer> </main> </div>`}},window.BannowebLayoutElement.EVENT={CLOSE_MODAL:`closeModal`},customElements.define(window.BannowebLayoutElement.is,window.BannowebLayoutElement);var $e=window.BannowebLayoutElement,et=()=>n(()=>import(`./bannoweb-layout-mobile-CxAraie1.js`),[]);export{$e as default,et as importLayoutMobile};
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.