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AELC,UACIT,KAAKF,SAAWY,YAAYV,KAAKM,eAAgB,EACpD,EACDK,YACIC,cAAcZ,KAAKF,SACtB,ICtCT,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS,KAEpE,QCHI,GAAeb,EAAAA,EAAAA,IAAgB,CAC3BC,KAAM,iBACNM,WAAY,CACRqB,cAAeA,KCF3B,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASpE,KAEpE,O","sources":["webpack://wavelovers/./src/views/DiagnosticView.vue?65c3","webpack://wavelovers/./src/components/AppDiagnostic.vue?40a6","webpack://wavelovers/./src/components/DiagnosticItem.vue?f20a","webpack://wavelovers/./src/components/DiagnosticItem.vue?0e90","webpack://wavelovers/./src/components/DiagnosticItem.vue","webpack://wavelovers/./src/components/AppDiagnostic.vue?1eec","webpack://wavelovers/./src/components/AppDiagnostic.vue","webpack://wavelovers/./src/views/DiagnosticView.vue?a628","webpack://wavelovers/./src/views/DiagnosticView.vue"],"sourcesContent":["import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"visually-hidden\" }, \"Wavelovers <20> Diagnostic\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AppDiagnostic = _resolveComponent(\"AppDiagnostic\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createVNode(_component_AppDiagnostic)\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"content-item\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Press any gamepad button or connect a new gamepad to vibrate.\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_NavigationList = _resolveComponent(\"NavigationList\")!\n const _component_DiagnosticItem = _resolveComponent(\"DiagnosticItem\")!\n const _component_GamepadList = _resolveComponent(\"GamepadList\")!\n const _component_MessageItem = _resolveComponent(\"MessageItem\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_NavigationList),\n (_ctx.gamepads.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.gamepads, (gamepad) => {\n return (_openBlock(), _createBlock(_component_DiagnosticItem, {\n key: gamepad.id,\n gamepad: gamepad,\n timestamp: _ctx.timestamp\n }, null, 8, [\"gamepad\", \"timestamp\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.gamepads.length > 0)\n ? (_openBlock(), _createBlock(_component_GamepadList, {\n key: 1,\n gamepads: _ctx.gamepads\n }, null, 8, [\"gamepads\"]))\n : (_openBlock(), _createBlock(_component_MessageItem, { key: 2 }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }))\n ], 64))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"output-gamepad\" }\nconst _hoisted_2 = { class: \"gamepad-group\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"h3\", null, \"#\" + _toDisplayString(_ctx.gamepad.unit.index + 1) + \". \" + _toDisplayString(_ctx.gamepad.unit.id), 1),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[0].value === 1 ? 'pressed' : '' ])\n }, \"A: \" + _toDisplayString(_ctx.gamepad.unit.buttons[0].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([_ctx.gamepad.unit.buttons[1].value === 1 ? 'pressed' : '' ])\n }, \"B: \" + _toDisplayString(_ctx.gamepad.unit.buttons[1].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[2].value === 1 ? 'pressed' : '' ])\n }, \"X: \" + _toDisplayString(_ctx.gamepad.unit.buttons[2].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[3].value === 1 ? 'pressed' : '' ])\n }, \"Y: \" + _toDisplayString(_ctx.gamepad.unit.buttons[3].value.toFixed(2)), 3)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[4].value === 1 ? 'pressed' : '' ])\n }, \"LB: \" + _toDisplayString(_ctx.gamepad.unit.buttons[4].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[5].value === 1 ? 'pressed' : '' ])\n }, \"RB: \" + _toDisplayString(_ctx.gamepad.unit.buttons[5].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[6].value === 1 ? 'pressed' : '' ])\n }, \"LT: \" + _toDisplayString(_ctx.gamepad.unit.buttons[6].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[7].value === 1 ? 'pressed' : '' ])\n }, \"RT: \" + _toDisplayString(_ctx.gamepad.unit.buttons[7].value.toFixed(2)), 3)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[8].value === 1 ? 'pressed' : '' ])\n }, \"Back: \" + _toDisplayString(_ctx.gamepad.unit.buttons[8].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[9].value === 1 ? 'pressed' : '' ])\n }, \"Start: \" + _toDisplayString(_ctx.gamepad.unit.buttons[9].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[10].value === 1 ? 'pressed' : '' ])\n }, \"Left Stick: \" + _toDisplayString(_ctx.gamepad.unit.buttons[10].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[11].value === 1 ? 'pressed' : '' ])\n }, \"Right Stick: \" + _toDisplayString(_ctx.gamepad.unit.buttons[11].value.toFixed(2)), 3)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[12].value === 1 ? 'pressed' : '' ])\n }, \"Forward: \" + _toDisplayString(_ctx.gamepad.unit.buttons[12].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[13].value === 1 ? 'pressed' : '' ])\n }, \"Backward: \" + _toDisplayString(_ctx.gamepad.unit.buttons[13].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[14].value === 1 ? 'pressed' : '' ])\n }, \"Left: \" + _toDisplayString(_ctx.gamepad.unit.buttons[14].value.toFixed(2)), 3),\n _createElementVNode(\"span\", {\n class: _normalizeClass([ _ctx.gamepad.unit.buttons[15].value === 1 ? 'pressed' : '' ])\n }, \"Right: \" + _toDisplayString(_ctx.gamepad.unit.buttons[15].value.toFixed(2)), 3)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, \"Left Stick X: \" + _toDisplayString(_ctx.gamepad.unit.axes[0] ? _ctx.gamepad.unit.axes[0].toFixed(2) : 'missing'), 1),\n _createElementVNode(\"span\", null, \"Left Stick Y: \" + _toDisplayString(_ctx.gamepad.unit.axes[1] ? _ctx.gamepad.unit.axes[1].toFixed(2) : 'missing'), 1),\n _createElementVNode(\"span\", null, \"Right Stick X: \" + _toDisplayString(_ctx.gamepad.unit.axes[2] ? _ctx.gamepad.unit.axes[2].toFixed(2) : 'missing'), 1),\n _createElementVNode(\"span\", null, \"Right Stick Y: \" + _toDisplayString(_ctx.gamepad.unit.axes[3] ? _ctx.gamepad.unit.axes[3].toFixed(2) : 'missing'), 1)\n ])\n ]),\n _createElementVNode(\"span\", null, \"Vibration Actuator: \" + _toDisplayString(_ctx.gamepad.unit.vibrationActuator ? 'Available' : 'missing'), 1)\n ]))\n}","\r\n import { defineComponent } from 'vue';\r\n\r\n export default defineComponent({\r\n name: 'DiagnosticItem',\r\n props: {\r\n gamepad: {\r\n type: Object,\r\n },\r\n timestamp: {\r\n type: Number,\r\n },\r\n },\r\n });\r\n","import { render } from \"./DiagnosticItem.vue?vue&type=template&id=2ff11dd7&ts=true\"\nimport script from \"./DiagnosticItem.vue?vue&type=script&lang=ts\"\nexport * from \"./DiagnosticItem.vue?vue&type=script&lang=ts\"\n\nimport \"./DiagnosticItem.vue?vue&type=style&index=0&id=2ff11dd7&lang=scss\"\n\nimport exportComponent from \"E:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n import { defineComponent } from 'vue';\r\n import store from '@/store/index';\r\n import NavigationList from '@/components/NavigationList.vue';\r\n import GamepadList from '@/components/GamepadList.vue';\r\n import MessageItem from '@/components/MessageItem.vue';\r\n import DiagnosticItem from '@/components/DiagnosticItem.vue';\r\n import Vibrator from '@/models/Vibrator';\r\n\r\n export default defineComponent({\r\n name: 'AppDiagnostic',\r\n components: {\r\n DiagnosticItem: DiagnosticItem,\r\n NavigationList: NavigationList,\r\n GamepadList: GamepadList,\r\n MessageItem: MessageItem,\r\n },\r\n data: () => {\r\n return {\r\n timestamp: 0 as number,\r\n interval: 0 as number,\r\n };\r\n },\r\n computed: {\r\n gamepads: function (): Vibrator[] {\r\n const timestamp: number = this.timestamp;\r\n const result: Vibrator[] = store.getters.gamepads as Vibrator[];\r\n result.forEach((item) => {\r\n item.interval = timestamp;\r\n });\r\n return result;\r\n },\r\n },\r\n methods: {\r\n updateComputed: function (): void {\r\n this.timestamp = Date.now();\r\n },\r\n },\r\n mounted() {\r\n this.interval = setInterval(this.updateComputed, 1);\r\n },\r\n unmounted() {\r\n clearInterval(this.interval);\r\n },\r\n });\r\n","import { render } from \"./AppDiagnostic.vue?vue&type=template&id=23371c71&ts=true\"\nimport script from \"./AppDiagnostic.vue?vue&type=script&lang=ts\"\nexport * from \"./AppDiagnostic.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"E:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n import { defineComponent } from 'vue';\r\n import AppDiagnostic from '@/components/AppDiagnostic.vue';\r\n\r\n export default defineComponent({\r\n name: 'DiagnosticView',\r\n components: {\r\n AppDiagnostic: AppDiagnostic,\r\n },\r\n });\r\n","import { render } from \"./DiagnosticView.vue?vue&type=template&id=b3d89af2&ts=true\"\nimport script from \"./DiagnosticView.vue?vue&type=script&lang=ts\"\nexport * from \"./DiagnosticView.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"E:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_hoisted_1","_createElementVNode","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_AppDiagnostic","_resolveComponent","_openBlock","_createElementBlock","_Fragment","_createVNode","key","_hoisted_2","_createTextVNode","_component_NavigationList","_component_DiagnosticItem","_component_GamepadList","_component_MessageItem","gamepads","length","_renderList","gamepad","_createBlock","id","timestamp","_createCommentVNode","default","_withCtx","_","_toDisplayString","unit","index","_normalizeClass","buttons","value","toFixed","axes","vibrationActuator","defineComponent","name","props","type","Object","Number","__exports__","components","DiagnosticItem","NavigationList","GamepadList","MessageItem","data","interval","computed","this","result","store","forEach","item","methods","updateComputed","Date","now","mounted","setInterval","unmounted","clearInterval","AppDiagnostic"],"sourceRoot":""} |