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AAeqD,YAAYE,EAAWC,EAAAA,WAK1C5S,GACA,WAEQ0S,EAAgBG,kCAEVH,EAAgBI,cAClB/W,KAAKU,MAAMsW,WAAW,gCAAiCL,EAAgBM,wBAI3E,gBAAiBhT,GACjBA,EAAMyS,aAEb,EAZD,EAcR,GACHnX,GAAAsC,EAAAA,EAAAA,GAAA3C,EAAA4C,UAAA,kBAjEIC,EAAAA,QAAO,CAAAC,cAAA,EAAAC,YAAA,EAAAC,UAAA,EAAAC,YAAA,OAAAnB,GAAAa,EAAAA,EAAAA,GAAA3C,EAAA4C,UAAA,mBACPC,EAAAA,QAAO,CAAAC,cAAA,EAAAC,YAAA,EAAAC,UAAA,EAAAC,YAAA,OAAAlB,GAAAY,EAAAA,EAAAA,GAAA3C,EAAA4C,UAAA,SACPC,EAAAA,QAAO,CAAAC,cAAA,EAAAC,YAAA,EAAAC,UAAA,EAAAC,YAAA,QAAAN,EAAAA,EAAAA,GAAA3C,EAAA4C,UAAA,eAoCPS,EAAAA,QAAMF,OAAAC,yBAAApD,EAAA4C,UAAA,eAAA5C,EAAA4C,WAAA5C,IAvC6CsD,EAAAA,EAAAA,sBAAAC,EAAAyT,E,iFCVzC,MAAMgB,UAAiBC,KAClCC,OAAAA,CAAO5W,GAAoF,IAAlF6W,GAAmD7W,EAGxD,OAFc8W,EAAgBD,EAGlC,E","sources":["./components/dashboard-cards/devices/sensors-card/index.hbs","./components/dashboard-cards/devices/sensors-card/index.ts","./components/dashboard-cards/devices/thermostat-card/toolbar/index.hbs","./components/dashboard-cards/devices/thermostat-card/toolbar/index.ts","./components/dashboard-cards/devices/thermostat-card/icon/temps/changer/index.hbs","./components/dashboard-cards/devices/thermostat-card/icon/temps/changer/index.ts","./components/dashboard-cards/devices/thermostat-card/icon/temps/index.hbs","./components/dashboard-cards/devices/thermostat-card/icon/temps/index.ts","./components/dashboard-cards/devices/thermostat-card/icon/index.hbs","./components/dashboard-cards/devices/thermostat-card/icon/index.ts","./components/dashboard-cards/devices/thermostat-card/list/index.hbs","./components/dashboard-cards/devices/thermostat-card/list/index.ts","./components/dashboard-cards/devices/thermostat-card/index.hbs","./components/dashboard-cards/devices/thermostat-card/index.ts","./components/dashboard-cards/setup-card/instructions/index.hbs","./components/dashboard-cards/setup-card/instructions/index.ts","./helpers/get-route.ts"],"sourcesContent":["import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:card-toolbar>\\n \\n

\\n {{t (if this.isFlexIOOnly \\'generic.devices.flexSensors\\' \\'generic.devices.sensors\\')}}\\n

\\n \\n \\n\\n <:card-body>\\n {{#if this.fetchSensorsTask.isRunning}}\\n \\n {{else}}\\n \\n <:row as |device ListRow|>\\n \\n <:description>\\n
\\n

{{device.description}}

\\n {{#if device.isBypassed}}\\n

{{t \\'generic.bypassed\\'}}

\\n {{/if}}\\n
\\n \\n <:default>\\n {{#if device.batteryDetails.displayIcon}}\\n \\n {{/if}}\\n \\n
\\n \\n \\n {{/if}}\\n \\n\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/sensors-card/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { tracked } from '@glimmer/tracking';\nimport ArrayProxy from '@ember/array/proxy';\nimport { action, computed } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport { Sensors } from '../../../../enums/CustomerPageUrl';\nimport { ICON_SENSOR } from '../../../icons/circles/device-status/index';\nimport BaseDeviceCard from '../base-card';\n\nimport type { BaseCardSignature } from '../base-card';\nimport './_style.scss';\nimport type Store from '@ember-data/store';\nimport type Sensor from 'customer-site/models/devices/sensor';\n\n/**\n * @classdesc\n * Dashboard card for sensor status.\n */\nexport default class SensorsCard extends BaseDeviceCard> {\n @service declare store: Store;\n\n /** @override */\n iconType = ICON_SENSOR;\n\n /** @override */\n detailsRouteId = Sensors;\n\n /** @override */\n get showBatteryButton(): boolean {\n return this.isLowBattery;\n }\n\n /**\n * Task to retrieve system sensors from server.\n */\n fetchSensorsTask = task({ drop: true }, async () => {\n const { devices = [] } = this.args;\n\n this.loadedSensors = (\n await Promise.all(\n (devices instanceof ArrayProxy ? devices.toArray() : devices).map(({ id }) =>\n this.store.findRecord('devices/sensor', id)\n ) ?? []\n )\n ).filter((s) => s.isMonitoringEnabled);\n });\n\n @tracked loadedSensors: Sensor[] = [];\n\n /**\n * The sensors to display, either passed to the component or retrieved from the server.\n */\n @computed('args.devices', 'loadedSensors')\n get sensors(): Sensor[] {\n return isEmpty(this.loadedSensors) ? (this.args.devices as Sensor[]) : this.loadedSensors;\n }\n\n /**\n * The sort order for sensors.\n */\n sensorSortOrder = ['openClosedStatus:desc', 'description'];\n\n /**\n * The sorted sensors.\n */\n @sort('sensors', 'sensorSortOrder')\n declare sortedSensors: Sensor[];\n\n /**\n * Whether every sensor that is shown on the sensor card is a flex sensor\n */\n @computed('sensors', 'sensors.@each.isFlexIO')\n get isFlexIOOnly(): boolean {\n const { sensors } = this;\n return sensors?.length > 0 && sensors.every((s) => s.isFlexIO);\n }\n\n /**\n * Called every time the element is inserted into the DOM.\n */\n @action elementInserted(): void {\n this.fetchSensorsTask.perform();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::SensorsCard': typeof SensorsCard;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default>\\n {{#unless this.isIconCard}}\\n

{{t \\'generic.devices.thermostats\\'}}

\\n {{/unless}}\\n \\n <:popup>\\n \\n
\\n
\\n {{#each this.scheduleButtons as |button|}}\\n \\n {{/each}}\\n
\\n {{#if this.hasSmartSchedulePermission}}\\n \\n {{else}}\\n \\n {{/if}}\\n
\\n
\\n {{!-- @glint-expect-error popupConfig type doesn\\'t match menu type, please fix. --}}\\n \\n {{!-- @glint-expect-error popupConfig popupConfig.items doesn\\'t match items type, please fix. --}}\\n \\n <:label as |item|>\\n {{!-- @glint-expect-error icon can be undefined, please fix. --}}\\n \\n {{item.label}}\\n {{item.props.t}}\\n \\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/toolbar/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { equal, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { ThermostatSchedule, EmberThermostatsScheduleEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { AutoLow, OnLow, Circulate, AutoMedium } from 'customer-site/enums/ThermostatFanMode';\nimport { Disabled, Enabled, Partial } from 'customer-site/enums/ThermostatLock';\nimport { MANUAL_MODE, SCHEDULED, SMART_SCHEDULES } from 'customer-site/enums/ThermostatProgrammingMode';\nimport { Off, Unknown } from 'customer-site/enums/ThermostatStatus';\nimport { BinaryListItem } from '@adc/ui-components/components/simple-binary/list';\nimport {\n getThermostatScheduleModeKey,\n getThermostatFanModeKey,\n getLocalDisplayLockingModeKey\n} from '../../../../../utils/thermostats';\nimport { createToolbarButton } from '../../../card-toolbar/index';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { SafeString } from '@ember/template';\nimport type RemoteTemperatureSensorModel from 'customer-site/models/devices/remote-temperature-sensor';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type NavigationService from 'customer-site/services/navigation';\nimport type { MenuConfig, MenuItem } from '../../../card-toolbar/button-popup/index';\nimport type { DashboardCardToolbarButtons, CardToolbarSignature } from '../../../card-toolbar/index';\n\ninterface DashboardCardsDevicesThermostatCardToolbarSignature {\n Element: CardToolbarSignature['Element'];\n Args: Pick & {\n cardDevices: ThermostatModel[];\n deviceIndex?: number;\n showLocalDisplayLocking?: boolean;\n };\n}\n\ntype ViewButton = {\n id?: string;\n text: string;\n selected: boolean;\n action: () => boolean | void;\n};\n\ntype RTSItem = {\n d: ThermostatModel | RemoteTemperatureSensorModel;\n t: string | SafeString;\n};\n\nexport default class DashboardCardsDevicesThermostatCardToolbar extends Component {\n @service declare intl: ADCIntlService;\n @service declare navigation: NavigationService;\n\n @equal('args.deviceIndex', undefined)\n declare isHomeCard: boolean;\n\n @alias('args.cardDevices.firstObject')\n declare model?: ThermostatModel;\n\n get isIconCard(): boolean {\n return this.args.cardDevices.length === 1;\n }\n\n @tracked popupConfig?: Omit & { items: BinaryListItem[] };\n\n @tracked schedulePopupConfig?: Omit;\n\n private getTranslation(key: string, tokens?: Record, prefix = 'home.thermostats'): string {\n return this.intl.t(`${prefix}.${key}`, tokens);\n }\n\n private getScheduleModes(): MenuItem[] {\n const { model } = this;\n if (!model) {\n return [];\n }\n\n const { supportsSmartSchedules } = model;\n\n return [supportsSmartSchedules ? SMART_SCHEDULES : undefined, SCHEDULED, MANUAL_MODE].compact().map((mode) => ({\n text: this.getTranslation(\n `schedule${supportsSmartSchedules ? '' : 'NoSmartSchedule'}${getThermostatScheduleModeKey(mode)}`\n ),\n action: () => {\n if (model.scheduleMode !== mode) {\n model.setScheduleMode(mode);\n }\n },\n selected: model.scheduleMode === mode\n }));\n }\n\n get scheduleButtons(): ViewButton[] {\n const scheduleModes = this.getScheduleModes();\n return Array.from(\n scheduleModes.map((sm) => {\n return {\n text: sm.text,\n selected: sm.selected,\n action: sm.action\n };\n })\n );\n }\n\n private getFanModes(): MenuItem[] {\n const { model } = this;\n if (!model) {\n return [];\n }\n\n const fnGetFanMode = (mode: number, duration = 0, key = getThermostatFanModeKey(mode)): MenuItem => {\n return {\n text: this.getTranslation(\n key,\n duration > 0\n ? {\n duration: String(duration)\n }\n : undefined\n ),\n action: () => {\n if (model.fanMode !== mode) {\n model.setFanMode(mode, duration);\n }\n },\n // dberardi 10/26/23\n // This basically says \"Only the AutoLow menu item can ever be selected\" and\n // \"Only select it if the fanMode state is AutoLow or AutoMedium\".\n selected: mode === AutoLow && (model.fanMode === AutoLow || model.fanMode === AutoMedium)\n };\n };\n\n return [\n fnGetFanMode(AutoLow),\n ...model.supportedFanDurations.map((duration) =>\n fnGetFanMode(OnLow, duration, duration == 0 ? 'indefinite' : 'hours')\n ),\n model.supportsCirculateFanModeAlways || (model.activeState === Off && model.supportsCirculateFanModeWhenOff)\n ? fnGetFanMode(Circulate)\n : undefined\n ].compact();\n }\n\n private getRTSItems(): BinaryListItem[] {\n const { model } = this;\n if (!model) {\n return [];\n }\n\n return [model, ...model.availableSensors].filterBy('supportsPairing').map((d) => {\n const { tempForwardingActive } = d;\n\n return new BinaryListItem({\n label: d.description,\n icon: d.temperatureStateIcon,\n state: tempForwardingActive,\n css: tempForwardingActive ? 'active' : '',\n disabled: !d.ambientTemp,\n props: {\n d,\n t: d.supportsHumidity\n ? htmlSafe(d.humidityText + '  ' + d.temperatureText)\n : d.temperatureText\n }\n });\n });\n }\n\n private getRtsTitle(model: ThermostatModel): string {\n return this.getTranslation(model.hasRtsIssue ? 'rtsIssue' : 'sensorsState', {\n state: this.intl.t(`generic.${model.activeSensors.length ? 'on' : 'off'}`)\n });\n }\n\n private getLocalDisplayLockingModes(): MenuItem[] {\n const { model } = this;\n if (!model) {\n return [];\n }\n\n return [Disabled, model.supportsPartialLocalDisplayLocking ? Partial : undefined, Enabled]\n .compact()\n .map((mode) => ({\n text: this.getTranslation(`localDisplayLocking${getLocalDisplayLockingModeKey(mode)}`),\n action: () => {\n if (model.localDisplayLockingMode !== mode) {\n model.setLocalDisplayLockingMode(mode);\n }\n },\n selected: model.localDisplayLockingMode === mode\n }));\n }\n\n @computed(\n 'args.cardDevices.firstObject.{showRts,supportsFanMode,supportsLocalDisplayLocking,supportsSchedules}',\n 'args.showLocalDisplayLocking',\n 'isIconCard',\n 'showRTSMenu',\n 'showScheduleMenu'\n )\n get thermostatLeftButtons(): DashboardCardToolbarButtons {\n if (!this.isIconCard) {\n return [];\n }\n\n const [model] = this.args.cardDevices,\n { state } = model.getState();\n\n if (state === Unknown) {\n return [];\n }\n\n const buttons = [],\n disabled = !model.canChangeState;\n\n if (state !== Off && model.supportsSchedules) {\n buttons.push(\n createToolbarButton(model.getScheduleTitle(), model.scheduleIconName, {\n css: model.scheduleClass,\n disabled,\n fn: this.showScheduleMenu\n })\n );\n }\n\n if (model.supportsFanMode) {\n buttons.push(\n createToolbarButton(model.getFanTitle(), model.fanIconName, {\n css: model.fanClass,\n disabled,\n items: this.getFanModes()\n })\n );\n }\n\n if (model.showRts) {\n buttons.push(\n createToolbarButton(this.getRtsTitle(model), model.rtsIconName, {\n css: model.rtsClass,\n disabled,\n fn: this.showRTSMenu\n })\n );\n }\n\n if (this.args.showLocalDisplayLocking && model.supportsLocalDisplayLocking) {\n buttons.push(\n createToolbarButton(model.getLocalDisplayLockingTitle(), model.localDisplayLockingIconName, {\n items: this.getLocalDisplayLockingModes(),\n disabled\n })\n );\n }\n\n return buttons;\n }\n\n get leftButtons(): DashboardCardToolbarButtons {\n return [...(this.args.leftButtons ?? []), ...this.thermostatLeftButtons];\n }\n\n @action showRTSMenu(selector: string, isKeyboard: boolean): void {\n this.popupConfig = {\n selector,\n isKeyboard,\n title: this.intl.t('generic.devices.sensors'),\n focusSelector: 'input[type=checkbox]',\n items: this.getRTSItems()\n };\n }\n\n @action showScheduleMenu(selector: string, isKeyboard: boolean): void {\n this.schedulePopupConfig = {\n selector,\n isKeyboard,\n focusSelector: 'input[type=checkbox]'\n };\n }\n\n pairedRTS?: (ThermostatModel | RemoteTemperatureSensorModel)[];\n\n @action updateRTS(items: BinaryListItem[]): void {\n this.pairedRTS = items.filter((i) => i.state).map((i) => i.props.d);\n }\n\n @action closePopup(): void {\n this.popupConfig = undefined;\n\n const { pairedRTS } = this;\n if (pairedRTS) {\n this.model?.setRts(pairedRTS.mapBy('id'));\n this.pairedRTS = undefined;\n }\n }\n\n @action closeSchedulePopup(): void {\n this.schedulePopupConfig = undefined;\n }\n\n @action transitionToSchedule(): void {\n this.navigation.transitionToRouteId(ThermostatSchedule);\n // TODO remove this method and use only transitionToSmartSchedule when Smart Schedules launches\n }\n\n @action transitionToSmartSchedule(): void {\n this.navigation.transitionToRouteId(EmberThermostatsScheduleEdit, this.model?.id);\n }\n\n get hasSmartSchedulePermission(): boolean {\n return !!this.navigation.getRouteItem(EmberThermostatsScheduleEdit);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard::Toolbar': typeof DashboardCardsDevicesThermostatCardToolbar;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n {{#if this.showValue}}\\n \\n {{this.value}}\\n \\n {{/if}}\\n \\n\\n {{#if this.buttons}}\\n
\\n {{#each this.buttons as |btn|}}\\n \\n {{/each}}\\n
\\n {{/if}}\\n\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/icon/temps/changer/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { isArrowUpCode, isArrowDownCode } from '@adc/ember-utils/utils/a11y';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/template';\nimport { hasHeatSetpoint, offsetSetpoint } from '../../../../../../../utils/thermostats';\nimport ActiveCardTabIndexComponent from '../../../../../active-card-tab-index';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type { SafeString } from 'handlebars';\n\ninterface DashboardCardsDevicesThermostatCardIconTempsChangerSignature {\n Element: HTMLDivElement;\n Args: {\n device: ThermostatModel;\n css: string;\n state: number;\n setpoint: number;\n showValue?: boolean;\n showChangers?: boolean;\n isLeft?: boolean;\n iconProps: {\n iconId: string;\n iconSize: number;\n iconName: string;\n };\n activeElementID?: string;\n triggerButtonClass?: string;\n incrementAction: VoidFunction;\n decrementAction: VoidFunction;\n };\n}\n\ntype TempChangeButton = {\n icon: string;\n text: string;\n css: string;\n disabled: boolean;\n action: VoidFunction;\n};\n\n/**\n * @classdesc\n * Component to increment and decrement a temperature\n */\nexport default class DashboardCardsDevicesThermostatCardIconTempsChanger extends ActiveCardTabIndexComponent {\n @service declare intl: ADCIntlService;\n\n // region Passed property defaults\n\n /**\n * The temperature mode for the temp changer.\n */\n get state(): number {\n return this.args.state ?? 0;\n }\n\n /**\n * The current setpoint.\n */\n get setpoint(): number {\n return this.args.setpoint ?? 0;\n }\n\n /**\n * Indicates whether to show the temperature value.\n */\n get showValue(): boolean {\n return this.args.showValue ?? true;\n }\n\n /**\n * Whether the setpoint can be changed.\n */\n get showChangers(): boolean {\n return this.args.showChangers ?? true;\n }\n\n // endregion\n\n /**\n * The minimum setpoint.\n */\n @computed('args.device.{minAuxHeatSetpoint,minCoolSetpoint,minHeatSetpoint}', 'state')\n get minSetpoint(): number | undefined {\n return this.args.device.getSetpointBoundary('min', this.state);\n }\n\n /**\n * The maximum setpoint.\n */\n @computed('args.device.{maxAuxHeatSetpoint,maxCoolSetpoint,maxHeatSetpoint}', 'state')\n get maxSetpoint(): number | undefined {\n return this.args.device.getSetpointBoundary('max', this.state);\n }\n\n /**\n * If the setpoint can be decremented.\n */\n @computed('minSetpoint', 'setpoint')\n get minSetpointReached(): boolean {\n return this.setpoint <= (this.minSetpoint ?? 0);\n }\n\n /**\n * If the setpoint can be incremented.\n */\n @computed('maxSetpoint', 'setpoint')\n get maxSetpointReached(): boolean {\n return this.setpoint >= (this.maxSetpoint ?? 0);\n }\n\n /**\n * The temperature as a whole number.\n */\n get temperature(): number {\n return Math.floor(this.setpoint);\n }\n\n /**\n * The decimal part of the temperature.\n */\n @computed('setpoint')\n get decimal(): string {\n return this.setpoint % 1 === 0.5 ? '.5' : '';\n }\n\n /**\n * The icon displayed as a text value.\n */\n @computed('device.{activeState,inferredState}', 'setpoint')\n get value(): SafeString {\n const { temperature, decimal } = this,\n degree = '°';\n\n // Assume no value.\n let value = '';\n\n // Nothing if the device is still loading\n if (temperature) {\n // Use temperature.\n value = `${temperature}${degree}`;\n\n // Is there a decimal value?\n if (decimal) {\n // Add decimal value.\n value += `${decimal}`;\n }\n }\n\n return htmlSafe(value);\n }\n\n /**\n * The style to apply based on the orientation of the temp changer buttons.\n */\n @computed('args.isLeft')\n get sideCSS(): string {\n return this.args.isLeft ? 'left' : 'right';\n }\n\n /**\n * The style to apply based on the orientation of the temp changer buttons.\n */\n @computed('sideCSS', 'args.device.id')\n get dataID(): string {\n return `${this.args.device.id}-${this.sideCSS}`;\n }\n\n private getOffsetTitle(offsetType: 'decreaseState' | 'increaseState'): string {\n const localePath = 'home.thermostats.',\n thermostatOffsetState = this.args.device.isPoolController\n ? `${localePath}heating`\n : `${localePath}${hasHeatSetpoint(this.state) ? 'heating' : 'cooling'}`;\n\n return this.intl.t(`${localePath}${offsetType}`, {\n state: this.intl.t(thermostatOffsetState)\n });\n }\n\n /**\n * The title text for the decrement button.\n */\n @computed('state')\n get decrementTitle(): string {\n return this.getOffsetTitle('decreaseState');\n }\n\n /**\n * The title text for the increment button.\n */\n @computed('state')\n get incrementTitle(): string {\n return this.getOffsetTitle('increaseState');\n }\n\n @computed(\n 'args.{decrementAction,incrementAction}',\n 'decrementTitle',\n 'incrementTitle',\n 'maxSetpointReached',\n 'minSetpointReached',\n 'showChangers'\n )\n get buttons(): TempChangeButton[] {\n return this.showChangers\n ? (\n [\n [\n 'chevron-up',\n this.incrementTitle,\n 'btn-inc',\n this.maxSetpointReached,\n this.args.incrementAction\n ],\n [\n 'chevron-down',\n this.decrementTitle,\n 'btn-dec',\n this.minSetpointReached,\n this.args.decrementAction\n ]\n ] as const\n ).map(([icon, text, css, disabled, action]) => ({\n icon,\n text,\n css,\n disabled,\n action\n }))\n : [];\n }\n\n @action focusElement(el: HTMLElement): void {\n const { activeElementID, triggerButtonClass } = this.args;\n if (activeElementID) {\n let activeElement = el.querySelector(`[data-id='${activeElementID}']`);\n if (activeElement) {\n if (triggerButtonClass) {\n activeElement = activeElement.querySelector(`.${triggerButtonClass.split(' ').join('.')}`);\n }\n\n (activeElement as HTMLElement).focus();\n }\n }\n }\n\n /**\n * Called when the user presses a key up on the temp changer component.\n *\n * @param {KeyboardEvent} evt The keyboard event.\n */\n @action handleKeyUp(evt: KeyboardEvent & { target: HTMLDivElement }): void {\n const offset = isArrowUpCode(evt.code) ? 1 : isArrowDownCode(evt.code) ? -1 : 0;\n if (offset) {\n evt.preventDefault();\n (evt.target?.querySelector(offset > 0 ? '.btn-inc' : '.btn-dec') as HTMLButtonElement).focus();\n offsetSetpoint(this.args.device, this.state, offset);\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard::Icon::Temps::Changer': typeof DashboardCardsDevicesThermostatCardIconTempsChanger;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n {{#if this.showInsideTemp}}\\n

{{@model.forwardingTemperatureText}}

\\n {{#if @model.humidityText}}\\n

\\n \\n {{@model.humidityText}}\\n

\\n {{/if}}\\n

{{t \\'home.thermostats.inside\\'}}

\\n {{/if}}\\n
\\n
\\n {{#each this.tempChangers as |tc|}}\\n \\n {{/each}}\\n
\\n
\\n {{#if this.showExtraStateText}}\\n

{{@model.simpleStateText}}

\\n {{/if}}\\n
\\n
\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/icon/temps/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { computed, action } from '@ember/object';\nimport { equal, gt } from '@ember/object/computed';\nimport { capitalize } from '@ember/string';\nimport { Unknown, Off, Heat, Cool, Auto } from 'customer-site/enums/ThermostatStatus';\nimport {\n getThermostatStateAltIcon,\n getThermostatStateCSS,\n offsetSetpoint,\n hasHeatSetpoint,\n hasSetpoint\n} from 'customer-site/utils/thermostats';\n\nimport './_style.scss';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type { DisplaySetpointKey } from 'customer-site/models/devices/thermostat';\n\ninterface DashboardCardsDevicesThermostatCardIconTempsSignature {\n Args: {\n model: ThermostatModel;\n isInteractive?: boolean;\n };\n}\n\ninterface TempChangerInfo {\n state: number;\n css: string;\n iconProps: {\n iconId: string;\n iconSize: number;\n iconName: string;\n };\n setpoint: number;\n showValue: boolean;\n showChangers: boolean;\n isLeft: boolean;\n activeElementID: string;\n triggerButtonClass: string;\n}\n\n/**\n * Returns the active element's id.\n *\n * @private\n */\nfunction getActiveElementId(activeElement: Element | null): string {\n if (!activeElement) {\n return '';\n }\n\n if (activeElement.hasAttribute('data-id')) {\n return activeElement.getAttribute('data-id') as string;\n }\n\n if (activeElement.tagName === 'BUTTON') {\n const activeElementParent = activeElement.closest('div[data-id]');\n\n if (activeElementParent) {\n return activeElementParent.getAttribute('data-id') as string;\n }\n }\n\n return '';\n}\n\nexport default class DashboardCardsDevicesThermostatCardIconTemps extends Component {\n @equal('args.model.activeState', Off)\n declare showExtraStateText: boolean;\n\n @computed('args.model.{activeState,supportsAutoMode}')\n get isAutoMode(): boolean {\n const { model } = this.args;\n if (!model.supportsAutoMode) {\n return false;\n }\n\n return model.activeState === Auto;\n }\n\n @computed('args.model.{activeState,displayCoolSetpoint,displayHeatSetpoint,inferredState}', 'isAutoMode')\n get tempChangers(): TempChangerInfo[] {\n const { model } = this.args,\n { state: thermostatState, inTransition } = model.getState(),\n { isAutoMode } = this,\n states = isAutoMode ? [Heat, Cool] : thermostatState >= Unknown ? [thermostatState] : [],\n { activeElement } = document,\n activeElementID = getActiveElementId(activeElement),\n triggerButtonClass =\n activeElement?.hasAttribute('data-id') && activeElement?.tagName === 'BUTTON'\n ? activeElement.className\n : '';\n\n return states.map((state) => {\n const poolState = model.mapPoolControllerState(state),\n showValue = hasSetpoint(state, model.supportsSetpoints),\n iconName = getThermostatStateAltIcon(poolState),\n stateCSS = getThermostatStateCSS(poolState),\n tempModeKey = `display${capitalize(getThermostatStateCSS(state))}Setpoint` as DisplaySetpointKey,\n activeCSS =\n !model.isPoolController && isAutoMode && !inTransition && model.getInferredState().state === state\n ? 'active'\n : '';\n\n return {\n state,\n css: `icon-thermostat-status ${stateCSS} ${activeCSS}`,\n iconProps: {\n iconId: model.id,\n iconSize: isAutoMode ? 4 : 6,\n iconName\n },\n setpoint: model[tempModeKey],\n showValue,\n showChangers: showValue && model.canChangeState,\n isLeft: isAutoMode && hasHeatSetpoint(state),\n activeElementID: activeElementID,\n triggerButtonClass: triggerButtonClass\n };\n });\n }\n\n @gt('args.model.activeState', Unknown)\n declare showInsideTemp: boolean;\n\n /**\n * Increment or decrement the setpoint.\n */\n @action updateOffsetSetpoint(state: number, numberOffsetSteps: number): void {\n offsetSetpoint(this.args.model, state, numberOffsetSteps);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard::Icon::Temps': typeof DashboardCardsDevicesThermostatCardIconTemps;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n
\\n {{#if this.showTemps}}\\n \\n\\n {{else if this.showModes}}\\n
\\n {{#each this.modes as |btn|}}\\n \\n {{/each}}\\n
\\n {{else}}\\n
\\n {{#each this.presets as |btn|}}\\n \\n {{/each}}\\n
\\n {{/if}}\\n
\\n\\n
\\n \\n\\n

\\n \\n {{@model.description}}\\n \\n

\\n\\n {{#if this.buttons}}\\n
\\n {{#each this.buttons as |button|}}\\n \\n {{/each}}\\n
\\n {{/if}}\\n
\\n
\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/icon/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ComingHome, GoingAway, Goodnight, Custom } from 'customer-site/enums/ActionSetType';\nimport { Unknown, Off, Heat, Cool, Auto, AuxHeat } from 'customer-site/enums/ThermostatStatus';\nimport {\n getThermostatStateKey,\n getThermostatStateIcon,\n hasHeatSetpoint,\n hasCoolSetpoint\n} from 'customer-site/utils/thermostats';\nimport { intlPath } from '@adc/i18n/path';\nimport ActiveCardTabIndexComponent from '../../../active-card-tab-index';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type { LabelledbySpanSignature } from 'customer-site/components/dashboard-cards/labelledby-span';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { SafeString } from 'handlebars';\n\ninterface DashboardCardsDevicesThermostatCardIconSignature {\n Args: Pick & {\n model: ThermostatModel;\n isInteractive?: boolean;\n };\n}\n\nenum DisplayMode {\n Temp,\n Modes,\n Presets\n}\n\ntype ViewButton = {\n id: DisplayMode;\n text: string;\n selected: boolean;\n};\n\ntype ModeButton = {\n description: string;\n icon: string;\n mode: number;\n css: string;\n};\n\ntype PresetType = typeof Custom | typeof ComingHome | typeof GoingAway | typeof Goodnight;\n\nconst presetCssMap: Record = {\n [Custom]: 'custom',\n [ComingHome]: 'home',\n [GoingAway]: 'away',\n [Goodnight]: 'sleep'\n} as const;\n\n/**\n * Returns the icon for the preset type.\n *\n * @private\n */\nfunction getPresetTypeIcon(presetType: PresetType, isCommercial = false): string {\n if (presetType === Custom) {\n return '';\n }\n\n if (isCommercial) {\n return `scenes-commercial-${\n {\n [ComingHome]: 'open',\n [GoingAway]: 'closed',\n [Goodnight]: 'occupied'\n }[presetType]\n }`;\n }\n\n return `thermostat-${\n {\n [ComingHome]: 'home',\n [GoingAway]: 'away',\n [Goodnight]: 'sleep'\n }[presetType]\n }`;\n}\n\n@intlPath({ path: 'dashboard-cards/devices/thermostat-card/icon' })\nexport default class DashboardCardsDevicesThermostatCardIcon extends ActiveCardTabIndexComponent {\n @service declare intl: ADCIntlService;\n @service declare contextManager: ContextManager;\n\n @tracked displayMode = DisplayMode.Temp;\n\n @equal('displayMode', DisplayMode.Temp)\n declare showTemps: boolean;\n\n @equal('displayMode', DisplayMode.Modes)\n declare showModes: boolean;\n\n @equal('displayMode', DisplayMode.Presets)\n declare showPresets: boolean;\n\n /**\n * The temperature mode buttons available for the thermostat.\n */\n @computed(\n 'args.model.{activeState,supportsAutoMode,supportsAuxHeatMode,supportsCoolMode,supportsHeatMode,supportsOffMode}'\n )\n get modes(): ModeButton[] {\n const { model } = this.args;\n if (!model) {\n return [];\n }\n\n const { state } = model.getState();\n return [Heat, Cool, Auto, AuxHeat, Off]\n .filter((mode) => model.supportsTempMode(mode))\n .map((mode) => ({\n description: this.intl.t(\n `home.thermostats.${getThermostatStateKey(mode)}${model.isPoolController ? 'Pool' : ''}`\n ),\n icon: getThermostatStateIcon(model.mapPoolControllerState(mode)),\n mode,\n css: state === mode ? 'selected' : ''\n }));\n }\n\n @computed('args.model.{activeState,inferredState}', 'contextManager.identityModel.{isCommercial,isPointCentral}')\n get presets(): { description: string; type: string; icon: string }[] {\n const { model } = this.args;\n if (!model) {\n return [];\n }\n\n const { state } = model.getInferredState(),\n { isPointCentral, isCommercial } = this.contextManager.identityModel;\n\n if (state <= Unknown || (state === Off && !model.supportsAutoMode) || isPointCentral) {\n return [];\n }\n\n return [ComingHome, GoingAway, Goodnight].map((presetType: PresetType) => ({\n description: this.intl.t(`home.thermostats.${presetCssMap[presetType]}${isCommercial ? 'Commercial' : ''}`),\n type: presetCssMap[presetType],\n icon: getPresetTypeIcon(presetType, isCommercial)\n }));\n }\n\n @computed('args.model.activeState', 'displayMode', 'modes.length', 'presets.length')\n get buttons(): ViewButton[] {\n const { model } = this.args;\n if (!model || model.activeState <= Unknown) {\n return [];\n }\n\n return [\n [1, 'temp', DisplayMode.Temp],\n [this.modes.length, 'mode', DisplayMode.Modes],\n [this.presets.length, 'preset', DisplayMode.Presets]\n ]\n .map(([length, key, id]: [number, string, DisplayMode]) =>\n length > 0\n ? {\n id,\n text: this.intl.t(`home.thermostats.${key}`),\n selected: this.displayMode === id\n }\n : undefined\n )\n .compact();\n }\n\n @computed('args.model.{activeState,simpleStateText}')\n get thermostatStatus(): string | SafeString {\n const { model } = this.args;\n if (!model) {\n return '';\n }\n\n const fnGetText = (key: string, setPoint: number) => this.intl.tc(this, key, { setPoint });\n return (\n {\n [Heat]: fnGetText('heating', model.displayHeatSetpoint ?? 0),\n [Cool]: fnGetText('cooling', model.displayCoolSetpoint ?? 0)\n }[model.activeState] ?? model.simpleStateText\n );\n }\n\n @action updateDeviceMode(newMode: number): void {\n this.args.model.setMode(newMode);\n this.displayMode = DisplayMode.Temp;\n }\n\n @action choosePreset(type: 'home' | 'away' | 'sleep'): void {\n const { model } = this.args,\n [heatSetpoint, coolSetpoint] = ['Heat', 'Cool'].map(\n (mode: 'Heat' | 'Cool') => model[`${type}${mode}Setpoint`]\n );\n\n if (model.activeState === Off) {\n // Set the device to auto mode before setting each setpoint.\n model.setMode(Auto);\n model.setSetpoints({\n desiredHeatSetpoint: heatSetpoint,\n desiredCoolSetpoint: coolSetpoint\n });\n return;\n }\n\n const { state } = model.getInferredState();\n\n if (hasHeatSetpoint(state)) {\n model.setHeatSetpoint(heatSetpoint);\n } else if (hasCoolSetpoint(state)) {\n model.setCoolSetpoint(coolSetpoint);\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard::Icon': typeof DashboardCardsDevicesThermostatCardIcon;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:row as |device ListRow|>\\n \\n <:description>\\n
\\n

{{device.description}}

\\n {{#if device.stateText}}\\n

{{device.stateText}}

\\n {{/if}}\\n
\\n \\n <:state-text>\\n
\\n

{{device.temperatureText}}

\\n {{#if device.humidityText}}\\n

{{device.humidityText}}

\\n {{/if}}\\n
\\n \\n
\\n \\n\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/list/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\nimport type { DeviceListSignature } from 'customer-site/components/dashboard-cards/devices/device-list';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\n\ntype BaseDeviceList = DeviceListSignature;\n\nexport interface ThermostatCardDeviceList {\n Element: BaseDeviceList['Element'];\n Args: Pick;\n}\n\nconst List = templateOnlyComponent();\nexport default List;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard::List': typeof List;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:card-toolbar>\\n {{#unless this.isSetupCard}}\\n \\n {{/unless}}\\n \\n\\n <:card-body>\\n
\\n {{#if this.isSetupCard}}\\n \\n\\n {{else if this.isIconCard}}\\n \\n\\n {{else}}\\n \\n {{/if}}\\n
\\n \\n\\n\",{ moduleName: \"customer-site/components/dashboard-cards/devices/thermostat-card/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { intlPath } from '@adc/i18n/path';\nimport { EmberThermostats } from '../../../../enums/CustomerPageUrl';\nimport { ICON_THERMOSTAT } from '../../../icons/circles/device-status/index';\nimport BaseDeviceCard from '../base-card';\n\nimport './_style.scss';\nimport type { BaseCardSignature } from 'customer-site/components/dashboard-cards/devices/base-card';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\n\nexport interface DashboardCardsDevicesThermostatSignature extends BaseCardSignature {\n Args: BaseCardSignature['Args'] & {\n showLocalDisplayLocking?: boolean;\n deviceCount?: number;\n };\n}\n\n@intlPath({ path: 'dashboard-cards/devices/thermostat-card' })\nexport default class DashboardCardsDevicesThermostatCard extends BaseDeviceCard<\n ThermostatModel,\n DashboardCardsDevicesThermostatSignature\n> {\n @alias('cardDevices.firstObject')\n declare primaryDevice?: ThermostatModel;\n\n /** @override */\n iconType = ICON_THERMOSTAT;\n\n /** @override */\n detailsRouteId = EmberThermostats;\n\n /** @override */\n get isIconCard(): boolean {\n return this.cardDevices.length === 1;\n }\n\n /** @override */\n get showBatteryButton(): boolean {\n return super.showBatteryButton || this.isLowBattery;\n }\n\n /** @override */\n get showRefreshButton(): boolean {\n return this.isIconCard && (this.primaryDevice?.isInUnknownState() || !this.isHomeCard);\n }\n\n /** @override */\n @computed('isIconCard', 'primaryDevice.requiresSetup')\n get isSetupCard(): boolean {\n return !!(this.isIconCard && this.primaryDevice?.requiresSetup);\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::Devices::ThermostatCard': typeof DashboardCardsDevicesThermostatCard;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"{{#if this.showHeader}}\\n
\\n

{{this.header}}

\\n
\\n{{/if}}\\n
\\n
\\n \\n {{#each @instructions as |instruction|}}\\n

{{instruction}}

\\n {{/each}}\\n\\n
\\n \\n
\\n\\n
\\n
\\n\",{ moduleName: \"customer-site/components/dashboard-cards/setup-card/instructions/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { EmberHome } from 'customer-site/enums/CustomerPageUrl';\n\nimport './_style.scss';\nimport type Store from '@ember-data/store';\nimport type ThermostatModel from 'customer-site/models/devices/thermostat';\nimport type WaterMeterModel from 'customer-site/models/devices/water-meter';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type IdentityManager from 'customer-site/services/identity-manager';\n\ninterface DashboardCardsSetupCardInstructionsSignature {\n Args: {\n instructions: string[];\n isEmberWizard?: boolean;\n wizardUrl?: string;\n model?: ThermostatModel | WaterMeterModel;\n showHeader?: boolean;\n buttonText?: string;\n };\n}\n\nexport default class DashboardCardsSetupCardInstructions extends Component {\n @service declare contextManager: ContextManager;\n @service declare identityManager: IdentityManager;\n @service declare store: Store;\n\n /**\n * Is the wizard using the Ember wizard?\n */\n get isEmberWizard(): boolean {\n return this.args.isEmberWizard ?? true;\n }\n\n /**\n * Should we show the header/title?\n */\n get showHeader(): boolean {\n return this.args.showHeader ?? false;\n }\n\n /**\n * The header for the card.\n */\n get header(): string {\n const model = this.args.model;\n\n if (model) {\n return model.description;\n }\n\n return '';\n }\n\n get buttonText(): string {\n return this.args.buttonText ?? 'generic.configure';\n }\n\n /**\n * Start the setup wizard.\n */\n @action startWizard(): void {\n const { contextManager, identityManager } = this,\n { model, wizardUrl } = this.args;\n\n if (this.isEmberWizard) {\n if (wizardUrl) {\n contextManager.startWizard(wizardUrl, EmberHome);\n }\n return;\n }\n\n if (model) {\n (async () => {\n // Are we at the Enterprise level?\n if (identityManager.getSelectedSystemGroupId()) {\n // Switch to single-system.\n await identityManager.switchContext(\n this.store.peekRecord('systems/available-system-item', identityManager.getSelectedSystemId())\n );\n }\n\n if ('startWizard' in model) {\n model.startWizard();\n }\n })();\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'DashboardCards::SetupCard::Instructions': typeof DashboardCardsSetupCardInstructions;\n }\n}\n","import Helper from '@ember/component/helper';\nimport { assert } from '@ember/debug';\nimport * as CustomerPageUrl from 'customer-site/enums/CustomerPageUrl';\n\nexport interface GetRouteSignature {\n Args: {\n Positional: [keyof typeof CustomerPageUrl];\n };\n Return: number;\n}\n\n/**\n * Helper that takes a string representing the name of a route from CustomerPageUrl and returning its enum number.\n */\nexport default class getRoute extends Helper {\n compute([routeName]: GetRouteSignature['Args']['Positional']): GetRouteSignature['Return'] {\n const route = CustomerPageUrl[routeName];\n assert(`Invalid route \"${routeName}\" passed to [get-route] template helper`, !!route);\n return route;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'get-route': typeof getRoute;\n }\n}\n"],"names":["createTemplateFactory","scope","dashboardCardsContainerCard_","t_","dashboardCardsCardToolbar_","didInsert_","t_0","spinnerSvg_","dashboardCardsDevicesDeviceList_","svgSymbol_","SensorsCard","_dec","computed","_dec2","sort","_dec3","_class","BaseDeviceCard","constructor","arguments","_initializerDefineProperty","_descriptor","_defineProperty","ICON_SENSOR","Sensors","_buildTask","context","generator","_map","devices","this","args","loadedSensors","Promise","all","ArrayProxy","toArray","map","_ref","id","store","findRecord","filter","s","isMonitoringEnabled","drop","_descriptor2","_descriptor3","showBatteryButton","isLowBattery","sensors","isEmpty","isFlexIOOnly","length","every","isFlexIO","elementInserted","fetchSensorsTask","perform","_applyDecoratedDescriptor","prototype","service","configurable","enumerable","writable","initializer","tracked","Object","getOwnPropertyDescriptor","action","setComponentTemplate","TEMPLATE","dashboardCardsCardToolbarButtonPopup_","buttonSimple_","on","fn","simpleBinaryList_","DashboardCardsDevicesThermostatCardToolbar","equal","undefined","alias","Component","_descriptor4","_descriptor5","_descriptor6","isIconCard","cardDevices","getTranslation","key","tokens","prefix","intl","t","concat","getScheduleModes","model","supportsSmartSchedules","SMART_SCHEDULES","SCHEDULED","MANUAL_MODE","compact","mode","text","getThermostatScheduleModeKey","scheduleMode","setScheduleMode","selected","scheduleButtons","scheduleModes","Array","from","sm","getFanModes","_this","fnGetFanMode","duration","getThermostatFanModeKey","String","fanMode","setFanMode","AutoLow","AutoMedium","supportedFanDurations","OnLow","supportsCirculateFanModeAlways","activeState","Off","supportsCirculateFanModeWhenOff","Circulate","getRTSItems","availableSensors","filterBy","d","tempForwardingActive","BinaryListItem","label","description","icon","temperatureStateIcon","state","css","disabled","ambientTemp","props","supportsHumidity","htmlSafe","humidityText","temperatureText","getRtsTitle","hasRtsIssue","activeSensors","getLocalDisplayLockingModes","Disabled","supportsPartialLocalDisplayLocking","Partial","Enabled","getLocalDisplayLockingModeKey","localDisplayLockingMode","setLocalDisplayLockingMode","thermostatLeftButtons","getState","Unknown","buttons","canChangeState","supportsSchedules","push","createToolbarButton","getScheduleTitle","scheduleIconName","scheduleClass","showScheduleMenu","supportsFanMode","getFanTitle","fanIconName","fanClass","items","showRts","rtsIconName","rtsClass","showRTSMenu","showLocalDisplayLocking","supportsLocalDisplayLocking","getLocalDisplayLockingTitle","localDisplayLockingIconName","leftButtons","_this$args$leftButton","selector","isKeyboard","popupConfig","title","focusSelector","schedulePopupConfig","updateRTS","pairedRTS","i","closePopup","_this$model","setRts","mapBy","closeSchedulePopup","transitionToSchedule","navigation","transitionToRouteId","ThermostatSchedule","transitionToSmartSchedule","_this$model2","EmberThermostatsScheduleEdit","hasSmartSchedulePermission","getRouteItem","guidFor_","circleIcon_","coalesce_","buttonIcon_","DashboardCardsDevicesThermostatCardIconTempsChanger","_dec4","_dec5","_dec6","_dec7","_dec8","_dec9","_dec10","_dec11","ActiveCardTabIndexComponent","_this$args$state","setpoint","_this$args$setpoint","showValue","_this$args$showValue","showChangers","_this$args$showChange","minSetpoint","device","getSetpointBoundary","maxSetpoint","minSetpointReached","_this$minSetpoint","maxSetpointReached","_this$maxSetpoint","temperature","Math","floor","decimal","value","sideCSS","isLeft","dataID","getOffsetTitle","offsetType","localePath","thermostatOffsetState","isPoolController","hasHeatSetpoint","decrementTitle","incrementTitle","incrementAction","decrementAction","focusElement","el","activeElementID","triggerButtonClass","activeElement","querySelector","split","join","focus","handleKeyUp","evt","offset","isArrowUpCode","code","isArrowDownCode","_evt$target","preventDefault","target","offsetSetpoint","dashboardCardsDevicesThermostatCardIconTempsChanger_","DashboardCardsDevicesThermostatCardIconTemps","gt","isAutoMode","supportsAutoMode","Auto","tempChangers","thermostatState","inTransition","states","Heat","Cool","document","hasAttribute","getAttribute","tagName","activeElementParent","closest","getActiveElementId","className","poolState","mapPoolControllerState","hasSetpoint","supportsSetpoints","iconName","getThermostatStateAltIcon","stateCSS","getThermostatStateCSS","tempModeKey","capitalize","activeCSS","getInferredState","iconProps","iconId","iconSize","updateOffsetSetpoint","numberOffsetSteps","dashboardCardsDevicesThermostatCardIconTemps_","noop_","dashboardCardsLabelledbySpan_","hash","DisplayMode","presetCssMap","Custom","ComingHome","GoingAway","Goodnight","getPresetTypeIcon","presetType","isCommercial","DashboardCardsDevicesThermostatCardIcon","intlPath","path","Temp","Modes","Presets","_class2","modes","AuxHeat","supportsTempMode","getThermostatStateKey","getThermostatStateIcon","presets","isPointCentral","contextManager","identityModel","type","displayMode","thermostatStatus","_Heat$Cool$model$acti","_model$displayHeatSet","_model$displayCoolSet","fnGetText","setPoint","tc","displayHeatSetpoint","displayCoolSetpoint","simpleStateText","updateDeviceMode","newMode","setMode","choosePreset","heatSetpoint","coolSetpoint","setSetpoints","desiredHeatSetpoint","desiredCoolSetpoint","setHeatSetpoint","hasCoolSetpoint","setCoolSetpoint","List","templateOnlyComponent","dashboardCardsDevicesThermostatCardToolbar_","dashboardCardsSetupCardInstructions_","array","dashboardCardsDevicesThermostatCardIcon_","dashboardCardsDevicesThermostatCardList_","DashboardCardsDevicesThermostatCard","ICON_THERMOSTAT","EmberThermostats","super","showRefreshButton","_this$primaryDevice","primaryDevice","isInUnknownState","isHomeCard","isSetupCard","_this$primaryDevice2","requiresSetup","DashboardCardsSetupCardInstructions","isEmberWizard","_this$args$isEmberWiz","showHeader","_this$args$showHeader","header","buttonText","_this$args$buttonText","startWizard","identityManager","wizardUrl","EmberHome","getSelectedSystemGroupId","switchContext","peekRecord","getSelectedSystemId","getRoute","Helper","compute","routeName","CustomerPageUrl"],"sourceRoot":""}