System.register(["./p-e6381e49.system.js"],function(t){"use strict";var e,i,r;return{setters:[function(t){e=t.r;i=t.c;r=t.h}],execute:function(){var n=function(){function t(t){e(this,t);this.step=15;this.clock24=true;this.timeSelectedChange=i(this,"timeSelectedChange",7)}t.prototype._getOptions=function(){var t=0;var e=Math.round(60/this.step*24);var i=[];for(var r=t;r<e;r++){i.push(r*this.step)}return i};t.prototype._format=function(t,e){var i="";if(!this.clock24&&t>=12){i="PM";t=t-12}else{if(!this.clock24&&t<12){i="AM"}}if(!this.clock24&&t===0){t=12}if(t<10){t="0"+t}if(e<10){e="0"+e}if(i)e=e+(" "+i);return t+":"+e};t.prototype._renderOption=function(t){var e=this;var i=new Date(0);i.setMinutes(t);var n=i.getUTCHours();var s=i.getUTCMinutes();var o=this._format(n,s);if(this.timeSelected===o)return r("materials-list-item",{selected:true,onClick:function(){return e.timeSelectedChange.emit(o)}},o);else return r("materials-list-item",{onClick:function(){return e.timeSelectedChange.emit(o)}},o)};t.prototype.render=function(){var t=this;return this._getOptions().map(function(e){return t._renderOption(e)})};return t}();t("materials_timepicker",n)}}});