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,EALVhE,EAAWxG,EAAK,GAChB2K,EAAc3K,EAAK,GACnB4K,EAAU5K,EAAK,GAGI0F,EAAI,EAC3B,GAAGc,EAASqE,MAAK,SAASlX,GAAM,OAA+B,IAAxB4W,EAAgB5W,EAAW,IAAI,CACrE,IAAIoS,KAAY4E,EACZ7E,EAAoB0C,EAAEmC,EAAa5E,KACrCD,EAAoBM,EAAEL,GAAY4E,EAAY5E,IAGhD,GAAG6E,EAAS,IAAIrE,EAASqE,EAAQ9E,EAClC,CAEA,IADG4E,GAA4BA,EAA2B1K,GACrD0F,EAAIc,EAAS7G,OAAQ+F,IACzB8E,EAAUhE,EAASd,GAChBI,EAAoB0C,EAAE+B,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO1E,EAAoBQ,EAAEC,EAC9B,EAEIuE,EAAqBT,KAAoC,8BAAIA,KAAoC,+BAAK,GAC1GS,EAAmBjJ,QAAQ4I,EAAqBM,KAAK,KAAM,IAC3DD,EAAmBnF,KAAO8E,EAAqBM,KAAK,KAAMD,EAAmBnF,KAAKoF,KAAKD,G,IClDvFhF,EAAoBkF,QAAK/M,ECGzB,IAAIgN,EAAsBnF,EAAoBQ,OAAErI,EAAW,CAAC,IAAI,IAAI,MAAM,WAAa,OAAO6H,EAAoB,MAAQ,IAC1HmF,EAAsBnF,EAAoBQ,EAAE2E,E","sources":["webpack://aramark.acp.react/./src/entities/mailSubscription/model/slice.ts","webpack://aramark.acp.react/./src/entities/mailSubscription/model/selectors.ts","webpack://aramark.acp.react/./src/entities/mailSubscription/constants.ts","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Input/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Input/Input.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Input/InputForBirthday.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/BirthdayField/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/BirthdayField/BirthdayField.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Footer/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Footer/Footer.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Header/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Header/Header.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/MobileOptIn/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/MobileOptIn/MobileOptIn.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Roles/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/blocks/Roles/Roles.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/parts.tsx","webpack://aramark.acp.react/./src/widgets/MailSubscriptionModal/MailSubscriptionModal.tsx","webpack://aramark.acp.react/./src/pages/mailSubscription/MailSubscriptionPage.tsx","webpack://aramark.acp.react/./src/entities/mailSubscription/hooks.ts","webpack://aramark.acp.react/./src/app/bootstrap/mailSubscription/store.ts","webpack://aramark.acp.react/./src/app/bootstrap/mailSubscription/App.tsx","webpack://aramark.acp.react/./src/app/bootstrap/mailSubscription/styles.scss?a89c","webpack://aramark.acp.react/./src/app/bootstrap/mailSubscription/index.tsx","webpack://aramark.acp.react/./src/app/bootstrap/mailSubscription/styles.scss","webpack://aramark.acp.react/webpack/bootstrap","webpack://aramark.acp.react/webpack/runtime/chunk loaded","webpack://aramark.acp.react/webpack/runtime/compat get default export","webpack://aramark.acp.react/webpack/runtime/create fake namespace object","webpack://aramark.acp.react/webpack/runtime/define property getters","webpack://aramark.acp.react/webpack/runtime/global","webpack://aramark.acp.react/webpack/runtime/hasOwnProperty shorthand","webpack://aramark.acp.react/webpack/runtime/make namespace object","webpack://aramark.acp.react/webpack/runtime/node module decorator","webpack://aramark.acp.react/webpack/runtime/runtimeId","webpack://aramark.acp.react/webpack/runtime/publicPath","webpack://aramark.acp.react/webpack/runtime/jsonp chunk loading","webpack://aramark.acp.react/webpack/runtime/nonce","webpack://aramark.acp.react/webpack/startup"],"sourcesContent":["import { joinApi } from '@/shared/api/mailSubscription';\r\nimport { setLoading } from '@/shared/services/loading';\r\nimport { NOTIFICATIONS, NotificationService } from '@/shared/services/notification';\r\nimport type { TMailSubscriptionInitialData } from '@/shared/types/mailSubscription';\r\n\r\nimport { PayloadAction, createSlice } from '@reduxjs/toolkit';\r\n\r\nimport type { IMailSubscriptionSlice, TActionMailSubscriptionJoin } from './types';\r\n\r\nconst mainSlice = createSlice({\r\n  name: 'mailSubscription',\r\n  initialState: {\r\n    model: null,\r\n    constants: null,\r\n    settings: {\r\n      SmsTermsContent: '',\r\n      image: {\r\n        url: '',\r\n        alt: '',\r\n      },\r\n      isShowWidget: false,\r\n    },\r\n  } as IMailSubscriptionSlice,\r\n  reducers: {\r\n    setMain: (state, action: PayloadAction<TMailSubscriptionInitialData>) => {\r\n      state.model = action.payload.model;\r\n      state.constants = action.payload.constants;\r\n      state.settings = action.payload.settings;\r\n    },\r\n    setShowWidgetModal: (state, action: PayloadAction<boolean>): void => {\r\n      state.settings!.isShowWidget = action.payload;\r\n    },\r\n  },\r\n});\r\n\r\nexport const { setMain, setShowWidgetModal } = mainSlice.actions;\r\n\r\nexport default mainSlice.reducer;\r\n\r\nexport const firstLoadOfData =\r\n  (payload: TMailSubscriptionInitialData): MailSubscriptionAppThunk =>\r\n  (dispatch) =>\r\n    dispatch(setMain(payload));\r\n\r\nexport const MailSubscriptionJoin: TActionMailSubscriptionJoin =\r\n  (postData, callback) => async (dispatch) => {\r\n    dispatch(setLoading(true));\r\n\r\n    try {\r\n      const response = await joinApi(postData);\r\n      if (!response.Result && !response.Errors) {\r\n        NotificationService.open({\r\n          status: NOTIFICATIONS.ERROR,\r\n          text: 'An error has occurred, the response could not be received. Try again.',\r\n        });\r\n      }\r\n\r\n      if (response.Errors && response.Errors.length > 0) {\r\n        response.Errors.forEach((message) => {\r\n          NotificationService.open({\r\n            status: NOTIFICATIONS.ERROR,\r\n            text: message,\r\n          });\r\n        });\r\n      }\r\n\r\n      if (response.Result) {\r\n        callback();\r\n      }\r\n    } catch (error) {\r\n      NotificationService.open({\r\n        status: NOTIFICATIONS.ERROR,\r\n        text: (error as Error).message,\r\n      });\r\n    } finally {\r\n      dispatch(setLoading(false));\r\n    }\r\n  };\r\n","import type {\r\n  IConstsMailSubscription,\r\n  IModelMailSubscription,\r\n  ISettingsMailSubscription,\r\n} from '@/shared/types/mailSubscription';\r\n\r\nexport const getModel = ({\r\n  mailSubscription,\r\n}: MailSubscriptionRootState): Nullable<IModelMailSubscription> => mailSubscription.model;\r\nexport const getSettings = ({\r\n  mailSubscription,\r\n}: MailSubscriptionRootState): Nullable<ISettingsMailSubscription> => mailSubscription.settings;\r\nexport const getConstants = ({\r\n  mailSubscription,\r\n}: MailSubscriptionRootState): Nullable<IConstsMailSubscription> => mailSubscription.constants;\r\n","export const EVENT_OPEN_MODAL = 'open_mail_subscription';\r\nexport const MAX_WIDTH_MODAL = '390px';\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport { ErrorText } from '@/shared/components/ErrorMessage';\r\nimport { RequiredField } from '@/shared/components/Required';\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nexport const InputLabel = styled.label`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    height: 22px;\r\n    margin: 0;\r\n    font-size: ${theme.fontSizes.medium};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    color: ${theme.defaultDarkColor};\r\n  `}\r\n`;\r\n\r\nexport const InputComponent = styled.input`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    width: 100%;\r\n    height: 40px;\r\n    border: solid 1px ${theme.defaultDarkColor};\r\n    background-color: #ffffff;\r\n    padding-left: 7px;\r\n  `}\r\n`;\r\n\r\nexport const InputWrapper = styled.div`\r\n  display: grid;\r\n  grid-template-rows: min-content;\r\n\r\n  ${ErrorText} {\r\n    margin-top: -6px;\r\n  }\r\n`;\r\nexport const PartWithOptInfo = styled.div`\r\n  position: relative;\r\n  display: grid;\r\n  grid-gap: 4px;\r\n  grid-template-rows: min-content;\r\n`;\r\n\r\nexport const Required = styled(RequiredField).attrs(() => ({\r\n  'aria-hidden': 'true',\r\n}))`\r\n  color: #eb5757;\r\n`;\r\n\r\nexport const OptInfo = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    position: relative;\r\n    ${theme.media.desktop} {\r\n      position: absolute;\r\n    }\r\n  `}\r\n`;\r\n","import React, { memo } from 'react';\r\n\r\nimport { ErrorMessage } from '@/shared/components/ErrorMessage';\r\n\r\nimport {\r\n  InputComponent,\r\n  InputLabel,\r\n  InputWrapper,\r\n  OptInfo,\r\n  PartWithOptInfo,\r\n  Required,\r\n} from './parts';\r\nimport type { IProps } from './types';\r\n\r\nconst Input: React.FC<IProps> = ({\r\n  label,\r\n  register,\r\n  id,\r\n  defaultValue = '',\r\n  placeholder = '',\r\n  className = 'Input',\r\n  externalRules,\r\n  error,\r\n  optInfo,\r\n  tooltipButton,\r\n  isShowRequiredSign = true,\r\n  isErrorAsInfoMessages,\r\n  tabIndex,\r\n  autoComplete,\r\n}) => {\r\n  const errorId = `${id}-error`;\r\n  const isRequired =\r\n    (typeof externalRules?.required === 'boolean' && externalRules?.required) ||\r\n    externalRules?.required?.value;\r\n\r\n  return (\r\n    <InputWrapper className={className}>\r\n      <InputLabel\r\n        htmlFor={id}\r\n        className=\"InputLabel\"\r\n        {...(!!error && {\r\n          'aria-describedby': errorId,\r\n        })}\r\n      >\r\n        <span\r\n          dangerouslySetInnerHTML={{\r\n            __html: label,\r\n          }}\r\n        />{' '}\r\n        {tooltipButton}\r\n        {isRequired && isShowRequiredSign && <Required />}\r\n      </InputLabel>\r\n      <PartWithOptInfo>\r\n        <InputComponent\r\n          {...(register && register(id, { ...externalRules, value: defaultValue }))}\r\n          className=\"InputComponent\"\r\n          type=\"text\"\r\n          defaultValue={defaultValue}\r\n          placeholder={placeholder}\r\n          aria-required={isRequired}\r\n          id={id}\r\n          aria-label={label}\r\n          aria-invalid={!!error}\r\n          tabIndex={tabIndex}\r\n          {...(!!error && {\r\n            'aria-describedby': errorId,\r\n          })}\r\n          autoComplete={autoComplete}\r\n        />\r\n        <ErrorMessage error={error} isInfo={isErrorAsInfoMessages} id={errorId} />\r\n        {optInfo && <OptInfo>{optInfo}</OptInfo>}\r\n      </PartWithOptInfo>\r\n    </InputWrapper>\r\n  );\r\n};\r\n\r\nexport default memo(Input);\r\n","import React, { memo } from 'react';\r\n\r\nimport { ErrorMessage } from '@/shared/components/ErrorMessage';\r\nimport type { TError } from '@/shared/components/ErrorMessage/types';\r\n\r\nimport { InputComponent, InputLabel, InputWrapper, PartWithOptInfo } from './parts';\r\nimport { IPropsBirthdayField } from './types';\r\n\r\nconst InputForBirthday: React.FC<IPropsBirthdayField> = ({\r\n  label,\r\n  id,\r\n  placeholder = '',\r\n  className = 'InputForBirthday',\r\n  error,\r\n  refInput,\r\n  ...otherProps\r\n}) => {\r\n  const errorId = `${id}-error`;\r\n\r\n  return (\r\n    <InputWrapper className={className}>\r\n      <InputLabel\r\n        htmlFor={id}\r\n        className=\"InputLabel\"\r\n        {...(!!error && {\r\n          'aria-describedby': errorId,\r\n        })}\r\n        dangerouslySetInnerHTML={{\r\n          __html: label,\r\n        }}\r\n      />\r\n      <PartWithOptInfo>\r\n        <InputComponent\r\n          {...otherProps}\r\n          className=\"InputComponent\"\r\n          type=\"text\"\r\n          placeholder={placeholder}\r\n          aria-required={false}\r\n          id={id}\r\n          aria-label={label}\r\n          aria-invalid={!!error}\r\n          {...(!!error && {\r\n            'aria-describedby': errorId,\r\n          })}\r\n          autoComplete=\"off\"\r\n          ref={refInput}\r\n        />\r\n        <ErrorMessage error={error as TError} id={errorId} />\r\n      </PartWithOptInfo>\r\n    </InputWrapper>\r\n  );\r\n};\r\n\r\nexport default memo(InputForBirthday);\r\n","import styled from 'styled-components';\r\n\r\nexport const CustomHeaderWrapper = styled.div`\r\n  display: block;\r\n`;\r\n\r\nexport const Button = styled.button`\r\n  white-space: nowrap;\r\n  text-align: center;\r\n  min-width: 32px;\r\n  background: none;\r\n  border: 0;\r\n`;\r\n\r\nexport const CustomHeaderTitleTemplate = styled.div`\r\n  margin-top: 0;\r\n  color: #000;\r\n  font-weight: bold;\r\n  font-size: 0.944rem;\r\n`;\r\n","import format from 'date-fns/format';\r\nimport React, { forwardRef, useCallback } from 'react';\r\nimport ReactDatePicker, { ReactDatePickerCustomHeaderProps } from 'react-datepicker';\r\nimport { Controller, useFormContext } from 'react-hook-form';\r\nimport { useIntl } from 'react-intl';\r\n\r\nimport type { TFormFieldsMailSubscription } from '@/shared/api/mailSubscription/types';\r\nimport type { TError } from '@/shared/components/ErrorMessage/types';\r\nimport { FORMAT_DATE_TIME } from '@/shared/constants';\r\n\r\nimport { InputForBirthday } from '../Input';\r\nimport { Button, CustomHeaderTitleTemplate, CustomHeaderWrapper } from './parts';\r\n\r\nconst CustomHeader: React.FC<ReactDatePickerCustomHeaderProps> = ({\r\n  date,\r\n  decreaseMonth,\r\n  increaseMonth,\r\n  prevMonthButtonDisabled,\r\n  nextMonthButtonDisabled,\r\n}) => {\r\n  const { resources } = window.mailSubscription || {};\r\n\r\n  const messages = {\r\n    previosMonth:\r\n      resources?.['Accounts.MailSubscriprion.Fields.Birthday.Datepicker.Header.PreviousMonth'],\r\n    nextMonth: resources?.['Accounts.MailSubscriprion.Fields.Birthday.Datepicker.Header.NextMonth'],\r\n  };\r\n  const month = format(date, FORMAT_DATE_TIME.MMMM);\r\n  return (\r\n    <CustomHeaderWrapper>\r\n      <Button\r\n        type=\"button\"\r\n        className=\"react-datepicker__navigation react-datepicker__navigation--previous\"\r\n        aria-label={messages.previosMonth}\r\n        onClick={decreaseMonth}\r\n        disabled={prevMonthButtonDisabled}\r\n      >\r\n        <span className=\"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous\">\r\n          {messages.previosMonth}\r\n        </span>\r\n      </Button>\r\n      <CustomHeaderTitleTemplate>{month}</CustomHeaderTitleTemplate>\r\n\r\n      <Button\r\n        type=\"button\"\r\n        className=\"react-datepicker__navigation react-datepicker__navigation--next\"\r\n        aria-label={messages.nextMonth}\r\n        onClick={increaseMonth}\r\n        disabled={nextMonthButtonDisabled}\r\n      >\r\n        <span className=\"react-datepicker__navigation-icon react-datepicker__navigation-icon--next\">\r\n          {messages.nextMonth}\r\n        </span>\r\n      </Button>\r\n    </CustomHeaderWrapper>\r\n  );\r\n};\r\n\r\nconst BirthdayField: React.FC = () => {\r\n  const {\r\n    control,\r\n    formState: { errors },\r\n  } = useFormContext<TFormFieldsMailSubscription>();\r\n\r\n  const { formatMessage } = useIntl();\r\n\r\n  const messages = {\r\n    birthday: formatMessage({ id: 'BirthdayLabel' }),\r\n    birthdayPlaceholder: formatMessage({ id: 'BirthdayPlaceholder' }),\r\n  };\r\n\r\n  const { MMdd } = FORMAT_DATE_TIME;\r\n\r\n  const ForwardInputForBirthday = useCallback(\r\n    (props: { [x: string]: unknown }, ref: React.ForwardedRef<HTMLInputElement> | undefined) => (\r\n      <InputForBirthday\r\n        {...props}\r\n        className=\"r-relative\"\r\n        label={messages.birthday}\r\n        id=\"birthday\"\r\n        placeholder={messages.birthdayPlaceholder}\r\n        error={errors.Birthday as TError}\r\n        refInput={ref}\r\n      />\r\n    ),\r\n    [errors.Birthday, messages.birthday, messages.birthdayPlaceholder],\r\n  );\r\n  const CustomInput = forwardRef<HTMLInputElement>(ForwardInputForBirthday);\r\n\r\n  const handlerOnKeyDown = (event: React.KeyboardEvent<HTMLDivElement>): void => {\r\n    if (event.key === 'Escape') {\r\n      event.stopPropagation();\r\n    }\r\n  };\r\n\r\n  return (\r\n    <div className=\"r-w-full\">\r\n      <Controller\r\n        control={control}\r\n        name=\"Birthday\"\r\n        render={({ field: { onChange, onBlur, value, ref } }) => (\r\n          <ReactDatePicker\r\n            className=\"birthdayField\"\r\n            renderCustomHeader={CustomHeader}\r\n            selected={value ? new Date(value) : null}\r\n            onChange={onChange}\r\n            onBlur={onBlur}\r\n            onKeyDown={handlerOnKeyDown}\r\n            placeholderText={messages.birthdayPlaceholder}\r\n            dateFormat={MMdd}\r\n            customInput={<CustomInput />}\r\n            ref={ref}\r\n          />\r\n        )}\r\n      />\r\n    </div>\r\n  );\r\n};\r\n\r\nexport default BirthdayField;\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nexport const Wrapper = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    margin: 5px 20px auto;\r\n    font-size: ${theme.fontSizes.small};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    line-height: 19px;\r\n  `}\r\n`;\r\n","import React from 'react';\r\n\r\nimport { Wrapper } from './parts';\r\n\r\ninterface IProps {\r\n  smsTermsContent?: string;\r\n}\r\nconst Footer: React.FC<IProps> = ({ smsTermsContent }) => {\r\n  const smsTermsContentHtml = document.createElement('div');\r\n  smsTermsContentHtml.innerHTML = smsTermsContent || '';\r\n\r\n  return (\r\n    <Wrapper\r\n      className=\"Footer\"\r\n      dangerouslySetInnerHTML={{\r\n        __html: smsTermsContentHtml.innerText,\r\n      }}\r\n    />\r\n  );\r\n};\r\n\r\nexport default Footer;\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nexport const Wrapper = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    background-color: ${theme.defaultPrimaryColor};\r\n    box-sizing: border-box;\r\n    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\r\n    padding: 5px 10px;\r\n    text-align: center;\r\n  `}\r\n`;\r\n\r\nexport const Title = styled.h2`\r\n  font-weight: 700;\r\n  font-size: 20px;\r\n  line-height: 27px;\r\n  color: #ffffff;\r\n  margin: 0;\r\n  padding-right: 25px;\r\n  margin-bottom: 5px;\r\n`;\r\nexport const Description = styled.p`\r\n  font-weight: 600;\r\n  font-size: 16px;\r\n  line-height: 21px;\r\n  color: #ffffff;\r\n  margin: 0;\r\n`;\r\n","import React from 'react';\r\nimport { useIntl } from 'react-intl';\r\n\r\nimport { ButtonClose, MODAL_ARIA_LABELLEDBY } from '@/shared/services/modal';\r\n\r\nimport { Description, Title, Wrapper } from './parts';\r\n\r\ninterface IProps {\r\n  close: () => void;\r\n}\r\nconst Header: React.FC<IProps> = ({ close }) => {\r\n  const { formatMessage } = useIntl();\r\n\r\n  const messages = {\r\n    headerTitle: formatMessage({ id: 'Title' }),\r\n    headerSubTitle: formatMessage({ id: 'SubTitle' }),\r\n  };\r\n\r\n  const isTitle = !!messages.headerTitle.trim();\r\n  const isSubTitle = !!messages.headerSubTitle.trim();\r\n\r\n  const title = isTitle ? messages.headerTitle : messages.headerSubTitle;\r\n\r\n  return (\r\n    <Wrapper className=\"Header\" id={MODAL_ARIA_LABELLEDBY}>\r\n      <ButtonClose handlerClose={close} style={{ color: '#ffffff' }} />\r\n      <Title\r\n        dangerouslySetInnerHTML={{\r\n          __html: title,\r\n        }}\r\n      />\r\n      {isTitle && isSubTitle && (\r\n        <Description\r\n          dangerouslySetInnerHTML={{\r\n            __html: messages.headerSubTitle,\r\n          }}\r\n        />\r\n      )}\r\n    </Wrapper>\r\n  );\r\n};\r\n\r\nexport default Header;\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nexport const CheckboxInput = styled.input`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    &:checked {\r\n      color: ${theme.defaultPrimaryColor};\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const Wrapper = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    color: ${theme.defaultDarkColor};\r\n    font-size: ${theme.fontSizes.small};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    line-height: 19px;\r\n\r\n    ${CheckboxInput} {\r\n      margin-right: 5px;\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const Text = styled.label`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    display: inline;\r\n    color: ${theme.defaultDarkColor};\r\n    font-size: ${theme.fontSizes.small};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    line-height: 19px;\r\n    position: relative;\r\n    bottom: 1px;\r\n  `}\r\n`;\r\n","import React from 'react';\r\nimport { UseFormRegister } from 'react-hook-form';\r\nimport { useIntl } from 'react-intl';\r\n\r\nimport type { TFormFieldsMailSubscription } from '@/shared/api/mailSubscription/types';\r\n\r\nimport { CheckboxInput, Text, Wrapper } from './parts';\r\n\r\ninterface IProps {\r\n  register: UseFormRegister<TFormFieldsMailSubscription>;\r\n}\r\nconst MobileOptIn: React.FC<IProps> = ({ register }) => {\r\n  const { formatMessage } = useIntl();\r\n\r\n  const mobileOptIn = formatMessage({ id: 'MobileOptInLabel' });\r\n  return (\r\n    <Wrapper>\r\n      <CheckboxInput\r\n        {...register!('MobileOptIn')}\r\n        className=\"CheckboxInput\"\r\n        type=\"checkbox\"\r\n        id=\"MobileOptIn_id\"\r\n      />\r\n      <Text\r\n        htmlFor=\"MobileOptIn_id\"\r\n        dangerouslySetInnerHTML={{\r\n          __html: mobileOptIn,\r\n        }}\r\n      />\r\n    </Wrapper>\r\n  );\r\n};\r\n\r\nexport default MobileOptIn;\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nexport const Wrapper = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    width: 100%;\r\n    color: ${theme.defaultDarkColor};\r\n  `}\r\n`;\r\n\r\nexport const Title = styled.legend`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    height: 22px;\r\n    margin: 0;\r\n    font-size: ${theme.fontSizes.small};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    color: ${theme.defaultDarkColor};\r\n    border: none;\r\n  `}\r\n`;\r\n\r\nexport const InputHide = styled.input`\r\n  ${() => css`\r\n    height: 0;\r\n    width: 0;\r\n    position: absolute;\r\n    visibility: hidden;\r\n    margin: -1px;\r\n    padding: 0;\r\n    overflow: hidden;\r\n    clip: rect(0, 0, 0, 0);\r\n    border: 0;\r\n  `};\r\n`;\r\nexport const LabelHide = styled.label`\r\n  ${() => css`\r\n    height: 0;\r\n    width: 0;\r\n    position: absolute;\r\n    visibility: hidden;\r\n    margin: -1px;\r\n    padding: 0;\r\n    overflow: hidden;\r\n    clip: rect(0, 0, 0, 0);\r\n    border: 0;\r\n  `};\r\n`;\r\nexport const FieldsetRadioGroup = styled.fieldset`\r\n  display: block;\r\n`;\r\nexport const RadioGroup = styled.div`\r\n  width: inherit;\r\n  display: flex;\r\n  flex-direction: column;\r\n`;\r\n\r\nexport const RadioInput = styled.input`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    &:checked {\r\n      color: ${theme.defaultPrimaryColor};\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const RadioLabel = styled.label`\r\n  ${() => css`\r\n    width: inherit;\r\n    min-height: 22px;\r\n    display: flex;\r\n    margin: 0;\r\n\r\n    ${RadioInput} {\r\n      margin: 5px 8px 0 0;\r\n      width: auto;\r\n      height: 13px;\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const RadioTitle = styled.span`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    width: inherit;\r\n    font-size: ${theme.fontSizes.medium};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    padding: 2px 0;\r\n  `}\r\n`;\r\n","import React from 'react';\r\nimport { UseFormRegister } from 'react-hook-form';\r\nimport { useIntl } from 'react-intl';\r\n\r\nimport type { TFormFieldsMailSubscription } from '@/shared/api/mailSubscription/types';\r\nimport { ErrorMessage } from '@/shared/components/ErrorMessage';\r\nimport { TError } from '@/shared/components/ErrorMessage/types';\r\nimport type { TRoles } from '@/shared/types/mailSubscription';\r\n\r\nimport { Required } from '../Input/parts';\r\nimport {\r\n  FieldsetRadioGroup,\r\n  InputHide,\r\n  LabelHide,\r\n  RadioGroup,\r\n  RadioInput,\r\n  RadioLabel,\r\n  RadioTitle,\r\n  Title,\r\n  Wrapper,\r\n} from './parts';\r\n\r\ninterface IProps {\r\n  roles: TRoles;\r\n  register: UseFormRegister<TFormFieldsMailSubscription>;\r\n  error?: TError;\r\n}\r\nconst Roles: React.FC<IProps> = ({ roles, register, error }) => {\r\n  const { formatMessage } = useIntl();\r\n\r\n  const rolesTitle = formatMessage({ id: 'RolesTitle' });\r\n\r\n  const list = roles.map((role) => {\r\n    return (\r\n      <RadioLabel key={role.Id.Guid} className=\"RadioLabel\">\r\n        <RadioInput\r\n          {...register('Role')}\r\n          className=\"RadioInput\"\r\n          type=\"radio\"\r\n          value={role.Name}\r\n          id={`${role.Id.Guid}`}\r\n        />\r\n        <RadioTitle className=\"RadioTitle\">{role.DisplayName}</RadioTitle>\r\n      </RadioLabel>\r\n    );\r\n  });\r\n  return (\r\n    <Wrapper>\r\n      <LabelHide htmlFor=\"Role_hide_field\">Hidden Input</LabelHide>\r\n      <InputHide\r\n        {...(register &&\r\n          register('Role', {\r\n            required: {\r\n              value: true,\r\n              // eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n              // @ts-ignore\r\n              message: {\r\n                idIntl: 'IsRequiredMessage',\r\n                values: {\r\n                  0: rolesTitle,\r\n                },\r\n              },\r\n            },\r\n          }))}\r\n        id=\"Role_hide_field\"\r\n        value=\"\"\r\n        type=\"radio\"\r\n        aria-hidden=\"true\"\r\n      />\r\n      <FieldsetRadioGroup role=\"radiogroup\">\r\n        <Title>\r\n          <span\r\n            dangerouslySetInnerHTML={{\r\n              __html: rolesTitle,\r\n            }}\r\n          />{' '}\r\n          <Required />\r\n        </Title>\r\n\r\n        <RadioGroup role=\"group\" aria-label={rolesTitle}>\r\n          {list}\r\n        </RadioGroup>\r\n      </FieldsetRadioGroup>\r\n      <ErrorMessage error={error} id=\"role-error\" />\r\n    </Wrapper>\r\n  );\r\n};\r\n\r\nexport default Roles;\r\n","import styled, { css } from 'styled-components';\r\n\r\nimport type { IMailSubscriptionTheme } from '@/shared/themes/types';\r\n\r\nimport { Required } from './blocks/Input/parts';\r\n\r\nexport const Wrapper = styled.div`\r\n  ${({ theme }) => css`\r\n    display: flex;\r\n    flex-direction: column;\r\n    width: 100%;\r\n    box-sizing: border-box;\r\n    background: #ffffff;\r\n\r\n    ${theme.media.tablet} {\r\n      min-height: 560px;\r\n      border: 1px solid #000000;\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const Body = styled.div`\r\n  margin: 10px 20px auto;\r\n  display: flex;\r\n  flex-direction: column;\r\n  gap: 5px;\r\n`;\r\nexport const Content = styled.div`\r\n  ${({ theme }) => css`\r\n    display: flex;\r\n    flex-direction: column;\r\n    justify-content: space-between;\r\n    gap: 5px;\r\n\r\n    .react-datepicker {\r\n      transform: scale(1.2);\r\n      margin-top: 22px;\r\n      margin-left: -70px;\r\n\r\n      .react-datepicker__triangle {\r\n        left: -12px !important;\r\n      }\r\n    }\r\n\r\n    ${theme.media.tablet} {\r\n      .react-datepicker {\r\n        margin-top: 20px;\r\n        margin-left: -40px;\r\n      }\r\n    }\r\n  `}\r\n`;\r\n\r\nexport const RequiredInfo = styled.div`\r\n  ${({ theme }: { theme: IMailSubscriptionTheme }) => css`\r\n    margin: 0;\r\n    font-size: ${theme.fontSizes.medium};\r\n    font-weight: ${theme.fontWeight.medium};\r\n    color: ${theme.defaultDarkColor};\r\n    line-height: 22px;\r\n  `}\r\n`;\r\n\r\nexport const RequiredFields = styled(Required).attrs(() => ({\r\n  'aria-hidden': 'true',\r\n}))`\r\n  &::before {\r\n    position: initial;\r\n  }\r\n`;\r\n","import format from 'date-fns/format';\r\nimport React, { useEffect } from 'react';\r\nimport { FormProvider, SubmitHandler, useForm } from 'react-hook-form';\r\nimport { useIntl } from 'react-intl';\r\n\r\nimport {\r\n  MailSubscriptionJoin,\r\n  getConstants,\r\n  getModel,\r\n  getSettings,\r\n  setShowWidgetModal,\r\n} from '@/entities/mailSubscription';\r\n\r\nimport type { TFormFieldsMailSubscription } from '@/shared/api/mailSubscription/types';\r\nimport { ButtonSecond } from '@/shared/components/Button';\r\nimport { TError } from '@/shared/components/ErrorMessage/types';\r\nimport { FORMAT_DATE_TIME } from '@/shared/constants';\r\nimport { useAppDispatch, useAppSelector } from '@/shared/hooks/appRedux';\r\nimport { TPortalModalComponent } from '@/shared/services/modal/type';\r\n\r\nimport { BirthdayField } from './blocks/BirthdayField';\r\nimport { Footer } from './blocks/Footer';\r\nimport { Header } from './blocks/Header';\r\nimport { Input } from './blocks/Input';\r\nimport { MobileOptIn } from './blocks/MobileOptIn';\r\nimport { Roles } from './blocks/Roles';\r\nimport { Body, Content, RequiredFields, RequiredInfo, Wrapper } from './parts';\r\n\r\nconst MailSubscriptionModal: TPortalModalComponent = ({ close }) => {\r\n  const model = useAppSelector(getModel);\r\n\r\n  const settings = useAppSelector(getSettings);\r\n\r\n  const constants = useAppSelector(getConstants);\r\n\r\n  const form = useForm<TFormFieldsMailSubscription>({\r\n    mode: 'onChange',\r\n    shouldUnregister: true,\r\n    defaultValues: {\r\n      FirstName: model?.FirstName || undefined,\r\n      LastName: model?.LastName || undefined,\r\n      EmailAddress: model?.EmailAddress || undefined,\r\n      MobileNumber: model?.MobileNumber || undefined,\r\n      MobileOptIn: !!model?.MobileOptIn,\r\n      Role: model?.Role,\r\n      Birthday: model?.Birthday || undefined,\r\n    },\r\n  });\r\n\r\n  const {\r\n    register,\r\n    handleSubmit,\r\n    formState: { errors },\r\n    watch,\r\n    setFocus,\r\n  } = form;\r\n\r\n  const { formatMessage } = useIntl();\r\n\r\n  const messages = {\r\n    firstName: formatMessage({ id: 'FirstNameLabel' }),\r\n    lastName: formatMessage({ id: 'LastNameLabel' }),\r\n    email: formatMessage({ id: 'EmailAddressLabel' }),\r\n    phone: formatMessage({ id: 'MobileNumberLabel' }),\r\n    birthday: formatMessage({ id: 'BirthdayLabel' }),\r\n    birthdayPlaceholder: formatMessage({ id: 'BirthdayPlaceholder' }),\r\n\r\n    emailPlaceholder: formatMessage({ id: 'EmailPlaceholder' }),\r\n    phonePlaceholder: formatMessage({ id: 'MobileNumberPlaceholder' }),\r\n    join: formatMessage({ id: 'Join' }),\r\n    joined: formatMessage({ id: 'Joined' }),\r\n    mobileOptIn: formatMessage({ id: 'MobileOptInLabel' }),\r\n    headerTitle: formatMessage({ id: 'Title' }),\r\n    headerSubTitle: formatMessage({ id: 'SubTitle' }),\r\n    rolesTitle: formatMessage({ id: 'RolesTitle' }),\r\n    requiredFields: formatMessage({ id: 'RequiredFields' }),\r\n  };\r\n\r\n  const dispatch = useAppDispatch<MailSubscriptionAppDispatch>();\r\n  const handleJoin: SubmitHandler<Partial<TFormFieldsMailSubscription>> = (data) => {\r\n    const idReCaptcha = constants?.captchaId || 'g-recaptcha-response';\r\n    const reCaptcha = document?.getElementById(idReCaptcha) as HTMLInputElement | null;\r\n\r\n    const postData = {\r\n      FirstName: data.FirstName || '',\r\n      LastName: data.LastName || '',\r\n      EmailAddress: data.EmailAddress || '',\r\n      MobileNumber: data.MobileNumber || '',\r\n      MobileOptIn: !!data.MobileOptIn,\r\n      Birthday: data.Birthday ? format(new Date(data.Birthday), FORMAT_DATE_TIME.MMdd) : null,\r\n      Role: data.Role || null,\r\n      UtmMedium: null,\r\n      UtmSource: null,\r\n      UtmCampaign: null,\r\n      ...(reCaptcha &&\r\n        reCaptcha?.name && {\r\n          [reCaptcha.name]: reCaptcha?.value,\r\n        }),\r\n    };\r\n\r\n    const gaEvent = (): void => {\r\n      if (window?.gaGtag) {\r\n        window.gaGtag.acquisitionFormEvent();\r\n      }\r\n    };\r\n    const callback = (): void => {\r\n      close();\r\n      gaEvent();\r\n    };\r\n    dispatch(MailSubscriptionJoin(postData, callback));\r\n  };\r\n\r\n  // eslint-disable-next-line no-console\r\n  const handleError = (errs: unknown): void => console.log('Error Join: ', errs);\r\n  const regExpEmail = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\r\n  const regExpPhone = /^(?:(?:[+]\\d){0,1}(?:\\d[()\\s-]*){10})$/;\r\n\r\n  const handleClose = (): void => {\r\n    dispatch(setShowWidgetModal(false));\r\n    close();\r\n  };\r\n\r\n  const isMobileOpt = watch('MobileOptIn');\r\n\r\n  useEffect(() => {\r\n    setFocus('FirstName');\r\n    // eslint-disable-next-line react-hooks/exhaustive-deps\r\n  }, []);\r\n\r\n  return (\r\n    <Wrapper className=\"Modal\">\r\n      <Header close={handleClose} />\r\n      <Body>\r\n        <RequiredInfo>\r\n          <RequiredFields />\r\n          <span\r\n            dangerouslySetInnerHTML={{\r\n              __html: messages.requiredFields,\r\n            }}\r\n          />\r\n        </RequiredInfo>\r\n        <Content>\r\n          <div className=\"r-flex r-flex-row r-gap-4\">\r\n            <Input\r\n              label={messages.firstName}\r\n              id=\"FirstName\"\r\n              externalRules={{ required: false }}\r\n              register={register}\r\n              placeholder={messages.firstName}\r\n              error={errors.FirstName as TError}\r\n              autoComplete=\"given-name\"\r\n            />\r\n            <Input\r\n              label={messages.lastName}\r\n              id=\"LastName\"\r\n              externalRules={{ required: false }}\r\n              register={register}\r\n              placeholder={messages.lastName}\r\n              error={errors.LastName as TError}\r\n              autoComplete=\"family-name\"\r\n            />\r\n          </div>\r\n\r\n          <Input\r\n            label={messages.email}\r\n            id=\"EmailAddress\"\r\n            externalRules={{\r\n              required: {\r\n                value: true,\r\n                message: {\r\n                  idIntl: 'IsRequiredMessage',\r\n                  values: {\r\n                    0: messages.email,\r\n                  },\r\n                },\r\n              },\r\n              pattern: {\r\n                value: regExpEmail,\r\n                message: {\r\n                  idIntl: 'InvalidEmailAddress',\r\n                  values: {\r\n                    0: messages.email,\r\n                  },\r\n                },\r\n              },\r\n            }}\r\n            register={register}\r\n            placeholder={messages.emailPlaceholder}\r\n            error={errors.EmailAddress as TError}\r\n            autoComplete=\"email\"\r\n          />\r\n          <div>\r\n            <div className=\"r-flex r-flex-row r-gap-4\">\r\n              <Input\r\n                className=\"r-w-full\"\r\n                label={messages.phone}\r\n                id=\"MobileNumber\"\r\n                externalRules={{\r\n                  required: {\r\n                    value: !!isMobileOpt,\r\n                    message: {\r\n                      idIntl: 'IsRequiredMessage',\r\n                      values: {\r\n                        0: messages.phone,\r\n                      },\r\n                    },\r\n                  },\r\n                  pattern: {\r\n                    value: regExpPhone,\r\n                    message: {\r\n                      idIntl: 'InvalidMobileNumber',\r\n                      values: {\r\n                        0: messages.phone,\r\n                      },\r\n                    },\r\n                  },\r\n                }}\r\n                register={register}\r\n                placeholder={messages.phonePlaceholder}\r\n                error={errors.MobileNumber as TError}\r\n                autoComplete=\"tel\"\r\n              />\r\n              <FormProvider {...form}>\r\n                <BirthdayField />\r\n              </FormProvider>\r\n            </div>\r\n            <MobileOptIn register={register} />\r\n          </div>\r\n\r\n          <div className=\"r-flex r-flex-row r-gap-4\">\r\n            {constants?.roles && constants?.roles.length > 1 && (\r\n              <Roles roles={constants.roles} register={register} error={errors.Role as TError} />\r\n            )}\r\n            <ButtonSecond\r\n              isDark\r\n              className=\"r-my-auto r-w-full r-p-0\"\r\n              click={handleSubmit(handleJoin, handleError)}\r\n            >\r\n              <span\r\n                dangerouslySetInnerHTML={{\r\n                  __html: messages.join,\r\n                }}\r\n              />\r\n            </ButtonSecond>\r\n          </div>\r\n        </Content>\r\n      </Body>\r\n\r\n      <Footer smsTermsContent={settings?.SmsTermsContent} />\r\n    </Wrapper>\r\n  );\r\n};\r\n\r\nexport default MailSubscriptionModal;\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { firstLoadOfData, useManagedMailSubscriptionModal } from '@/entities/mailSubscription';\r\n\r\nimport { APP_ELEMENTS, MODAL_ELEMENTS } from '@/shared/constants';\r\nimport { useAppDispatch, useAppSelector } from '@/shared/hooks/appRedux';\r\nimport { getLoading } from '@/shared/services/loading';\r\nimport { LoadingBackground } from '@/shared/services/modal';\r\n\r\nconst MailSubscriptionPage: React.FC = () => {\r\n  const loading = useAppSelector(getLoading);\r\n  const dispatch = useAppDispatch<MailSubscriptionAppDispatch>();\r\n\r\n  useEffect(() => {\r\n    if (window.mailSubscription) dispatch(firstLoadOfData(window.mailSubscription));\r\n    // eslint-disable-next-line react-hooks/exhaustive-deps\r\n  }, []);\r\n\r\n  useManagedMailSubscriptionModal();\r\n  return (\r\n    <LoadingBackground\r\n      loading={loading}\r\n      appElement={APP_ELEMENTS.MAIL_SUBSCRIPTION}\r\n      parentSelector={MODAL_ELEMENTS.MAIL_SUBSCRIPTION_MODAL}\r\n    />\r\n  );\r\n};\r\n\r\nexport default MailSubscriptionPage;\r\n","import { useEffect } from 'react';\r\n\r\nimport { MailSubscriptionModal } from '@/widgets/MailSubscriptionModal';\r\n\r\nimport { useAppDispatch, useAppSelector } from '@/shared/hooks/appRedux';\r\nimport { ModalService } from '@/shared/services/modal';\r\n\r\nimport { EVENT_OPEN_MODAL, getSettings, setShowWidgetModal } from '.';\r\n\r\nexport const useManagedMailSubscriptionModal = (): void => {\r\n  const settings = useAppSelector(getSettings);\r\n  const dispatch = useAppDispatch<MailSubscriptionAppDispatch>();\r\n\r\n  const handleCloseOnRequest = (): void => {\r\n    dispatch(setShowWidgetModal(false));\r\n  };\r\n  useEffect(() => {\r\n    if (settings?.isShowWidget) {\r\n      setTimeout(() => {\r\n        ModalService.open(\r\n          MailSubscriptionModal,\r\n          {\r\n            onRequestClose: handleCloseOnRequest,\r\n            shouldReturnFocusAfterClose: false,\r\n          },\r\n          EVENT_OPEN_MODAL,\r\n        );\r\n      }, 100);\r\n    }\r\n    // eslint-disable-next-line react-hooks/exhaustive-deps\r\n  }, [settings?.isShowWidget]);\r\n};\r\n","import { MailSubscriptionReducer } from '@/entities/mailSubscription';\r\n\r\nimport { LoadingReducer } from '@/shared/services/loading';\r\n\r\nimport { Action, ThunkAction, combineReducers, configureStore } from '@reduxjs/toolkit';\r\n\r\nconst rootReducer = combineReducers({\r\n  mailSubscription: MailSubscriptionReducer,\r\n  loading: LoadingReducer,\r\n});\r\n\r\nconst store = configureStore({\r\n  reducer: rootReducer,\r\n  devTools: process.env.NODE_ENV !== 'production' && {\r\n    name: 'MailSubscription Redux FSD',\r\n  },\r\n});\r\n\r\nexport default store;\r\n\r\nexport type MailSubscriptionRootState = ReturnType<typeof store.getState>;\r\nexport type MailSubscriptionAppDispatch = typeof store.dispatch;\r\nexport type MailSubscriptionAppThunk<ReturnType = void> = ThunkAction<\r\n  ReturnType,\r\n  MailSubscriptionRootState,\r\n  unknown,\r\n  Action<string>\r\n>;\r\n","import React from 'react';\r\n\r\nimport { MailSubscriptionPage } from '@/pages/mailSubscription';\r\n\r\nimport { EVENT_OPEN_MODAL, MAX_WIDTH_MODAL } from '@/entities/mailSubscription';\r\n\r\nimport { AppProviders } from '@/shared/components/Providers';\r\nimport { APP_ELEMENTS, MODAL_ELEMENTS } from '@/shared/constants';\r\nimport { Modal } from '@/shared/services/modal';\r\nimport { Notification } from '@/shared/services/notification';\r\nimport { MailSubscriptionTheme } from '@/shared/themes';\r\n\r\nimport store from './store';\r\n\r\nconst App: React.FC = () => {\r\n  return (\r\n    <AppProviders\r\n      resources={window.mailSubscription.resources}\r\n      store={store}\r\n      theme={MailSubscriptionTheme}\r\n    >\r\n      <MailSubscriptionPage />\r\n      <Modal\r\n        appElement={APP_ELEMENTS.MAIL_SUBSCRIPTION}\r\n        parentSelector={MODAL_ELEMENTS.MAIL_SUBSCRIPTION_MODAL}\r\n        style={{\r\n          content: {\r\n            maxWidth: MAX_WIDTH_MODAL,\r\n          },\r\n        }}\r\n        className=\"md:!r-absolute md:!r-bottom-10 md:!r-right-10 !r-top-auto\r\n        md:r-overflow-auto r-max-h-[calc(100vh-40px)]\r\n        \"\r\n        htmlOpenClassName=\"md:r-overflow-auto\"\r\n        eventName={EVENT_OPEN_MODAL}\r\n      />\r\n      <Notification />\r\n    </AppProviders>\r\n  );\r\n};\r\n\r\nexport default App;\r\n","\n      import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n      import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./styles.scss\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n      options.insert = insertFn.bind(null, \"head\");\n    \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./styles.scss\";\n       export default content && content.locals ? content.locals : undefined;\n","import 'core-js';\r\nimport React from 'react';\r\nimport { createRoot } from 'react-dom/client';\r\nimport 'regenerator-runtime/runtime';\r\n\r\nimport { APP_ELEMENTS } from '@/shared/constants';\r\n\r\nimport App from './App';\r\nimport './styles.scss';\r\n\r\nconst container = document.getElementById(APP_ELEMENTS.MAIL_SUBSCRIPTION);\r\nconst root = createRoot(container!);\r\nroot.render(<App />);\r\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/react-datepicker/dist/react-datepicker.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_1___ from \"-!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/react-notifications/lib/notifications.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".r-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.r-absolute{position:absolute}.r-relative{position:relative}.\\\\!r-top-auto{top:auto !important}.r-left-3{left:0.75rem}.r-right-2{right:0.5rem}.r-right-4{right:1rem}.r-top-\\\\[0\\\\.6rem\\\\]{top:0.6rem}.r-m-0{margin:0px}.r-m-auto{margin:auto}.\\\\!r-mx-0{margin-left:0px !important;margin-right:0px !important}.r-mx-auto{margin-left:auto;margin-right:auto}.r-my-auto{margin-top:auto;margin-bottom:auto}.\\\\!r-mb-1{margin-bottom:0.25rem !important}.r-mb-6{margin-bottom:1.5rem}.r-mt-0{margin-top:0px}.r-mt-4{margin-top:1rem}.r-mt-5{margin-top:1.25rem}.r-box-border{box-sizing:border-box}.r-block{display:block}.r-flex{display:flex}.r-hidden{display:none}.r-h-10{height:2.5rem}.r-h-3{height:0.75rem}.r-h-4{height:1rem}.r-h-5{height:1.25rem}.r-max-h-9{max-height:2.25rem}.r-max-h-\\\\[calc\\\\(100vh-40px\\\\)\\\\]{max-height:calc(100vh - 40px)}.r-w-4{width:1rem}.r-w-5{width:1.25rem}.r-w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.r-w-full{width:100%}.r-w-max{width:-webkit-max-content;width:max-content}.r-flex-1{flex:1 1 0%}.r-flex-initial{flex:0 1 auto}.r-flex-shrink-0{flex-shrink:0}.r-flex-grow{flex-grow:1}.r-flex-row{flex-direction:row}.r-flex-col{flex-direction:column}.r-flex-wrap{flex-wrap:wrap}.r-items-start{align-items:flex-start}.r-items-end{align-items:flex-end}.r-items-center{align-items:center}.r-items-baseline{align-items:baseline}.r-justify-start{justify-content:flex-start}.r-justify-center{justify-content:center}.r-justify-between{justify-content:space-between}.r-gap-1{gap:0.25rem}.r-gap-2{gap:0.5rem}.r-gap-4{gap:1rem}.r-rounded-3xl{border-radius:1.5rem}.r-rounded-\\\\[4px\\\\]{border-radius:4px}.r-rounded-full{border-radius:9999px}.r-rounded-md{border-radius:0.375rem}.r-border{border-width:1px}.r-border-0{border-width:0px}.r-border-solid{border-style:solid}.r-border-none{border-style:none}.r-border-black{--tw-border-opacity:1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.r-border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.r-border-opacity-20{--tw-border-opacity:0.2}.r-bg-\\\\[\\\\#727272\\\\]{--tw-bg-opacity:1;background-color:rgb(114 114 114 / var(--tw-bg-opacity, 1))}.r-bg-primary{background-color:var(--primary-color, #3a7aaa)}.r-bg-transparent{background-color:transparent}.r-fill-none{fill:none}.r-fill-primary{fill:var(--primary-color, #3a7aaa)}.r-fill-white{fill:#fff}.r-stroke-gray-400{stroke:#9ca3af}.r-stroke-primary{stroke:var(--primary-color, #3a7aaa)}.r-stroke-\\\\[2\\\\]{stroke-width:2}.r-stroke-\\\\[3\\\\]{stroke-width:3}.r-p-0{padding:0px}.r-p-1{padding:0.25rem}.r-p-4{padding:1rem}.r-px-2{padding-left:0.5rem;padding-right:0.5rem}.r-px-4{padding-left:1rem;padding-right:1rem}.r-px-6{padding-left:1.5rem;padding-right:1.5rem}.r-px-9{padding-left:2.25rem;padding-right:2.25rem}.r-py-1{padding-top:0.25rem;padding-bottom:0.25rem}.r-py-2{padding-top:0.5rem;padding-bottom:0.5rem}.r-py-3{padding-top:0.75rem;padding-bottom:0.75rem}.r-pt-2{padding-top:0.5rem}.r-text-center{text-align:center}.r-text-2xl{font-size:1.5rem;line-height:2rem}.r-text-4xl{font-size:2.25rem;line-height:2.5rem}.r-text-base{font-size:1rem;line-height:1.5rem}.r-text-lg{font-size:1.125rem;line-height:1.75rem}.r-text-sm{font-size:0.875rem;line-height:1.25rem}.r-font-bold{font-weight:700}.r-font-normal{font-weight:400}.r-uppercase{text-transform:uppercase}.r-leading-4{line-height:1rem}.r-text-black{--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.r-text-green-700{--tw-text-opacity:1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.r-text-red-700{--tw-text-opacity:1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.r-text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.\\\\!r-no-underline{-webkit-text-decoration-line:none !important;text-decoration-line:none !important}body{overflow:initial}.overflow_hidden{overflow:hidden}.react-datepicker{transform:scale(1.2);margin-top:13px;margin-left:284px;position:absolute;z-index:1}@media(max-width: 767px){.react-datepicker{margin:0px;top:7px;left:16px}}.react-datepicker__current-month{margin:0;line-height:22px}.notification-container{width:initial;max-width:500px}.notification-container .notification-error{padding:16px;background-color:#fff;border:1px solid #ad1d00}.notification-container .notification-error::before{content:none}.notification-container .notification-error .notification-message>*{color:#ad1d00}.notification-container .notification-error .notification-message .message{margin:0}.react-datepicker__day.react-datepicker__day--keyboard-selected{background:none !important;color:#000}.react-datepicker__navigation .react-datepicker__navigation-icon::before{border-color:#8a8a8a}.react-datepicker__navigation:hover *::before{border-color:#6e6e6e}.svg-icon{height:24px;width:24px;fill:var(--primary-color, #3a7aaa)}.svg-filters{position:relative;top:6px;width:2em}.svg-cart-button{position:relative;top:6px;margin-left:16px}.hover\\\\:r-bg-secondary:hover{background-color:var(--secondary-color, #1b476a)}.hover\\\\:r-text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\\\:r-border-primary:focus{border-color:var(--primary-color, #3a7aaa)}.focus\\\\:r-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\\\:r-outline-offset-0:focus{outline-offset:0px}.focus\\\\:r-outline-primary:focus{outline-color:var(--primary-color, #3a7aaa)}@media (min-width: 768px){.md\\\\:\\\\!r-absolute{position:absolute !important}.md\\\\:\\\\!r-bottom-10{bottom:2.5rem !important}.md\\\\:\\\\!r-right-10{right:2.5rem !important}.md\\\\:r-w-96{width:24rem}.md\\\\:r-w-\\\\[22rem\\\\]{width:22rem}.md\\\\:r-flex-row{flex-direction:row}.md\\\\:r-gap-0{gap:0px}.md\\\\:r-overflow-auto{overflow:auto}}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/shared/styles.scss\"],\"names\":[],\"mappings\":\"AAQA,WAAA,iBAAA,CAAA,SAAA,CAAA,UAAA,CAAA,SAAA,CAAA,WAAA,CAAA,eAAA,CAAA,qBAAA,CAAA,kBAAA,CAAA,cAAA,CAAA,YAAA,iBAAA,CAAA,YAAA,iBAAA,CAAA,cAAA,mBAAA,CAAA,UAAA,YAAA,CAAA,WAAA,YAAA,CAAA,WAAA,UAAA,CAAA,mBAAA,UAAA,CAAA,OAAA,UAAA,CAAA,UAAA,WAAA,CAAA,UAAA,0BAAA,CAAA,2BAAA,CAAA,WAAA,gBAAA,CAAA,iBAAA,CAAA,WAAA,eAAA,CAAA,kBAAA,CAAA,UAAA,gCAAA,CAAA,QAAA,oBAAA,CAAA,QAAA,cAAA,CAAA,QAAA,eAAA,CAAA,QAAA,kBAAA,CAAA,cAAA,qBAAA,CAAA,SAAA,aAAA,CAAA,QAAA,YAAA,CAAA,UAAA,YAAA,CAAA,QAAA,aAAA,CAAA,OAAA,cAAA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CA7FM,YAAA,WA6FN,CA7FM,mBAAA,WA6FN,CA7FM,gBAAA,kBA6FN,CA7FM,aAAA,OA6FN,CA7FM,qBAAA,aA6FN,CAAA\",\"sourcesContent\":[\"@import 'react-datepicker/dist/react-datepicker.css';\\r\\n@import 'react-notifications/lib/notifications.css';\\r\\n\\r\\n/* \\r\\n  Add only after transferring the entire site to ReactJs\\r\\n  @tailwind base; \\r\\n*/\\r\\n@tailwind components;\\r\\n@tailwind utilities;\\r\\n\\r\\nbody {\\r\\n  overflow: initial;\\r\\n}\\r\\n.overflow_hidden {\\r\\n  overflow: hidden;\\r\\n}\\r\\n\\r\\n.react-datepicker {\\r\\n  transform: scale(1.2);\\r\\n  margin-top: 13px;\\r\\n  margin-left: 284px;\\r\\n  position: absolute;\\r\\n  z-index: 1;\\r\\n\\r\\n  @media (max-width: 767px) {\\r\\n    margin: 0px;\\r\\n    top: 7px;\\r\\n    left: 16px;\\r\\n  }\\r\\n}\\r\\n.react-datepicker__current-month {\\r\\n  margin: 0;\\r\\n  line-height: 22px;\\r\\n}\\r\\n$redText: #ad1d00;\\r\\n\\r\\n.notification-container {\\r\\n  width: initial;\\r\\n  max-width: 500px;\\r\\n\\r\\n  .notification-error {\\r\\n    padding: 16px;\\r\\n\\r\\n    background-color: #fff;\\r\\n    border: 1px solid $redText;\\r\\n\\r\\n    &::before {\\r\\n      content: none;\\r\\n    }\\r\\n    .notification-message {\\r\\n      & > * {\\r\\n        color: $redText;\\r\\n      }\\r\\n\\r\\n      .message {\\r\\n        margin: 0;\\r\\n      }\\r\\n    }\\r\\n  }\\r\\n}\\r\\n\\r\\n// react-datepicker next month selected date fix\\r\\n.react-datepicker__day.react-datepicker__day--keyboard-selected {\\r\\n  background: none !important;\\r\\n  color: black;\\r\\n}\\r\\n\\r\\n.react-datepicker__navigation {\\r\\n  .react-datepicker__navigation-icon {\\r\\n    &::before {\\r\\n      border-color: #8a8a8a;\\r\\n    }\\r\\n  }\\r\\n  &:hover *::before {\\r\\n    border-color: #6e6e6e;\\r\\n  }\\r\\n}\\r\\n\\r\\n.svg-icon {\\r\\n  height: 24px;\\r\\n  width: 24px;\\r\\n  fill: var(--primary-color, #3a7aaa);\\r\\n}\\r\\n\\r\\n.svg-filters {\\r\\n  position: relative;\\r\\n  top: 6px;\\r\\n  width: 2em;\\r\\n}\\r\\n\\r\\n.svg-cart-button {\\r\\n  position: relative;\\r\\n  top: 6px;\\r\\n  margin-left: 16px;\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 838;","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl + \"../../../../../React/\";","__webpack_require__.b = document.baseURI || self.location.href;\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\t838: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkaramark_acp_react\"] = self[\"webpackChunkaramark_acp_react\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// 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, [658,335,903], function() { return __webpack_require__(20029); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["mainSlice","createSlice","name","initialState","model","constants","settings","SmsTermsContent","image","url","alt","isShowWidget","reducers","setMain","state","action","payload","setShowWidgetModal","_mainSlice$actions","actions","getModel","_ref","mailSubscription","getSettings","_ref2","getConstants","_ref3","EVENT_OPEN_MODAL","InputLabel","styled","label","_templateObject","_taggedTemplateLiteral","theme","css","_templateObject2","fontSizes","medium","fontWeight","defaultDarkColor","InputComponent","input","_templateObject3","_templateObject4","InputWrapper","div","_templateObject5","ErrorText","PartWithOptInfo","_templateObject6","Required","RequiredField","attrs","_templateObject7","OptInfo","_templateObject8","_templateObject9","media","desktop","Input","_externalRules$requir","register","id","_ref$defaultValue","defaultValue","_ref$placeholder","placeholder","_ref$className","className","externalRules","error","optInfo","tooltipButton","_ref$isShowRequiredSi","isShowRequiredSign","isErrorAsInfoMessages","tabIndex","autoComplete","errorId","concat","isRequired","required","value","_jsxs","children","_objectSpread","htmlFor","_jsx","dangerouslySetInnerHTML","__html","type","ErrorMessage","isInfo","memo","InputForBirthday","refInput","otherProps","_objectWithoutProperties","_excluded","ref","CustomHeaderWrapper","Button","button","CustomHeaderTitleTemplate","CustomHeader","date","decreaseMonth","increaseMonth","prevMonthButtonDisabled","nextMonthButtonDisabled","resources","window","messages","previosMonth","nextMonth","month","format","FORMAT_DATE_TIME","MMMM","onClick","disabled","_useFormContext","useFormContext","control","errors","formState","formatMessage","useIntl","birthday","birthdayPlaceholder","MMdd","ForwardInputForBirthday","useCallback","props","Birthday","CustomInput","forwardRef","handlerOnKeyDown","event","key","stopPropagation","Controller","render","_ref3$field","field","onChange","onBlur","ReactDatePicker","renderCustomHeader","selected","Date","onKeyDown","placeholderText","dateFormat","customInput","Wrapper","small","smsTermsContent","smsTermsContentHtml","document","createElement","innerHTML","innerText","defaultPrimaryColor","Title","h2","Description","p","_context","_context2","close","headerTitle","headerSubTitle","isTitle","_trimInstanceProperty","call","isSubTitle","title","MODAL_ARIA_LABELLEDBY","ButtonClose","handlerClose","style","color","CheckboxInput","Text","mobileOptIn","legend","InputHide","LabelHide","FieldsetRadioGroup","fieldset","RadioGroup","_templateObject10","RadioInput","_templateObject11","_templateObject12","RadioLabel","_templateObject13","_templateObject14","RadioTitle","span","_templateObject15","_ref4","_templateObject16","roles","rolesTitle","list","_mapInstanceProperty","role","Name","Id","Guid","DisplayName","message","idIntl","values","tablet","Body","Content","RequiredInfo","RequiredFields","useAppSelector","form","useForm","mode","shouldUnregister","defaultValues","FirstName","undefined","LastName","EmailAddress","MobileNumber","MobileOptIn","Role","handleSubmit","watch","setFocus","firstName","lastName","email","phone","emailPlaceholder","phonePlaceholder","join","joined","requiredFields","dispatch","useAppDispatch","isMobileOpt","useEffect","Header","pattern","FormProvider","BirthdayField","length","Roles","ButtonSecond","isDark","click","data","_document","idReCaptcha","captchaId","reCaptcha","getElementById","postData","UtmMedium","UtmSource","UtmCampaign","_defineProperty","callback","_asyncToGenerator","_regeneratorRuntime","_callee","response","prev","next","setLoading","joinApi","sent","Result","Errors","NotificationService","open","status","NOTIFICATIONS","ERROR","text","forEach","t0","finish","stop","_x","apply","arguments","MailSubscriptionJoin","_window","gaGtag","acquisitionFormEvent","gaEvent","errs","console","log","Footer","loading","getLoading","handleCloseOnRequest","setTimeout","ModalService","MailSubscriptionModal","onRequestClose","shouldReturnFocusAfterClose","useManagedMailSubscriptionModal","LoadingBackground","appElement","APP_ELEMENTS","MAIL_SUBSCRIPTION","parentSelector","MODAL_ELEMENTS","MAIL_SUBSCRIPTION_MODAL","rootReducer","combineReducers","MailSubscriptionReducer","LoadingReducer","configureStore","reducer","devTools","process","AppProviders","store","MailSubscriptionTheme","MailSubscriptionPage","Modal","content","maxWidth","htmlOpenClassName","eventName","Notification","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","container","createRoot","App","___CSS_LOADER_EXPORT___","i","push","module","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","loaded","__webpack_modules__","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","t","this","then","ns","create","def","current","indexOf","getOwnPropertyNames","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","Error","replace","b","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","bind","nc","__webpack_exports__"],"sourceRoot":""}