"use strict"
define("mimolive-remote-control/adapters/application",["exports","ember-data","mimolive-remote-control/config/environment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=n.default.API,r=o.host,i=o.namespace
var a=t.default.JSONAPIAdapter.extend({ajaxService:Ember.inject.service("ajax"),host:r,namespace:i,shouldBackgroundReloadRecord:()=>!1,shouldBackgroundReloadAll:()=>!1,headersForRequest(){const e=this._super(...arguments)||{}
return Ember.assign(e,this.get("ajaxService.headers")),e}})
e.default=a}),define("mimolive-remote-control/adapters/custom-inflector",["exports","ember-inflector"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t.default.inflector.irregular("canvas","canvases")
e.default={}}),define("mimolive-remote-control/adapters/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.JSONAPISerializer.extend({})
e.default=n}),define("mimolive-remote-control/app",["exports","mimolive-remote-control/resolver","ember-load-initializers","mimolive-remote-control/config/environment","mimolive-remote-control/adapters/custom-inflector"],function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=Ember.Application.extend({modulePrefix:o.default.modulePrefix,podModulePrefix:o.default.podModulePrefix,Resolver:t.default});(0,n.default)(i,o.default.modulePrefix)
var a=i
e.default=a}),define("mimolive-remote-control/components/-lf-get-outlet-state",["exports","liquid-fire/components/-lf-get-outlet-state"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/basic-dropdown",["exports","ember-basic-dropdown/components/basic-dropdown"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/basic-dropdown/content-element",["exports","ember-basic-dropdown/components/basic-dropdown/content-element"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/basic-dropdown/content",["exports","ember-basic-dropdown/components/basic-dropdown/content"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/basic-dropdown/trigger",["exports","ember-basic-dropdown/components/basic-dropdown/trigger"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/content-backdrop",["exports","ember-side-menu/components/content-backdrop"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/content-editable",["exports","ember-content-editable/components/content-editable"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/head-content",["exports","mimolive-remote-control/templates/head"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=Ember.Component.extend({tagName:"",model:Ember.inject.service("head-data"),layout:t.default})
e.default=n}),define("mimolive-remote-control/components/head-layout",["exports","ember-cli-head/components/head-layout"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/illiquid-model",["exports","liquid-fire/components/illiquid-model"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-append",["exports","liquid-wormhole/components/liquid-append"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-bind",["exports","liquid-fire/components/liquid-bind"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-child",["exports","liquid-fire/components/liquid-child"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-container",["exports","liquid-fire/components/liquid-container"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-destination",["exports","liquid-wormhole/components/liquid-destination"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-if",["exports","liquid-fire/components/liquid-if"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-measured",["exports","liquid-fire/components/liquid-measured"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"measure",{enumerable:!0,get:function(){return t.measure}})}),define("mimolive-remote-control/components/liquid-outlet",["exports","liquid-fire/components/liquid-outlet"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-spacer",["exports","liquid-fire/components/liquid-spacer"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-sync",["exports","liquid-fire/components/liquid-sync"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-unless",["exports","liquid-fire/components/liquid-unless"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-versions",["exports","liquid-fire/components/liquid-versions"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/liquid-wormhole",["exports","liquid-wormhole/components/liquid-wormhole"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select-multiple",["exports","ember-power-select/components/power-select-multiple"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select-multiple/trigger",["exports","ember-power-select/components/power-select-multiple/trigger"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select",["exports","ember-power-select/components/power-select"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
define("mimolive-remote-control/components/power-select/before-options",["exports","ember-power-select/components/power-select/before-options"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select/options",["exports","ember-power-select/components/power-select/options"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select/placeholder",["exports","ember-power-select/components/power-select/placeholder"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select/power-select-group",["exports","ember-power-select/components/power-select/power-select-group"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select/search-message",["exports","ember-power-select/components/power-select/search-message"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/power-select/trigger",["exports","ember-power-select/components/power-select/trigger"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/side-menu-link-to",["exports","ember-side-menu/components/side-menu-link-to"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/side-menu-toggle",["exports","ember-side-menu/components/side-menu-toggle"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/side-menu",["exports","ember-side-menu/components/side-menu"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/x-toggle-label",["exports","ember-toggle/components/x-toggle-label/component"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/x-toggle-switch",["exports","ember-toggle/components/x-toggle-switch/component"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/components/x-toggle",["exports","ember-toggle/components/x-toggle/component","mimolive-remote-control/config/environment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=n.default["ember-toggle"]||{}
var r=t.default.extend({theme:o.defaultTheme||"default",defaultOffLabel:o.defaultOffLabel||"Off::off",defaultOnLabel:o.defaultOnLabel||"On::on",showLabels:o.defaultShowLabels||!1,size:o.defaultSize||"medium"})
e.default=r}),define("mimolive-remote-control/ember-gestures/recognizers/pan",["exports","ember-gestures/recognizers/pan"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/ember-gestures/recognizers/pinch",["exports","ember-gestures/recognizers/pinch"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/ember-gestures/recognizers/press",["exports","ember-gestures/recognizers/press"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/ember-gestures/recognizers/rotate",["exports","ember-gestures/recognizers/rotate"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/ember-gestures/recognizers/swipe",["exports","ember-gestures/recognizers/swipe"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/ember-gestures/recognizers/tap",["exports","ember-gestures/recognizers/tap"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/ember-gestures/recognizers/vertical-pan",["exports","ember-gestures/recognizers/vertical-pan"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/ember-gestures/recognizers/vertical-swipe",["exports","ember-gestures/recognizers/vertical-swipe"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/event_dispatcher",["exports","ember-gestures/event_dispatcher","mimolive-remote-control/config/environment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=Ember.assign||Ember.merge
let r=o({},{emberUseCapture:!1,removeTracking:!1,useFastPaths:!1})
r=o(r,n.default.gestures)
var i=t.default.extend({useCapture:r.emberUseCapture,removeTracking:r.removeTracking,useFastPaths:r.useFastPaths})
e.default=i}),define("mimolive-remote-control/helpers/and",["exports","ember-truth-helpers/helpers/and"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"and",{enumerable:!0,get:function(){return t.and}})}),define("mimolive-remote-control/helpers/app-version",["exports","mimolive-remote-control/config/environment","ember-cli-app-version/utils/regexp"],function(e,t,n){function o(e,o={}){const r=t.default.APP.version
let i=o.versionOnly||o.hideSha,a=o.shaOnly||o.hideVersion,s=null
return i&&(o.showExtended&&(s=r.match(n.versionExtendedRegExp)),s||(s=r.match(n.versionRegExp))),a&&(s=r.match(n.shaRegExp)),s?s[0]:r}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=o,e.default=void 0
var r=Ember.Helper.helper(o)
e.default=r}),define("mimolive-remote-control/helpers/append",["exports","ember-composable-helpers/helpers/append"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"append",{enumerable:!0,get:function(){return t.append}})}),define("mimolive-remote-control/helpers/array",["exports","ember-composable-helpers/helpers/array"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return t.array}})}),define("mimolive-remote-control/helpers/background-color",["exports"],function(e){function t([e]){return Ember.String.htmlSafe(`background-color: ${e};`)}Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundColor=t,e.default=void 0
var n=Ember.Helper.helper(t)
e.default=n}),define("mimolive-remote-control/helpers/cancel-all",["exports","ember-concurrency/helpers/cancel-all"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/chunk",["exports","ember-composable-helpers/helpers/chunk"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"chunk",{enumerable:!0,get:function(){return t.chunk}})}),define("mimolive-remote-control/helpers/compact",["exports","ember-composable-helpers/helpers/compact"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"compact",{enumerable:!0,get:function(){return t.compact}})}),define("mimolive-remote-control/helpers/compute",["exports","ember-composable-helpers/helpers/compute"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return t.compute}})})
define("mimolive-remote-control/helpers/contains",["exports","ember-composable-helpers/helpers/contains"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return t.contains}})}),define("mimolive-remote-control/helpers/dec",["exports","ember-composable-helpers/helpers/dec"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"dec",{enumerable:!0,get:function(){return t.dec}})}),define("mimolive-remote-control/helpers/drop",["exports","ember-composable-helpers/helpers/drop"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"drop",{enumerable:!0,get:function(){return t.drop}})}),define("mimolive-remote-control/helpers/ember-power-select-is-group",["exports","ember-power-select/helpers/ember-power-select-is-group"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"emberPowerSelectIsGroup",{enumerable:!0,get:function(){return t.emberPowerSelectIsGroup}})}),define("mimolive-remote-control/helpers/ember-power-select-is-selected",["exports","ember-power-select/helpers/ember-power-select-is-selected"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"emberPowerSelectIsSelected",{enumerable:!0,get:function(){return t.emberPowerSelectIsSelected}})}),define("mimolive-remote-control/helpers/ember-power-select-true-string-if-present",["exports","ember-power-select/helpers/ember-power-select-true-string-if-present"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"emberPowerSelectTrueStringIfPresent",{enumerable:!0,get:function(){return t.emberPowerSelectTrueStringIfPresent}})}),define("mimolive-remote-control/helpers/eq",["exports","ember-truth-helpers/helpers/equal"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"equal",{enumerable:!0,get:function(){return t.equal}})}),define("mimolive-remote-control/helpers/filter-by",["exports","ember-composable-helpers/helpers/filter-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"filterBy",{enumerable:!0,get:function(){return t.filterBy}})}),define("mimolive-remote-control/helpers/filter",["exports","ember-composable-helpers/helpers/filter"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return t.filter}})}),define("mimolive-remote-control/helpers/find-by",["exports","ember-composable-helpers/helpers/find-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"findBy",{enumerable:!0,get:function(){return t.findBy}})}),define("mimolive-remote-control/helpers/flatten",["exports","ember-composable-helpers/helpers/flatten"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return t.flatten}})}),define("mimolive-remote-control/helpers/format-seconds",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatSeconds=n,e.default=void 0
const t=Math.floor
function n([e]){const n=e+1,o=t(n/60),r=t(n%60)
return o>0?`${o}:${function(e){const t=String(e)
return"00".substring(0,"00".length-t.length)+t}(r)}`:`${r}`}var o=Ember.Helper.helper(n)
e.default=o}),define("mimolive-remote-control/helpers/group-by",["exports","ember-composable-helpers/helpers/group-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return t.groupBy}})}),define("mimolive-remote-control/helpers/gt",["exports","ember-truth-helpers/helpers/gt"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gt",{enumerable:!0,get:function(){return t.gt}})}),define("mimolive-remote-control/helpers/gte",["exports","ember-truth-helpers/helpers/gte"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gte",{enumerable:!0,get:function(){return t.gte}})}),define("mimolive-remote-control/helpers/has-next",["exports","ember-composable-helpers/helpers/has-next"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"hasNext",{enumerable:!0,get:function(){return t.hasNext}})}),define("mimolive-remote-control/helpers/has-previous",["exports","ember-composable-helpers/helpers/has-previous"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"hasPrevious",{enumerable:!0,get:function(){return t.hasPrevious}})}),define("mimolive-remote-control/helpers/inc",["exports","ember-composable-helpers/helpers/inc"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"inc",{enumerable:!0,get:function(){return t.inc}})}),define("mimolive-remote-control/helpers/intersect",["exports","ember-composable-helpers/helpers/intersect"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"intersect",{enumerable:!0,get:function(){return t.intersect}})}),define("mimolive-remote-control/helpers/invoke",["exports","ember-composable-helpers/helpers/invoke"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"invoke",{enumerable:!0,get:function(){return t.invoke}})}),define("mimolive-remote-control/helpers/is-after",["exports","ember-moment/helpers/is-after"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-array",["exports","ember-truth-helpers/helpers/is-array"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return t.isArray}})}),define("mimolive-remote-control/helpers/is-before",["exports","ember-moment/helpers/is-before"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-between",["exports","ember-moment/helpers/is-between"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-empty",["exports","ember-truth-helpers/helpers/is-empty"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-equal",["exports","ember-truth-helpers/helpers/is-equal"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return t.isEqual}})}),define("mimolive-remote-control/helpers/is-same-or-after",["exports","ember-moment/helpers/is-same-or-after"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-same-or-before",["exports","ember-moment/helpers/is-same-or-before"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/is-same",["exports","ember-moment/helpers/is-same"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/join",["exports","ember-composable-helpers/helpers/join"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return t.join}})})
define("mimolive-remote-control/helpers/lf-lock-model",["exports","liquid-fire/helpers/lf-lock-model"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lfLockModel",{enumerable:!0,get:function(){return t.lfLockModel}})}),define("mimolive-remote-control/helpers/lf-or",["exports","liquid-fire/helpers/lf-or"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lfOr",{enumerable:!0,get:function(){return t.lfOr}})}),define("mimolive-remote-control/helpers/lt",["exports","ember-truth-helpers/helpers/lt"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return t.lt}})}),define("mimolive-remote-control/helpers/lte",["exports","ember-truth-helpers/helpers/lte"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lte",{enumerable:!0,get:function(){return t.lte}})}),define("mimolive-remote-control/helpers/map-by",["exports","ember-composable-helpers/helpers/map-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"mapBy",{enumerable:!0,get:function(){return t.mapBy}})}),define("mimolive-remote-control/helpers/map",["exports","ember-composable-helpers/helpers/map"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return t.map}})}),define("mimolive-remote-control/helpers/moment-add",["exports","ember-moment/helpers/moment-add"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-calendar",["exports","ember-moment/helpers/moment-calendar"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-diff",["exports","ember-moment/helpers/moment-diff"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-duration",["exports","ember-moment/helpers/moment-duration"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-format",["exports","ember-moment/helpers/moment-format"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-from-now",["exports","ember-moment/helpers/moment-from-now"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-from",["exports","ember-moment/helpers/moment-from"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-subtract",["exports","ember-moment/helpers/moment-subtract"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-to-date",["exports","ember-moment/helpers/moment-to-date"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-to-now",["exports","ember-moment/helpers/moment-to-now"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-to",["exports","ember-moment/helpers/moment-to"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment-unix",["exports","ember-moment/helpers/unix"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/moment",["exports","ember-moment/helpers/moment"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/next",["exports","ember-composable-helpers/helpers/next"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"next",{enumerable:!0,get:function(){return t.next}})}),define("mimolive-remote-control/helpers/not-eq",["exports","ember-truth-helpers/helpers/not-equal"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"notEq",{enumerable:!0,get:function(){return t.notEq}})}),define("mimolive-remote-control/helpers/not",["exports","ember-truth-helpers/helpers/not"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return t.not}})}),define("mimolive-remote-control/helpers/now",["exports","ember-moment/helpers/now"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/object-at",["exports","ember-composable-helpers/helpers/object-at"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"objectAt",{enumerable:!0,get:function(){return t.objectAt}})}),define("mimolive-remote-control/helpers/optional",["exports","ember-composable-helpers/helpers/optional"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"optional",{enumerable:!0,get:function(){return t.optional}})}),define("mimolive-remote-control/helpers/or",["exports","ember-truth-helpers/helpers/or"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"or",{enumerable:!0,get:function(){return t.or}})}),define("mimolive-remote-control/helpers/page-title",["exports","ember-page-title/helpers/page-title"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/helpers/perform",["exports","ember-concurrency/helpers/perform"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/pipe-action",["exports","ember-composable-helpers/helpers/pipe-action"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/pipe",["exports","ember-composable-helpers/helpers/pipe"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return t.pipe}})})
define("mimolive-remote-control/helpers/pluralize",["exports","ember-inflector/lib/helpers/pluralize"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/helpers/previous",["exports","ember-composable-helpers/helpers/previous"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"previous",{enumerable:!0,get:function(){return t.previous}})}),define("mimolive-remote-control/helpers/queue",["exports","ember-composable-helpers/helpers/queue"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return t.queue}})}),define("mimolive-remote-control/helpers/range",["exports","ember-composable-helpers/helpers/range"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"range",{enumerable:!0,get:function(){return t.range}})}),define("mimolive-remote-control/helpers/reduce",["exports","ember-composable-helpers/helpers/reduce"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return t.reduce}})}),define("mimolive-remote-control/helpers/reject-by",["exports","ember-composable-helpers/helpers/reject-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"rejectBy",{enumerable:!0,get:function(){return t.rejectBy}})}),define("mimolive-remote-control/helpers/repeat",["exports","ember-composable-helpers/helpers/repeat"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return t.repeat}})}),define("mimolive-remote-control/helpers/reverse",["exports","ember-composable-helpers/helpers/reverse"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"reverse",{enumerable:!0,get:function(){return t.reverse}})}),define("mimolive-remote-control/helpers/route-action",["exports","ember-route-action-helper/helpers/route-action"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/shuffle",["exports","ember-composable-helpers/helpers/shuffle"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"shuffle",{enumerable:!0,get:function(){return t.shuffle}})}),define("mimolive-remote-control/helpers/singularize",["exports","ember-inflector/lib/helpers/singularize"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/helpers/slice",["exports","ember-composable-helpers/helpers/slice"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"slice",{enumerable:!0,get:function(){return t.slice}})}),define("mimolive-remote-control/helpers/sort-by",["exports","ember-composable-helpers/helpers/sort-by"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return t.sortBy}})}),define("mimolive-remote-control/helpers/t",["exports","ember-i18n/helper"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/take",["exports","ember-composable-helpers/helpers/take"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"take",{enumerable:!0,get:function(){return t.take}})}),define("mimolive-remote-control/helpers/task",["exports","ember-concurrency/helpers/task"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/toggle-action",["exports","ember-composable-helpers/helpers/toggle-action"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/toggle",["exports","ember-composable-helpers/helpers/toggle"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"toggle",{enumerable:!0,get:function(){return t.toggle}})}),define("mimolive-remote-control/helpers/union",["exports","ember-composable-helpers/helpers/union"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return t.union}})}),define("mimolive-remote-control/helpers/unix",["exports","ember-moment/helpers/unix"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/helpers/utc",["exports","ember-moment/helpers/utc"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"utc",{enumerable:!0,get:function(){return t.utc}})}),define("mimolive-remote-control/helpers/without",["exports","ember-composable-helpers/helpers/without"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"without",{enumerable:!0,get:function(){return t.without}})}),define("mimolive-remote-control/helpers/xor",["exports","ember-truth-helpers/helpers/xor"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"xor",{enumerable:!0,get:function(){return t.xor}})}),define("mimolive-remote-control/icons/config",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={name:"",css_prefix_text:"icon-",css_use_suffix:!1,hinting:!0,units_per_em:1e3,ascent:850,glyphs:[{uid:"8b80d36d4ef43889db10bc1f0dc9a862",css:"user",code:59392,src:"fontawesome"},{uid:"0f99ab40ab0b4d64a74f2d0deeb03e42",css:"factime-video",code:59394,src:"fontawesome"},{uid:"381da2c2f7fd51f8de877c044d7f439d",css:"picture",code:59395,src:"fontawesome"},{uid:"dc3f1d5b1d006f7f7b3b6295eccab9da",css:"camera",code:59396,src:"fontawesome"},{uid:"ccc2329632396dc096bb638d4b46fb98",css:"mail-alt",code:61664,src:"fontawesome"},{uid:"31972e4e9d080eaa796290349ae6c1fd",css:"users",code:59397,src:"fontawesome"},{uid:"dd492243d64e21dfe16a92452f7861cb",css:"th-large",code:59398,src:"fontawesome"},{uid:"b1887b423d2fd15c345e090320c91ca0",css:"th",code:59399,src:"fontawesome"},{uid:"f805bb95d40c7ef2bc51b3d50d4f2e5c",css:"th-list",code:59400,src:"fontawesome"},{uid:"9ea0a737ccc45d6c510dcbae56058849",css:"music",code:59401,src:"fontawesome"},{uid:"e82cedfa1d5f15b00c5a81c9bd731ea2",css:"info",code:59402,src:"fontawesome"},{uid:"0f4cae16f34ae243a6144c18a003f2d8",css:"cancel-circled",code:59403,src:"fontawesome"},{uid:"43ab845088317bd348dee1d975700c48",css:"ok-circled",code:59404,src:"fontawesome"},{uid:"d7271d490b71df4311e32cdacae8b331",css:"home",code:59405,src:"fontawesome"},{uid:"eeadb020bb75d089b25d8424aabe19e0",css:"minus-circled",code:59406,src:"fontawesome"},{uid:"4ba33d2607902cf690dd45df09774cb0",css:"plus-circled",code:59407,src:"fontawesome"},{uid:"5e2ab018e3044337bcef5f7e94098ea1",css:"thumbs-up",code:61796,src:"fontawesome"},{uid:"ddcd918b502642705838815d40aea9e3",css:"thumbs-down",code:61797,src:"fontawesome"},{uid:"de2fc7a5c986ab8c622f63455d7cf814",css:"upload",code:61678,src:"fontawesome"},{uid:"0133387f2069a1b3168942b84d81dd3a",css:"gamepad",code:61723,src:"fontawesome"},{uid:"85528017f1e6053b2253785c31047f44",css:"comment",code:59408,src:"fontawesome"},{uid:"671f29fa10dda08074a4c6a341bb4f39",css:"bell-alt",code:61683,src:"fontawesome"},{uid:"0d08dbb1dd648a43bdea81b7e6c9e036",css:"location",code:59410,src:"fontawesome"},{uid:"00391fac5d419345ffcccd95b6f76263",css:"exclamation",code:61738,src:"fontawesome"},{uid:"72b1277834cba5b7944b0a6cac7ddb0d",css:"rss",code:61598,src:"fontawesome"},{uid:"9f7e588c66cfd6891f6f507cf6f6596b",css:"phone",code:59411,src:"fontawesome"},{uid:"21b42d3c3e6be44c3cc3d73042faa216",css:"sliders",code:61918,src:"fontawesome"},{uid:"531bc468eecbb8867d822f1c11f1e039",css:"calendar",code:59412,src:"fontawesome"},{uid:"19c50c52858a81de58f9db488aba77bc",css:"mic",code:61744,src:"fontawesome"},{uid:"43c629249e2cca7e73cd4ef410c9551f",css:"mute",code:61745,src:"fontawesome"},{uid:"f27bba41a700af51a4dd23cf4edea61d",css:"headphones",code:59413,src:"fontawesome"},{uid:"e594fc6e5870b4ab7e49f52571d52577",css:"resize-full",code:59414,src:"fontawesome"},{uid:"b013f6403e5ab0326614e68d1850fd6b",css:"resize-full-alt",code:61618,src:"fontawesome"},{uid:"ce06b5805120d0c2f8d60cd3f1a4fdb5",css:"play",code:59416,src:"fontawesome"},{uid:"b624a1e512819d410ddbee84e6918b9d",css:"stop",code:59417,src:"fontawesome"},{uid:"0b28050bac9d3facf2f0226db643ece0",css:"pause",code:59418,src:"fontawesome"},{uid:"598a5f2bcf3521d1615de8e1881ccd17",css:"clock",code:59419,src:"fontawesome"},{uid:"5278ef7773e948d56c4d442c8c8c98cf",css:"lightbulb",code:61675,src:"fontawesome"},{uid:"1c4068ed75209e21af36017df8871802",css:"arrow-down",code:59420,src:"fontawesome"},{uid:"555ef8c86832e686fef85f7af2eb7cde",css:"arrow-left",code:59421,src:"fontawesome"},{uid:"ad6b3fbb5324abe71a9c0b6609cbb9f1",css:"arrow-right",code:59422,src:"fontawesome"},{uid:"95376bf082bfec6ce06ea1cda7bd7ead",css:"arrow-up",code:59423,src:"fontawesome"},{uid:"4e511190b60f329d08301eb6869c5130",css:"fast-fw",code:59426,src:"fontawesome"},{uid:"b3d902fcead809e3a64c7ddcda497a6c",css:"fast-bw",code:59425,src:"fontawesome"},{uid:"f9cbf7508cd04145ade2800169959eef",css:"font",code:59424,src:"fontawesome"},{uid:"02cca871bb69da75e8ee286b7055832c",css:"bold",code:59427,src:"fontawesome"},{uid:"757afacc32d82967975cbb3b45cfb41b",css:"desktop",code:61704,src:"fontawesome"},{uid:"500fc1f109021e4b1de4deda2f7ed399",css:"laptop",code:61705,src:"fontawesome"},{uid:"f001fc3d4daa7da078e8c971e4f36977",css:"tablet",code:61706,src:"fontawesome"},{uid:"0357f7abbc0babf43509669f332e41e6",css:"mobile",code:61707,src:"fontawesome"},{uid:"197375a3cea8cb90b02d06e4ddf1433d",css:"globe",code:59428,src:"fontawesome"},{uid:"aa035df0908c4665c269b7b09a5596f3",css:"sun",code:61829,src:"fontawesome"},{uid:"2c413e78faf1d6631fd7b094d14c2253",css:"cloud",code:59429,src:"fontawesome"},{uid:"3212f42c65d41ed91cb435d0490e29ed",css:"flash",code:59430,src:"fontawesome"},{uid:"567e3e257f2cc8fba2c12bf691c9f2d8",css:"moon",code:61830,src:"fontawesome"},{uid:"24ca41ab002c09de6e89b28f9d599508",css:"umbrella",code:59431,src:"fontawesome"},{uid:"297fe6c2ef08198b03d706ba52f51b7f",css:"flight",code:59432,src:"fontawesome"},{uid:"a2a74f5e7b7d9ba054897d8c795a326a",css:"bullet-list",code:61642,src:"fontawesome"},{uid:"107ce08c7231097c7447d8f4d059b55f",css:"ellipsis",code:61761,src:"fontawesome"},{uid:"8b9e6a8dd8f67f7c003ed8e7e5ee0857",css:"off",code:59433,src:"fontawesome"},{uid:"9755f76110ae4d12ac5f9466c9152031",css:"book",code:59434,src:"fontawesome"},{uid:"266d5d9adf15a61800477a5acf9a4462",css:"chart-bar",code:59435,src:"fontawesome"},{uid:"7d1ca956f4181a023de4b9efbed92524",css:"chart-area",code:61950,src:"fontawesome"},{uid:"554ee96588a6c9ee632624cd051fe6fc",css:"chart-pie",code:61952,src:"fontawesome"},{uid:"f4445feb55521283572ee88bc304f928",css:"floppy",code:59436,src:"fontawesome"},{uid:"3e674995cacc2b09692c096ea7eb6165",css:"megaphone",code:59437,src:"fontawesome"},{uid:"d61be837c725a299b432dcbee2ecdae6",css:"certificate",code:61603,src:"fontawesome"},{uid:"9937d762aee170b7350b15dd02dd34a3",css:"cab",code:61881,src:"fontawesome"},{uid:"7f3d8ff1d5f6ee019f0c00ed7a86caec",css:"truck",code:59438,src:"fontawesome"},{uid:"5b17c7263caa553039655f2fef81ecaf",css:"bus",code:61959,src:"fontawesome"},{uid:"891d861cffd152a6474f01e77716d44e",css:"bicycle",code:61958,src:"fontawesome"},{uid:"26667777684de4808cedd3783834356f",css:"subway",code:62009,src:"fontawesome"},{uid:"3bf0956ae356f79d805fb17f4a523f24",css:"ship",code:61978,src:"fontawesome"},{uid:"026007bd17bfc67f3fe013199676f620",css:"dollar",code:61781,src:"fontawesome"},{uid:"3a26448b711645ba1abfc86c1a6e2f30",css:"coffee",code:61684,src:"fontawesome"},{uid:"30b79160618d99ce798e4bd11cafe3fe",css:"food",code:61685,src:"fontawesome"},{uid:"fa10777b2d88cc64cd6e4f26ef0e5264",css:"terminal",code:61728,src:"fontawesome"},{uid:"20fc52f9a88bb7bda023ef209acac095",css:"graduation-cap",code:61853,src:"fontawesome"},{uid:"88da60b3a17e5744695682833a178e73",css:"tree",code:61883,src:"fontawesome"},{uid:"032bd8bbd70adf90ead98b6813bfe446",css:"newspaper",code:61930,src:"fontawesome"},{uid:"1ee2aeb352153a403df4b441a8bc9bda",css:"calc",code:61932,src:"fontawesome"},{uid:"4a74a0f87d4089efe7aba1825bff4193",css:"copyright",code:61945,src:"fontawesome"},{uid:"33194d4a025fbf12baca54579afe4c8e",css:"at",code:61946,src:"fontawesome"},{uid:"fa9a0b7e788c2d78e24cef1de6b70e80",css:"brush",code:61948,src:"fontawesome"},{uid:"58a16628dcbd6456c61218f3d27591be",css:"skype",code:61822,src:"fontawesome"},{uid:"e70df9acbabaebfbbf9c1dbc3e52ab13",css:"twitch",code:61928,src:"fontawesome"},{uid:"627abcdb627cb1789e009c08e2678ef9",css:"twitter",code:61593,src:"fontawesome"},{uid:"4743b088aa95d6f3b6b990e770d3b647",css:"facebook",code:62216,src:"fontawesome"},{uid:"1f66490bf24c99e2c56b866d8fbd0372",css:"vimeo",code:61844,src:"fontawesome"},{uid:"47a1f80457068fbeab69fdb83d7d0817",css:"youtube-play",code:61802,src:"fontawesome"},{uid:"69bd9dfe950d07d910f39c6988364e49",css:"battery-full",code:62016,src:"fontawesome"},{uid:"9983d2489e028d659d196915a25ef3ca",css:"battery-empty",code:62020,src:"fontawesome"},{uid:"12a80769cc7ac08e986deeafbe553054",css:"mouse-pointer",code:62021,src:"fontawesome"},{uid:"c5af9b4626c0f2fa6dc259f9f035b055",css:"safari",code:62055,src:"fontawesome"},{uid:"53c28626072159c49f33b71d67138ad9",css:"commenting",code:62074,src:"fontawesome"},{uid:"21e7025c85a7eeae71fd3539855afe2b",css:"usb",code:62087,src:"fontawesome"},{uid:"90e0aff5c929e444038355746a952aaf",css:"shopping-basket",code:62097,src:"fontawesome"},{uid:"2c452255d4fed51ef0a6ef86436a7d08",css:"percent",code:62101,src:"fontawesome"},{uid:"15899c11210bc9f45fc15a507789f6be",css:"address-book",code:62137,src:"fontawesome"},{uid:"79d27b578931fd441a6dc885c9dd88a6",css:"address-card",code:62139,src:"fontawesome"},{uid:"818981e2ad316f18ae61cfa805d41309",css:"user-circle",code:62141,src:"fontawesome"},{uid:"07c8bfac1a39b6c62bc83e23a3c4b706",css:"thermometer",code:62151,src:"fontawesome"},{uid:"c22930d29b554d41c0ef882aafd3f8c9",css:"thermometer-2",code:62153,src:"fontawesome"},{uid:"bc89c320cf57f6c88f1ae7248e12a28f",css:"thermometer-0",code:62155,src:"fontawesome"},{uid:"af4312b5501867fa089ec3afeece5630",css:"podcast",code:62158,src:"fontawesome"},{uid:"56f2eac13d2b397ff4a54dc38f783b95",css:"snowflake",code:62172,src:"fontawesome"},{uid:"0ddd3e8201ccc7d41f7b7c9d27eca6c1",css:"link",code:59441,src:"fontawesome"},{uid:"9affc98d652b86628d650ee58dbf0357",css:"basket-1",code:59442,src:"fontawesome"},{uid:"c76b7947c957c9b78b11741173c8349b",css:"attention",code:59439,src:"fontawesome"},{uid:"890bcc8897cce868f6ee65cadadde036",css:"beer",code:61692,src:"fontawesome"},{uid:"872d9516df93eb6b776cc4d94bd97dac",css:"film",code:59393,src:"fontawesome"},{uid:"ab656e280958018a7859eba9a1eabbc7",css:"award",code:59409,src:"fontawesome"},{uid:"53dd31a6cc6438192b2d7b09b1c1dd45",css:"columns",code:61659,src:"fontawesome"},{uid:"8aa99bc60f3553bb3e31b73dd6e744c8",css:"rocket",code:61749,src:"fontawesome"},{uid:"5211af474d3a9848f67f945e2ccaf143",css:"remove",code:59415,src:"fontawesome"},{uid:"399ef63b1e23ab1b761dfbb5591fa4da",css:"menu-right",code:59440,src:"fontawesome"},{uid:"d870630ff8f81e6de3958ecaeac532f2",css:"menu-left",code:59443,src:"fontawesome"},{uid:"e99461abfef3923546da8d745372c995",css:"cog",code:59444,src:"fontawesome"},{uid:"98687378abd1faf8f6af97c254eb6cd6",css:"cogs",code:59445,src:"fontawesome"},{uid:"861ab06e455e2de3232ebef67d60d708",css:"minus",code:59446,src:"fontawesome"},{uid:"44e04715aecbca7f266a17d5a7863c68",css:"plus",code:59447,src:"fontawesome"},{uid:"14cab076c708524c1031b29ffd1c188f",css:"record",code:59448,src:"elusive"},{uid:"fa1743bafe39b68a063a07cd45c28796",css:"blackboard",code:59449,src:"custom_icons",selected:!0,svg:{path:"M526.3 852.8C528.6 853.4 530.8 854.3 533 855.5L703.9 954.2C716.5 961.5 720.8 977.5 713.5 990.1 706.2 1002.7 690.2 1007 677.6 999.8L506.6 901.1C504.1 899.6 501.9 897.7 500 895.6 498.1 897.7 495.9 899.6 493.4 901.1L322.4 999.8C309.8 1007 293.8 1002.7 286.5 990.1 279.2 977.5 283.5 961.5 296.1 954.2L467 855.5C469.2 854.3 471.4 853.4 473.7 852.8V736.8H26.3C11.8 736.8 0 725.1 0 710.5V697.4C0 682.8 11.8 671.1 26.3 671.1H973.7C988.2 671.1 1000 682.8 1000 697.4V710.5C1000 725.1 988.2 736.8 973.7 736.8H526.3V852.8ZM26.3 0H973.7C988.2 0 1000 11.8 1000 26.3V39.5C1000 54 988.2 65.8 973.7 65.8H26.3C11.8 65.8 0 54 0 39.5V26.3C0 11.8 11.8 0 26.3 0ZM39.5 105.3H960.5V631.6H39.5V105.3ZM684.2 368.4L368.4 197.4V539.5L684.2 368.4Z",width:1e3},search:["presentation","blackboard"]}]}}),define("mimolive-remote-control/index",["exports","ember-cli-uuid"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"uuid",{enumerable:!0,get:function(){return t.uuid}})}),define("mimolive-remote-control/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","mimolive-remote-control/config/environment"],function(e,t,n){let o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.default.APP&&(o=n.default.APP.name,r=n.default.APP.version)
var i={name:"App Version",initialize:(0,t.default)(o,r)}
e.default=i}),define("mimolive-remote-control/initializers/component-styles",["exports","ember-component-css/initializers/component-styles","mimolive-remote-control/mixins/style-namespacing-extras"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}}),Ember.Component.reopen(n.default)}),define("mimolive-remote-control/initializers/container-debug-adapter",["exports","ember-resolver/resolvers/classic/container-debug-adapter"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"container-debug-adapter",initialize(){let e=arguments[1]||arguments[0]
e.register("container-debug-adapter:main",t.default),e.inject("container-debug-adapter:main","namespace","application:main")}}
e.default=n}),define("mimolive-remote-control/initializers/ember-cli-mirage",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={name:"ember-cli-mirage",initialize(){}}
e.default=t}),define("mimolive-remote-control/initializers/ember-cli-uuid",["exports","ember-data","mimolive-remote-control/config/environment","ember-cli-uuid/mixins/adapters/uuid","ember-cli-uuid/configuration"],function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i={name:"ember-cli-uuid",initialize(){const e=n.default["ember-cli-uuid"]||{}
r.default.load(e),t.default.Adapter.reopen({generateIdForRecord(){return r.default.defaultUUID?(0,o.generateIdForRecord)(...arguments):null}})}}
e.default=i})
define("mimolive-remote-control/initializers/ember-concurrency",["exports","ember-concurrency/initializers/ember-concurrency"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/initializers/ember-data",["exports","ember-data/setup-container","ember-data"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o={name:"ember-data",initialize:t.default}
e.default=o}),define("mimolive-remote-control/initializers/ember-i18n",["exports","ember-i18n/initializers/ember-i18n"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/initializers/export-application-global",["exports","mimolive-remote-control/config/environment"],function(e,t){function n(){var e=arguments[1]||arguments[0]
if(!1!==t.default.exportApplicationGlobal){var n
if("undefined"!=typeof window)n=window
else if("undefined"!=typeof global)n=global
else{if("undefined"==typeof self)return
n=self}var o,r=t.default.exportApplicationGlobal
o="string"==typeof r?r:Ember.String.classify(t.default.modulePrefix),n[o]||(n[o]=e,e.reopen({willDestroy:function(){this._super.apply(this,arguments),delete n[o]}}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=n,e.default=void 0
var o={name:"export-application-global",initialize:n}
e.default=o}),define("mimolive-remote-control/initializers/liquid-fire",["exports","liquid-fire/ember-internals","liquid-fire/velocity-ext"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(0,t.initialize)()
e.default={name:"liquid-fire",initialize:function(){}}}),define("mimolive-remote-control/initializers/model-fragments",["exports","ember-data-model-fragments"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"fragmentTransform",before:"ember-data",initialize(e){e.inject("transform","store","service:store")}}
e.default=n}),define("mimolive-remote-control/initializers/side-menu",["exports","ember-side-menu/initializers/side-menu"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})}),define("mimolive-remote-control/initializers/websocket",["exports"],function(e){function t(e){e.inject("route","websocket","service:websocket")}Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=t,e.default=void 0
var n={name:"websocket",initialize:t}
e.default=n}),define("mimolive-remote-control/instance-initializers/ember-data",["exports","ember-data/initialize-store-service"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"ember-data",initialize:t.default}
e.default=n}),define("mimolive-remote-control/instance-initializers/ember-gestures",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={name:"ember-gestures",initialize:function(e){"function"==typeof e.lookup?e.lookup("service:-gestures"):Ember.getOwner(e).lookup("service:-gestures")}}
e.default=t}),define("mimolive-remote-control/instance-initializers/ember-i18n",["exports","ember-i18n/instance-initializers/ember-i18n"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/instance-initializers/head-browser",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={name:"head-browser",initialize(){}}
e.default=t}),define("mimolive-remote-control/instance-initializers/route-styles",["exports","ember-component-css/instance-initializers/route-styles"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})}),define("mimolive-remote-control/locales/en/config",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={}}),define("mimolive-remote-control/locales/en/translations",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={documents:{navbar:{heading:"mimoLive Remote Controls"},heading:"Available Documents",namePlaceholder:"Untitled Document",noDocuments:"There are no documents available. To control a document, open it in mimoLive.",removedDocument:"The curently selected document was closed in mimoLive."},canvas:{create:{heading:"Create Control Surface",title:"Title",width:"Width",height:"Height",save:"Save Control Surface",back:"Back",gridSizeWarning:"This control surface may be too detailed for this device's resolution!"},edit:{heading:"Edit Control Surface",width:"Width",height:"Height",delete:"Delete Control Surface",confirmDelete:"Click Again to Delete",gridSizeWarning:"This control surface may be too detailed for this device's resolution!"},tile:{edit:{heading:"Edit Action Button",title:"Title",color:"Color",icon:"Icon",width:"Width",height:"Height",actions:"Actions",chooseAction:"Choose Action",addAction:"Add Action",liveState:"Live State Indicator",chooseLiveState:"Choose Live State Indicator",preview:"Video Preview",choosePreview:"Choose Video Preview",delete:"Delete Action Button",confirmDelete:"Click Again to Delete"},clickedDuringEdit:'Triggering actions is only possible in "Live" mode. Switch modes in the top right corner.'},navbar:{back:"Control Surfaces",presetChooser:"Add Button",documentTitlePlaceholder:"Control Surface Title"},saveError:{heading:"There was an error saving this canvas.",hint:"Check if the network connection between this device and mimoLive is intact and reload this page.",description:"Error description: {{description}}"},canvasTooLarge:"This control surface may be too detailed for this device's resolution! If you encounter usability problems, consider creating a new control surface suitable for this device. This message will only be shown once for this control surface."},canvases:{navbar:{heading:"mimoLive Remote Controls",back:"Documents"},heading:"Available Control Surfaces",description:'Created {{created}}, <span class="nowrap">{{width}} x {{height}}</span>',create:"Create Control Surface",namePlaceholder:"Untitled Control Surface"},modeToggle:{liveLabel:"Live",editLabel:"Edit"},actionChooser:{selectTarget:{heading:"Select Target",document:"Document",layers:"Layers",layerSets:"Layer Sets",sources:"Sources",hasNoLayers:"Document has no layers.",hasNoSources:"Document has no sources."},document:{heading:"Select Action",back:"Targets",title:"Document Live State",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off"},layer:{heading:"Select Variant",back:"Targets",title:"Layer Live State",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off",variants:"Variants"},variant:{heading:"Select Action",back:"Variants",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off",liveState:"Live State",signals:"Signals",toggleSwitches:"Toggle Switches"},layerSet:{recall:'Recall "{{layerSetName}}"'}},liveStateChooser:{selectTarget:{heading:"Select Live State",document:"Document's Live State",layers:"Layers",layerSets:"Layer Sets",sources:"Sources",hasNoLayers:"Document has no layers.",hasNoLayerSets:"Document has no layer sets.",hasNoSources:"Document has no sources."},layer:{heading:"Select Variant",back:"Targets",ownLiveState:"Layer's Live State",variantsHeading:"Variants' Live States"},variant:{heading:"Select Live State",back:"Variants",ownLiveState:"Variant's Live State",dynamicSources:"Dynamic Sources",toggleSwitches:"Toggle Switches"}},previewChooser:{selectTarget:{heading:"Select Preview Source",document:"Document",layers:"Layers with Dynamic Sources",sources:"Sources",hasNoLayers:"The current document has no layers with dynamic sources.",hasNoSources:"The current document has no sources.",programOut:"Program Output"},layer:{heading:"Select Variant",back:"Targets",variantsHeading:"Variants"},variant:{heading:"Select Source",back:"Variants",dynamicSources:"Dynamic Sources"}},presetChooser:{selectTarget:{heading:"Button Templates",document:"Document",layers:'Layers of "{{documentName}}"',layerSets:'Layer Sets of "{{documentName}}"',sources:"Sources",hasNoLayers:"The current document has no layers.",hasNoSources:"The current document has no sources.",blueprintButton:"Custom Button",helpText:"<b>Hint</b>: Drag one of the button presets above onto the control surface on the right to add buttons with preconfigured behavior."},layer:{heading:"Layer",layerActions:"Layer Actions",back:"Library",toggleLayer:"Toggle Live State",variantsHeading:"Variants",variantName:'Variant "{{variantName}}"'},variant:{heading:"Select Preset",back:"Layer",variantActions:"Variant Actions",toggleVariant:"Toggle Live State"},actions:{toggle:"Toggle",startShow:"Start Show",stopShow:"Stop Show"},programOut:"Program Output"},icons:{user:"Portrait",film:"Clip",blackboard:"Presentation","facetime-video":"Camera",picture:"Image",music:"Audio",font:"Text",play:"Play",pause:"Pause",stop:"Stop"},savingOverlay:{saving:"Saving"},previewLayerVariants:{other:"{{count}} Variants"},errors:{unexpected:"Unexpected errors, please see details:",document:{heading:"Error",networkError:"There was an error obtaining documents from mimoLive. Make sure that the computer running mimoLive is connected to the network and try again.",notFound:"The requested document is no longer available in mimoLive. Make sure that the computer running mimoLive has the document open."},canvas:{heading:"Error",notFound:"The requested control surface is no longer available. Please choose a different control surface."},editTile:{heading:"Error",error:"There was an error editing this control button. Please try again."},action:{invalidType:"Invalid Action Type",targetNotFound:"Action target not found",unauthorized:"Unauthorized to perform action",networkError:"Network error"},disconnect:{heading:"Disconnected",text:"The connection to mimoLive has been lost. There might be a network problem, or the operator closed mimoLive. Please make sure that mimoLive is running and the computer has a working network connection.",button:"Reload"}}}}),define("mimolive-remote-control/mixins/authenticated-route",["exports","ember-ajax/errors","ember-data/adapters/errors","sha256"],function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=Ember.Mixin.create({actions:{async error(e,r){if((0,t.isUnauthorizedError)(e)||e instanceof n.UnauthorizedError){try{const e=window.localStorage.getItem("mimolive-password")
if(e){const t=await(0,o.sha256)(e)
return window.localStorage.setItem("mimolive-password-sha256",t),window.localStorage.removeItem("mimolive-password"),r.retry()}}catch(e){}const e=window.prompt("Enter remote control password set in mimoLive preferences:")
if(!e)return
const t=await(0,o.sha256)(e)
try{window.localStorage.setItem("mimolive-password-sha256",t)}catch(e){let t="Unable to store password in localStorage. Authentication will not work properly."
Ember.Logger.error(t,e),window.alert(t)}return r.retry()}return!0}}})
e.default=r}),define("mimolive-remote-control/mixins/resizeable",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=function(){var e,t,n={},o=document.attachEvent,r=navigator.userAgent.match(/Trident/),i=(e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(t){return e(t)}),a=(t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return t(e)})
function s(e){var t=e.target||e.srcElement
t.__resizeRAF__&&a(t.__resizeRAF__),t.__resizeRAF__=i(function(){var n=t.__resizeTrigger__
n.__resizeListeners__.forEach(function(t){t.call(n,e)})})}function l(){this.contentDocument.defaultView.__resizeTrigger__=this.__resizeElement__,this.contentDocument.defaultView.addEventListener("resize",s)}return n.addResizeListener=function(e,t){if(!e.__resizeListeners__)if(e.__resizeListeners__=[],o)e.__resizeTrigger__=e,e.attachEvent("onresize",s)
else{"static"===getComputedStyle(e).position&&(e.style.position="relative")
var n=e.__resizeTrigger__=document.createElement("object")
n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),n.__resizeElement__=e,n.onload=l,n.type="text/html",r&&e.appendChild(n),n.data="about:blank",r||e.appendChild(n)}e.__resizeListeners__.push(t)},n.removeResizeListener=function(e,t){e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(o?e.detachEvent("onresize",s):(e.__resizeTrigger__.contentDocument.defaultView.removeEventListener("resize",s),e.__resizeTrigger__=!e.removeChild(e.__resizeTrigger__)))},n}(),n=t.addResizeListener,o=t.removeResizeListener
var r=Ember.Mixin.create({didInsertElement(){this._super(...arguments),this.didResizeElement&&(this._boundDidResizeElement=this.didResizeElement.bind(this),n(this.element,this._boundDidResizeElement))},willDestroyElement(){this.didResizeElement&&o(this.element,this._boundDidResizeElement),this._super(...arguments)}})
e.default=r}),define("mimolive-remote-control/mixins/style-namespacing-extras",["exports","ember-component-css/mixins/style-namespacing-extras"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/mixins/tile",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Mixin.create({attributeBindings:["style"],style:Ember.computed("x","y","width","height","gridInfo.{width,height}",function(){const e=this.getProperties("x","y"),t=e.x,n=e.y,o=this.getWithDefault("width",1),r=this.getWithDefault("height",1),i=this.get("gridInfo.height"),a=this.get("gridInfo.width")
return[`left: ${100*t/a}%`,`top: ${100*n/i}%`,`width: ${100*o/a}%`,`height: ${100*r/i}%`].join("; ").htmlSafe()})})
e.default=t}),define("mimolive-remote-control/pods/action-button/model",["exports","ember-data/attr","ember-data-model-fragments/attributes","ember-data-model-fragments/fragment"],function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=o.default.extend({colors:Ember.inject.service("colors"),color:(0,t.default)("string",{defaultValue:e=>e.get("colors.all.firstObject.code")}),text:(0,t.default)("string",{defaultValue:""}),subtext:(0,t.default)("string",{defaultValue:""}),icon:(0,t.default)("string"),x:(0,t.default)("number",{defaultValue:0}),y:(0,t.default)("number",{defaultValue:0}),width:(0,t.default)("number",{defaultValue:1}),height:(0,t.default)("number",{defaultValue:1}),actions:(0,n.fragmentArray)("action"),liveState:(0,n.fragment)("live-state"),sourcePreview:(0,n.fragment)("source-preview"),dynamicText:(0,n.fragment)("dynamic-text"),dynamicSubText:(0,n.fragment)("dynamic-text"),canvas:(0,n.fragmentOwner)(),isSaving:Ember.computed.readOnly("canvas.isSaving"),save(){return this.get("canvas").save()}})
e.default=r}),define("mimolive-remote-control/pods/action-button/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.RESTSerializer.extend({})
e.default=n}),define("mimolive-remote-control/pods/action-chooser/document/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"nwj18xd3",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["action-chooser"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["actionChooser.document.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["actionChooser.document.heading"],null],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveActionChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.document.title"],null],false],[10],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.document.toggleLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type"],["toggleLive"]]]],null]]],[10],[0,"\\n    \\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.document.setLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type"],["setLive"]]]],null]]],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.document.setOff"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type"],["setOff"]]]],null]]],[10],[0,"\\n  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/document/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/index/route",["exports"],function(e){function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0
try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=class extends Ember.Route{async model(){const e=this.modelFor("document"),n=t(await Promise.all([e.get("layers"),e.get("sources"),e.get("layerSets")]),3)
return{layers:n[0],sources:n[1],layerSets:n[2]}}}}),define("mimolive-remote-control/pods/action-chooser/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"hvyNsmkv",block:'{"symbols":["layerSet","layer"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[7,"h4"],[9],[1,[27,"t",["actionChooser.selectTarget.heading"],null],false],[10],[0,"\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveActionChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n"],[4,"link-to",["action-chooser.document"],[["class","tagName"],["link-entry clickable","div"]],{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.selectTarget.document"],null],false],[10],[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.selectTarget.layers"],null],false],[10],[0,"\\n"],[4,"each",[[27,"sort-by",["index",[23,["model","layers"]]],null]],null,{"statements":[[4,"link-to",["action-chooser.layer",[22,2,[]]],[["class","tagName"],["link-entry clickable","div"]],{"statements":[[0,"        "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n        "],[1,[27,"mrc-preview-layer-variants",[[22,2,["variants"]]],null],false],[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[2]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.selectTarget.hasNoLayers"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.selectTarget.layerSets"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","layerSets"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.layerSet.recall"],[["layerSetName"],[[22,1,["name"]]]]],false],[10],[0,"\\n      "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","layerSet"],["recall",[22,1,[]]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},null],[0,"\\n"],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("action-chooser.layer")}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"pFwOur6p",block:'{"symbols":["variant"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["action-chooser"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["actionChooser.layer.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["actionChooser.layer.heading"],[["name"],[[23,["model","name"]]]]],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveActionChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.layer.title"],null],false],[10],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.layer.toggleLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","layer"],["toggleLive",[23,["model"]]]]]],null]]],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.layer.setLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","layer"],["setLive",[23,["model"]]]]]],null]]],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.layer.setOff"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","layer"],["setOff",[23,["model"]]]]]],null]]],[10],[0,"\\n\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.layer.variants"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","variants"]]],null,{"statements":[[0,"      "],[5,"link-to",[[11,"class","link-entry clickable"]],[["@params","@tagName"],[[27,"array",["action-chooser.layer.variant",[22,1,[]]],null],"div"]],{"statements":[[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n      "]],"parameters":[]}],[0,"\\n"]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/layer/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"H53zwp5L",block:'{"symbols":[],"statements":[[1,[27,"liquid-outlet",null,[["class"],["action-chooser-layer"]]],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/layer/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/variant/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({variant_id:e}){return this.modelFor("action-chooser.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/layer/variant/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"79AoemfQ",block:'{"symbols":["toggleSwitch","signal"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["action-chooser.layer"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["actionChooser.variant.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["actionChooser.variant.heading"],null],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveActionChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["actionChooser.variant.liveState"],null],false],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.variant.toggleLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","variant"],["toggleLive",[23,["model"]]]]]],null]]],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.variant.setLive"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","variant"],["setLive",[23,["model"]]]]]],null]]],[10],[0,"\\n    \\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["actionChooser.variant.setOff"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","variant"],["setOff",[23,["model"]]]]]],null]]],[10],[0,"\\n\\n"],[4,"if",[[23,["model","sortedSignals"]]],null,{"statements":[[0,"      "],[7,"h5"],[9],[1,[27,"t",["actionChooser.variant.signals"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sortedSignals"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n        "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","variant","signalKey","signalName"],["signal",[23,["model"]],[22,2,["key"]],[22,2,["name"]]]]]],null]]],[10],[0,"\\n"]],"parameters":[2]},null]],"parameters":[]},null],[0,"\\n"],[4,"if",[[23,["model","sortedToggleSwitches"]]],null,{"statements":[[0,"      "],[7,"h5"],[9],[1,[27,"t",["actionChooser.variant.toggleSwitches"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sortedToggleSwitches"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n          "],[1,[27,"x-toggle",null,[["value","onLabel","offLabel","disabled","onToggle"],[[27,"get",[[23,["model","inputValues"]],[22,1,["key"]]],null],"true","false",true,[27,"action",[[22,0,[]],[27,"optional",["bla"],null]],null]]]],false],[0,"\\n        "],[3,"action",[[22,0,[]],[27,"route-action",["setAction",[27,"hash",null,[["type","variant","toggleSwitchKey","toggleSwitchName"],["toggleSwitch",[23,["model"]],[22,1,["key"]],[22,1,["name"]]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},null]],"parameters":[]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/layer/variant/template.hbs"}})
e.default=t})
define("mimolive-remote-control/pods/action-chooser/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){},actions:{leaveActionChooser(){this.transitionTo("canvas.edit-tile")},setAction(e){const t=this.modelFor("canvas.edit-tile").get("actions").createFragment({type:e.type})
e.variant?t.setProperties({variantId:Ember.get(e,"variant.id"),layerId:Ember.get(e,"variant.layer.id")}):e.layer?t.setProperties({layerId:Ember.get(e,"layer.id")}):e.layerSet&&t.setProperties({layerSetId:Ember.get(e,"layerSet.id")}),e.signalKey?t.setProperties({signalKey:e.signalKey,signalName:e.signalName}):e.toggleSwitchKey&&t.setProperties({toggleSwitchKey:e.toggleSwitchKey,toggleSwitchName:e.toggleSwitchName}),this.send("leaveActionChooser")}}})
e.default=t}),define("mimolive-remote-control/pods/action-chooser/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"wS2k14KT",block:'{"symbols":[],"statements":[[4,"mrc-modal",null,[["slideIn"],[true]],{"statements":[[0,"  "],[7,"div"],[11,"style","margin: -10px;"],[9],[0,"\\n    "],[1,[27,"liquid-outlet",null,[["class"],["action-chooser"]]],false],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/action-chooser/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/action/model",["exports","ember-data/attr","ember-data-model-fragments/fragment","ember-ajax/errors","mimolive-remote-control/config/environment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/pods/layer-set/model"],function(e,t,n,o,r,i,a,s,l,c){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=r.default.API,u=d.host,m=d.namespace,f=Ember.ObjectProxy.extend(Ember.PromiseProxyMixin)
var p=n.default.extend({ajax:Ember.inject.service(),i18n:Ember.inject.service(),type:(0,t.default)("string"),signalKey:(0,t.default)("string"),signalName:(0,t.default)("string"),toggleSwitchKey:(0,t.default)("string"),toggleSwitchName:(0,t.default)("string"),layerId:(0,t.default)("string"),variantId:(0,t.default)("string"),sourceId:(0,t.default)("string"),filterId:(0,t.default)("string"),layerSetId:(0,t.default)("string"),error:null,_clearErrorTimeout:null,execute(){let e
switch(this.get("type")){case"setLive":e=this._execSetLive
break
case"setOff":e=this._execSetOff
break
case"toggleLive":e=this._execToggleLive
break
case"signal":e=this._execSignal
break
case"toggleSwitch":e=this._execToggleSwitch
break
case"recall":e=this._execRecall}e?e.call(this).then(()=>{this.set("error",null)}).catch(e=>{e=(0,o.isNotFoundError)(e)?this.get("i18n").t("errors.action.targetNotFound"):(0,o.isUnauthorizedError)(e)?this.get("i18n").t("errors.action.unauthorized"):this.get("i18n").t("errors.action.networkError"),this.set("error",e),this._clearErrorTimeout=Ember.run.later(()=>this.set("error",null),5e3)}):this.set("error",this.get("i18n").t("errors.action.invalidType"))},target:Ember.computed("layerId","variantId","sourceId","filterId",function(){const e=this.getProperties("layerId","variantId","filterId","sourceId","layerSetId"),t=e.layerId,n=e.variantId,o=e.sourceId,r=e.filterId,i=e.layerSetId,a=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
return f.create({promise:this.store.find("document",a).then(e=>t?e.get("layers").then(e=>e.findBy("id",t)).then(e=>n?e.get("variants").then(e=>e.findBy("id",n)):e):o?e.get("sources").then(e=>e.findBy("id",o)).then(e=>r?e.get("filters").then(e=>e.findBy("id",r)):e):i?e.get("layerSets").then(e=>e.findBy("id",i)):e)})}).readOnly(),description:Ember.computed("target.{isFulfilled,name,layer.name}","type","signalName",function(){if(!this.get("target.isFulfilled"))return
let e
switch(this.get("type")){case"setLive":e="Set Live"
break
case"setOff":e="Set Off"
break
case"toggleLive":e="Toggle Live"
break
case"signal":e=`Signal "${this.get("signalName")}"`
break
case"toggleSwitch":e=`Toggle "${this.get("toggleSwitchName")}"`
break
case"recall":e="Recall"}e+=": "
const t=this.get("target.content")
return t instanceof i.default?e+`Document "${t.get("name")}"`:t instanceof l.default?e+`Source "${t.get("name")}"`:t instanceof a.default?e+`Layer "${t.get("name")}"`:t instanceof s.default?e+`Layer "${t.get("layer.name")}" / "${t.get("name")}"`:t instanceof c.default?e+`Layer Set "${t.get("name")}"`:e+"(unknown type)"}).readOnly(),_buildURL(){const e=this.getProperties("layerId","variantId","layerSetId"),t=e.layerId,n=e.variantId,o=e.layerSetId,r=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
let i=`${u}/${m}/documents/${r}`
return t&&(i+=`/layers/${t}`),n&&(i+=`/variants/${n}`),o&&(i+=`/layer-sets/${o}`),i},_execSetLive(){return this.get("ajax").post(this._buildURL()+"/setLive")},_execSetOff(){return this.get("ajax").post(this._buildURL()+"/setOff")},_execToggleLive(){return this.get("ajax").post(this._buildURL()+"/toggleLive")},_execSignal(){return this.get("ajax").post(this._buildURL()+"/signals/"+this.get("signalKey"))},_execToggleSwitch(){const e=this.get("toggleSwitchKey")
return this.get("target").then(t=>this.get("ajax").put(this._buildURL(),{data:JSON.stringify({"input-values":{[e]:!t.get("inputValues."+e)}}),contentType:"application/json"}))},_execRecall(){return this.get("ajax").post(this._buildURL()+"/recall")},willDestroy(){Ember.run.cancel(this._clearErrorTimeout),this._super(...arguments)}})
e.default=p}),define("mimolive-remote-control/pods/action/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.RESTSerializer.extend({})
e.default=n}),define("mimolive-remote-control/pods/ajax/service",["exports","ember-ajax/services/ajax"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({headers:Ember.computed(function(){let e,t={}
try{e=localStorage.getItem("mimolive-password-sha256")}catch(e){Ember.Logger.error("Ajax Service could not read password from localStorage. Authentication will not work properly.",e)}return e&&(t["X-MimoLive-Password-SHA256"]=e),t}).volatile(),trustedHosts:[/.*/]})
e.default=n}),define("mimolive-remote-control/pods/analytics/service",["exports","mimolive-remote-control/config/environment"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=window.ga
var o=Ember.Service.extend({ajax:Ember.inject.service(),_initialization:null,init(){this._super(...arguments)
const e=Ember.RSVP.resolve().then(()=>this.get("ajax").request(`${t.default.API.host}/${t.default.API.namespace}/settings`)).then(e=>{if(!e||!e.tracking)throw new Error("Abort analytics initialization because of missing/denied setting.")}).then(()=>{(function(e,t,n,o,r,i,a){e.GoogleAnalyticsObject=r,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,i=t.createElement(n),a=t.getElementsByTagName(n)[0],i.async=1,i.src="https://www.google-analytics.com/analytics.js",a.parentNode.insertBefore(i,a)})(window,document,"script",0,"ga"),n("create",t.default.GA.trackingID,"auto"),n("set","appName","mimoLive Remote Controls"),n("set","appVersion",t.default.buildDate)})
e.catch(e=>{Ember.Logger.error("Error setting up Google Analytics tracking",e)}),this._initialization=e},trackVisit(e){this._initialization.then(()=>{try{n("send","pageview",{page:e,title:e})}catch(e){Ember.Logger.error("Error reporting app version",e)}})},trackPresetInstantiation(e,t){this._initialization.then(()=>{try{n("send","event",{eventCategory:"Control Surface Actions",eventAction:"Preset Instantiation",eventLabel:`${e} - ${t}`})}catch(e){Ember.Logger.error("Error reporting preset instantiation",e)}})},trackCanvasCreation(e,t){this._initialization.then(()=>{try{n("send","event",{eventCategory:"Control Surface Actions",eventAction:"Creation",eventLabel:`${e} x ${t}`})}catch(e){Ember.Logger.error("Error reporting canvas creation",e)}})}})
e.default=o}),define("mimolive-remote-control/pods/bx-link-to/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({router:Ember.inject.service(),href:Ember.computed("params.[]",function(){return this.get("router").urlFor(...this.get("params"))}),isActive:Ember.computed("{params.[],router.currentURL}",function(){return this.get("router").isActive(...this.get("params"))}),actions:{transitionTo(){this.get("router").transitionTo(...this.get("params"))}}}).reopenClass({positionalParams:"params"})
e.default=t}),define("mimolive-remote-control/pods/bx-link-to/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"7GZbKVBZ",block:'{"symbols":["&default"],"statements":[[14,1,[[27,"hash",null,[["href","isActive","transitionTo"],[[23,["href"]],[23,["isActive"]],[27,"action",[[22,0,[]],"transitionTo"],null]]]]]]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/bx-link-to/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvas-size-recommendation/service",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Math.floor
var n=Ember.Service.extend({gridSize:Ember.computed(function(){const e=window.innerHeight-36,n=window.innerWidth
return{height:t(e/111),width:t(n/170)}}).volatile()})
e.default=n}),define("mimolive-remote-control/pods/canvas/adapter",["exports","ember-data/adapter","ember-ajax/errors","ember-cli-uuid","mimolive-remote-control/config/environment"],function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=t.default.extend({ajax:Ember.inject.service(),host:r.default.API.host,namespace:r.default.API.namespace,generateIdForRecord:()=>(0,o.uuid)(),buildUrl(e,t=null){return`${this.get("host")}/${this.get("namespace")}/documents/${e}/datastores/live.mimo.remote-control.canvases.${t||"index"}`},findRecord(){throw new Error("CanvasAdapte#findRecord is not supported")},currentDocumentID(){const e=Ember.getOwner(this).lookup("route:document")
return e?e.get("currentModel.id"):null},createRecord(e,t,o){const r=this.currentDocumentID(),i=this.get("ajax")
return i.request(this.buildUrl(r)).catch(e=>{if((0,n.isNotFoundError)(e))return this._createIndex(r)
throw e}).then(e=>(e.canvases=e.canvases.concat(o.id),i.put(this.buildUrl(r),{data:JSON.stringify(e),contentType:"application/json"}))).then(()=>{const t=e.serializerFor("canvas").serialize(o,{includeId:!0})
return i.put(this.buildUrl(r,o.id),{data:JSON.stringify({canvas:t}),contentType:"application/json"})})},updateRecord(e,t,n){const o=this.currentDocumentID(),r=e.serializerFor("canvas").serialize(n,{includeId:!0})
return this.get("ajax").put(this.buildUrl(o,n.id),{data:JSON.stringify({canvas:r}),contentType:"application/json"})},deleteRecord(e,t,n){const o=this.currentDocumentID(),r=this.get("ajax")
return r.request(this.buildUrl(o)).then(e=>(e.canvases=e.canvases.without(n.id),r.put(this.buildUrl(o),{data:JSON.stringify(e),contentType:"application/json"}))).then(()=>r.delete(this.buildUrl(o,n.id)))},findAll(){throw new Error("CanvasAdapter: findAll is not supported")},query(e,t,o){const r=o.document_id
return this.get("ajax").request(this.buildUrl(r)).catch(e=>{if((0,n.isNotFoundError)(e))return this._createIndex(r)
throw e}).then(({canvases:n})=>Ember.RSVP.all(n.map(n=>this.queryRecord(e,t,{document_id:r,canvas_id:n})))).then(e=>({canvases:e.map(e=>e.canvas)}))},queryRecord(e,t,n){const o=n.document_id,r=n.canvas_id
return this.get("ajax").request(this.buildUrl(o,r)).then(e=>(e.canvas.documentId=o,e))},_createIndex(e){const t={canvases:[]}
return this.get("ajax").put(this.buildUrl(e),{data:JSON.stringify(t),contentType:"application/json"}).then(()=>t)}})
e.default=i}),define("mimolive-remote-control/pods/canvas/edit-canvas/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("canvas")},actions:{leave(){this.transitionTo("canvas")},deleteCanvas(){this.currentModel.willDestroy(),this.currentModel.destroyRecord().then(()=>this.transitionTo("canvases"))}}})
e.default=t}),define("mimolive-remote-control/pods/canvas/edit-canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"l/mZcAFj",block:'{"symbols":[],"statements":[[1,[27,"liquid-wormhole",null,[["class","click"],["modal-backdrop",[27,"route-action",["leave"],null]]]],false],[0,"\\n"],[4,"liquid-wormhole",null,[["stack","class"],["modal-dialog","modal-dialog"]],{"statements":[[4,"mrc-modal",null,[["onClose"],[[27,"route-action",["leave"],null]]],{"statements":[[0,"    "],[1,[27,"mrc-edit-canvas",[[23,["model"]]],[["cancel","deleteCanvas"],[[27,"route-action",["leave"],null],[27,"route-action",["deleteCanvas"],null]]]],false],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvas/edit-canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvas/edit-tile/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({mode:Ember.inject.service(),serialize:e=>({action_button_index:e.get("canvas").get("buttons").indexOf(e)}),model({action_button_index:e}){return this.modelFor("canvas").get("buttons").objectAt(e)},afterModel(e){if(!e)throw new Error(404)},activate(){this.get("mode").setEditing()},actions:{deleteTile(){const e=this.modelFor("canvas")
e.get("buttons").removeFragment(this.currentModel),e.save().then(()=>{this.send("leave")})},leave(){this.transitionTo("canvas")},willTransition(e){if("canvas.edit-tile.index"===e.targetName||["action-chooser","preview-chooser","live-state-chooser"].includes(e.targetName.split(".")[0]))return
const t=this.currentModel
t.get("isDestroyed")||(t.get("isNew")&&0===Object.keys(t.changedAttributes()).reject(e=>"x"===e||"y"===e).length?(t.get("canvas.buttons").removeFragment(t),t.destroy()):t.get("hasDirtyAttributes")&&(e.abort(),this.currentModel.save().then(()=>{e.retry()})))}}})
e.default=t}),define("mimolive-remote-control/pods/canvas/edit-tile/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"hKkCLZ4O",block:'{"symbols":[],"statements":[[1,[27,"liquid-wormhole",null,[["class","click"],["modal-backdrop",[27,"route-action",["leave"],null]]]],false],[0,"\\n"],[4,"liquid-wormhole",null,[["class"],["modal-dialog"]],{"statements":[[4,"mrc-modal",null,[["onClose"],[[27,"route-action",["leave"],null]]],{"statements":[[0,"    "],[1,[27,"mrc-edit-tile",[[23,["model"]]],[["cancel","deleteTile"],[[27,"route-action",["leave"],null],[27,"route-action",["deleteTile"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0,"  "],[1,[21,"outlet"],false],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvas/edit-tile/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvas/error/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({actions:{leave(){this.transitionTo("canvas")}}})
e.default=t}),define("mimolive-remote-control/pods/canvas/error/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"tE7X5gt4",block:'{"symbols":[],"statements":[[1,[27,"log",[[23,["model"]]],null],false],[0,"\\n"],[1,[27,"liquid-wormhole",null,[["class","click"],["modal-backdrop",[27,"route-action",["leave"],null]]]],false],[0,"\\n"],[4,"liquid-wormhole",null,[["stack","class"],["modal-dialog","modal-dialog"]],{"statements":[[4,"mrc-modal",null,[["onClose"],[[27,"route-action",["leave"],null]]],{"statements":[[0,"    "],[7,"div"],[11,"class","chooser-modal"],[11,"style","padding: 0;"],[9],[0,"\\n      "],[7,"div"],[11,"class","header"],[9],[0,"\\n        "],[7,"h4"],[9],[1,[27,"t",["errors.editTile.heading"],null],false],[10],[0,"\\n        "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leave"],null]]],[10],[0,"\\n      "],[10],[0,"\\n      "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n        "],[7,"p"],[9],[1,[27,"t",["errors.editTile.error"],null],false],[10],[0,"\\n      "],[10],[0,"\\n    "],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvas/error/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvas/model",["exports","ember-data","ember-data-model-fragments/attributes"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=t.default.Model,r=t.default.attr,i=t.default.belongsTo
var a=o.extend({title:r("string"),createdAt:r("date",{defaultValue:()=>new Date}),gridWidth:r("number"),gridHeight:r("number"),buttons:(0,n.fragmentArray)("action-button"),document:i("document",{inverse:null})})
e.default=a}),define("mimolive-remote-control/pods/canvas/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({router:Ember.inject.service(),i18n:Ember.inject.service(),mode:Ember.inject.service(),canvasSizeRecommendation:Ember.inject.service(),model({canvas_id:e}){const t=this.modelFor("document").get("id")
return this.store.queryRecord("canvas",{document_id:t,canvas_id:e})},afterModel(e){const t=this.get("canvasSizeRecommendation.gridSize")
if(e.get("gridHeight")>t.height||e.get("gridWidth")>t.width){let t=!1
const n=`mimolive-remote-has-shown-warning-for-canvas-${e.get("id")}`
try{t=Boolean(window.localStorage.getItem(n))}catch(e){console.warn("Unable to check if canvas size warning should be shown (again):",e)}t||window.alert(this.get("i18n").t("canvas.canvasTooLarge"))
try{window.localStorage.setItem(n,"true")}catch(e){console.warn("Unable to store canvas size warning state:",e)}}},setupController(e,t){this._super(e,t),t.get("buttons.length")?this.get("mode").setLive():(this.get("mode").setEditing(),this.modeChanged())},modeChanged:Ember.observer("mode.isEditing",function(){if(this.get("mode.isEditing"))try{this.get("router._router._routerMicrolib.currentRouteInfos").getEach("name").includes("preset-chooser")||this.transitionTo("preset-chooser")}catch(e){Ember.Logger.error("Error transitioning to preset chooser",e)}}),actions:{editCanvas(){this.transitionTo(this.routeName+".edit-canvas",this.currentModel)},createTile(e){const t=parseInt(e.x,10),n=parseInt(e.y,10),o=this.currentModel.get("buttons").createFragment({x:t,y:n})
this.send("editTile",o)},editTile(e){this.transitionTo(this.routeName+".edit-tile",this.currentModel,e)},save(){this.currentModel.save()},closeSidebar(){this.transitionTo(this.routeName)},error(e){this.transitionTo("canvases.error",e)}}})
e.default=t}),define("mimolive-remote-control/pods/canvas/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.RESTSerializer.extend({modelNameFromPayloadKey:()=>"canvas",keyForRelationship:e=>"document"===e?"documentId":e,serializeBelongsTo(e,t,n){"document"!==n.key&&this._super(...arguments)}})
e.default=n}),define("mimolive-remote-control/pods/canvas/service",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Service.extend(Ember.Evented,{})
e.default=t}),define("mimolive-remote-control/pods/canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"eGloZG7m",block:'{"symbols":[],"statements":[[1,[27,"page-title",[[23,["model","title"]]],null],false],[0,"\\n\\n"],[1,[27,"mrc-canvas-navbar",null,[["canvas","editCanvas"],[[23,["model"]],[27,"route-action",["editCanvas"],null]]]],false],[0,"\\n"],[1,[27,"mrc-canvas",null,[["canvas"],[[23,["model"]]]]],false],[0,"\\n\\n"],[1,[21,"outlet"],false],[0,"\\n\\n"],[4,"mrc-sidebar",null,[["onClose"],[[27,"route-action",["closeSidebar"],null]]],{"statements":[[0,"  "],[1,[27,"outlet",["canvas-sidebar"],null],false],[0,"\\n"]],"parameters":[]},null],[0,"\\n"],[4,"if",[[23,["model","adapterError"]]],null,{"statements":[[0,"  "],[7,"div"],[11,"class","mrc-overlay"],[9],[0,"\\n    "],[7,"div"],[11,"class","center-group"],[9],[0,"\\n      "],[7,"i"],[11,"class","icon icon-attention"],[11,"style","font-size: 40px;"],[9],[10],[0,"\\n      "],[7,"h4"],[9],[1,[27,"t",["canvas.saveError.heading"],null],false],[10],[0,"\\n      "],[7,"p"],[9],[1,[27,"t",["canvas.saveError.hint"],null],false],[10],[0,"\\n      "],[7,"p"],[11,"class","text-muted"],[9],[1,[27,"t",["canvas.saveError.description"],[["description"],[[23,["model","adapterError","message"]]]]],false],[10],[0,"\\n    "],[10],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/error/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"BSGOikyB",block:'{"symbols":[],"statements":[[1,[21,"mrc-documents-navbar"],false],[0,"\\n\\n"],[7,"div"],[11,"class","center-wrapper"],[9],[0,"\\n  "],[7,"div"],[11,"class","content"],[11,"style","padding: 15px;"],[9],[0,"\\n    "],[7,"h5"],[9],[0,"\\n"],[4,"link-to",["canvases.list"],null,{"statements":[[0,"        "],[7,"span"],[11,"class","icon icon-menu-left"],[9],[10],[0,"\\n        "],[1,[27,"t",["canvas.navbar.back"],null],false],[0,"\\n"]],"parameters":[]},null],[0,"      "],[1,[27,"t",["errors.canvas.heading"],null],false],[0,"\\n    "],[10],[0,"\\n"],[4,"if",[[27,"eq",[[23,["model","status"]],404],null]],null,{"statements":[[0,"      "],[7,"p"],[9],[1,[27,"t",["errors.canvas.notFound"],null],false],[10],[0,"\\n"]],"parameters":[]},{"statements":[[0,"      "],[7,"p"],[9],[1,[27,"t",["errors.unexpected"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"p"],[11,"class","text-muted"],[9],[1,[21,"model"],false],[10],[0,"\\n  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/error/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/create-canvas/controller",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Controller.extend({canGoBack:Ember.computed("model","model.document.canvases.length",function(){const e=this.get("model.document.canvases")
return e&&e.without(this.get("model")).length>0})})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/create-canvas/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({analytics:Ember.inject.service(),model(){const e=this.modelFor("document")
return this.store.createRecord("canvas",{document:e})},actions:{exit(e){e&&e.preventDefault&&e.preventDefault(),this.transitionTo("canvases")},save(e){e&&e.preventDefault&&e.preventDefault()
const t=this.modelFor(this.routeName)
t.save().then(()=>{this.get("analytics").trackCanvasCreation(t.get("gridWidth"),t.get("gridHeight")),this.transitionTo("canvas",t)})},willTransition(){const e=this.modelFor(this.routeName)
e.get("hasDirtyAttributes")&&e.deleteRecord()}}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/create-canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"R56q3xiq",block:'{"symbols":[],"statements":[[7,"h5"],[9],[0,"\\n"],[4,"if",[[23,["canGoBack"]]],null,{"statements":[[0,"    "],[4,"link-to",["canvases.list"],null,{"statements":[[7,"span"],[11,"class","icon icon-menu-left"],[9],[10],[0," "],[1,[27,"t",["canvas.create.back"],null],false]],"parameters":[]},null],[0,"\\n"]],"parameters":[]},null],[0,"  "],[1,[27,"t",["canvas.create.heading"],null],false],[0,"\\n"],[10],[0,"\\n\\n"],[1,[27,"mrc-create-canvas",[[23,["model"]]],[["save","cancel"],[[27,"route-action",["save"],null],[27,"route-action",["exit"],null]]]],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/list/create-canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/index-loading/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"ZUDgFI2S",block:'{"symbols":[],"statements":[[7,"h5"],[9],[1,[27,"t",["canvases.heading"],null],false],[10],[0,"\\n"],[7,"div"],[11,"class","centered"],[9],[0,"\\n  "],[1,[27,"mrc-spinner",null,[["dark"],[true]]],false],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/list/index-loading/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({async model(){const e=this.modelFor("document").canvases
var t
return e.get("length")||(await(t=300,new Promise(e=>{setTimeout(e,t)})),await e._deferred.promise),e},afterModel(e){if(0===e.get("length")){const e=this.routeName.split(".").slice(0,-1).concat(["create-canvas"]).join(".")
this.transitionTo(e)}}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"9GOr8hor",block:'{"symbols":[],"statements":[[4,"liquid-spacer",null,null,{"statements":[[0,"  "],[1,[27,"mrc-canvases-list",[[23,["model"]]],null],false],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/list/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/list/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"zFWbaHuz",block:'{"symbols":[],"statements":[[1,[21,"mrc-canvases-navbar"],false],[0,"\\n"],[7,"div"],[11,"class","center-wrapper"],[9],[0,"\\n  "],[7,"div"],[11,"class","content"],[9],[0,"\\n    "],[1,[27,"liquid-outlet",null,[["class"],["canvases-list"]]],false],[0,"\\n  "],[10],[0,"\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/list/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/canvases/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"otXy3Dvz",block:'{"symbols":[],"statements":[[1,[27,"liquid-outlet",null,[["class"],["canvases"]]],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/canvases/template.hbs"}})
e.default=t})
define("mimolive-remote-control/pods/colors/service",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Service.extend({all:[{code:"#FC6C34",name:"Portland Orange"},{code:"#F2354A",name:"Amaranth"},{code:"#C32F4A",name:"Bright Maroon"},{code:"#7F0F2A",name:"Burgundy"},{code:"#E8D2AE",name:"Desert Sand"},{code:"#FDAF75",name:"Light Salmon"},{code:"#FCD55B",name:"Jonquil"},{code:"#FEC500",name:"Golden Poppy"},{code:"#F2F39C",name:"Pale Spring Bud"},{code:"#FFF044",name:"Banana Yellow"},{code:"#EEF369",name:"Icterine"},{code:"#C5D86C",name:"June Bud"},{code:"#99E1D9",name:"Pale Robin Egg Blue"},{code:"#5CF64A",name:"Lime"},{code:"#24CF96",name:"Mountain Meadow"},{code:"#19755F",name:"Tropical Rain Forest"},{code:"#55ACEE",name:"Cornflower Blue"},{code:"#1A91C7",name:"Blue-Green"},{code:"#006393",name:"Medium Persian Blue"},{code:"#173B6D",name:"Indigo"},{code:"#FFB8D1",name:"Cotton candy"},{code:"#EFA0B3",name:"Pale Chestnut"},{code:"#F23782",name:"Cerise pink"},{code:"#863E95",name:"Plum "},{code:"#BE8357",name:"AuroMetalSaurus"},{code:"#8C4F3A",name:"Cordovan"},{code:"#705D55",name:"Wenge"},{code:"#4C4D57",name:"Quartz"},{code:"#C3C8D3",name:"Wild Blue Yonder"},{code:"#B3B6B1",name:"Gray "},{code:"#8A8D8E",name:"Cool Grey"},{code:"#001526",name:"Onyx"}]})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvas-navbar/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({mode:Ember.inject.service(),tagName:"nav",classNames:["navbar-default"],canvas:null,actions:{enterPressed(e){e.preventDefault(),e.target.blur(),window.getSelection().removeAllRanges()},save(){this.get("canvas").save()}}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvas-navbar/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"owV0WEmr",block:'{"symbols":[],"statements":[[5,"link-to",[[11,"class","nav-item"]],[["@params"],[[27,"array",["canvases",[23,["canvas","document"]]],null]]],{"statements":[[0,"\\n  "],[7,"span"],[11,"class","icon icon-menu-left"],[9],[10],[0," "],[7,"span"],[11,"class","text"],[9],[1,[27,"t",["canvas.navbar.back"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n\\n"],[4,"if",[[23,["mode","isEditing"]]],null,{"statements":[[0,"  "],[5,"link-to",[[11,"class","nav-item"]],[["@params","@tagName"],[[27,"array",["preset-chooser"],null],"div"]],{"statements":[[0,"\\n    "],[7,"span"],[11,"class","icon icon-plus"],[9],[10],[0,"\\n    "],[7,"span"],[11,"class","text"],[9],[1,[27,"t",["canvas.navbar.presetChooser"],null],false],[10],[0,"\\n  "]],"parameters":[]}],[0,"\\n"]],"parameters":[]},null],[0,"\\n"],[7,"div"],[11,"class","center-title"],[9],[0,"\\n  "],[5,"content-editable",[],[["@value","@placeholder","@type","@tagName","@disabled","@enter","@focus-out","@allowNewlines"],[[23,["canvas","title"]],[27,"t",["canvas.navbar.documentTitlePlaceholder"],null],"text","h2",[27,"or",[[23,["canvas","isSaving"]],[27,"not",[[23,["mode","isEditing"]]],null]],null],[27,"action",[[22,0,[]],"enterPressed"],null],[27,"action",[[22,0,[]],"save"],null],false]]],[0,"\\n"],[4,"if",[[23,["mode","isEditing"]]],null,{"statements":[[0,"    "],[7,"span"],[11,"class","icon icon-cog clickable edit-canvas"],[9],[3,"action",[[22,0,[]],[23,["editCanvas"]]]],[10],[0,"\\n"]],"parameters":[]},null],[10],[0,"\\n\\n"],[5,"mrc-mode-toggle",[],[[],[]]]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-canvas-navbar/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvas/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Math.max,n=Math.min,o=Math.floor
var r=Ember.Component.extend({canvasHub:Ember.inject.service("canvas"),store:Ember.inject.service(),analytics:Ember.inject.service(),canvas:null,didInsertElement(){this._super(...arguments),this.get("canvasHub").on("updateHoverOutline",this,"_updateHoverOutline"),this.get("canvasHub").on("removeHoverOutline",this,"_removeHoverOutline"),this.get("canvasHub").on("instantiatePreset",this,"_instantiatePreset")},willDestroyElement(){this.get("canvasHub").off("updateHoverOutline",this,"_updateHoverOutline"),this.get("canvasHub").off("removeHoverOutline",this,"_removeHoverOutline"),this.get("canvasHub").off("instantiatePreset",this,"_instantiatePreset"),this._super(...arguments)},gridWidth:Ember.computed.readOnly("canvas.gridWidth"),gridHeight:Ember.computed.readOnly("canvas.gridHeight"),gridInfo:Ember.computed("gridWidth","gridHeight",function(){return{width:this.get("gridWidth"),height:this.get("gridHeight")}}),buttons:Ember.computed.alias("canvas.buttons"),dropOutlineX:0,dropOutlineY:0,dropOutlineWidth:0,dropOutlineHeight:0,dropOutlineStyle:Ember.computed("dropOutlineX","dropOutlineY","dropOutlineWidth","dropOutlineHeight","gridWidth","gridHeight",function(){const e=this.getProperties("dropOutlineX","dropOutlineY","dropOutlineWidth","dropOutlineHeight","gridWidth","gridHeight"),t=e.dropOutlineX,n=e.dropOutlineY,o=e.dropOutlineWidth,r=e.dropOutlineHeight,i=e.gridWidth,a=e.gridHeight
return[`left: ${100*t/i}%`,`top: ${100*n/a}%`,`width: ${100*o/i}%`,`height: ${100*r/a}%`].join("; ").htmlSafe()}),showDropOutline:!1,hasDropOutlineCollision:!1,checkDropOutlineCollision(e){const t=this.get("buttons").filter(e=>e.get("x")<this.get("dropOutlineX")+this.get("dropOutlineWidth")&&e.get("x")+e.get("width")>this.get("dropOutlineX")&&e.get("y")<this.get("dropOutlineY")+this.get("dropOutlineHeight")&&e.get("y")+e.get("height")>this.get("dropOutlineY"))
e&&t.removeObject(e)
const n=this.get("dropOutlineX")>=0&&this.get("dropOutlineX")+this.get("dropOutlineWidth")<=this.get("gridWidth")&&this.get("dropOutlineY")>=0&&this.get("dropOutlineY")+this.get("dropOutlineHeight")<=this.get("gridHeight"),o=!(Ember.isEmpty(t)&&n)
return this.set("hasDropOutlineCollision",o),o},_screenCoordsToGridCoords(e,t){const n=this.element.getBoundingClientRect(),r=n.left,i=n.top,a=n.width,s=n.height
e-=r,t-=i
const l=this.getProperties("gridWidth","gridHeight"),c=l.gridWidth,d=s/l.gridHeight
return{x:o(e/(a/c)),y:o(t/d)}},_snappedToGrid(e,o,r=1,i=1){return{x:n(t(e,0),this.get("gridWidth")-r),y:n(t(o,0),this.get("gridHeight")-i)}},_updateHoverOutline(e,t,n,o){var r=this._screenCoordsToGridCoords(e,t)
e=r.x,t=r.y,this.send("updateDropOutline",e,t,n,o,null)},_removeHoverOutline(){this.set("showDropOutline",!1)},_instantiatePreset(e,t,n){const o=e.getProperties("buttons","width","height","title","_trackingTitle","compositionID"),r=o.buttons,i=o.width,a=o.height,s=o.title,l=o._trackingTitle,c=o.compositionID
var d=this._screenCoordsToGridCoords(t,n)
t=d.x,n=d.y
var u=this._snappedToGrid(t,n,i,a)
t=u.x,n=u.y,this.checkDropOutlineCollision()||(r.forEach(e=>{const o=this.get("canvas.buttons").createFragment({text:Ember.get(e,"text"),subtext:Ember.get(e,"subtext"),x:t+Ember.get(e,"x"),y:n+Ember.get(e,"y"),width:Ember.get(e,"width"),height:Ember.get(e,"height"),icon:Ember.get(e,"icon"),color:Ember.get(e,"color")}),r=Ember.get(e,"actions")
r&&r.forEach(e=>o.get("actions").createFragment(e))
const i=Ember.get(e,"liveState")
i&&o.set("liveState",this.get("store").createFragment("live-state",i))
const a=Ember.get(e,"sourcePreview")
a&&o.set("sourcePreview",this.get("store").createFragment("source-preview",a))
const s=Ember.get(e,"dynamicText")
s&&o.set("dynamicText",this.get("store").createFragment("dynamic-text",s))
const l=Ember.get(e,"dynamicSubText")
l&&o.set("dynamicSubText",this.get("store").createFragment("dynamic-text",l))}),this.get("canvas").save(),this.get("analytics").trackPresetInstantiation(c,l||s))},actions:{moveTile(e,t){this.checkDropOutlineCollision(e)||(Ember.setProperties(e,this._snappedToGrid(t.x,t.y,e.get("width"),e.get("height"))),e.get("hasDirtyAttributes")&&e.save()),this.set("showDropOutline",!1)},updateDropOutline(e,t,n,o,r){var i=this._snappedToGrid(e,t,n,o)
e=i.x,t=i.y,this.setProperties({showDropOutline:!0,dropOutlineX:e,dropOutlineY:t,dropOutlineWidth:n,dropOutlineHeight:o}),this.checkDropOutlineCollision(r)},updateHoverOutline(){this._updateHoverOutline(...arguments)}}})
e.default=r}),define("mimolive-remote-control/pods/components/mrc-canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"nXUipjHS",block:'{"symbols":["button","x","y"],"statements":[[4,"each",[[27,"range",[0,[23,["gridInfo","width"]]],null]],null,{"statements":[[4,"each",[[27,"range",[0,[23,["gridInfo","height"]]],null]],null,{"statements":[[0,"    "],[1,[27,"mrc-placeholder",null,[["content","gridInfo"],[[27,"hash",null,[["x","y"],[[22,2,[]],[22,3,[]]]]],[23,["gridInfo"]]]]],false],[0,"\\n"]],"parameters":[3]},null]],"parameters":[2]},null],[4,"each",[[23,["buttons"]]],null,{"statements":[[0,"  "],[1,[27,"mrc-tile",null,[["content","gridInfo","moveTile","updateDropOutline"],[[22,1,[]],[23,["gridInfo"]],[27,"action",[[22,0,[]],"moveTile"],null],[27,"action",[[22,0,[]],"updateDropOutline"],null]]]],false],[0,"\\n"]],"parameters":[1]},null],[7,"div"],[12,"class",[28,["drop-outline ",[27,"if",[[23,["showDropOutline"]],"visible"],null]," ",[27,"if",[[23,["hasDropOutlineCollision"]],"collision"],null]]]],[12,"style",[21,"dropOutlineStyle"]],[9],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvases-list/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-canvases-list/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"uvF/P27q",block:'{"symbols":["canvas"],"statements":[[7,"h5"],[9],[1,[27,"t",["canvases.heading"],null],false],[10],[0,"\\n"],[4,"each",[[23,["content"]]],null,{"statements":[[4,"link-to",["canvas",[22,1,[]]],[["tagName","class"],["div","canvas"]],{"statements":[[0,"    "],[7,"h4"],[9],[0,"\\n"],[4,"if",[[22,1,["title"]]],null,{"statements":[[0,"        "],[1,[22,1,["title"]],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"        "],[7,"span"],[11,"class","text-muted"],[9],[1,[27,"t",["canvases.namePlaceholder"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"    "],[10],[0,"\\n    "],[1,[27,"t",["canvases.description"],[["created","width","height"],[[27,"moment-format",[[22,1,["createdAt"]],"LLLL"],null],[22,1,["gridWidth"]],[22,1,["gridHeight"]]]]],false],[0,"\\n    "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[1]},null],[4,"link-to",["canvases.list.create-canvas"],[["tagName","type","class"],["button","button","btn btn-default btn-block btn-primary"]],{"statements":[[0,"  "],[1,[27,"t",["canvases.create"],null],false],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-canvases-list/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvases-navbar/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({tagName:"nav",classNames:["navbar-default"]})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-canvases-navbar/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Uo90XPsb",block:'{"symbols":[],"statements":[[4,"link-to",["documents"],[["class"],["nav-item"]],{"statements":[[0,"  "],[7,"span"],[11,"class","icon icon-menu-left"],[9],[10],[0," "],[7,"span"],[11,"class","text"],[9],[1,[27,"t",["canvases.navbar.back"],null],false],[10],[0,"\\n"]],"parameters":[]},null],[7,"div"],[11,"class","center-title"],[9],[0,"\\n  "],[7,"h2"],[9],[1,[27,"t",["canvases.navbar.heading"],null],false],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-canvases-navbar/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-color-select/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({colors:Ember.inject.service(),value:null,selectedColor:Ember.computed("value","colors.all",function(){return this.get("colors.all").findBy("code",this.value)||{code:this.value||"#222",name:"Undefined"}}).readOnly(),actions:{selectColor(e){this.update(e?Ember.get(e,"code"):null)}}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-color-select/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"ReYbqprW",block:'{"symbols":["color"],"statements":[[5,"power-select",[],[["@options","@selected","@searchEnabled","@matchTriggerWidth","@onchange","@name","@dropdownClass"],[[23,["colors","all"]],[21,"selectedColor"],false,false,[27,"action",[[22,0,[]],"selectColor"],null],"color-chooser","color-dropdown"]],{"statements":[[0,"\\n  "],[7,"div"],[11,"class","color-option"],[12,"style",[27,"background-color",[[22,1,["code"]]],null]],[9],[10],[0,"\\n"]],"parameters":[1]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-color-select/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-confirm-button/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({tagName:"button",classNameBindings:["confirm"],class:"btn btn-danger",attributeBindings:["type"],type:"button",text:"Delete",confirmText:"Really delete?",confirm:!1,click(e){e.preventDefault(),this.get("confirm")&&this.action(),this.set("confirm",!0)}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-confirm-button/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"+bnY9P2h",block:'{"symbols":[],"statements":[[4,"if",[[23,["confirm"]]],null,{"statements":[[0,"  "],[1,[21,"confirmText"],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"  "],[1,[21,"text"],false],[0,"\\n"]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-confirm-button/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-control-preset-preview/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Math.max
var n=Ember.Component.extend({sideMenu:Ember.inject.service(),canvas:Ember.inject.service(),attributeBindings:["touch-action"],"touch-action":"none",buttons:null,title:null,_trackingTitle:null,compositionID:null,init(){this._super(...arguments),this._boundPointerMoveHandler=this._pointerMoveHandler.bind(this),this._boundPointerUpHandler=this._pointerUpHandler.bind(this),this._boundPointerDownHandler=this._pointerDownHandler.bind(this)},didInsertElement(){this._super(...arguments),this.$().on("pointerdown",this._boundPointerDownHandler)},willDestroyElement(){this.$().off("pointerdown",this._boundPointerDownHandler),this._super(...arguments)},width:Ember.computed("buttons.@each.{x,width}",function(){if(this.get("buttons"))return t(...this.get("buttons").map(({x:e,width:t})=>e+t))}),height:Ember.computed("buttons.@each.{y,height}",function(){if(this.get("buttons"))return t(...this.get("buttons").map(({y:e,height:t})=>e+t))}),miniPreviewSize:Ember.computed("height","width",function(){const e=25*this.get("height"),t=32*this.get("width")
let n=1
return t>280&&(n=280/t),[`height: ${e}px`,`width: ${t}px`,`transform: scale(${n})`,`margin-bottom: ${(n*e-e)/2}px`,`margin-top: ${(n*e-e)/2}px`].join(";").htmlSafe()}),isDragging:!1,isOnCanvas:!1,originalPos:null,newPos:null,dragImage:null,_pointerDownHandler(e){3!==e.which&&this._startDragging(e)},_pointerMoveHandler(e){e.pageX>this.get("originalPos.x")+25?this._enterCanvas():e.pageX<50&&this._leaveCanvas(),this.get("isOnCanvas")&&this.get("canvas").trigger("updateHoverOutline",e.pageX,e.pageY,this.get("width"),this.get("height")),this.get("dragImage").css({left:`${e.pageX}px`,top:`${e.pageY}px`})},_pointerUpHandler(e){this.get("isDragging")&&(this.get("isOnCanvas")&&(this.get("canvas").trigger("instantiatePreset",this,e.pageX,e.pageY),this.get("leavePresetChooser")()),this._stopDragging())},_startDragging(e){this.setProperties({isDragging:!0,isOnCanvas:!1,originalPos:{x:e.pageX,y:e.pageY}})
const t=this.$(".mini-preview").clone()
t.addClass("dragged").css({left:`${e.pageX}px`,top:`${e.pageY}px`}),t.appendTo(document.body),this.set("dragImage",t),this._oldDragImageCSSTransform=this.get("dragImage").css("transform"),Ember.$("body").on("pointermove",this._boundPointerMoveHandler),Ember.$("body").on("pointerup",this._boundPointerUpHandler)},_stopDragging(){Ember.$("body").off("pointermove",this._boundPointerMoveHandler),Ember.$("body").off("pointerup",this._boundPointerUpHandler),this.get("dragImage").remove(),this.get("canvas").trigger("removeHoverOutline"),this.get("isDestroyed")||this.setProperties({isDragging:!1,isOnCanvas:!1})},_enterCanvas(){this.get("isOnCanvas")||(this.set("isOnCanvas",!0),this.get("sideMenu").close(),this.get("dragImage").css("transform","scale(1)"))},_leaveCanvas(){this.get("isOnCanvas")&&(this.get("sideMenu").open(),this.set("isOnCanvas",!1),this.get("dragImage").css("transform",this._oldDragImageCSSTransform),this.get("canvas").trigger("removeHoverOutline"))},actions:{hasButtonIn(e,t){return this.get("buttons").any(n=>Ember.get(n,"x")<=e&&Ember.get(n,"x")+Ember.get(n,"width")>e&&Ember.get(n,"y")<=t&&Ember.get(n,"y")+Ember.get(n,"height")>t)}}})
e.default=n}),define("mimolive-remote-control/pods/components/mrc-control-preset-preview/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Q//0QwlB",block:'{"symbols":["button"],"statements":[[7,"div"],[11,"class","well well-sm drag-zone"],[9],[0,"\\n  "],[7,"span"],[11,"class","title"],[9],[1,[21,"title"],false],[10],[0,"\\n  "],[7,"div"],[11,"class","mini-preview"],[12,"style",[21,"miniPreviewSize"]],[9],[0,"\\n"],[4,"each",[[23,["buttons"]]],null,{"statements":[[0,"      "],[1,[27,"mrc-tile-preview",[[22,1,[]]],[["gridWidth","gridHeight"],[[23,["width"]],[23,["height"]]]]],false],[0,"\\n"]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n  "],[7,"div"],[11,"style","clear: both;"],[9],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-control-preset-preview/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-create-canvas/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({content:null,canvasSizeRecommendation:Ember.inject.service(),isWidthInvalid:Ember.computed("content.gridWidth","canvasSizeRecommendation.gridSize.width",function(){return this.get("content.gridWidth")>this.get("canvasSizeRecommendation.gridSize.width")}),isHeightInvalid:Ember.computed("content.gridHeight","canvasSizeRecommendation.gridSize.height",function(){return this.get("content.gridHeight")>this.get("canvasSizeRecommendation.gridSize.height")}),hasGridSizeWarning:Ember.computed.or("isHeightInvalid","isWidthInvalid"),didReceiveAttrs(){this._super(...arguments),this.get("content").set("gridWidth",this.get("canvasSizeRecommendation.gridSize.width")),this.get("content").set("gridHeight",this.get("canvasSizeRecommendation.gridSize.height"))}})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-create-canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0gUIR9Yz",block:'{"symbols":[],"statements":[[7,"form"],[12,"onsubmit",[27,"action",[[22,0,[]],[23,["save"]]],null]],[11,"class","form from-horizonal"],[9],[0,"\\n  "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n    "],[7,"label"],[11,"for","title"],[9],[1,[27,"t",["canvas.create.title"],null],false],[10],[0,"\\n    "],[1,[27,"input",null,[["type","class","value","placeholder"],["text","form-control canvas-title",[23,["content","title"]],[27,"t",["canvas.create.title"],null]]]],false],[0,"\\n  "],[10],[0,"\\n\\n  "],[7,"div"],[11,"class","row"],[9],[0,"\\n    "],[7,"div"],[11,"class","form-group col-sm-6"],[9],[0,"\\n      "],[7,"label"],[11,"for","title"],[9],[1,[27,"t",["canvas.create.width"],null],false],[10],[0,"\\n      "],[5,"mrc-numeric-stepper",[],[["@min","@value","@update","@invalid"],[1,[23,["content","gridWidth"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","gridWidth"]]],null]],null],[21,"isWidthInvalid"]]]],[0,"\\n    "],[10],[0,"\\n    "],[7,"div"],[11,"class","form-group col-sm-6"],[9],[0,"\\n      "],[7,"label"],[11,"for","title"],[9],[1,[27,"t",["canvas.create.height"],null],false],[10],[0,"\\n      "],[5,"mrc-numeric-stepper",[],[["@min","@value","@update","@invalid"],[1,[23,["content","gridHeight"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","gridHeight"]]],null]],null],[21,"isHeightInvalid"]]]],[0,"\\n    "],[10],[0,"\\n"],[4,"if",[[23,["hasGridSizeWarning"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","col-xs-12 grid-size-warning"],[9],[0,"\\n        "],[7,"p"],[11,"class","text-muted centered"],[9],[1,[27,"t",["canvas.create.gridSizeWarning"],null],false],[10],[0,"\\n      "],[10],[0,"\\n"]],"parameters":[]},null],[0,"  "],[10],[0,"\\n\\n  "],[7,"button"],[11,"class","btn btn-success btn-block save-canvas"],[11,"type","submit"],[9],[0,"\\n    "],[1,[27,"t",["canvas.create.save"],null],false],[0,"\\n  "],[10],[0,"\\n"],[10],[0,"\\n\\n"],[1,[27,"mrc-saving-overlay",[[23,["content","isSaving"]]],null],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-create-canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-disconnect-warning/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({classNames:["chooser-modal"]})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-disconnect-warning/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DylozU9Z",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","header"],[9],[0,"\\n  "],[7,"h4"],[9],[1,[27,"t",["errors.disconnect.heading"],null],false],[10],[0,"\\n"],[10],[0,"\\n"],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n  "],[7,"p"],[11,"class","centered"],[9],[1,[27,"t",["errors.disconnect.text"],null],false],[10],[0,"\\n  "],[7,"button"],[11,"class","btn btn-primary btn-block"],[9],[1,[27,"t",["errors.disconnect.button"],null],false],[3,"action",[[22,0,[]],[23,["reload"]]]],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-disconnect-warning/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-documents-list/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-documents-list/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"q8yp+8g1",block:'{"symbols":["document"],"statements":[[7,"h5"],[9],[1,[27,"t",["documents.heading"],null],false],[10],[0,"\\n"],[4,"each",[[23,["content"]]],null,{"statements":[[4,"link-to",["document",[22,1,[]]],[["tagName","class"],["div","document"]],{"statements":[[0,"    "],[7,"h4"],[9],[0,"\\n"],[4,"if",[[22,1,["metadata","title"]]],null,{"statements":[[0,"        "],[1,[22,1,["metadata","title"]],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"        "],[7,"span"],[11,"class","text-muted"],[9],[1,[27,"t",["documents.namePlaceholder"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"    "],[10],[0,"\\n"],[4,"if",[[22,1,["metadata","comments"]]],null,{"statements":[[0,"      "],[1,[22,1,["metadata","comments"]],false],[7,"br"],[9],[10],[0," – "],[7,"i"],[9],[1,[22,1,["metadata","author"]],false],[10],[0,"\\n"]],"parameters":[]},null],[0,"    "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[1]},{"statements":[[0,"  "],[7,"p"],[11,"class","centered"],[9],[1,[27,"t",["documents.noDocuments"],null],false],[10],[0,"\\n"]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-documents-list/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-documents-navbar/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({tagName:"nav",classNames:["navbar-default"]})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-documents-navbar/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"NObZQ/uo",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","center-title"],[9],[0,"\\n  "],[7,"h2"],[9],[1,[27,"t",["documents.navbar.heading"],null],false],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-documents-navbar/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-edit-canvas/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({canvasSizeRecommendation:Ember.inject.service(),classNameBindings:["content.isSaving:is-saving"],content:null,minGridHeight:Ember.computed("content.buttons.@each.{y,height}",function(){return this.get("content.buttons").reduce((e,t)=>{const n=t.get("y")+t.get("height")
return n>e?n:e},-1/0)}),minGridWidth:Ember.computed("content.buttons.@each.{x,width}",function(){return this.get("content.buttons").reduce((e,t)=>{const n=t.get("x")+t.get("width")
return n>e?n:e},-1/0)}),isWidthInvalid:Ember.computed("content.gridWidth","canvasSizeRecommendation.gridSize.width",function(){return this.get("content.gridWidth")>this.get("canvasSizeRecommendation.gridSize.width")}),isHeightInvalid:Ember.computed("content.gridHeight","canvasSizeRecommendation.gridSize.height",function(){return this.get("content.gridHeight")>this.get("canvasSizeRecommendation.gridSize.height")}),hasGridSizeWarning:Ember.computed.or("isHeightInvalid","isWidthInvalid"),actions:{submit(e){e.preventDefault(),this.cancel()}}})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-edit-canvas/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"LXQZVpSG",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","header"],[9],[0,"\\n  "],[7,"h4"],[9],[1,[27,"t",["canvas.edit.heading"],null],false],[10],[0,"\\n  "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[23,["cancel"]]]],[10],[0,"\\n"],[10],[0,"\\n"],[7,"form"],[12,"onsubmit",[27,"action",[[22,0,[]],"submit"],null]],[9],[0,"\\n  "],[7,"div"],[11,"class","row"],[9],[0,"\\n    "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n      "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n        "],[7,"label"],[9],[1,[27,"t",["canvas.edit.width"],null],false],[10],[0,"\\n        "],[5,"mrc-numeric-stepper",[],[["@min","@value","@update","@invalid"],[[21,"minGridWidth"],[23,["content","gridWidth"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","gridWidth"]]],null]],null],[21,"isWidthInvalid"]]]],[0,"\\n      "],[10],[0,"\\n    "],[10],[0,"\\n    "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n      "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n        "],[7,"label"],[9],[1,[27,"t",["canvas.edit.height"],null],false],[10],[0,"\\n        "],[5,"mrc-numeric-stepper",[],[["@min","@value","@update","@invalid"],[[21,"minGridHeight"],[23,["content","gridHeight"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","gridHeight"]]],null]],null],[21,"isHeightInvalid"]]]],[0,"\\n      "],[10],[0,"\\n    "],[10],[0,"\\n"],[4,"if",[[23,["hasGridSizeWarning"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","col-xs-12 grid-size-warning"],[9],[0,"\\n        "],[7,"p"],[11,"class","text-muted"],[9],[1,[27,"t",["canvas.edit.gridSizeWarning"],null],false],[10],[0,"\\n      "],[10],[0,"\\n"]],"parameters":[]},null],[0,"  "],[10],[0,"\\n\\n  "],[1,[27,"mrc-confirm-button",null,[["class","text","confirmText","action"],["btn btn-danger btn-sm btn-block",[27,"t",["canvas.edit.delete"],null],[27,"t",["canvas.edit.confirmDelete"],null],[27,"action",[[22,0,[]],[23,["deleteCanvas"]]],null]]]],false],[0,"\\n"],[10],[0,"\\n\\n"],[1,[27,"mrc-saving-overlay",[[23,["content","isSaving"]]],null],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-edit-canvas/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-edit-tile/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({colors:Ember.inject.service(),classNameBindings:["content.isSaving:is-saving"],content:null,cancel:function(){throw new Error("mrc-edit-tile needs `cancel` action.")},maxHeight:Ember.computed("content.{x,y,width}","content.canvas.gridHeight","content.canvas.buttons.@each.{x,y,width}",function(){const e=this.get("content")
if(e.get("isDestroyed")||e.get("isDestroying"))return
const t={}
for(let n=e.get("x");n<e.get("x")+e.get("width");n++)t[n]=e.get("canvas.gridHeight")
return e.get("canvas.buttons").forEach(n=>{if(n.get("y")>e.get("y"))for(let e=n.get("x");e<n.get("x")+n.get("width");e++)void 0!==t[e]&&n.get("x")<t[e]&&(t[e]=n.get("y"))}),Math.min(...Object.keys(t).map(e=>t[e]))-e.get("y")}),maxWidth:Ember.computed("content.{x,y,height}","content.canvas.gridWidth","content.canvas.buttons.@each.{x,y,height}",function(){const e=this.get("content")
if(e.get("isDestroyed")||e.get("isDestroying"))return
const t={}
for(let n=e.get("y");n<e.get("y")+e.get("height");n++)t[n]=e.get("canvas.gridWidth")
return e.get("canvas.buttons").forEach(n=>{if(n.get("x")>e.get("x"))for(let e=n.get("y");e<n.get("y")+n.get("height");e++)void 0!==t[e]&&n.get("x")<t[e]&&(t[e]=n.get("x"))}),Math.min(...Object.keys(t).map(e=>t[e]))-e.get("x")}),actions:{submit(e){e.preventDefault(),this.cancel()},removeProperty(e){const t=this.get("content").get(e)
this.get("content").set(e,null),t.destroy()},removeAction(e){this.get("content.actions").removeFragment(e),e.destroy()}}})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-edit-tile/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"jAhYlkW5",block:'{"symbols":["link","link","link","btnAction"],"statements":[[7,"div"],[11,"class","header"],[9],[0,"\\n  "],[7,"h4"],[9],[1,[27,"t",["canvas.tile.edit.heading"],null],false],[10],[0,"\\n  "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[23,["cancel"]]]],[10],[0,"\\n"],[10],[0,"\\n"],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n  "],[7,"form"],[12,"onsubmit",[27,"action",[[22,0,[]],"submit"],null]],[9],[0,"\\n    "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n      "],[7,"label"],[11,"for","title"],[9],[1,[27,"t",["canvas.tile.edit.title"],null],false],[10],[0,"\\n      "],[1,[27,"input",null,[["type","class","value","placeholder"],["text","form-control",[23,["content","text"]],[23,["content","dynamicText","text"]]]]],false],[0,"\\n    "],[10],[0,"\\n    \\n    "],[7,"div"],[11,"class","row"],[9],[0,"\\n      "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n        "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n          "],[7,"label"],[11,"for","color-chooser"],[9],[1,[27,"t",["canvas.tile.edit.color"],null],false],[10],[0,"\\n          "],[5,"mrc-color-select",[],[["@value","@update"],[[23,["content","color"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","color"]]],null]],null]]]],[0,"\\n        "],[10],[0,"\\n      "],[10],[0,"\\n      "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n        "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n          "],[7,"label"],[11,"for","icon-chooser"],[9],[1,[27,"t",["canvas.tile.edit.icon"],null],false],[10],[0,"\\n          "],[5,"mrc-icon-select",[],[["@value","@update"],[[23,["content","icon"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","icon"]]],null]],null]]]],[0,"\\n        "],[10],[0,"\\n      "],[10],[0,"\\n    "],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","row"],[9],[0,"\\n      "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n        "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n          "],[7,"label"],[9],[1,[27,"t",["canvas.tile.edit.height"],null],false],[10],[0,"\\n          "],[5,"mrc-numeric-stepper",[],[["@min","@max","@value","@update"],[1,[21,"maxHeight"],[23,["content","height"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","height"]]],null]],null]]]],[0,"\\n        "],[10],[0,"\\n      "],[10],[0,"\\n      "],[7,"div"],[11,"class","col-xs-6"],[9],[0,"\\n        "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n          "],[7,"label"],[9],[1,[27,"t",["canvas.tile.edit.width"],null],false],[10],[0,"\\n          "],[5,"mrc-numeric-stepper",[],[["@min","@max","@value","@update"],[1,[21,"maxWidth"],[23,["content","width"]],[27,"action",[[22,0,[]],[27,"mut",[[23,["content","width"]]],null]],null]]]],[0,"\\n        "],[10],[0,"\\n      "],[10],[0,"\\n    "],[10],[0,"\\n\\n"],[0,"    "],[7,"div"],[11,"class","form-group actions"],[9],[0,"\\n      "],[7,"label"],[9],[1,[27,"t",["canvas.tile.edit.actions"],null],false],[10],[7,"br"],[9],[10],[0,"\\n"],[4,"each",[[23,["content","actions"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","input-group"],[9],[0,"\\n          "],[1,[27,"mrc-scrolling-input",null,[["class","disabled","value"],["form-control",true,[22,4,["description"]]]]],false],[0,"\\n          "],[7,"span"],[11,"class","input-group-btn"],[9],[0,"\\n            "],[7,"button"],[11,"class","btn btn-danger"],[11,"type","button"],[9],[0,"\\n              "],[7,"span"],[11,"class","icon icon-remove"],[9],[10],[0,"\\n            "],[3,"action",[[22,0,[]],[27,"action",[[22,0,[]],"removeAction",[22,4,[]]],null]]],[10],[0,"\\n          "],[10],[0,"\\n        "],[10],[0,"\\n"]],"parameters":[4]},null],[0,"\\n      "],[5,"bx-link-to",[],[["@params"],[[27,"array",["action-chooser"],null]]],{"statements":[[0,"\\n        "],[7,"button"],[12,"class",[28,["btn btn-default btn-block ",[27,"if",[[22,3,["isActive"]],"btn-primary active"],null]]]],[11,"type","button"],[9],[0,"\\n"],[4,"if",[[23,["content","actions","length"]]],null,{"statements":[[0,"            "],[7,"span"],[11,"class","icon icon-plus"],[9],[10],[0," "],[1,[27,"t",["canvas.tile.edit.addAction"],null],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"            "],[1,[27,"t",["canvas.tile.edit.chooseAction"],null],false],[0,"\\n"]],"parameters":[]}],[0,"        "],[3,"action",[[22,0,[]],[22,3,["transitionTo"]]]],[10],[0,"\\n      "]],"parameters":[3]}],[0,"\\n    "],[10],[0,"\\n\\n"],[0,"    "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n      "],[7,"label"],[9],[1,[27,"t",["canvas.tile.edit.liveState"],null],false],[10],[7,"br"],[9],[10],[0,"\\n"],[4,"if",[[23,["content","liveState"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","input-group"],[9],[0,"\\n          "],[5,"mrc-scrolling-input",[[11,"class","form-control"]],[["@value","@disabled"],[[23,["content","liveState","description"]],true]]],[0,"\\n          "],[7,"span"],[11,"class","input-group-btn"],[9],[0,"\\n            "],[7,"button"],[11,"class","btn btn-danger"],[11,"type","button"],[9],[0,"\\n              "],[7,"span"],[11,"class","icon icon-remove"],[9],[10],[0,"\\n            "],[3,"action",[[22,0,[]],[27,"action",[[22,0,[]],"removeProperty","liveState"],null]]],[10],[0,"\\n          "],[10],[0,"\\n        "],[10],[0,"\\n"]],"parameters":[]},{"statements":[[0,"        "],[5,"bx-link-to",[],[["@params"],[[27,"array",["live-state-chooser"],null]]],{"statements":[[0,"\\n          "],[7,"button"],[12,"class",[28,["btn btn-default btn-block ",[27,"if",[[22,2,["isActive"]],"btn-primary active"],null]]]],[11,"type","button"],[9],[0,"\\n            "],[1,[27,"t",["canvas.tile.edit.chooseLiveState"],null],false],[0,"\\n          "],[3,"action",[[22,0,[]],[22,2,["transitionTo"]]]],[10],[0,"\\n        "]],"parameters":[2]}],[0,"\\n"]],"parameters":[]}],[0,"    "],[10],[0,"\\n\\n"],[0,"    "],[7,"div"],[11,"class","form-group"],[9],[0,"\\n      "],[7,"label"],[9],[1,[27,"t",["canvas.tile.edit.preview"],null],false],[10],[7,"br"],[9],[10],[0,"\\n"],[4,"if",[[23,["content","sourcePreview"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","input-group"],[9],[0,"\\n          "],[5,"mrc-scrolling-input",[[11,"class","form-control"]],[["@value","@disabled"],[[23,["content","sourcePreview","description"]],true]]],[0,"\\n          "],[7,"span"],[11,"class","input-group-btn"],[9],[0,"\\n            "],[7,"button"],[11,"class","btn btn-danger"],[11,"type","button"],[9],[0,"\\n              "],[7,"span"],[11,"class","icon icon-remove"],[9],[10],[0,"\\n            "],[3,"action",[[22,0,[]],[27,"action",[[22,0,[]],"removeProperty","sourcePreview"],null]]],[10],[0,"\\n          "],[10],[0,"\\n        "],[10],[0,"\\n"]],"parameters":[]},{"statements":[[0,"        "],[5,"bx-link-to",[],[["@params"],[[27,"array",["preview-chooser"],null]]],{"statements":[[0,"\\n          "],[7,"button"],[12,"class",[28,["btn btn-default btn-block ",[27,"if",[[22,1,["isActive"]],"btn-primary active"],null]]]],[11,"type","button"],[9],[0,"\\n            "],[1,[27,"t",["canvas.tile.edit.choosePreview"],null],false],[0,"\\n          "],[3,"action",[[22,0,[]],[22,1,["transitionTo"]]]],[10],[0,"\\n        "]],"parameters":[1]}],[0,"\\n"]],"parameters":[]}],[0,"    "],[10],[0,"\\n\\n    "],[7,"input"],[11,"class","hidden-submit-button"],[11,"tabindex","-1"],[11,"type","submit"],[9],[10],[0,"\\n\\n    "],[5,"mrc-confirm-button",[[11,"class","btn btn-danger btn-sm btn-block"]],[["@text","@confirmText","@action"],[[27,"t",["canvas.tile.edit.delete"],null],[27,"t",["canvas.tile.edit.confirmDelete"],null],[27,"action",[[22,0,[]],[23,["deleteTile"]],[23,["content"]]],null]]]],[0,"\\n  "],[10],[0,"\\n"],[10],[0,"\\n\\n"],[1,[27,"mrc-saving-overlay",[[23,["content","isSaving"]]],null],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-edit-tile/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-error-overlay/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({isShown:!1,error:null})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-error-overlay/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0mTi1ow4",block:'{"symbols":[],"statements":[[4,"if",[[22,0,["isShown"]]],null,{"statements":[[0,"  "],[7,"div"],[11,"class","mrc-overlay"],[9],[0,"\\n    "],[7,"div"],[11,"class","center-group"],[9],[0,"\\n      "],[7,"span"],[11,"class","icon icon-attention"],[9],[10],[7,"br"],[9],[10],[0,"\\n      "],[7,"span"],[9],[1,[22,0,["error"]],false],[10],[0,"\\n    "],[10],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-error-overlay/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-icon-select/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({icons:Ember.inject.service(),value:null,selectedIcon:Ember.computed("value","icons.all",function(){return this.get("icons.all").findBy("id",this.value)}).readOnly(),actions:{selectIcon(e){this.update(e?Ember.get(e,"id"):null)}}})
e.default=t})
define("mimolive-remote-control/pods/components/mrc-icon-select/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"5BuAciZH",block:'{"symbols":["icon"],"statements":[[5,"power-select",[],[["@options","@selected","@placeholder","@searchEnabled","@allowClear","@matchTriggerWidth","@onchange","@name","@dropdownClass"],[[23,["icons","all"]],[21,"selectedIcon"],"Choose…",false,true,false,[27,"action",[[22,0,[]],"selectIcon"],null],"icon-chooser","icon-dropdown"]],{"statements":[[0,"\\n  "],[7,"i"],[12,"class",[28,["icon-option icon icon-",[22,1,["id"]]]]],[9],[10],[0,"\\n"]],"parameters":[1]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-icon-select/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-modal/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({classNames:["mrc-modal"],slideIn:!1,didInsertElement(){this._super(...arguments),this.get("slideIn")&&(this.element.style.animation="modal-slidein 0.3s ease-in-out forwards",this.element.addEventListener("animationend",()=>{},{once:!0}))},willDestroyElement(){const e=this.element.parentNode,t=this.element.cloneNode(!0)
t.style.animation="modal-slidein 0.3s ease-in-out reverse",t.addEventListener("animationend",()=>{e.removeChild(t)},{once:!0}),e.appendChild(t),this._super(...arguments)}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-modal/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"j6JnB0BC",block:'{"symbols":["&default"],"statements":[[14,1]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-modal/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-mode-toggle/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({mode:Ember.inject.service(),state:Ember.computed.oneWay("mode.isLive"),actions:{setLive(){this.get("mode").setLive()},setEditing(){this.get("mode").setEditing()},changeState(e){e?this.get("mode").setLive():this.get("mode").setEditing()}}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-mode-toggle/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"dVtMWbSz",block:'{"symbols":[],"statements":[[7,"span"],[11,"class","navbar-label"],[9],[1,[27,"t",["modeToggle.editLabel"],null],false],[3,"action",[[22,0,[]],"setEditing"]],[10],[0,"\\n"],[5,"x-toggle",[],[["@value","@offLabel","@onLabel","@size","@onToggle"],[[21,"state"],[27,"t",["modeToggle.editLabel"],null],[27,"t",["modeToggle.liveLabel"],null],"large",[27,"action",[[22,0,[]],"changeState"],null]]]],[0,"\\n"],[7,"span"],[11,"class","navbar-label"],[9],[1,[27,"t",["modeToggle.liveLabel"],null],false],[3,"action",[[22,0,[]],"setLive"]],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-mode-toggle/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-numeric-stepper/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({value:0,invalid:!1,min:null,max:null,canDecrement:Ember.computed("min","value",function(){return null===this.min||this.value>this.min}),canIncrement:Ember.computed("max","value",function(){return null===this.max||this.value<this.max}),actions:{increment(){this.update(this.value+1)},decrement(){this.update(this.value-1)}}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-numeric-stepper/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"pZf0Ic+7",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","btn-group"],[11,"role","group"],[9],[0,"\\n  "],[7,"button"],[11,"class","btn btn-default btn-decrement"],[12,"disabled",[27,"not",[[23,["canDecrement"]]],null]],[11,"type","button"],[9],[7,"i"],[11,"class","icon icon-minus"],[9],[10],[3,"action",[[22,0,[]],"decrement"]],[10],[0,"\\n  "],[7,"input"],[12,"class",[28,["form-control ",[27,"if",[[23,["invalid"]],"invalid"],null]]]],[11,"disabled",""],[12,"value",[21,"value"]],[11,"type","number"],[9],[10],[0,"\\n  "],[7,"button"],[11,"class","btn btn-default btn-increment"],[12,"disabled",[27,"not",[[23,["canIncrement"]]],null]],[11,"type","button"],[9],[7,"i"],[11,"class","icon icon-plus"],[9],[10],[3,"action",[[22,0,[]],"increment"]],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-numeric-stepper/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-placeholder/component",["exports","mimolive-remote-control/mixins/tile"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=Ember.Component.extend(t.default,{gridInfo:null,content:null,x:Ember.computed.readOnly("content.x"),y:Ember.computed.readOnly("content.y")})
e.default=n}),define("mimolive-remote-control/pods/components/mrc-placeholder/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"T6MGe1wA",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","tile"],[9],[0,"\\n  "],[7,"div"],[11,"class","box"],[9],[0,"\\n"],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-placeholder/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-preview-layer-variants/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({tagName:"span",classNames:["text-muted"]})
t.reopenClass({positionalParams:["variants"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-preview-layer-variants/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"LB0vsiWM",block:'{"symbols":[],"statements":[[4,"if",[[27,"eq",[[23,["variants","length"]],1],null]],null,{"statements":[[0,"  "],[1,[23,["variants","firstObject","name"]],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"  "],[1,[27,"t",["previewLayerVariants"],[["count"],[[23,["variants","length"]]]]],false],[0,"\\n"]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-preview-layer-variants/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-saving-overlay/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({isShown:!1})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-saving-overlay/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"+qHuLfF4",block:'{"symbols":[],"statements":[[4,"if",[[22,0,["isShown"]]],null,{"statements":[[0,"  "],[7,"div"],[11,"class","mrc-overlay"],[9],[0,"\\n    "],[7,"div"],[11,"class","center-group"],[9],[0,"\\n      "],[5,"mrc-spinner",[],[[],[]]],[0,"\\n      "],[7,"span"],[9],[1,[27,"t",["savingOverlay.saving"],null],false],[10],[0,"\\n    "],[10],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-saving-overlay/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-scrolling-input/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({tagName:"input",classNames:"form-control",attributeBindings:["style","value","disabled"],disabled:!0,value:null,style:Ember.computed("value",function(){if(!this.element)return
const e=this.element.clientWidth-this.element.scrollWidth
if(e<0){let t=-1*e/12
t+=2,Ember.$.keyframe.define({name:"scroll-"+this.elementId,"0%":{"text-indent":"12px"},[1/t*100+"%"]:{"text-indent":"12px"},[100-1/t*100+"%"]:{"text-indent":e+"px"},"100%":{"text-indent":e+"px"}}),Ember.run.schedule("afterRender",()=>this.$().playKeyframe(`scroll-${this.elementId} ${t}s linear infinite alternate`))}else this._initialPropertyNotification=Ember.run.later(()=>{this.isDestroyed||this.notifyPropertyChange("style")},1)
return["padding-left: 0","padding-right: 0","text-indent: 12px"].join("; ").htmlSafe()}),didInsertElement(){this._super(...arguments),this.notifyPropertyChange("style")},willDestroyElement(){Ember.run.cancel(this._initialPropertyNotification),Ember.$("#scroll-"+this.elementId).remove(),this._super(...arguments)}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-sidebar-backdrop/component",["exports","ember-side-menu/components/content-backdrop"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({classNames:["clickable"],click(){this.onClose?this.onClose():this._super()}})
e.default=n}),define("mimolive-remote-control/pods/components/mrc-sidebar/component",["exports","ember-side-menu/components/side-menu"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t.default.reopen({_setupEventListeners(){},_removeEventListeners(){}})
var n=Ember.Component.extend({sideMenu:Ember.inject.service(),canvasComponent:null,classNameBindings:["sideMenu.isSlightlyOpen:menu-slightly-open","sideMenu.isOpen:menu-open"]})
e.default=n}),define("mimolive-remote-control/pods/components/mrc-sidebar/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"XCPxdzcc",block:'{"symbols":["&default"],"statements":[[1,[27,"mrc-sidebar-backdrop",null,[["onClose"],[[27,"action",[[22,0,[]],[23,["onClose"]]],null]]]],false],[0,"\\n"],[4,"side-menu",null,[["width","side"],["320px","left"]],{"statements":[[0,"  "],[14,1],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-sidebar/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-spinner/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Component.extend({classNameBindings:["dark"],dark:!1})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-spinner/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"QMTlnGPF",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","spinner"],[9],[0,"\\n  "],[7,"div"],[11,"class","bounce1"],[9],[10],[0,"\\n  "],[7,"div"],[11,"class","bounce2"],[9],[10],[0,"\\n  "],[7,"div"],[11,"class","bounce3"],[9],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-spinner/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-tile-preview/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Ember.Component.extend({attributeBindings:["style"],content:null,gridWidth:0,gridHeight:0,style:Ember.computed("content.{height,width,x,y}","gridWidth","gridHeight",function(){const e=this.getProperties("gridWidth","gridHeight"),t=e.gridWidth,n=e.gridHeight,o=this.getWithDefault("content.height",1),r=this.getWithDefault("content.width",1)
return[`left: ${this.getWithDefault("content.x",0)/t*100}%`,`top: ${this.getWithDefault("content.y",0)/n*100}%`,`width: ${r/t*100}%`,`height: ${o/n*100}%`].join("; ").htmlSafe()}),isToggleLiveButton:Ember.computed("content.actions.@each.type",function(){return this.get("content.actions")&&this.get("content.actions").isAny("type","toggleLive")})})
t.reopenClass({positionalParams:["content"]})
var n=t
e.default=n}),define("mimolive-remote-control/pods/components/mrc-tile-preview/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"e3VOuwp3",block:'{"symbols":[],"statements":[[4,"if",[[23,["content","icon"]]],null,{"statements":[[0,"  "],[7,"span"],[12,"class",[28,["icon icon-",[23,["content","icon"]]]]],[9],[10],[0,"\\n"]],"parameters":[]},{"statements":[[4,"if",[[22,0,["isToggleLiveButton"]]],null,{"statements":[[0,"  "],[7,"span"],[11,"class","live"],[9],[0,"Live"],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-tile-preview/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-tile/component",["exports","mimolive-remote-control/mixins/resizeable","mimolive-remote-control/mixins/tile"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=Ember.Component.extend(n.default,t.default,{mode:Ember.inject.service(),ajax:Ember.inject.service(),imageScheduler:Ember.inject.service(),i18n:Ember.inject.service(),classNameBindings:["mode.isEditing:editing","showTallyLight:tally-light","tallyLightLive:tally-light-live","tallyLightTransition:tally-light-transition","hasPreview:has-preview","hasIcon:has-icon","hasError:has-error","clickable"],attributeBindings:["touch-action"],"touch-action":"none",init(){this._super(...arguments),this._boundPointerMoveHandler=this._pointerMoveHandler.bind(this),this._boundPointerUpHandler=this._pointerUpHandler.bind(this),this._boundPointerDownHandler=this._pointerDownHandler.bind(this)},didInsertElement(){this._super(...arguments),this.$().on("pointerdown",this._boundPointerDownHandler),this._recomputeDisplaySize()},willDestroyElement(){this.$().off("pointerdown",this._boundPointerDownHandler),Ember.$("body").off("pointermove",this._boundPointerMoveHandler),Ember.$("body").off("pointerup",this._boundPointerUpHandler),this.get("imageScheduler").deschedule(this,"_displayPreviewURL"),this._super(...arguments)},gridInfo:null,content:null,x:Ember.computed.readOnly("content.x"),y:Ember.computed.readOnly("content.y"),width:Ember.computed.readOnly("content.width"),height:Ember.computed.readOnly("content.height"),color:Ember.computed.readOnly("content.color"),displayWidth:0,displayHeight:0,showTallyLight:Ember.computed.or("tallyLightLive","tallyLightTransition"),tallyLightLive:Ember.computed.readOnly("content.liveState.isLive"),tallyLightTransition:Ember.computed.readOnly("content.liveState.isTransition"),timeRemaining:Ember.computed.readOnly("content.liveState.timeRemaining"),hasActions:Ember.computed.notEmpty("content.actions"),hasPreview:Ember.computed.bool("content.sourcePreview"),hasIcon:Ember.computed.bool("content.icon"),hasError:Ember.computed.bool("error"),error:Ember.computed.or("actionsError","liveStateError","sourcePreviewError","dynamicTextError","dynamicSubTextError"),actionsError:Ember.computed("content.actions.@each.error",function(){const e=(this.get("content.actions")||[]).findBy("error")
return e?e.get("error"):null}),liveStateError:Ember.computed.readOnly("content.liveState.error"),sourcePreviewError:Ember.computed.readOnly("content.sourcePreview.error"),dynamicTextError:Ember.computed.readOnly("content.dynamicText.error"),dynamicSubTextError:Ember.computed.readOnly("content.dynamicSubText.error"),clickable:Ember.computed("hasError","mode.isEditing","hasActions",function(){return!this.get("hasError")&&!this.get("mode.isEditing")&&this.get("hasActions")}),tileColor:Ember.computed("color",function(){return Ember.String.htmlSafe(`background-color: ${this.get("color")}`)}),_directHit:!0,_previewTick:0,_displayPreviewURL:Ember.computed({set(e,t){const n=this._previewTick++%2,o=this._previewTick%2,r=this.$(".source-preview")
if(!r.length)return
const i=r.get(n),a=r.get(o)
i.onload||(i.onload=(()=>{i.style.display="block",a.style.display="none"}),i.onerror=(()=>{i.style.display="none"})),i.src=t}}),previewURLObserver:Ember.observer("hasPreview","content.sourcePreview.previewURL","displayWidth","displayHeight",function(){if(!this.get("hasPreview"))return null
if(!this.get("content.sourcePreview.previewURL"))return this.set("_displayPreviewURL",null),void this.get("imageScheduler").deschedule(this,"_displayPreviewURL")
const e=this.get("content.sourcePreview.isStatic"),t=[`width=${this.get("displayWidth")}`,`height=${this.get("displayHeight")}`,"fps=5",`format=${e?"png":"jpeg"}`]
try{t.push("pwSHA256="+window.encodeURIComponent(window.localStorage.getItem("mimolive-password-sha256")))}catch(e){}const n=this.get("content.sourcePreview.previewURL")+"?"+t.join("&")
this.get("imageScheduler").deschedule(this,"_displayPreviewURL"),e?this.set("_displayPreviewURL",n):this.get("imageScheduler").schedule(this,"_displayPreviewURL",n)}),isDragging:!1,originalPos:null,_tileDimensions:Ember.computed("gridInfo.{width,height}","width","height",function(){const e=this.element.getBoundingClientRect(),t=e.height
return{width:e.width/this.get("width"),height:t/this.get("height")}}),didResizeElement(){this.get("hasPreview")&&this._recomputeDisplaySize()},_recomputeDisplaySize(){this.setProperties({displayWidth:this.element.clientWidth,displayHeight:this.element.clientHeight})},_pointerDownHandler(e){if(3===e.which)return
const t=[...Ember.getWithDefault(e,"target.classList",[])].includes("clickable")
this._directHit=!t,Ember.$("body").on("pointermove",this._boundPointerMoveHandler),Ember.$("body").on("pointerup",this._boundPointerUpHandler),this.get("mode.isEditing")&&!t&&(e.preventDefault(),this.set("isDragging",!0),this.set("originalPos",{x:e.pageX,y:e.pageY}))},_pointerMoveHandler(e){if(!this.get("isDragging"))return
const t=this.get("originalPos"),n=e.pageX-t.x,o=e.pageY-t.y,r=this.get("_tileDimensions"),i=r.width,a=r.height,s=Math.floor((n+i/2)/i),l=Math.floor((o+a/2)/a)
this.set("newPos",{x:this.get("x")+s,y:this.get("y")+l}),this.updateDropOutline(this.get("x")+s,this.get("y")+l,this.get("width"),this.get("height"),this.get("content"))},_pointerUpHandler(e){Ember.$("body").off("pointermove",this._boundPointerMoveHandler),Ember.$("body").off("pointerup",this._boundPointerUpHandler)
const t=Math.sqrt(Math.pow(e.pageX-this.get("originalPos.x"),2)+Math.pow(e.pageY-this.get("originalPos.y"),2))>5
if(this.get("isDragging"))!t&&this._directHit&&window.alert(this.get("i18n").t("canvas.tile.clickedDuringEdit")),this.set("isDragging",!1),this.get("newPos")&&this.moveTile(this.get("content"),this.get("newPos"))
else if(this.get("clickable")){const t=this.element.getBoundingClientRect(),n=t.top,o=t.left,r=t.width,i=t.height
e.pageY>n&&e.pageY<n+i&&e.pageX>o&&e.pageX<o+r&&this.get("content.actions").invoke("execute")}}})
e.default=o}),define("mimolive-remote-control/pods/components/mrc-tile/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"q9I8Mp36",block:'{"symbols":[],"statements":[[7,"div"],[11,"class","tile"],[12,"style",[27,"background-color",[[23,["content","color"]]],null]],[9],[0,"\\n  "],[7,"div"],[11,"class","box"],[9],[0,"\\n"],[4,"if",[[23,["hasPreview"]]],null,{"statements":[[0,"      "],[7,"img"],[11,"class","source-preview source-preview-0"],[11,"alt","source preview"],[9],[10],[0,"\\n      "],[7,"img"],[11,"class","source-preview source-preview-1"],[11,"alt","source preview"],[9],[10],[0,"\\n"]],"parameters":[]},null],[4,"if",[[23,["mode","isEditing"]]],null,{"statements":[[0,"      "],[7,"span"],[11,"class","icon icon-cog edit-tile clickable"],[9],[3,"action",[[22,0,[]],[27,"route-action",["editTile",[23,["content"]]],null]]],[10],[0,"\\n"]],"parameters":[]},null],[0,"    \\n"],[4,"unless",[[23,["hasError"]]],null,{"statements":[[4,"if",[[27,"or",[[23,["content","subtext"]],[23,["content","dynamicSubText"]]],null]],null,{"statements":[[0,"        "],[7,"span"],[11,"class","subtext"],[9],[1,[27,"or",[[23,["content","subtext"]],[23,["content","dynamicSubText","text"]]],null],false],[10],[0,"\\n"]],"parameters":[]},null],[0,"\\n      "],[7,"h4"],[9],[0,"\\n"],[4,"if",[[23,["content","icon"]]],null,{"statements":[[0,"          "],[7,"i"],[12,"class",[28,["button-icon icon icon-",[23,["content","icon"]]]]],[9],[10],[0,"\\n"]],"parameters":[]},null],[4,"if",[[23,["timeRemaining"]]],null,{"statements":[[0,"          "],[1,[27,"format-seconds",[[23,["timeRemaining"]]],null],false],[0,"\\n"]],"parameters":[]},{"statements":[[0,"          "],[1,[27,"or",[[23,["content","text"]],[23,["content","dynamicText","text"]]],null],false],[0,"\\n"]],"parameters":[]}],[0,"      "],[10],[0,"\\n"]],"parameters":[]},null],[0,"    \\n    "],[5,"mrc-saving-overlay",[],[["@isShown"],[[23,["content","isSaving"]]]]],[0,"\\n    "],[5,"mrc-error-overlay",[],[["@isShown","@error"],[[27,"and",[[23,["mode","isLive"]],[23,["hasError"]]],null],[21,"error"]]]],[0,"\\n  "],[10],[0,"\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-tile/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/components/mrc-version-info/component",["exports","mimolive-remote-control/config/environment"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=Ember.Component.extend({buildDate:t.default.buildDate})
e.default=n}),define("mimolive-remote-control/pods/components/mrc-version-info/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"/BhNj4/c",block:'{"symbols":[],"statements":[[0,"Built at "],[1,[21,"buildDate"],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/components/mrc-version-info/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/document-metadata/model",["exports","ember-data/attr","ember-data-model-fragments/fragment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({title:(0,t.default)("string"),show:(0,t.default)("string"),author:(0,t.default)("string"),comments:(0,t.default)("string"),height:(0,t.default)("number"),width:(0,t.default)("number"),duration:(0,t.default)("number"),framerate:(0,t.default)("number"),samplerate:(0,t.default)("number")})
e.default=o}),define("mimolive-remote-control/pods/document/model",["exports","ember-data","ember-data-model-fragments/attributes"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=t.default.Model,r=t.default.attr,i=t.default.hasMany,a=Ember.ArrayProxy.extend({document_id:null,store:null,_deferred:Ember.RSVP.defer(),_isLoaded:!1,_canvases:Ember.computed(function(){return this.get("store")?this.get("store").peekAll("canvas"):[]}),_filteredCanvases:Ember.computed("_canvases.@each",function(){const e=this.get("document_id")
return this.get("_canvases").filterBy("document.id",e)}),content:Ember.computed("document_id","_filteredCanvases.@each",function(){const e=this.get("document_id")
return this._isLoaded||(this._isLoaded=!0,this.get("store").query("canvas",{document_id:e}).then(this._deferred.resolve,this._deferred.reject)),this.get("_filteredCanvases")})})
var s=o.extend({name:r("string"),metadata:(0,n.fragment)("document-metadata"),duration:r("number"),showStart:r("number"),liveState:r("live-state"),layers:i("layer"),sources:i("source"),layerSets:i("layer-set"),canvases:null,init(){this._super(),this.canvases=a.create({document_id:this.get("id"),store:this.get("store")})},willDestroy(){this._unloadEntities(this.hasMany("layers").value()),this._unloadEntities(this.hasMany("sources").value()),this._unloadEntities(this.get("canvases._filteredCanvases")),this._super(...arguments)},_unloadEntities(e){e&&"function"==typeof e.forEach&&e.forEach(e=>{this.store.unloadRecord(e)})}})
e.default=s}),define("mimolive-remote-control/pods/document/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({i18n:Ember.inject.service(),websocket:Ember.inject.service(),model({document_id:e}){return this.store.findRecord("document",e)},afterModel(e){e.one("willUnload",this,this.removedDocument)},resetController(){this._super(...arguments),this.currentModel.off("willUnload",this,this.removedDocument)},removedDocument(){alert(this.get("i18n").t("documents.removedDocument")),this.transitionTo("documents")}})
e.default=t}),define("mimolive-remote-control/pods/document/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.JSONAPISerializer.extend({normalize(e,t){return delete t.relationships.layers.data,delete t.relationships.sources.data,this._super(...arguments)}})
e.default=n}),define("mimolive-remote-control/pods/document/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"MBWzatLh",block:'{"symbols":[],"statements":[[1,[27,"page-title",["mimoLive"],[["replace"],[true]]],false],[0,"\\n"],[1,[27,"page-title",[[23,["model","name"]]],null],false],[0,"\\n"],[1,[21,"outlet"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/document/template.hbs"}})
e.default=t})
define("mimolive-remote-control/pods/documents/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("documents")}})
e.default=t}),define("mimolive-remote-control/pods/documents/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"1fKvVWbM",block:'{"symbols":[],"statements":[[1,[21,"mrc-documents-navbar"],false],[0,"\\n\\n"],[7,"div"],[11,"class","center-wrapper"],[9],[0,"\\n"],[0,"  "],[7,"img"],[11,"class","app-artwork"],[11,"src","/artwork-030a65c68eccccb76b3be83fbdde5a4a.png"],[11,"alt","mimoLive Artwork"],[9],[10],[0,"\\n  "],[7,"div"],[11,"class","content"],[9],[0,"\\n"],[4,"liquid-spacer",null,null,{"statements":[[0,"      "],[1,[27,"mrc-documents-list",[[23,["model"]]],null],false],[0,"\\n"]],"parameters":[]},null],[0,"  "],[10],[0,"\\n"],[10],[0,"\\n\\n"],[1,[21,"mrc-version-info"],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/documents/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/documents/route",["exports","mimolive-remote-control/mixins/authenticated-route"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=Ember.Route.extend(t.default,{model(){return this.store.findAll("document")},onWebsocketClosed(){this.get("controller").set("showDisconnectWarning",!0)},activate(){this.get("websocket").on("websocketClosed",this,this.onWebsocketClosed)},deactivate(){this.get("websocket").off("websocketClosed",this,this.onWebsocketClosed)},actions:{reloadPage(){window.location.reload()}}})
e.default=n}),define("mimolive-remote-control/pods/documents/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"fdpIZwfH",block:'{"symbols":[],"statements":[[1,[27,"liquid-outlet",null,[["class"],["documents"]]],false],[0,"\\n"],[4,"if",[[23,["showDisconnectWarning"]]],null,{"statements":[[0,"  "],[1,[27,"liquid-wormhole",null,[["class","click"],["modal-backdrop",[27,"route-action",["reloadPage"],null]]]],false],[0,"\\n"],[4,"liquid-wormhole",null,[["stack","class"],["blocking-dialog","modal-dialog"]],{"statements":[[4,"mrc-modal",null,null,{"statements":[[0,"      "],[1,[27,"mrc-disconnect-warning",null,[["reload"],[[27,"route-action",["reloadPage"],null]]]],false],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/documents/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/dynamic-text/model",["exports","ember-data/attr","ember-data-model-fragments/fragment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=Ember.ObjectProxy.extend(Ember.PromiseProxyMixin)
var r=n.default.extend({templateService:Ember.inject.service("template"),layerId:(0,t.default)("string"),variantId:(0,t.default)("string"),sourceId:(0,t.default)("string"),filterId:(0,t.default)("string"),template:(0,t.default)("string"),layerSetId:(0,t.default)("string"),error:null,context:Ember.computed("layerId","variantId","sourceId","filterId","layerSetId",function(){const e=this.getProperties("layerId","variantId","filterId","sourceId","layerSetId"),t=e.layerId,n=e.variantId,r=e.sourceId,i=e.filterId,a=e.layerSetId
this.set("error",null)
const s=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
return o.create({promise:this.store.find("document",s).then(e=>t?e.get("layers").then(e=>e.findBy("id",t)).then(e=>{if(e)return n?e.get("variants").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Dynamic text references an invalid variant."),t}):e
this.set("error","Dynamic text references an invalid layer.")}):r?e.get("sources").then(e=>e.findBy("id",r)).then(e=>{if(e)return i?e.get("filters").then(e=>{const t=e.findBy("id",i)
return t||this.set("error","Dynamic text references an invalid filter."),t}):e
this.set("error","Dynamic text references an invalid source.")}):a?e.get("layerSets").then(e=>e.findBy("id",a)).then(e=>{if(e)return e
this.set("error","Dynamic text references an invalid layer set.")}):e)})}).readOnly(),text:Ember.computed("context.{isFulfilled,content}","template",function(){if(!this.get("context.isFulfilled")||!this.get("context.content"))return
const e=this.get("context.content"),t=this.get("templateService").compile(this.get("template"))
return this.createObservers(e,t.dependencies),t(e)}).readOnly(),dynamicObserverChanged(){this.notifyPropertyChange("context")},createObservers(e,t){this.destroyObservers(),this._dynamicObserverTarget=e,this._dynamicObserverKeys=t,t.forEach(e=>{this._dynamicObserverTarget.addObserver(e,this,this.dynamicObserverChanged)})},destroyObservers(){this._dynamicObserverKeys&&this._dynamicObserverTarget&&(this._dynamicObserverKeys.forEach(e=>{this._dynamicObserverTarget.removeObserver(e,this,this.dynamicObserverChanged)}),delete this._dynamicObserverTarget,delete this._dynamicObserverKeys)},willDestroy(){this.destroyObservers()}})
e.default=r}),define("mimolive-remote-control/pods/error/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"KeLYLjsE",block:'{"symbols":[],"statements":[[1,[21,"mrc-documents-navbar"],false],[0,"\\n\\n"],[7,"div"],[11,"class","center-wrapper"],[9],[0,"\\n  "],[7,"div"],[11,"class","content"],[11,"style","padding: 15px;"],[9],[0,"\\n    "],[7,"h5"],[9],[0,"\\n"],[4,"link-to",["documents"],null,{"statements":[[0,"        "],[7,"span"],[11,"class","icon icon-menu-left"],[9],[10],[0,"\\n        "],[1,[27,"t",["canvases.navbar.back"],null],false],[0,"\\n"]],"parameters":[]},null],[0,"      "],[1,[27,"t",["errors.document.heading"],null],false],[0,"\\n    "],[10],[0,"\\n"],[4,"if",[[27,"eq",[[23,["model","errors","firstObject","status"]],"0"],null]],null,{"statements":[[0,"      "],[7,"p"],[9],[1,[27,"t",["errors.document.networkError"],null],false],[10],[0,"\\n"]],"parameters":[]},{"statements":[[4,"if",[[27,"eq",[[23,["model","errors","firstObject","status"]],"404"],null]],null,{"statements":[[0,"      "],[7,"p"],[9],[1,[27,"t",["errors.document.notFound"],null],false],[10],[0,"\\n"]],"parameters":[]},{"statements":[[0,"      "],[7,"p"],[9],[1,[27,"t",["errors.unexpected"],null],false],[10],[0,"\\n    "]],"parameters":[]}]],"parameters":[]}],[0,"\\n    "],[7,"p"],[11,"class","text-muted"],[9],[1,[21,"model"],false],[10],[0,"\\n  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/error/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/filter/model",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.Model,o=t.default.attr,r=t.default.belongsTo
var i=n.extend({name:o("string"),compositionId:o("string"),inputValues:o("input-values"),source:r("source",{inverse:"filters"})})
e.default=i}),define("mimolive-remote-control/pods/icons/service",["exports","mimolive-remote-control/icons/config"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.glyphs
n.sort((e,t)=>e.css.localeCompare(t.css))
var o=Ember.Service.extend({i18n:Ember.inject.service(),all:Ember.computed(function(){return n.map(e=>({title:e.css.split("-").map(Ember.String.capitalize).join(" "),id:e.css}))})})
e.default=o}),define("mimolive-remote-control/pods/image-scheduler/service",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Service.extend({_store:null,_roundStartTime:null,_runScheduleTimeout:null,init(){this._super(...arguments),this._store=Ember.A(),this._run()},schedule(e,t,n){this._store.find(o=>o.url===n&&o.target===e&&o.targetProp===t)||this._store.push({url:n,target:e,targetProp:t})},deschedule(e,t){this._store=this._store.reject(n=>n.target===e&&n.targetProp===t)},_run(){const e=Date.now(),t=this._store
this._roundStartTime=e
let n=Ember.RSVP.resolve()
!0!==document.hidden&&(n=t.reduce((t,n)=>t.then(()=>new Ember.RSVP.Promise(function(t){const o=n.url+(n.url.includes("?")?"&":"?")+"timestamp="+e,r=new Image
r.onload=function(){Ember.run(null,t)},r.onerror=function(){Ember.run(null,t)},r.src=o,n.refreshedURL=o})),n)),n.then(()=>{this._store.forEach(e=>{e.target.set(e.targetProp,e.refreshedURL)})
const e=Date.now(),t=this._roundStartTime+200-e
t<0?this._run():this._runScheduleTimeout=Ember.run.later(this,this._run,t)})},willDestroy(){Ember.run.cancel(this._runScheduleTimeout),this._super(...arguments)}})
e.default=t}),define("mimolive-remote-control/pods/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({redirect(){this.transitionTo("documents")}})
e.default=t}),define("mimolive-remote-control/pods/input-descriptions/transform",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.InputDescriptions=void 0
const n=t.default.Transform,o=Ember.ObjectProxy.extend({content:null})
e.InputDescriptions=o
var r=n.extend({deserialize:e=>o.create({content:e}),serialize:e=>e.get("content")})
e.default=r}),define("mimolive-remote-control/pods/input-values/transform",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.InputValues=void 0
const n=t.default.Transform,o=Ember.ObjectProxy.extend({content:null,signals:Ember.computed("content",function(){const e=this.get("content")
return Object.keys(e).filter(e=>e.endsWith("_TypeSignal"))}).readOnly(),dynamicSources:Ember.computed("content",function(){const e=this.get("content")
return Object.keys(e).filter(e=>e.startsWith("tvIn_VideoSource"))}).readOnly()})
e.InputValues=o
var r=n.extend({deserialize:e=>o.create({content:e}),serialize:e=>e.get("content")})
e.default=r}),define("mimolive-remote-control/pods/layer-set/model",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.Model,o=t.default.attr,r=t.default.belongsTo
var i=n.extend({name:o("string"),active:o("boolean"),document:r("document",{inverse:"layerSets"})})
e.default=i}),define("mimolive-remote-control/pods/layer/model",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.Model,o=t.default.attr,r=t.default.belongsTo,i=t.default.hasMany
var a=n.extend({compositionID:o("string"),name:o("string"),liveState:o("live-state"),index:o("number"),variants:i("variant"),liveVariant:r("variant"),activeVariant:r("variant"),document:r("document",{inverse:"layers"}),hasDynamicSources:Ember.computed("variants.@each.hasDynamicSources",function(){return this.get("variants").isAny("hasDynamicSources")}),reload(){return this.get("document.content").hasMany("layers").reload()},willDestroy(){this._unloadEntities(this.hasMany("variants").value()),this._super(...arguments)},_unloadEntities(e){e&&"function"==typeof e.forEach&&e.forEach(e=>{this.store.unloadRecord(e)})}})
e.default=a}),define("mimolive-remote-control/pods/layer/serializer",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.JSONAPISerializer.extend({normalize(e,t){return delete t.relationships.variants.data,this._super(...arguments)}})
e.default=n}),define("mimolive-remote-control/pods/live-state-chooser/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){const e=this.modelFor("document")
return Ember.RSVP.hash({layers:e.get("layers"),sources:e.get("sources"),layerSets:e.get("layerSets")})}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"knnSNG47",block:'{"symbols":["source","layerSet","layer"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[7,"h4"],[9],[1,[27,"t",["liveStateChooser.selectTarget.heading"],null],false],[10],[0,"\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveLiveStateChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.selectTarget.document"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState"],null]]],[10],[0,"\\n\\n    "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.selectTarget.layers"],null],false],[10],[0,"\\n"],[4,"each",[[27,"sort-by",["index",[23,["model","layers"]]],null]],null,{"statements":[[4,"link-to",["live-state-chooser.layer",[22,3,[]]],[["class","tagName"],["link-entry clickable","div"]],{"statements":[[0,"        "],[7,"span"],[11,"class","primary"],[9],[1,[22,3,["name"]],false],[10],[0,"\\n        "],[1,[27,"mrc-preview-layer-variants",[[22,3,["variants"]]],null],false],[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[3]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.selectTarget.hasNoLayers"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.selectTarget.layerSets"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","layerSets"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n"],[4,"if",[[22,2,["active"]]],null,{"statements":[[0,"          "],[7,"span"],[11,"class","icon icon-record"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"      "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["layerSet"],[[22,2,[]]]]]],null]]],[10],[0,"\\n"]],"parameters":[2]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.selectTarget.hasNoLayerSets"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.selectTarget.sources"],null],false],[10],[0,"\\n"],[4,"each",[[27,"sort-by",["name",[23,["model","sources"]]],null]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n"],[4,"if",[[22,1,["tallyState","isProgram"]]],null,{"statements":[[0,"          "],[7,"span"],[11,"class","icon icon-record"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"      "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["source"],[[22,1,[]]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.selectTarget.hasNoSources"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/live-state-chooser/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("live-state-chooser.layer")}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"uPYadgu9",block:'{"symbols":["variant"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["live-state-chooser"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["liveStateChooser.layer.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["liveStateChooser.layer.heading"],[["name"],[[23,["model","name"]]]]],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveLiveStateChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.layer.ownLiveState"],null],false],[10],[0,"\\n"],[4,"if",[[23,["model","liveState","isLive"]]],null,{"statements":[[0,"        "],[7,"span"],[11,"class","icon icon-record"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"    "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["layer"],[[23,["model"]]]]]],null]]],[10],[0,"\\n\\n    "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.layer.variantsHeading"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","variants"]]],null,{"statements":[[4,"if",[[27,"or",[[22,1,["hasDynamicSources"]],[22,1,["sortedToggleSwitches"]]],null]],null,{"statements":[[0,"        "],[5,"link-to",[[11,"class","link-entry clickable"]],[["@params","@tagName"],[[27,"array",["live-state-chooser.layer.variant",[23,["model"]],[22,1,[]]],null],"div"]],{"statements":[[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n          "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n        "]],"parameters":[]}],[0,"\\n"]],"parameters":[]},{"statements":[[0,"        "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n"],[4,"if",[[22,1,["liveState","isLive"]]],null,{"statements":[[0,"            "],[7,"span"],[11,"class","icon icon-record"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"        "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["variant"],[[22,1,[]]]]]],null]]],[10],[0,"\\n"]],"parameters":[]}]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"mNhqe+TC",block:'{"symbols":[],"statements":[[1,[27,"liquid-outlet",null,[["class"],["live-state-chooser-layer"]]],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/variant/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({variant_id:e}){return this.modelFor("live-state-chooser.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/layer/variant/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"mU1PC3Fr",block:'{"symbols":["toggleSwitch","source"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["live-state-chooser.layer"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["liveStateChooser.variant.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["liveStateChooser.variant.heading"],[["name"],[[23,["model","name"]]]]],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leaveLiveStateChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["liveStateChooser.variant.ownLiveState"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["variant"],[[23,["model"]]]]]],null]]],[10],[0,"\\n\\n"],[4,"if",[[23,["model","hasDynamicSources"]]],null,{"statements":[[0,"      "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.variant.dynamicSources"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sortedDynamicSources"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n        "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["variant","dynamicSourceId"],[[23,["model"]],[22,2,["key"]]]]]],null]]],[10],[0,"\\n"]],"parameters":[2]},null]],"parameters":[]},null],[0,"\\n"],[4,"if",[[23,["model","sortedToggleSwitches"]]],null,{"statements":[[0,"      "],[7,"h5"],[9],[1,[27,"t",["liveStateChooser.variant.toggleSwitches"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sortedToggleSwitches"]]],null,{"statements":[[0,"        "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n          "],[5,"x-toggle",[],[["@value","@onLabel","@offLabel","@disabled","@onToggle"],[[27,"get",[[23,["model","inputValues"]],[22,1,["key"]]],null],"true","false",true,[27,"action",[[22,0,[]],[27,"optional",["no-action-defined"],null]],null]]]],[0,"\\n        "],[3,"action",[[22,0,[]],[27,"route-action",["setLiveState",[27,"hash",null,[["variant","propertyPath"],[[23,["model"]],[27,"concat",["inputValues",".",[22,1,["key"]]],null]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},null]],"parameters":[]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/variant/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){},actions:{leaveLiveStateChooser(){this.transitionTo("canvas.edit-tile")},setLiveState(e={}){const t=this.modelFor("canvas.edit-tile"),n=this.store.createFragment("live-state")
e.variant?n.setProperties({variantId:Ember.get(e,"variant.id"),layerId:Ember.get(e,"variant.layer.id"),dynamicSourceId:Ember.get(e,"dynamicSourceId"),propertyPath:Ember.get(e,"propertyPath")}):e.layer?n.setProperties({layerId:Ember.get(e,"layer.id")}):e.source?n.setProperties({sourceId:Ember.get(e,"source.id")}):e.layerSet&&n.setProperties({layerSetId:Ember.get(e,"layerSet.id")}),t.get("liveState")&&t.get("liveState").destroy(),t.set("liveState",n),this.send("leaveLiveStateChooser")}}})
e.default=t}),define("mimolive-remote-control/pods/live-state-chooser/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"KSwbjuyT",block:'{"symbols":[],"statements":[[4,"mrc-modal",null,[["slideIn"],[true]],{"statements":[[0,"  "],[7,"div"],[11,"style","margin: -10px;"],[9],[0,"\\n    "],[1,[27,"liquid-outlet",null,[["class"],["live-state-chooser"]]],false],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/live-state-chooser/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/live-state/model",["exports","ember-data/attr","ember-data-model-fragments/fragment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/pods/layer-set/model"],function(e,t,n,o,r,i,a,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=Ember.ObjectProxy.extend(Ember.PromiseProxyMixin)
var c=n.default.extend({sourceId:(0,t.default)("string"),layerId:(0,t.default)("string"),variantId:(0,t.default)("string"),dynamicSourceId:(0,t.default)("string"),propertyPath:(0,t.default)("string"),layerSetId:(0,t.default)("string"),error:null,_dynamicSourceIdObserverTarget:null,_propertyPathObserverTarget:null,source:Ember.computed("variantId","sourceId","layerId","dynamicSourceId","layerSetId",function(){const e=this.getProperties("sourceId","layerId","variantId","dynamicSourceId","propertyPath","layerSetId"),t=e.sourceId,n=e.layerId,o=e.variantId,r=e.dynamicSourceId,i=e.propertyPath,a=e.layerSetId
this.set("error",null)
const s=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
return l.create({promise:this.store.findRecord("document",s).then(e=>t?e.get("sources").then(e=>{const n=e.findBy("id",t)
return n||this.set("error","Live state indicator references an invalid source."),n}):n?e.get("layers").then(e=>e.findBy("id",n)).then(t=>{if(t)return o?t.get("variants").then(e=>e.findBy("id",o)).then(t=>{if(t){if(r){const n=t.get(`inputValues.${r}`)
return this._dynamicSourceIdObserverTarget||(this._dynamicSourceIdObserverTarget=t,t.addObserver(`inputValues.${r}`,this,this.dynamicSourceIdValueChanged)),e.get("sources").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Live state indicator references an invalid dynamic source."),t})}return i?(this._propertyPathObserverTarget||(this._propertyPathObserverTarget=t,t.addObserver(i,this,this.propertyPathValueChanged)),t):t}this.set("error","Live state indicator references an invalid layer variant.")}):t
this.set("error","Live state indicator references an invalid layer.")}):a?e.get("layerSets").then(e=>e.findBy("id",a)).then(e=>{if(e)return e
this.set("error","Live state indicator references an invalid layer set.")}):e)})}).readOnly(),isLive:Ember.computed("source","source.isFulfilled","source.content.{liveState.isLive,tallyState.isProgram,active}",function(){return!!this.get("source.isFulfilled")&&(this.get("sourceId")||this.get("dynamicSourceId")?this.get("source.content.tallyState.isProgram"):this.get("layerSetId")?this.get("source.content.active"):this.get("propertyPath")?this.get("source.content."+this.get("propertyPath")):this.get("source.content.liveState.isLive"))}).readOnly(),isTransition:Ember.computed("source.isFulfilled","source.content.{liveState.isShutdown,tallyState.isEffect}",function(){return!!this.get("source.isFulfilled")&&(this.get("sourceId")||this.get("dynamicSourceId")?this.get("source.content.tallyState.isEffect"):!this.get("layerSetId")&&(!this.get("propertyPath")&&this.get("source.content.liveState.isShutdown")))}).readOnly(),timeRemaining:Ember.computed("source.content.outputValues.tvOut_TimeRemaining","source.content.activeVariant.content.outputValues.tvOut_TimeRemaining",function(){if(!this.get("source.isFulfilled"))return null
const e=this.get("source.content")
let t=-1
if(e instanceof i.default)t=e.get("outputValues.tvOut_TimeRemaining")
else{if(!(e instanceof r.default))return null
t=e.get("activeVariant.content.outputValues.tvOut_TimeRemaining")}return t>0?t:null}),description:Ember.computed("source.{isFulfilled,name,layer.name}",function(){if(!this.get("source.isFulfilled"))return
const e=this.get("source.content")
if(e instanceof o.default)return`Document "${e.get("name")}"`
if(e instanceof a.default)return`Source "${e.get("name")}"`
if(e instanceof r.default)return`Layer "${e.get("name")}"`
if(e instanceof i.default){const t=this.get("propertyPath")
return t?`Layer "${e.get("layer.name")}" / "${e.get("name")}" / "${t}"`:`Layer "${e.get("layer.name")}" / "${e.get("name")}"`}return e instanceof s.default?`Layer Set "${e.get("name")}"`:"(unknown type)"}).readOnly(),dynamicSourceIdValueChanged(){this.notifyPropertyChange("source")},propertyPathValueChanged(){this.notifyPropertyChange("source")},willDestroy(){return this._dynamicSourceIdObserverTarget&&this._dynamicSourceIdObserverTarget.removeObserver(`inputValues.${this.get("dynamicSourceId")}`,this,this.dynamicSourceIdValueChanged),this._propertyPathKeyObserverTarget&&this._propertyPathKeyObserverTarget.removeObserver(`inputValues.${this.get("propertyPathKey")}`,this,this.propertyPathValueChanged),this._super(...arguments)}})
e.default=c}),define("mimolive-remote-control/pods/live-state/transform",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.LiveState=void 0
const n=t.default.Transform,o=Ember.Object.extend({_state:null,isLive:Ember.computed.equal("_state","live"),isOff:Ember.computed.equal("_state","off"),isPreview:Ember.computed.equal("_state","preview"),isShutdown:Ember.computed.equal("_state","shutdown")})
e.LiveState=o
var r=n.extend({serialize:e=>e.get("_state"),deserialize:e=>o.create({_state:e})})
e.default=r}),define("mimolive-remote-control/pods/mode/service",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Service.extend({_state:"editing",isLive:Ember.computed.equal("_state","live"),isEditing:Ember.computed.equal("_state","editing"),setLive(){"live"!==this.get("_state")&&this.set("_state","live")},setEditing(){"editing"!==this.get("_state")&&this.set("_state","editing")}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("document")}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"9XPkosDs",block:'{"symbols":["layerSet","layer"],"statements":[[7,"div"],[11,"class","sidebar-layer"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[7,"h4"],[9],[1,[27,"t",["presetChooser.selectTarget.heading"],null],false],[10],[0,"\\n    "],[7,"span"],[11,"class","icon icon-remove close-sidebar"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leavePresetChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n"],[0,"    "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n      "],[7,"h5"],[9],[1,[27,"t",["presetChooser.selectTarget.layers"],[["documentName"],[[27,"or",[[23,["model","name"]],[27,"t",["documents.namePlaceholder"],null]],null]]]],false],[10],[0,"\\n"],[4,"each",[[27,"sort-by",["index",[23,["model","layers"]]],null]],null,{"statements":[[0,"        "],[5,"link-to",[[11,"class","link-entry clickable"]],[["@params","@tagName"],[[27,"array",["preset-chooser.layer",[22,2,[]]],null],"div"]],{"statements":[[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n          "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n        "]],"parameters":[]}],[0,"\\n"]],"parameters":[2]},{"statements":[[0,"        "],[7,"p"],[9],[1,[27,"t",["presetChooser.selectTarget.hasNoLayers"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"    "],[10],[0,"\\n\\n    "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n      "],[7,"h5"],[9],[1,[27,"t",["presetChooser.selectTarget.layerSets"],[["documentName"],[[27,"or",[[23,["model","name"]],[27,"t",["documents.namePlaceholder"],null]],null]]]],false],[10],[0,"\\n"],[4,"each",[[23,["model","layerSets"]]],null,{"statements":[[0,"        "],[5,"mrc-control-preset-preview",[],[["@title","@buttons","@leavePresetChooser"],[[22,1,["name"]],[27,"array",[[27,"hash",null,[["dynamicText","width","height","x","y","color","actions","liveState"],[[27,"hash",null,[["layerSetId","template"],[[22,1,["id"]],"{{name}}"]]],1,1,0,0,"#55ACEE",[27,"array",[[27,"hash",null,[["type","layerSetId"],["recall",[22,1,["id"]]]]]],null],[27,"hash",null,[["layerSetId"],[[22,1,["id"]]]]]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],[0,"\\n"]],"parameters":[1]},null],[0,"    "],[10],[0,"\\n\\n"],[0,"    "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n      "],[7,"h5"],[9],[1,[27,"t",["presetChooser.selectTarget.document"],null],false],[10],[0,"\\n      "],[1,[27,"mrc-control-preset-preview",null,[["title","buttons","leavePresetChooser"],[[27,"t",["presetChooser.actions.startShow"],null],[27,"array",[[27,"hash",null,[["text","width","height","x","y","icon","color","actions","liveState"],[[27,"t",["presetChooser.actions.startShow"],null],1,1,0,0,"play","green",[27,"array",[[27,"hash",null,[["type"],["setLive"]]]],null],[27,"hash",null,null]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n      "],[1,[27,"mrc-control-preset-preview",null,[["title","buttons","leavePresetChooser"],[[27,"t",["presetChooser.actions.stopShow"],null],[27,"array",[[27,"hash",null,[["text","width","height","x","y","icon","color","actions"],[[27,"t",["presetChooser.actions.stopShow"],null],1,1,0,0,"stop","darkred",[27,"array",[[27,"hash",null,[["type"],["setOff"]]]],null]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n      "],[1,[27,"mrc-control-preset-preview",null,[["title","buttons","leavePresetChooser"],[[27,"t",["presetChooser.programOut"],null],[27,"array",[[27,"hash",null,[["text","width","height","x","y","color","sourcePreview"],[[27,"t",["presetChooser.programOut"],null],1,1,0,0,"black",[27,"hash",null,null]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n    "],[10],[0,"\\n    \\n    "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n      "],[7,"h5"],[9],[1,[27,"t",["presetChooser.selectTarget.blueprintButton"],null],false],[10],[0,"\\n      "],[1,[27,"mrc-control-preset-preview",null,[["title","buttons","leavePresetChooser"],[[27,"t",["presetChooser.selectTarget.blueprintButton"],null],[27,"array",[[27,"hash",null,[["width","height","x","y"],[1,1,0,0]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n    "],[10],[0,"\\n\\n    "],[7,"p"],[11,"class","help-text text-muted"],[9],[0,"\\n      "],[1,[27,"t",["presetChooser.selectTarget.helpText"],null],false],[0,"\\n    "],[10],[0,"\\n  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preset-chooser/index/template.hbs"}})
e.default=t})
define("mimolive-remote-control/pods/preset-chooser/layer/index/controller",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const t=Math.floor
var n=Ember.Controller.extend({i18n:Ember.inject.service(),toggleAllVariants:Ember.computed("model.variants.isFulfilled",function(){if(!this.get("model.variants.isFulfilled")||1===this.get("model.variants.length"))return
let e=1/0
try{e=Ember.getOwner(this).lookup("controller:canvas").get("model.gridWidth")}catch(e){Ember.Logger.error("Error determining gridWidth in preset chooser",e)}return this.get("model.variants").map((n,o)=>({dynamicText:{layerId:Ember.get(n,"layer.id"),variantId:Ember.get(n,"id"),template:"{{name}}"},dynamicSubText:{layerId:Ember.get(n,"layer.id"),template:"{{name}}"},width:1,height:1,x:o%e,y:t(o/e),color:"green",actions:[{type:"toggleLive",layerId:Ember.get(n,"layer.id"),variantId:Ember.get(n,"id")}],liveState:{layerId:Ember.get(n,"layer.id"),variantId:Ember.get(n,"id")}}))})})
e.default=n}),define("mimolive-remote-control/pods/preset-chooser/layer/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("preset-chooser.layer")}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/layer/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"KTS9JPYT",block:'{"symbols":["variant","preset"],"statements":[[7,"div"],[11,"class","sidebar-layer"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["preset-chooser"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["presetChooser.layer.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["presetChooser.layer.heading"],null],false],[10],[0,"\\n\\n  \\n    "],[7,"span"],[11,"class","icon icon-remove close-sidebar"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leavePresetChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n"],[0,"    "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n      "],[1,[27,"mrc-control-preset-preview",null,[["title","_trackingTitle","compositionID","buttons","leavePresetChooser"],[[23,["model","name"]],"Layer Live",[23,["model","compositionID"]],[27,"array",[[27,"hash",null,[["dynamicText","width","height","x","y","color","actions","liveState"],[[27,"hash",null,[["layerId","template"],[[23,["model","id"]],"{{name}}"]]],1,1,0,0,"green",[27,"array",[[27,"hash",null,[["type","layerId"],["toggleLive",[23,["model","id"]]]]]],null],[27,"hash",null,[["layerId"],[[23,["model","id"]]]]]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n\\n"],[4,"if",[[23,["toggleAllVariants"]]],null,{"statements":[[0,"        "],[1,[27,"mrc-control-preset-preview",null,[["buttons","title","compositionID","leavePresetChooser"],[[23,["toggleAllVariants"]],"All Variants",[23,["model","compositionID"]],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0,"    "],[10],[0,"\\n\\n"],[4,"each",[[23,["model","variants"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","preset-group"],[9],[0,"\\n"],[0,"        "],[7,"h5"],[9],[1,[27,"t",["presetChooser.layer.variantName"],[["variantName"],[[22,1,["name"]]]]],false],[10],[0,"\\n        "],[1,[27,"mrc-control-preset-preview",null,[["title","_trackingTitle","compositionID","buttons","leavePresetChooser"],[[22,1,["name"]],"Variant Live",[23,["model","compositionID"]],[27,"array",[[27,"hash",null,[["dynamicText","dynamicSubText","width","height","x","y","color","actions","liveState"],[[27,"hash",null,[["layerId","variantId","template"],[[22,1,["layer","id"]],[22,1,["id"]],"{{name}}"]]],[27,"hash",null,[["layerId","template"],[[22,1,["layer","id"]],"{{name}}"]]],1,1,0,0,"green",[27,"array",[[27,"hash",null,[["type","layerId","variantId"],["toggleLive",[22,1,["layer","id"]],[22,1,["id"]]]]]],null],[27,"hash",null,[["layerId","variantId"],[[22,1,["layer","id"]],[22,1,["id"]]]]]]]]],null],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n\\n"],[4,"if",[[22,1,["hasControlPresets"]]],null,{"statements":[[4,"each",[[22,1,["controlPresets"]]],null,{"statements":[[0,"            "],[1,[27,"mrc-control-preset-preview",null,[["buttons","title","compositionID","leavePresetChooser"],[[22,2,["buttons"]],[22,2,["title"]],[23,["model","compositionID"]],[27,"route-action",["leavePresetChooser"],null]]]],false],[0,"\\n"]],"parameters":[2]},null]],"parameters":[]},null],[0,"      "],[10],[0,"\\n"]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preset-chooser/layer/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/layer/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/layer/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"1+py9uxW",block:'{"symbols":[],"statements":[[1,[21,"liquid-outlet"],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preset-chooser/layer/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({mode:Ember.inject.service(),sideMenu:Ember.inject.service(),renderTemplate(){this.render("preset-chooser",{outlet:"canvas-sidebar"})},activate(){this.get("sideMenu").get("isOpen")||this.get("sideMenu").open(),this.get("mode").setEditing()},deactivate(){this.get("sideMenu").close()},actions:{closeSidebar(){this.send("leavePresetChooser")},leavePresetChooser(){this.transitionTo("canvas")}}})
e.default=t}),define("mimolive-remote-control/pods/preset-chooser/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"MuKwY+r1",block:'{"symbols":[],"statements":[[1,[21,"liquid-outlet"],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preset-chooser/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return Ember.RSVP.hash({layers:this.modelFor("document").get("layers"),sources:this.modelFor("document").get("sources")})}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DC0Qq7h0",block:'{"symbols":["source","layer"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[7,"h4"],[9],[1,[27,"t",["previewChooser.selectTarget.heading"],null],false],[10],[0,"\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leavePreviewChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n"],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["previewChooser.selectTarget.layers"],null],false],[10],[0,"\\n"],[4,"each",[[27,"sort-by",["index",[27,"filter-by",["hasDynamicSources",true,[23,["model","layers"]]],null]],null]],null,{"statements":[[0,"      "],[5,"link-to",[[11,"class","link-entry clickable"]],[["@params","@tagName"],[[27,"array",["preview-chooser.layer",[22,2,[]]],null],"div"]],{"statements":[[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,2,["name"]],false],[10],[0,"\\n        "],[1,[27,"mrc-preview-layer-variants",[[22,2,["variants"]]],null],false],[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n      "]],"parameters":[]}],[0,"\\n"]],"parameters":[2]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["previewChooser.selectTarget.hasNoLayers"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["previewChooser.selectTarget.sources"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sources"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n"],[4,"if",[[22,1,["tallyState","isProgram"]]],null,{"statements":[[0,"          "],[7,"span"],[11,"class","icon icon-record"],[9],[10],[0,"\\n"]],"parameters":[]},null],[0,"      "],[3,"action",[[22,0,[]],[27,"route-action",["setPreview",[27,"hash",null,[["source"],[[22,1,[]]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},{"statements":[[0,"      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["previewChooser.selectTarget.hasNoSources"],null],false],[10],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["previewChooser.selectTarget.document"],null],false],[10],[0,"\\n    "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n      "],[7,"span"],[11,"class","primary"],[9],[1,[27,"t",["previewChooser.selectTarget.programOut"],null],false],[10],[0,"\\n    "],[3,"action",[[22,0,[]],[27,"route-action",["setPreview",[27,"hash",null,null]],null]]],[10],[0,"\\n  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preview-chooser/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/index/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){return this.modelFor("preview-chooser.layer")},afterModel(e){return e.get("variants").then(t=>{1===t.length&&this.transitionTo("preview-chooser.layer.variant",e,t.get("firstObject"))})}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/index/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"WirdBJ2+",block:'{"symbols":["variant"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n    "],[5,"link-to",[],[["@params"],[[27,"array",["preview-chooser"],null]]],{"statements":[[0,"\\n      "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n      "],[1,[27,"t",["previewChooser.layer.back"],null],false],[0,"\\n    "]],"parameters":[]}],[0,"\\n\\n    "],[7,"h4"],[9],[1,[27,"t",["previewChooser.layer.heading"],[["name"],[[23,["model","name"]]]]],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leavePreviewChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["previewChooser.layer.variantsHeading"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","variants"]]],null,{"statements":[[4,"if",[[22,1,["hasDynamicSources"]]],null,{"statements":[[0,"        "],[5,"link-to",[[11,"class","link-entry clickable"]],[["@params","@tagName"],[[27,"array",["preview-chooser.layer.variant",[23,["model"]],[22,1,[]]],null],"div"]],{"statements":[[0,"\\n          "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n          "],[7,"span"],[11,"class","icon icon-menu-right"],[9],[10],[0,"\\n        "]],"parameters":[]}],[0,"\\n"]],"parameters":[]},null]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preview-chooser/layer/index/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"m2MwKNxU",block:'{"symbols":[],"statements":[[1,[27,"liquid-outlet",null,[["class"],["preview-chooser-layer"]]],false]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preview-chooser/layer/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/variant/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model({variant_id:e}){return this.modelFor("preview-chooser.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/layer/variant/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DXyMCco3",block:'{"symbols":["source"],"statements":[[7,"div"],[11,"class","chooser-modal"],[9],[0,"\\n  "],[7,"div"],[11,"class","header"],[9],[0,"\\n"],[4,"if",[[27,"gt",[[23,["model","layer","variants","length"]],1],null]],null,{"statements":[[0,"      "],[5,"link-to",[],[["@params"],[[27,"array",["preview-chooser.layer"],null]]],{"statements":[[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n        "],[1,[27,"t",["previewChooser.variant.back"],null],false],[0,"\\n      "]],"parameters":[]}],[0,"\\n"]],"parameters":[]},{"statements":[[0,"      "],[5,"link-to",[],[["@params"],[[27,"array",["preview-chooser"],null]]],{"statements":[[0,"\\n        "],[7,"span"],[11,"class","icon icon-menu-left go-back"],[9],[10],[0,"\\n        "],[1,[27,"t",["previewChooser.layer.back"],null],false],[0,"\\n      "]],"parameters":[]}],[0,"\\n"]],"parameters":[]}],[0,"\\n    "],[7,"h4"],[9],[1,[27,"t",["previewChooser.variant.heading"],[["name"],[[23,["model","name"]]]]],false],[10],[0,"\\n\\n    "],[7,"span"],[11,"class","icon icon-remove close-modal"],[9],[3,"action",[[22,0,[]],[27,"route-action",["leavePreviewChooser"],null]]],[10],[0,"\\n  "],[10],[0,"\\n  "],[7,"div"],[11,"class","scroll-content"],[9],[0,"\\n    "],[7,"h5"],[9],[1,[27,"t",["previewChooser.variant.dynamicSources"],null],false],[10],[0,"\\n"],[4,"each",[[23,["model","sortedDynamicSources"]]],null,{"statements":[[0,"      "],[7,"div"],[11,"class","link-entry clickable"],[9],[0,"\\n        "],[7,"span"],[11,"class","primary"],[9],[1,[22,1,["name"]],false],[10],[0,"\\n      "],[3,"action",[[22,0,[]],[27,"route-action",["setPreview",[27,"hash",null,[["variant","dynamicSourceId"],[[23,["model"]],[22,1,["key"]]]]]],null]]],[10],[0,"\\n"]],"parameters":[1]},null],[0,"  "],[10],[0,"\\n"],[10]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preview-chooser/layer/variant/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/route",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.Route.extend({model(){},actions:{leavePreviewChooser(){this.transitionTo("canvas.edit-tile")},setPreview(e={}){const t=this.modelFor("canvas.edit-tile"),n=this.store.createFragment("source-preview")
e.variant?n.setProperties({variantId:Ember.get(e,"variant.id"),layerId:Ember.get(e,"variant.layer.id"),dynamicSourceId:Ember.get(e,"dynamicSourceId")}):e.source&&n.setProperties({sourceId:Ember.get(e,"source.id")}),t.get("sourcePreview")&&t.get("sourcePreview").destroy(),t.set("sourcePreview",n),this.send("leavePreviewChooser")}}})
e.default=t}),define("mimolive-remote-control/pods/preview-chooser/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"3aopgfK3",block:'{"symbols":[],"statements":[[4,"mrc-modal",null,[["slideIn"],[true]],{"statements":[[0,"  "],[7,"div"],[11,"style","margin: -10px;"],[9],[0,"\\n    "],[1,[27,"liquid-outlet",null,[["class"],["preview-chooser"]]],false],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]},null]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/pods/preview-chooser/template.hbs"}})
e.default=t}),define("mimolive-remote-control/pods/source-preview/model",["exports","ember-data/attr","ember-data-model-fragments/fragment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/config/environment"],function(e,t,n,o,r,i,a,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=s.default.API,c=l.host,d=l.namespace,u=Ember.ObjectProxy.extend(Ember.PromiseProxyMixin)
var m=n.default.extend({sourceId:(0,t.default)("string"),layerId:(0,t.default)("string"),variantId:(0,t.default)("string"),dynamicSourceId:(0,t.default)("string"),error:null,_dynamicSourceIdObserverTarget:null,source:Ember.computed("variantId","sourceId","layerId","dynamicSourceId",function(){const e=this.getProperties("sourceId","layerId","variantId","dynamicSourceId"),t=e.sourceId,n=e.layerId,o=e.variantId,r=e.dynamicSourceId
this.set("error",null)
const i=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
return u.create({promise:this.store.findRecord("document",i).then(e=>t?e.get("sources").then(e=>{const n=e.findBy("id",t)
return n||this.set("error","Source preview references an invalid source."),n}):n?e.get("layers").then(e=>e.findBy("id",n)).then(t=>{if(t)return t.get("variants").then(e=>e.findBy("id",o)).then(t=>{if(!t)return void this.set("error","Source preview references an invalid variant.")
const n=t.get(`inputValues.${r}`)
return this._currentSourceId=n,this._dynamicSourceIdObserverTarget||(this._dynamicSourceIdObserverTarget=t,t.addObserver(`inputValues.${r}`,this,this.dynamicSourceIdValueChanged)),e.get("sources").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Source preview references an invalid dynamic source."),t})})
this.set("error","Source preview references an invalid layer.")}):e)})}).readOnly(),previewURL:Ember.computed("source.{isFulfilled,content}",function(){if(!this.get("source.isFulfilled")||!this.get("source.content")&&!this.get("dynamicSourceId"))return
const e=this.get("source.content"),t=Ember.getOwner(this).lookup("route:document").get("currentModel.id")
let n=`${c}/${d}/documents/${t}`
if(e instanceof o.default)n+="/programOut"
else if(e instanceof a.default)n+=`/sources/${e.get("id")}/preview`
else{if(!this.get("dynamicSourceId"))throw new Error("Unable to get preview URL from source "+e.toString())
this._dynamicSourceIdObserverTarget?n+=`/sources/${this._dynamicSourceIdObserverTarget.get("inputValues."+this.get("dynamicSourceId"))}/preview`:console.warn("Unable to get preview URL from undefined dynamic source.")}return n}),description:Ember.computed("source.{isFulfilled,name,layer.name}",function(){if(!this.get("source.isFulfilled"))return
const e=this.get("source.content")
if(e instanceof o.default)return`Program Output of "${e.get("name")}"`
if(e instanceof a.default)return`Source "${e.get("name")}"`
if(e instanceof r.default)return`Layer "${e.get("name")}"`
if(e instanceof i.default){const t=this.get("dynamicSourceId")
if(t){const n=t.substring(5,t.length-5).replace(/[a-z]+(?=[A-Z])/g,"$& ")
return`Layer "${e.get("layer.name")}" / "${e.get("name")}" / "${n}"`}return`Layer "${e.get("layer.name")}" / "${e.get("name")}"`}return"(unknown type)"}).readOnly(),isStatic:Ember.computed("source.{isFulfilled,isStatic}",function(){if(!this.get("source.isFulfilled"))return!0
const e=this.get("source.content")
return!(e instanceof o.default)&&!1!==e.get("isStatic")}).readOnly(),dynamicSourceIdValueChanged(e,t){e.get(t)!==this._currentSourceId&&this.notifyPropertyChange("source")},willDestroy(){return this._dynamicSourceIdObserverTarget&&this._dynamicSourceIdObserverTarget.removeObserver(`inputValues.${this.get("dynamicSourceId")}`,this,this.dynamicSourceIdValueChanged),this._super(...arguments)}})
e.default=m}),define("mimolive-remote-control/pods/source/model",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.Model,o=t.default.attr,r=t.default.belongsTo
var i=n.extend({name:o("string"),audio:o("boolean"),video:o("boolean"),summary:o("string"),tallyState:o("tally-state"),isStatic:o("boolean",{defaultValue:!1}),inputValues:o("input-values"),compositionId:o("string"),document:r("document",{inverse:"sources"}),reload(){return this.get("document.content").hasMany("sources").reload()}})
e.default=i}),define("mimolive-remote-control/pods/tally-state/transform",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TallyState=void 0
const n=t.default.Transform,o=Ember.Object.extend({_state:null,isOff:Ember.computed.equal("_state","off"),isInUse:Ember.computed.equal("_state","inUse"),isEffect:Ember.computed.equal("_state","effect"),isPreview:Ember.computed.equal("_state","preview"),isProgram:Ember.computed.equal("_state","program")})
e.TallyState=o
var r=n.extend({serialize:e=>e.get("_state"),deserialize:e=>o.create({_state:e})})
e.default=r}),define("mimolive-remote-control/pods/template/service",["exports"],function(e){function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0
try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=Ember.Service.extend({compile(e){const n=/{{([\w.]+)}}/g,o=[],r=[]
let i,a=0
for(;null!==(i=n.exec(e));){let s=t(i,2),l=s[0],c=s[1]
o.push(c),r.push(e.substring(a,n.lastIndex-l.length)),a=n.lastIndex}a!==e.length&&r.push(e.substring(a))
const s=function(t){return Ember.isNone(t)?(o.length>0&&Ember.Logger.warn(`Template ${e} has ${o.length} dependencies, but no context was given!`),null):r.reduce((e,n)=>{const r=o.shift()
let i=Ember.isNone(r)?null:Ember.get(t,r)
return e+n+(Ember.isNone(i)?"":i)},"")}
return s.tmpl=e,s.dependencies=o,s}})
e.default=n}),define("mimolive-remote-control/pods/variant/model",["exports","ember-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.Model,o=t.default.attr,r=t.default.belongsTo
var i=n.extend({name:o("string"),inputValues:o("input-values"),inputDescriptions:o("input-descriptions"),outputValues:o(),liveState:o("live-state"),layer:r("layer",{inverse:"variants"}),signals:Ember.computed("inputValues.signals",function(){return this.get("inputValues.signals").map(e=>({name:e.match(/.*__(.+)_TypeSignal/)[1].replace(/_/g," "),key:e}))}),sortedSignals:Ember.computed("signals",function(){return this.get("signals").map(e=>(e.index=this.get(`inputDescriptions.${e.key}.index`),e.hidden=this.get(`inputDescriptions.${e.key}.hidden`),e)).filter(e=>!e.hidden).sort((e,t)=>e.index-t.index)}),dynamicSources:Ember.computed("inputValues.dynamicSources",function(){return this.get("inputValues.dynamicSources").map(e=>({name:e.substring(5,e.length-5).replace(/[a-z]+(?=[A-Z])/g,"$& "),key:e}))}),sortedDynamicSources:Ember.computed("dynamicSources",function(){return this.get("dynamicSources").map(e=>(e.index=this.get(`inputDescriptions.${e.key}.index`),e.hidden=this.get(`inputDescriptions.${e.key}.hidden`),e)).filter(e=>!e.hidden).sort((e,t)=>e.index-t.index)}),sortedToggleSwitches:Ember.computed("inputDescriptions",function(){return Object.keys(this.get("inputDescriptions.content")).map(e=>[e,this.get("inputDescriptions").get(e)]).filter(([e,t])=>"bool"===t.type&&!e.endsWith("_TypeSignal")&&!t.hidden).map(([e,t])=>({name:e.match(/.*__(.+)/)[1].replace(/_/g," "),index:t.index,hidden:t.hidden,key:e})).sort((e,t)=>e.index-t.index)}),updateParentLayerActiveVariant:Ember.observer("liveState.isLive",function(){const e=this.get("liveState.isLive")
if(e&&!this._wasLive){const e=this.get("layer.content")
e&&e.set("activeVariant",this)}this._wasLive=e}),hasDynamicSources:Ember.computed.notEmpty("sortedDynamicSources"),controlPresets:Ember.computed.alias("outputValues.tvOut_ControlRepresentations"),hasControlPresets:Ember.computed.notEmpty("controlPresets"),reload(){return this.get("layer.content").hasMany("variants").reload()}})
e.default=i}),define("mimolive-remote-control/pods/websocket/service",["exports","mimolive-remote-control/config/environment","ember-inflector"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=Ember.Service.extend(Ember.Evented,{websockets:Ember.inject.service(),store:Ember.inject.service(),socket:null,_pingTimeout:null,init(){if(this._super(...arguments),"test"===t.default.environment)return
let e=t.default.API,n=e.host,o=e.namespace
n&&n.length?n=n.replace("http","ws"):(n="https:"===window.location.protocol?"wss:":"ws:",n+="//"+window.location.host)
const r=this.get("websockets").socketFor(`${n}/${o}/socket`)
r.on("open",this.onOpen,this),r.on("message",this.onMessage,this),r.on("close",this.onClose,this),this.set("socket",r)},startPingTimeout(){this._pingTimeout=Ember.run.later(this,this.afterPingTimeout,15e3)},clearPingTimeout(){Ember.run.cancel(this._pingTimeout)},refreshPingTimeout(){this.clearPingTimeout(),this.startPingTimeout()},afterPingTimeout(){this.trigger("websocketClosed")},reschedulePing(){this.cancelPing(),this._sendPingTimeout=Ember.run.later(this,this.sendPing,2e3)},sendPing(){this.get("socket").send(JSON.stringify({event:"ping"}))},cancelPing(){Ember.run.cancel(this._sendPingTimeout)},onOpen(){this.trigger("websocketOpened"),this.startPingTimeout(),this.reschedulePing()},onMessage(e){const t=JSON.parse(e.data)
if(this.refreshPingTimeout(),this.reschedulePing(),"ping"===t.event||"pong"===t.event)return
const o=this.get("store")
let r
if("datastores"===t.type&&t.id.startsWith("live.mimo.remote-control.canvases")){if("live.mimo.remote-control.canvases.index"===t.id)return
t.id=t.id.substr("live.mimo.remote-control.canvases.".length),t.type="canvases",t.data&&(t.data=JSON.parse((i=t.data,decodeURIComponent(Array.prototype.map.call(atob(i),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))))),r=t.data}else r={data:t.data}
var i
const a=(0,n.singularize)(t.type),s=t.event+a.capitalize()
if(this.trigger(s,t.data),this.logEvent(s,r),"added"===t.event||"changed"===t.event||"updated"===t.event)o.pushPayload(a,r)
else if("removed"===t.event){let e=o.peekRecord(a,t.id)
e&&!e.get("isDeleted")&&(e.trigger("willUnload"),o.unloadRecord(e))}},logEvent(e,t){let n
t&&t.data&&["sources","variants","layers"].includes(t.data.type)&&(n=t.data.attributes.name),console.log(Date(),e,n)},onClose(){this.trigger("websocketClosed"),this.clearPingTimeout(),this.cancelPing()},willDestroy(){this.cancelPing(),this.clearPingTimeout(),this._super(...arguments)}})
e.default=o}),define("mimolive-remote-control/resolver",["exports","ember-resolver"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/router",["exports","mimolive-remote-control/config/environment"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=Ember.Router.extend({analytics:Ember.inject.service(),location:t.default.locationType,rootURL:t.default.rootURL,init(){this._super(...arguments),this.on("routeDidChange",()=>{Ember.run.schedule("afterRender",this,function(){const e=Ember.getOwner(this).lookup("controller:application").get("currentRouteName")
this.get("analytics").trackVisit(e)})})}})
n.map(function(){this.route("documents",function(){this.route("document",{resetNamespace:!0,path:"/:document_id"},function(){this.route("canvases",{resetNamespace:!0,path:""},function(){this.route("list",{path:""},function(){this.route("create-canvas",{path:"/create"})}),this.route("canvas",{resetNamespace:!0,path:"/:canvas_id"},function(){this.route("edit-canvas",{path:"/edit"}),this.route("edit-tile",{path:"/buttons/:action_button_index"},function(){this.route("action-chooser",{resetNamespace:!0,path:"/actions"},function(){this.route("document"),this.route("layer",{path:"/layers/:layer_id"},function(){this.route("variant",{path:"/:variant_id"})}),this.route("source",{path:"/sources/:source_id"},function(){this.route("filter",{path:"/:filter_id"})})}),this.route("live-state-chooser",{resetNamespace:!0,path:"/live-state"},function(){this.route("layer",{path:"/layers/:layer_id"},function(){this.route("variant",{path:"/:variant_id"})}),this.route("source",{path:"/sources/:source_id"})}),this.route("preview-chooser",{resetNamespace:!0,path:"/preview"},function(){this.route("layer",{path:"/layers/:layer_id"},function(){this.route("variant",{path:"/:variant_id"})})})}),this.route("preset-chooser",{resetNamespace:!0,path:"/presets"},function(){this.route("layer",{path:"/layers/:layer_id"},function(){})})})})})})})
var o=n
e.default=o}),define("mimolive-remote-control/sample-button-description",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={tvOut_ControlRepresentations:[{title:"2 Cameras, Row",buttons:[{text:"Camera 12",dynamicText:{layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598",template:"Toggle {{outputValues.tvOut_RemoteSourceNameA}}"},width:1,height:1,x:0,y:0,icon:"user",color:"#ff0",actions:[{signalKey:"tvGroup_Control__Cut_1_TypeSignal",signalName:"Cut 1",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598",type:"signal"}],liveState:{dynamicSourceId:"tvIn_VideoSourceAImage",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598"},sourcePreview:{dynamicSourceId:"tvIn_VideoSourceAImage",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598"}},{}]}]}}),define("mimolive-remote-control/services/-gestures",["exports","mimolive-remote-control/config/environment","ember-gestures/services/-gestures"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=Ember.assign||Ember.merge
let r=o({},{useCapture:!1})
r=o(r,t.default.gestures)
var i=n.default.extend({useCapture:r.useCapture})
e.default=i}),define("mimolive-remote-control/services/ajax",["exports","ember-ajax/services/ajax"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/head-data",["exports","ember-cli-head/services/head-data"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/i18n",["exports","ember-i18n/services/i18n"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
define("mimolive-remote-control/services/liquid-fire-transitions",["exports","liquid-wormhole/services/liquid-fire-transitions"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/liquid-wormhole",["exports","liquid-wormhole/services/liquid-wormhole"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/moment",["exports","ember-moment/services/moment","mimolive-remote-control/config/environment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const o=Ember.get
var r=t.default.extend({defaultFormat:o(n.default,"moment.outputFormat")})
e.default=r}),define("mimolive-remote-control/services/page-title-list",["exports","ember-page-title/services/page-title-list","mimolive-remote-control/config/environment"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o={};["separator","prepend","replace"].forEach(function(e){n.default.pageTitle&&n.default.pageTitle[e]&&(o[`default${function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e)}`]=n.default.pageTitle[e])})
var r=t.default.extend(o)
e.default=r}),define("mimolive-remote-control/services/side-menu",["exports","ember-side-menu/services/side-menu"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/socket-io",["exports","ember-websockets/services/socket-io"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/text-measurer",["exports","ember-text-measurer/services/text-measurer"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/services/websockets",["exports","ember-websockets/services/websockets"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/templates/components/side-menu-toggle",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"EKv2/mrU",block:'{"symbols":["&default"],"statements":[[4,"if",[[24,1]],null,{"statements":[[0,"  "],[14,1],[0,"\\n"]],"parameters":[]},{"statements":[[0,"  "],[7,"span"],[11,"class","toggle-bars"],[9],[0,"\\n  "],[10],[0,"\\n"]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/templates/components/side-menu-toggle.hbs"}})
e.default=t}),define("mimolive-remote-control/templates/components/side-menu",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"R2DBjGUp",block:'{"symbols":["&default"],"statements":[[14,1]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/templates/components/side-menu.hbs"}})
e.default=t}),define("mimolive-remote-control/templates/head",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"z5yxkUx2",block:'{"symbols":[],"statements":[[2," `app/templates/head.hbs` "],[0,"\\n"],[2," content from ember-page-title, injected by ember-cli-head "],[0,"\\n"],[2," The \'model\' available in this template can be populated by "],[0,"\\n"],[2," setting values on the \'head-data\' service. "],[0,"\\n"],[7,"title"],[9],[1,[23,["model","title"]],false],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"mimolive-remote-control/templates/head.hbs"}})
e.default=t}),define("mimolive-remote-control/transforms/array",["exports","ember-data-model-fragments/transforms/array"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/transforms/fragment-array",["exports","ember-data-model-fragments/transforms/fragment-array"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/transforms/fragment",["exports","ember-data-model-fragments/transforms/fragment"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n}),define("mimolive-remote-control/transitions",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){this.transition(this.fromRoute("documents.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.toRoute("canvases.list.create-canvas"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("canvases.list"),this.toRoute("canvas"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.hasClass("modal-backdrop"),this.use("fade",{duration:t})),this.transition(this.hasClass("modal-dialog"),this.toValue((e,t)=>null===t),this.use("fade-down",{duration:t}),this.reverse("fade-down")),this.transition(this.fromRoute("action-chooser.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("action-chooser.layer.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("live-state-chooser.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("live-state-chooser.layer.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("preview-chooser.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("preview-chooser.layer.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("preset-chooser.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t})),this.transition(this.fromRoute("preset-chooser.layer.index"),this.use("toLeft",{duration:t}),this.reverse("toRight",{duration:t}))}
const t=250}),define("mimolive-remote-control/transitions/cross-fade",["exports","liquid-fire/transitions/cross-fade"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/default",["exports","liquid-fire/transitions/default"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/explode",["exports","liquid-fire/transitions/explode"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/fade-direction",["exports","liquid-fire"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,n,o,r=20){const i={opacity:0},a={opacity:[o.maxOpacity||1,0]},s=function(e){for(var n=0;n<e.older.length;n++){var o=e.older[n]
if((0,t.isAnimating)(o.element,"fade-out"))return o.element}if((0,t.isAnimating)(e.oldElement,"fade-out"))return e.oldElement}(this)
let l,c=o
"x"===e.toLowerCase()?(i.translateX=`${n*r}px`,a.translateX=["0px",`${n*r}px`]):(i.translateY=`${n*r}px`,a.translateY=["0px",`${n*r}px`])
s?l=(0,t.finish)(s,"fade-out"):((0,t.isAnimating)(this.oldElement,"fade-in")&&(c={duration:(0,t.timeSpent)(this.oldElement,"fade-in")}),(0,t.stop)(this.oldElement),l=(0,t.animate)(this.oldElement,i,c,"fade-out"))
return l.then(()=>(0,t.animate)(this.newElement,a,o,"fade-in"))}}),define("mimolive-remote-control/transitions/fade-down",["exports","mimolive-remote-control/transitions/fade-direction"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e={}){return t.default.call(this,"y",-1,e,e.offset)}}),define("mimolive-remote-control/transitions/fade-up",["exports","mimolive-remote-control/transitions/fade-direction"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e={}){return t.default.call(this,"y",1,e,e.offset)}}),define("mimolive-remote-control/transitions/fade",["exports","liquid-fire/transitions/fade"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/flex-grow",["exports","liquid-fire/transitions/flex-grow"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/fly-to",["exports","liquid-fire/transitions/fly-to"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/move-over",["exports","liquid-fire/transitions/move-over"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/scale",["exports","liquid-fire/transitions/scale"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/scroll-then",["exports","liquid-fire/transitions/scroll-then"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/to-down",["exports","liquid-fire/transitions/to-down"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/to-left",["exports","liquid-fire/transitions/to-left"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/to-right",["exports","liquid-fire/transitions/to-right"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})
define("mimolive-remote-control/transitions/to-up",["exports","liquid-fire/transitions/to-up"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/wait",["exports","liquid-fire/transitions/wait"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/transitions/wormhole",["exports","liquid-wormhole/transitions/wormhole"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/utils/i18n/compile-template",["exports","ember-i18n/utils/i18n/compile-template"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/utils/i18n/missing-message",["exports","ember-i18n/utils/i18n/missing-message"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("mimolive-remote-control/config/environment",[],function(){try{var e="mimolive-remote-control/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(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("mimolive-remote-control/app").default.create({name:"mimolive-remote-control",version:"0.0.0+47b1a680"})
