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App.vue","webpack://vue-empty-template/./src/App.vue?7ccd","webpack://vue-empty-template/./src/router/index.ts","webpack://vue-empty-template/./src/components/Badges/TwBadgeFlat.vue?4fd0","webpack://vue-empty-template/./src/components/Badges/TwBadgeFlat.vue","webpack://vue-empty-template/./src/components/Badges/TwBadgeFlat.vue?1591","webpack://vue-empty-template/./src/components/Buttons/TwButton.vue?fa50","webpack://vue-empty-template/./src/components/Buttons/TwButton.vue","webpack://vue-empty-template/./src/components/InputGroups/TwInput.vue?d6be","webpack://vue-empty-template/./src/components/InputGroups/TwInput.vue","webpack://vue-empty-template/./src/components/InputGroups/TwInput.vue?1317","webpack://vue-empty-template/./src/components/Loading/TwLoading.vue?2573","webpack://vue-empty-template/./src/components/Loading/TwLoading.vue","webpack://vue-empty-template/./src/components/Loading/TwLoading.vue?7007","webpack://vue-empty-template/./src/components/Stats/SimpleStat.vue?213a","webpack://vue-empty-template/./src/components/Stats/SimpleStat.vue","webpack://vue-empty-template/./src/components/Stats/SimpleStat.vue?76ef","webpack://vue-empty-template/./src/components/Modals/TwModal.vue?be65","webpack://vue-empty-template/./src/components/Modals/TwModal.vue","webpack://vue-empty-template/./src/components/Modals/TwModal.vue?9c07","webpack://vue-empty-template/./src/components/Tables/TwTable.vue?cd85","webpack://vue-empty-template/./src/components/Tables/TwTable.vue","webpack://vue-empty-template/./src/components/Tables/TwTable.vue?9661","webpack://vue-empty-template/./src/components/Tables/event.ts","webpack://vue-empty-template/./src/components/Tables/TwTableColumn.vue","webpack://vue-empty-template/./src/components/Tables/TwTableColumn.vue?bad6","webpack://vue-empty-template/./src/components/Tables/TwTableDropdown.vue","webpack://vue-empty-template/./src/components/Tables/TwTableDropdown.vue?86ee","webpack://vue-empty-template/./src/components/Tables/TwTableHeader.vue","webpack://vue-empty-template/./src/components/Tables/TwTableHeader.vue?3a4a","webpack://vue-empty-template/./src/components/Tables/TwTableHeader.vue?33df","webpack://vue-empty-template/./src/components/Tables/TwTableRow.vue","webpack://vue-empty-template/./src/components/Tables/TwTableRow.vue?4c56","webpack://vue-empty-template/./src/components/Tables/TwTableRow.vue?9223","webpack://vue-empty-template/./src/aws-exports.js","webpack://vue-empty-template/./src/main.ts","webpack://vue-empty-template/./src/modules/Invoices/Nav.ts","webpack://vue-empty-template/./src/modules/Invoices/InvoicesMain.vue?f16e","webpack://vue-empty-template/./src/modules/Invoices/InvoicesMain.vue","webpack://vue-empty-template/./src/modules/Invoices/InvoicesMain.vue?f0ff","webpack://vue-empty-template/./src/modules/Invoices/routes.ts","webpack://vue-empty-template/./src/modules/Licensing/Nav.ts","webpack://vue-empty-template/./src/modules/Licensing/LicensingMain.vue?e957","webpack://vue-empty-template/./src/modules/Licensing/LicensingMain.vue","webpack://vue-empty-template/./src/modules/Licensing/LicensingMain.vue?f5cf","webpack://vue-empty-template/./src/modules/Licensing/routes.ts","webpack://vue-empty-template/./src/modules/dashboard/Nav.ts","webpack://vue-empty-template/./src/modules/dashboard/DashboardMain.vue?e6b0","webpack://vue-empty-template/./src/modules/dashboard/DashboardMain.vue","webpack://vue-empty-template/./src/modules/dashboard/DashboardMain.vue?bcf0","webpack://vue-empty-template/./src/modules/dashboard/routes.ts","webpack://vue-empty-template/./src/modules/login/components/SignInForm.vue?0137","webpack://vue-empty-template/./src/modules/login/components/SignInForm.vue","webpack://vue-empty-template/./src/modules/login/components/SignInForm.vue?734a","webpack://vue-empty-template/./src/components/InputGroups/TwConfirmationCode.vue?5c31","webpack://vue-empty-template/./src/components/InputGroups/TwConfirmationCode.vue","webpack://vue-empty-template/./src/components/InputGroups/TwConfirmationCode.vue?d5c5","webpack://vue-empty-template/./src/modules/login/components/ForgotPasswordForm.vue?1439","webpack://vue-empty-template/./src/modules/login/components/ForgotPasswordForm.vue","webpack://vue-empty-template/./src/modules/login/components/ForgotPasswordForm.vue?0ec3","webpack://vue-empty-template/./src/modules/login/components/PasswordExpiredForm.vue?dfb5","webpack://vue-empty-template/./src/modules/login/components/PasswordExpiredForm.vue","webpack://vue-empty-template/./src/modules/login/components/PasswordExpiredForm.vue?7d9a","webpack://vue-empty-template/./src/modules/login/components/RequestAccountForm.vue?ae8a","webpack://vue-empty-template/./src/modules/login/components/RequestAccountForm.vue","webpack://vue-empty-template/./src/modules/login/components/RequestAccountForm.vue?dc74","webpack://vue-empty-template/./src/modules/login/SignInMain.vue?a944","webpack://vue-empty-template/./src/modules/login/SignInMain.vue","webpack://vue-empty-template/./src/modules/login/SignInMain.vue?29d5","webpack://vue-empty-template/./src/layouts/AuthLayout.vue","webpack://vue-empty-template/./src/layouts/AuthLayout.vue?7257","webpack://vue-empty-template/./src/layouts/AuthLayout.vue?922c","webpack://vue-empty-template/./src/modules/login/config.ts","webpack://vue-empty-template/./src/modules/login/routes.ts","webpack://vue-empty-template/./src/modules/profile/MyProfile.vue?0498","webpack://vue-empty-template/./src/modules/profile/MyProfile.vue","webpack://vue-empty-template/./src/modules/profile/MyProfile.vue?f36c","webpack://vue-empty-template/./src/modules/profile/routes.ts","webpack://vue-empty-template/./src/store/system.ts","webpack://vue-empty-template/./src/store/user.ts","webpack://vue-empty-template/./src/utilities/api.ts","webpack://vue-empty-template/./src/layouts/Sidebar/SidebarWithHeader.vue?0bab","webpack://vue-empty-template/./src/layouts/Sidebar/SidebarWithHeader.vue","webpack://vue-empty-template/./src/layouts/Sidebar/SidebarWithHeader.vue?6827","webpack://vue-empty-template/./src/modules/Invoices/components/HowToPayButton.vue?9184","webpack://vue-empty-template/./src/modules/Invoices/components/HowToPayButton.vue","webpack://vue-empty-template/./src/modules/Invoices/components/HowToPayButton.vue?4fa4","webpack://vue-empty-template/./src/modules/Invoices/components/InvoiceDetailsButton.vue?f90b","webpack://vue-empty-template/./src/modules/Invoices/components/InvoiceDetailsButton.vue","webpack://vue-empty-template/./src/modules/Invoices/components/InvoiceDetailsButton.vue?8c79","webpack://vue-empty-template/./src/modules/ sync Nav.ts$/","webpack://vue-empty-template/./src/modules/ sync routes.ts$/","webpack://vue-empty-template/webpack/bootstrap","webpack://vue-empty-template/webpack/runtime/chunk loaded","webpack://vue-empty-template/webpack/runtime/compat get default export","webpack://vue-empty-template/webpack/runtime/define property getters","webpack://vue-empty-template/webpack/runtime/global","webpack://vue-empty-template/webpack/runtime/hasOwnProperty shorthand","webpack://vue-empty-template/webpack/runtime/make namespace object","webpack://vue-empty-template/webpack/runtime/node module decorator","webpack://vue-empty-template/webpack/runtime/publicPath","webpack://vue-empty-template/webpack/runtime/jsonp chunk loading","webpack://vue-empty-template/webpack/startup"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport SidebarWithHeader from \"@/layouts/Sidebar/SidebarWithHeader.vue\"\n\t\n\t// router\n\timport {\n\t\tuseRoute\n\t} from \"vue-router\"\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from \"vue\"\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\n\t// components\n\tconst route = useRoute()\n\tconst isLoaded = ref(true)\n\n\tconst layout = computed(() => {\n\t\treturn route.meta.layout || SidebarWithHeader\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (isLoaded.value)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(layout.value), {\n key: 0,\n class: \"p-0 m-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_view)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","\n\n","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import {\n\tcreateRouter,\n\tcreateWebHistory\n} from \"vue-router\"\n\nimport {\n\tRoute\n} from \"@/types\"\n\nimport {\n\tAuth\n} from 'aws-amplify'\n\n// Import all of the resource routes files\nfunction loadRoutes() {\n\tconst context = require.context(\"@/modules\", true, /routes.ts$/i)\n\treturn context\n\t\t.keys()\n\t\t.map(context) // import module\n\t\t.map((m: any) => m.route) // get `default` export from each resolved module\n}\n\n// Define the routes\nconst routes: Route[] = []\nconst resourceRoutes = loadRoutes()\n\nresourceRoutes.forEach((moduleRoutes) => {\n\tmoduleRoutes.forEach((route: Route) => {\n\t\troutes.push(route)\n\t})\n})\n\n// Create the router instance and pass the `routes` option\nexport const router = createRouter({\n\thistory: createWebHistory(), // use history mode\n\troutes\n})\n\nrouter.beforeEach(async (to, from, next) => {\n\tconst user = await authenticate()\n if(to.name !== 'SignIn' && \n\tto.name !== 'ForgotPassword' &&\n\tto.name !== 'RequestAccount' &&\n\tto.name !== 'ResetPasswordRequested' &&\n\t!user) {\n next({name: 'SignIn', query: {redirect: to.fullPath}})\n }\n else next()\n})\n\nasync function authenticate(){\n try {\n const user = await Auth.currentAuthenticatedUser()\n return user\n }\n catch(e) {\n return false\n }\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"3\",\n cy: \"3\",\n r: \"3\"\n}, null, -1)\nconst _hoisted_2 = [\n _hoisted_1\n]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Remove\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"path\", { d: \"M4 4l6 6m0-6l-6 6\" }, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"absolute -inset-1\" }, null, -1)\n\nimport {\n\t\tonMounted,\n\t\tref\n\t} from 'vue'\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwBadgeFlat',\n props: {\n\t\tborder: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: 'brand'\n\t\t},\n\t\tdot: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tpill: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tremovable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tremoveFunction: {\n\t\t\ttype: Function,\n\t\t\tdefault: () => {}\n\t\t},\n\t\tsmall: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\n\tconst colors = ref('')\n\tconst dotColor = ref('')\n\tconst removeBg = ref('')\n\tconst removeStroke = ref('')\n\n\tonMounted(() => {\n\t\tswitch(props.color) {\n\t\t\tcase 'gray':\n\t\t\t\tcolors.value = 'bg-gray-100 text-gray-700 dark:bg-gray-400/10 dark:text-gray-400'\n\t\t\t\tdotColor.value = 'fill-gray-400 dark:fill-gray-400'\n\t\t\t\tremoveBg.value = 'hover:bg-gray-500/20 dark:hover:bg-gray-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-gray-700/50 group-hover:stroke-gray-700/75 dark:stroke-gray-400/50 dark:group-hover:stroke-gray-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'red':\n\t\t\t\tcolors.value = 'bg-red-100 text-red-700 dark:bg-red-400/10 dark:text-red-400'\n\t\t\t\tdotColor.value = 'fill-red-500 dark:fill-red-400'\n\t\t\t\tremoveBg.value = 'hover:bg-red-600/20 dark:hover:bg-red-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-red-700/50 group-hover:stroke-red-700/75 dark:stroke-red-400/50 dark:group-hover:stroke-red-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'yellow':\n\t\t\t\tcolors.value = 'bg-yellow-100 text-yellow-800 dark:bg-yellow-400/10 dark:text-yellow-500'\n\t\t\t\tdotColor.value = 'fill-yellow-500 dark:fill-yellow-400'\n\t\t\t\tremoveBg.value = 'hover:bg-yellow-600/20 dark:hover:bg-red-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-yellow-800/50 group-hover:stroke-yellow-800/75 dark:stroke-yellow-400/50 dark:group-hover:stroke-yellow-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'green':\n\t\t\t\tcolors.value = 'bg-green-100 text-green-700 dark:bg-green-500/10 dark:text-green-400'\n\t\t\t\tdotColor.value = 'fill-green-500 dark:fill-green-400'\n\t\t\t\tremoveBg.value = 'hover:bg-green-600/20 dark:hover:bg-green-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-green-800/50 group-hover:stroke-green-800/75 dark:stroke-green-400/50 dark:group-hover:stroke-green-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'blue':\n\t\t\t\tcolors.value = 'bg-blue-100 text-blue-700 dark:bg-blue-400/10 dark:text-blue-400'\n\t\t\t\tdotColor.value = 'fill-blue-500 dark:fill-blue-400'\n\t\t\t\tremoveBg.value = 'hover:bg-blue-600/20 dark:hover:bg-blue-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-blue-800/50 group-hover:stroke-blue-800/75 dark:stroke-blue-400/50 dark:group-hover:stroke-blue-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'indigo':\n\t\t\t\tcolors.value = 'bg-indigo-100 text-indigo-700 dark:bg-indigo-400/10 dark:text-indigo-400'\n\t\t\t\tdotColor.value = 'fill-indigo-500 dark:fill-indigo-400'\n\t\t\t\tremoveBg.value = 'hover:bg-indigo-600/20 dark:hover:bg-indigo-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-indigo-700/50 group-hover:stroke-indigo-700/75 dark:stroke-indigo-400/50 dark:group-hover:stroke-indigo-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'purple':\n\t\t\t\tcolors.value = 'bg-purple-100 text-purple-700 dark:bg-purple-400/10 dark:text-purple-400'\n\t\t\t\tdotColor.value = 'fill-purple-500 dark:fill-purple-400'\n\t\t\t\tremoveBg.value = 'hover:bg-purple-600/20 dark:hover:bg-purple-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-violet-700/50 group-hover:stroke-violet-700/75 dark:stroke-purple-400/50 dark:group-hover:stroke-purple-400/75'\n\t\t\t\tbreak\n\t\t\tcase 'pink':\n\t\t\t\tcolors.value = 'bg-pink-100 text-pink-700 dark:bg-pink-400/10 dark:text-pink-400'\n\t\t\t\tdotColor.value = 'fill-pink-500 dark:fill-pink-400'\n\t\t\t\tremoveBg.value = 'hover:bg-pink-600/20 dark:hover:bg-pink-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-pink-800/50 group-hover:stroke-pink-800/75 dark:stroke-pink-400/50 dark:group-hover:stroke-pink-400/75'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tcolors.value = 'bg-gray-100 text-gray-700 dark:bg-gray-400/10 dark:text-gray-400'\n\t\t\t\tdotColor.value = 'fill-gray-400 dark:fill-gray-400'\n\t\t\t\tremoveBg.value = 'hover:bg-gray-500/20 dark:hover:bg-gray-400/20'\n\t\t\t\tremoveStroke.value = 'stroke-gray-700/50 group-hover:stroke-gray-700/75 dark:stroke-gray-400/50 dark:group-hover:stroke-gray-400/75'\n\t\t\t\tbreak\n\t\t}\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass([\n\t\t\t`${colors.value}`, \n\t\t\t__props.small ? 'px-1.5 py-0.5' : 'px-2 py-1',\n\t\t\t__props.pill ? 'rounded-full' : 'rounded-md',\n\t\t\t'inline-flex items-center text-xs font-medium'\n\t\t])\n }, [\n (__props.dot)\n ? (_openBlock(), _createElementBlock(\"svg\", {\n key: 0,\n class: _normalizeClass([dotColor.value, 'h-1.5 w-1.5 mr-1.5']),\n viewBox: \"0 0 6 6\",\n \"aria-hidden\": \"true\"\n }, _hoisted_2, 2))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\"),\n (__props.removable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n class: _normalizeClass([removeBg.value, 'group relative -mr-1 ml-0.5 h-3.5 w-3.5 rounded-sm']),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (__props.removeFunction()))\n }, [\n _hoisted_3,\n (_openBlock(), _createElementBlock(\"svg\", {\n viewBox: \"0 0 14 14\",\n class: _normalizeClass([removeStroke.value, 'h-3.5 w-3.5'])\n }, _hoisted_5, 2)),\n _hoisted_6\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","\n\n","import script from \"./TwBadgeFlat.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwBadgeFlat.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 1 }\nconst _hoisted_2 = { key: 2 }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"animate-spin -ml-1 mr-3 h-5 w-5 text-white\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\"\n}, [\n /*#__PURE__*/_createElementVNode(\"circle\", {\n class: \"opacity-25\",\n cx: \"12\",\n cy: \"12\",\n r: \"10\",\n stroke: \"currentColor\",\n \"stroke-width\": \"4\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n class: \"opacity-75\",\n fill: \"rgba(255, 255, 255)\",\n d: \"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n })\n], -1)\nconst _hoisted_4 = [\n _hoisted_3\n]\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwButton',\n props: { \n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\trounded: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t} \n\t},\n setup(__props) {\n\n//eslint-disable-next-line\n const props = __props\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n type: \"button\",\n class: _normalizeClass([\"button\", { 'rounded-full': __props.rounded }])\n }, [\n (_ctx.$slots.icon)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([\"btn-icon\", {'mx-0': !_ctx.$slots.default}]),\n \"aria-hidden\": \"true\"\n }, [\n _renderSlot(_ctx.$slots, \"icon\")\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default && !__props.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default && __props.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.icon_right)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 3,\n class: _normalizeClass([\"btn-icon btn-icon-right\", {'mx-0': !_ctx.$slots.default}]),\n \"aria-hidden\": \"true\"\n }, [\n _renderSlot(_ctx.$slots, \"icon_right\")\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./TwButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, vShow as _vShow, withDirectives as _withDirectives, unref as _unref, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex justify-between\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\"]\nconst _hoisted_4 = { class: \"mt-2 flex relative\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm\"\n}\nconst _hoisted_6 = { class: \"flex relative w-full\" }\nconst _hoisted_7 = { class: \"flex absolute inset-y-0 left-0\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"pl-3 flex items-center pointer-events-none\"\n}\nconst _hoisted_9 = {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n}\nconst _hoisted_10 = [\"id\"]\nconst _hoisted_11 = { class: \"text-gray-500 sm:text-sm\" }\nconst _hoisted_12 = [\"type\", \"autocomplete\", \"name\", \"id\", \"placeholder\", \"value\"]\nconst _hoisted_13 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_14 = [\"id\"]\nconst _hoisted_15 = { class: \"text-gray-500 sm:text-sm\" }\nconst _hoisted_16 = { class: \"pr-3 flex items-center pointer-events-none\" }\nconst _hoisted_17 = {\n key: 1,\n class: \"inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm\"\n}\nconst _hoisted_18 = [\"id\"]\n\nimport {\n\t\tExclamationCircleIcon\n\t} from \"@heroicons/vue/24/outline\"\n\n\timport {\n\t\tref,\n\t\tnextTick,\n\t\tonMounted,\n\t\tuseSlots\n\t} from \"vue\"\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwInput',\n props: {\n\t\tmodelValue: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null\n\t\t},\n\t\tautocomplete: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\thelp: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\thint: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}, \n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text'\n\t\t},\n\t\tvalidation: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n emits: [\n\t\t'update:modelValue'\n\t],\n setup(__props, { emit: __emit }) {\n\n\tconst props = __props\n\n\tconst emit = __emit\n\n\tconst slots = useSlots()\n\n\t// padding for inline input elements\n\tconst leadingInlinePadding = ref('none')\n\tconst trailingInlinePadding = ref('none')\n\tlet leadingInlineWidth = 0\n\tlet trailingInlineWidth = 0\n\tonMounted(() => {\n\t\tconst leadingEl = document.getElementById(`leading-inline-${props.label}`)\n\t\tif(leadingEl){\n\t\t\tleadingInlineWidth = leadingEl.offsetWidth\n\t\t\tleadingInlinePadding.value = String(Math.ceil(leadingInlineWidth / 4) + 1 + ( slots.icon ? 8 : 0 ) )\n\t\t}\n\n\t\tconst trailingEl = document.getElementById(`trailing-inline-${props.label}`)\n\t\tif(trailingEl){\n\t\t\ttrailingInlineWidth = trailingEl.offsetWidth\n\t\t\ttrailingInlinePadding.value = String(Math.ceil(trailingInlineWidth / 4) + 1 + ( !valid.value ? 8 : 0 ) )\n\t\t}\n\t})\n\n\t// update modeled value\n\tconst onInput = async ({ target }: any) => {\n\t\temit('update:modelValue', target.value)\n\t\tawait nextTick()\n\t\tvalidate()\n\t\treturn\n\t}\n\n\t// input validation\n\tconst valid = ref(true)\n\tfunction validate(){\n\t\tif(props.required && !props.modelValue ){\n\t\t\tvalid.value = false\n\t\t}\n\t\telse if(props.required && props.modelValue){\n\t\t\tvalid.value = true\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.id,\n class: \"block text-sm font-bold leading-6 text-gray-900 dark:text-gray-200\"\n }, _toDisplayString(__props.label), 9, _hoisted_2),\n (__props.hint)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: \"text-sm text-gray-500\",\n id: `hint-${__props.label}`\n }, _toDisplayString(__props.hint), 9, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.$slots.leading_addon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, [\n _createElementVNode(\"span\", null, [\n _renderSlot(_ctx.$slots, \"leading_addon\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.$slots.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", _hoisted_9, [\n _renderSlot(_ctx.$slots, \"icon\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.leading_inline)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n id: `leading-inline-${__props.label}`,\n class: \"pl-3 flex items-center pointer-events-none\"\n }, [\n _createElementVNode(\"span\", _hoisted_11, [\n _renderSlot(_ctx.$slots, \"leading_inline\")\n ])\n ], 8, _hoisted_10))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"input\", {\n type: __props.type ?? 'text',\n autocomplete: __props.autocomplete,\n name: __props.label,\n id: __props.id,\n class: _normalizeClass([\"flex-1 min-w-0 block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-dbBlue sm:text-sm sm:leading-6 dark:bg-white/5 dark:text-white dark:ring-white/10 dark:focus:ring-indigo-500\", [{\n\t\t\t\t\t\t\t'invalid ': !valid.value,\n\t\t\t\t\t\t\t'rounded-none rounded-r-md': _ctx.$slots.leading_addon && !_ctx.$slots.trailing_addon, \n\t\t\t\t\t\t\t'rounded-none rounded-l-md': !_ctx.$slots.leading_addon && _ctx.$slots.trailing_addon, \n\t\t\t\t\t\t\t'rounded-none': _ctx.$slots.leading_addon && _ctx.$slots.trailing_addon, \n\t\t\t\t\t\t\t'rounded-md': !_ctx.$slots.leading_addon && !_ctx.$slots.trailing_addon\n\t\t\t\t\t\t},\n\t\t\t\t\t\t_ctx.$slots.leading_inline ? `pl-${leadingInlinePadding.value}` : '',\n\t\t\t\t\t\t_ctx.$slots.trailing_inline ? `pr-${trailingInlinePadding.value}` : '',\n\t\t\t\t\t]]),\n placeholder: __props.placeholder,\n onInput: onInput,\n value: __props.modelValue\n }, null, 42, _hoisted_12),\n _createElementVNode(\"div\", _hoisted_13, [\n _withDirectives(_createElementVNode(\"div\", {\n id: `trailing-inline-${__props.label}`,\n class: \"pr-3 flex items-center pointer-events-none\"\n }, [\n _createElementVNode(\"span\", _hoisted_15, [\n _renderSlot(_ctx.$slots, \"trailing_inline\")\n ])\n ], 8, _hoisted_14), [\n [_vShow, _ctx.$slots.trailing_inline && valid.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_unref(ExclamationCircleIcon), {\n class: \"h-5 w-5 text-red-500\",\n \"aria-hidden\": \"true\"\n })\n ], 512), [\n [_vShow, !valid.value]\n ])\n ])\n ]),\n (_ctx.$slots.trailing_addon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, [\n _createElementVNode(\"span\", null, [\n _renderSlot(_ctx.$slots, \"trailing_addon\")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _withDirectives(_createElementVNode(\"p\", {\n class: \"mt-2 text-sm text-gray-500\",\n id: `help-${__props.label}`\n }, _toDisplayString(__props.help), 9, _hoisted_18), [\n [_vShow, valid.value && __props.help || !valid.value && !__props.validation]\n ]),\n _withDirectives(_createElementVNode(\"p\", { class: \"mt-1 text-sm text-red-600 -mb-6 dark:text-red-500 font-bold\" }, _toDisplayString(__props.validation), 513), [\n [_vShow, !valid.value]\n ])\n ]))\n}\n}\n\n})","\n\n\n","import script from \"./TwInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwInput.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwInput.vue?vue&type=style&index=0&id=2100088a&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex justify-center items-center\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"path\", {\n class: \"fill-gray-200\",\n d: \"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z\"\n}, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"path\", {\n class: \"fill-gray-800\",\n d: \"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z\"\n}, null, -1)\nconst _hoisted_4 = [\n _hoisted_2,\n _hoisted_3\n]\n\n\n\n\t\n\tconst __default__ = { name: 'TwLoading' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tclass: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createElementBlock(\"svg\", {\n class: _normalizeClass(['h-6 w-6 animate-spin', props.class]),\n viewBox: \"3 3 18 18\"\n }, _hoisted_4, 2))\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./TwLoading.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwLoading.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"truncate w-full\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"text-sm text-gray-500 font-medium\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-6 h-4 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1)\nconst _hoisted_4 = [\n _hoisted_3\n]\n\n\n\tconst __default__ = { name: 'SimpleStat' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tbadge: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tediting: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tlabelClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: '—'\n\t\t},\n\t\tvalue: {\n\t\t\ttype: [ String, Number ],\n\t\t\tdefault: null\n\t\t},\n\t\tvalueClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tunit: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"dt\", {\n class: _normalizeClass([__props.labelClass, 'truncate text-sm font-medium text-gray-500'])\n }, _toDisplayString(props.label), 3),\n _withDirectives(_createElementVNode(\"div\", null, [\n (_ctx.$slots.custom)\n ? (_openBlock(), _createElementBlock(\"dd\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"custom\")\n ]))\n : (_openBlock(), _createElementBlock(\"dd\", {\n key: 1,\n class: _normalizeClass([__props.valueClass, 'mt-1 text-3xl font-semibold tracking-tight text-gray-900 flex items-baseline gap-x-2'])\n }, [\n _renderSlot(_ctx.$slots, \"default\"),\n (__props.unit)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _toDisplayString(__props.unit), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n ], 512), [\n [_vShow, !__props.loading]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, _hoisted_4, 512), [\n [_vShow, __props.loading]\n ])\n ], 64))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./SimpleStat.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SimpleStat.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/card-header-bg.png'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" }, null, -1)\nconst _hoisted_2 = { class: \"fixed inset-0 z-50 w-screen overflow-y-auto\" }\nconst _hoisted_3 = { class: \"flex min-h-full items-end justify-center text-center sm:items-center sm:p-8\" }\nconst _hoisted_4 = { class: \"flex flex-wrap items-center justify-between sm:flex-nowrap px-4 py-5 sm:px-6 bg-white relative overflow-hidden border-b border-gray-200\" }\nconst _hoisted_5 = { class: \"card-heading\" }\nconst _hoisted_6 = { class: \"flex-shrink-0\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:flex absolute top-0 inset-x-0 justify-center overflow-hidden pointer-events-none opacity-20\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[108rem] overflow-clip over flex-none flex justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"picture\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\",\n class: \"w-[71.75rem] flex-none max-w-none dark:hidden scale-x-[-1]\",\n decoding: \"async\"\n })\n ])\n ])\n], -1)\nconst _hoisted_8 = {\n id: \"modal-content\",\n class: \"px-4\"\n}\n\nimport {\n\t\tref\n\t} from 'vue'\n\timport {\n\t\tDialog,\n\t\tDialogPanel,\n\t\tDialogTitle,\n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\timport {\n\t\tXMarkIcon\n\t} from '@heroicons/vue/24/outline'\n\n\t/*eslint-disable*/\n\t\n // name the component\n\tconst __default__ = { name: 'TwModal' }\n \nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tmodalMaxWidth: {\n\t\t\ttype: String,\n\t\t\tdefault: 'max-w-screen-xl'\n\t\t},\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tcloseModal:{\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t}\n\t},\n setup(__props, { expose: __expose }) {\n\n\tconst props = __props\n \n\tconst open = ref(false)\n\n\t__expose({\n\t\topen\n\t})\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(TransitionRoot), {\n as: \"template\",\n show: open.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"relative z-40\",\n onClose: _cache[1] || (_cache[1] = ($event: any) => (open.value = false))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogPanel), {\n class: _normalizeClass([__props.modalMaxWidth,'relative transform overflow-x-hidden overflow-y-auto rounded-lg bg-white h-200 pb-4 text-left shadow-xl transition-all sm:my-8 w-full sm:pb-4'])\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(DialogTitle), null, {\n default: _withCtx(() => [\n _createElementVNode(\"h2\", _hoisted_5, _toDisplayString(__props.title), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_unref(XMarkIcon), {\n class: \"h-5 w-5 text-gray-700 hover:text-brand-500 cursor-pointer\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (open.value = false))\n })\n ]),\n _hoisted_7\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ]),\n _: 3\n }, 8, [\"class\"])\n ]),\n _: 3\n })\n ])\n ])\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"show\"]))\n}\n}\n\n})","\n\n \n\n \n\n","import script from \"./TwModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TwModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TwModal.vue?vue&type=style&index=0&id=658f06ed&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, vModelCheckbox as _vModelCheckbox, createBlock as _createBlock, createTextVNode as _createTextVNode, Transition as _Transition, vModelText as _vModelText, resolveComponent as _resolveComponent, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"mt-4 flex items-center justify-between\"\n}\nconst _hoisted_2 = { class: \"text-xl font-semibold text-gray-900\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"mt-2 text-sm text-gray-700\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 bg-black bg-opacity-25\" }, null, -1)\nconst _hoisted_5 = { class: \"fixed inset-0 z-40 flex\" }\nconst _hoisted_6 = { class: \"flex items-center justify-between px-4\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-medium text-gray-900\" }, \" Filters \", -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close menu\", -1)\nconst _hoisted_9 = { class: \"mt-4\" }\nconst _hoisted_10 = { class: \"-mx-2 -my-3 flow-root\" }\nconst _hoisted_11 = { class: \"font-medium text-gray-900\" }\nconst _hoisted_12 = { class: \"ml-6 flex items-center\" }\nconst _hoisted_13 = { class: \"mt-4\" }\nconst _hoisted_14 = [\"id\", \"checked\", \"indeterminate\", \"onChange\"]\nconst _hoisted_15 = [\"for\"]\nconst _hoisted_16 = { class: \"space-y-6 pt-4\" }\nconst _hoisted_17 = [\"id\", \"name\", \"value\", \"onUpdate:modelValue\"]\nconst _hoisted_18 = [\"for\"]\nconst _hoisted_19 = {\n key: 1,\n \"aria-labelledby\": \"filter-heading\"\n}\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"h2\", {\n id: \"filter-heading\",\n class: \"sr-only\"\n}, \" Filters \", -1)\nconst _hoisted_21 = { class: \"flex items-center justify-between\" }\nconst _hoisted_22 = { class: \"flext items-center justify-center text-sm font-medium text-gray-700\" }\nconst _hoisted_23 = { class: \"space-y-2 divide-y divide-gray-200\" }\nconst _hoisted_24 = { class: \"px-3 w-40\" }\nconst _hoisted_25 = [\"id\", \"checked\", \"indeterminate\", \"onChange\"]\nconst _hoisted_26 = [\"for\"]\nconst _hoisted_27 = { class: \"space-y-2 pt-3 px-3\" }\nconst _hoisted_28 = [\"id\", \"name\", \"value\", \"onUpdate:modelValue\"]\nconst _hoisted_29 = [\"for\"]\nconst _hoisted_30 = {\n key: 1,\n class: \"w-full\"\n}\nconst _hoisted_31 = { class: \"relative mt-3 flex items-center\" }\nconst _hoisted_32 = { class: \"absolute items-center left-0 pl-1.5\" }\nconst _hoisted_33 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"search\",\n class: \"sr-only\"\n}, \" Search \", -1)\nconst _hoisted_34 = [\"placeholder\"]\nconst _hoisted_35 = { class: \"flex flex-col\" }\nconst _hoisted_36 = { class: \"-my-2 -mx-4 sm:-mx-6 lg:-mx-8\" }\nconst _hoisted_37 = { class: \"inline-block min-w-full py-2 align-middle md:px-6 lg:px-8\" }\nconst _hoisted_38 = { class: \"overflow-hidden\" }\nconst _hoisted_39 = { class: \"min-w-full divide-y table-fixed\" }\nconst _hoisted_40 = {\n key: 0,\n scope: \"col\",\n class: \"relative items-center sm:w-16 sm:px-3\"\n}\nconst _hoisted_41 = [\"checked\", \"indeterminate\"]\nconst _hoisted_42 = {\n key: 0,\n class: \"divide-y divide-gray-200 bg-white\"\n}\nconst _hoisted_43 = {\n key: 0,\n class: \"relative w-12 px-6 sm:w-16 sm:px-8\"\n}\nconst _hoisted_44 = {\n key: 0,\n class: \"absolute inset-y-0 left-0 w-0.5 bg-brand-500\"\n}\nconst _hoisted_45 = [\"value\"]\nconst _hoisted_46 = {\n class: \"text-center w-full p-4\",\n colspan: \"100%\"\n}\nconst _hoisted_47 = {\n key: 1,\n class: \"divide-y divide-gray-200 bg-white\"\n}\nconst _hoisted_48 = {\n colspan: \"100%\",\n class: \"text-center whitespace-nowrap px-3 py-4 text-sm text-gray-500\"\n}\nconst _hoisted_49 = {\n class: \"text-center w-full p-4\",\n colspan: \"100%\"\n}\n\nimport {\n\t\tChevronDownIcon as ChevronDownIconMini,\n\t\tFunnelIcon as FunnelIconMini\n\t} from '@heroicons/vue/20/solid'\n\timport {\n\t\tref,\n\t\tcomputed\n\t} from 'vue'\n\n\timport {\n\t\tXMarkIcon,\n\t\tMagnifyingGlassIcon\n\t} from \"@heroicons/vue/24/outline\"\n\t\n\timport {\n\t\tDialog,\n\t\tDialogPanel,\n\t\tDisclosure,\n\t\tDisclosureButton,\n\t\tDisclosurePanel,\n\t\tPopover,\n\t\tPopoverButton,\n\t\tPopoverGroup,\n\t\tPopoverPanel,\n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\n\t\n// name the component\n\tconst __default__ = { name: 'TwTable' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tcheckable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tdata: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tdefaultSort: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {prop: null, order: 'ASC'}}\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tfilterable:{\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tfilters:{\n\t\t\ttype: Array[{label: String, options: Array}],\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tfilterFunction:{\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tmultiRowActions: {\n\t\t\ttype: Array, \n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"No Data\"\n\t\t},\n\t\trowActions: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tsearchable:{\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tsearchMethod:{\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tsearchPlaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Search...\"\n\t\t},\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\n\tconst selectedRows = ref([])\n\tconst indeterminate = computed(()=> selectedRows.value.length > 0 && selectedRows.value.length < props.data.length)\n\tconst searchInput = ref('')\n\n\n\t// #region filters\n\tconst filtersOpen = ref(true)\n\n\t/**\n\t * The value of options selected for each filter\n\t * @yields {array}\n\t */\n\tconst filterOptionsSelected = ref(props.filters.map(() => {return []}))\n\n\t/**\n\t * The number of options selected for each filter\n\t * @yields {array}\n\t */\n\tconst numFilterOptionsSelected = computed(() => {\n\t\treturn filterOptionsSelected.value.map((options:[]) => {\n\t\t\treturn options.length\n\t\t})\n\t})\n\n\t/**\n\t * If the selected options for each filter is mixed checked/unchecked\n\t * @yields {array}\n\t */\n\tconst filtersIndeterminate = computed(() => {\n\t\treturn filterOptionsSelected.value.map((options:[], i:number) => {\n\t\t\treturn options.length > 0 && options.length < props.filters[i].options.length\n\t\t})\n\t})\n\n\t/**\n\t * Generates text to indicate how many filters are applied\n\t * @yields {String}\n\t */\n\tconst filtersApplied = computed(() => {\n\t\tlet numFiltersApplied = filterOptionsSelected.value.filter((options:[]) => {\n\t\t\treturn options.length > 0\n\t\t}).length\n\n\t\treturn `${numFiltersApplied || 'No'} Filter${numFiltersApplied !== 1 ? 's' : ''} Applied`\n\t})\n\n\t/**\n\t * Runs filter function specified in the fitlers prop after selecting/deselecting all\n\t * @function selectAll\n\t * @param {Object} event - The event being fired\n\t * @param {Number} filterIndex - The index of the filter being selected\n\t */\n\tfunction selectAll(event:any, filterIndex:number) {\n\t\tfilterOptionsSelected.value[filterIndex] = event.target.checked ? props.filters[filterIndex].options.map((o:{value:string,label:string}) => o.value) : []\n\t\tdoFiltering()\n\t}\n\n\t/**\n\t * Runs filter function specified in the fitlers prop. Function parameter in parent component is a 2d array of selected options\n\t * @function doFiltering\n\t */\n\tfunction doFiltering() {\n\t\tprops.filterFunction(filterOptionsSelected.value)\n\t}\n\t// #endregion\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_dropdown = _resolveComponent(\"tw-table-dropdown\")!\n const _component_tw_table_header = _resolveComponent(\"tw-table-header\")!\n const _component_tw_table_row = _resolveComponent(\"tw-table-row\")!\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (__props.title || __props.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(__props.title), 1),\n (__props.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(__props.description), 1))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.filterable)\n ? (_openBlock(), _createBlock(_unref(TransitionRoot), {\n key: 0,\n as: \"template\",\n show: filtersOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"relative z-40 sm:hidden\",\n onClose: _cache[2] || (_cache[2] = ($event: any) => (filtersOpen.value = false))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition-opacity ease-linear duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity ease-linear duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition ease-in-out duration-300 transform\",\n \"enter-from\": \"translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transition ease-in-out duration-300 transform\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogPanel), { class: \"relative ml-auto flex h-full w-full max-w-xs flex-col overflow-y-auto bg-white py-4 pb-6 shadow-xl\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"-mr-2 flex h-10 w-10 items-center justify-center rounded-md bg-white p-2 text-gray-400 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-brand-500\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (filtersOpen.value = false))\n }, [\n _hoisted_8,\n _createVNode(_unref(XMarkIcon), {\n class: \"h-6 w-6\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]),\n _createElementVNode(\"form\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.filters, (filter, filterIndex) => {\n return (_openBlock(), _createBlock(_unref(Disclosure), {\n as: \"div\",\n key: filter.label,\n class: \"border-t border-gray-200 px-4 py-6\"\n }, {\n default: _withCtx(({ open }) => [\n _createElementVNode(\"h3\", _hoisted_10, [\n _createVNode(_unref(DisclosureButton), { class: \"flex w-full items-center justify-between bg-white px-2 py-3 text-sm text-gray-400\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(filter.label), 1),\n _withDirectives(_createElementVNode(\"span\", { class: \"ml-1.5 rounded bg-gray-200 py-0.5 px-1.5 text-xs font-semibold tabular-nums text-gray-700\" }, _toDisplayString(numFilterOptionsSelected.value[filterIndex]), 513), [\n [_vShow, numFilterOptionsSelected.value[filterIndex] > 0]\n ])\n ]),\n _createElementVNode(\"span\", _hoisted_12, [\n _createVNode(_unref(ChevronDownIconMini), {\n class: _normalizeClass([open ? '-rotate-180' : 'rotate-0', 'h-5 w-5 transform transition-all duration-300']),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _createVNode(_unref(DisclosurePanel), { class: \"space-y-2 divide-y divide-gray-200\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"input\", {\n id: `filter-all-mobile-${filter.label}`,\n type: \"checkbox\",\n checked: filtersIndeterminate.value[filterIndex] || filterOptionsSelected.value[filterIndex].length === filter.options.length,\n indeterminate: filtersIndeterminate.value[filterIndex],\n onChange: (e) => selectAll(e, filterIndex),\n class: \"h-4 w-4 rounded border-gray-300 text-brand-600 focus:ring-brand-500\"\n }, null, 40, _hoisted_14),\n _createElementVNode(\"label\", {\n for: `filter-all-mobile-${filter.label}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, \" Select All \", 8, _hoisted_15)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filter.options, (option, optionIdx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.value + '-mobile',\n class: \"flex items-center\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n id: `filter-mobile-${filter.label}-${optionIdx}`,\n name: `${filter.label}`,\n value: option.value,\n \"onUpdate:modelValue\": ($event: any) => ((filterOptionsSelected.value[filterIndex]) = $event),\n onChange: _cache[1] || (_cache[1] = ($event: any) => (doFiltering())),\n type: \"checkbox\",\n class: \"h-4 w-4 rounded border-gray-300 text-brand-600 focus:ring-brand-500\"\n }, null, 40, _hoisted_17), [\n [_vModelCheckbox, filterOptionsSelected.value[filterIndex]]\n ]),\n _createElementVNode(\"label\", {\n for: `filter-mobile-${filter.label}-${optionIdx}`,\n class: \"ml-3 text-sm text-gray-500\"\n }, _toDisplayString(option.label), 9, _hoisted_18)\n ]))\n }), 128))\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]))\n : _createCommentVNode(\"\", true),\n (__props.filterable)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"flex items-center group text-sm font-medium text-gray-700 sm:hidden\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (filtersOpen.value = true))\n }, [\n _createVNode(_unref(FunnelIconMini), {\n class: \"inline h-5 w-5 mr-1 text-gray-400 group-hover:text-gray-500\",\n \"aria-hidden\": \"true\"\n }),\n _createTextVNode(\" \" + _toDisplayString(filtersApplied.value), 1)\n ]),\n _createVNode(_unref(PopoverGroup), { class: \"hidden sm:flex sm:items-baseline sm:space-x-8\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_unref(FunnelIconMini), {\n class: \"inline h-5 w-5 mr-1 text-gray-400\",\n \"aria-hidden\": \"true\"\n }),\n _createTextVNode(\" \" + _toDisplayString(filtersApplied.value), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.filters, (filter, filterIndex) => {\n return (_openBlock(), _createBlock(_unref(Popover), {\n as: \"div\",\n key: filter.label,\n id: `desktop-menu-${filterIndex}`,\n class: \"relative inline-block text-left\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(PopoverButton), { class: \"group inline-flex items-center justify-center text-sm font-medium text-gray-700 hover:text-gray-900\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(filter.label), 1),\n _withDirectives(_createElementVNode(\"span\", { class: \"ml-1.5 rounded bg-gray-200 py-0.5 px-1.5 text-xs font-semibold tabular-nums text-gray-700\" }, _toDisplayString(numFilterOptionsSelected.value[filterIndex]), 513), [\n [_vShow, numFilterOptionsSelected.value[filterIndex] > 0]\n ]),\n _createVNode(_unref(ChevronDownIconMini), {\n class: \"-mr-1 ml-1 h-5 w-5 flex-shrink-0 text-gray-400 group-hover:text-gray-500\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _: 2\n }, 1024)\n ]),\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(PopoverPanel), { class: \"absolute right-0 z-10 mt-2 origin-top-right rounded-md bg-white py-3 shadow-2xl ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"form\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"input\", {\n id: `filter-all-${filter.label}`,\n type: \"checkbox\",\n checked: filtersIndeterminate.value[filterIndex] || filterOptionsSelected.value[filterIndex].length === filter.options.length,\n indeterminate: filtersIndeterminate.value[filterIndex],\n onChange: (e) => selectAll(e, filterIndex),\n class: \"h-4 w-4 rounded border-gray-300 text-brand-600 focus:ring-brand-500\"\n }, null, 40, _hoisted_25),\n _createElementVNode(\"label\", {\n for: `filter-all-${filter.label}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, \" Select All \", 8, _hoisted_26)\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filter.options, (option, optionIdx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.value,\n class: \"flex items-center\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n id: `filter-${filter.label}-${optionIdx}`,\n name: `${filter.label}[]`,\n value: option.value,\n \"onUpdate:modelValue\": ($event: any) => ((filterOptionsSelected.value[filterIndex]) = $event),\n onChange: _cache[4] || (_cache[4] = ($event: any) => (doFiltering())),\n type: \"checkbox\",\n class: \"h-4 w-4 rounded border-gray-300 text-brand-600 focus:ring-brand-500\"\n }, null, 40, _hoisted_28), [\n [_vModelCheckbox, filterOptionsSelected.value[filterIndex]]\n ]),\n _createElementVNode(\"label\", {\n for: `filter-${filter.label}-${optionIdx}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, _toDisplayString(option.label), 9, _hoisted_29)\n ]))\n }), 128))\n ])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"id\"]))\n }), 128))\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (__props.searchable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(_unref(MagnifyingGlassIcon), {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_33,\n _withDirectives(_createElementVNode(\"input\", {\n type: \"text\",\n name: \"search\",\n id: \"search\",\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((searchInput).value = $event)),\n placeholder: __props.searchPlaceholder,\n onChange: _cache[6] || (_cache[6] = ($event: any) => (__props.searchMethod(searchInput.value))),\n class: \"block rounded-md border-gray-300 pl-8 pr-12 shadow-sm focus:border-brand-500 focus:ring-brand-500 sm:text-sm w-full\"\n }, null, 40, _hoisted_34), [\n [_vModelText, searchInput.value]\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"div\", _hoisted_36, [\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"table\", _hoisted_39, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n (__props.checkable)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_40, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-brand-500 focus:ring-brand-500 sm:left-6\",\n checked: indeterminate.value || selectedRows.value.length === __props.data.length,\n indeterminate: indeterminate.value,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (selectedRows.value=$event.target.checked ? __props.data.map((r) => r.id) : []))\n }, null, 40, _hoisted_41),\n (selectedRows.value.length > 0)\n ? (_openBlock(), _createBlock(_component_tw_table_dropdown, {\n key: 0,\n class: \"py-3 -mr-12 ml-4 pr-4\",\n items: __props.multiRowActions,\n position: \"left\",\n data: __props.data,\n \"selected-table-rows\": selectedRows.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(ChevronDownIconMini))\n ]),\n _: 1\n }, 8, [\"items\", \"data\", \"selected-table-rows\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tw_table_header, { \"default-sort\": __props.defaultSort }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"default-sort\"])\n ])\n ]),\n (__props.data.length>0)\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_42, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.data, (row) => {\n return (_openBlock(), _createElementBlock(\"tr\", { key: row }, [\n (__props.checkable)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_43, [\n (selectedRows.value.includes(row.id))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_44))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-brand-500 focus:ring-brand-500 sm:left-6\",\n value: row.id,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((selectedRows).value = $event))\n }, null, 8, _hoisted_45), [\n [_vModelCheckbox, selectedRows.value]\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tw_table_row, { row: row }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 2\n }, 1032, [\"row\"])\n ]))\n }), 128)),\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_46, [\n _createVNode(_component_tw_loading)\n ])\n ], 512), [\n [_vShow, __props.loading]\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"tbody\", _hoisted_47, [\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_48, _toDisplayString(__props.placeholder), 1)\n ], 512), [\n [_vShow, !__props.loading]\n ]),\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_49, [\n _createVNode(_component_tw_loading)\n ])\n ], 512), [\n [_vShow, __props.loading]\n ])\n ]))\n ])\n ])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./TwTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTable.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","class Event{\n\tevents: any\n\n\tconstructor(){\n\t\tthis.events = {}\n\t}\n\n\ton(eventName: string, fn: any) {\n\t\tthis.events[eventName] = this.events[eventName] || []\n\t\tthis.events[eventName].push(fn)\n\t}\n\n\toff(eventName: string, fn: any) {\n\t\tif (this.events[eventName]) {\n\t\t\tfor (let i = 0; i < this.events[eventName].length; i++) {\n\t\t\t\tif (this.events[eventName][i] === fn) {\n\t\t\t\t\tthis.events[eventName].splice(i, 1)\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\ttrigger(eventName: string, data: any) {\n\t\tif (this.events[eventName]) {\n\t\t\tthis.events[eventName].forEach(function(fn: any) {\n\t\t\t\tfn(data)\n\t\t\t})\n\t\t}\n\t}\n}\n\nexport default new Event()","\n\n","import script from \"./TwTableColumn.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TwTableColumn.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n","import script from \"./TwTableDropdown.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TwTableDropdown.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\n\n\n\t// eslint-disable-next-line\n\t\n// name the component\n\tconst __default__ = { name: 'TwTableHeader' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tdefaultSort: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {prop: null, order: 'ASC'}}\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", { ref: \"column\" })\n}\n}\n\n})","import script from \"./TwTableHeader.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTableHeader.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\n\n\n\t// eslint-disable-next-line\n\t\n// name the component\n\tconst __default__ = { name: 'TwTableRow' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\trow: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {}}\n\t\t}\n\t},\n setup(__props) {\n\n\tconst props = __props\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\")\n}\n}\n\n})","import script from \"./TwTableRow.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTableRow.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","/* eslint-disable */\n// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"us-east-2\",\n \"aws_cloud_logic_custom\": [\n {\n \"name\": \"fmDataAPI\",\n \"endpoint\": \"https://dyx5ypd5dh.execute-api.us-east-2.amazonaws.com/production\",\n \"region\": \"us-east-2\"\n }\n ],\n \"aws_cognito_identity_pool_id\": \"us-east-2:9c4cb01c-56bd-4383-b7ee-5ce8d6cf61af\",\n \"aws_cognito_region\": \"us-east-2\",\n \"aws_user_pools_id\": \"us-east-2_oXv34ZnAA\",\n \"aws_user_pools_web_client_id\": \"57srqseg9g4g61c812lfn0vpn\",\n \"oauth\": {},\n \"aws_cognito_username_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_social_providers\": [],\n \"aws_cognito_signup_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_mfa_configuration\": \"OFF\",\n \"aws_cognito_mfa_types\": [\n \"SMS\"\n ],\n \"aws_cognito_password_protection_settings\": {\n \"passwordPolicyMinLength\": \"8\",\n \"passwordPolicyCharacters\": []\n },\n \"aws_cognito_verification_mechanisms\": [\n \"EMAIL\"\n ]\n};\n\n\nexport default awsmobile;\n","/* eslint-disable */\nimport { createApp } from \"vue\"\nimport App from \"./App.vue\"\nimport { router } from \"@/router/index\"\nimport \"@/assets/css/index.css\"\nimport { createPinia } from \"pinia\"\n\nimport TwBadgeFlat from '@/components/Badges/TwBadgeFlat.vue'\nimport TwButton from '@/components/Buttons/TwButton.vue'\nimport TwInput from '@/components/InputGroups/TwInput.vue'\nimport TwLoading from '@/components/Loading/TwLoading.vue'\nimport SimpleStat from '@/components/Stats/SimpleStat.vue'\nimport TwModal from '@/components/Modals/TwModal.vue'\nimport TwTable from '@/components/Tables/TwTable.vue'\nimport TwTableColumn from '@/components/Tables/TwTableColumn.vue'\nimport TwTableDropdown from '@/components/Tables/TwTableDropdown.vue'\nimport TwTableHeader from '@/components/Tables/TwTableHeader.vue'\nimport TwTableRow from '@/components/Tables/TwTableRow.vue'\n\n// configure amplify\nimport { Amplify } from 'aws-amplify'\nimport awsconfig from './aws-exports'\nAmplify.configure(awsconfig)\n\nAmplify.configure({\n\tAPI: {\n\t\tendpoints: [\n\t\t {\n\t\t\tname: \"fmDataAPI\",\n\t\t\tendpoint: process.env.VUE_APP_API_URL,\n\t\t }\n\t\t],\n\t}\n})\n\nconst pinia = createPinia()\nconst app = createApp(App)\n\napp.component(\"tw-badge-flat\", TwBadgeFlat)\napp.component(\"tw-button\", TwButton)\napp.component(\"tw-loading\", TwLoading)\napp.component(\"tw-input\", TwInput)\napp.component(\"tw-simple-stat\", SimpleStat)\napp.component(\"tw-table\", TwTable)\napp.component(\"tw-table-column\", TwTableColumn)\napp.component(\"tw-table-dropdown\", TwTableDropdown)\napp.component(\"tw-table-header\", TwTableHeader)\napp.component(\"tw-table-row\", TwTableRow)\napp.component(\"tw-modal\", TwModal)\n\napp.use(pinia)\napp.use(router)\napp.mount(\"#app\")\n","import {\n\tCurrencyDollarIcon\n} from '@heroicons/vue/24/outline'\nimport {\n\tNav\n} from '@/types' // must be imported since file contains an export statement\n\nexport const nav: Nav = { \n name: 'Invoices', \n to: {name: 'Invoices'}, \n icon: CurrencyDollarIcon,\n position: 1,\n show: true,\n\tmodule: \"invoices\"\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '@/assets/card-header-bg.png'\n\n\nconst _hoisted_1 = { class: \"h-full\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full mb-5 flex justify-between\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", { class: \"text-3xl font-black text-dbBlue\" }, \" Invoices \")\n], -1)\nconst _hoisted_3 = { class: \"grid grid-cols-2 gap-4 sm:gap-6 lg:gap-8\" }\nconst _hoisted_4 = { class: \"card col-span-2\" }\nconst _hoisted_5 = { class: \"flex flex-wrap items-center justify-between sm:flex-nowrap px-4 py-[14px] sm:px-6 bg-white relative overflow-hidden\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"card-heading\" }, \" All Invoices \")\n], -1)\nconst _hoisted_7 = { class: \"flex-shrink-0\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:flex absolute top-0 inset-x-0 justify-center overflow-hidden pointer-events-none opacity-20\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[108rem] overflow-clip over flex-none flex justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"picture\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\",\n class: \"w-[71.75rem] flex-none max-w-none dark:hidden scale-x-[-1]\",\n decoding: \"async\"\n })\n ])\n ])\n], -1)\nconst _hoisted_9 = { class: \"px-4 py-5 sm:p-6\" }\n\nimport api from '@/utilities/api'\n\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// components\n\timport InvoiceDetailsButton from \"./components/InvoiceDetailsButton.vue\"\n\timport HowToPayButton from \"./components/HowToPayButton.vue\"\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from \"vue\"\n\n\t\n\tconst __default__ = { name: 'InvoicesMain' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst loading = ref(true)\n\tconst todayDate = new Date()\n\tconst invoices = ref>([])\n\n\tconst currencyFormatter = new Intl.NumberFormat(\"en-US\", {\n\t\tstyle: \"currency\",\n\t\tcurrency: \"USD\",\n\t})\n\n\tonMounted(() => {\n\t\tgetInvoices()\n\t})\n\n\tasync function getInvoices() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tconst user = await Auth.currentAuthenticatedUser()\n\n\t\t\tconst body = {\n\t\t\t\taction: \"invoiceList\",\n\t\t\t\tpayload: {\n\t\t\t\t\tid: user.attributes['custom:fm_contact_id'],\n\t\t\t\t\tcompanyID: user.attributes['custom:fm_company_id']\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst response = await api(\"post\", \"fmDataAPI\", \"/fmDataAPI\", body)\n\t\t\tconst scriptResult = JSON.parse(response.response.scriptResult)\n\t\t\tconst result = scriptResult.result.data\n\n\t\t\tlet _invoices = result\n\n\t\t\t// filter pending invoices for now\n\t\t\t_invoices = _invoices.filter((invoice: any) => {\n\t\t\t\treturn invoice.status != \"Pending\"\n\t\t\t})\n\t\t\t_invoices = _invoices.filter((invoice: any) => {\n\t\t\t\treturn invoice.status != \"Cancelled\"\n\t\t\t})\n\n\t\t\t_invoices.forEach((invoice: any) => {\n\t\t\t\t// split invoices summaries string\n\t\t\t\tinvoice.summaries = invoice.summaries.split(\"\\r\")\n\t\t\t\tlet paymentTerms = invoice.paymentTerms\n\t\t\t\tlet invoiceDate = new Date(invoice.invoiceDate)\n\t\t\t\tif( paymentTerms == \"Net 10\" ||\n\t\t\t\t\tpaymentTerms == \"Net 30\" ||\n\t\t\t\t\tpaymentTerms == \"Net 90\"\n\t\t\t\t) {\n\t\t\t\t\tconst days = paymentTerms.match(/\\d+/g)\n\t\t\t\t\tconst dueDate = new Date(invoiceDate.setDate(invoiceDate.getDate() + parseInt(days[0])))\n\t\t\t\t\tinvoice.dueDate = new Date(dueDate).toLocaleDateString()\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tinvoice.dueDate = invoice.invoiceDate\n\t\t\t\t}\n\n\t\t\t\tif( invoice.status === \"Invoiced\" &&\n\t\t\t\t\tnew Date(invoice.dueDate).getTime() < todayDate.getTime() &&\n\t\t\t\t\tinvoice.amountDue > 0\n\t\t\t\t) {\n\t\t\t\t\tinvoice.status = \"Overdue\"\n\t\t\t\t\tinvoice[\"isOverdue\"] = true\n\t\t\t\t}\n\t\t\t})\n\t\t\tinvoices.value = _invoices\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(HowToPayButton)\n ]),\n _hoisted_8\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_tw_table, {\n data: invoices.value,\n loading: loading.value,\n placeholder: \"No Invoices\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Invoice #\",\n prop: \"invoiceNumber\",\n \"class-name\": \"font-bold text-gray-900\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Amount Due\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", {\n class: _normalizeClass({'text-red-600': row.isOverdue, 'text-yellow-600' : !row.isOverdue && row.status === 'Invoiced'})\n }, _toDisplayString(_unref(currencyFormatter).format(row.amountDue)), 3)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n \"class-name\": \"hidden sm:table-cell\",\n \"header-class-name\": \"hidden sm:table-cell\",\n header: \"Invoice Date\",\n prop: \"invoiceDate\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Due Date\",\n prop: \"dueDate\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n \"class-name\": \"hidden sm:table-cell\",\n \"header-class-name\": \"hidden sm:table-cell\",\n header: \"Status\",\n prop: \"status\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n \"class-name\": \"hidden md:table-cell\",\n \"header-class-name\": \"hidden md:table-cell\",\n header: \"Service Description\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row.services[0]), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"View Details\",\n \"header-class-name\": \"sr-only\",\n \"class-name\": \"text-right\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(InvoiceDetailsButton, { invoice: row }, null, 8, [\"invoice\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\", \"loading\"])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./InvoicesMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./InvoicesMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import InvoicesMain from \"./InvoicesMain.vue\"\nimport SidebarWithHeader from \"@/layouts/Sidebar/SidebarWithHeader.vue\"\nimport {\n\tRoute\n} from \"@/types\"\n\nexport const route: Route[] = [\n\t{\n\t\tpath: \"/invoices\",\n\t\tname: \"Invoices\",\n\t\tcomponent: InvoicesMain,\n\t\tmeta: { \n\t\t\tlayout: SidebarWithHeader,\n\t\t\tmodule: \"invoices\"\n\t\t}\n\t}\n]\n\n","import {\n\tKeyIcon\n} from '@heroicons/vue/24/outline'\nimport {\n\tNav\n} from '@/types'\n\nexport const nav: Nav = { \n name: 'Licensing', \n to: {name: 'Licensing'}, \n icon: KeyIcon, \n position: 2,\n show: true,\n\tmodule: \"licensing\"\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode } from \"vue\"\nimport _imports_0 from '@/assets/card-header-bg.png'\n\n\nconst _hoisted_1 = { class: \"h-full\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full mb-5 flex justify-between\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", { class: \"text-3xl font-black text-dbBlue\" }, \" Licensing \")\n], -1)\nconst _hoisted_3 = { class: \"grid grid-cols-2 gap-4 sm:gap-6 lg:gap-8\" }\nconst _hoisted_4 = { class: \"card col-span-2\" }\nconst _hoisted_5 = /*#__PURE__*/_createStaticVNode(\"

All Licenses

\\\"\\\"
\", 1)\nconst _hoisted_6 = { class: \"px-4 py-5 sm:p-6\" }\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"hidden sm:block\" }, \"Download\", -1)\n\nimport api from '@/utilities/api'\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// components\n\timport {\n\t\tArrowDownTrayIcon as ArrowDownTrayIconMini\n\t} from \"@heroicons/vue/20/solid\"\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from \"vue\"\n\n\t\n\tconst __default__ = { name: 'LicensingMain' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst loading = ref(true)\n\tconst licenses = ref([])\n\n\tconst currencyFormatter = new Intl.NumberFormat(\"en-US\", {\n\t\tstyle: \"currency\",\n\t\tcurrency: \"USD\",\n\t})\n\n\tonMounted(() => {\n\t\tgetLicenses()\n\t})\n\n\tasync function getLicenses() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tconst user = await Auth.currentAuthenticatedUser()\n\t\t\tconst body = {\n\t\t\t\taction: \"licenseList\",\n\t\t\t\tpayload: {\n\t\t\t\t\tid: user.attributes['custom:fm_contact_id']\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst response = await api(\"post\", \"fmDataAPI\", \"/fmDataAPI\", body)\n\t\t\tconst scriptResult = JSON.parse(response.response.scriptResult)\n\t\t\tconst result = scriptResult.result.data.licenses\n\t\t\tlicenses.value = result\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_table, {\n data: licenses.value,\n loading: loading.value,\n placeholder: \"No Licenses\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Contract #\",\n prop: \"productNumber\",\n \"class-name\": \"font-bold text-gray-900\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Expiration Date\",\n prop: \"expirationDate\"\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n \"class-name\": \"hidden sm:table-cell\",\n \"header-class-name\": \"hidden sm:table-cell\",\n header: \"Term Years\",\n prop: \"termYears\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Subtotal\",\n condensed: \"\",\n \"header-class-name\": \"text-right\",\n \"class-name\": \"text-right\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_unref(currencyFormatter).format(row.subtotal)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n condensed: \"\",\n header: \"Download\",\n \"header-class-name\": \"sr-only\",\n \"class-name\": \"text-right\"\n }, {\n default: _withCtx(({row}) => [\n (row.key)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"link\",\n href: 'https://accounts.claris.com/software/license/' + row.key,\n target: \"_blank\"\n }, [\n _hoisted_8,\n _createVNode(_unref(ArrowDownTrayIconMini), { class: \"w-5 h-5 sm:hidden\" })\n ], 8, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\", \"loading\"])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./LicensingMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LicensingMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import LicensingMain from \"./LicensingMain.vue\"\nimport SidebarWithHeader from \"@/layouts/Sidebar/SidebarWithHeader.vue\"\nimport {\n\tRoute\n} from \"@/types\"\n\nexport const route: Route[] = [\n\t{\n\t\tpath: \"/licensing\",\n\t\tname: \"Licensing\",\n\t\tcomponent: LicensingMain,\n\t\tmeta: {\n\t\t\tlayout: SidebarWithHeader,\n\t\t\tmodule: \"licensing\"\n\t\t}\n\t},\n]\n\n","import {\n\tHomeIcon\n} from '@heroicons/vue/24/outline'\nimport {\n\tNav\n} from '@/types'\n\nexport const nav: Nav = { \n name: 'Dashboard', \n to: {name: 'Dashboard'}, \n icon: HomeIcon, \n position: 0,\n show: true,\n\tmodule: \"dashboard\"\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '@/assets/card-header-bg.png'\n\n\nconst _hoisted_1 = { class: \"h-full\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full mb-5 flex justify-between\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", { class: \"text-3xl font-black text-dbBlue\" }, \" Dashboard \")\n], -1)\nconst _hoisted_3 = { class: \"grid grid-cols-2 gap-4 sm:gap-6 lg:gap-8\" }\nconst _hoisted_4 = { class: \"card col-span-2 xl:col-span-1\" }\nconst _hoisted_5 = { class: \"flex flex-wrap items-center justify-between sm:flex-nowrap px-4 py-[14px] sm:px-6 bg-white relative overflow-hidden\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"card-heading\" }, \" Payments \")\n], -1)\nconst _hoisted_7 = { class: \"flex-shrink-0\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:flex absolute top-0 inset-x-0 justify-center overflow-hidden pointer-events-none opacity-30\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[108rem] overflow-clip flex-none flex justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"picture\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\",\n class: \"w-[71.75rem] flex-none max-w-none dark:hidden scale-x-[-1]\",\n decoding: \"async\"\n })\n ])\n ])\n], -1)\nconst _hoisted_9 = { class: \"px-4 py-5 sm:p-6 bg-white z-20\" }\nconst _hoisted_10 = { class: \"grid grid-cols-1 gap-5 sm:grid-cols-3\" }\nconst _hoisted_11 = { class: \"overflow-hidden bg-white\" }\nconst _hoisted_12 = { class: \"overflow-hidden bg-white\" }\nconst _hoisted_13 = { class: \"overflow-hidden bg-white\" }\nconst _hoisted_14 = { class: \"card col-span-2 xl:col-span-1\" }\nconst _hoisted_15 = { class: \"flex flex-wrap items-center justify-between sm:flex-nowrap px-4 py-[14px] sm:px-6 bg-white overflow-hidden relative\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"card-heading\" }, \" Licensing \")\n], -1)\nconst _hoisted_17 = { class: \"flex-shrink-0\" }\nconst _hoisted_18 = [\"href\"]\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:flex absolute top-0 inset-x-0 justify-center overflow-hidden pointer-events-none opacity-30\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[108rem] overflow-clip flex-none flex justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"picture\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\",\n class: \"w-[71.75rem] flex-none max-w-none dark:hidden scale-x-[-1]\",\n decoding: \"async\"\n })\n ])\n ])\n], -1)\nconst _hoisted_20 = { class: \"px-4 py-5 sm:p-6\" }\nconst _hoisted_21 = { class: \"grid grid-cols-1 gap-5 xl:grid-cols-2\" }\nconst _hoisted_22 = { class: \"overflow-hidden bg-white\" }\nconst _hoisted_23 = { class: \"overflow-hidden bg-white\" }\nconst _hoisted_24 = { class: \"card col-span-2\" }\nconst _hoisted_25 = { class: \"flex flex-wrap items-center justify-between sm:flex-nowrap px-4 py-[14px] sm:px-6 bg-white relative overflow-hidden\" }\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"card-heading\" }, \" Current Invoices \")\n], -1)\nconst _hoisted_27 = { class: \"flex-shrink-0\" }\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:flex absolute top-0 inset-x-0 justify-center overflow-hidden pointer-events-none opacity-20\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-[108rem] overflow-clip over flex-none flex justify-end\" }, [\n /*#__PURE__*/_createElementVNode(\"picture\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\",\n class: \"w-[71.75rem] flex-none max-w-none dark:hidden scale-x-[-1]\",\n decoding: \"async\"\n })\n ])\n ])\n], -1)\nconst _hoisted_29 = { class: \"px-4 py-5 sm:p-6\" }\n\nimport api from '@/utilities/api'\n\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// components\n\timport {\n\t\tArrowDownTrayIcon as ArrowDownTrayIconMini,\n\t\tListBulletIcon as ListBulletIconMini\n\t} from \"@heroicons/vue/20/solid\"\n\n\timport InvoiceDetailsButton from \"../Invoices/components/InvoiceDetailsButton.vue\"\n\timport HowToPayButton from \"../Invoices/components/HowToPayButton.vue\"\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from \"vue\"\n\n\t\n\tconst __default__ = { name: 'DashboardMain' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst loading = ref(true)\n\tconst totalOverdue = ref(0)\n\tconst dueSoon = ref(0)\n\tconst invoices = ref>([])\n\tconst licenses = ref>([])\n\tlet todayDate = new Date()\n\n\tconst currencyFormatter = new Intl.NumberFormat(\"en-US\", {\n\t\tstyle: \"currency\",\n\t\tcurrency: \"USD\",\n\t})\n\n\tonMounted(() => {\n\t\tgetDashboard()\n\t})\n\n\tasync function getDashboard() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tconst user = await Auth.currentAuthenticatedUser()\n\n\t\t\tconst body = {\n\t\t\t\taction: \"getDashboard\",\n\t\t\t\tpayload: {\n\t\t\t\t\tid: user.attributes['custom:fm_contact_id'],\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst response = await api(\"post\", \"fmDataAPI\", \"/fmDataAPI\", body)\n\n\t\t\tconst scriptResult = JSON.parse(response.response.scriptResult)\n\t\t\tlicenses.value = scriptResult.result.data.licenses\n\t\t\tlet _invoices = scriptResult.result.data.invoices\n\n\n\t\t\t_invoices = _invoices.filter((invoice: any) => {\n\t\t\t\treturn invoice?.status === \"Invoiced\"\n\t\t\t})\n\n\t\t\t_invoices.forEach((invoice: any) => {\n\t\t\t\t// split invoices summaries string\n\t\t\t\tinvoice.summaries = invoice.summaries.split(\"\\r\")\n\t\t\t\tlet paymentTerms = invoice.paymentTerms\n\t\t\t\tlet invoiceDate = new Date(invoice.invoiceDate)\n\n\t\t\t\tif( paymentTerms == \"Net 10\" ||\n\t\t\t\t\tpaymentTerms == \"Net 30\" ||\n\t\t\t\t\tpaymentTerms == \"Net 90\"\n\t\t\t\t) {\n\t\t\t\t\tconst days = paymentTerms.match(/\\d+/g)\n\t\t\t\t\tconst dueDate = new Date(invoiceDate.setDate(invoiceDate.getDate() + parseInt(days[0])))\n\t\t\t\t\tinvoice.dueDate = new Date(dueDate).toLocaleDateString()\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\tinvoice.dueDate = invoice.invoiceDate\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif( invoice.status === \"Invoiced\" &&\n\t\t\t\t\tnew Date(invoice.dueDate).getTime() < todayDate.getTime() &&\n\t\t\t\t\tinvoice.amountDue > 0\n\t\t\t\t) {\n\t\t\t\t\tinvoice.status = \"Overdue\"\n\t\t\t\t\tinvoice.isOverdue = true\n\t\t\t\t\ttotalOverdue.value += parseFloat(invoice.amountDue)\n\t\t\t\t} \n\t\t\t\telse if( invoice.status === \"Invoiced\" &&\n\t\t\t\t\tnew Date(invoice.dueDate).getTime() >= todayDate.getTime()\n\t\t\t\t) {\n\t\t\t\t\tdueSoon.value += parseFloat(invoice.amountDue)\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tinvoices.value = _invoices\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_simple_stat = _resolveComponent(\"tw-simple-stat\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(HowToPayButton)\n ]),\n _hoisted_8\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"dl\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_simple_stat, {\n loading: loading.value,\n label: \"Overdue\",\n \"value-class\": \"text-red-600\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(currencyFormatter).format(totalOverdue.value)), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_tw_simple_stat, {\n loading: loading.value,\n label: \"Due Soon\",\n \"value-class\": \"text-yellow-600\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(currencyFormatter).format(dueSoon.value)), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_tw_simple_stat, {\n loading: loading.value,\n label: \"Total Outstanding\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(currencyFormatter).format(totalOverdue.value + dueSoon.value)), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"a\", {\n href: 'https://accounts.claris.com/software/license/' + licenses.value[0]?.key,\n target: \"_blank\"\n }, [\n _createVNode(_component_tw_button, { class: \"btn-base btn-indigo w-44\" }, {\n icon_right: _withCtx(() => [\n _createVNode(_unref(ArrowDownTrayIconMini), { class: \"w-5 h-5\" })\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" Download License \")\n ]),\n _: 1\n })\n ], 8, _hoisted_18)\n ]),\n _hoisted_19\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"dl\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_tw_simple_stat, {\n loading: loading.value,\n label: \"License Expires\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(licenses.value[0]?.expirationDate), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_tw_simple_stat, {\n loading: loading.value,\n label: \"Days Until Expiration\",\n unit: \"Days Remaining\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(licenses.value[0]?.daysToExpire), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_router_link, { to: {name: 'Invoices'} }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-indigo w-44\" }, {\n icon_right: _withCtx(() => [\n _createVNode(_unref(ListBulletIconMini), { class: \"w-5 h-5\" })\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" View All Invoices \")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _hoisted_28\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_tw_table, {\n data: invoices.value,\n loading: loading.value,\n placeholder: \"No Open Invoices\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"Invoice #\",\n prop: \"invoiceNumber\",\n \"class-name\": \"font-bold text-gray-900\"\n }),\n _createVNode(_component_tw_table_column, { header: \"Amount Due\" }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", {\n class: _normalizeClass({'text-red-600': row.isOverdue, 'text-yellow-600' : !row.isOverdue && row.status === 'Invoiced'})\n }, _toDisplayString(_unref(currencyFormatter).format(row.total)), 3)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"hidden sm:block\",\n \"header-class-name\": \"hidden sm:block\",\n header: \"Invoice Date\",\n prop: \"invoiceDate\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Due Date\",\n prop: \"dueDate\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"hidden sm:block\",\n \"header-class-name\": \"hidden sm:block\",\n header: \"Status\",\n prop: \"status\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"View Details\",\n \"header-class-name\": \"sr-only\",\n \"class-name\": \"text-right\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(InvoiceDetailsButton, { invoice: row }, null, 8, [\"invoice\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\", \"loading\"])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./DashboardMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DashboardMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import DashboardMain from \"./DashboardMain.vue\"\nimport SidebarWithHeader from \"@/layouts/Sidebar/SidebarWithHeader.vue\"\nimport {\n\tRoute\n} from \"@/types\"\n\nexport const route: Route[] = [\n\t{\n\t\tpath: \"/dashboard\",\n\t\tname: \"Dashboard\",\n\t\tcomponent: DashboardMain,\n\t\tmeta: { \n\t\t\tlayout: SidebarWithHeader,\n\t\t\tmodule: \"dashboard\"\n\t\t},\n\t},\n]\n\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"relative\" }\nconst _hoisted_2 = { class: \"text-sm absolute top-0 right-0\" }\nconst _hoisted_3 = { class: \"text-red-600 w-full justify-center text-sm font-bold py-2 h-12 items-end flex\" }\n\nimport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// router\n\timport {\n\t\tuseRouter,\n\t\tuseRoute\n\t} from 'vue-router'\n\n\t// store\n\timport { \n\t\tstore as _systemStore\n\t} from '@/store/system'\n\t\n\timport { \n\t\tstore as _userStore\n\t} from '@/store/user'\n\n\t// types\n\timport { \n\t\tCognitoUser\n\t} from '@aws-amplify/auth'\n\t\n\t// vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'SignInForm' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n emits: [\n\t\t'passwordExpired'\n\t],\n setup(__props, { emit: __emit }) {\n\n\t// api\n\tconst emit = __emit\n\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t\n\tconst userStore = _userStore()\n\tconst systemStore = _systemStore()\n\n\t// #region Sign in form\n\tconst email = ref(\"\")\n\tconst password = ref(\"\")\n\tconst loading = ref(false)\n\tconst signInError = ref(false)\n\tconst user = ref({} as CognitoUser)\n\tconst message = ref('')\n\n\tasync function signIn() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\t// check for empty field values\n\t\t\tif (email.value == \"\") {\n\t\t\t\tdocument.getElementById('email')?.focus()\n\t\t\t\tsignInError.value = true\n\t\t\t\tthrow 'Empty email'\n\t\t\t}\n\t\t\telse if (password.value == \"\") {\n\t\t\t\tdocument.getElementById('password')?.focus()\n\t\t\t\tsignInError.value = true\n\t\t\t\tthrow 'Empty password'\n\t\t\t}\n\t\t\n\t\t\t// attempt sign in\n\t\t\tuser.value = await Auth.signIn(email.value, password.value)\n\t\t\tuserStore.user.cognitoUser = user.value\n\n\t\t\tif(user.value?.challengeName === \"NEW_PASSWORD_REQUIRED\") { // go to update one time password form\n\t\t\t\tloading.value = false\n\t\t\t\temit('passwordExpired')\n\t\t\t}\n\t\t\telse {\t\t\t \n\t\t\t\tloading.value = false\n\t\t\t\trouter.push(route?.query?.redirect ? String(route?.query?.redirect) : { name: systemStore.system.primaryRoute})\n\t\t\t}\n\t\t}\n\t\tcatch(error:any) {\n\t\t\tif(String(error).includes('PasswordResetRequiredException')) { // password was reset through Cognito console\n\t\t\t\trouter.push({name: 'ResetPasswordRequested', params: {email: email.value}}) \n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotConfirmedException')) {\n\t\t\t\t// resendConfirmationCode()\n\t\t\t\t// router.push({name: 'AccountConfirmation', params: {email: email.value}})\n\t\t\t}\n\t\t\telse if(String(error).includes('Incorrect username or password')) {\n\t\t\t\tmessage.value = \"Invalid email or password.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotFoundException')) {\n\t\t\t\tmessage.value = 'Invalid email or password.'\n\t\t\t}\n\t\t\telse if(String(error).includes('Password attempts exceeded')) {\n\t\t\t\tmessage.value = \"Password attempts exceeded. Please try again later or reset your password using the 'Forgot your password?' button.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('Empty password') || String(error).includes('Empty email')) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmessage.value = \"There was an issue with logging into your account. Please try again or contact us for assistance.\"\n\t\t\t}\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n // #endregion\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"form\", {\n onSubmit: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (signIn()), [\"prevent\"])),\n class: \"space-y-6\"\n }, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_input, {\n modelValue: email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((email).value = $event)),\n id: \"email\",\n name: \"email\",\n required: true,\n type: \"email\",\n autocomplete: \"email\",\n label: \"Email address\",\n validation: \"Please enter your email address.\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_tw_input, {\n modelValue: password.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((password).value = $event)),\n id: \"password\",\n name: \"password\",\n required: true,\n type: \"password\",\n autocomplete: \"current-password\",\n label: \"Password\",\n validation: \"Please enter your password.\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_router_link, {\n to: {name: 'ForgotPassword'},\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Forgot your password? \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(message.value), 1),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_button, {\n type: \"submit\",\n class: \"btn-db-yellow w-full\",\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ])\n ])\n ], 32)\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./SignInForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SignInForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withKeys as _withKeys, vModelText as _vModelText, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex justify-center max-w-full\" }\nconst _hoisted_2 = { class: \"flex justifiy-between max-w-full gap-2\" }\nconst _hoisted_3 = [\"onPaste\", \"onKeyup\", \"onUpdate:modelValue\"]\n\nimport {\n\t\tref,\n\t\tnextTick\n\t} from \"vue\"\n\n\t//eslint-disable-next-line\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwConfirmationCode' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tmodelValue: {\n\t\t\ttype: String,\n\t\t\tdefault: null\n\t\t}\n\t},\n emits: [\n\t\t'update:modelValue'\n\t],\n setup(__props, { emit: __emit }) {\n\n\n\tconst props = __props\n\n\tconst emit = __emit\n\n\tconst code = ref([null,null,null,null,null,null])\n\n\tfunction handleLeft(e: any) {\n\t\tconst previousInput = e.target.previousElementSibling\n\t\tif (!previousInput) return\n\t\tpreviousInput.focus()\n\t\treturn\n\t}\n\n\tfunction handleRight(e: any) {\n\t\tconst nextInput = e.target.nextElementSibling\n\t\tif (!nextInput) return\n\t\tnextInput.focus()\n\t\treturn\n\t}\n\n\tasync function handleBackspace(e: any,i: number) {\n\t\tif(i === 0) return\n\t\tconst input = e.target\n\t\tconst sibling = input.previousElementSibling\n\t\t\n\t\tif (input.value) {\n\t\t\tinput.value = ''\n\t\t\tcode.value[i] = null\n\t\t}\n\t\tif(sibling.value) {\n\t\t\tsibling.focus()\n\t\t\tsibling.value = ''\n\t\t\tcode.value[i-1] = null\n\t\t}\n\t\temit('update:modelValue', code.value.join(''))\n\t\tawait nextTick()\n\n\t\treturn\n\t}\n\n\tasync function handlePaste(e: any,i: number) {\n\t\tif(i > 0) return\n\t\te.preventDefault()\n\t\tconst paste = e.clipboardData.getData('text')\n\t\tfor(let i = 0; i < code.value.length ; i++) {\n\t\t\tcode.value[i] = paste.charAt(i) || ''\n\t\t}\n\n\t\temit('update:modelValue', code.value.join(''))\n\t\tawait nextTick()\n\t}\n\n\t// update modeled value\n\tconst onInput = async ({ target }: any) => {\n\t\temit('update:modelValue', code.value.join(''))\n\t\tawait nextTick()\n\n\t\tconst input = target\n\t\tconst nextInput = input?.nextElementSibling\n\t\tif (nextInput && input.value) {\n\t\t\tnextInput.focus()\n\t\t\tif (nextInput.value) {\n\t\t\t\tnextInput.select()\n\t\t\t}\n\t\t}\n\n\t\treturn\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(code.value, (item, index) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: index,\n type: \"tel\",\n maxlength: \"1\",\n pattern: \"[0-9]\",\n onInput: onInput,\n onPaste: (e) => {handlePaste(e, index)},\n onKeyup: [\n _withKeys((e) => {handleBackspace(e, index)}, [\"backspace\"]),\n _cache[0] || (_cache[0] = _withKeys((e) => {handleLeft(e)}, [\"left\"])),\n _cache[1] || (_cache[1] = _withKeys((e) => {handleRight(e)}, [\"right\"]))\n ],\n \"onUpdate:modelValue\": ($event: any) => ((code.value[index]) = $event),\n class: \"focus:ring-dbBlue focus:border-dbBlue border-gray-300 flex-none w-[52px] h-[52px] text-center text-xl min-w-0\"\n }, null, 40, _hoisted_3)), [\n [_vModelText, code.value[index]]\n ])\n }), 128))\n ])\n ]))\n}\n}\n\n})","\n\n\n\n","import script from \"./TwConfirmationCode.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwConfirmationCode.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, vModelDynamic as _vModelDynamic, withDirectives as _withDirectives, unref as _unref, vShow as _vShow, normalizeClass as _normalizeClass, withCtx as _withCtx, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 1,\n class: \"space-y-2\"\n}\nconst _hoisted_2 = { class: \"text-sm\" }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"font-bold font-gotham\" }\nconst _hoisted_5 = { class: \"w-full\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Your new password must contain: \"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc pl-8\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" At least 8 characters \")\n ])\n], -1)\nconst _hoisted_7 = { class: \"mt-6 bg-white dark:bg-gray-900\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"legend\", { class: \"block text-sm font-bold leading-6 text-gray-900 dark:text-gray-200\" }, \" New Password \", -1)\nconst _hoisted_9 = { class: \"mt-2 -space-y-px rounded-md shadow-sm\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"password\",\n class: \"sr-only\"\n}, \"New password\", -1)\nconst _hoisted_11 = { class: \"relative\" }\nconst _hoisted_12 = [\"type\"]\nconst _hoisted_13 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"confirm-password\",\n class: \"sr-only\"\n}, \"Confirm new password\", -1)\nconst _hoisted_15 = { class: \"relative\" }\nconst _hoisted_16 = [\"type\"]\nconst _hoisted_17 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_18 = {\n id: \"password-match-indicator\",\n class: \"pr-3 flex items-center pointer-events-none relative z-20\"\n}\nconst _hoisted_19 = { class: \"text-red-600 w-full justify-center text-sm h-16 py-2 items-end flex\" }\nconst _hoisted_20 = { class: \"text-center mt-2\" }\nconst _hoisted_21 = { class: \"flex flex-col justify-between h-full\" }\nconst _hoisted_22 = { class: \"space-y-8\" }\nconst _hoisted_23 = { class: \"text-sm mt-2\" }\n\nimport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// components\n\timport TwConfirmationCode from '@/components/InputGroups/TwConfirmationCode.vue'\n\n\timport {\n\t\tCheckCircleIcon\n\t} from '@heroicons/vue/24/outline'\n\n\timport {\n\t\tCheckCircleIcon as CheckCircleIconMini,\n\t\tEyeIcon as EyeIconMini,\n\t\tEyeSlashIcon as EyeSlashIconMini\n\t} from '@heroicons/vue/20/solid'\n\n\t// router\n\timport {\n\t\tuseRoute\n\t} from 'vue-router'\n\t\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'ForgotPasswordForm' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst route = useRoute()\n\n\tconst currentRoute = computed( () => {\n\t\treturn route.name\n\t})\n\n\tconst email = ref(currentRoute.value === 'ResetPasswordRequested' ? String(route.params.email) : \"\")\n\tconst newPassword = ref(\"\")\n\tconst confirmNewPassword = ref(\"\")\n\tconst loading = ref(false)\n\tconst showCode = ref(currentRoute.value === 'ResetPasswordRequested' ? true : false)\n\tconst message = ref('')\n\tconst code = ref('')\n\tconst changeSuccessful = ref(false)\n\tconst showPassword = ref(false)\n\n\tconst passwordsMatch = computed(() => {\n\t\treturn newPassword.value && (newPassword.value === confirmNewPassword.value)\n\t})\n\n\tconst submitButton = computed(() => {\n\t\treturn showCode.value ? 'Resend Code' : 'Submit'\n\t})\n\n\tasync function resetPassword() {\n\t\tloading.value = true\n\t\tif (email.value == \"\") {\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t\tloading.value = false\n\t\t\treturn\n\t\t}\n\n\t\ttry {\n\t\t\tawait Auth.forgotPassword(email.value)\n\t\t\tshowCode.value = true\n\t\t}\n\t\tcatch(error) {\n\t\t\tif(String(error).includes('LimitExceededException')) {\n\t\t\t\tmessage.value = \"Password reset attempts exceeded. Please try again later.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotFoundException')) {\n\t\t\t\tshowCode.value = true\n\t\t\t\treturn\n\t\t\t}\n\t\t\telse if(String(error).includes('Cannot reset password for the user as there is no registered/verified email')){\n\t\t\t\tmessage.value = \"Password cannot be reset. Your account has not been confirmed. Please return to the customer login and log in again.\"\n\t\t\t}\n\t\t\tconsole.error(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function confirmCode() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\tif(!passwordsMatch.value) {\n\t\t\t\tthrow 'PasswordMismatchException'\n\t\t\t}\n\n\t\t\tlet username = email.value\n\t\t\tlet password = confirmNewPassword.value\n\t\t\tawait Auth.forgotPasswordSubmit(username, code.value, password)\n\t\t\tshowCode.value = false\n\t\t\tchangeSuccessful.value = true\n\t\t}\n\t\tcatch (error) {\n\t\t\tif(String(error).includes('CodeMismatchException')) {\n\t\t\t\tmessage.value = \"Invalid verification code provided. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('InvalidPasswordException')) {\n\t\t\t\tmessage.value = \"New password does not satisfy requirements. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('ExpiredCodeException')) {\n\t\t\t\tmessage.value = \"Verification code has expired. Please resend the code using the button below and try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('PasswordMismatchException')) {\n\t\t\t\tmessage.value = \"Passwords do not match. Please try again.\"\n\t\t\t}\n\t\t\tconsole.error(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"div\", null, [\n (!showCode.value)\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n onSubmit: _cache[1] || (_cache[1] = _withModifiers(($event: any) => (resetPassword()), [\"prevent\"])),\n class: \"space-y-6\"\n }, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_input, {\n modelValue: email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((email).value = $event)),\n id: \"email\",\n required: true,\n type: \"email\",\n autocomplete: \"email\",\n label: \"Email address\",\n validation: \"Please enter your email address.\"\n }, null, 8, [\"modelValue\"])\n ])\n ], 32))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (currentRoute.value === 'ResetPasswordRequested')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, \" You must update your password before logging in. \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\"An email has been sent to \"),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(email.value), 1),\n _createTextVNode(\" containing a verification code. Please enter the code and a new password below to finish updating your password.\")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(TwConfirmationCode, {\n modelValue: code.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((code).value = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_6,\n _createElementVNode(\"fieldset\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", null, [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((newPassword).value = $event)),\n type: showPassword.value ? 'text' : 'password',\n name: \"new-password\",\n id: \"password\",\n autocomplete: \"new-password\",\n class: \"pr-12 relative min-w-0 block w-full rounded-none rounded-t-md border-0 py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-dbBlue sm:text-sm sm:leading-6 dark:bg-white/5 dark:text-white dark:ring-white/10 dark:focus:ring-indigo-500\",\n placeholder: \"New password\"\n }, null, 8, _hoisted_12), [\n [_vModelDynamic, newPassword.value]\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n id: \"show-hide-password\",\n tabindex: \"-1\",\n class: \"pr-3 flex items-center text-gray-300 dark:text-gray-500 z-20\",\n onClick: _cache[4] || (_cache[4] = _withModifiers(($event: any) => (showPassword.value = !showPassword.value), [\"prevent\"]))\n }, [\n _withDirectives(_createVNode(_unref(EyeIconMini), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vShow, !showPassword.value]\n ]),\n _withDirectives(_createVNode(_unref(EyeSlashIconMini), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vShow, showPassword.value]\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((confirmNewPassword).value = $event)),\n type: showPassword.value ? 'text' : 'password',\n name: \"confirm-password\",\n id: \"confirm-password\",\n autocomplete: \"new-password\",\n class: \"pr-12 relative min-w-0 block w-full rounded-none rounded-b-md border-0 py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-dbBlue sm:text-sm sm:leading-6 dark:bg-white/5 dark:text-white dark:ring-white/10 dark:focus:ring-indigo-500\",\n placeholder: \"Confirm new password\"\n }, null, 8, _hoisted_16), [\n [_vModelDynamic, confirmNewPassword.value]\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_unref(CheckCircleIconMini), {\n class: _normalizeClass([{'opacity-0': !passwordsMatch.value}, \"h-5 w-5 text-green-500 transition-all duration-300 ease-in-out absolute right-3\"]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"]),\n _createVNode(_unref(CheckCircleIcon), {\n class: _normalizeClass([{'opacity-0': passwordsMatch.value}, \"h-5 w-5 text-gray-300 dark:text-gray-500 transition-all duration-300 ease-in-out absolute right-3\"]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ])\n ])\n ])\n ])\n ])\n ])\n ])),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_19, _toDisplayString(message.value), 1),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: confirmCode,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-base btn-db-yellow w-full mb-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showCode.value]\n ]),\n _createVNode(_component_tw_button, {\n onClick: resetPassword,\n class: _normalizeClass([\"btn-base w-full\", [showCode.value ? 'btn-white' : 'btn-db-yellow']]),\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(submitButton.value), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"disabled\", \"loading\"]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_router_link, {\n to: {name: 'SignIn'},\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n })\n ])\n ])\n ], 512), [\n [_vShow, !changeSuccessful.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_23, [\n _createTextVNode(\" Your password has been successfully updated. Please \"),\n _createVNode(_component_router_link, {\n to: {name: 'SignIn' },\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Return to the Customer Login screen \")\n ]),\n _: 1\n }),\n _createTextVNode(\" to log in again. \")\n ])\n ])\n ])\n ], 512), [\n [_vShow, changeSuccessful.value]\n ])\n ], 64))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./ForgotPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ForgotPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, vModelDynamic as _vModelDynamic, withDirectives as _withDirectives, unref as _unref, vShow as _vShow, withModifiers as _withModifiers, normalizeClass as _normalizeClass, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"-mt-8 mb-10 text-sm leading-6 text-gray-500 dark:text-gray-400\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\" You used an \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold dark:text-gray-300\" }, \"expired\"),\n /*#__PURE__*/_createTextVNode(\" or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold dark:text-gray-300\" }, \"temporary\"),\n /*#__PURE__*/_createTextVNode(\" password. \")\n ]),\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Please update your password below before continuing. \")\n], -1)\nconst _hoisted_2 = { class: \"mt-6 bg-white dark:bg-gray-900\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"legend\", { class: \"block text-sm font-bold leading-6 text-gray-900 dark:text-gray-200\" }, \" New Password \", -1)\nconst _hoisted_4 = { class: \"mt-2 -space-y-px rounded-md shadow-sm\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"password\",\n class: \"sr-only\"\n}, \"New password\", -1)\nconst _hoisted_6 = { class: \"relative\" }\nconst _hoisted_7 = [\"type\"]\nconst _hoisted_8 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"confirm-password\",\n class: \"sr-only\"\n}, \"Confirm new password\", -1)\nconst _hoisted_10 = { class: \"relative\" }\nconst _hoisted_11 = [\"type\"]\nconst _hoisted_12 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_13 = {\n id: \"password-match-indicator\",\n class: \"pr-3 flex items-center pointer-events-none relative z-20\"\n}\n\nimport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// components\n\timport {\n\t\tCheckCircleIcon\n\t} from '@heroicons/vue/24/outline'\n\n\timport {\n\t\tCheckCircleIcon as CheckCircleIconMini,\n\t\tEyeIcon as EyeIconMini,\n\t\tEyeSlashIcon as EyeSlashIconMini\n\t} from '@heroicons/vue/20/solid'\n\n\t// router\n\timport {\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// store\n\timport { \n\t\tstore as _systemStore\n\t} from '@/store/system'\n\n\timport { \n\t\tstore as _userStore\n\t} from '@/store/user'\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'PasswordExpiredForm' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst router = useRouter()\n\n\tconst userStore = _userStore()\n\tconst systemStore = _systemStore()\n\t\n\tconst email = ref(\"\")\n\tconst currentPassword = ref(\"\")\n\tconst newPassword = ref(\"\")\n\tconst confirmNewPassword = ref(\"\")\n\tconst loading = ref(false)\n\tconst inputEmail = ref(null)\n\tconst inputPassword = ref(null)\n\tconst inputNewPassword = ref(null)\n\tconst inputNewPasswordConfirm = ref(null)\n\tconst passwordConfirmMessage = ref(\"Please fill in your new password.\")\n\n\tconst showPassword = ref(false)\n\n\tconst passwordsMatch = computed(() => {\n\t\treturn newPassword.value && (newPassword.value === confirmNewPassword.value)\n\t})\n\n\tasync function updatePassword() {\n\t\tloading.value = true\n\t\tlet formError = false\n\t\tif (newPassword.value != confirmNewPassword.value) {\n\t\t\tdocument.getElementById('verifyNewPassword')?.focus()\n\t\t\tpasswordConfirmMessage.value = \"New password does not match.\"\n\t\t\tif(inputNewPasswordConfirm.value)inputNewPasswordConfirm.value.valid = false\n\t\t\tformError = true\n\t\t}\n\t\tif (confirmNewPassword.value == \"\") {\n\t\t\tdocument.getElementById('verifyNewPassword')?.focus()\n\t\t\tif(inputNewPasswordConfirm.value)inputNewPasswordConfirm.value.valid = false\n\t\t\tformError = true\n\t\t}\n\t\tif (newPassword.value == \"\") {\n\t\t\tdocument.getElementById('newPassword')?.focus()\n\t\t\tif(inputNewPassword.value)inputNewPassword.value.valid = false\n\t\t\tformError = true\n\t\t}\n\t\tif (currentPassword.value == \"\") {\n\t\t\tdocument.getElementById('currentPassword')?.focus()\n\t\t\tif(inputPassword.value)inputPassword.value.valid = false\n\t\t\tformError = true\n\t\t}\n\t\tif (email.value == \"\") {\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t\tif(inputEmail.value)inputEmail.value.valid = false\n\t\t\tformError = true\n\t\t}\n\t\t\n\t\tif(formError) {\n\t\t\tloading.value = false\n\t\t\treturn\n\t\t}\n\n\t\ttry {\n\t\t\tawait Auth.completeNewPassword(userStore.user.cognitoUser, newPassword.value)\n\t\t\tconst user = await Auth.signIn(email.value, newPassword.value)\n\t\t\tuserStore.user.cognitoUser = user\n\t\t\tloading.value = false\n\t\t\trouter.push({name: systemStore.system.primaryRoute})\n\t\t} \n\t\tcatch(e) {\n\t\t\tconsole.error(e)\n\t\t\t// do something with the error\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = _withModifiers(($event: any) => (updatePassword()), [\"prevent\"])),\n class: \"space-y-6\"\n }, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_input, {\n modelValue: email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((email).value = $event)),\n id: \"email\",\n required: true,\n type: \"email\",\n autocomplete: \"email\",\n label: \"Email address\",\n validation: \"Please enter your email address.\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_input, {\n modelValue: currentPassword.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((currentPassword).value = $event)),\n id: \"currentPassword\",\n ref_key: \"inputPassword\",\n ref: inputPassword,\n required: true,\n type: \"password\",\n label: \"Current password\",\n validation: \"Please fill in your current password.\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"fieldset\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((newPassword).value = $event)),\n type: showPassword.value ? 'text' : 'password',\n name: \"new-password\",\n id: \"password\",\n autocomplete: \"new-password\",\n class: \"pr-12 relative min-w-0 block w-full rounded-none rounded-t-md border-0 py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-dbBlue sm:text-sm sm:leading-6 dark:bg-white/5 dark:text-white dark:ring-white/10 dark:focus:ring-indigo-500\",\n placeholder: \"New password\"\n }, null, 8, _hoisted_7), [\n [_vModelDynamic, newPassword.value]\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"button\", {\n id: \"show-hide-password\",\n tabindex: \"-1\",\n class: \"pr-3 flex items-center text-gray-300 dark:text-gray-500 z-20\",\n onClick: _cache[3] || (_cache[3] = _withModifiers(($event: any) => (showPassword.value = !showPassword.value), [\"prevent\"]))\n }, [\n _withDirectives(_createVNode(_unref(EyeIconMini), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vShow, !showPassword.value]\n ]),\n _withDirectives(_createVNode(_unref(EyeSlashIconMini), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vShow, showPassword.value]\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_9,\n _createElementVNode(\"div\", _hoisted_10, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((confirmNewPassword).value = $event)),\n type: showPassword.value ? 'text' : 'password',\n name: \"confirm-password\",\n id: \"confirm-password\",\n autocomplete: \"new-password\",\n class: \"pr-12 relative min-w-0 block w-full rounded-none rounded-b-md border-0 py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-dbBlue sm:text-sm sm:leading-6 dark:bg-white/5 dark:text-white dark:ring-white/10 dark:focus:ring-indigo-500\",\n placeholder: \"Confirm new password\"\n }, null, 8, _hoisted_11), [\n [_vModelDynamic, confirmNewPassword.value]\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_unref(CheckCircleIconMini), {\n class: _normalizeClass([{'opacity-0': !passwordsMatch.value}, \"h-5 w-5 text-green-500 transition-all duration-300 ease-in-out absolute right-3\"]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"]),\n _createVNode(_unref(CheckCircleIcon), {\n class: _normalizeClass([{'opacity-0': passwordsMatch.value}, \"h-5 w-5 text-gray-300 dark:text-gray-500 transition-all duration-300 ease-in-out absolute right-3\"]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_button, {\n type: \"submit\",\n class: \"btn-db-yellow w-full\",\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Continue \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ])\n ], 32)\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./PasswordExpiredForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PasswordExpiredForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"-mt-5 mb-[76px]\" }, \" Please contact your Account Manager / License Contact to obtain access to DB Central. \", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_router_link, { to: {name: 'SignIn'} }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-db-yellow w-full mt-[112px]\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Return to Customer Login \")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}","\n\n\n\n","import { render } from \"./RequestAccountForm.vue?vue&type=template&id=2a7225b2&ts=true\"\nimport script from \"./RequestAccountForm.vue?vue&type=script&lang=ts\"\nexport * from \"./RequestAccountForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx } from \"vue\"\nimport _imports_0 from '@/assets/dbcentral.png'\nimport _imports_1 from '@/assets/dbLogo.png'\n\n\nconst _hoisted_1 = { class: \"min-h-screen bg-gray-50 flex flex-col justify-center py-12 sm:px-6 lg:px-8 bg-db-background bg-cover\" }\nconst _hoisted_2 = { class: \"xl:absolute xl:right-0 md:w-3/5 m-auto xl:w-2/5\" }\nconst _hoisted_3 = { class: \"bg-white py-8 px-4 shadow sm:rounded-sm sm:px-10 md:mx-auto lg:w-3/4 w-full\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"sm:mx-auto sm:w-full sm:max-w-sm\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto w-2/5 xl:h-full xl:w-full\",\n src: _imports_0,\n alt: \"DB Services\"\n })\n], -1)\nconst _hoisted_5 = { class: \"mt-8 text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-white\" }\nconst _hoisted_6 = { class: \"mt-10\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { key: 2 }\nconst _hoisted_10 = {\n key: 0,\n class: \"mt-2 leading-6 text-gray-500 dark:text-gray-400 flex justify-center\"\n}\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-7\" }, [\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://www.dbservices.com\",\n target: \"_blank\"\n }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto h-12 w-auto xl:h-13 xl:h-16\",\n src: _imports_1,\n alt: \"DB Services\"\n })\n ])\n], -1)\n\nimport SignInForm from './components/SignInForm.vue'\n\timport ForgotPasswordForm from './components/ForgotPasswordForm.vue'\n\timport PasswordExpiredForm from './components/PasswordExpiredForm.vue'\n\timport RequestAccountForm from './components/RequestAccountForm.vue'\n\n\t// router\n\timport {\n\t\tuseRoute\n\t} from \"vue-router\"\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from \"vue\"\n\n\t\n\tconst __default__ = { name: 'SignInMain' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// components\n\tconst route = useRoute()\n\tconst passwordExpired = ref(false)\n\n\tfunction showUpdatePassword() {\n\t\tpasswordExpired.value = true\n\t}\n\n\tconst pageTitle = computed(() => {\n\t\tswitch(route.name) {\n\t\t\tcase \"SignIn\": \n\t\t\t\tif(passwordExpired.value) return \"Update Your Password\"\n\t\t\t\telse return \"Customer Login\"\n\t\t\tcase \"ForgotPassword\": \n\t\t\t\treturn \"Reset Your Password\"\n\t\t\tcase \"RequestAccount\": \n\t\t\t\treturn \"Request Account\"\n\t\t\tdefault:\n\t\t\t\treturn \"Customer Login\"\n\t\t}\n\t})\n\n\tconst pageAction = computed(() => {\n\t\tswitch(route.name) {\n\t\t\tcase \"SignIn\":\n\t\t\t\tif(passwordExpired.value) return {label: \"Return to customer login\", to: {name: 'SignIn'}}\n\t\t\t\telse return {label: \"Need an account?\", to: {name: 'RequestAccount'}}\n\t\t\tcase \"ForgotPassword\": \n\t\t\t\treturn {label: \"Return to customer login\", to: {name: 'SignIn'}}\n\t\t\tcase \"RequestAccount\": \n\t\t\t\treturn {label: \"Return to customer login\", to: {name: 'SignIn'}}\n\t\t\tdefault:\n\t\t\t\treturn {label: \"Need an account?\", to: {name: 'RequestAccount'}}\n\t\t}\n\t})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"h2\", _hoisted_5, _toDisplayString(pageTitle.value), 1),\n _createElementVNode(\"div\", _hoisted_6, [\n (_ctx.$route.name === 'SignIn')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (!passwordExpired.value)\n ? (_openBlock(), _createBlock(SignInForm, {\n key: 0,\n onPasswordExpired: _cache[0] || (_cache[0] = ($event: any) => (showUpdatePassword()))\n }))\n : (_openBlock(), _createBlock(PasswordExpiredForm, { key: 1 }))\n ]))\n : (_ctx.$route.name === 'ForgotPassword' || _ctx.$route.name === 'ResetPasswordRequested')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(ForgotPasswordForm)\n ]))\n : (_ctx.$route.name === 'RequestAccount')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(RequestAccountForm)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (!passwordExpired.value && _unref(route).name !== 'RequestAccount' && _unref(route).name !== 'ForgotPassword' && _unref(route).name !== 'ResetPasswordRequested')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, [\n _createVNode(_component_router_link, {\n to: pageAction.value.to,\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(pageAction.value.label), 1)\n ]),\n _: 1\n }, 8, [\"to\"])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_11\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./SignInMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SignInMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport api from '@/utilities/api'\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// router\n\timport {\n\t\tuseRoute,\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// store\n\timport { \n\t\tstore as _systemStore\n\t} from '@/store/system'\n\timport { \n\t\tstore as _userStore\n\t} from '@/store/user'\n\n\t// types\n\timport { \n\t\tCognitoUser\n\t} from '@aws-amplify/auth'\n\n\t// vue\n\timport {\n\t\tonBeforeMount\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'AuthLayout' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\tconst systemStore = _systemStore()\n\tconst userStore = _userStore()\n\n\tonBeforeMount( async () => {\n\t\ttry {\n\t\t\t// check for sign out\n\t\t\tif(route.name === \"SignOut\") {\n\t\t\t\tsignOut()\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\t//check for existing login & reroute\n\t\t\tconst user = await Auth.currentSession()\n\t\t\tlet accessToken = user.getAccessToken()\n\n\t\t\tif(user && accessToken) {\n\t\t\t\trouter.push({ name: systemStore.system.primaryRoute})\n\t\t\t}\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t})\n\n\tasync function signOut() {\n\t\t// sign out from FM\n\t\tconst body = {\n\t\t\taction: \"signOut\"\n\t\t}\n\t\tawait api(\"post\", \"fmDataAPI\", \"/fmDataAPI\", body)\n\n\t\t// clear store\n\t\tuserStore.user.cognitoUser = {} as CognitoUser\n\t\tsystemStore.system.sidebarExpanded = true\n\n\t\t// sign out from cognito\n\t\tawait Auth.signOut()\n\n\t\trouter.push({ name: \"SignIn\" })\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"main\", null, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ]))\n}\n}\n\n})","import script from \"./AuthLayout.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AuthLayout.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import SignInMain from './SignInMain.vue'\nimport AuthLayout from \"@/layouts/AuthLayout.vue\"\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"SignIn\",\n\t\tpath: \"/\",\n\t\tcomponent: SignInMain,\n\t\tlayout: AuthLayout\n\t}\n}\n\nexport { config }","import {\n\tRoute\n} from \"@/types\"\n\nimport {\n\tconfig\n} from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n\t{\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n\t},\n\t// other routes below\n\t{\n\t\tpath: \"/sign-out\",\n\t\tname: \"SignOut\",\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n\t},\n\t{\n\t\tpath: '/forgot-password',\n\t\tname: 'ForgotPassword',\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n\t},\n\t{\n\t\tpath: '/request-account',\n\t\tname: 'RequestAccount',\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n\t},\n\t{\n\t\tpath: '/reset-password-requested?email=:email',\n\t\tname: 'ResetPasswordRequested',\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: { \n\t\t\tlayout: config.mainRoute.layout\n\t\t},\n\t\tprops: true\n\t}\n]","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode } from \"vue\"\nimport _imports_0 from '@/assets/card-header-bg.png'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full mb-5 flex justify-between\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", { class: \"text-3xl font-black text-dbBlue\" }, \" My Profile \")\n], -1)\nconst _hoisted_2 = { class: \"grid grid-cols-2 gap-4 sm:gap-6 lg:gap-8\" }\nconst _hoisted_3 = { class: \"card col-span-2 lg:col-span-1\" }\nconst _hoisted_4 = /*#__PURE__*/_createStaticVNode(\"

Contact Information

\\\"\\\"
\", 1)\nconst _hoisted_5 = { class: \"px-4 py-5 sm:p-6\" }\nconst _hoisted_6 = { class: \"font-bold\" }\nconst _hoisted_7 = { class: \"card col-span-2 lg:col-span-1\" }\nconst _hoisted_8 = /*#__PURE__*/_createStaticVNode(\"

Company Information

\\\"\\\"
\", 1)\nconst _hoisted_9 = { class: \"px-4 py-5 sm:p-6\" }\nconst _hoisted_10 = { class: \"font-bold\" }\nconst _hoisted_11 = { key: 0 }\n\nimport {\n\t\tstore as useStore\n\t} from \"@/store/user\"\n\n\t// vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'MyProfile' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// store\n\tconst store = useStore()\n\tconst firstName = ref(store.user.cognitoUser.attributes.given_name)\n\tconst lastName = ref(store.user.cognitoUser.attributes.family_name)\n\t// const phones = store.user.phoneNumbers\n\tconst phones = ref(\"\")\n\tconst email = ref(store.user.cognitoUser.attributes.email)\n\tconst company = ref(store.user.cognitoUser.attributes[\"custom:company\"])\n\tconst address1 = ref(JSON.parse(store?.user?.cognitoUser?.attributes?.address || \"{}\").street_address.split(\"\\n\")[0])\n\tconst address2 = ref(JSON.parse(store?.user?.cognitoUser?.attributes?.address || \"{}\").street_address.split(\"\\n\")[1])\n\tconst city = ref(JSON.parse(store?.user?.cognitoUser?.attributes?.address || \"{}\").locality)\n\tconst state = ref(JSON.parse(store?.user?.cognitoUser?.attributes?.address || \"{}\").region)\n\tconst zip = ref(JSON.parse(store?.user?.cognitoUser?.attributes?.address || \"{}\").postal_code)\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(firstName.value + \" \" + lastName.value), 1),\n _createElementVNode(\"p\", null, _toDisplayString(email.value), 1),\n _createElementVNode(\"p\", null, _toDisplayString(phones.value), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(company.value), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", null, _toDisplayString(address1.value), 1),\n (address2.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_11, _toDisplayString(address2.value), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", null, _toDisplayString([[city.value, state.value].filter(Boolean).join(\", \"), zip.value].filter(Boolean).join(\" \")), 1)\n ])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./MyProfile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyProfile.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import MyProfile from \"./MyProfile.vue\"\nimport SidebarWithHeader from \"@/layouts/Sidebar/SidebarWithHeader.vue\"\t\nimport {\n\tRoute\n} from \"@/types\"\n\nexport const route: Route[] = [\n\t{\n\t\tpath: \"/my-profile\",\n\t\tname: \"MyProfile\",\n\t\tcomponent: MyProfile,\n\t\tmeta: { \n\t\t\tlayout: SidebarWithHeader,\n\t\t\tmodule: \"my-profile\"\n\t\t},\n\t},\n]\n\n","import { \n\tdefineStore\n} from 'pinia'\n\nimport { \n\tuseStorage\n} from '@vueuse/core'\n\n// types\nimport { \n\tSystem\n} from '@/types'\n\nexport const store = defineStore('system', {\n\n\tstate: () => ({ // a function that returns a fresh state\n system: useStorage('system', {\n\t\t\tprimaryRoute: \"Dashboard\",\n\t\t\tsidebarExpanded: true\n } as System)\n\t}),\n\t\n\tgetters: { // optional getters\n\t},\n\n\tactions: { // optional actions\n\n\t}\n})","import {\n\tdefineStore\n} from \"pinia\"\n\nimport { \n\tuseStorage\n} from '@vueuse/core'\n\n// types\nimport { \n\tUser\n} from '@/types'\n\nimport { \n\tCognitoUser\n} from '@aws-amplify/auth'\n\n// Create a new store instance.\nexport const store = defineStore(\"user\", {\n\tstate: () => ({ // a function that returns a fresh state\n\t\tuser: useStorage('user', {\n\t\t\tcognitoUser: {} as CognitoUser\n\t\t} as User)\n\t}),\n\n\tgetters: { // optional getters\n\t},\n\n\tactions: { // optional actions\n\n\t}\n})\n","import {\n\tAPI,\n\tAuth\n} from 'aws-amplify'\n\n\nexport default async function (httpMethod: string, apiName: string, path: string, body = {}) {\n\n\tlet user = null\n\tlet accessToken = null\n\tlet payload = {}\n\n\t// check for logged in user\n\ttry{\n\t\tuser = await Auth.currentSession()\n\t\taccessToken = user.getAccessToken()\n\n\t\tpayload = {\n\t\t\theaders: {\n\t\t\t\tAuthorization: `Bearer ${(user)\n\t\t\t\t\t.getIdToken()\n\t\t\t\t\t.getJwtToken()}`\n\t\t\t},\n\t\t\tbody: body\n\t\t}\n\t}\n\tcatch(e) {\n\t\tconsole.error(e)\n\t}\n\n let result\n try {\n\t\t// run query or mutation\n\t\tif(user && accessToken) {\n\t\t\tswitch(httpMethod) {\n\t\t\t\tcase 'post':\n\t\t\t\t\tresult = await API.post(apiName, path, payload)\n\t\t\t\t\tbreak\n\t\t\t\tcase 'get':\n\t\t\t\t\tresult = await API.get(apiName, path, payload)\n\t\t\t\t\tbreak\n\t\t\t\tcase 'put':\n\t\t\t\t\tresult = await API.put(apiName, path, payload)\n\t\t\t\t\tbreak\n\t\t\t\tcase 'delet':\n\t\t\t\t\tresult = await API.del(apiName, path, payload)\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tthrow 'Unsupported http method'\n\t\t\t}\n\t\t}\n }\n catch(err) {\n\t\tconsole.error(err)\n\t\t// if logged out, refresh token or log out\n\t\tresult = err\n\t\tthrow err\n }\n\n return result\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, createBlock as _createBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, Transition as _Transition, renderSlot as _renderSlot } from \"vue\"\nimport _imports_0 from '@/assets/dbcentral-white.png'\nimport _imports_1 from '@/assets/dbcentral-white-abbreviated.png'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 bg-gray-900/80\" }, null, -1)\nconst _hoisted_2 = { class: \"fixed inset-0 flex\" }\nconst _hoisted_3 = { class: \"absolute left-full top-0 flex w-16 justify-center pt-5\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close sidebar\", -1)\nconst _hoisted_5 = { class: \"flex grow flex-col gap-y-5 overflow-y-auto bg-dbBlue px-6 pb-4 dark:bg-black/10 dark:ring-1 dark:ring-white/10\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex h-16 shrink-0 items-center\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-12 w-auto left-0\",\n src: _imports_0,\n alt: \"DB Central\"\n })\n], -1)\nconst _hoisted_7 = { class: \"flex flex-1 flex-col\" }\nconst _hoisted_8 = {\n role: \"list\",\n class: \"flex flex-1 flex-col gap-y-7\"\n}\nconst _hoisted_9 = {\n role: \"list\",\n class: \"-mx-2 space-y-1\"\n}\nconst _hoisted_10 = { class: \"flex grow flex-col gap-y-5 bg-dbBlue px-6 pb-4 dark:bg-black/10 dark:ring-1 dark:ring-white/5 group/sidebar relative\" }\nconst _hoisted_11 = { class: \"flex h-16 shrink-0 items-center\" }\nconst _hoisted_12 = {\n class: \"h-12 w-auto left-0 mt-3\",\n src: _imports_0,\n alt: \"DB Central\"\n}\nconst _hoisted_13 = {\n class: \"h-7 w-auto left-0 mt-2\",\n src: _imports_1,\n alt: \"DB Central\"\n}\nconst _hoisted_14 = { class: \"flex flex-1 flex-col\" }\nconst _hoisted_15 = {\n role: \"list\",\n class: \"flex flex-1 flex-col gap-y-7\"\n}\nconst _hoisted_16 = {\n role: \"list\",\n class: \"-mx-2 space-y-1\"\n}\nconst _hoisted_17 = { class: \"sticky top-0 z-30 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8 dark:border-white/5 dark:bg-gray-900\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open sidebar\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"h-6 w-px bg-gray-900/10 lg:hidden dark:bg-white/5\",\n \"aria-hidden\": \"true\"\n}, null, -1)\nconst _hoisted_20 = { class: \"flex flex-1 gap-x-4 self-stretch justify-end lg:gap-x-6\" }\nconst _hoisted_21 = { class: \"flex items-center gap-x-4 lg:gap-x-6\" }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open user menu\", -1)\nconst _hoisted_23 = { class: \"h-8 w-8 rounded-full bg-gray-300 flex justify-center items-center\" }\nconst _hoisted_24 = { class: \"hidden lg:flex lg:items-center\" }\nconst _hoisted_25 = {\n class: \"ml-4 text-sm font-semibold leading-6 text-gray-900 dark:text-white\",\n \"aria-hidden\": \"true\"\n}\nconst _hoisted_26 = { class: \"py-5 bg-gray-50 dark:bg-gray-900 min-h-screen\" }\nconst _hoisted_27 = { class: \"px-4 sm:px-6 lg:px-8\" }\n\nimport {\n\t\tDialog,\n\t\tDialogPanel,\n\t\tMenu,\n\t\tMenuButton,\n\t\tMenuItem,\n\t\tMenuItems,\n\t\tTransitionChild,\n\t\tTransitionRoot,\n\t} from '@headlessui/vue'\n\n\t// icons\n\timport {\n\t\tBars3Icon,\n\t\tXMarkIcon,\n\t} from '@heroicons/vue/24/outline'\n\timport {\n\t\tChevronDownIcon,\n\t\tUserIcon,\n\t\tChevronLeftIcon as ChevronLeftIconMini\n\t} from '@heroicons/vue/20/solid'\n\n\t// store\n\timport { \n\t\tstore as _systemStore\n\t} from '@/store/system'\n\n\timport { \n\t\tstore as _userStore\n\t} from '@/store/user'\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'SidebarWithHeader' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// components\n\tconst systemStore = _systemStore()\n\tconst userStore = _userStore()\n\n\t// load file paths of all modules named Nav.vue\n\tconst context = require.context('@/modules', true, /Nav.ts$/i)\n\n\t// import each component\n\tconst modules = context.keys()\n\t\t.map(context)\n\t\t.map((m: any) => m.nav) \n\n\t// sort them based on the position data prop\n\tconst navigation = modules.filter((m) => { \n\t\tif(userStore?.user?.cognitoUser?.attributes?.[\"custom:typeOfWork\"] === \"SF\") { // Filtering Licensing for Sales Force customers.\n\t\t\treturn m.name != \"Licensing\" && m.show\n\t\t}\n\t\telse {\n\t\t\treturn m.show\n\t\t}\n\t}).sort((a, b) => {\n\t\tlet aPos = a.position\n\t\tlet bPos = b.position\n\t\tif(aPos < bPos) {\n\t\t\treturn -1\n\t\t}\n\t\telse if (aPos > bPos) {\n\t\t\treturn 1\n\t\t}\n\t\telse {\n\t\t\treturn 0\n\t\t}\n\t})\n\n\tconst userNavigation = [\n\t\t{ name: 'My Profile', to: {name: 'MyProfile'} },\n\t\t{ name: 'Log out', to: {name: 'SignOut'} },\n\t]\n \n\tconst sidebarOpen = ref(false)\n\n\tconst displayName = computed(() => {\n\t\treturn [userStore?.user?.cognitoUser?.attributes?.given_name, userStore?.user?.cognitoUser?.attributes?.family_name].filter(Boolean).join(\" \")\n\t})\n\n\tfunction collapseSidebar() {\n\t\tsystemStore.system.sidebarExpanded = !systemStore.system.sidebarExpanded\n\t}\n \nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: sidebarOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"relative z-40 lg:hidden\",\n onClose: _cache[1] || (_cache[1] = ($event: any) => (sidebarOpen.value = false))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition-opacity ease-linear duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity ease-linear duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition ease-in-out duration-300 transform\",\n \"enter-from\": \"-translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transition ease-in-out duration-300 transform\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"-translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogPanel), { class: \"relative mr-16 flex w-full max-w-xs flex-1 dark:bg-gray-900\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-in-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in-out duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"-m-2.5 p-2.5\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (sidebarOpen.value = false))\n }, [\n _hoisted_4,\n _createVNode(_unref(XMarkIcon), {\n class: \"h-6 w-6 text-white\",\n \"aria-hidden\": \"true\"\n })\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"nav\", _hoisted_7, [\n _createElementVNode(\"ul\", _hoisted_8, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"ul\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(navigation), (item) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: item.name\n }, [\n _createVNode(_component_router_link, {\n to: item.to,\n class: _normalizeClass([_ctx.$route.meta.module === item.module ? 'bg-indigo-900 text-white dark:bg-gray-800' : 'text-indigo-200 hover:text-white hover:bg-indigo-900 dark:text-gray-400 dark:hover:bg-gray-800', 'group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold'])\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon), {\n class: _normalizeClass([_ctx.$route.meta.module === item.module ? 'text-white' : 'text-indigo-200 group-hover:text-white dark:text-gray-400', 'h-6 w-6 shrink-0']),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])),\n _createTextVNode(\" \" + _toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\", \"class\"])\n ]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([_unref(systemStore).system.sidebarExpanded ? 'lg:w-72' : 'lg:w-[72px]', 'hidden lg:fixed lg:inset-y-0 lg:z-40 lg:flex lg:flex-col dark:bg-gray-900 transition-all duration-200 ease-in-out'])\n }, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _withDirectives(_createElementVNode(\"img\", _hoisted_12, null, 512), [\n [_vShow, _unref(systemStore).system.sidebarExpanded]\n ]),\n _withDirectives(_createElementVNode(\"img\", _hoisted_13, null, 512), [\n [_vShow, !_unref(systemStore).system.sidebarExpanded]\n ])\n ]),\n _createElementVNode(\"button\", {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (collapseSidebar())),\n class: \"shadow-md border border-gray-200 bg-white text-dbBlue hover:bg-dbBlue hover:text-white p-1 opacity-0 rounded-full group-hover/sidebar:opacity-100 transition-all duration-50 ease-in-out absolute right-0 -mr-[14px] top-5 cursor-pointer dark:bg-gray-900 dark:text-gray-100 dark:border-gray-800 dark:hover:bg-indigo-500\"\n }, [\n _createVNode(_unref(ChevronLeftIconMini), {\n class: _normalizeClass([{'rotate-180': !_unref(systemStore).system.sidebarExpanded}, 'pr-[2px] w-5 h-5 transition-all ease-in-out duration-200']),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"nav\", _hoisted_14, [\n _createElementVNode(\"ul\", _hoisted_15, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"ul\", _hoisted_16, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(navigation), (item) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: item.name\n }, [\n _createVNode(_component_router_link, {\n to: item.to,\n class: _normalizeClass([_ctx.$route.meta.module === item.module ? 'bg-indigo-900 text-white dark:bg-gray-800' : 'text-indigo-200 hover:text-white hover:bg-indigo-900 dark:text-gray-400 dark:hover:bg-gray-800', 'group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold'])\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon), {\n class: _normalizeClass([_ctx.$route.meta.module === item.module ? 'text-white' : 'text-indigo-200 group-hover:text-white dark:text-gray-400', 'h-6 w-6 shrink-0']),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])),\n _withDirectives(_createElementVNode(\"span\", null, _toDisplayString(item.name), 513), [\n [_vShow, _unref(systemStore).system.sidebarExpanded]\n ])\n ]),\n _: 2\n }, 1032, [\"to\", \"class\"])\n ]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([_unref(systemStore).system.sidebarExpanded ? 'lg:pl-72' : 'lg:pl-[72px]', 'transition-all duration-200 ease-in-out'])\n }, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"-m-2.5 p-2.5 text-gray-700 lg:hidden\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (sidebarOpen.value = true))\n }, [\n _hoisted_18,\n _createVNode(_unref(Bars3Icon), {\n class: \"h-6 w-6\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_unref(Menu), {\n as: \"div\",\n class: \"relative\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MenuButton), { class: \"-m-1.5 flex items-center p-1.5\" }, {\n default: _withCtx(() => [\n _hoisted_22,\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_unref(UserIcon), { class: \"h-5 w-5\" })\n ]),\n _createElementVNode(\"span\", _hoisted_24, [\n _createElementVNode(\"span\", _hoisted_25, _toDisplayString(displayName.value), 1),\n _createVNode(_unref(ChevronDownIcon), {\n class: \"ml-2 h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MenuItems), { class: \"absolute right-0 z-10 mt-2.5 w-40 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none dark:bg-gray-900 dark:ring-white/5\" }, {\n default: _withCtx(() => [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(userNavigation, (item) => {\n return _createVNode(_unref(MenuItem), {\n key: item.name\n }, {\n default: _withCtx(({ active }) => [\n _createVNode(_component_router_link, {\n to: item.to,\n class: _normalizeClass([active ? 'bg-gray-50 dark:bg-gray-800' : '', 'block px-3 py-1 text-sm leading-6 text-gray-900 dark:text-white'])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\", \"class\"])\n ]),\n _: 2\n }, 1024)\n }), 64))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"main\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ], 2)\n ]))\n}\n}\n\n})","\n\n\n\n\n ","import script from \"./SidebarWithHeader.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SidebarWithHeader.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-6 grid grid-cols-1 text-sm leading-6 md:grid-cols-3\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"md:col-span-3\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"font-black leading-6 tracking-wide\" }, \" By ACH (Preferred) \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"my-2\" }, \" US Only - Not for wire transfers \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"grid grid-cols-2 sm:grid-cols-3 gap-2 sm:gap-4\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Database Development Services, Inc.\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"8460 Shoe Overlook Dr\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Fishers, IN 46038\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold flex justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"PNC Bank\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"7270 East 116th Street\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Fishers, IN 46038\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"(317) 841-9616\")\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"ACH Account: 4696521637\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"ACH Routing: 071921891\")\n ])\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-6 border-t border-gray-900/5 pt-6 md:col-span-2\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"font-black leading-6 tracking-wide\" }, \" By Credit Card \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"my-2\" }, [\n /*#__PURE__*/_createTextVNode(\" Please email \"),\n /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"link\",\n href: \"mailto:accounting@dbservices.com\"\n }, \"accounting@dbservices.com\"),\n /*#__PURE__*/_createTextVNode(\" to pay by credit card. \")\n ]),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"There is a 3% fee on credit card transactions for services. We will send you a link to pay online.\")\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-6 border-t border-gray-900/5 pt-6\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"font-black leading-6 tracking-wide\" }, \" By Mail (Check) \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"my-2\" }, \" Please mail your check to: \"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \"DB Services\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"P.O. Box 775118\"),\n /*#__PURE__*/_createElementVNode(\"p\", null, \"Chicago, IL 60677\")\n ])\n ]),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-6 border-t border-gray-900/5 pt-6 md:col-span-3\" }, [\n /*#__PURE__*/_createElementVNode(\"h3\", { class: \"font-black leading-6 tracking-wide\" }, \" W9 \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"my-2\" }, [\n /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"link\",\n href: \"/DBServicesW9.pdf\",\n target: \"_blank\"\n }, \"Download our W-9.\")\n ])\n ])\n], -1)\n\nimport {\n\t\tCurrencyDollarIcon as CurrencyDollarIconMini\n\t} from \"@heroicons/vue/20/solid\"\n\n\t// vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'HowToPayButton' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// components\n\tconst howToPayModal = ref<{open: boolean}>({open: false})\n\n\tfunction openDialog() {\n\t\thowToPayModal.value.open = true\n\t}\n\t\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_modal = _resolveComponent(\"tw-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-indigo w-44\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (openDialog()))\n }, {\n icon_right: _withCtx(() => [\n _createVNode(_unref(CurrencyDollarIconMini), { class: \"w-5 h-5\" })\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" How to Pay \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_modal, {\n title: \"How To Pay\",\n \"modal-max-width\": \"max-w-screen-md\",\n ref_key: \"howToPayModal\",\n ref: howToPayModal\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }, 512)\n ], 64))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./HowToPayButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HowToPayButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mt-6 grid grid-cols-1 text-sm leading-6 sm:grid-cols-2\" }\nconst _hoisted_2 = { class: \"flex items-start justify-between sm:col-span-2\" }\nconst _hoisted_3 = { class: \"text-right\" }\nconst _hoisted_4 = { class: \"mt-2\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"inline text-gray-500\" }, \" Payment Terms \", -1)\nconst _hoisted_6 = { class: \"inline text-gray-700 font-bold\" }\nconst _hoisted_7 = { datetime: \"2023-31-01\" }\nconst _hoisted_8 = { class: \"sm:pr-4 mt-6 border-t border-gray-900/5 pt-6\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"inline text-gray-500\" }, \" Invoiced on \", -1)\nconst _hoisted_10 = { class: \"inline text-gray-700 font-bold\" }\nconst _hoisted_11 = { class: \"sm:pl-4 sm:mt-6 sm:border-t sm:border-gray-900/5 sm:pt-6\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"inline text-gray-500\" }, \" Due on \", -1)\nconst _hoisted_13 = { class: \"inline text-gray-700 font-bold\" }\nconst _hoisted_14 = { class: \"mt-6 sm:border-t sm:border-gray-900/5 sm:pt-6 sm:col-span-2\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"text-sm font-medium text-gray-500\" }, \" Summary \", -1)\nconst _hoisted_16 = { class: \"mt-6 sm:border-t sm:border-gray-900/5 sm:pt-6 sm:col-span-2\" }\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"text-sm font-medium text-gray-500\" }, \" Services \", -1)\n\nimport {\n\t\tInvoice\n\t} from '@/types'\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tref\n\t} from 'vue'\n\n\t\n\tconst __default__ = { name: 'InvoiceDetailsButton' } // name the component\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tinvoice: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {} as Invoice}\n\t\t},\n\t},\n setup(__props) {\n\n\t// types\n\tconst props = __props\n\n\tconst invoiceDetailsModal = ref<{open: boolean}>({open: false})\n\n\tconst currencyFormatter = new Intl.NumberFormat(\"en-US\", {\n\t\tstyle: \"currency\",\n\t\tcurrency: \"USD\",\n\t})\n\n\tconst openDialog = () => {\n\t\tinvoiceDetailsModal.value.open = true\n\t}\n\t\n\tconst invoiceStatusColor = computed(() => {\n\t\tswitch(props.invoice.status) {\n\t\t\tcase 'Paid':\n\t\t\t\treturn 'green'\n\t\t\tcase 'Overdue':\n\t\t\t\treturn 'red'\n\t\t\tcase 'Cancelled':\n\t\t\t\treturn 'gray'\n\t\t\tcase 'Invoiced':\n\t\t\tcase 'Pending':\n\t\t\tdefault:\n\t\t\t\treturn 'yellow'\n\t\t}\n\t})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_simple_stat = _resolveComponent(\"tw-simple-stat\")!\n const _component_tw_badge_flat = _resolveComponent(\"tw-badge-flat\")!\n const _component_tw_modal = _resolveComponent(\"tw-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"button\", {\n onClick: openDialog,\n class: \"link\"\n }, \" View Details \"),\n _createVNode(_component_tw_modal, {\n title: `Invoice #${ props.invoice.invoiceNumber }`,\n \"modal-max-width\": \"max-w-screen-sm\",\n ref_key: \"invoiceDetailsModal\",\n ref: invoiceDetailsModal\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"dl\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_simple_stat, { label: \"Invoice Total\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(currencyFormatter).format(+props.invoice.total)), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_tw_badge_flat, { color: invoiceStatusColor.value }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.invoice.status), 1)\n ]),\n _: 1\n }, 8, [\"color\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createTextVNode(\" \" + _toDisplayString(' ') + \" \"),\n _createElementVNode(\"dd\", _hoisted_6, [\n _createElementVNode(\"time\", _hoisted_7, _toDisplayString(props.invoice.paymentTerms), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createTextVNode(\" \" + _toDisplayString(' ') + \" \"),\n _createElementVNode(\"dd\", _hoisted_10, [\n _createElementVNode(\"time\", null, _toDisplayString(props.invoice.invoiceDate), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createTextVNode(\" \" + _toDisplayString(' ') + \" \"),\n _createElementVNode(\"dd\", _hoisted_13, [\n _createElementVNode(\"time\", null, _toDisplayString(props.invoice.dueDate), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"dd\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.invoice.summaries, (item, idx) => {\n return (_openBlock(), _createElementBlock(\"p\", { key: idx }, _toDisplayString(item), 1))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"dd\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.invoice.services, (service, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", { key: idx }, _toDisplayString(service), 1))\n }), 128))\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"title\"])\n ], 64))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./InvoiceDetailsButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./InvoiceDetailsButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","var map = {\n\t\"./Invoices/Nav.ts\": 7469,\n\t\"./Licensing/Nav.ts\": 4685,\n\t\"./dashboard/Nav.ts\": 881\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 4928;","var map = {\n\t\"./Invoices/routes.ts\": 1341,\n\t\"./Licensing/routes.ts\": 7312,\n\t\"./dashboard/routes.ts\": 7881,\n\t\"./login/routes.ts\": 8245,\n\t\"./profile/routes.ts\": 4851\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 8453;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue_empty_template\"] = self[\"webpackChunkvue_empty_template\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(6368); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_defineComponent","__name","setup","__props","route","useRoute","isLoaded","ref","layout","computed","meta","SidebarWithHeader","_ctx","_cache","_component_router_view","_resolveComponent","value","_openBlock","_createBlock","_resolveDynamicComponent","key","class","default","_withCtx","_createVNode","_","_createCommentVNode","__exports__","loadRoutes","context","require","keys","map","m","routes","resourceRoutes","forEach","moduleRoutes","push","router","createRouter","history","createWebHistory","async","authenticate","user","Auth","currentAuthenticatedUser","e","beforeEach","to","from","next","name","query","redirect","fullPath","_hoisted_1","_createElementVNode","cx","cy","r","_hoisted_2","_hoisted_3","_hoisted_4","d","_hoisted_5","_hoisted_6","props","border","type","Boolean","color","String","dot","pill","removable","removeFunction","Function","small","colors","dotColor","removeBg","removeStroke","onMounted","_createElementBlock","_normalizeClass","viewBox","_renderSlot","$slots","onClick","$event","xmlns","fill","stroke","loading","rounded","icon","icon_right","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","modelValue","Number","autocomplete","help","hint","id","label","placeholder","required","validation","emits","emit","__emit","slots","useSlots","leadingInlinePadding","trailingInlinePadding","leadingInlineWidth","trailingInlineWidth","leadingEl","document","getElementById","offsetWidth","Math","ceil","trailingEl","valid","onInput","target","nextTick","validate","for","_toDisplayString","leading_addon","leading_inline","trailing_addon","trailing_inline","_withDirectives","_vShow","_unref","ExclamationCircleIcon","__default__","badge","editing","labelClass","valueClass","unit","_Fragment","custom","src","_imports_0","alt","decoding","description","modalMaxWidth","title","closeModal","expose","__expose","open","TransitionRoot","as","show","Dialog","onClose","TransitionChild","enter","leave","DialogPanel","DialogTitle","XMarkIcon","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","scope","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","colspan","_hoisted_47","_hoisted_48","_hoisted_49","checkable","data","Array","defaultSort","Object","prop","order","filterable","filters","options","filterFunction","multiRowActions","rowActions","searchable","searchMethod","searchPlaceholder","selectedRows","indeterminate","length","searchInput","filtersOpen","filterOptionsSelected","numFilterOptionsSelected","filtersIndeterminate","i","filtersApplied","numFiltersApplied","filter","selectAll","event","filterIndex","checked","o","doFiltering","_component_tw_table_dropdown","_component_tw_table_header","_component_tw_table_row","_component_tw_loading","_renderList","Disclosure","DisclosureButton","ChevronDownIconMini","DisclosurePanel","onChange","option","optionIdx","_vModelCheckbox","FunnelIconMini","_createTextVNode","PopoverGroup","Popover","PopoverButton","_Transition","PopoverPanel","MagnifyingGlassIcon","_vModelText","items","position","row","includes","Event","constructor","_defineProperty","this","events","on","eventName","fn","off","splice","trigger","EventBus","payload","parentUid","sortOrder","onBeforeUnmount","parent","getCurrentInstance","uid","parentName","vnode","sortCol","sortable","sortMethod","dataArray","index","arr","element","awsmobile","Amplify","configure","awsconfig","API","endpoints","endpoint","process","VUE_APP_API_URL","pinia","createPinia","app","createApp","App","component","TwBadgeFlat","TwButton","TwLoading","TwInput","SimpleStat","TwTable","TwTableColumn","TwTableDropdown","TwTableHeader","TwTableRow","TwModal","use","mount","nav","CurrencyDollarIcon","module","todayDate","Date","invoices","currencyFormatter","Intl","NumberFormat","style","currency","getInvoices","body","action","attributes","companyID","response","api","scriptResult","JSON","parse","result","_invoices","invoice","status","summaries","split","paymentTerms","invoiceDate","days","match","dueDate","setDate","getDate","parseInt","toLocaleDateString","getTime","amountDue","console","error","_component_tw_table_column","_component_tw_table","HowToPayButton","condensed","header","isOverdue","format","services","InvoiceDetailsButton","path","InvoicesMain","KeyIcon","_createStaticVNode","licenses","getLicenses","subtotal","href","ArrowDownTrayIconMini","LicensingMain","HomeIcon","totalOverdue","dueSoon","getDashboard","parseFloat","_component_tw_simple_stat","_component_tw_button","_component_router_link","expirationDate","daysToExpire","ListBulletIconMini","total","DashboardMain","useRouter","userStore","_userStore","systemStore","_systemStore","email","password","signInError","message","signIn","focus","cognitoUser","challengeName","system","primaryRoute","params","_component_tw_input","onSubmit","_withModifiers","disabled","code","handleLeft","previousInput","previousElementSibling","handleRight","nextInput","nextElementSibling","handleBackspace","input","sibling","join","handlePaste","preventDefault","paste","clipboardData","getData","charAt","select","item","maxlength","pattern","onPaste","onKeyup","_withKeys","currentRoute","newPassword","confirmNewPassword","showCode","changeSuccessful","showPassword","passwordsMatch","submitButton","resetPassword","forgotPassword","confirmCode","username","forgotPasswordSubmit","TwConfirmationCode","_vModelDynamic","tabindex","EyeIconMini","EyeSlashIconMini","CheckCircleIconMini","CheckCircleIcon","currentPassword","inputEmail","inputPassword","inputNewPassword","inputNewPasswordConfirm","passwordConfirmMessage","updatePassword","formError","completeNewPassword","ref_key","render","$props","$setup","$data","$options","_imports_1","passwordExpired","showUpdatePassword","pageTitle","pageAction","$route","PasswordExpiredForm","SignInForm","onPasswordExpired","ForgotPasswordForm","RequestAccountForm","signOut","sidebarExpanded","onBeforeMount","currentSession","accessToken","getAccessToken","config","mainRoute","SignInMain","AuthLayout","store","useStore","firstName","given_name","lastName","family_name","phones","company","address1","address","street_address","address2","city","locality","state","region","zip","postal_code","MyProfile","defineStore","useStorage","getters","actions","httpMethod","apiName","headers","Authorization","getIdToken","getJwtToken","post","get","put","del","err","role","modules","navigation","sort","a","b","aPos","bPos","userNavigation","sidebarOpen","displayName","collapseSidebar","ChevronLeftIconMini","Bars3Icon","Menu","MenuButton","UserIcon","ChevronDownIcon","MenuItems","MenuItem","active","howToPayModal","openDialog","_component_tw_modal","CurrencyDollarIconMini","datetime","invoiceDetailsModal","invoiceStatusColor","_component_tw_badge_flat","invoiceNumber","idx","service","webpackContext","req","webpackContextResolve","__webpack_require__","Error","resolve","exports","__webpack_module_cache__","moduleId","cachedModule","undefined","loaded","__webpack_modules__","call","deferred","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","every","n","getter","__esModule","definition","defineProperty","enumerable","g","globalThis","window","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}