(function(){"use strict";u8.Base.Widgets.LiveTileArrayProvider=function(e){$.extend(this,u8.Base.Widgets.LiveTileArrayProvider.defaults,e);this.bind(e);this._isCreated=false;this._create()};u8.Base.Widgets.LiveTileArrayProvider.defaults={items:[],moreRowsExist:false,disabled:false};$.extend(u8.Base.Widgets.LiveTileArrayProvider.prototype,{createSlider:function(e,t){this._slider=u8.create("Slider",e,$.extend(t,{items:[]}));return this._slider},load:function(){this.items=this.items||[];this.raise("Update",{reason:"load"});var e=this.items;if(e&&e.length&&typeof e[0]!="object"){var t=0;e=e.map(function(e){return{key:t++,text:e.toString()}})}if(this._slider){this._slider.setItems(e)}},executeAction:function(e){u8.services.actions.execute(e)},canExecuteAction:function(e){return!this.disabled&&!!e},canCreateSlider:function(){return true},dispose:function(){},set:function(e,t){var i=this.get(e);this[e]=t;if(i!==t){this.raise("Update",{propertyName:propertyName,value:t})}},get:function(e){return this[e]},_create:function(){u8.tools.created(this)}});u8.Base.Widgets.LiveTileArrayProvider.makeClass({name:"LiveTileArrayProvider",events:["Update","Create"]})})();