Error retrieving data from your lights. Yikes.
'}),e.set("displayNextFailure",!1),r(e,function(){e.set("displayNextFailure",!0)},3e4))}
-this.get("pauseLightUpdates")||p.get(this.get("apiURL")+"/lights",function(n,o){a(n[0])||a(n[0].error)?"success"===o&&JSON.stringify(e.get("lightsData"))!==JSON.stringify(n)&&e.set("lightsData",n):t()}).fail(t)},actions:{tryAndroid:function(){window.open("https://play.google.com/store/apps/details?id=com.hoboman313.huegasm","_blank")},tryExtension:function(){chrome.webstore.install("https://chrome.google.com/webstore/detail/mbjanbdhcpohhfecjgbdpcfhnnbofooj")},changeTab:function(e){var t=this.get("tabList").indexOf(e)
+this.set("canTryChrome",/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)),a(t)||this.set("firstVisitApp",!1),this.get("trial")||(this.updateLightData(),setInterval(this.updateLightData.bind(this),3e3)),i(e.get("huegasm.selectedTab"))||this.set("selectedTab",this.get("storage").get("huegasm.selectedTab"))},updateLightData:function(){var e=this,t=function(){i(e.get("lightsData"))?e.send("clearBridge"):e.get("displayNextFailure")&&(e.get("notify").warning({html:'Error retrieving data from your lights. Yikes.
'}),e.set("displayNextFailure",!1),r(e,function(){e.set("displayNextFailure",!0)},3e4))}
+this.get("pauseLightUpdates")||p.get(this.get("apiURL")+"/lights",function(n,o){i(n[0])||i(n[0].error)?"success"===o&&JSON.stringify(e.get("lightsData"))!==JSON.stringify(n)&&e.set("lightsData",n):t()}).fail(t)},actions:{tryAndroid:function(){window.open("https://play.google.com/store/apps/details?id=com.hoboman313.huegasm","_blank")},tryExtension:function(){chrome.webstore.install("https://chrome.google.com/webstore/detail/mbjanbdhcpohhfecjgbdpcfhnnbofooj")},changeTab:function(e){var t=this.get("tabList").indexOf(e)
this.set("selectedTab",t),this.get("storage").set("huegasm.selectedTab",t)},clearBridge:function(){var e=this.get("storage")
e.remove("huegasm.bridgeUsername"),e.remove("huegasm.bridgeIp"),location.reload()},toggleDimmer:function(){this.sendAction("toggleDimmer")},toggleLightsIcons:function(){this.sendAction("toggleLightsIcons")},clearAllSettings:function(){this.get("storage").clear(),location.reload()},email:function(){window.open("mailto:huegasm.app@gmail.com","_blank")},startIntro:function(){var e=this,t=introJs(),n=p("#player-bottom")
this.get("dimmerOn")&&this.send("toggleDimmer"),t.setOptions({steps:[{intro:"Welcome! This short tutorial will introduce you to Huegasm."},{element:"#music-tab",intro:"This is the music player. You'll use this to play music and synchronize it with your active lights.SoundCloud user URLs are not supported.',tooManySoundCloudFuckUps:'The SoundCloud API is not seving the audio properly. More details
HERE .
',notStreamableHtml:function(e){return'The following file(s) could not be added because they are not allowed to be streamed: '+e.toString().replace(/,/g," ")+"
"},urlNotFoundHtml:function(e){return'The URL ('+e+") could not be resolved.
"},failedToPlayFileHtml:function(e){return'Failed to play file ('+e+").
"},failedToDecodeFileHtml:function(e){return'Failed to decode file ('+e+").
"},scUrl:o("playQueuePointer","playQueue.[]",function(){var e=null,t=this.get("playQueue")[this.get("playQueuePointer")]
return t&&t.scUrl&&(e=t.scUrl),e}),playQueueEmpty:o.empty("playQueue"),playQueueNotEmpty:o.notEmpty("playQueue"),playQueueMultiple:o("playQueue.[]",function(){return this.get("playQueue").length>1}),seekPosition:o("timeElapsed","timeTotal",function(){var e=this.get("timeTotal"),t=this.get("timeElapsed")
return 0===e?0:t/e*100}),largeArtworkPic:o("playQueuePointer","currentVisName",function(){var e="",t=this.get("currentVisName"),n=this.get("playQueuePointer"),o=this.get("playQueue")
-if(-1!==n&&"None"===t){var a=o[n]
-i(a.picture)||(e=a.picture,a.scUrl&&(e=e.replace("67x67","500x500")))}return e}),repeatIcon:o("repeat",function(){return 2===this.get("repeat")?"repeat-one":"repeat"}),playingIcon:o("playing",function(){return this.get("playing")?"pause":this.get("timeElapsed")===this.get("timeTotal")&&0!==this.get("timeTotal")?"replay":"play-arrow"}),playListAreaClass:o("dragging","draggingOverPlayListArea","dimmerOn",function(){var e="pointer"
+if(-1!==n&&"None"===t){var i=o[n]
+a(i.picture)||(e=i.picture,i.scUrl&&(e=e.replace("67x67","500x500")))}return e}),repeatIcon:o("repeat",function(){return 2===this.get("repeat")?"repeat-one":"repeat"}),playingIcon:o("playing",function(){return this.get("playing")?"pause":this.get("timeElapsed")===this.get("timeTotal")&&0!==this.get("timeTotal")?"replay":"play-arrow"}),playListAreaClass:o("dragging","draggingOverPlayListArea","dimmerOn",function(){var e="pointer"
return this.get("dragging")&&(e+=" drag-here-highlight"),this.get("draggingOverPlayListArea")&&(e+=" dragging-over"),this.get("dimmerOn")&&(e+=" dimmerOn"),e}),dimmerOnClass:o("dimmerOn",function(){return this.get("dimmerOn")?"dimmerOn":null}),volumeMutedClass:o("volumeMuted",function(){var e="player-control-icon volumeButton"
return this.get("volumeMuted")&&(e+=" active"),e}),repeatClass:o("repeat",function(){return 0!==this.get("repeat")?"player-control-icon active":"player-control-icon"}),shuffleClass:o("shuffle",function(){return this.get("shuffle")?"player-control-icon active":"player-control-icon"}),volumeIcon:o("volumeMuted","volume",function(){var e=this.get("volume")
return this.get("volumeMuted")?"volume-off":e>=70?"volume-up":e>10?"volume-down":"volume-mute"}),beatDetectionAreaArrowIcon:o("playerBottomDisplayed",function(){return this.get("playerBottomDisplayed")?"keyboard-arrow-up":"keyboard-arrow-down"}),timeElapsedTxt:o("timeElapsed",function(){return this.formatTime(this.get("timeElapsed"))}),timeTotalTxt:o("timeTotal",function(){var e=this.get("timeTotal")
return this.formatTime(e===1/0?null:e)}),onPlayQueueChange:n("playQueue.length",function(){var e=this,t=this.get("playQueue.length")
-t>this.get("oldPlayQueueLength")&&a.once(this,function(){a.next(e,function(){s(".track"+(t-1)).velocity("scroll",{container:s("#play-list-area"),duration:200})})}),this.set("oldPlayQueueLength",t)}),playerAreaClickIcon:o("playing",function(){return this.get("playing")?"play-arrow":"pause"}),onOptionChange:n("flashingTransitions","playQueue.[]","playQueuePointer","ambienceMode","blackoutMode",function(e,t){var n=this
+t>this.get("oldPlayQueueLength")&&i.once(this,function(){i.next(e,function(){s(".track"+(t-1)).velocity("scroll",{container:s("#play-list-area"),duration:200})})}),this.set("oldPlayQueueLength",t)}),playerAreaClickIcon:o("playing",function(){return this.get("playing")?"play-arrow":"pause"}),onOptionChange:n("flashingTransitions","playQueue.[]","playQueuePointer","ambienceMode","blackoutMode",function(e,t){var n=this
t=t.replace(".[]","")
var o=this.get(t)
if("playQueue"===t)o=o.filter(function(e){return!e.url.startsWith("blob:")})
-else if("blackoutMode"===t){var a={on:!0}
-o&&(this.set("ambienceMode",!1),a.on=!1),this.get("playing")&&this.get("activeLights").forEach(function(e){s.ajax(n.get("apiURL")+"/lights/"+e+"/state",{data:JSON.stringify(a),contentType:"application/json",type:"PUT"})})}else o&&"ambienceMode"===t&&this.set("blackoutMode",!1)
-i(o)||this.get("storage").set("huegasm."+t,o)}),onRepeatChange:l("init",n("repeat",function(){var e="Repeat all"
+else if("blackoutMode"===t){var i={on:!0}
+o&&(this.set("ambienceMode",!1),i.on=!1),this.get("playing")&&this.get("activeLights").forEach(function(e){s.ajax(n.get("apiURL")+"/lights/"+e+"/state",{data:JSON.stringify(i),contentType:"application/json",type:"PUT"})})}else o&&"ambienceMode"===t&&this.set("blackoutMode",!1)
+a(o)||this.get("storage").set("huegasm."+t,o)}),onRepeatChange:l("init",n("repeat",function(){var e="Repeat all"
1===this.get("repeat")?e="Repeat one":2===this.get("repeat")&&(e="Repeat off"),this.changeTooltipText("repeat",e)})),onShuffleChange:l("init",n("shuffle",function(){var e="Shuffle"
this.get("shuffle")&&(this.get("shufflePlayed").clear(),e="Unshuffle"),this.changeTooltipText("shuffle",e)})),onVolumeMutedChange:l("init",n("volumeMuted",function(){var e="Mute",t=this.get("volumeMuted"),n=this.get("dancer"),o=0
t?(e="Unmute",o=0):o=this.get("volume")/100,this.get("playing")&&n.setVolume(o),this.changeTooltipText("volumeMuted",e)})),onPrevChange:l("init",n("timeElapsed","playQueueNotEmpty","playQueue.[]",function(){if(this.get("playQueueNotEmpty")){var e="Previous";(this.get("timeElapsed")>5||1===this.get("playQueue").length)&&(e="Replay"),this.changeTooltipText("prev",e)}})),onPlayingChange:l("init",n("playing",function(){var e="Play"
-this.get("playing")?e="Pause":this.get("timeElapsed")===this.get("timeTotal")&&0!==this.get("timeTotal")&&(e="Replay"),this.changeTooltipText("playing",e)})),changeTooltipText:function(e,t){s("#"+e+"Tooltip + .tooltip .tooltip-inner").html(t),s("#"+e+"Tooltip").attr("data-original-title",t),i(this.get(e+"TooltipTxt"))&&this.set(e+"TooltipTxt",t)},formatTime:function(e){return null!==e?this.pad(Math.floor(e/60),2)+":"+this.pad(e%60,2):e},pad:function(e,t){return("000000000"+e).substr(-t)}})}),define("huegasm/pods/components/music-tab/mixins/visualizer",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0})
+this.get("playing")?e="Pause":this.get("timeElapsed")===this.get("timeTotal")&&0!==this.get("timeTotal")&&(e="Replay"),this.changeTooltipText("playing",e)})),changeTooltipText:function(e,t){s("#"+e+"Tooltip + .tooltip .tooltip-inner").html(t),s("#"+e+"Tooltip").attr("data-original-title",t),a(this.get(e+"TooltipTxt"))&&this.set(e+"TooltipTxt",t)},formatTime:function(e){return null!==e?this.pad(Math.floor(e/60),2)+":"+this.pad(e%60,2):e},pad:function(e,t){return("000000000"+e).substr(-t)}})}),define("huegasm/pods/components/music-tab/mixins/visualizer",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0})
var t=Ember.Mixin,n=Ember.observer,o=Ember.$
e.default=t.create({currentVisName:"None",visNames:["None","Bars","Wave"],onCurrentVisNameChange:n("currentVisName",function(){var e=this.get("currentVisName")
if("None"===e){var t=o("#visualization")[0]
-t.getContext("2d").clearRect(0,0,t.width,t.height)}this.get("storage").set("huegasm.currentVisName",e)}),didInsertElement:function(){var e=this,t=this.get("dancer"),n=o("#visualization")[0],i=o("#player-area"),a=n.getContext("2d"),s=i.height(),r=void 0
+t.getContext("2d").clearRect(0,0,t.width,t.height)}this.get("storage").set("huegasm.currentVisName",e)}),didInsertElement:function(){var e=this,t=this.get("dancer"),n=o("#visualization")[0],a=o("#player-area"),i=n.getContext("2d"),s=a.height(),r=void 0
n.height=s
-var l=function(){r=i.width(),n.width=r}
-l(),o(window).on("resize",l),t.bind("update",function(){var n=e.get("currentVisName"),o=a.createLinearGradient(0,0,0,s),i=document.hidden||document.msHidden||document.webkitHidden||document.mozHidden
-if("None"!==n&&!i&&e.get("active"))if(a.clearRect(0,0,r,s),"Wave"===n){o.addColorStop(.6,"white"),o.addColorStop(0,"#0036FA"),a.lineWidth=1,a.strokeStyle=o
+var l=function(){r=a.width(),n.width=r}
+l(),o(window).on("resize",l),t.bind("update",function(){var n=e.get("currentVisName"),o=i.createLinearGradient(0,0,0,s),a=document.hidden||document.msHidden||document.webkitHidden||document.mozHidden
+if("None"!==n&&!a&&e.get("active"))if(i.clearRect(0,0,r,s),"Wave"===n){o.addColorStop(.6,"white"),o.addColorStop(0,"#0036FA"),i.lineWidth=1,i.strokeStyle=o
var l=t.getWaveform()
-a.beginPath(),a.moveTo(0,s/2)
-for(var c=0,p=l.length;ci.clientHeight&&(r(i,{position:"fixed",width:"100%",top:-o+"px"}),r(e,{overflowY:"scroll"}))
-i.clientWidth\n
\n ')
-return i.appendChild(e[0]),e.on("wheel",s),e.on("touchmove",s),o.on("keydown",a),function(){e.off("wheel"),e.off("touchmove"),e[0].parentNode.removeChild(e[0]),o.off("keydown",a),delete t.disableScrollAround._enableScrolling}
-function a(e){}function s(e){e.preventDefault()}}()
-return t.disableScrollAround._enableScrolling=function(){--t.disableScrollAround._count||(a(),s(),delete t.disableScrollAround._enableScrolling)}
+var a=o.get(0).body,i=function(){var e=a.parentNode,t=e.getAttribute("style")||"",n=a.getAttribute("style")||"",o=a.scrollTop+a.parentElement.scrollTop,i=a.clientWidth
+a.scrollHeight>a.clientHeight&&(r(a,{position:"fixed",width:"100%",top:-o+"px"}),r(e,{overflowY:"scroll"}))
+a.clientWidth\n
\n ')
+return a.appendChild(e[0]),e.on("wheel",s),e.on("touchmove",s),o.on("keydown",i),function(){e.off("wheel"),e.off("touchmove"),e[0].parentNode.removeChild(e[0]),o.off("keydown",i),delete t.disableScrollAround._enableScrolling}
+function i(e){}function s(e){e.preventDefault()}}()
+return t.disableScrollAround._enableScrolling=function(){--t.disableScrollAround._count||(i(),s(),delete t.disableScrollAround._enableScrolling)}
function r(e,t){for(var n in t)e.style[n]=t[n]}},enableScrolling:function(){var e=this.disableScrollAround._enableScrolling
-e&&e()},supplant:function(e,t,n){return n=n||/\{([^\{\}]*)\}/g,e.replace(n,function(e,n){var o=n.split("."),i=t
-try{for(var a in o)o.hasOwnProperty(a)&&(i=i[o[a]])}catch(t){i=e}return"string"==typeof i||"number"==typeof i?i:e})},nextTick:function(e,t,n,o,i){for(;!i&&n ',beyond_ceiling_pendant_table:' ',bloom:' ',br30:' ',br30_slim:' ',bridge_v1:' ',bridge_v2:' ',ceiling_round:' ',ceiling_square:' ',entity:' ',floor:' ',go:' ',gu10:' ',gu10_perfectfit:' ',hds:' ',impulse:' ',iris:' ',lightstrip:' ',motion_sensor:' ',pendant_oval:' ',pendant_round:' ',pendant_square:' ',phoenix_ceiling:' ',phoenix_down:' ',recessed:' ',storylight:' ',table:' ',tap:' ',white_and_color_e27:' ',white_e27:' '},outline:{aura:' ',beyond_ceiling_pendant_table:' ',bloom:' ',br30:' ',br30_slim:' ',bridge_v1:' ',bridge_v2:' ',ceiling_round:' ',ceiling_square:' ',entity:' ',floor:' ',go:' ',gu10:' ',gu10_perfectfit:' ',hds:' ',impulse:' ',iris:' ',lightstrip:' ',motion_sensor:' ',par16:' ',pendant_oval:' ',pendant_round:' ',pendant_square:' ',phoenix_ceiling:' ',phoenix_ceiling_2:' ',phoenix_down:' ',phoenix_pendant:' ',phoenix_table:' ',phoenix_wall:' ',recessed:' ',storylight:' ',table:' ',tap:' ',white_and_color_e27:' ',white_e27:' '}}}},"safari-pinned-tab":' '}}),define("huegasm/templates/components/transition-group",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=Ember.HTMLBars.template({id:"Z/BMdkzA",block:'{"symbols":["&default"],"statements":[[11,1],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"huegasm/templates/components/transition-group.hbs"}})}),define("huegasm/utils/clamp",["exports","ember-paper/utils/clamp"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
+e&&e()},supplant:function(e,t,n){return n=n||/\{([^\{\}]*)\}/g,e.replace(n,function(e,n){var o=n.split("."),a=t
+try{for(var i in o)o.hasOwnProperty(i)&&(a=a[o[i]])}catch(t){a=e}return"string"==typeof a||"number"==typeof a?a:e})},nextTick:function(e,t,n,o,a){for(;!a&&nDownload_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 ',lights:{filled:{aura:' ',beyond_ceiling_pendant_table:' ',bloom:' ',br30:' ',br30_slim:' ',bridge_v1:' ',bridge_v2:' ',ceiling_round:' ',ceiling_square:' ',entity:' ',floor:' ',go:' ',gu10:' ',gu10_perfectfit:' ',hds:' ',impulse:' ',iris:' ',lightstrip:' ',motion_sensor:' ',pendant_oval:' ',pendant_round:' ',pendant_square:' ',phoenix_ceiling:' ',phoenix_down:' ',recessed:' ',storylight:' ',table:' ',tap:' ',white_and_color_e27:' ',white_e27:' '},outline:{aura:' ',beyond_ceiling_pendant_table:' ',bloom:' ',br30:' ',br30_slim:' ',bridge_v1:' ',bridge_v2:' ',ceiling_round:' ',ceiling_square:' ',entity:' ',floor:' ',go:' ',gu10:' ',gu10_perfectfit:' ',hds:' ',impulse:' ',iris:' ',lightstrip:' ',motion_sensor:' ',par16:' ',pendant_oval:' ',pendant_round:' ',pendant_square:' ',phoenix_ceiling:' ',phoenix_ceiling_2:' ',phoenix_down:' ',phoenix_pendant:' ',phoenix_table:' ',phoenix_wall:' ',recessed:' ',storylight:' ',table:' ',tap:' ',white_and_color_e27:' ',white_e27:' '}}}},"safari-pinned-tab":' '}}),define("huegasm/templates/components/transition-group",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=Ember.HTMLBars.template({id:"Z/BMdkzA",block:'{"symbols":["&default"],"statements":[[11,1],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"huegasm/templates/components/transition-group.hbs"}})}),define("huegasm/utils/clamp",["exports","ember-paper/utils/clamp"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
define("huegasm/config/environment",[],function(){try{var e="huegasm/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(unescape(t))}
return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(t){throw new Error('Could not read config from meta tag with name "'+e+'".')}}),runningTests||require("huegasm/app").default.create({name:"huegasm",version:"1.0.0+de33a3ff"})
diff --git a/assets/images/app-store-badge.svg b/assets/images/app-store-badge.svg
new file mode 100644
index 0000000..072b425
--- /dev/null
+++ b/assets/images/app-store-badge.svg
@@ -0,0 +1,46 @@
+
+ Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/index.html b/index.html
index 05f2c8a..20dcf29 100644
--- a/index.html
+++ b/index.html
@@ -63,7 +63,7 @@
-
+
diff --git a/web-app.html b/web-app.html
deleted file mode 100644
index 05f2c8a..0000000
--- a/web-app.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
- Huegasm
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file