{"version":3,"sources":["app.module.scss","shared/loader/loader.module.scss","routes/path.ts","shared/constants/index.ts","shared/loader/Loader.tsx","shared/api/RequestStatus.ts","shared/api/BaseApi.ts","shared/api/rewriteAxiosRequestConfig.ts","customerMeetings/service/CustomerMeetingsService.ts","shared/types/MeetingStatus.ts","shared/types/BusinessLine.ts","customerMeetings/landingPages/requestCancelMeeting/CancelMeetingPageState.ts","customerMeetings/service/CustomerMeetingFromResponse.ts","stores/Stores.ts","customerMeetings/store/MeetingStore.ts","shared/utils/common.ts","shared/utils/dateUtils.ts","shared/messages/pl.ts","customerMeetings/landingPages/LandingPageContainer.tsx","shared/translation/Translation.ts","customerMeetings/store/MeetingLogType.ts","customerMeetings/landingPages/requestCancelMeeting/RequestCancelMeeting.tsx","customerMeetings/landingPages/joinMeeting/JoinMeeting.tsx","routes/Routes.tsx","App.tsx","shared/messages/cs.ts","shared/messages/sk.ts","shared/messages/en.ts","shared/translation/TranslationProvider.tsx","index.tsx","customerMeetings/landingPages/landingPageContainer.module.scss"],"names":["module","exports","paths","constants","clientMainPage","dateFormat","timeFormat","recommendedBrowsers","recommendedBrowsersFullNames","joinUrlHashQueryParameterName","languageCodeQueryParameterName","languageCodes","english","czech","slovakian","Loader","props","className","classNames","styles","wrapper","additionalClassName","title","text","label","DefaultRequestStatus","_isPending","_isDone","makeObservable","this","observable","fetchMethod","handle","a","response","data","method","runInAction","alert","anonymousApi","axios","create","interceptors","request","use","config","configParams","baseUrl","process","headers","Authorization","accessToken","baseURL","MeetingStatus","BusinessLine","CancelMeetingPageState","DefaultCustomerMeetingsService","requestCancelMeetingUrl","getMeetingUrl","getOriginJoinUrlEndpointUrl","addLogUrl","post","CustomerMeetingFromResponse","customerMeetingFromResponse","meetingId","organizerId","subject","customerFullName","joinUrl","urlHash","startAt","Date","endAt","status","businessLine","isCancelled","store","meetingStore","service","requestCancelMeetingReqStatus","getOriginJoinUrlReqStatus","loadMeetingReqStatus","addLogReqStatus","meeting","requestCancelMeeting","action","getOriginJoinUrl","handleAnyRequest","getMeeting","fetchedMeeting","customerMeeting","logType","addLog","customerMeetingsService","StoreContext","createContext","useStore","useContext","closeWindow","window","location","replace","getTeamsDateFormat","date","format","getTeamsTimeFormat","LandingPageType","pl","common","loader","meetingCancelled","logo","corporation","retail","private","actionButton","pendingDescription","inProgressDescription","expiredDescription","requestSent","redirectButton","joinMeeting","meetingNotFound","wrongAddress","failedToJoin","browserUnsupportedError","TranslationContext","useTranslation","MeetingLogType","LandingPageContainer","observer","translations","messages","section","useState","URLSearchParams","search","get","isBrowserSupported","isDesktop","includes","browserName","useEffect","loadMeeting","canShowActionButtons","RequestCancel","Pending","cancelMeetingPageState","RequestSent","Join","InProgress","getOriginJoinUrlRequestStatus","isPending","loadMeetingRequestStatus","requestCancelMeetingRequestStatus","logoWrapper","Corporate","src","alt","image","Retail","Private","renderLogo","content","isDone","undefined","join","Expired","renderDescription","buttonsWrapper","Button","button","onClick","primary","primaryAction","RequestCancelMeeting","ConfirmSendRequest","pageState","setPageState","JoinMeeting","redirectToMeeting","url","ClientJoined","Routes","path","component","App","app","TranslationProvider","children","Provider","value","en","cs","sk","mapLanguageVersionToTranslationFile","ReactDOM","render","theme","teamsTheme","document","getElementById"],"mappings":"yIACAA,EAAOC,QAAU,CAAC,IAAM,mB,oBCAxBD,EAAOC,QAAU,CAAC,QAAU,0B,sFCDfC,EACa,kBADbA,EAEI,Q,mECFJC,EAAY,CACrBC,eAAgB,oBAEhBC,WAAY,aACZC,WAAY,QAEZC,oBAAqB,CAAC,SAAU,OAAQ,UAExCC,6BAA8B,CAAC,gBAAiB,iBAAkB,UAElEC,8BAA+B,KAC/BC,+BAAgC,OAEhCC,cAAe,CACXC,QAAS,KACTC,MAAO,KACPC,UAAW,O,mDCEJC,EARuB,SAACC,GACnC,OACI,qBAAKC,UAAWC,IAAWC,IAAOC,QAASJ,EAAMK,qBAAjD,SACI,cAAC,IAAD,CAAiBC,MAAON,EAAMO,KAAMC,MAAOR,EAAMO,U,wB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SAAd,CAAuBC,MAAOnH,EAA9B,SACI,cAAC,GAAD,UACI,cAACkH,GAAA,EAAD,CAAUQ,MAAOC,KAAjB,SACI,cAAC,KAAD,UACI,cAAC,GAAD,YAKhBC,SAASC,eAAe,U,mBCjB5BzM,EAAOC,QAAU,CAAC,QAAU,sCAAsC,MAAQ,oCAAoC,QAAU,sCAAsC,eAAiB,6CAA6C,OAAS,qCAAqC,OAAS,qCAAqC,YAAc,6C","file":"static/js/main.93f5ca44.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"app\":\"app_app__1O1G9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"loader_wrapper__3JPp_\"};","export const paths = {\r\n requestCancelMeeting: \"/request-cancel\",\r\n joinMeeting: \"/join\",\r\n};\r\n","export const constants = {\r\n clientMainPage: \"https://mbank.pl/\",\r\n\r\n dateFormat: \"dd.MM.yyyy\",\r\n timeFormat: \"HH:mm\",\r\n\r\n recommendedBrowsers: [\"Chrome\", \"Edge\", \"Safari\"],\r\n\r\n recommendedBrowsersFullNames: [\"Google Chrome\", \"Microsoft Edge\", \"Safari\"],\r\n\r\n joinUrlHashQueryParameterName: \"id\",\r\n languageCodeQueryParameterName: \"lang\",\r\n\r\n languageCodes: {\r\n english: \"en\",\r\n czech: \"cs\",\r\n slovakian: \"sk\",\r\n },\r\n};\r\n\r\nexport const validation = {};\r\n","import React from \"react\";\r\nimport styles from \"./loader.module.scss\";\r\nimport { Loader as NorthstarLoader } from \"@fluentui/react-northstar\";\r\nimport classNames from \"classnames\";\r\n\r\ninterface LoaderProps {\r\n text: string;\r\n additionalClassName?: string;\r\n}\r\n\r\nconst Loader: React.FC = (props: LoaderProps) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default Loader;\r\n","import { AxiosPromise } from \"axios\";\r\nimport { makeObservable, observable, runInAction } from \"mobx\";\r\n\r\nexport interface RequestStatus {\r\n isPending: boolean;\r\n isDone: boolean;\r\n\r\n handleAnyRequest(fetchMethod: () => AxiosPromise): Promise;\r\n}\r\n\r\nexport class DefaultRequestStatus implements RequestStatus {\r\n _isPending: boolean = false;\r\n _isDone: boolean = false;\r\n\r\n constructor() {\r\n makeObservable(this, {\r\n _isPending: observable,\r\n _isDone: observable,\r\n });\r\n }\r\n\r\n public get isPending() {\r\n return this._isPending;\r\n }\r\n\r\n public get isDone() {\r\n return this._isDone;\r\n }\r\n\r\n public async handleAnyRequest(fetchMethod: () => AxiosPromise): Promise {\r\n return this.handle(async () => {\r\n const response = await fetchMethod();\r\n\r\n return response.data;\r\n });\r\n }\r\n\r\n private async handle(method: () => Promise) {\r\n try {\r\n runInAction(() => {\r\n this._isPending = true;\r\n this._isDone = false;\r\n });\r\n\r\n return await method();\r\n } catch (err) {\r\n // TODO Temporary, add error handling later\r\n alert(err);\r\n return null;\r\n } finally {\r\n runInAction(() => {\r\n this._isPending = false;\r\n this._isDone = true;\r\n });\r\n }\r\n }\r\n}\r\n","import axios, { AxiosPromise, AxiosRequestConfig } from \"axios\";\r\nimport { rewriteAxiosRequestConfig } from \"./rewriteAxiosRequestConfig\";\r\n\r\nexport const anonymousApi = axios.create();\r\nanonymousApi.interceptors.request.use((config: AxiosRequestConfig) => {\r\n return rewriteAxiosRequestConfig({\r\n config: config,\r\n baseUrl: process.env.REACT_APP_API_BASE_URL || \"\",\r\n });\r\n});\r\n\r\nexport interface BaseApi {\r\n post(url: string, data: any, config?: AxiosRequestConfig): AxiosPromise;\r\n get(url: string, data: any, config?: AxiosRequestConfig): AxiosPromise;\r\n}\r\n","import { AxiosRequestConfig } from \"axios\";\r\n\r\nexport function rewriteAxiosRequestConfig(configParams: {\r\n config: AxiosRequestConfig;\r\n baseUrl: string;\r\n accessToken?: string;\r\n}) {\r\n const params = {\r\n ...configParams.config,\r\n headers: {\r\n ...configParams.config.headers,\r\n Authorization: `Bearer ${configParams?.accessToken}`,\r\n },\r\n baseURL: configParams.baseUrl,\r\n };\r\n\r\n return params;\r\n}\r\n","import { AxiosPromise } from \"axios\";\r\nimport { anonymousApi, BaseApi } from \"../../shared/api/BaseApi\";\r\nimport { CustomerMeetingDto } from \"./api/CustomerMeetingDto\";\r\nimport { MeetingLogType } from \"../store/MeetingLogType\";\r\n\r\nexport interface MeetingData {\r\n urlHash: string;\r\n}\r\n\r\nexport interface MeetingLogData {\r\n meetingId: string;\r\n logType: MeetingLogType;\r\n}\r\n\r\nexport interface RequestCancelMeetingData {\r\n urlHash: string;\r\n}\r\n\r\nexport interface CustomerMeetingsService {\r\n requestCancelMeeting(data: RequestCancelMeetingData): AxiosPromise;\r\n getMeeting(data: MeetingData): AxiosPromise;\r\n getOriginJoinUrl(data: MeetingData): AxiosPromise;\r\n addLog(data: MeetingLogData): AxiosPromise;\r\n}\r\n\r\nexport class DefaultCustomerMeetingsService implements CustomerMeetingsService {\r\n private requestCancelMeetingUrl: string = \"/customer-meetings/RequestDecline\";\r\n private getMeetingUrl: string = \"/customer-meetings/GetMeeting\";\r\n private getOriginJoinUrlEndpointUrl: string = \"/customer-meetings/GetOriginJoinUrl\";\r\n private addLogUrl: string = \"/customer-meetings/AddLog\";\r\n\r\n constructor(private anonymousApi: BaseApi) {}\r\n\r\n requestCancelMeeting(data: RequestCancelMeetingData): AxiosPromise {\r\n return this.anonymousApi.post(this.requestCancelMeetingUrl, data);\r\n }\r\n\r\n getMeeting(data: MeetingData): AxiosPromise {\r\n return this.anonymousApi.post(this.getMeetingUrl, data);\r\n }\r\n\r\n getOriginJoinUrl(data: MeetingData): AxiosPromise {\r\n return this.anonymousApi.post(this.getOriginJoinUrlEndpointUrl, data);\r\n }\r\n\r\n addLog(data: MeetingLogData): AxiosPromise {\r\n return this.anonymousApi.post(this.addLogUrl, data);\r\n }\r\n}\r\n\r\nexport class CustomerMeetingsServiceWithResponse implements CustomerMeetingsService {\r\n _response: any = {\r\n data: this.response,\r\n };\r\n\r\n constructor(private response: any) {}\r\n\r\n requestCancelMeeting() {\r\n return Promise.resolve(this._response);\r\n }\r\n\r\n getMeeting() {\r\n return Promise.resolve(this._response);\r\n }\r\n\r\n getOriginJoinUrl() {\r\n return Promise.resolve(this._response);\r\n }\r\n\r\n addLog() {\r\n return Promise.resolve(this._response);\r\n }\r\n}\r\n\r\nexport default new DefaultCustomerMeetingsService(anonymousApi);\r\n","export enum MeetingStatus {\r\n Pending,\r\n InProgress,\r\n Expired,\r\n}\r\n","export enum BusinessLine {\r\n Private,\r\n Corporate,\r\n Retail,\r\n}\r\n","export enum CancelMeetingPageState {\r\n ConfirmSendRequest,\r\n RequestSent,\r\n}\r\n","import { CustomerMeeting } from \"../store/CustomerMeeting\";\r\nimport { CustomerMeetingDto } from \"./api/CustomerMeetingDto\";\r\n\r\nexport class CustomerMeetingFromResponse {\r\n constructor(private customerMeetingFromResponse: CustomerMeetingDto) {}\r\n\r\n customerMeeting(): CustomerMeeting {\r\n return {\r\n meetingId: this.customerMeetingFromResponse.meetingId,\r\n organizerId: this.customerMeetingFromResponse.organizerId,\r\n subject: this.customerMeetingFromResponse.subject,\r\n customerFullName: this.customerMeetingFromResponse.customerFullName,\r\n joinUrl: this.customerMeetingFromResponse.joinUrl,\r\n urlHash: this.customerMeetingFromResponse.urlHash,\r\n startAt: new Date(this.customerMeetingFromResponse.startAt),\r\n endAt: new Date(this.customerMeetingFromResponse.endAt),\r\n status: this.customerMeetingFromResponse.status,\r\n businessLine: this.customerMeetingFromResponse.businessLine,\r\n isCancelled: this.customerMeetingFromResponse.isCancelled,\r\n };\r\n }\r\n}\r\n","import { createContext, useContext } from \"react\";\r\nimport DefaultMeetingStore, { MeetingStore } from \"../customerMeetings/store/MeetingStore\";\r\n\r\nexport interface IStore {\r\n meetingStore: MeetingStore;\r\n}\r\n\r\nexport const store: IStore = {\r\n meetingStore: DefaultMeetingStore,\r\n};\r\n\r\nexport const StoreContext = createContext(store);\r\n\r\nexport const useStore = () => {\r\n return useContext(StoreContext);\r\n};\r\n","import { action, makeObservable, observable, runInAction } from \"mobx\";\r\nimport { DefaultRequestStatus, RequestStatus } from \"../../shared/api/RequestStatus\";\r\nimport customerMeetingsService, {\r\n CustomerMeetingsService,\r\n} from \"../../customerMeetings/service/CustomerMeetingsService\";\r\nimport { CustomerMeeting } from \"./CustomerMeeting\";\r\nimport { CustomerMeetingFromResponse } from \"../service/CustomerMeetingFromResponse\";\r\nimport { MeetingLogType } from \"./MeetingLogType\";\r\n\r\nexport interface MeetingStore {\r\n meeting: CustomerMeeting;\r\n\r\n requestCancelMeetingRequestStatus: RequestStatus;\r\n getOriginJoinUrlRequestStatus: RequestStatus;\r\n loadMeetingRequestStatus: RequestStatus;\r\n addLogRequestStatus: RequestStatus;\r\n\r\n requestCancelMeeting: (urlHash: string) => Promise;\r\n getOriginJoinUrl: (urlHash: string) => Promise;\r\n loadMeeting: (urlHash: string) => void;\r\n addLog: (meetingId: string, logType: MeetingLogType) => void;\r\n}\r\n\r\nexport class DefaultMeetingStore implements MeetingStore {\r\n constructor(\r\n private service: CustomerMeetingsService,\r\n private requestCancelMeetingReqStatus: RequestStatus,\r\n private getOriginJoinUrlReqStatus: RequestStatus,\r\n private loadMeetingReqStatus: RequestStatus,\r\n private addLogReqStatus: RequestStatus\r\n ) {\r\n makeObservable(this, {\r\n requestCancelMeeting: action,\r\n getOriginJoinUrl: action,\r\n meeting: observable,\r\n });\r\n }\r\n\r\n public meeting: CustomerMeeting = {} as CustomerMeeting;\r\n\r\n public get requestCancelMeetingRequestStatus() {\r\n return this.requestCancelMeetingReqStatus;\r\n }\r\n\r\n public get getOriginJoinUrlRequestStatus() {\r\n return this.getOriginJoinUrlReqStatus;\r\n }\r\n\r\n public get loadMeetingRequestStatus() {\r\n return this.loadMeetingReqStatus;\r\n }\r\n\r\n public get addLogRequestStatus() {\r\n return this.addLogReqStatus;\r\n }\r\n\r\n public async requestCancelMeeting(urlHash: string) {\r\n await this.requestCancelMeetingReqStatus.handleAnyRequest(() =>\r\n this.service.requestCancelMeeting({ urlHash: urlHash })\r\n );\r\n }\r\n\r\n public async getOriginJoinUrl(urlHash: string) {\r\n return await this.getOriginJoinUrlReqStatus.handleAnyRequest(() =>\r\n this.service.getOriginJoinUrl({ urlHash: urlHash })\r\n );\r\n }\r\n\r\n public async loadMeeting(urlHash: string) {\r\n var fetchedMeeting = await this.loadMeetingReqStatus.handleAnyRequest(() =>\r\n this.service.getMeeting({ urlHash: urlHash })\r\n );\r\n\r\n runInAction(() => {\r\n if (fetchedMeeting) {\r\n this.meeting = new CustomerMeetingFromResponse(fetchedMeeting).customerMeeting();\r\n }\r\n });\r\n }\r\n\r\n public async addLog(meetingId: string, logType: MeetingLogType) {\r\n await this.addLogReqStatus.handleAnyRequest(() => this.service.addLog({ meetingId, logType }));\r\n }\r\n}\r\n\r\nexport default new DefaultMeetingStore(\r\n customerMeetingsService,\r\n new DefaultRequestStatus(),\r\n new DefaultRequestStatus(),\r\n new DefaultRequestStatus(),\r\n new DefaultRequestStatus()\r\n);\r\n","import { constants } from \"../constants\";\r\n\r\n/* NAVIGATION */\r\n\r\nexport function closeWindow(): void {\r\n window.location.replace(constants.clientMainPage);\r\n}\r\n","import format from \"date-fns/format\";\r\nimport { constants } from \"../constants\";\r\n\r\nexport function getTeamsDateFormat(date: Date) {\r\n return format(date, constants.dateFormat);\r\n}\r\n\r\nexport function getTeamsTimeFormat(date: Date) {\r\n return format(date, constants.timeFormat);\r\n}\r\n","import { getTeamsDateFormat, getTeamsTimeFormat } from \"../utils/dateUtils\";\r\n\r\nconst pl = {\r\n common: {\r\n loader: \"Trwa wczytywanie danych...\",\r\n meetingCancelled: \"Spotkanie zostało anulowane\",\r\n },\r\n logo: {\r\n corporation: \"Logo mBank dla korporacji\",\r\n retail: \"Logo mBank dla klientów detalicznych\",\r\n private: \"Logo mBank dla private banking\",\r\n },\r\n requestCancelMeeting: {\r\n actionButton: \"Wyślij prośbę\",\r\n pendingDescription: (startAt: Date) =>\r\n `Czy chcesz wysłać do organizatora prośbę o anulowanie spotkania\r\n z dnia ${getTeamsDateFormat(startAt)}r. o godzinie ${getTeamsTimeFormat(startAt)}?`,\r\n inProgressDescription: (startAt: Date) =>\r\n `Spotkanie ${getTeamsDateFormat(startAt)}r. o godzinie ${getTeamsTimeFormat(\r\n startAt\r\n )} już trwa lub zaraz się rozpocznie.\r\n Jego anulowanie nie jest już możliwe. W razie konieczności odwołania spotkania skontaktuj się ze swoim doradcą.`,\r\n expiredDescription: (endAt: Date) =>\r\n `Spotkanie zakończyło się ${getTeamsDateFormat(endAt)}r. o godzinie ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nAnulowanie nie jest już możliwe.`,\r\n requestSent:\r\n \"Prośba o anulowanie spotkania została przesłana. Twój doradca wkrótce skontaktuje się z Tobą w celu potwierdzenia anulowania.\",\r\n redirectButton: \"Nie wysyłaj\",\r\n },\r\n joinMeeting: {\r\n meetingNotFound:\r\n \"Nie znaleziono spotkania. Być może link jest niepoprawny. Sprawdź jego poprawność i spróbuj ponownie.\",\r\n actionButton: \"Rozpocznij spotkanie\",\r\n redirectButton: \"Anuluj spotkanie\",\r\n pendingDescription: (startAt: Date) =>\r\n `Spotkanie rozpocznie się ${getTeamsDateFormat(startAt)}r. o godzinie ${getTeamsTimeFormat(\r\n startAt\r\n )}.\\nDołączenie będzie możliwe na 10 minut przed rozpoczęciem.`,\r\n inProgressDescription:\r\n 'Zaraz rozpocznie się spotkanie, które będzie nagrywane.\\nJeśli nie wyrażasz zgody, kliknij przycisk \"Anuluj spotkanie\"',\r\n expiredDescription: (endAt: Date) =>\r\n `Spotkanie zakończyło się ${getTeamsDateFormat(endAt)}r. o godzinie ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nDołączenie nie jest już możliwe.`,\r\n wrongAddress:\r\n \"Adres spotkania jest nieprawidłowy. Sprawdź czy adres w przeglądarce jest tym, który został wysłany w wiadomości email.\",\r\n failedToJoin:\r\n \"Nie udało sie dołączyć do spotkania. Być może link jest niepoprawny. Sprawdź jego poprawność i spróbuj ponownie.\",\r\n browserUnsupportedError: (recommendedBrowsers: string) =>\r\n `Korzystasz z niewspieranej przeglądarki. Rekomendujemy skorzystanie z najnowszej wersji jednej z następujących przeglądarek: ${recommendedBrowsers}`,\r\n },\r\n};\r\n\r\nexport default pl;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Button } from \"@fluentui/react-northstar\";\r\nimport { observer } from \"mobx-react-lite\";\r\nimport { browserName, isDesktop } from \"react-device-detect\";\r\nimport { constants } from \"../../shared/constants\";\r\nimport Loader from \"../../shared/loader/Loader\";\r\nimport { useStore } from \"../../stores/Stores\";\r\nimport styles from \"./landingPageContainer.module.scss\";\r\nimport { MeetingStatus } from \"../../shared/types/MeetingStatus\";\r\nimport { closeWindow } from \"../../shared/utils/common\";\r\nimport { BusinessLine } from \"../../shared/types/BusinessLine\";\r\nimport { CancelMeetingPageState } from \"./requestCancelMeeting/CancelMeetingPageState\";\r\nimport { useTranslation } from \"../../shared/translation/Translation\";\r\n\r\nexport enum LandingPageType {\r\n Join = \"joinMeeting\",\r\n RequestCancel = \"requestCancelMeeting\",\r\n}\r\n\r\ninterface MeetingContainerProps {\r\n section: LandingPageType;\r\n\r\n cancelMeetingPageState?: CancelMeetingPageState;\r\n\r\n primaryAction(urlHash: string | null): void;\r\n}\r\n\r\nfunction getUrlHash() {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n return urlParams.get(constants.joinUrlHashQueryParameterName);\r\n}\r\n\r\nconst LandingPageContainer: React.FC = observer((props: MeetingContainerProps) => {\r\n const translations = useTranslation();\r\n const messages: any = translations[props.section];\r\n const [urlHash] = useState(getUrlHash());\r\n\r\n const { meetingStore } = useStore();\r\n\r\n const isBrowserSupported = !isDesktop || (isDesktop && constants.recommendedBrowsers.includes(browserName));\r\n\r\n useEffect(() => {\r\n (async function () {\r\n if (urlHash === null) {\r\n return;\r\n }\r\n\r\n await meetingStore.loadMeeting(urlHash);\r\n })();\r\n }, [meetingStore, urlHash]);\r\n\r\n function renderLogo() {\r\n switch (meetingStore.meeting.businessLine) {\r\n case BusinessLine.Corporate:\r\n return (\r\n {translations.logo.corporation}\r\n );\r\n case BusinessLine.Retail:\r\n return {translations.logo.retail};\r\n case BusinessLine.Private:\r\n return {translations.logo.private};\r\n }\r\n }\r\n\r\n function renderDescription() {\r\n if (\r\n urlHash === null ||\r\n (meetingStore.loadMeetingRequestStatus.isDone && meetingStore.meeting.status === undefined)\r\n ) {\r\n return translations.joinMeeting.meetingNotFound;\r\n }\r\n\r\n if (meetingStore.meeting.isCancelled) {\r\n return translations.common.meetingCancelled;\r\n }\r\n\r\n if (props.cancelMeetingPageState === CancelMeetingPageState.RequestSent) {\r\n return translations.requestCancelMeeting.requestSent;\r\n }\r\n\r\n if (!isBrowserSupported && props.section === LandingPageType.Join) {\r\n return translations.joinMeeting.browserUnsupportedError(constants.recommendedBrowsersFullNames.join(\", \"));\r\n }\r\n\r\n switch (meetingStore.meeting.status) {\r\n case MeetingStatus.Pending:\r\n return messages.pendingDescription(meetingStore.meeting.startAt);\r\n case MeetingStatus.InProgress:\r\n return props.section === LandingPageType.Join\r\n ? messages.inProgressDescription\r\n : messages.inProgressDescription(meetingStore.meeting.startAt);\r\n case MeetingStatus.Expired:\r\n return messages.expiredDescription(meetingStore.meeting.endAt);\r\n }\r\n }\r\n\r\n const canShowActionButtons =\r\n (props.section === LandingPageType.RequestCancel &&\r\n meetingStore.meeting.status === MeetingStatus.Pending &&\r\n !meetingStore.meeting.isCancelled &&\r\n props.cancelMeetingPageState !== CancelMeetingPageState.RequestSent) ||\r\n (props.section === LandingPageType.Join &&\r\n meetingStore.meeting.status === MeetingStatus.InProgress &&\r\n !meetingStore.meeting.isCancelled &&\r\n isBrowserSupported);\r\n\r\n return (\r\n <>\r\n {meetingStore.getOriginJoinUrlRequestStatus.isPending ||\r\n meetingStore.loadMeetingRequestStatus.isPending ||\r\n meetingStore.requestCancelMeetingRequestStatus.isPending ? (\r\n \r\n ) : (\r\n
\r\n
{renderLogo()}
\r\n
{renderDescription()}
\r\n {canShowActionButtons && (\r\n
\r\n
\r\n )}\r\n
\r\n )}\r\n \r\n );\r\n});\r\n\r\nexport default LandingPageContainer;\r\n","import { createContext, useContext } from \"react\";\r\nimport pl from \"../messages/pl\";\r\n\r\nexport const TranslationContext = createContext(pl);\r\n\r\nexport const useTranslation = () => {\r\n return useContext(TranslationContext);\r\n};\r\n","export enum MeetingLogType {\r\n ClientJoined = 0,\r\n OrganizerJoined = 1,\r\n CustomMessage = 2,\r\n}\r\n","import React, { useState } from \"react\";\r\nimport { observer } from \"mobx-react-lite\";\r\nimport LandingPageContainer, { LandingPageType } from \"../LandingPageContainer\";\r\nimport { CancelMeetingPageState } from \"./CancelMeetingPageState\";\r\nimport { useStore } from \"../../../stores/Stores\";\r\n\r\nconst RequestCancelMeeting: React.FC = observer(() => {\r\n const [pageState, setPageState] = useState(CancelMeetingPageState.ConfirmSendRequest);\r\n const { meetingStore } = useStore();\r\n\r\n const requestCancelMeeting = async (urlHash: string | null) => {\r\n if (urlHash) {\r\n await meetingStore.requestCancelMeeting(urlHash);\r\n setPageState(CancelMeetingPageState.RequestSent);\r\n }\r\n };\r\n\r\n return (\r\n \r\n );\r\n});\r\n\r\nexport default RequestCancelMeeting;\r\n","import React from \"react\";\r\nimport { observer } from \"mobx-react-lite\";\r\nimport LandingPageContainer, { LandingPageType } from \"../LandingPageContainer\";\r\nimport { useStore } from \"../../../stores/Stores\";\r\nimport { MeetingLogType } from \"../../store/MeetingLogType\";\r\nimport { useTranslation } from \"../../../shared/translation/Translation\";\r\n\r\nconst JoinMeeting: React.FC = observer(() => {\r\n const { meetingStore } = useStore();\r\n const messages = useTranslation();\r\n\r\n const redirectToMeeting = async (urlHash: string | null) => {\r\n if (!urlHash) {\r\n alert(messages.joinMeeting.wrongAddress);\r\n return;\r\n }\r\n\r\n const url = await meetingStore.getOriginJoinUrl(urlHash);\r\n\r\n if (!url) {\r\n alert(messages.joinMeeting.failedToJoin);\r\n return;\r\n }\r\n\r\n await meetingStore.addLog(meetingStore.meeting.meetingId, MeetingLogType.ClientJoined);\r\n window.location.replace(url);\r\n };\r\n\r\n return ;\r\n});\r\n\r\nexport default JoinMeeting;\r\n","import React from \"react\";\r\nimport { paths } from \"./path\";\r\nimport { Switch, Route } from \"react-router-dom\";\r\nimport RequestCancelMeeting from \"../customerMeetings/landingPages/requestCancelMeeting/RequestCancelMeeting\";\r\nimport JoinMeeting from \"../customerMeetings/landingPages/joinMeeting/JoinMeeting\";\r\n\r\nexport const Routes: React.FC<{}> = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default Routes;\r\n","import styles from \"./app.module.scss\";\r\nimport Routes from \"./routes/Routes\";\r\n\r\nfunction App() {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default App;\r\n","import { getTeamsDateFormat, getTeamsTimeFormat } from \"../utils/dateUtils\";\r\n\r\nconst pl = {\r\n common: {\r\n loader: \"Načítání dat...\",\r\n meetingCancelled: \"Schůzka byla zrušena\",\r\n },\r\n logo: {\r\n corporation: \"Logo mBank pro velkoobchodní klienty\",\r\n retail: \"Logo mBank pro maloobchodní klienty\",\r\n private: \"Logo mBank pro soukromé bankovnictví\",\r\n },\r\n requestCancelMeeting: {\r\n actionButton: \"Pošlete svůj požadavek\",\r\n pendingDescription: (startAt: Date) =>\r\n `Chcete poslat pořadateli požadavek na zrušení schůzky\r\n dne ${getTeamsDateFormat(startAt)} v čase ${getTeamsTimeFormat(startAt)}?`,\r\n inProgressDescription: (startAt: Date) =>\r\n `Schůzka ${getTeamsDateFormat(startAt)} v čase ${getTeamsTimeFormat(startAt)} už probíhá nebo hned začne.\r\n Její zrušení už není možné. V případě nutnosti odvolat schůzku se spojte se svým poradcem.`,\r\n expiredDescription: (endAt: Date) =>\r\n `Schůzka skončila ${getTeamsDateFormat(endAt)} v čase ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nZrušení už není možné.`,\r\n requestSent:\r\n \"Požadavek na zrušení schůzky už byl odeslán. Váš poradce se s vámi brzy spojí za účelem potvrzení zrušení.\",\r\n redirectButton: \"Neodesílat\",\r\n },\r\n joinMeeting: {\r\n meetingNotFound:\r\n \"Schůzka nebyla nalezena. Odkaz může být nesprávný. Zkontrolujte jeho správnost a zkuste to znovu.\",\r\n actionButton: \"Zahajte schůzku\",\r\n redirectButton: \"Zrušit schůzku\",\r\n pendingDescription: (startAt: Date) =>\r\n `Setkání bude zahájeno ${getTeamsDateFormat(startAt)} v čase ${getTeamsTimeFormat(\r\n startAt\r\n )}.\\nPřipojit se můžete 10 minut před zahájením.`,\r\n inProgressDescription:\r\n \"Za chvíli začne setkání, které bude nahráváno.\\nPokud s tím nesouhlasíte, stiskněte na tlačítko Zrušit schůzku\",\r\n expiredDescription: (endAt: Date) =>\r\n `Schůzka skončila ${getTeamsDateFormat(endAt)} v čase ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nPřipojení už není možné.`,\r\n wrongAddress:\r\n \"Adresa schůzky je neplatná. Zkontrolujte, jestli adresa v prohlížeči je stejná jako ta, kterou jste obdrželi v e-mailové zprávě.\",\r\n failedToJoin:\r\n \"Nepodařilo se připojit ke schůzce. Odkaz může být nesprávný. Zkontrolujte jeho správnost a zkuste to znovu.\",\r\n browserUnsupportedError: (recommendedBrowsers: string) =>\r\n `Používáte prohlížeč, který není podporován. Doporučuejeme používat nejnovější verzi jednoho z těchto prohlížečů ${recommendedBrowsers}`,\r\n },\r\n};\r\n\r\nexport default pl;\r\n","import { getTeamsDateFormat, getTeamsTimeFormat } from \"../utils/dateUtils\";\r\n\r\nconst pl = {\r\n common: {\r\n loader: \"Načítanie údajov...\",\r\n meetingCancelled: \"Schôdza bola zrušená\",\r\n },\r\n logo: {\r\n corporation: \"Logo mBank pre firmy\",\r\n retail: \"Logo mBank pre retailových zákazníkov\",\r\n private: \"Logo mBank pre privátne bankovníctvo\",\r\n },\r\n requestCancelMeeting: {\r\n actionButton: \"Pošlite svoju požiadavku\",\r\n pendingDescription: (startAt: Date) =>\r\n `Chcete odoslať organizátorovi žiadosť o zrušenie schôdze\r\n z ${getTeamsDateFormat(startAt)} o ${getTeamsTimeFormat(startAt)}?`,\r\n inProgressDescription: (startAt: Date) =>\r\n `Schôdza ${getTeamsDateFormat(startAt)} o ${getTeamsTimeFormat(startAt)} už prebieha alebo sa práve začína.\r\n Už nie je možné ho zrušiť. Ak potrebujete zrušiť schôdzu, obráťte sa na svojho poradcu.`,\r\n expiredDescription: (endAt: Date) =>\r\n `Schôdza sa skončila ${getTeamsDateFormat(endAt)} o ${getTeamsTimeFormat(\r\n endAt\r\n )} hod.\\nZrušenie už nie je možné.`,\r\n requestSent:\r\n \"Žiadosť o zrušenie schôdze bola odoslaná. Váš poradca vás bude čoskoro kontaktovať a potvrdí vám zrušenie.\",\r\n redirectButton: \"Neodosielať\",\r\n },\r\n joinMeeting: {\r\n meetingNotFound:\r\n \"Nenašla sa žiadna schôdza. Odkaz môže byť nesprávny. Skontrolujte správnosť a skúste to znova.\",\r\n actionButton: \"Začnite schôdzu\",\r\n redirectButton: \"Zrušte schôdzu\",\r\n pendingDescription: (startAt: Date) =>\r\n `Schôdza sa začne ${getTeamsDateFormat(startAt)} o ${getTeamsTimeFormat(\r\n startAt\r\n )}.\\nPripojenie bude možné 10 minút pred začatím.`,\r\n inProgressDescription:\r\n \"Schôdza, ktorá sa čoskoro začne, bude nahrávaná.\\nAk s tým nesúhlasíte, kliknite na tlačidlo Zrušiť schôdzu.\",\r\n expiredDescription: (endAt: Date) =>\r\n `Schôdza sa skončila ${getTeamsDateFormat(endAt)} o ${getTeamsTimeFormat(\r\n endAt\r\n )} hod.\\nPripojenie už nie je možné.`,\r\n wrongAddress:\r\n \"Adresa schôdze je nesprávna. Skontrolujte, či sa adresa v prehliadači zhoduje s adresou odoslanou v e-maile.\",\r\n failedToJoin:\r\n \"Pripojenie k schôdzi zlyhalo. Odkaz môže byť nesprávny. Skontrolujte správnosť a skúste to znova.\",\r\n browserUnsupportedError: (recommendedBrowsers: string) =>\r\n `Používate nepodporovaný prehliadač. Odporúčame vám používať najnovšiu verziu jedného z nasledujúcich prehliadačov ${recommendedBrowsers}`,\r\n },\r\n};\r\n\r\nexport default pl;\r\n","import { getTeamsDateFormat, getTeamsTimeFormat } from \"../utils/dateUtils\";\r\n\r\nconst pl = {\r\n common: {\r\n loader: \"Loading data...\",\r\n meetingCancelled: \"The meeting has been cancelled\",\r\n },\r\n logo: {\r\n corporation: \"mBank logo for Corporate Banking\",\r\n retail: \"mBank logo for Retail Banking\",\r\n private: \"mBank logo for Private Banking\",\r\n },\r\n requestCancelMeeting: {\r\n actionButton: \"Send request\",\r\n pendingDescription: (startAt: Date) =>\r\n `Do you want to send a request to the organizer to cancel the meeting\r\n on ${getTeamsDateFormat(startAt)} at ${getTeamsTimeFormat(startAt)}?`,\r\n inProgressDescription: (startAt: Date) =>\r\n `The meeting on ${getTeamsDateFormat(startAt)} at ${getTeamsTimeFormat(\r\n startAt\r\n )} has already started or will start in a moment.\r\n You cannot cancel it anymore. If you need to cancel the meeting, contact your advisor.`,\r\n expiredDescription: (endAt: Date) =>\r\n `The meeting ended on ${getTeamsDateFormat(endAt)} at ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nYou cannot cancel it anymore.`,\r\n requestSent:\r\n \"A request to cancel the meeting has been sent. Your advisor will get in touch with you soon to confirm the cancellation.\",\r\n redirectButton: \"Do not send\",\r\n },\r\n joinMeeting: {\r\n meetingNotFound: \"The meeting has not been found. The link may be incorrect. Check the link and try again.\",\r\n actionButton: \"Start meeting\",\r\n redirectButton: \"Cancel meeting\",\r\n pendingDescription: (startAt: Date) =>\r\n `The meeting will start on ${getTeamsDateFormat(startAt)} at ${getTeamsTimeFormat(\r\n startAt\r\n )}.\\nYou can join it 10 minutes before the meeting starts.`,\r\n inProgressDescription:\r\n \"The meeting will start soon and will be recorded.\\nIf you do not consent to being recorded, click the Cancel Meeting button\",\r\n expiredDescription: (endAt: Date) =>\r\n `The meeting ended on ${getTeamsDateFormat(endAt)} at ${getTeamsTimeFormat(\r\n endAt\r\n )}.\\nYou cannot join it anymore.`,\r\n wrongAddress:\r\n \"The meeting link is incorrect. Check if the link in the address bar of your browser matches the link sent by email.\",\r\n failedToJoin: \"You were unable to join the meeting. The link may be incorrect. Check the link and try again.\",\r\n browserUnsupportedError: (recommendedBrowsers: string) =>\r\n `You are using an unsupported browser. We recommend using the latest version of one of the following browsers: ${recommendedBrowsers}`,\r\n },\r\n};\r\n\r\nexport default pl;\r\n","import React from \"react\";\r\nimport { observer } from \"mobx-react-lite\";\r\nimport { TranslationContext } from \"./Translation\";\r\nimport pl from \"../../shared/messages/pl\";\r\nimport cs from \"../messages/cs\";\r\nimport sk from \"../messages/sk\";\r\nimport en from \"../messages/en\";\r\nimport { constants } from \"../constants\";\r\n\r\nconst TranslationProvider: React.FC = observer(({ children }) => {\r\n const mapLanguageVersionToTranslationFile = () => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const languageCode = urlParams.get(constants.languageCodeQueryParameterName);\r\n\r\n switch (languageCode) {\r\n case constants.languageCodes.english:\r\n return en;\r\n case constants.languageCodes.czech:\r\n return cs;\r\n case constants.languageCodes.slovakian:\r\n return sk;\r\n default:\r\n return pl;\r\n }\r\n };\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nexport default TranslationProvider;\r\n","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport App from \"./App\";\r\nimport { Provider, teamsTheme } from \"@fluentui/react-northstar\";\r\nimport { BrowserRouter } from \"react-router-dom\";\r\nimport { store, StoreContext } from \"./stores/Stores\";\r\nimport TranslationProvider from \"./shared/translation/TranslationProvider\";\r\n\r\nReactDOM.render(\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ,\r\n document.getElementById(\"root\")\r\n);\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"landingPageContainer_wrapper__L-KRx\",\"image\":\"landingPageContainer_image__GZBcJ\",\"content\":\"landingPageContainer_content__2igS9\",\"buttonsWrapper\":\"landingPageContainer_buttonsWrapper__3OfO0\",\"button\":\"landingPageContainer_button__1RI7p\",\"loader\":\"landingPageContainer_loader__2gnsI\",\"logoWrapper\":\"landingPageContainer_logoWrapper__1b_-x\"};"],"sourceRoot":""}