/*! phoscon-app 2024-08-14 */

"use strict";function bbInitWifi(){_.debounce(function(){},500);app.api.on("event",function(e){if("wifi"===e.r&&e){_.map(e,function(val,key){}),s.set({})}});var Wifi=Backbone.Model.extend({name:"wifi",url:"//"+app.session.gw+"/api/"+app.apikey+"/config/wifi",sync:function(method,model,options){return"patch"===method&&(method="update"),Backbone.sync(method,model,options)},initialize:function(){this.set("id","1")},parse:function(wifi){return delete wifi.whitelist,wifi}});var cache=sessionStorage.getItem("app.wifi");cache?(cache=JSON.parse(cache),app.wifi=new Wifi(cache)):app.wifi=new Wifi,app.wifi.on("change",function(wifi,options){}),restGetResource(app.wifi),app.wifi.on("sync",function(wifi,response,options){})}