1import{a as e}from"./standalone-app-Bj-IdwrG.js";import{E as t,_ as n,l as r,x as i}from"./institution-DyFDvNu6.js";import{t as a}from"./paths-BjKNBopk.js";import{t as o}from"./page-B8YwBOEr.js";import{Qt as s,_r as c,o as l,vr as u}from"./main-5Sl8yySz.js";import"./jha-card-DC-UH8vN.js";import"./jha-button-Dyau4S4K.js";import{t as d}from"./high-risk-Bokt2EDh.js";import{a as f,i as p,n as m}from"./sso-utils-BtlATq0e.js";import"./bannoweb-poweron-card-hmwm_XvG.js";var h=d(u(n,`fadeinup`));window.BannowebSettingsPowerChangeAddressElement=class extends h{constructor(){super(),this.linkType=r.POWER_CHANGE_ADDRESS,this.showBackButton=!1,this.fullScreenMobile=!1,this.loginController=l.loginController,e(()=>import(`./icon-chevron-left-f3OZxuwt.js`).then(e=>e.t),[]),this.boundOnMessage_=this.onMessage.bind(this),this.boundOnFinishedSync_=()=>{this.loginController.removeEventListener(s.EventType.FINISHED_SYNC,this.boundOnFinishedSync_),this.loginController.getUserDetails()}}static get is(){return`bannoweb-settings-power-change-address`}static get properties(){return{linkType:{type:String,attribute:`link-type`},showBackButton:{type:Boolean,attribute:`show-back-button`},fullScreenMobile:{type:Boolean,attribute:`full-screen-mobile`},loginController:{type:Object}}}connectedCallback(){super.connectedCallback(),this.doHighRisk(()=>{},()=>{c.go(a.BANNOWEB_SETTINGS)}),m(),p(this.boundOnMessage_)}disconnectedCallback(){super.disconnectedCallback(),f(this.boundOnMessage_)}onMessage({data:e}){e.type===`request-sync`&&this.loginController.addEventListener(s.EventType.FINISHED_SYNC,this.boundOnFinishedSync_)}async routeEnter(e,t,n,r){return o.setTitleAndTrack(`Change address`,c.getRouteUrlWithoutParams(r),n),super.routeEnter(e,t,n,r)}onBackClicked(){history.back()}static get styles(){return t`:host{flex:1 0 auto;display:flex}jha-button.back-button{--jha-button-line-height:0;margin-left:-8px;display:none}bannoweb-poweron-card{--jha-card-margin:0;display:block}@media (width<=768px){jha-button.back-button{display:inline-block}jha-card{max-width:100%!important}}`}render(){return i`<bannoweb-poweron-card link-type="${this.linkType}" .showBackButton="${this.showBackButton}" .fullScreenMobile="${this.fullScreenMobile}"> <jha-button class="back-button" icon sync @click="${this.onBackClicked}" type="button" slot="header-right"> <jh-icon-chevron-left></jh-icon-chevron-left> </jha-button> </bannoweb-poweron-card>`}},customElements.define(window.BannowebSettingsPowerChangeAddressElement.is,window.BannowebSettingsPowerChangeAddressElement);var g=window.BannowebSettingsPowerChangeAddressElement;export{g as default};
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.