/*! phoscon-app 2025-05-20 */

import{ButtonEvents}from"./state-constants.js";export const ApDeactivatedHandlerView=Backbone.View.extend({template:_.template(document.getElementById("ap-deactivated-template").innerHTML),id:"apDeactivated",className:"sub-view",initialize:function(){this.el.innerHTML=this.template(app.wifi),app.apStateElement.appendChild(this.el)},events:{"click .btn-change-config":function(){app.stateEventHandler(ButtonEvents.CONFIGURE_AP_PRESSED)}},render:function(){return this},show:function(){this.el.classList.add("active-view")},hide:function(){this.el.classList.remove("active-view")}});