class t{constructor(){this.endpoint=""}componentDidLoad(){this.checkForJwt(),this.contextUpdated.emit({jwt:this.jwt,endpoint:this.endpoint})}checkForJwt(){localStorage.getItem("jwt")&&(this.jwt=localStorage.getItem("jwt"))}static get is(){return"edel-context"}static get properties(){return{endpoint:{type:String,attr:"endpoint",watchCallbacks:["componentDidLoad"]},jwt:{type:String,attr:"jwt",watchCallbacks:["componentDidLoad"]}}}static get events(){return[{name:"contextUpdated",method:"contextUpdated",bubbles:!0,cancelable:!0,composed:!0}]}}export{t as EdelContext};