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,EAAa,MACZ,IAAI,IACP,IACDC,EAAS+G,WAAW,EACnBhD,CAAAA,EAAAA,EAAAA,EAAAA,CAAgBA,CAAC/D,EAAS+G,WAAW,CAAElG,EAAgBd,QAAAA,QAAAA,EAAAA,KAAAA,EAAAA,EAAOiE,IAAAA,GAAPjE,KAAAA,IAAAA,EAAAA,EAAe,OAAQA,QAAAA,QAAAA,EAAAA,KAAAA,EAAAA,EAAOkE,EAAAA,GAAPlE,EAAAA,GAAAA,IAAAA,EAAAA,EAAa,qBAQ7G,EAAE,EAEaF","sources":["webpack://_N_E/../../libs/mi-offers-components/src/organisms/OfferDetails/OfferDetailsMultiProperty/OfferDetailsMultiProperty.styles.tsx","webpack://_N_E/../../libs/mi-offers-components/src/organisms/OfferDetails/OfferDetailsMultiProperty/OfferDetailsMultiProperty.tsx"],"sourcesContent":["// Styles for MpoApoOfferDetails go here.\nimport styled from 'styled-components';\nimport { baseVariables, toRem } from '@marriott/mi-ui-library';\nimport { mediaQuery, font } from '../../../utils/styles';\n\nexport const StyledOfferDetailsMultiProperty = styled.div`\n background-color: ${baseVariables.color.neutral10};\n @media ${mediaQuery.mobileOnly} {\n padding-top: ${toRem(48)};\n }\n .mpo-detail-section {\n .container {\n display: flex;\n justify-content: space-between;\n }\n\n .m-details-offer-description {\n a {\n text-decoration: underline;\n }\n }\n padding: ${toRem(60)} ${toRem(70)};\n .details-left {\n max-width: 45%;\n margin-right: 5%;\n .title {\n margin-bottom: ${toRem(10)};\n .mpo-details-title {\n color: ${baseVariables.color.merch30};\n font-family: ${font.Swiss721BTRegular};\n font-size: ${toRem(30)};\n font-weight: 500;\n letter-spacing: 0;\n line-height: ${toRem(32)};\n margin: 0;\n }\n }\n\n .desc,\n .m-details-page-reserv-msg {\n margin-bottom: ${toRem(16)};\n p,\n li {\n color: ${baseVariables.color.merch30};\n font-family: ${font.Swiss721BTRegular};\n font-size: ${toRem(16)};\n letter-spacing: 0;\n line-height: ${toRem(24)};\n margin: 0;\n a {\n font-size: ${toRem(16)};\n font-weight: 600;\n text-decoration: underline;\n }\n }\n }\n .m-details-page-reserv-msg h3 {\n font-size: ${toRem(16)};\n font-family: ${font.Swiss721BTRegular};\n }\n .terms-link {\n a {\n cursor: pointer;\n font-family: ${font.Swiss721BTRegular};\n font-size: ${toRem(13)};\n font-weight: 700;\n line-height: ${toRem(16)};\n }\n }\n &[class^='icon-'] {\n padding: 0 0.25rem;\n font-size: 0.75rem;\n }\n span.icon-forward-arrow {\n margin-left: ${toRem(6)};\n }\n span.icon-forward-arrow::before {\n font-family: MiIcons;\n color: var(--t-link-text-color);\n }\n }\n @media ${mediaQuery.tabletOnly} {\n padding: ${toRem(40)} ${toRem(32)};\n .details-left {\n max-width: ${toRem(320)};\n margin-right: ${toRem(76)};\n .title {\n margin-bottom: ${toRem(10)};\n p {\n font-size: ${toRem(22)};\n line-height: ${toRem(26)};\n }\n }\n .desc,\n .m-details-page-reserv-msg {\n margin-bottom: ${toRem(16)};\n p {\n font-size: ${toRem(14)};\n line-height: ${toRem(20)};\n }\n }\n .terms-link {\n font-size: ${toRem(13)};\n line-height: ${toRem(16)};\n }\n }\n }\n .details-right {\n width: 45%;\n .title {\n padding-bottom: ${toRem(15)};\n border-bottom: ${toRem(1)} solid ${baseVariables.color.alert20};\n text-transform: uppercase;\n p {\n color: ${baseVariables.color.merch30};\n font-family: ${font.Swiss721BTRegular};\n font-size: ${toRem(12)};\n font-weight: 500;\n letter-spacing: ${toRem(1.3)};\n line-height: ${toRem(16)};\n margin: 0;\n }\n }\n ul {\n padding-left: 0;\n margin-top: 0;\n li {\n list-style-type: none;\n font-family: ${font.Swiss721BTRegular};\n font-size: ${toRem(16)};\n font-weight: 500;\n letter-spacing: ${toRem(1.3)};\n line-height: ${toRem(20)};\n padding: ${toRem(15)} ${toRem(0)};\n border-bottom: ${toRem(1)} solid ${baseVariables.color.alert20};\n a.m-whats {\n font-size: ${toRem(12)};\n text-decoration: none;\n margin-left: ${toRem(5)};\n cursor: pointer;\n }\n a.m-whats:hover + .m-tool-tip-hint,\n a.m-whats:focus + .m-tool-tip-hint {\n visibility: visible;\n }\n [class^='icon-'] {\n padding: 0 ${toRem(4)};\n font-size: ${toRem(12)};\n }\n &.promo-code-list {\n position: relative;\n }\n }\n .m-tool-tip-hint {\n box-sizing: border-box;\n visibility: hidden;\n text-align: left;\n border-radius: 0.25rem;\n padding: 1rem;\n position: absolute;\n z-index: 1;\n width: ${toRem(270)};\n background-color: #fff;\n color: ${baseVariables.color.merch30};\n border: 0.0625rem solid #d2d2d2;\n font-weight: 500;\n font-size: ${toRem(12)};\n\n @media ${mediaQuery.tabletOnly} {\n left: ${toRem(20)};\n top: 84%;\n }\n\n @media ${mediaQuery.mobileOnly} {\n left: ${toRem(20)};\n top: 84%;\n margin-left: auto;\n margin-right: auto;\n }\n }\n }\n @media ${mediaQuery.tabletOnly} {\n width: 48%;\n ul {\n li {\n font-size: ${toRem(14)};\n padding: ${toRem(13)} ${toRem(0)};\n }\n }\n }\n @media ${mediaQuery.mobileOnly} {\n width: 100%;\n }\n }\n\n @media ${mediaQuery.mobileOnly} {\n .container {\n flex-direction: column;\n }\n padding: ${toRem(40)} 0;\n .details-left {\n max-width: unset;\n margin-right: 0;\n margin-bottom: ${toRem(35)};\n .title {\n p {\n font-size: ${toRem(22)};\n line-height: ${toRem(26)};\n font-weight: 500;\n }\n }\n }\n .details-right {\n ul {\n li {\n padding: ${toRem(12)} 0;\n font-size: ${toRem(14)};\n }\n }\n }\n }\n @media ${mediaQuery.desktop} {\n .details-right {\n ul {\n li {\n font-size: ${toRem(16)};\n }\n }\n }\n }\n @media ${mediaQuery.tabletOnly} {\n .container {\n max-width: unset;\n }\n }\n }\n`;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n// Imports for external libraries go here.\nimport { FC, useState, useEffect } from 'react';\nimport { decodeHtml, getLocalizedDate, processAcceptLang, validateDetailsField } from '../../../utils/OfferUtils';\n//import { MiModal } from '../MiModal';\n\n// Imports for internal (to the monorepo) libraries go here,\n// separated by a blank line from external imports.\n// The closer the import is to the file the lower it should be in this list.\nimport { OfferDetailsMultiPropertyProps } from './OfferDetailsMultiProperty.types';\nimport { StyledOfferDetailsMultiProperty } from './OfferDetailsMultiProperty.styles';\nimport { DATE_FORMAT_YEAR_MONTH_DAY } from '../../../constants/OfferDetailsConstants';\nimport { Modal, Text, Types, Heading, Link } from '@marriott/mi-ui-library';\nimport moment from 'moment';\nimport { LocaleUtils } from 'react-day-picker';\nimport { makeDomainSpecificContent } from '../../../utils/OfferUtils';\nimport {\n INTERNAL_CTA_TYPE,\n MONTHSHORTVALUE,\n WEEKDAYSLONGNAME,\n WEEKSDAYSSHORT,\n} from '../../../constants/CommonConstants';\n\nexport const OfferDetailsMultiProperty: FC<OfferDetailsMultiPropertyProps> = ({ offerDetailsProp }) => {\n const isSBO = offerDetailsProp?.model?.variation === 'single-brand-multi-property-offer';\n const OfferObj = offerDetailsProp?.offersData?.responseObject?.edges[0].node;\n const model = offerDetailsProp?.model;\n const [popupOpenState, setPopupOpenState] = useState<boolean>(false);\n const [description, setDescription] = useState('');\n const modalProps = {\n className: 'm-modal d-flex justify-content-center modal-body-offers',\n secondaryClassName: 'terms-modal-content',\n };\n\n const acceptLanguage = processAcceptLang(offerDetailsProp?.acceptLanguage ?? '');\n const toggleModal = (event: any) => {\n const body = document.querySelector('body');\n if (body) {\n if (!popupOpenState) {\n event.preventDefault();\n body.style.overflow = 'hidden';\n body.style.paddingRight = `15px`;\n } else {\n body.style.overflow = '';\n body.style.paddingRight = '';\n }\n }\n setPopupOpenState(!popupOpenState);\n };\n //localized dates implementation\n\n let monthsValue = model?.months?.split(',');\n // set default month if i18 months value are invalid\n if (monthsValue?.length !== 12) {\n monthsValue = LocaleUtils.getMonths();\n }\n\n let monthsShortValue = model?.monthsShort?.split(',');\n // set default month if i18 months value are invalid\n if (monthsShortValue?.length !== 12) {\n monthsShortValue = MONTHSHORTVALUE;\n }\n\n let weeksdaysShort = model?.weekdaysShort?.split(',');\n // set default weekdays if i18 weekdays value are invalid\n if (weeksdaysShort?.length !== 7) {\n weeksdaysShort = WEEKSDAYSSHORT;\n }\n\n let weekdaysLongName = model?.weekdaysLong?.split(',');\n if (weekdaysLongName?.length !== 7) {\n weekdaysLongName = WEEKDAYSLONGNAME;\n }\n\n const setLanguageLocalization = (): void => {\n moment.locale('locale', {\n months: monthsValue,\n monthsShort: monthsShortValue,\n weekdays: weekdaysLongName,\n weekdaysShort: weeksdaysShort,\n });\n };\n\n useEffect(() => {\n setLanguageLocalization();\n }, [monthsValue, monthsShortValue, weekdaysLongName, weeksdaysShort]);\n\n useEffect(() => {\n setDescription(decodeHtml(OfferObj?.description));\n }, []);\n\n setLanguageLocalization();\n\n return (\n <StyledOfferDetailsMultiProperty className=\"brand-css\">\n <div className={`mpo-detail-section ${offerDetailsProp?.model?.styleclass ?? ''} ${isSBO && 'color-scheme3'}`}>\n <div className=\"container\">\n <div className=\"details-left\">\n <div className=\"title\">\n <div>\n {OfferObj?.segment !== null ? (\n <Heading\n titleText={model?.exclusiveOffer}\n variation={Types.headingType.title}\n fontSize={Types.size.medium}\n element={Types.tags.h2}\n />\n ) : (\n <>\n <Heading\n titleText={`${model?.bookBy}${' '}${\n OfferObj?.bookingEndDate\n ? acceptLanguage !== 'ja-JP'\n ? moment(OfferObj?.bookingEndDate, DATE_FORMAT_YEAR_MONTH_DAY).format('dddd').trim()\n : ''\n : ''\n }${acceptLanguage === 'it-IT' || acceptLanguage === 'ja-JP' ? '' : ','}`}\n variation={Types.headingType.title}\n fontSize={Types.size.medium}\n element={Types.tags.h3}\n customClass={'mpo-details-title'}\n />\n <Heading\n titleText={`${\n OfferObj?.bookingEndDate &&\n getLocalizedDate(\n OfferObj.bookingEndDate,\n acceptLanguage,\n model?.year ?? 'year',\n model?.of ?? 'of'\n )\n }${\n acceptLanguage === 'ja-JP'\n ? ', ' + moment(OfferObj?.bookingEndDate, DATE_FORMAT_YEAR_MONTH_DAY).format('dddd').trim()\n : ''\n }`}\n variation={Types.headingType.title}\n fontSize={Types.size.medium}\n element={Types.tags.h3}\n customClass={'mpo-details-title'}\n />\n </>\n )}\n </div>\n </div>\n\n <div className={`desc m-details-offer-description`}>\n <div dangerouslySetInnerHTML={{ __html: description ?? '' }}></div>\n </div>\n <div className={`m-details-page-reserv-msg`}>\n <Heading\n titleText={model?.howToBook}\n variation={Types.headingType.title}\n fontSize={Types.size.medium}\n element={Types.tags.h3}\n customClass={'t-subtitle-l'}\n />\n <p\n dangerouslySetInnerHTML={{ __html: makeDomainSpecificContent(OfferObj?.reservationMessage) ?? '' }}\n ></p>\n </div>\n {validateDetailsField(OfferObj?.termsAndConditions ?? OfferObj?.additionalTerms) && (\n <>\n <div className=\"terms-link\">\n <Link\n callback={event => toggleModal(event)}\n text={model?.termsAndConditions ?? ''}\n linkClassName={'m-details-page-TnC m-link-tertiary-button-external custom_click_track'}\n linkHref={'#'}\n linkType=\"internal\"\n target=\"_self\"\n custom_click_track_value={`${model?.id}|${model?.termsAndConditions}|${INTERNAL_CTA_TYPE}`}\n trackingProperties={model?.trackingProperties}\n ></Link>\n </div>\n {popupOpenState && (\n <Modal {...modalProps} show={true}>\n <Modal.Header\n labelText={model?.termsAndConditions}\n popupHeaderOnCLoseFunc={event => toggleModal(event)}\n className=\"terms-modal-header\"\n />\n <Modal.Body>\n <div className=\"offers-terms-details\">\n <Text\n copyText={`${\n OfferObj?.additionalTerms !== null ? decodeHtml(OfferObj.additionalTerms) : ''\n } ${OfferObj?.termsAndConditions !== null ? decodeHtml(OfferObj.termsAndConditions) : ''}`}\n fontSize={Types.size.medium}\n customClass={'offers-additional-terms'}\n element={Types.tags.paragraph}\n />\n </div>\n </Modal.Body>\n </Modal>\n )}\n </>\n )}\n </div>\n <div className=\"details-right\">\n <div className=\"title\">\n <Text\n copyText={`${model?.needToKnow}`}\n fontSize={Types.size.small}\n customClass={'need-to-know-header'}\n element={Types.tags.paragraph}\n />\n </div>\n <ul role=\"list\">\n {OfferObj?.needToKnow &&\n OfferObj?.needToKnow?.length &&\n OfferObj?.needToKnow?.map(\n (item: any) => item && item?.trim()?.length > 0 && <li role=\"listitem\">{item}</li>\n )}\n {OfferObj?.clusterCode && !(OfferObj?.clusterCode === '0' || OfferObj.segment) && (\n <li role=\"listitem\" className=\"promo-code-list\">\n {model?.promotionalCode ?? 'Promotional Code'} : {OfferObj?.clusterCode}\n <a href=\"javascript:void(0)\" className=\"m-whats\">\n {model?.whatsThis ?? ''}? <span className=\"icon-alert\"></span>\n </a>\n <Text\n copyText={model?.promoCodeInfo ?? ''}\n fontSize={Types.size.small}\n customClass={'m-tool-tip-hint t-font-s t-box-shadow t-font-weight-normal'}\n element={Types.tags.span}\n />\n </li>\n )}\n <li role=\"listitem\">\n {model?.validStayDates} :{' '}\n {OfferObj.stayStartDate &&\n getLocalizedDate(\n OfferObj.stayStartDate,\n acceptLanguage,\n model?.year ?? 'year',\n model?.of ?? 'of'\n )}{' '}\n -{' '}\n {OfferObj.stayEndDate &&\n getLocalizedDate(OfferObj.stayEndDate, acceptLanguage, model?.year ?? 'year', model?.of ?? 'of')}\n </li>\n </ul>\n </div>\n </div>\n </div>\n </StyledOfferDetailsMultiProperty>\n );\n};\n\nexport default OfferDetailsMultiProperty;\n"],"names":["StyledOfferDetailsMultiProperty","styled","div","baseVariables","color","neutral10","mediaQuery","mobileOnly","toRem","merch30","font","Swiss721BTRegular","tabletOnly","alert20","desktop","OfferDetailsMultiProperty","offerDetailsProp","model","OfferObj","makeDomainSpecificContent","isSBO","variation","offersData","responseObject","edges","node","popupOpenState","setPopupOpenState","useState","description","setDescription","acceptLanguage","processAcceptLang","toggleModal","body","document","querySelector","style","overflow","paddingRight","event","preventDefault","monthsValue","months","split","length","LocaleUtils","getMonths","monthsShortValue","monthsShort","MONTHSHORTVALUE","weeksdaysShort","weekdaysShort","WEEKSDAYSSHORT","weekdaysLongName","weekdaysLong","WEEKDAYSLONGNAME","setLanguageLocalization","moment","weekdays","useEffect","decodeHtml","className","styleclass","segment","Heading","titleText","exclusiveOffer","Types","title","fontSize","medium","element","h2","bookBy","bookingEndDate","DATE_FORMAT_YEAR_MONTH_DAY","format","trim","h3","customClass","getLocalizedDate","year","of","dangerouslySetInnerHTML","__html","howToBook","p","reservationMessage","validateDetailsField","termsAndConditions","additionalTerms","Link","callback","text","linkClassName","linkHref","linkType","target","custom_click_track_value","id","INTERNAL_CTA_TYPE","trackingProperties","Modal","secondaryClassName","show","Header","labelText","popupHeaderOnCLoseFunc","Body","Text","copyText","paragraph","needToKnow","small","ul","role","map","item","li","clusterCode","promotionalCode","a","href","whatsThis","span","promoCodeInfo","validStayDates","stayStartDate","stayEndDate"],"sourceRoot":"","ignoreList":[]}