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QAAS,EAAK,GAEnE,IAAMJ,EAASK,UAAU,EAClC,EADsC,CAClCrI,EAAK,EAGP,UAAC6G,EAAcA,CACbyB,WADazB,CAJmD,UAK5C,wBACpBxH,cAAY,sBACZ0D,GAAIhD,EACJf,UAAWC,CAAAA,EAAAA,EAAAA,CAAAA,CAAIA,CAAC6H,GAA0B,GAAIjH,OAAjBiH,KAE5B9G,GACC,UAAClC,MAAAA,CACCyK,IAAKtB,EACLF,gBAAiBA,EACjByB,wBAAyB,CAAEC,OAAQzI,CAAK,EACxC0I,QA7BqBC,CA6BZC,SA5Bf5C,GAAAA,EAAW2C,GACXxB,GACF,EA2BQ9H,QA7BN2G,MA6BmBjG,EACZ,GAAGiH,CAAW,IAKzB,EAAE","sources":["webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/EventBanner/EventBanner.styles.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/EventBanner/EventBanner.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/PropertyList/PropertyCard/index.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/PropertyList/PropertyList.styles.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/PropertyList/PropertyList.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/PropertyMap/PropertyMap.styles.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/PropertyMap/PropertyMap.tsx","webpack://_N_E/../../libs/mi-groups-components/src/organisms/ReslinkGuest/ReslinkGuest.styles.tsx","webpack://_N_E/../../libs/shared/mi-ui-library/src/molecules/RichText/RichText.styles.tsx","webpack://_N_E/../../libs/shared/mi-ui-library/src/molecules/RichText/RichText.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport { toRem, baseVariables } from '@marriott/mi-ui-library';\n\nconst { color, mediaQuery } = baseVariables;\n\nexport const StyledEventBanner = styled.div`\n .event-banner {\n padding: ${toRem(40)} ${toRem(32)};\n text-align: center;\n .event-title {\n margin: 0 auto;\n font-size: ${toRem(30)};\n line-height: ${toRem(36)};\n word-break: break-word;\n }\n .event-description {\n font-size: ${toRem(14)};\n color: ${color.neutral40};\n margin: ${toRem(16)} auto 0 auto;\n padding-bottom: ${toRem(8)};\n word-wrap: break-word;\n }\n .custom-links {\n margin: ${toRem(16)} auto 0 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n a {\n display: flex;\n justify-content: center;\n align-items: center;\n overflow-wrap: anywhere;\n &:nth-child(2) {\n margin-top: ${toRem(24)};\n }\n }\n }\n }\n\n &.with-media {\n .media-container {\n width: 100%;\n .fullbleed-carousel {\n .glide__slides {\n background-color: ${color.neutral10};\n .glide__slide {\n text-align: center;\n margin-top: auto;\n margin-bottom: auto;\n .carousel-image {\n height: auto;\n max-height: ${toRem(536)};\n object-fit: contain;\n }\n }\n }\n }\n }\n }\n\n @media ${mediaQuery.md} {\n .event-banner {\n .event-title {\n max-width: ${toRem(460)};\n }\n .event-description {\n max-width: ${toRem(584)};\n p {\n margin-bottom: ${toRem(8)};\n }\n &.custom-scrollbar {\n ::-webkit-scrollbar-thumb {\n background-clip: padding-box;\n border: ${toRem(4)} solid rgba(0, 0, 0, 0);\n border-radius: ${toRem(10)};\n background-color: rgb(187 182 182);\n }\n ::-webkit-scrollbar {\n width: ${toRem(14)};\n }\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n }\n }\n .custom-links {\n flex-direction: row;\n max-width: ${toRem(460)};\n gap: ${toRem(16)};\n a {\n flex: 1;\n height: auto;\n min-height: ${toRem(50)};\n max-width: 50%;\n padding: 0 ${toRem(24)};\n &:nth-child(2) {\n margin-top: 0;\n }\n }\n }\n }\n }\n\n @media ${mediaQuery.lg} {\n &.with-media {\n display: grid;\n align-items: center;\n grid-template-columns: 55% 45%;\n .fullbleed-carousel {\n .glide__slides {\n height: ${toRem(536)};\n .glide__slide {\n height: auto;\n }\n }\n }\n .event-banner {\n padding: 0 ${toRem(40)};\n .custom-links {\n padding: 0;\n }\n }\n }\n &:not(.with-media) {\n text-align: center;\n .event-banner {\n max-width: ${toRem(744)};\n margin: auto;\n }\n }\n .event-description {\n max-height: ${toRem(170)};\n overflow-y: auto;\n }\n }\n\n @media ${mediaQuery.xl} {\n .event-description {\n max-height: ${toRem(250)};\n }\n\n &.with-media {\n .media-container {\n .fullbleed-carousel {\n .glide__slides {\n .glide__slide {\n .carousel-image {\n width: auto;\n }\n }\n }\n }\n }\n }\n }\n`;\n","import React, { FC } from 'react';\nimport clsx from 'clsx';\nimport DOMPurify from 'isomorphic-dompurify';\nimport { Button, Heading, Types, RichText, baseVariables } from '@marriott/mi-ui-library';\nimport { ImageCarousel } from '../../../molecules';\nimport { useMediaQuery } from '../../../hooks';\nimport { isValidUrl } from '../../../utils';\nimport { EventBannerProps } from './EventBanner.types';\nimport { StyledEventBanner } from './EventBanner.styles';\n\nexport const EventBanner: FC<EventBannerProps> = ({\n eventTitle,\n eventDescription,\n customLinks,\n externalLinkAriaLabel,\n media,\n}) => {\n const isDesktop = useMediaQuery(baseVariables.mediaQuery.lg);\n const sanitizedNode = DOMPurify.sanitize(eventDescription, { RETURN_DOM: true });\n\n const fragmentString = sanitizedNode.innerHTML; // Get the HTML content of the container\n\n return (\n <StyledEventBanner className={clsx(media && 'with-media')}>\n {media ? (\n <div className=\"media-container\">\n <ImageCarousel media={media} isCarouselIndicatorCentered containerClass=\"fullbleed-carousel\" />\n </div>\n ) : null}\n <div className={'event-banner'} data-testid=\"event-banner\">\n {eventTitle ? (\n <Heading\n variation={Types.headingType.title}\n fontSize={Types.size.large}\n titleText={eventTitle}\n customClass={clsx('event-title')}\n />\n ) : null}\n {eventDescription ? (\n <RichText\n componentId={'eventDescription'}\n text={fragmentString}\n customClass=\"custom-scrollbar event-description\"\n />\n ) : null}\n {customLinks ? (\n <div className=\"custom-links\">\n {customLinks.map((cta, index) => (\n <Button\n key={index}\n buttonCopy={cta.name}\n isLink\n className={clsx('m-button-external py-0', isDesktop && 'm-button-l')}\n href={isValidUrl(cta.link) ? cta.link : `//${cta.link}`}\n target={'_blank'}\n linkType={'external'}\n rel={'noopener noreferrer'}\n linkAriaLabelOpenNewWindow={externalLinkAriaLabel}\n />\n ))}\n </div>\n ) : null}\n </div>\n </StyledEventBanner>\n );\n};\n","import dynamic from 'next/dynamic';\nimport { PropertyCardProps } from './PropertyCard.types';\nimport { useDttStore } from '../../../../store';\n\nconst PropertyCardBau = dynamic<PropertyCardProps>(() => import('./PropertyCard').then(mod => mod.PropertyCard));\nconst PropertyCardDtt = dynamic<PropertyCardProps>(() => import('./PropertyCardDtt').then(mod => mod.PropertyCardDtt));\n\nexport const PropertyCard = (props: PropertyCardProps) => {\n const { isDtt } = useDttStore();\n\n return isDtt ? <PropertyCardDtt {...props} /> : <PropertyCardBau {...props} />;\n};\n","import styled from 'styled-components';\nimport { toRem, baseVariables } from '@marriott/mi-ui-library';\n\nconst { spacers, mediaQuery } = baseVariables;\n\nexport const StyledPropertyList = styled.div`\n padding: ${toRem(4)} 0 ${toRem(24)} 0;\n .compact-card-list {\n padding-right: ${spacers.spacer};\n padding-left: ${spacers.spacer};\n @media ${mediaQuery.md} {\n padding-right: ${spacers.spacers?.[4]};\n padding-left: ${spacers.spacers?.[4]};\n }\n }\n`;\n","import React, { FC, useState } from 'react';\nimport clsx from 'clsx';\nimport { PropertyCardType } from '../../../molecules';\nimport { PropertyListProps } from './PropertyList.types';\nimport { PropertyCard } from './PropertyCard';\nimport { StyledPropertyList } from './PropertyList.styles';\nimport { PropertyQuickViewModal } from '../../../molecules';\nimport { useLocaleStore } from '../../../store';\n\nexport const PropertyList: FC<PropertyListProps> = ({ reslinkType, isMapView = false, propertyLabels, properties }) => {\n const [showQuickViewModal, setShowQuickViewModal] = useState<boolean>(false);\n const [quickViewPropertyId, setQuickViewPropertyId] = useState<string | number>('');\n\n const { rtl } = useLocaleStore();\n\n const openQuickViewModal = (propertyId: string | number) => {\n setShowQuickViewModal(true);\n setQuickViewPropertyId(propertyId);\n };\n\n return (\n <StyledPropertyList>\n <div className={clsx(isMapView && 'pb-2 compact-card-list')}>\n {properties.map(propertyData => (\n <PropertyCard\n key={propertyData.property.id}\n type={isMapView ? PropertyCardType.COMPACT : PropertyCardType.REGULAR}\n reslinkType={reslinkType}\n isMapView={isMapView}\n propertyLabels={propertyLabels}\n propertyData={propertyData}\n openQuickViewModal={openQuickViewModal}\n />\n ))}\n </div>\n\n {showQuickViewModal ? (\n <PropertyQuickViewModal\n show={showQuickViewModal}\n visibilityConfig={{\n capacity: false,\n equipmentAndServices: false,\n footer: false,\n }}\n labels={propertyLabels}\n propertyId={quickViewPropertyId}\n error={propertyLabels.apiError}\n onCloseModal={() => {\n setShowQuickViewModal(false);\n }}\n dir={rtl ? 'rtl' : 'ltr'}\n />\n ) : null}\n </StyledPropertyList>\n );\n};\n","import styled from 'styled-components';\nimport { toRem, baseVariables } from '@marriott/mi-ui-library';\n\nconst { mediaQuery } = baseVariables;\nconst drawerWidth = toRem(398);\n\nexport const StyledPropertyMap = styled.div`\n position: relative;\n .card-panel {\n width: 100vw;\n position: absolute;\n }\n .drawer {\n z-index: 50;\n .rooms-guests {\n margin: ${toRem(16)} 0 !important;\n }\n }\n .drawer-placement-left {\n .button-placement-top {\n border-radius: ${toRem(30)} 0 0 ${toRem(30)};\n top: ${toRem(80)};\n &.open {\n right: 0;\n }\n &.close {\n border-radius: 0 ${toRem(30)} ${toRem(30)} 0;\n }\n }\n }\n .map-view {\n width: calc(100% - ${drawerWidth});\n }\n\n @media ${mediaQuery.md} {\n .card-panel {\n width: ${drawerWidth};\n position: static;\n .mobile-container {\n position: absolute;\n }\n .dropdown-container {\n width: 100%;\n }\n }\n .drawer-placement-left {\n &.open {\n width: ${drawerWidth};\n }\n .button-placement-top {\n border-radius: 0 ${toRem(30)} ${toRem(30)} 0;\n top: ${toRem(184)};\n &.open {\n right: ${toRem(-36)};\n }\n &.close {\n right: ${toRem(-32)};\n }\n }\n }\n }\n`;\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport clsx from 'clsx';\nimport { baseVariables } from '@marriott/mi-ui-library';\nimport { PropertyMapProps } from './PropertyMap.types';\nimport { useLocaleStore } from '../../../store';\nimport { StyledPropertyMap } from './PropertyMap.styles';\nimport { PropertyList } from '../PropertyList';\nimport { Drawer, MapView, ViewToggle } from '../../../molecules';\nimport { useMediaQuery } from '../../../hooks';\nimport { ViewType } from '../../SearchResults/SearchResults.types';\nimport { StyledDrawerContent } from '../../../molecules/Drawer/Drawer.styles';\nimport { RESLINK_MAP_VIEW_HEIGHT_OFFSET } from '../../../constants';\nimport { Property } from '@marriott/mi-groups-graphql';\n\nexport const PropertyMap: FC<PropertyMapProps> = ({ reslinkType, properties, propertyLabels, toggleView }) => {\n const { list, listAriaLabel, propertiesPanel } = propertyLabels;\n\n const { rtl } = useLocaleStore();\n\n const isTabletAndAbove = useMediaQuery(baseVariables.mediaQuery.md);\n\n const [showDrawer, setShowDrawer] = useState(true);\n\n useEffect(() => {\n // it will be refactored when the model json structure will change\n const el = document.querySelectorAll('.root');\n const footer = el[el.length - 1];\n footer?.setAttribute('style', 'display: none');\n document.body.setAttribute('style', 'min-height: auto');\n return () => {\n footer?.setAttribute('style', 'display: block');\n document.body.setAttribute('style', 'min-height: 100vh');\n };\n }, []);\n\n useEffect(() => {\n setShowDrawer(!!isTabletAndAbove);\n }, [isTabletAndAbove]);\n\n const headerHeight = document.querySelector('.m-header')?.getBoundingClientRect()?.height || 0;\n const mapHeight = window.innerHeight - (headerHeight + RESLINK_MAP_VIEW_HEIGHT_OFFSET);\n\n const propertyList = properties.map(property => property.property) as unknown as Property[];\n\n const center = useMemo(\n () => ({\n lat: propertyList[0].basicInformation.latitude ? +propertyList[0].basicInformation.latitude : 0,\n lng: propertyList[0].basicInformation.longitude ? +propertyList[0].basicInformation.longitude : 0,\n }),\n [propertyList]\n );\n\n const scrollToTop = (propertyId: string | number) => {\n if (propertyId) {\n setShowDrawer(true);\n setTimeout(() => {\n const activePropery = document.querySelector(`.property-${propertyId}`);\n activePropery?.scrollIntoView();\n }, 100);\n }\n };\n\n return (\n <StyledPropertyMap className=\"m-container-fullbleed\" data-testid=\"map-view\">\n <div className={clsx('align-items-stretch', isTabletAndAbove && 'row mx-0')}>\n <div className={showDrawer ? 'card-panel' : ''} data-testid=\"card-panel\">\n <Drawer\n placement=\"left\"\n initialState={showDrawer}\n variant=\"drawer\"\n labels={propertiesPanel}\n dir={rtl ? 'rtl' : 'ltr'}\n onChange={showDrawer => setShowDrawer(showDrawer)}\n >\n <StyledDrawerContent height={mapHeight} id=\"card-panel\">\n <PropertyList\n reslinkType={reslinkType}\n isMapView={true}\n propertyLabels={propertyLabels}\n properties={properties}\n />\n </StyledDrawerContent>\n </Drawer>\n </div>\n\n <div className={showDrawer ? 'map-view' : 'col-12 p-0'}>\n <MapView center={center} height={mapHeight} properties={propertyList} onPropertyClick={scrollToTop} />\n <ViewToggle\n ctaLabel={list}\n variant={ViewType.LIST_VIEW}\n ctaAriaLabel={listAriaLabel}\n toggleView={toggleView}\n />\n </div>\n </div>\n </StyledPropertyMap>\n );\n};\n","import styled from 'styled-components';\nimport { baseVariables } from '@marriott/mi-ui-library';\n\nconst { color } = baseVariables;\n\nexport const StyledPropertyList = styled.div`\n background-color: ${color.neutral10};\n`;\n","// Styles for RichText go here.\nimport styled from 'styled-components';\nimport { baseVariables } from '../../styles';\n\nexport const StyledRichText = styled.div`\n .custom-link {\n display: block;\n @media ${baseVariables.mediaQuery.md} {\n display: inline;\n }\n }\n .line-separator {\n display: none;\n @media ${baseVariables.mediaQuery.md} {\n display: inline;\n }\n }\n a {\n text-decoration: underline;\n &:hover {\n text-decoration: underline;\n }\n }\n\n a:has(span.m-link-action),\n a:has(span.m-link-tertiary-button-external) {\n text-decoration: none;\n &:hover {\n text-decoration: none;\n }\n }\n\n span.m-link-action a,\n span.m-link-tertiary-button-external a {\n text-decoration: none;\n &:hover {\n text-decoration: none;\n }\n }\n\n .m-link-action {\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n border-bottom-color: inherit;\n &:hover {\n font-weight: inherit;\n }\n }\n .m-link-tertiary-button-external {\n width: unset !important;\n overflow: visible !important;\n font-size: inherit;\n }\n ul {\n list-style: disc !important;\n }\n`;\n","import React, { ChangeEvent, FC, useEffect, useRef } from 'react';\nimport { RichTextProps } from './RichText.types';\nimport { StyledRichText } from './RichText.styles';\nimport clsx from 'clsx';\n\nexport const RichText: FC<RichTextProps> = props => {\n const { text, componentId, styleclass, customClass, contentEditable, onChange, ...customProps } = props;\n const editableDivRef = useRef<HTMLDivElement>(null);\n\n // Function to update aria-labels on <a> tags based on parent span's class names\n const updateAnchorAriaLabels = () => {\n if (!text) return; // Exit early if text is null or empty\n\n // Handle <span> elements\n editableDivRef.current?.querySelectorAll('span').forEach(span => {\n let anchorTag = span.querySelector('a'); // Find <a> tag within <span>\n\n // Check if <span> is inside an <a> if no <a> is found within\n if (!anchorTag && span.parentElement?.tagName === 'A') {\n anchorTag = span.parentElement as HTMLAnchorElement;\n }\n\n if (anchorTag) {\n if (span.classList.contains('m-link-tertiary-button-external')) {\n anchorTag.setAttribute('aria-label', `${anchorTag.textContent} Clickable link Opens in new tab / window`);\n } else if (span.classList.contains('m-link-action')) {\n anchorTag.setAttribute('aria-label', `${anchorTag.textContent} Clickable link`);\n } else {\n anchorTag.removeAttribute('aria-label'); // Remove aria-label if class doesn't match\n }\n }\n });\n\n // Handle <a> tags not inside <span>\n editableDivRef.current?.querySelectorAll('a').forEach(anchorTag => {\n // Skip <a> tags that are inside a <span> (already handled above)\n if (anchorTag.closest('span')) return;\n\n // Check the target attribute and set appropriate aria-label\n const target = anchorTag.getAttribute('target');\n if (target === '_blank') {\n anchorTag.setAttribute('aria-label', `${anchorTag.textContent} Clickable link Opens in new tab / window`);\n } else if (target === '_self') {\n anchorTag.setAttribute('aria-label', `${anchorTag.textContent} Clickable link`);\n } else {\n anchorTag.removeAttribute('aria-label'); // Remove aria-label if target is not _blank or _self\n }\n });\n };\n\n // Handle content changes on input\n const handleContentChange = (event: ChangeEvent<HTMLDivElement>) => {\n onChange?.(event);\n updateAnchorAriaLabels();\n };\n\n // Use MutationObserver to detect changes in the DOM and update aria-labels accordingly\n useEffect(() => {\n if (!text || !editableDivRef.current) return; // Exit early if text is null or empty\n\n updateAnchorAriaLabels(); // Initial check\n\n const observer = new MutationObserver(updateAnchorAriaLabels);\n observer.observe(editableDivRef.current, { childList: true, subtree: true });\n\n return () => observer.disconnect(); // Cleanup observer on unmount\n }, [text]);\n\n return (\n <StyledRichText\n data-component-name=\"m-ui-library-RichText\"\n data-testid=\"ui-library-RichText\"\n id={componentId}\n className={clsx(styleclass ? styleclass : '', customClass)}\n >\n {text && (\n <div\n ref={editableDivRef}\n contentEditable={contentEditable}\n dangerouslySetInnerHTML={{ __html: text }}\n onInput={handleContentChange}\n data-testid={componentId}\n {...customProps}\n ></div>\n )}\n </StyledRichText>\n );\n};\n"],"names":["color","mediaQuery","baseVariables","StyledEventBanner","styled","div","toRem","neutral40","neutral10","md","lg","xl","eventTitle","eventDescription","customLinks","externalLinkAriaLabel","media","isDesktop","useMediaQuery","fragmentString","DOMPurify","RETURN_DOM","innerHTML","className","clsx","ImageCarousel","isCarouselIndicatorCentered","containerClass","data-testid","Heading","variation","Types","title","fontSize","large","titleText","customClass","RichText","componentId","text","map","cta","index","Button","buttonCopy","name","isLink","href","isValidUrl","link","target","linkType","rel","linkAriaLabelOpenNewWindow","spacers","PropertyCardBau","dynamic","then","mod","PropertyCard","PropertyCardDtt","isDtt","useDttStore","props","StyledPropertyList","spacer","PropertyList","reslinkType","isMapView","propertyLabels","properties","showQuickViewModal","setShowQuickViewModal","useState","quickViewPropertyId","setQuickViewPropertyId","rtl","useLocaleStore","openQuickViewModal","propertyId","propertyData","type","PropertyCardType","COMPACT","REGULAR","property","id","PropertyQuickViewModal","show","visibilityConfig","capacity","equipmentAndServices","footer","labels","error","apiError","onCloseModal","dir","drawerWidth","StyledPropertyMap","PropertyMap","document","toggleView","list","listAriaLabel","propertiesPanel","isTabletAndAbove","showDrawer","setShowDrawer","useEffect","el","querySelectorAll","length","setAttribute","body","headerHeight","querySelector","getBoundingClientRect","height","mapHeight","window","innerHeight","RESLINK_MAP_VIEW_HEIGHT_OFFSET","propertyList","center","useMemo","lat","basicInformation","latitude","lng","longitude","Drawer","placement","initialState","variant","onChange","StyledDrawerContent","MapView","onPropertyClick","scrollToTop","setTimeout","activePropery","scrollIntoView","ViewToggle","ctaLabel","ViewType","LIST_VIEW","ctaAriaLabel","StyledRichText","styleclass","contentEditable","customProps","editableDivRef","useRef","updateAnchorAriaLabels","current","forEach","span","anchorTag","parentElement","tagName","classList","contains","textContent","removeAttribute","closest","getAttribute","observer","MutationObserver","observe","childList","subtree","disconnect","data-component-name","ref","dangerouslySetInnerHTML","__html","onInput","event","handleContentChange"],"sourceRoot":"","ignoreList":[]}