/*! phoscon-app 2024-02-26 */

function bbInitSchedules(){var Schedule=Backbone.Model.extend({sync:function(method,model,options){return"patch"===method&&(method="update"),Backbone.sync(method,model,options)}});app.SchedulesCollection=Backbone.Collection.extend({name:"schedules",model:Schedule,url:"//"+app.session.gw+"/api/"+app.apikey+"/schedules",parse:function(response,options){return _.map(response,function(schedule,sid){return schedule.id=sid,schedule})}}),app.schedules=new app.SchedulesCollection}