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,IACtHoH,EAAsBpH,EAAoBW,EAAEyG,E","sources":["webpack://destgotlandclient/./src/composables/login/useGetCurrentUser.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useProductCodesQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useAgentBookingsQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/components/AgentBookings/AgentBookings.vue?56e4","webpack://destgotlandclient/./src/modules/MyPages/components/AgentBookings/AgentBookings.vue","webpack://destgotlandclient/./src/modules/MyPages/components/AgentBookings/AgentBookings.vue?9221","webpack://destgotlandclient/./src/modules/MyPages/components/BookFerry.vue?14a7","webpack://destgotlandclient/./src/modules/MyPages/components/BookFerry.vue","webpack://destgotlandclient/./src/modules/MyPages/components/BookFerry.vue?b3ab","webpack://destgotlandclient/./src/modules/MyPages/composables/useMyBookingsQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingHistory.vue?663c","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingHistory.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingHistory.vue?4919","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookings.vue?9f6d","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookings.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookings.vue?bae0","webpack://destgotlandclient/./src/modules/MyPages/composables/useMyCoPassengersQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/MyCustomerInfoBox.vue?1ad8","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/MyCustomerInfoBox.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/MyCustomerInfoBox.vue?d7cd","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengerEdit.vue?c3be","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengerEdit.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengerEdit.vue?3cbd","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengersInfo.vue?359b","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengersInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengers.vue?8605","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengers.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoPassengers/MyCoPassengers.vue?3e76","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicleEdit.vue?2da0","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicleEdit.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicleEdit.vue?4880","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehiclesInfo.vue?6685","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehiclesInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicles.vue?100f","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicles.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CoVehicles/MyCoVehicles.vue?aa62","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCardEdit.vue?50ad","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCardEdit.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCardEdit.vue?0cc9","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCardsInfo.vue?30a7","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCardsInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCards.vue?3793","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCards.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CreditCards/MyCreditCards.vue?5633","webpack://destgotlandclient/./src/modules/MyPages/composables/useMyCustomerDetailsQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfileEdit.vue?000d","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfileEdit.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfileEdit.vue?91f2","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfileInfo.vue?1579","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfileInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfile.vue?3f9f","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfile.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/CustomerProfile/MyCustomerProfile.vue?4a64","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/MyCustomerInfo.vue?4ec1","webpack://destgotlandclient/./src/modules/MyPages/components/MyCustomerInfo/MyCustomerInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/TransactionItem.vue?617e","webpack://destgotlandclient/./src/modules/MyPages/components/TransactionItem.vue","webpack://destgotlandclient/./src/modules/MyPages/components/Transactions.vue?b382","webpack://destgotlandclient/./src/modules/MyPages/components/Transactions.vue","webpack://destgotlandclient/./src/modules/MyPages/components/Transactions.vue?830b","webpack://destgotlandclient/./src/modules/MyPages/components/MyPages.vue?ce28","webpack://destgotlandclient/./src/modules/MyPages/components/MyPages.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyPages.vue?ba0c","webpack://destgotlandclient/./src/components/base/BaseModal.vue?28bd","webpack://destgotlandclient/./src/components/base/BaseModal.vue","webpack://destgotlandclient/./src/components/base/BaseModal.vue?c256","webpack://destgotlandclient/./src/modules/MyPages/App.vue?3851","webpack://destgotlandclient/./src/modules/MyPages/App.vue","webpack://destgotlandclient/./src/modules/MyPages/App.vue?1ef8","webpack://destgotlandclient/./src/modules/MyPages/main.ts","webpack://destgotlandclient/webpack/bootstrap","webpack://destgotlandclient/webpack/runtime/amd options","webpack://destgotlandclient/webpack/runtime/chunk loaded","webpack://destgotlandclient/webpack/runtime/compat get default export","webpack://destgotlandclient/webpack/runtime/define property getters","webpack://destgotlandclient/webpack/runtime/ensure chunk","webpack://destgotlandclient/webpack/runtime/get javascript chunk filename","webpack://destgotlandclient/webpack/runtime/get mini-css chunk filename","webpack://destgotlandclient/webpack/runtime/global","webpack://destgotlandclient/webpack/runtime/hasOwnProperty shorthand","webpack://destgotlandclient/webpack/runtime/load script","webpack://destgotlandclient/webpack/runtime/make namespace object","webpack://destgotlandclient/webpack/runtime/node module decorator","webpack://destgotlandclient/webpack/runtime/runtimeId","webpack://destgotlandclient/webpack/runtime/publicPath","webpack://destgotlandclient/webpack/runtime/css loading","webpack://destgotlandclient/webpack/runtime/jsonp chunk loading","webpack://destgotlandclient/webpack/startup"],"sourcesContent":["import { GetCurrentUserResponse } from \"@/models/api/user/GetCurrentUserResponse\";\r\nimport { mapFromAgentLoginResponse, mapFromCustomerLoginResponse } from \"@/models/store/User\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { ref } from \"vue\";\r\nimport useApi from \"../useApi\";\r\n\r\nconst useGetCurrentUser = () => {\r\n const { get, getToken } = useApi({ displayErrors: false });\r\n const userStore = useUserStore();\r\n\r\n const error = ref();\r\n\r\n const isLoading = ref(false);\r\n\r\n // Check if user is logged in if there is a token but no user on the client\r\n const checkIfLoggedIn = () => {\r\n error.value = undefined;\r\n if (!userStore.isLoggedIn && getToken()) {\r\n isLoading.value = true;\r\n\r\n return getCurrentUser()\r\n .then((user) => {\r\n userStore.login(user);\r\n })\r\n .catch((err) => {\r\n // not logged in\r\n error.value = err;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n }\r\n\r\n return Promise.resolve();\r\n };\r\n\r\n const getCurrentUser = () => {\r\n return get(\"user/me\", \"\").then((resp) => {\r\n if (resp.data.userType === \"Agent\") {\r\n return mapFromAgentLoginResponse(resp.data.user as any);\r\n }\r\n\r\n return mapFromCustomerLoginResponse(resp.data.user as any);\r\n });\r\n };\r\n\r\n return { getCurrentUser, checkIfLoggedIn, isLoading, error };\r\n};\r\n\r\nexport default useGetCurrentUser;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { OptionItem } from \"@/models/OptionItem\";\r\nimport { ProductCodeResponse } from \"@/models/api/ProductCodeResponse\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useQuery } from \"vue-query\";\r\n\r\nconst useProductCodesQuery = () => {\r\n const { get } = useApi();\r\n const userStore = useUserStore();\r\n\r\n const fetcher = (): Promise => {\r\n return get(\"agent/productcodes\", \"\").then((resp) => {\r\n return resp.data.map((p) => ({ label: `${p.description} (${p.code})`, value: p.code }));\r\n });\r\n };\r\n\r\n const cacheKey = computed(() => [\"productcodes\", userStore.getUser.email]);\r\n\r\n return {\r\n ...useQuery(cacheKey.value, fetcher, {\r\n enabled: computed(() => userStore.isAgent),\r\n refetchOnWindowFocus: false,\r\n staleTime: 60 * 1000,\r\n retry: false,\r\n }),\r\n };\r\n};\r\n\r\nexport default useProductCodesQuery;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { MyBookingResponse } from \"@/models/api/customer/MyBookingResponse\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { readonly, ref } from \"vue\";\r\n\r\ntype AgentBookingsParams = {\r\n startDate?: string;\r\n endDate?: string;\r\n status?: string;\r\n email?: string;\r\n bookingNumber?: string;\r\n name?: string;\r\n reference?: string;\r\n history?: boolean;\r\n};\r\n\r\nfunction removeEmpty(obj: any) {\r\n return Object.fromEntries(Object.entries(obj).filter(([_, v]) => !!v));\r\n}\r\n\r\nconst useAgentBookingsQuery = (includeHistory = false) => {\r\n const { post } = useApi();\r\n\r\n const params = ref({\r\n startDate: undefined,\r\n endDate: undefined,\r\n status: undefined,\r\n email: undefined,\r\n bookingNumber: undefined,\r\n name: undefined,\r\n reference: undefined,\r\n history: includeHistory,\r\n });\r\n\r\n const isLoading = ref(false);\r\n\r\n const data = ref(undefined);\r\n\r\n const getAgentBookings = () => {\r\n isLoading.value = true;\r\n return post(\"agent/bookings\", removeEmpty(params.value))\r\n .then((resp) => {\r\n data.value = resp.data?.map((d) => new MyBooking(d)) ?? [];\r\n })\r\n .then(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const setParams = (bookingParams: AgentBookingsParams) => {\r\n params.value = bookingParams;\r\n getAgentBookings();\r\n };\r\n\r\n return {\r\n getAgentBookings,\r\n setParams,\r\n data,\r\n isLoading,\r\n params: readonly(params),\r\n };\r\n};\r\n\r\nexport default useAgentBookingsQuery;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0ca6f357\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"search-bookings__row\" }\nconst _hoisted_2 = { class: \"search-bookings__row\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"loading-overlay\"\n}\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseExpansionPanel from \"@/components/base/BaseExpansionPanel.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport { numeric } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { minLength } from \"@vuelidate/validators\";\r\nimport { vMaska } from \"maska\";\r\nimport { reactive, ref } from \"vue\";\r\nimport useAgentBookingsQuery from \"../../composables/useAgentBookingsQuery\";\r\nimport MyBookingItem from \"../MyBookings/MyBookingItem.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AgentBookings',\n setup(__props) {\n\r\nconst { data, setParams, isLoading } = useAgentBookingsQuery();\r\n\r\nconst openItem = ref();\r\n\r\nconst toggle = (bookingNum: number) => {\r\n if (bookingNum === openItem.value) {\r\n openItem.value = undefined;\r\n } else {\r\n openItem.value = bookingNum;\r\n }\r\n};\r\n\r\nconst state = reactive({\r\n bookingNumber: \"\",\r\n reference: \"\",\r\n endDate: \"\",\r\n customerName: \"\",\r\n});\r\n\r\nconst rules = {\r\n bookingNumber: {\r\n numeric,\r\n },\r\n reference: {},\r\n endDate: {\r\n minLength: minLength(10),\r\n },\r\n customerName: {},\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n setParams({ ...state });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseExpansionPanel, {\n title: _ctx.$t('myPages.myBookings.title'),\n subtitle: _ctx.$t('myPages.myBookings.handleBookings'),\n icon: \"booking/booking\"\n }, {\n default: _withCtx(() => [\n _createVNode(BasePanel, null, {\n default: _withCtx(() => [\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"]),\n class: \"search-bookings\"\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: \"Bokningsnummer\",\n modelValue: _unref(v$).bookingNumber.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).bookingNumber.$model) = $event)),\n hasError: _unref(v$).bookingNumber.$error,\n type: \"tel\"\n }, null, 8, [\"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: \"Fakturareferens\",\n modelValue: _unref(v$).reference.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).reference.$model) = $event)),\n hasError: _unref(v$).reference.$error\n }, null, 8, [\"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: \"Till\",\n placeholder: \"YYYY-MM-DD\",\n modelValue: _unref(v$).endDate.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).endDate.$model) = $event)),\n hasError: _unref(v$).endDate.$error,\n mask: \"####-##-##\"\n }, null, 8, [\"modelValue\", \"hasError\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: \"Kundens namn\",\n modelValue: _unref(v$).customerName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).customerName.$model) = $event)),\n hasError: _unref(v$).customerName.$error\n }, null, 8, [\"modelValue\", \"hasError\"]),\n _createVNode(BaseButton, {\n class: \"btn--fixed-width\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Sök\")\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ], 32)\n ]),\n _: 1\n }),\n (_unref(data))\n ? (_openBlock(), _createBlock(BasePanel, {\n key: 0,\n class: \"bookings-result\"\n }, {\n default: _withCtx(() => [\n (_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(BaseSpinner, { color: \"dark\" })\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(data).length)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 1,\n type: \"info\",\n message: _ctx.$t('myPages.myBookings.empty')\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data), (booking) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: booking.bookingNumber\n }, [\n _createVNode(MyBookingItem, {\n item: booking,\n activeBookingNumber: openItem.value,\n onToggle: toggle\n }, null, 8, [\"item\", \"activeBookingNumber\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./AgentBookings.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AgentBookings.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./AgentBookings.vue?vue&type=style&index=0&id=0ca6f357&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0ca6f357\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5f191768\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"book-ferry__buttons\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport BaseExpansionPanel from \"@/components/base/BaseExpansionPanel.vue\";\r\nimport useRedirect from \"@/composables/useRedirect\";\r\nimport useUnloadBookings from \"@/composables/useUnloadBookings\";\r\nimport { PageUrl } from \"@/models/Enums\";\r\nimport { OptionItem } from \"@/models/OptionItem\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\n\r\ninterface Props {\r\n productCodes?: OptionItem[];\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BookFerry',\n props: {\n productCodes: {}\n },\n setup(__props: any) {\n\r\n\r\n\r\nconst { redirect } = useRedirect();\r\nconst { unload, isLoading } = useUnloadBookings(false);\r\nconst userStore = useUserStore();\r\n\r\nconst selectedProductCode = computed({\r\n get() {\r\n return userStore.getSelectedProductCode;\r\n },\r\n set(val: string | undefined) {\r\n userStore.setSelectedProductCode(val);\r\n },\r\n});\r\n\r\nconst startNewBooking = () => {\r\n unload(selectedProductCode.value).then(() => {\r\n redirect(PageUrl.Booking);\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseExpansionPanel, {\n icon: \"booking/ferry\",\n title: _ctx.$t('myPages.bookFerry.title'),\n subtitle: _ctx.$t('myPages.bookFerry.subtitle'),\n linkUrl: _unref(PageUrl).Booking,\n class: \"book-ferry\"\n }, {\n buttons: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.productCodes)\n ? (_openBlock(), _createBlock(BaseDropdown, {\n key: 0,\n options: _ctx.productCodes,\n modelValue: selectedProductCode.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedProductCode).value = $event)),\n label: _ctx.$t('myPages.bookFerry.selectProductCode'),\n class: \"product-codes\"\n }, null, 8, [\"options\", \"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseButton, {\n onClick: startNewBooking,\n loading: _unref(isLoading),\n class: _normalizeClass('btn--fixed-width')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.bookFerry.book\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"linkUrl\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BookFerry.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BookFerry.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BookFerry.vue?vue&type=style&index=0&id=5f191768&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5f191768\"]])\n\nexport default __exports__","import useApi from \"@/composables/useApi\";\r\nimport { MyBookingResponse } from \"@/models/api/customer/MyBookingResponse\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { useQuery } from \"vue-query\";\r\n\r\nconst useMyBookingsQuery = (fetchHistory = false) => {\r\n const userStore = useUserStore();\r\n const { post } = useApi();\r\n\r\n const fetcher = () => {\r\n return post(\"customer/bookings\", { history: fetchHistory }).then(\r\n (resp) => resp.data?.map((d) => new MyBooking(d)) ?? []\r\n );\r\n };\r\n\r\n return {\r\n ...useQuery([\"myBookings\", userStore.getUser.number, fetchHistory], fetcher, {\r\n staleTime: Infinity,\r\n }),\r\n };\r\n};\r\n\r\nexport default useMyBookingsQuery;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-636adc94\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"bookings-loading\"\n}\nconst _hoisted_2 = { key: 2 }\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport useMyBookingsQuery from \"@/modules/MyPages/composables/useMyBookingsQuery\";\r\nimport { ref } from \"vue\";\r\nimport MyBookingItem from \"./MyBookingItem.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingHistory',\n setup(__props) {\n\r\nconst { data: bookings, isLoading } = useMyBookingsQuery(true);\r\n\r\nconst openItem = ref();\r\n\r\nconst toggle = (bookingNum: number) => {\r\n if (bookingNum === openItem.value) {\r\n openItem.value = undefined;\r\n } else {\r\n openItem.value = bookingNum;\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"myPages.myBookings.history.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.myBookings.history.body\")), 1),\n (_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseSpinner, { color: \"dark\" })\n ]))\n : (!_unref(bookings)?.length)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 1,\n type: \"info\",\n message: _ctx.$t('myPages.myBookings.empty')\n }, null, 8, [\"message\"]))\n : (_openBlock(), _createElementBlock(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(bookings), (booking) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: booking.bookingNumber\n }, [\n _createVNode(MyBookingItem, {\n onToggle: toggle,\n activeBookingNumber: openItem.value,\n item: booking\n }, null, 8, [\"activeBookingNumber\", \"item\"])\n ]))\n }), 128))\n ]))\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingHistory.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingHistory.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingHistory.vue?vue&type=style&index=0&id=636adc94&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-636adc94\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withModifiers as _withModifiers, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-285b3de8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"bookings-loading\"\n}\nconst _hoisted_2 = { key: 2 }\nconst _hoisted_3 = {\n key: 0,\n class: \"booking__info\"\n}\nconst _hoisted_4 = { class: \"flexibility\" }\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseExpansionPanel from \"@/components/base/BaseExpansionPanel.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport { PaymentStatus } from \"@/models/Enums\";\r\nimport useMyBookingsQuery from \"@/modules/MyPages/composables/useMyBookingsQuery\";\r\nimport { computed, ref } from \"vue\";\r\nimport MyBookingItem from \"./MyBookingItem.vue\";\r\nimport MyBookingHistory from \"./MyBookingHistory.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookings',\n setup(__props) {\n\r\nconst { data: bookings, isLoading } = useMyBookingsQuery();\r\n\r\nconst showHistory = ref(false);\r\n\r\nconst unpaidBookings = computed(() => bookings.value?.filter((b) => b.paymentInfo.paymentStatus === PaymentStatus.Unpaid).length);\r\n\r\nconst openItem = ref();\r\n\r\nconst toggle = (bookingNum: number) => {\r\n if (bookingNum === openItem.value) {\r\n openItem.value = undefined;\r\n } else {\r\n openItem.value = bookingNum;\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseExpansionPanel, {\n title: _ctx.$t('myPages.myBookings.title'),\n subtitle: _ctx.$t('myPages.myBookings.handleBookings'),\n icon: \"booking/booking\",\n notifications: unpaidBookings.value\n }, {\n default: _withCtx(() => [\n _createVNode(BasePanel, null, {\n default: _withCtx(() => [\n (_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseSpinner, { color: \"dark\" })\n ]))\n : (!_unref(bookings)?.length)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 1,\n type: \"info\",\n message: _ctx.$t('myPages.myBookings.empty')\n }, null, 8, [\"message\"]))\n : (_openBlock(), _createElementBlock(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(bookings), (booking) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: booking.bookingNumber\n }, [\n _createVNode(MyBookingItem, {\n onToggle: toggle,\n activeBookingNumber: openItem.value,\n item: booking\n }, null, 8, [\"activeBookingNumber\", \"item\"]),\n (booking.isCreatedInWeb4)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.$t(\"myPages.myBookings.bookingCreatedinWeb4\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])),\n _createElementVNode(\"a\", {\n class: \"show-history\",\n href: \"#\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (showHistory.value = !showHistory.value), [\"prevent\"]))\n }, _toDisplayString(!showHistory.value ? _ctx.$t(\"myPages.myBookings.showHistory\") : _ctx.$t(\"myPages.myBookings.hideHistory\")), 1)\n ]),\n _: 1\n }),\n (showHistory.value)\n ? (_openBlock(), _createBlock(BasePanel, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(MyBookingHistory)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"notifications\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookings.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookings.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookings.vue?vue&type=style&index=0&id=285b3de8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-285b3de8\"]])\n\nexport default __exports__","import useApi from \"@/composables/useApi\";\r\nimport { CoPassengerResponse } from \"@/models/api/customer/CoPassengerResponse\";\r\nimport { CoPassenger } from \"@/models/front/customer/CoPassengers\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { useMutation, useQuery, useQueryClient } from \"vue-query\";\r\n\r\nconst useMyCoPassengersQuery = () => {\r\n const userStore = useUserStore();\r\n const { get, post } = useApi();\r\n\r\n const queryClient = useQueryClient();\r\n\r\n const fetcher = () => {\r\n return get(\"customer/copassengers\", \"\").then((resp) => resp.data?.map((d) => new CoPassenger(d)) ?? []);\r\n };\r\n\r\n const updateMutation = useMutation(\r\n (req: CoPassengerResponse[]) => {\r\n return post(\"customer/copassengers\", { passengers: req });\r\n },\r\n {\r\n onSuccess: () => {\r\n queryClient.invalidateQueries(\"myCoPassengers\");\r\n },\r\n }\r\n );\r\n\r\n return {\r\n ...useQuery([\"myCoPassengers\", userStore.getUser.number], fetcher, {\r\n staleTime: Infinity,\r\n }),\r\n updateMutation,\r\n };\r\n};\r\n\r\nexport default useMyCoPassengersQuery;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7825eade\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"header-primary\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"customer-info__loading\"\n}\nconst _hoisted_3 = { class: \"info-item__content\" }\nconst _hoisted_4 = { class: \"info-item__actions\" }\nconst _hoisted_5 = { class: \"info-lightbox\" }\nconst _hoisted_6 = { class: \"header-secondary\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseLightbox from \"@/components/base/BaseLightbox.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { computed, ref } from \"vue\";\r\n\r\ninterface Props {\r\n title?: string;\r\n icon: string;\r\n items?: any[];\r\n disableRemove?: boolean;\r\n text?: string;\r\n idProp?: string;\r\n maxWidth?: number;\r\n isLoading?: boolean;\r\n disableAdd?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCustomerInfoBox',\n props: {\n title: {},\n icon: {},\n items: {},\n disableRemove: { type: Boolean },\n text: {},\n idProp: { default: \"id\" },\n maxWidth: { default: 300 },\n isLoading: { type: Boolean },\n disableAdd: { type: Boolean }\n },\n setup(__props: any, { expose: __expose }) {\n\r\n\r\n\r\nconst closeLightBox = () => {\r\n showLightBox.value = false;\r\n};\r\n\r\n__expose({ closeLightBox });\r\n\r\nconst editItem = (item: unknown) => {\r\n activeItem.value = item;\r\n activeLightBox.value = \"edit\";\r\n};\r\n\r\nconst removeItem = (item: unknown) => {\r\n activeItem.value = item;\r\n activeLightBox.value = \"remove\";\r\n};\r\n\r\nconst activeLightBox = ref(\"\");\r\nconst activeItem = ref();\r\n\r\nconst showLightBox = computed({\r\n get() {\r\n return !!activeLightBox.value;\r\n },\r\n set(value: boolean) {\r\n if (!value) {\r\n activeLightBox.value = \"\";\r\n }\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BasePanel, { class: \"customer-info\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"header\", _hoisted_1, [\n _createVNode(SvgIcon, { icon: _ctx.icon }, null, 8, [\"icon\"]),\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.title), 1)\n ]),\n (_ctx.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(3, (i) => {\n return _createElementVNode(\"div\", {\n class: \"info-item\",\n key: i\n })\n }), 64))\n ]))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(_ctx.items, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"info-item\",\n key: (item as any)[_ctx.idProp]\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"item\", { item: item })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (item.isEditable)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(BaseButton, {\n class: \"btn--icon edit\",\n onClick: ($event: any) => (editItem(item))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"myPages.amend\")), 1),\n _createVNode(SvgIcon, {\n class: \"amend\",\n icon: \"booking/edit\"\n })\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n (!_ctx.disableRemove)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"btn--icon\",\n onClick: ($event: any) => (removeItem(item))\n }, {\n default: _withCtx(() => [\n _createVNode(SvgIcon, {\n class: \"remove\",\n icon: \"x\"\n })\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128)),\n (!_ctx.isLoading && !_ctx.items?.length)\n ? _renderSlot(_ctx.$slots, \"empty\", { key: 2 })\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\"),\n (!_ctx.disableAdd && _ctx.text)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 3,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (activeLightBox.value = 'add')),\n class: \"add-item\"\n }, \"+ \" + _toDisplayString(_ctx.text), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseLightbox, {\n modelValue: showLightBox.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((showLightBox).value = $event)),\n maxWidth: _ctx.maxWidth,\n hideOverflow: true,\n align: \"left\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(SvgIcon, { icon: _ctx.icon }, null, 8, [\"icon\"]),\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.title), 1)\n ])\n ]),\n default: _withCtx(() => [\n (activeLightBox.value === 'edit')\n ? _renderSlot(_ctx.$slots, \"edit\", {\n key: 0,\n item: activeItem.value,\n close: closeLightBox\n })\n : (activeLightBox.value === 'remove')\n ? _renderSlot(_ctx.$slots, \"remove\", {\n key: 1,\n item: activeItem.value,\n close: closeLightBox\n })\n : _renderSlot(_ctx.$slots, \"add\", {\n key: 2,\n close: closeLightBox\n })\n ]),\n _: 3\n }, 8, [\"modelValue\", \"maxWidth\"])\n ])\n ]),\n _: 3\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCustomerInfoBox.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCustomerInfoBox.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCustomerInfoBox.vue?vue&type=style&index=0&id=7825eade&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7825eade\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createElementBlock as _createElementBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseCountrySelect from \"@/components/base/BaseCountrySelect.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport BaseGenderSelect from \"@/components/base/BaseGenderSelect.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport { passengerOptions } from \"@/config/passengers\";\r\nimport { YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport { dateOfBirthIsValid, required } from \"@/helpers/validators\";\r\nimport { PassengerType } from \"@/models/Enums\";\r\nimport { CoPassengerResponse } from \"@/models/api/customer/CoPassengerResponse\";\r\nimport { CoPassenger } from \"@/models/front/customer/CoPassengers\";\r\nimport useMyCoPassengersQuery from \"@/modules/MyPages/composables/useMyCoPassengersQuery\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { helpers } from \"@vuelidate/validators\";\r\nimport { reactive } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\ninterface Props {\r\n passenger?: CoPassenger;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoPassengerEdit',\n props: {\n passenger: {}\n },\n emits: [\"saved\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\nconst { t } = useI18n();\r\n\r\nconst validateBirthDate = (value: string) => {\r\n const option = passengerOptions.find((p) => p.value === state.passengerType);\r\n\r\n if (!option) return false;\r\n\r\n return dateOfBirthIsValid(value, option.min, option.max);\r\n};\r\n\r\nconst state = reactive({\r\n firstName: props.passenger?.firstName ?? \"\",\r\n lastName: props.passenger?.lastName ?? \"\",\r\n dateOfBirth: props.passenger?.dateOfBirth ? YYYYMMDD(props.passenger.dateOfBirth) : \"\",\r\n gender: props.passenger?.gender ?? \"\",\r\n countryCode: props.passenger?.countryCode ?? \"\",\r\n passengerType: props.passenger?.passengerType ?? PassengerType.Adult,\r\n});\r\n\r\nconst rules = {\r\n firstName: { required },\r\n lastName: { required },\r\n dateOfBirth: { required, valid: helpers.withMessage(() => t(\"errors.invalidAge\"), validateBirthDate) },\r\n gender: { required },\r\n countryCode: { required },\r\n passengerType: { required },\r\n};\r\n\r\nconst emit = __emit;\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n const req = { ...props.passenger, ...state } as CoPassengerResponse;\r\n\r\n updateMutation.mutateAsync([req]).then(() => emit(\"saved\"));\r\n};\r\n\r\nconst { updateMutation } = useMyCoPassengersQuery();\r\nconst { isLoading } = updateMutation;\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"passenger-edit\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createVNode(BaseInput, {\n name: \"firstname\",\n type: \"text\",\n modelValue: _unref(v$).firstName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).firstName.$model) = $event)),\n label: _ctx.$t('fields.firstName.label'),\n hasError: _unref(v$).firstName.$error\n }, null, 8, [\"modelValue\", \"label\", \"hasError\"]),\n _createVNode(BaseInput, {\n name: \"lastname\",\n type: \"text\",\n modelValue: _unref(v$).lastName.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).lastName.$model) = $event)),\n hasError: _unref(v$).lastName.$error,\n label: _ctx.$t('fields.lastName.label')\n }, null, 8, [\"modelValue\", \"hasError\", \"label\"]),\n _createVNode(BaseDropdown, {\n name: \"passengertype\",\n modelValue: _unref(v$).passengerType.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).passengerType.$model) = $event)),\n options: _unref(passengerOptions).filter(option => option.type === 'standard'),\n hasError: _unref(v$).passengerType.$error,\n label: _ctx.$t('fields.passengerType.label')\n }, null, 8, [\"modelValue\", \"options\", \"hasError\", \"label\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.dateOfBirth.label'),\n name: \"dateOfBirth\",\n type: \"tel\",\n mask: \"####-##-##\",\n hasError: _unref(v$).dateOfBirth.$error,\n valid: !_unref(v$).dateOfBirth.$invalid,\n modelValue: _unref(v$).dateOfBirth.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).dateOfBirth.$model) = $event)),\n modelModifiers: { trim: true },\n outerLabel: _ctx.$t('fields.dateOfBirth.placeholder')\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\", \"outerLabel\"]),\n _createVNode(BaseGenderSelect, {\n name: \"gender\",\n modelValue: _unref(v$).gender.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(v$).gender.$model) = $event)),\n label: _ctx.$t('fields.gender.label'),\n hasError: _unref(v$).gender.$error\n }, null, 8, [\"modelValue\", \"label\", \"hasError\"]),\n _createVNode(BaseCountrySelect, {\n name: \"country\",\n modelValue: _unref(v$).countryCode.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(v$).countryCode.$model) = $event)),\n label: _ctx.$t('fields.nationality.label'),\n hasError: _unref(v$).countryCode.$error\n }, null, 8, [\"modelValue\", \"label\", \"hasError\"]),\n _createVNode(BaseButton, {\n loading: _unref(isLoading),\n class: \"btn--secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.save\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n (_unref(v$).$errors.length)\n ? (_openBlock(), _createBlock(BaseMessages, {\n key: 0,\n messages: [_unref(v$).dateOfBirth.valid.$message]\n }, null, 8, [\"messages\"]))\n : _createCommentVNode(\"\", true)\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCoPassengerEdit.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCoPassengerEdit.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCoPassengerEdit.vue?vue&type=style&index=0&id=6266afe6&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6266afe6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5d53b744\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"heading\" }\nconst _hoisted_2 = { class: \"item\" }\nconst _hoisted_3 = { class: \"item\" }\nconst _hoisted_4 = { class: \"item\" }\nconst _hoisted_5 = { class: \"item\" }\n\nimport { YYYYMMDD } from '@/helpers/dateHelpers';\r\nimport { CoPassenger } from '@/models/front/customer/CoPassengers.js';\r\n\r\ninterface Props {\r\n passenger: CoPassenger;\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoPassengersInfo',\n props: {\n passenger: {}\n },\n setup(__props: any) {\n\r\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(_ctx.passenger.firstName.toLowerCase()) + \" \" + _toDisplayString(_ctx.passenger.lastName.toLowerCase()), 1),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t(`passengerType.${_ctx.passenger.passengerType}`)), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_unref(YYYYMMDD)(_ctx.passenger.dateOfBirth)), 1),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.$t(`genders.${_ctx.passenger.gender}`)), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.passenger.country), 1)\n ], 64))\n}\n}\n\n})","import script from \"./MyCoPassengersInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCoPassengersInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCoPassengersInfo.vue?vue&type=style&index=0&id=5d53b744&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5d53b744\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a19dcef0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"delete-passenger\" }\nconst _hoisted_2 = { class: \"padding\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport { CoPassenger } from \"@/models/front/customer/CoPassengers\";\r\nimport useMyCoPassengersQuery from \"@/modules/MyPages/composables/useMyCoPassengersQuery\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport MyCustomerInfoBox from \"../MyCustomerInfoBox.vue\";\r\nimport MyCoPassengerEdit from \"./MyCoPassengerEdit.vue\";\r\nimport MyCoPassengersInfo from \"./MyCoPassengersInfo.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoPassengers',\n setup(__props) {\n\r\nconst { data: passengers, isLoading, updateMutation } = useMyCoPassengersQuery();\r\n\r\nconst removeCoPassenger = (passenger: CoPassenger, callback: () => void) => {\r\n const remove = { ...passenger, dateOfBirth: passenger.dateOfBirth.toISOString(), delete: true };\r\n updateMutation.mutateAsync([remove]).then(callback);\r\n};\r\n\r\nconst userStore = useUserStore();\r\n\r\nconst disableAdd = computed(() => userStore.getUser.customerType === \"Staff\");\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyCustomerInfoBox, {\n title: _ctx.$t('myPages.items.myCoPassengersInfo.title'),\n icon: \"booking/avatars\",\n items: _unref(passengers),\n onRemove: removeCoPassenger,\n idProp: \"coPaxId\",\n text: _ctx.$t('myPages.items.myCoPassengersInfo.add'),\n maxWidth: 400,\n isLoading: _unref(isLoading),\n disableAdd: disableAdd.value\n }, {\n item: _withCtx(({ item }) => [\n _createVNode(MyCoPassengersInfo, {\n passenger: (item as CoPassenger)\n }, null, 8, [\"passenger\"])\n ]),\n edit: _withCtx(({ item, close }) => [\n _createVNode(MyCoPassengerEdit, {\n passenger: item,\n onSaved: close\n }, null, 8, [\"passenger\", \"onSaved\"])\n ]),\n add: _withCtx(({ close }) => [\n _createVNode(MyCoPassengerEdit, { onSaved: close }, null, 8, [\"onSaved\"])\n ]),\n remove: _withCtx(({ item, close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(item.firstName) + \" \" + _toDisplayString(item.lastName), 1)\n ]),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(`passengerType.${item.passengerType}`)), 1),\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_unref(YYYYMMDD)(item.dateOfBirth)), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(`genders.${item.gender}`)), 1),\n _createElementVNode(\"p\", null, _toDisplayString(item.country), 1),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n isLoading: _unref(isLoading),\n onClick: ($event: any) => (removeCoPassenger(item, close))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.items.myCoPassengersInfo.delete\")), 1)\n ]),\n _: 2\n }, 1032, [\"isLoading\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"items\", \"text\", \"isLoading\", \"disableAdd\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCoPassengers.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCoPassengers.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCoPassengers.vue?vue&type=style&index=0&id=a19dcef0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a19dcef0\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { CoVehicle } from \"@/models/front/customer/CoVehicles\";\r\nimport useMyCoVehiclesQuery from \"@/modules/MyPages/composables/useMyCoVehiclesQuery\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive } from \"vue\";\r\n\r\ninterface Props {\r\n vehicle?: CoVehicle;\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoVehicleEdit',\n props: {\n vehicle: {}\n },\n emits: [\"saved\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst state = reactive({\r\n license: props.vehicle?.licenseNumber ?? \"\",\r\n description: props.vehicle?.description ?? \"\",\r\n});\r\n\r\nconst rules = {\r\n license: { required },\r\n description: {},\r\n};\r\n\r\nconst emit = __emit;\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst { updateMutation, isLoading } = useMyCoVehiclesQuery();\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n const req = { vehicleId: props.vehicle?.vehicleId, licenseNumber: state.license, description: state.description };\r\n\r\n updateMutation.mutateAsync([req as any]).then(() => emit(\"saved\"));\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"vehicle-edit\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createVNode(BaseInput, {\n modelValue: _unref(v$).license.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).license.$model) = $event)),\n label: _ctx.$t('booking.vehicles.details.license.placeholder'),\n hasError: _unref(v$).license.$error,\n name: \"license number\",\n type: \"text\"\n }, null, 8, [\"modelValue\", \"label\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('myPages.items.myCoVehiclesInfo.myCoVehiclesEdit.text'),\n modelValue: _unref(v$).description.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).description.$model) = $event)),\n name: \"description\",\n type: \"text\"\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n isLoading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.save\")), 1)\n ]),\n _: 1\n }, 8, [\"isLoading\"])\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCoVehicleEdit.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCoVehicleEdit.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyCoVehicleEdit.vue?vue&type=style&index=0&id=9ba91734&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9ba91734\"]])\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, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"heading\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"item\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"item\"\n}\n\nimport { CoVehicle } from \"@/models/front/customer/CoVehicles\";\r\n\r\ninterface Props {\r\n vehicle: CoVehicle;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoVehiclesInfo',\n props: {\n vehicle: {}\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(_ctx.$t(\"myPages.items.myCoVehiclesInfo.license\")), 1),\n (_ctx.vehicle.licenseNumber)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(_ctx.vehicle.licenseNumber), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.vehicle.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_ctx.vehicle.description), 1))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./MyCoVehiclesInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCoVehiclesInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6788d4e8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"delete-vehicle\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { CoVehicle } from \"@/models/front/customer/CoVehicles\";\r\nimport useMyCoVehiclesQuery from \"@/modules/MyPages/composables/useMyCoVehiclesQuery\";\r\nimport MyCustomerInfoBox from \"../MyCustomerInfoBox.vue\";\r\nimport MyCoVehicleEdit from \"./MyCoVehicleEdit.vue\";\r\nimport MyCoVehiclesInfo from \"./MyCoVehiclesInfo.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCoVehicles',\n setup(__props) {\n\r\nconst { data: vehicles, isLoading, updateMutation } = useMyCoVehiclesQuery();\r\n\r\nconst removeCoVehicles = (vehicle: CoVehicle, callback: () => void) => {\r\n const remove = { vehicleId: vehicle.vehicleId, delete: true };\r\n updateMutation.mutateAsync([remove as any]).then(callback);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyCustomerInfoBox, {\n title: _ctx.$t('myPages.items.myCoVehiclesInfo.title'),\n icon: \"booking/car\",\n items: _unref(vehicles),\n onRemove: removeCoVehicles,\n idProp: \"license\",\n text: _ctx.$t('myPages.items.myCoVehiclesInfo.add'),\n maxWidth: 300,\n isLoading: _unref(isLoading)\n }, {\n item: _withCtx(({ item }) => [\n _createVNode(MyCoVehiclesInfo, {\n vehicle: (item as CoVehicle)\n }, null, 8, [\"vehicle\"])\n ]),\n edit: _withCtx(({ item, close }) => [\n _createVNode(MyCoVehicleEdit, {\n vehicle: item,\n onSaved: close\n }, null, 8, [\"vehicle\", \"onSaved\"])\n ]),\n add: _withCtx(({ close }) => [\n _createVNode(MyCoVehicleEdit, { onSaved: close }, null, 8, [\"onSaved\"])\n ]),\n remove: _withCtx(({ item, close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", null, _toDisplayString(item.licenseNumber), 1),\n _createElementVNode(\"p\", null, _toDisplayString(item.description), 1),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n isLoading: _unref(isLoading),\n onClick: ($event: any) => (removeCoVehicles(item, close))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.items.myCoVehiclesInfo.remove\")), 1)\n ]),\n _: 2\n }, 1032, [\"isLoading\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"items\", \"text\", \"isLoading\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCoVehicles.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCoVehicles.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCoVehicles.vue?vue&type=style&index=0&id=6788d4e8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6788d4e8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { CreditCard } from \"@/models/front/customer/CreditCard\";\r\nimport useMyCreditCardsQuery from \"@/modules/MyPages/composables/useMyCreditCardsQuery\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive } from \"vue\";\r\n\r\ninterface Props {\r\n creditCard?: CreditCard;\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCreditCardEdit',\n props: {\n creditCard: {}\n },\n emits: [\"saved\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst state = reactive({\r\n maskedNumber: props.creditCard?.maskedNumber ?? \"\",\r\n cardType: props.creditCard?.cardType ?? \"\",\r\n expiryDate: props.creditCard?.expiryDate ?? \"\",\r\n description: props.creditCard?.description ?? \"\",\r\n});\r\n\r\nconst rules = {\r\n maskedNumber: { required },\r\n cardType: { required },\r\n expiryDate: { required },\r\n description: {},\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\nconst { updateMutation } = useMyCreditCardsQuery();\r\nconst { isLoading } = updateMutation;\r\nconst emit = __emit;\r\n\r\nconst submitForm = async () => {\r\n const isValid = v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n const req = { ...props.creditCard, ...state };\r\n\r\n updateMutation.mutateAsync(req as any).then(() => emit(\"saved\"));\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"creditcard-edit\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createVNode(BaseInput, {\n label: _ctx.$t('myPages.items.myCards.myCreditCardEdit.cardNumber'),\n modelValue: _unref(v$).maskedNumber.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).maskedNumber.$model) = $event)),\n disabled: \"\"\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('myPages.items.myCards.myCreditCardEdit.type'),\n modelValue: _unref(v$).cardType.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).cardType.$model) = $event)),\n disabled: \"\"\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('myPages.items.myCards.myCreditCardEdit.expirationDate'),\n modelValue: _unref(v$).expiryDate.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).expiryDate.$model) = $event)),\n disabled: \"\"\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('myPages.items.myCoVehiclesInfo.myCoVehiclesEdit.text'),\n modelValue: _unref(v$).description.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).description.$model) = $event))\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.save\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCreditCardEdit.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCreditCardEdit.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyCreditCardEdit.vue?vue&type=style&index=0&id=638ea706&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-638ea706\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"heading\" }, \"Betalningsmetod\", -1)\nconst _hoisted_2 = { class: \"item\" }\nconst _hoisted_3 = { class: \"item\" }\nconst _hoisted_4 = { class: \"item\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"item\"\n}\n\nimport { CreditCard } from \"@/models/front/customer/CreditCard\";\r\n\r\ninterface Props {\r\n creditCard: CreditCard;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCreditCardsInfo',\n props: {\n creditCard: {}\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.creditCard.maskedNumber), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.creditCard.cardType), 1),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.creditCard.expiryDate), 1),\n (_ctx.creditCard.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString(_ctx.creditCard.description), 1))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./MyCreditCardsInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCreditCardsInfo.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, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-41fc6a0c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"delete-creditcard\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { CreditCard } from \"@/models/front/customer/CreditCard\";\r\nimport useMyCreditCardsQuery from \"@/modules/MyPages/composables/useMyCreditCardsQuery\";\r\nimport MyCustomerInfoBox from \"../MyCustomerInfoBox.vue\";\r\nimport MyCreditCardEdit from \"./MyCreditCardEdit.vue\";\r\nimport MyCreditCardsInfo from \"./MyCreditCardsInfo.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCreditCards',\n setup(__props) {\n\r\nconst { data: creditCards, isLoading, deleteMutation } = useMyCreditCardsQuery();\r\n\r\nconst removeCreditCard = (creditCard: CreditCard, callback: () => void) => {\r\n deleteMutation.mutateAsync(creditCard).then(callback);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyCustomerInfoBox, {\n title: _ctx.$t('myPages.items.myCards.title'),\n icon: \"booking/ticket\",\n items: _unref(creditCards),\n onRemove: removeCreditCard,\n isLoading: _unref(isLoading)\n }, {\n empty: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.items.myCards.empty\")), 1)\n ]),\n item: _withCtx(({ item }) => [\n _createVNode(MyCreditCardsInfo, {\n creditCard: (item as CreditCard)\n }, null, 8, [\"creditCard\"])\n ]),\n edit: _withCtx(({ item, close }) => [\n _createVNode(MyCreditCardEdit, {\n creditCard: item,\n onSaved: close\n }, null, 8, [\"creditCard\", \"onSaved\"])\n ]),\n add: _withCtx(({ close }) => [\n _createVNode(MyCreditCardEdit, { onSaved: close }, null, 8, [\"onSaved\"])\n ]),\n remove: _withCtx(({ item, close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", null, _toDisplayString(item.maskedNumber), 1),\n _createElementVNode(\"p\", null, _toDisplayString(item.expiryDate), 1),\n _createElementVNode(\"p\", null, _toDisplayString(item.description), 1),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n isLoading: _unref(isLoading),\n onClick: ($event: any) => (removeCreditCard(item, close))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.items.myCards.remove\")), 1)\n ]),\n _: 2\n }, 1032, [\"isLoading\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"items\", \"isLoading\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCreditCards.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCreditCards.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCreditCards.vue?vue&type=style&index=0&id=41fc6a0c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-41fc6a0c\"]])\n\nexport default __exports__","import useApi from \"@/composables/useApi\";\r\nimport { AddressInformationResponse } from \"@/models/api/customer/AddressInformationResponse\";\r\nimport { mapFromAddressInformationResponse } from \"@/models/front/customer/AddressInformation\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { useMutation, useQuery, useQueryClient } from \"vue-query\";\r\n\r\nconst useMyCustomerDetailsQuery = () => {\r\n const userStore = useUserStore();\r\n const { post, get } = useApi();\r\n\r\n const queryClient = useQueryClient();\r\n\r\n const fetcher = () => {\r\n return get(`customer/address`, \"\").then((resp) => {\r\n const customerDetails = mapFromAddressInformationResponse(resp.data);\r\n userStore.login({\r\n ...userStore.getUser,\r\n firstName: customerDetails.firstName,\r\n lastName: customerDetails.lastName,\r\n name: `${customerDetails.firstName} ${customerDetails.lastName}`,\r\n });\r\n return customerDetails;\r\n });\r\n };\r\n\r\n const updateMutation = useMutation(\r\n (req: AddressInformationResponse) => {\r\n return post(\"customer/address\", req);\r\n },\r\n {\r\n onSuccess: () => {\r\n queryClient.invalidateQueries(\"customerDetails\");\r\n },\r\n }\r\n );\r\n\r\n return {\r\n ...useQuery([\"customerDetails\", userStore.getUser.number], fetcher, {\r\n staleTime: Infinity,\r\n }),\r\n updateMutation,\r\n };\r\n};\r\n\r\nexport default useMyCustomerDetailsQuery;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5f93ef6a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"profile-edit__password\" }\nconst _hoisted_2 = { class: \"profile-edit__button\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseCountrySelect from \"@/components/base/BaseCountrySelect.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport IslanderBox from \"@/components/customer/IslanderBox.vue\";\r\nimport { countryCodes } from \"@/config/countries\";\r\nimport { format } from \"@/helpers/phoneHelper\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { ErrorCodes } from \"@/models/Enums\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport useMyCustomerDetailsQuery from \"@/modules/MyPages/composables/useMyCustomerDetailsQuery\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\ninterface Props {\r\n customerDetails: AddressInformation;\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCustomerProfileEdit',\n props: {\n customerDetails: {}\n },\n emits: [\"abort\", \"saved\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst verifiedIslander = ref(props.customerDetails.isIslander === true);\r\n\r\nconst userStore = useUserStore();\r\n\r\nconst isNameReadonly = computed(() => userStore.getIsNameReadonly);\r\n\r\nconst state = reactive({\r\n isIslander: props.customerDetails.isIslander,\r\n ssn: \"\",\r\n firstName: props.customerDetails.firstName,\r\n lastName: props.customerDetails.lastName,\r\n address: props.customerDetails.address,\r\n zip: props.customerDetails.zip,\r\n city: props.customerDetails.city,\r\n countryCode: props.customerDetails.countryCode,\r\n phoneCode: props.customerDetails.phoneCode,\r\n mobilePhone: props.customerDetails.mobilePhone,\r\n email: props.customerDetails.email,\r\n password: \"\",\r\n});\r\n\r\nconst rules = {\r\n isIslander: { required },\r\n ssn: { v: (value: string) => !state.isIslander || verifiedIslander.value === true || value.length == 12 },\r\n firstName: { required },\r\n lastName: { required },\r\n address: { required },\r\n zip: { required },\r\n city: { required },\r\n countryCode: { required },\r\n phoneCode: { required },\r\n mobilePhone: { required },\r\n email: { required },\r\n password: { required },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst { updateMutation } = useMyCustomerDetailsQuery();\r\nconst { isLoading } = updateMutation;\r\nconst { t } = useI18n();\r\nconst islanderErrorMessage = ref(\"\");\r\n\r\nconst invalidPassword = ref(false);\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n\r\n if (!isValid) return;\r\n\r\n const req = { ...state, mobilePhone: format(state.mobilePhone, state.phoneCode) };\r\n\r\n updateMutation\r\n .mutateAsync(req as any)\r\n .then(() => {\r\n emit(\"saved\");\r\n })\r\n .catch((err) => {\r\n if (err.response.data.code === ErrorCodes.InvalidPassword) {\r\n invalidPassword.value = true;\r\n } else if (err.response?.data?.errorCode === ErrorCodes.InvalidIslander) {\r\n islanderErrorMessage.value = t(\"islander.verify.error\");\r\n }\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"profile-edit\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n (!_ctx.customerDetails.isCommuter && _ctx.customerDetails.allowUpdateIslander)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"fields.isIslander.label\")), 1),\n _createElementVNode(\"fieldset\", null, [\n _createVNode(BaseRadio, {\n name: \"isIslander\",\n label: _ctx.$t('fields.isIslander.yes'),\n modelValue: _unref(v$).isIslander.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).isIslander.$model) = $event)),\n id: \"isIslander-yes\",\n value: true,\n hasError: _unref(v$).isIslander.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseRadio, {\n name: \"isIslander\",\n label: _ctx.$t('fields.isIslander.no'),\n modelValue: _unref(v$).isIslander.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).isIslander.$model) = $event)),\n id: \"isIslander-no\",\n value: false,\n hasError: _unref(v$).isIslander.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n (state.isIslander && !verifiedIslander.value)\n ? (_openBlock(), _createBlock(IslanderBox, {\n key: 1,\n modelValue: _unref(v$).ssn.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).ssn.$model) = $event)),\n hasError: _unref(v$).ssn.$error,\n errorMessage: islanderErrorMessage.value\n }, null, 8, [\"modelValue\", \"hasError\", \"errorMessage\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.firstName.label'),\n modelValue: _unref(v$).firstName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).firstName.$model) = $event)),\n hasError: _unref(v$).firstName.$error,\n disabled: isNameReadonly.value\n }, null, 8, [\"label\", \"modelValue\", \"hasError\", \"disabled\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.lastName.label'),\n modelValue: _unref(v$).lastName.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(v$).lastName.$model) = $event)),\n hasError: _unref(v$).lastName.$error,\n disabled: isNameReadonly.value\n }, null, 8, [\"label\", \"modelValue\", \"hasError\", \"disabled\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.address.label'),\n modelValue: _unref(v$).address.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(v$).address.$model) = $event)),\n hasError: _unref(v$).address.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createElementVNode(\"fieldset\", null, [\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.zip.label'),\n modelValue: _unref(v$).zip.$model,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(v$).zip.$model) = $event)),\n hasError: _unref(v$).zip.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.city.label'),\n modelValue: _unref(v$).city.$model,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(v$).city.$model) = $event)),\n hasError: _unref(v$).city.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]),\n _createVNode(BaseCountrySelect, {\n label: _ctx.$t('fields.country.label'),\n modelValue: _unref(v$).countryCode.$model,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(v$).countryCode.$model) = $event)),\n hasError: _unref(v$).countryCode.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createElementVNode(\"fieldset\", null, [\n _createVNode(BaseDropdown, {\n options: _unref(countryCodes),\n label: _ctx.$t('fields.phoneCode.label'),\n modelValue: _unref(v$).phoneCode.$model,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(v$).phoneCode.$model) = $event)),\n hasError: _unref(v$).phoneCode.$error\n }, null, 8, [\"options\", \"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.mobilePhone.label'),\n modelValue: _unref(v$).mobilePhone.$model,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_unref(v$).mobilePhone.$model) = $event)),\n hasError: _unref(v$).mobilePhone.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.email.label'),\n modelValue: _unref(v$).email.$model,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_unref(v$).email.$model) = $event)),\n hasError: _unref(v$).email.$error,\n errors: _unref(v$).email.$errors\n }, null, 8, [\"label\", \"modelValue\", \"hasError\", \"errors\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"myPages.items.myCustomerProfile.currentPassword\")), 1),\n _createVNode(BaseInput, {\n type: \"password\",\n label: _ctx.$t('fields.currentPassword.label'),\n modelValue: _unref(v$).password.$model,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_unref(v$).password.$model) = $event)),\n hasError: _unref(v$).password.$error || invalidPassword.value,\n autocomplete: \"new-password\"\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]),\n _createVNode(BaseMessages, {\n messages: [...new Set(_unref(v$).$errors.map((e) => e.$message))]\n }, null, 8, [\"messages\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseButton, {\n onClick: _cache[13] || (_cache[13] = ($event: any) => (emit('abort'))),\n type: \"button\",\n class: \"btn--transparent\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.cancel\")), 1)\n ]),\n _: 1\n }),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.save\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCustomerProfileEdit.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCustomerProfileEdit.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyCustomerProfileEdit.vue?vue&type=style&index=0&id=5f93ef6a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5f93ef6a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-641ed176\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"customer-details\" }\nconst _hoisted_2 = { class: \"customer-details__input\" }\nconst _hoisted_3 = { class: \"customer-details__input\" }\nconst _hoisted_4 = { class: \"customer-details__input\" }\nconst _hoisted_5 = { class: \"customer-details__input\" }\nconst _hoisted_6 = { class: \"customer-details__input\" }\n\nimport { format } from \"@/helpers/phoneHelper\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\n\r\ninterface Props {\r\n customerDetails: AddressInformation;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCustomerProfileInfo',\n props: {\n customerDetails: {}\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.customerDetails.firstName) + \" \" + _toDisplayString(_ctx.customerDetails.lastName), 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.customerDetails.acceptsContact), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(_toDisplayString(_ctx.customerDetails.address) + \" \", 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.customerDetails.zip) + \" \" + _toDisplayString(_ctx.customerDetails.city), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.customerDetails.country), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.$t(\"fields.email.label\")) + \": \" + _toDisplayString(_ctx.customerDetails.email), 1),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.$t(\"fields.mobilePhone.label\")) + \": \" + _toDisplayString(_unref(format)(_ctx.customerDetails.mobilePhone, _ctx.customerDetails.phoneCode)), 1)\n ]))\n}\n}\n\n})","import script from \"./MyCustomerProfileInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCustomerProfileInfo.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyCustomerProfileInfo.vue?vue&type=style&index=0&id=641ed176&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-641ed176\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-43103f96\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"reset-password\"\n}\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport useForgotPassword from \"@/composables/login/useForgotPassword\";\r\nimport useSnackbar from \"@/composables/useSnackbar\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport useMyCustomerDetailsQuery from \"@/modules/MyPages/composables/useMyCustomerDetailsQuery\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport MyCustomerInfoBox from \"../MyCustomerInfoBox.vue\";\r\nimport MyCustomerProfileEdit from \"./MyCustomerProfileEdit.vue\";\r\nimport MyCustomerProfileInfo from \"./MyCustomerProfileInfo.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCustomerProfile',\n setup(__props) {\n\r\nconst { data: addressInfo, isLoading } = useMyCustomerDetailsQuery();\r\nconst { sendForgotPassword, isLoading: isSending, isSuccess } = useForgotPassword();\r\n\r\nconst { t } = useI18n();\r\n\r\nconst { displaySnack } = useSnackbar();\r\n\r\nconst sendEmailConfirmation = () => {\r\n if (addressInfo.value) {\r\n sendForgotPassword(addressInfo.value.email)?.then(() => {\r\n displaySnack({\r\n message: `${t(\"myPages.items.myCustomerInfo.changePassword.confirmation\")} ${addressInfo.value?.email}`,\r\n type: \"success\",\r\n id: `${addressInfo.value.email}`,\r\n });\r\n });\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyCustomerInfoBox, {\n title: _ctx.$t('myPages.items.title'),\n icon: \"booking/avatar\",\n items: _unref(addressInfo) ? [{ ..._unref(addressInfo), isEditable: true }] : [],\n disableRemove: true,\n maxWidth: 640,\n isLoading: _unref(isLoading)\n }, {\n item: _withCtx(({ item }) => [\n _createVNode(MyCustomerProfileInfo, {\n customerDetails: (item as AddressInformation)\n }, null, 8, [\"customerDetails\"])\n ]),\n edit: _withCtx(({ item, close }) => [\n _createVNode(MyCustomerProfileEdit, {\n customerDetails: item,\n onAbort: close,\n onSaved: close\n }, null, 8, [\"customerDetails\", \"onAbort\", \"onSaved\"])\n ]),\n default: _withCtx(() => [\n (_unref(addressInfo))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"header\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"myPages.items.myCustomerInfo.changePassword.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.items.myCustomerInfo.changePassword.info\")), 1)\n ]),\n _createVNode(BaseButton, {\n onClick: sendEmailConfirmation,\n loading: _unref(isSending),\n disabled: _unref(isSuccess),\n type: \"button\"\n }, {\n default: _withCtx(() => [\n (!_unref(isSuccess))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _toDisplayString(_ctx.$t(\"myPages.items.myCustomerInfo.changePassword.send\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.$t(\"myPages.items.myCustomerInfo.changePassword.sent\")), 1))\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"items\", \"isLoading\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyCustomerProfile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCustomerProfile.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyCustomerProfile.vue?vue&type=style&index=0&id=43103f96&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-43103f96\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport BaseExpansionPanel from \"@/components/base/BaseExpansionPanel.vue\";\r\nimport MyCoPassengers from \"./CoPassengers/MyCoPassengers.vue\";\r\nimport MyCoVehicles from \"./CoVehicles/MyCoVehicles.vue\";\r\nimport MyCreditCards from \"./CreditCards/MyCreditCards.vue\";\r\nimport MyCustomerProfile from \"./CustomerProfile/MyCustomerProfile.vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyCustomerInfo',\n setup(__props) {\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"section\", null, [\n _createVNode(BaseExpansionPanel, {\n title: _ctx.$t('myPages.items.myCustomerInfo.title'),\n subtitle: _ctx.$t('myPages.items.myCustomerInfo.subtitle')\n }, {\n default: _withCtx(() => [\n _createVNode(MyCoPassengers),\n _createVNode(MyCoVehicles),\n _createVNode(MyCreditCards),\n _createVNode(MyCustomerProfile)\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\"])\n ]))\n}\n}\n\n})","import script from \"./MyCustomerInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyCustomerInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyCustomerInfo.vue?vue&type=style&index=0&id=92d7118c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-92d7118c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-708e19d6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = { key: 1 }\n\nimport { Transaction } from \"@/models/front/customer/Transaction\";\r\nimport { YYYYMMDD } from \"@/helpers/dateHelpers\";\r\n\r\ninterface Props {\r\n transaction: Transaction;\r\n showComment?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TransactionItem',\n props: {\n transaction: {},\n showComment: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"tr\", null, [\n _createElementVNode(\"td\", null, _toDisplayString(_unref(YYYYMMDD)(_ctx.transaction.date)), 1),\n (_ctx.transaction.bookingNumber !== -1)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_1, [\n _createElementVNode(\"a\", {\n href: _ctx.transaction.link,\n target: \"_blank\",\n class: \"link\"\n }, _toDisplayString(_ctx.transaction.bookingNumber), 9, _hoisted_2)\n ]))\n : (_openBlock(), _createElementBlock(\"td\", _hoisted_3)),\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.transaction.amount) + \":-\", 1),\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.transaction.note), 1)\n ]))\n}\n}\n\n})","import script from \"./TransactionItem.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TransactionItem.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TransactionItem.vue?vue&type=style&index=0&id=708e19d6&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-708e19d6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-13eb730c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"travelcard\"\n}\nconst _hoisted_2 = {\n key: 2,\n class: \"travelcard-transactions\"\n}\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"card-details\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"td\", null, null, -1))\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseExpansionPanel from \"@/components/base/BaseExpansionPanel.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport TransactionItem from \"@/modules/MyPages/components/TransactionItem.vue\";\r\nimport useCustomerCardsQuery from \"../composables/useCustomerCardsQuery\";\r\nimport { computed } from \"vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Transactions',\n setup(__props) {\n\r\nconst { data: card, isLoading } = useCustomerCardsQuery();\r\n\r\nconst anyComments = computed(() => card.value?.travelCard.transactions.some((t) => !!t.note));\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseExpansionPanel, {\n title: _ctx.$t('myPages.transactions.title'),\n subtitle: _ctx.$t('myPages.transactions.viewTransactions'),\n icon: \"booking/details\"\n }, {\n default: _withCtx(() => [\n _createVNode(BasePanel, null, {\n default: _withCtx(() => [\n (!_unref(card))\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 0,\n type: \"info\",\n message: _ctx.$t('myPages.transactions.noCards')\n }, null, 8, [\"message\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(isLoading))\n ? (_openBlock(), _createBlock(BaseSpinner, {\n key: 0,\n color: \"dark\"\n }))\n : (!_unref(card)?.travelCard.transactions.length)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 1,\n type: \"info\",\n message: _ctx.$t('myPages.transactions.empty')\n }, null, 8, [\"message\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"table\", null, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"myPages.transactions.date\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"myPages.transactions.bookingNumber\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"myPages.transactions.amount\")), 1),\n (anyComments.value)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_3, _toDisplayString(_ctx.$t(\"myPages.transactions.comment\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(card)?.travelCard.transactions, (transaction, index) => {\n return (_openBlock(), _createBlock(TransactionItem, {\n key: index,\n transaction: transaction,\n showComment: anyComments.value\n }, null, 8, [\"transaction\", \"showComment\"]))\n }), 128)),\n _createElementVNode(\"tr\", _hoisted_4, [\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.$t(\"myPages.transactions.currentBalance\")), 1),\n _hoisted_5,\n _createElementVNode(\"td\", null, _toDisplayString(_unref(card)?.travelCard.balance) + \":-\", 1)\n ])\n ])\n ]),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.transactions.linkDescription\")), 1)\n ]))\n ]))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./Transactions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Transactions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Transactions.vue?vue&type=style&index=0&id=13eb730c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-13eb730c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1aacdaf1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"my-page\" }\nconst _hoisted_2 = { class: \"my-page__left\" }\nconst _hoisted_3 = { class: \"my-page__right\" }\n\nimport BaseSection from \"@/components/base/BaseSection.vue\";\r\nimport useUnloadBookings from \"@/composables/useUnloadBookings\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport useProductCodesQuery from \"../composables/useProductCodesQuery\";\r\nimport AgentBookings from \"./AgentBookings/AgentBookings.vue\";\r\nimport BookFerry from \"./BookFerry.vue\";\r\nimport CustomerCardInfo from \"./CustomerCardInfo.vue\";\r\nimport MyBookings from \"./MyBookings/MyBookings.vue\";\r\nimport MyCustomerInfo from \"./MyCustomerInfo/MyCustomerInfo.vue\";\r\nimport MyProfile from \"./MyProfile.vue\";\r\nimport Transactions from \"./Transactions.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyPages',\n setup(__props) {\n\r\nconst userStore = useUserStore();\r\n\r\nconst isAgent = computed(() => userStore.isAgent);\r\n\r\nconst user = computed(() => {\r\n return userStore.getUser;\r\n});\r\n\r\nconst isTravelCardCustomer = computed(() => userStore.getUser.customerType === \"TravelCard\");\r\n\r\nconst bookingStore = useBookingStore();\r\nconst { unload } = useUnloadBookings();\r\n\r\nconst { data: productCodes } = useProductCodesQuery();\r\n\r\nif (bookingStore.isAmendment) {\r\n unload();\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (isAgent.value)\n ? (_openBlock(), _createBlock(BaseSection, {\n key: 0,\n title: _ctx.$t('myPages.title'),\n subtitle: _ctx.$t('myPages.subtitle'),\n infoText: user.value.name\n }, {\n default: _withCtx(() => [\n _createVNode(BookFerry, { productCodes: _unref(productCodes) }, null, 8, [\"productCodes\"]),\n _createVNode(AgentBookings)\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"infoText\"]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createVNode(BaseSection, {\n title: `${_ctx.$t('myPages.title')} ${user.value.firstName}`,\n subtitle: _ctx.$t('myPages.subtitle'),\n infoText: `${user.value.firstName} - ${_ctx.$t('myPages.customerNumber')} ${user.value.number} `\n }, {\n default: _withCtx(() => [\n _createVNode(CustomerCardInfo, {\n centered: \"\",\n hideBalance: \"\"\n }),\n _createVNode(BookFerry),\n _createVNode(MyBookings),\n (isTravelCardCustomer.value)\n ? (_openBlock(), _createBlock(Transactions, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"infoText\"]),\n _createVNode(BaseSection, {\n infoText: _ctx.$t('myPages.items.title')\n }, {\n default: _withCtx(() => [\n _createVNode(MyCustomerInfo)\n ]),\n _: 1\n }, 8, [\"infoText\"])\n ], 64))\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(MyProfile, {\n username: user.value.name\n }, null, 8, [\"username\"])\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyPages.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyPages.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyPages.vue?vue&type=style&index=0&id=1aacdaf1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1aacdaf1\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1461dfc2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"base-modal-overlay\" }\nconst _hoisted_2 = { class: \"base-modal-container\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 32 32\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n style: {\"fill\":\"currentColor\"},\n d: \"M17.41 16 24 9.41 22.59 8 16 14.59 9.41 8 8 9.41 14.59 16 8 22.59 9.41 24 16 17.41 22.59 24 24 22.59 17.41 16z\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n style: {\"fill\":\"none\"},\n d: \"M0 0h32v32H0z\",\n \"data-name\": \"<Transparent Rectangle>\"\n })\n], -1))\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = { class: \"base-modal__body\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"base-modal__footer\"\n}\n\nimport { ref } from \"vue\";\r\nimport { onClickOutside } from \"@vueuse/core\";\r\nimport BaseButton from \"./BaseButton.vue\";\r\n\r\ninterface Props {\r\n title?: string;\r\n subtitle?: string;\r\n isClosable?: boolean;\r\n preventCloseOnClickOutside?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseModal',\n props: {\n title: {},\n subtitle: {},\n isClosable: { type: Boolean, default: true },\n preventCloseOnClickOutside: { type: Boolean }\n },\n emits: [\"close\"],\n setup(__props: any, { emit: __emit }) {\n\r\n\r\n\r\nconst emit = __emit;\r\n\r\nconst close = () => {\r\n emit(\"close\");\r\n};\r\n\r\nconst modalRef = ref();\r\n\r\nonClickOutside(modalRef, () => {\r\n close();\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n ref_key: \"modalRef\",\n ref: modalRef,\n class: \"base-modal\"\n }, [\n _createElementVNode(\"header\", null, [\n (_ctx.isClosable)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n onClick: close,\n class: \"close btn--transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.title), 1),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.subtitle), 1))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"header\")\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"footer\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"footer\")\n ]))\n : _createCommentVNode(\"\", true)\n ], 512)\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseModal.vue?vue&type=style&index=0&id=1461dfc2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1461dfc2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, Transition as _Transition } from \"vue\"\n\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport MaintenanceWrapper from \"@/components/maintenance/MaintenanceWrapper.vue\";\r\nimport useGetCurrentUser from \"@/composables/login/useGetCurrentUser\";\r\nimport useIsLoggedInQuery from \"@/composables/login/useIsLoggedInQuery\";\r\nimport { userAgentIsApp } from \"@/helpers/appHelper\";\r\nimport { computed } from \"vue\";\r\nimport LoginForm from \"../Login/components/LoginForm.vue\";\r\nimport MyPages from \"./components/MyPages.vue\";\r\nimport BaseModal from \"@/components/base/BaseModal.vue\";\r\nimport useApi from \"@/composables/useApi\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { postMessage } from \"@/helpers/messageHandler\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\r\nconst { data: isLoggedIn, isLoading } = useIsLoggedInQuery();\r\n\r\nconst { checkIfLoggedIn, isLoading: isFetchingLoggedInUser } = useGetCurrentUser();\r\n\r\ncheckIfLoggedIn();\r\n\r\nconst isApp = userAgentIsApp();\r\n\r\nconst { removeToken } = useApi();\r\n\r\nconst userStore = useUserStore();\r\n\r\nconst onSessionExpired = () => {\r\n userStore.$reset();\r\n sessionStorage.clear();\r\n localStorage.clear();\r\n removeToken();\r\n\r\n if (postMessage(\"sessionexpired\") === false) {\r\n window.location.replace(location.origin);\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MaintenanceWrapper, { class: \"mypages\" }, {\n default: _withCtx(() => [\n _createVNode(_Transition, {\n name: \"fade\",\n mode: \"out-in\"\n }, {\n default: _withCtx(() => [\n (_unref(isLoading) || _unref(isFetchingLoggedInUser))\n ? (_openBlock(), _createBlock(BaseSpinner, {\n color: \"dark\",\n key: \"spinner\"\n }))\n : (_unref(isLoggedIn))\n ? (_openBlock(), _createBlock(MyPages, { key: \"mypages\" }))\n : (!_unref(isApp))\n ? (_openBlock(), _createBlock(LoginForm, {\n key: 2,\n class: \"mypages__login\"\n }))\n : (_openBlock(), _createBlock(BaseModal, {\n key: 3,\n isClosable: false,\n title: _ctx.$t('messages.sessionExpired.title')\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"messages.sessionExpired.body\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(BaseButton, {\n onClick: onSessionExpired,\n class: \"btn--fixed-width\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.ok\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\"]))\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./App.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./App.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./App.vue?vue&type=style&index=0&id=45629684&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-45629684\"]])\n\nexport default __exports__","import { createApp } from 'vue';\r\nimport { VueQueryPlugin } from 'vue-query';\r\nimport i18n from '~/config/i18n';\r\nimport { pinia } from \"~/store\";\r\nimport App from './App.vue';\r\nimport eventbusPlugin from '@/plugins/eventbus';\r\n\r\nconst app = createApp(App);\r\napp.use(pinia);\r\napp.use(i18n);\r\napp.use(eventbusPlugin);\r\napp.use(VueQueryPlugin);\r\n\r\napp.mount('#mypages');","// 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","__webpack_require__.amdO = {};","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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + \"5d2598c7\" + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + \"4bfe6eab\" + \".css\";\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); }","var inProgress = {};\nvar dataWebpackPrefix = \"destgotlandclient:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// 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__.j = 707;","__webpack_require__.p = \"/dist/web/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t707: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"214\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// 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\t707: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\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[\"webpackChunkdestgotlandclient\"] = self[\"webpackChunkdestgotlandclient\"] || [];\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,996], function() { return __webpack_require__(18296); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["useGetCurrentUser","get","getToken","useApi","displayErrors","userStore","useUserStore","error","ref","isLoading","checkIfLoggedIn","value","undefined","isLoggedIn","getCurrentUser","then","user","login","catch","err","finally","Promise","resolve","resp","data","userType","mapFromAgentLoginResponse","mapFromCustomerLoginResponse","useProductCodesQuery","fetcher","map","p","label","description","code","cacheKey","computed","getUser","email","useQuery","enabled","isAgent","refetchOnWindowFocus","staleTime","retry","removeEmpty","obj","Object","fromEntries","entries","filter","_","v","useAgentBookingsQuery","includeHistory","post","params","startDate","endDate","status","bookingNumber","name","reference","history","getAgentBookings","d","MyBooking","setParams","bookingParams","readonly","_hoisted_1","class","_hoisted_2","_hoisted_3","key","_defineComponent","__name","setup","__props","openItem","toggle","bookingNum","state","reactive","customerName","rules","numeric","minLength","v$","useVuelidate","submitForm","async","isValid","$validate","_ctx","_cache","_openBlock","_createBlock","BaseExpansionPanel","title","$t","subtitle","icon","default","_withCtx","_createVNode","BasePanel","_createElementVNode","onSubmit","_withModifiers","BaseInput","modelValue","_unref","$model","$event","hasError","$error","type","placeholder","mask","BaseButton","loading","_createTextVNode","_createElementBlock","BaseSpinner","color","_createCommentVNode","length","BaseAlert","message","_Fragment","_renderList","booking","MyBookingItem","item","activeBookingNumber","onToggle","__exports__","props","productCodes","redirect","useRedirect","unload","useUnloadBookings","selectedProductCode","getSelectedProductCode","set","val","setSelectedProductCode","startNewBooking","PageUrl","Booking","linkUrl","buttons","BaseDropdown","options","onClick","_normalizeClass","_toDisplayString","useMyBookingsQuery","fetchHistory","number","Infinity","bookings","_hoisted_4","showHistory","unpaidBookings","b","paymentInfo","paymentStatus","PaymentStatus","Unpaid","notifications","isCreatedInWeb4","href","MyBookingHistory","useMyCoPassengersQuery","queryClient","useQueryClient","CoPassenger","updateMutation","useMutation","req","passengers","onSuccess","invalidateQueries","_hoisted_5","_hoisted_6","items","disableRemove","Boolean","text","idProp","maxWidth","disableAdd","expose","__expose","closeLightBox","showLightBox","editItem","activeItem","activeLightBox","removeItem","SvgIcon","i","_renderSlot","$slots","isEditable","BaseLightbox","hideOverflow","align","header","close","passenger","emits","emit","__emit","t","useI18n","validateBirthDate","option","passengerOptions","find","passengerType","dateOfBirthIsValid","min","max","firstName","lastName","dateOfBirth","YYYYMMDD","gender","countryCode","PassengerType","Adult","required","valid","helpers","withMessage","mutateAsync","$invalid","modelModifiers","trim","outerLabel","BaseGenderSelect","BaseCountrySelect","$errors","BaseMessages","messages","$message","toLowerCase","country","removeCoPassenger","callback","remove","toISOString","delete","customerType","MyCustomerInfoBox","onRemove","MyCoPassengersInfo","edit","MyCoPassengerEdit","onSaved","add","vehicle","license","licenseNumber","useMyCoVehiclesQuery","vehicleId","vehicles","removeCoVehicles","MyCoVehiclesInfo","MyCoVehicleEdit","creditCard","maskedNumber","cardType","expiryDate","useMyCreditCardsQuery","disabled","creditCards","deleteMutation","removeCreditCard","empty","MyCreditCardsInfo","MyCreditCardEdit","useMyCustomerDetailsQuery","customerDetails","mapFromAddressInformationResponse","verifiedIslander","isIslander","isNameReadonly","getIsNameReadonly","ssn","address","zip","city","phoneCode","mobilePhone","password","islanderErrorMessage","invalidPassword","format","response","ErrorCodes","InvalidPassword","errorCode","InvalidIslander","isCommuter","allowUpdateIslander","BaseRadio","id","IslanderBox","errorMessage","countryCodes","errors","autocomplete","Set","e","acceptsContact","addressInfo","sendForgotPassword","isSending","isSuccess","useForgotPassword","displaySnack","useSnackbar","sendEmailConfirmation","MyCustomerProfileInfo","MyCustomerProfileEdit","onAbort","MyCoPassengers","MyCoVehicles","MyCreditCards","MyCustomerProfile","transaction","showComment","date","link","target","amount","note","_withScopeId","n","_pushScopeId","_popScopeId","card","useCustomerCardsQuery","anyComments","travelCard","transactions","some","index","TransactionItem","balance","isTravelCardCustomer","bookingStore","useBookingStore","isAmendment","BaseSection","infoText","BookFerry","AgentBookings","CustomerCardInfo","centered","hideBalance","MyBookings","Transactions","MyCustomerInfo","MyProfile","username","xmlns","viewBox","style","isClosable","preventCloseOnClickOutside","modalRef","onClickOutside","ref_key","footer","useIsLoggedInQuery","isFetchingLoggedInUser","isApp","userAgentIsApp","removeToken","onSessionExpired","$reset","sessionStorage","clear","localStorage","postMessage","window","location","replace","origin","MaintenanceWrapper","_Transition","mode","MyPages","BaseModal","LoginForm","app","createApp","App","use","pinia","i18n","eventbusPlugin","VueQueryPlugin","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","amdO","deferred","O","result","chunkIds","fn","priority","notFulfilled","fulfilled","j","keys","every","splice","r","getter","__esModule","a","definition","o","defineProperty","enumerable","f","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","this","Function","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","head","appendChild","Symbol","toStringTag","nmd","paths","children","createStylesheet","fullhref","oldTag","reject","linkTag","rel","nonce","onLinkComplete","errorType","realHref","Error","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}