(function(){var a=function(e,t){function a(){this.constructor=e}for(var n in t)i.call(t,n)&&(e[n]=t[n]);return a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype,e},i={}.hasOwnProperty;App.Application=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return a(t,e),t.configure("Application","name","redirect_uri"),t.extend(Spine.Model.Ajax),t.url=t.apiPath+"/applications",t.configure_attributes=[{name:"name",display:__("Name"),tag:"input",type:"text",limit:100,"null":!1},{name:"redirect_uri",display:__("Callback URL"),tag:"textarea",limit:250,"null":!1,note:__("Use one line per URI")},{name:"clients",display:__("Clients"),tag:"input",readonly:1},{name:"created_at",display:__("Created"),tag:"datetime",readonly:1},{name:"updated_at",display:__("Updated"),tag:"datetime",readonly:1}],t.configure_overview=["name","redirect_uri","clients"],t.configure_delete=!0,t}(App.Model)}).call(this); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm51bGwiXSwibmFtZXMiOlsiZXh0ZW5kIiwiY2hpbGQiLCJwYXJlbnQiLCJjdG9yIiwidGhpcyIsImNvbnN0cnVjdG9yIiwia2V5IiwiaGFzUHJvcCIsImNhbGwiLCJwcm90b3R5cGUiLCJfX3N1cGVyX18iLCJoYXNPd25Qcm9wZXJ0eSIsIkFwcCIsIkFwcGxpY2F0aW9uIiwic3VwZXJDbGFzcyIsImFwcGx5IiwiYXJndW1lbnRzIiwiY29uZmlndXJlIiwiU3BpbmUiLCJNb2RlbCIsIkFqYXgiLCJ1cmwiLCJhcGlQYXRoIiwiY29uZmlndXJlX2F0dHJpYnV0ZXMiLCJuYW1lIiwiZGlzcGxheSIsIl9fIiwidGFnIiwidHlwZSIsImxpbWl0IiwibnVsbCIsIm5vdGUiLCJyZWFkb25seSIsImNvbmZpZ3VyZV9vdmVydmlldyIsImNvbmZpZ3VyZV9kZWxldGUiXSwibWFwcGluZ3MiOiJDQUFBLFdBQ0UsSUFBSUEsRUFBUyxTQUFTQyxFQUFP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bGljYXRpb24uY29uZmlndXJlX2F0dHJpYnV0ZXMgPSBbXG4gICAgICB7XG4gICAgICAgIG5hbWU6ICduYW1lJyxcbiAgICAgICAgZGlzcGxheTogX18oJ05hbWUnKSxcbiAgICAgICAgdGFnOiAnaW5wdXQnLFxuICAgICAgICB0eXBlOiAndGV4dCcsXG4gICAgICAgIGxpbWl0OiAxMDAsXG4gICAgICAgIFwibnVsbFwiOiBmYWxzZVxuICAgICAgfSwge1xuICAgICAgICBuYW1lOiAncmVkaXJlY3RfdXJpJyxcbiAgICAgICAgZGlzcGxheTogX18oJ0NhbGxiYWNrIFVSTCcpLFxuICAgICAgICB0YWc6ICd0ZXh0YXJlYScsXG4gICAgICAgIGxpbWl0OiAyNTAsXG4gICAgICAgIFwibnVsbFwiOiBmYWxzZSxcbiAgICAgICAgbm90ZTogX18oJ1VzZSBvbmUgbGluZSBwZXIgVVJJJylcbiAgICAgIH0sIHtcbiAgICAgICAgbmFtZTogJ2NsaWVudHMnLFxuICAgICAgICBkaXNwbGF5OiBfXygnQ2xpZW50cycpLFxuICAgICAgICB0YWc6ICdpbnB1dCcsXG4gICAgICAgIHJlYWRvbmx5OiAxXG4gICAgICB9LCB7XG4gICAgICAgIG5hbWU6ICdjcmVhdGVkX2F0JyxcbiAgICAgICAgZGlzcGxheTogX18oJ0NyZWF0ZWQnKSxcbiAgICAgICAgdGFnOiAnZGF0ZXRpbWUnLFxuICAgICAgICByZWFkb25seTogMVxuICAgICAgfSwge1xuICAgICAgICBuYW1lOiAndXBkYXRlZF9hdCcsXG4gICAgICAgIGRpc3BsYXk6IF9fKCdVcGRhdGVkJyksXG4gICAgICAgIHRhZzogJ2RhdGV0aW1lJyxcbiAgICAgICAgcmVhZG9ubHk6IDFcbiAgICAgIH1cbiAgICBdO1xuXG4gICAgQXBwbGljYXRpb24uY29uZmlndXJlX292ZXJ2aWV3ID0gWyduYW1lJywgJ3JlZGlyZWN0X3VyaScsICdjbGllbnRzJ107XG5cbiAgICBBcHBs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