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AKlJ,GAAU,GACxC,CAAE,MAAO8I,EAAY,CAAE,GAAK7I,GAAQ,GACpCW,EAAgBb,EAA4B1I,CAAK,EACvD,OAAOmD,EAAO,QAAC,KAAK,CACZ,MAAOI,GAAA,YAAAA,EAAU,UACjB,SAAU,CACN,OAAQA,GAAA,YAAAA,EAAU,WAClB,MAAOA,GAAA,YAAAA,EAAU,UACpB,EACD,UAAW,CACP,CACI,KAAM,SACN,MAAOsO,EACP,aAActI,EAAc,OAC5B,MAAOhG,GAAA,YAAAA,EAAU,WACpB,EACD,CACI,KAAM,OACN,MAAOkO,EACP,aAAclI,EAAc,KAC5B,MAAOhG,GAAA,YAAAA,EAAU,SACpB,CACJ,CACb,GAAY,CACJgG,EAAc,KACdA,EAAc,OACdhG,GAAA,YAAAA,EAAU,WACVA,GAAA,YAAAA,EAAU,WACVA,GAAA,YAAAA,EAAU,UACVA,GAAA,YAAAA,EAAU,YACVkO,EACAI,CACR,CAAK,CACL,ECrCM0E,GAAwB,IAAI,CAC9B,MAAMC,EAAaF,KACnB,OAAqB7U,MAAK8P,EAAmB,CACzC,GAAGiF,CACX,CAAK,CACL,ECDMC,GAAwB,IAAkBpV,EAAK,KAACiS,GAAU,CACxD,cAAe,cACf,SAAU,CACQ7R,MAAK8R,EAAc,CAC7B,SAAwB9R,MAAK8U,GAAuB,EAAE,CACtE,CAAa,EACa9U,MAAK8R,EAAc,CAC7B,SAAwB9R,MAAKgI,GAAyB,EAAE,CACxE,CAAa,EACahI,EAAI,IAAC6B,GAAmB,EAAE,CAC3C,CACT,CAAK,EACCoT,GAAqB1W,GAAsByB,EAAI,IAACwR,GAAiB,CAC/D,GAAGjT,EACH,SAAwByB,MAAKgV,GAAuB,EAAE,CACzD","names":["Breadcrumbs","generateViewsComponent","DesktopBreadcrumb","MobileBreadcrumb","CONSTANTS","HeaderBannerSimpleContainer","styled","Container","theme","HeaderBannerSimpleWrapper","HeaderBannerSimpleTextWrapper","FlexMixin","HeaderBannerSimpleCaption","InnerMarkdownHTML","FontMixin","HeaderBannerSimpleTitle","HeaderBannerSimpleSubtitle","HeaderBannerSimpleImage","HeaderBannerSimpleDeals","DefaultDeals","ImageStyled","HeaderBannerSimpleConditions","HeaderBannerSimpleIcon","Icon","HeaderBannerSimpleLink","HeaderBannerSimpleLogo","HeaderBannerDesktop","props","title","subtitle","image","promosProp","promoProp","logo","config","caption","titleTag","promos","finalCaption","resizeImage","regex","Cdn","useContext","contextBabylon","prepareSrc","match","relative","params","_jsxs","S.HeaderBannerSimpleWrapper","S.HeaderBannerSimpleContainer","S.HeaderBannerSimpleTextWrapper","_jsx","S.HeaderBannerSimpleCaption","S.HeaderBannerSimpleTitle","S.HeaderBannerSimpleSubtitle","S.HeaderBannerSimpleDeals","S.HeaderBannerSimpleConditions","S.HeaderBannerSimpleIcon","S.HeaderBannerSimpleLink","S.HeaderBannerSimpleLogo","Image","S.HeaderBannerSimpleImage","rgba","Deals","HeaderBannerMobile","resize","classNames","S.Deals","HeaderBannerSimple","HeaderBannerSimpleDesktop","HeaderBannerSimpleMobile","SearcherLeiContext","createContext","SearcherLeiProvider","value","children","contextValue","useMemo","useSearcherLeiContext","useSearcherLeiProps","SearcherLeiButton","literals","submit","hasErrors","useHasErrors","handleSubmit","useHandleSubmit","SearcherButton","useCheckboxGroup","onChange","options","finalValue","initialCheckedOptions","option","inputValue","finalValueValues","prev","curr","useCallback","checked","index","newValue","cloneDeep","targetOption","finalValueHasEmptyOption","newValueHasEmptyOption","InputWrapper","TooltipContent","CheckboxWrapper","CheckboxWrapperMobile","CheckboxGroupDesktop","forwardRef","ref","hasError","error","label","icon","onBlur","disabled","variant","preventEmpty","inputRef","useRef","setRef","size","useElementSize","useImperativeHandle","handleChange","inputProps","panelContent","item","isChecked","e","S.CheckboxWrapper","Checkbox","genKey","panel","S.InputWrapper","InputPanel","useCheckboxGroupMobile","propOnChange","propValue","tempValue","setTempValue","useState","finalValueMobile","finalValueMobileValues","openModal","isOpen","confirmModal","close","closeModal","CheckboxGroupMobile","renderFooter","ButtonPanel","SS.CheckboxWrapperMobile","modalProps","SS.InputWrapper","CheckboxGroup","FormCheckboxGroup","_isHiddenRequired","rest","field","useInput","useSearcherLeiDefaultValues","months","days","categories","monthsDefaultValue","start","items","startMonth","endMonth","daysDefaultValue","categoriesDefaultValue","category","useCategoriesInput","defaultValues","useIsMobile","SearcherCategoriesInput","categoriesInput","FormSelect","useCommonEvents","isStartActive","isEndActive","setIsStartActive","setIsEndActive","updateValue","handleOnPointerMove","x","handleOnPointerUp","handleOnClick","clientX","useEffect","useSelectorLabelsHeight","labelsRef","labelsHeight","setLabelsHeight","labels","height","acc","useSelectorTempValue","tempStart","setTempStart","tempEnd","setTempEnd","setValue","useSelectorEvents","lineRef","startRef","endRef","handleOnStartPointerDown","getItemIndex","handleOnEndPointerDown","getCurrentPosition","left","width","_a","stepWidth","stepsPositions","_","marginPosition","currentPosition","minDiff","stepPosition","minPosition","maxPosition","diff","startValue","endValue","startDiff","endDiff","SelectorWrapper","$isDesktop","$startStep","$endStep","$steps","Label","SelectorLineWrapper","SelectorValue","$isDragging","SelectorStartValue","SelectorEndValue","SelectorLine","SelectorLabels","$height","SelectorLabel","$step","FixedRangeSlider","isDragging","isDesktop","useIsDesktop","S.SelectorWrapper","S.Label","S.SelectorLineWrapper","S.SelectorStartValue","S.SelectorLine","S.SelectorEndValue","S.SelectorLabels","Children","S.SelectorLabel","useRangeSelector","selectors","finalInputValue","selector","startItem","endItem","DesktopRangeSelectorFooterButton","Button","DesktopRangeSelectorContent","DesktopRangeSelector","accept","S.DesktopRangeSelectorFooterButton","S.DesktopRangeSelectorContent","useRangeSelectorMobile","selectorValues","setOpen","tempValues","setTempValues","handleOnChange","prevValues","newValues","isDirty","fastDeepEqual","onAccept","MobileRangeSelectorContentWrapper","MobileRangeSelectorContent","MobileRangeSelector","values","S.MobileRangeSelectorContentWrapper","S.MobileRangeSelectorContent","RangeSelector","FormRangeSingleSelector","restField","FormRangeDoubleSelector","ref0","onBlur0","restField0","error0","hasError0","ref1","onBlur1","restField1","error1","hasError1","FormRangeSelector","useDaysInput","daysItems","SearcherLeiDaysInput","daysInput","useMonthsInput","monthsItems","SearcherLeiMonthsInput","monthsInput","buildUrl","fieldValues","baseUrl","url","filters","finalUrl","parseFilters","useSearcherLeiForm","BaseUrl","handleOnSubmit","onSubmit","isRedirecting","setRedirecting","useSubmitWithRedirect","SearcherLeiRedirectingModal","lazy","__vitePreload","SearcherLeiForm","rootProps","Form","Suspense","SearcherLeiDesktopView","Searcher","SearcherItem","SearcherLeiDesktop","Placeholder","RelatedList","Margin","TagsDesktopView","className","S.Placeholder","S.RelatedList","parsedItem","nullsToUndefined","TagsWrapper","Tags","TagsMobileView","S.TagsWrapper","S.Tags","TabsDesktopView","TabsMobileView","RelatedTitle","RelatedListWrapper","Padding","Links","S.RelatedListWrapper","S.RelatedTitle","LinksWrapper","Description","LinksSeoDesktopView","description","Title","S.LinksWrapper","S.Description","linksSeoLeiConverter","LinksSeoLeiDesktop","LinksSeoProps","TitleLinks","TabsStyled","TabsWrapper","LinksSeoMobileView","selectedTab","setSelectedTab","linksTabs","S.TabsWrapper","S.TitleLinks","Tabs","LinksSeoLeiMobile","convertedProps","LinksSeoLei","useDatesInput","SearcherLeiDatesInput","datesInput","SearcherLeiMobileView","SearcherLeiMobile"],"sources":["../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/breadcrumbs/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/constants.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/header-banner-simple/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/context/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/button/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/hooks/useCheckboxGroup.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/hooks/useCheckboxGroupMobile.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/checkbox-group/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/hooks/useSearcherLeiDefaultValues.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/categories-input/useCategoriesInput.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/categories-input/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/hooks/forms/range-slider/useCommonEvents.js","../../../../../../../node_modules/@babylon/ui-kit/dist/hooks/forms/range-slider/useSelectorLabelsHeight.js","../../../../../../../node_modules/@babylon/ui-kit/dist/hooks/forms/range-slider/useSelectorTempValue.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/others/fixed-range/hooks/useSelectorEvents.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/others/fixed-range/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/others/fixed-range/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/hooks/useRangeSelector.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/hooks/useRangeSelectorMobile.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/forms/inputs/range-selector/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/days-input/useDaysInput.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/days-input/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/months-input/useMonthsInput.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/months-input/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/utils/url.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/hooks/useSearcherLeiForm.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/searcher-form/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/structures/others/tags/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/structures/others/tags/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/structures/others/tags/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/structures/others/tags/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/structures/others/tags/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/components/links/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/components/links/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/helpers/wrappers/lei/linksSeo/converter.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/wrappers/lei/links-seo/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/others/links-seo/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/wrappers/lei/links-seo/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/wrappers/lei/links-seo/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/dates-input/useDatesInput.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/components/dates-input/index.js","../../../../../../../node_modules/@babylon/ui-kit/dist/components/common/searchers/searcher-lei/views/mobile/index.js"],"sourcesContent":["import { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport DesktopBreadcrumb from \"./views/desktop/index.js\";\nimport MobileBreadcrumb from \"./views/mobile/index.js\";\nexport const Breadcrumbs = generateViewsComponent(DesktopBreadcrumb, MobileBreadcrumb);\nexport default Breadcrumbs;\n\n//# sourceMappingURL=index.js.map","export const CONSTANTS = {\n MOBILE: {\n IMAGE: {\n width: 750,\n height: 360,\n quality: 97\n }\n },\n DESKTOP: {\n IMAGE: {\n width: 1920,\n height: 350,\n quality: 97\n },\n DEALS: {\n width: 300,\n height: 70,\n suboperation: null\n },\n LOGO: {\n width: 300,\n height: 80,\n suboperation: null\n }\n }\n};\n\n//# sourceMappingURL=constants.js.map","import styled from \"styled-components\";\nimport Icon from \"../../../../../base/icons/icon/index.js\";\nimport { ImageStyled } from \"../../../../../base/multimedia/image/styled.js\";\nimport InnerMarkdownHTML from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport { Deals as DefaultDeals } from \"../../../../banners/deals/index.js\";\nimport { Container } from \"../../../../../../styles/common/mixins/container.styled.js\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const HeaderBannerSimpleContainer = styled(Container).withConfig({\n displayName: \"styled__HeaderBannerSimpleContainer\",\n componentId: \"sc-138a46b5-0\"\n})([\n \"position:absolute;min-height:100%;top:0;bottom:0;right:0;left:0;z-index:\",\n \";\"\n], ({ theme })=>theme.zIndex.lower);\nexport const HeaderBannerSimpleWrapper = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleWrapper\",\n componentId: \"sc-138a46b5-1\"\n})([\n \"position:relative;overflow:hidden;&:after{background-color:\",\n \";background-repeat:repeat-x;content:'';height:100%;left:0;position:absolute;top:0;width:100%;z-index:\",\n \";}\"\n], ({ theme })=>theme.colors.black.high, ({ theme })=>theme.zIndex.lowest);\nexport const HeaderBannerSimpleTextWrapper = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleTextWrapper\",\n componentId: \"sc-138a46b5-2\"\n})([\n \"\",\n \";justify-content:center;height:100%;padding:20px;margin:-20px auto 0;max-width:700px;\"\n], FlexMixin({\n align: 'center',\n direction: 'column'\n}));\nexport const HeaderBannerSimpleCaption = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleCaption\",\n componentId: \"sc-138a46b5-3\"\n})([\n \"text-transform:uppercase;\",\n \" color:\",\n \";margin-bottom:0;\"\n], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'base'\n}), ({ theme })=>theme.colors.white.base);\nexport const HeaderBannerSimpleTitle = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleTitle\",\n componentId: \"sc-138a46b5-4\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";font-family:\",\n \";margin-bottom:8px;position:relative;text-align:center;text-shadow:0 1px 2px \",\n \";z-index:\",\n \";& > strong{\",\n \" font-size:64px;}\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}), FontMixin({\n size: 'xl',\n weight: 'medium',\n height: 'xl'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.black.low, ({ theme })=>theme.zIndex.lower, FontMixin({\n weight: 'bold',\n height: 'xxl'\n}));\nexport const HeaderBannerSimpleSubtitle = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleSubtitle\",\n componentId: \"sc-138a46b5-5\"\n})([\n \"\",\n \" \",\n \" font-family:\",\n \";position:relative;color:\",\n \";text-align:center;padding:0 20px;\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}), FontMixin({\n size: 'larger',\n weight: 'regular',\n height: 'larger'\n}), ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.white.base);\nexport const HeaderBannerSimpleImage = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleImage\",\n componentId: \"sc-138a46b5-6\"\n})([\n \"& > figure{\",\n \" height:100%;overflow:hidden;position:relative;& > img{width:100%;height:350px;object-fit:cover;}}\"\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}));\nexport const HeaderBannerSimpleDeals = styled(DefaultDeals).withConfig({\n displayName: \"styled__HeaderBannerSimpleDeals\",\n componentId: \"sc-138a46b5-7\"\n})([\n \"\",\n \" position:absolute;left:24px;bottom:40px;z-index:\",\n \";margin-top:12px;background-color:\",\n \";border-top-left-radius:\",\n \";border-top-right-radius:\",\n \";height:70px;max-width:unset;&:first-of-type{border-top-left-radius:\",\n \";}&:last-of-type{border-top-right-radius:\",\n \";}\",\n \"{height:70px;\",\n \";img{width:100%;height:auto;padding:0 8px;}}\"\n], FlexMixin(), ({ theme })=>theme.zIndex.low, ({ theme })=>theme.colors.status.offer, ({ theme })=>theme.border.radius.rounded, ({ theme })=>theme.border.radius.rounded, ({ theme })=>theme.border.radius.rounded, ({ theme })=>theme.border.radius.rounded, ImageStyled, FlexMixin({\n align: 'center'\n}));\nexport const HeaderBannerSimpleConditions = styled.a.withConfig({\n displayName: \"styled__HeaderBannerSimpleConditions\",\n componentId: \"sc-138a46b5-8\"\n})([\n \"\",\n \" position:absolute;top:0;right:20px;background-color:\",\n \";padding:8px;border-bottom-left-radius:\",\n \";border-bottom-right-radius:\",\n \";column-gap:8px;\"\n], FlexMixin({\n type: 'inline-flex',\n align: 'center'\n}), ({ theme })=>theme.colors.status.offer, ({ theme })=>theme.border.radius.rounded, ({ theme })=>theme.border.radius.rounded);\nexport const HeaderBannerSimpleIcon = styled(Icon).withConfig({\n displayName: \"styled__HeaderBannerSimpleIcon\",\n componentId: \"sc-138a46b5-9\"\n})([\n \"color:\",\n \";\"\n], ({ theme })=>theme.colors.white.base);\nexport const HeaderBannerSimpleLink = styled.span.withConfig({\n displayName: \"styled__HeaderBannerSimpleLink\",\n componentId: \"sc-138a46b5-10\"\n})([\n \"color:\",\n \";\",\n \" text-transform:uppercase;text-decoration:none;\"\n], ({ theme })=>theme.colors.white.base, FontMixin({\n size: 'small',\n weight: 'medium',\n height: 'smaller'\n}));\nexport const HeaderBannerSimpleLogo = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleLogo\",\n componentId: \"sc-138a46b5-11\"\n})([\n \"background-color:\",\n \";border-radius:4px;padding:8px 0;position:absolute;top:24px;left:20px;\"\n], ({ theme })=>theme.colors.white.lower);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useContext } from \"react\";\nimport Image from \"../../../../../base/multimedia/image/index.js\";\nimport contextBabylon from \"../../../../../../context/index.js\";\nimport { CONSTANTS } from \"../../constants.js\";\nimport * as S from \"./styled.js\";\nconst HeaderBannerDesktop = ({ props })=>{\n const { title, subtitle, image, promos: promosProp, promo: promoProp, logo, config, caption, titleTag = 'span' } = props ?? {};\n const promos = promosProp ?? promoProp;\n const finalCaption = promos?.caption ?? caption;\n const resizeImage = {\n ...CONSTANTS.DESKTOP.IMAGE,\n ...config?.resize\n };\n const regex = /.*((cdn|ssl)\\.(logitravel|alitravel|traveltool|bookingay)\\..*?)\\/+(.*\\.(jpg|png|gif))(\\?.*)?/gim;\n const { Cdn } = useContext(contextBabylon);\n // TODO: remove prepareSrc? with useImage has a similar logic\n function prepareSrc() {\n const match = regex.exec(image.src);\n if (match !== null) {\n const relative = match[4];\n const params = match[6] || '';\n return [\n Cdn,\n '/',\n relative,\n params\n ].join('');\n }\n if (image?.src.startsWith('logicms')) {\n return `https://${image?.src}`;\n }\n if (image?.src.startsWith('https://logicms')) {\n return image?.src;\n }\n if (!!image?.src.startsWith('http') || !!image?.src.startsWith('https') || !!image?.src.startsWith('//')) {\n return image?.src.replace(/(^\\w+:|^)\\/\\//, '');\n }\n if (image?.src.startsWith('/')) {\n return [\n Cdn,\n image?.src\n ].join('');\n }\n return [\n Cdn,\n '/',\n image?.src\n ].join('');\n }\n return /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleWrapper, {\n \"data-testid\": \"HeaderBannerSimple\",\n children: [\n /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleContainer, {\n children: [\n /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleTextWrapper, {\n children: [\n finalCaption && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleCaption, {\n tag: \"p\",\n content: finalCaption\n }),\n title && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleTitle, {\n tag: titleTag,\n content: title\n }),\n subtitle && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleSubtitle, {\n tag: \"p\",\n content: subtitle\n })\n ]\n }),\n promos?.images && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleDeals, {\n deals: promos.images,\n resize: CONSTANTS.DESKTOP.DEALS\n }),\n promos?.link && /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleConditions, {\n href: promos.link.href,\n title: promos.link.title,\n children: [\n /*#__PURE__*/ _jsx(S.HeaderBannerSimpleIcon, {\n className: 'nico-check-list'\n }),\n /*#__PURE__*/ _jsx(S.HeaderBannerSimpleLink, {\n children: promos.link.content\n })\n ]\n }),\n logo && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleLogo, {\n children: /*#__PURE__*/ _jsx(Image, {\n ...CONSTANTS.DESKTOP.LOGO,\n resize: CONSTANTS.DESKTOP.LOGO,\n ...logo\n })\n })\n ]\n }),\n image && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleImage, {\n children: /*#__PURE__*/ _jsx(Image, {\n ...resizeImage,\n resize: resizeImage,\n ...image,\n src: prepareSrc()\n })\n })\n ]\n });\n};\nexport default HeaderBannerDesktop;\n\n//# sourceMappingURL=index.js.map","import rgba from \"polished/lib/color/rgba\";\nimport styled from \"styled-components\";\nimport { ImageStyled } from \"../../../../../base/multimedia/image/styled.js\";\nimport InnerMarkdownHTML from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport { Deals as DefaultDeals } from \"../../../../banners/deals/index.js\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const HeaderBannerSimpleContainer = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleContainer\",\n componentId: \"sc-36fb612c-0\"\n})([\n \"\",\n \" height:100%;left:0;padding:16px 16px 0px 16px;\"\n], FlexMixin({\n justify: 'center',\n align: 'center',\n direction: 'column'\n}));\nexport const HeaderBannerSimpleWrapper = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleWrapper\",\n componentId: \"sc-36fb612c-1\"\n})([\n \"overflow:hidden;position:relative;min-height:220px;\",\n \" &:not(.has-image){height:auto;min-height:initial;background-color:\",\n \";\",\n \"{padding-bottom:16px;}}&:after{background-image:linear-gradient( 0deg,\",\n \" 0,\",\n \" 70% );background-repeat:repeat-x;content:'';height:100%;left:0;position:absolute;top:0;width:100%;z-index:\",\n \";}\"\n], FlexMixin({\n justify: 'center',\n direction: 'column'\n}), ({ theme })=>theme.colors.primary.base, HeaderBannerSimpleContainer, ({ theme })=>theme.colors.primary.base, ({ theme })=>rgba(theme.colors.primary.base, 0.1), ({ theme })=>theme.zIndex.lowest);\nexport const HeaderBannerSimpleTitle = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleTitle\",\n componentId: \"sc-36fb612c-2\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";font-family:\",\n \";margin-bottom:8px;position:relative;text-align:center;text-shadow:0 1px 2px \",\n \";z-index:\",\n \";& > strong{\",\n \"}\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}), FontMixin({\n size: 'larger',\n weight: 'medium',\n height: 'larger'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.black.low, ({ theme })=>theme.zIndex.lower, FontMixin({\n size: 'largest',\n weight: 'bold',\n height: 'larger'\n}));\nexport const HeaderBannerSimpleSubtitle = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleSubtitle\",\n componentId: \"sc-36fb612c-3\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";font-family:\",\n \";text-align:center;text-shadow:0 1px 2px \",\n \";z-index:\",\n \";\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}), FontMixin({\n size: 'base',\n weight: 'bold',\n height: 'base'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.font.family.secondary, ({ theme })=>theme.colors.black.low, ({ theme })=>theme.zIndex.lower);\nexport const HeaderBannerSimpleImage = styled.div.withConfig({\n displayName: \"styled__HeaderBannerSimpleImage\",\n componentId: \"sc-36fb612c-4\"\n})([\n \"position:absolute;right:0;top:0;height:100%;width:100%;& > figure{\",\n \" height:100%;overflow:hidden;position:relative;& > img{width:100%;height:100%;object-fit:cover;}}\"\n], FlexMixin({\n justify: 'center',\n align: 'center'\n}));\nexport const Deals = styled(DefaultDeals).withConfig({\n displayName: \"styled__Deals\",\n componentId: \"sc-36fb612c-5\"\n})([\n \"\",\n \" column-gap:4px;position:relative;z-index:\",\n \";margin-top:12px;padding:4px;background-color:\",\n \";border-radius:\",\n \";\",\n \"{\",\n \" img{width:100%;height:auto;}}\"\n], FlexMixin(), ({ theme })=>theme.zIndex.low, ({ theme })=>theme.colors.status.complementary2, ({ theme })=>theme.border.radius.rounded, ImageStyled, FlexMixin({\n align: 'center'\n}));\nexport const HeaderBannerSimpleCaption = styled(InnerMarkdownHTML).withConfig({\n displayName: \"styled__HeaderBannerSimpleCaption\",\n componentId: \"sc-36fb612c-6\"\n})([\n \"\",\n \" \",\n \" color:\",\n \";text-transform:uppercase;text-align:center;z-index:\",\n \";\"\n], FlexMixin({\n direction: 'column',\n align: 'center',\n justify: 'center'\n}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'medium'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.zIndex.lower);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport classNames from \"classnames\";\nimport Image from \"../../../../../base/multimedia/image/index.js\";\nimport { CONSTANTS } from \"../../constants.js\";\nimport * as S from \"./styled.js\";\nconst HeaderBannerMobile = ({ props })=>{\n const { title, subtitle, caption, image, promos: promosProp, promo: promoProp, config } = props ?? {};\n const promos = promosProp ?? promoProp;\n const resize = {\n ...CONSTANTS.MOBILE.IMAGE,\n ...config?.resize\n };\n return /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleWrapper, {\n \"data-testid\": \"HeaderBannerSimple\",\n className: classNames({\n 'has-image': !!image\n }),\n children: [\n /*#__PURE__*/ _jsxs(S.HeaderBannerSimpleContainer, {\n children: [\n caption && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleCaption, {\n content: caption\n }),\n title && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleTitle, {\n tag: \"h1\",\n content: title\n }),\n subtitle && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleSubtitle, {\n tag: \"h2\",\n content: subtitle\n }),\n promos && /*#__PURE__*/ _jsx(S.Deals, {\n deals: promos.images\n })\n ]\n }),\n image && /*#__PURE__*/ _jsx(S.HeaderBannerSimpleImage, {\n children: /*#__PURE__*/ _jsx(Image, {\n ...image,\n resize: resize\n })\n })\n ]\n });\n};\nexport default HeaderBannerMobile;\n\n//# sourceMappingURL=index.js.map","import { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport HeaderBannerSimpleDesktop from \"./views/desktop/index.js\";\nimport HeaderBannerSimpleMobile from \"./views/mobile/index.js\";\nexport const HeaderBannerSimple = generateViewsComponent(HeaderBannerSimpleDesktop, HeaderBannerSimpleMobile);\nexport default HeaderBannerSimple;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createContext, useContext, useMemo } from \"react\";\nconst SearcherLeiContext = /*#__PURE__*/ createContext({});\nexport const SearcherLeiProvider = (props)=>{\n const { value, children } = props;\n const contextValue = useMemo(()=>({\n props: value\n }), [\n value\n ]);\n return /*#__PURE__*/ _jsx(SearcherLeiContext.Provider, {\n value: contextValue,\n children: children\n });\n};\nconst useSearcherLeiContext = ()=>useContext(SearcherLeiContext);\nexport const useSearcherLeiProps = ()=>useSearcherLeiContext().props;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport SearcherButton from \"../../../searcher/searcher-button/index.js\";\nimport useHandleSubmit from \"../../../../../../hooks/common/searchers/submit/useHandleSubmit.js\";\nimport useHasErrors from \"../../../../../../hooks/common/searchers/useHasErrors.js\";\nimport { useSearcherLeiProps } from \"../../context/index.js\";\nconst SearcherLeiButton = ()=>{\n const props = useSearcherLeiProps();\n const { config } = props ?? {};\n const { literals } = config ?? {};\n const { submit = '' } = literals ?? {};\n const hasErrors = useHasErrors();\n const handleSubmit = useHandleSubmit();\n return /*#__PURE__*/ _jsx(SearcherButton, {\n onClick: handleSubmit,\n disabled: hasErrors,\n children: submit\n });\n};\nexport default SearcherLeiButton;\n\n//# sourceMappingURL=index.js.map","import cloneDeep from \"clone-deep\";\nimport { useCallback, useMemo } from \"react\";\nconst useCheckboxGroup = (props)=>{\n const { onChange, value, options = [] } = props;\n const finalValue = useMemo(()=>{\n if (value) return value;\n const initialCheckedOptions = options.filter((option)=>!!option.checked);\n if (initialCheckedOptions?.length) return initialCheckedOptions;\n return [];\n }, [\n value,\n options\n ]);\n const inputValue = useMemo(()=>{\n const finalValueValues = finalValue.map((value)=>value.value);\n const checkedOptions = options.filter((option)=>finalValueValues.includes(option.value));\n return checkedOptions.reduce((prev, curr)=>`${prev}${curr.label}, `, '').slice(0, -2);\n }, [\n finalValue,\n options\n ]);\n const handleChange = useCallback((checked, index)=>{\n let newValue = cloneDeep(finalValue);\n const targetOption = options[index];\n if (checked) {\n newValue?.push(targetOption);\n } else {\n newValue = newValue?.filter((value)=>value.value !== targetOption.value);\n }\n const finalValueHasEmptyOption = !!finalValue?.find((option)=>!option.value);\n const newValueHasEmptyOption = !!newValue?.find((option)=>!option.value);\n if (!finalValueHasEmptyOption && newValueHasEmptyOption) {\n newValue = newValue.filter((option)=>!option.value);\n } else if (finalValueHasEmptyOption && newValueHasEmptyOption) {\n newValue = newValue.filter((option)=>!!option.value);\n } else if (finalValueHasEmptyOption && !newValueHasEmptyOption) {\n newValue = options.filter((option)=>!!option.value);\n } else if (!newValue?.length) {\n newValue = options.filter((option)=>!option.value);\n }\n onChange?.(newValue);\n }, [\n options,\n onChange,\n finalValue\n ]);\n return {\n handleChange,\n inputValue\n };\n};\nexport default useCheckboxGroup;\n\n//# sourceMappingURL=useCheckboxGroup.js.map","import styled from \"styled-components\";\nimport { TooltipContent } from \"../../../base/others/tooltip/styled.js\";\nexport const InputWrapper = styled.div.withConfig({\n displayName: \"styled__InputWrapper\",\n componentId: \"sc-65f8290f-0\"\n})([\n \"\",\n \"{overflow-y:auto;padding:16px;}\"\n], TooltipContent);\nexport const CheckboxWrapper = styled.div.withConfig({\n displayName: \"styled__CheckboxWrapper\",\n componentId: \"sc-65f8290f-1\"\n})([\n \"&:not(:last-child){margin-bottom:12px;}\"\n]);\nexport const CheckboxWrapperMobile = styled.div.withConfig({\n displayName: \"styled__CheckboxWrapperMobile\",\n componentId: \"sc-65f8290f-2\"\n})([\n \"margin:20px;&:not(:last-child){margin-bottom:12px;}\"\n]);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useImperativeHandle, useMemo, useRef } from \"react\";\nimport { useElementSize } from \"usehooks-ts\";\nimport InputPanel from \"../../../../others/input-panel/index.js\";\nimport { genKey } from \"../../../../../../helpers/keys.js\";\nimport Checkbox from \"../../../checkbox/index.js\";\nimport useCheckboxGroup from \"../../hooks/useCheckboxGroup.js\";\nimport * as S from \"../../styled.js\";\nexport const CheckboxGroupDesktop = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { options = [], value = [], hasError, error, label = '', icon = '', onBlur, disabled = false, variant = 'with-input', preventEmpty = true } = props;\n const inputRef = useRef(null);\n const [setRef, size] = useElementSize();\n useImperativeHandle(ref, ()=>inputRef.current);\n useImperativeHandle(setRef, ()=>inputRef.current);\n const { handleChange, inputValue } = useCheckboxGroup(props);\n const inputProps = useMemo(()=>({\n label,\n value: inputValue,\n error,\n hasError,\n icon,\n onBlur,\n disabled\n }), [\n disabled,\n error,\n hasError,\n icon,\n inputValue,\n label,\n onBlur\n ]);\n const panelContent = useMemo(()=>options?.map((item, index)=>{\n const isChecked = !!value.find((e)=>e.value === item.value);\n return /*#__PURE__*/ _jsx(S.CheckboxWrapper, {\n children: /*#__PURE__*/ _jsx(Checkbox, {\n \"data-testid\": `Checkbox-${index}`,\n ...item,\n checked: isChecked,\n disabled: preventEmpty && !inputValue.includes(',') && isChecked ? true : false,\n onChange: (e)=>handleChange(e, index)\n })\n }, genKey(item));\n }), [\n handleChange,\n inputValue,\n options,\n preventEmpty,\n value\n ]);\n const panel = useMemo(()=>({\n width: size.width,\n maxWidth: '100%',\n content: panelContent\n }), [\n panelContent,\n size.width\n ]);\n return /*#__PURE__*/ _jsxs(S.InputWrapper, {\n \"data-testid\": \"CheckboxGroup\",\n children: [\n variant === 'with-input' && /*#__PURE__*/ _jsx(InputPanel, {\n ref: inputRef,\n inputProps: inputProps,\n panel: panel\n }),\n variant === 'without-input' && panelContent\n ]\n });\n});\nCheckboxGroupDesktop.displayName = 'CheckboxGroupDesktop';\nexport default CheckboxGroupDesktop;\n\n//# sourceMappingURL=index.js.map","import cloneDeep from \"clone-deep\";\nimport { useCallback, useMemo, useState } from \"react\";\nconst useCheckboxGroupMobile = (props)=>{\n const { onChange: propOnChange, value: propValue, options = [], variant = 'with-input' } = props;\n const [tempValue, setTempValue] = useState(props.value);\n const { value, onChange } = useMemo(()=>{\n if (variant === 'with-input') return {\n value: tempValue,\n onChange: setTempValue\n };\n return {\n value: propValue,\n onChange: propOnChange\n };\n }, [\n propOnChange,\n propValue,\n tempValue,\n variant\n ]);\n const finalValueMobile = useMemo(()=>{\n if (value) return value;\n const initialCheckedOptions = options.filter((option)=>!!option.checked);\n if (initialCheckedOptions?.length) return initialCheckedOptions;\n return [];\n }, [\n options,\n value\n ]);\n const inputValue = useMemo(()=>{\n const finalValueMobileValues = finalValueMobile.map((value)=>value.value);\n const checkedOptions = options.filter((option)=>finalValueMobileValues.includes(option.value));\n return checkedOptions.reduce((prev, curr)=>`${prev}${curr.label}, `, '').slice(0, -2);\n }, [\n finalValueMobile,\n options\n ]);\n const handleChange = useCallback((checked, index)=>{\n let newValue = cloneDeep(finalValueMobile) || [];\n const targetOption = options[index];\n if (checked) {\n newValue.push(targetOption);\n } else {\n newValue = newValue.filter((value)=>value.value !== targetOption.value);\n }\n const finalValueHasEmptyOption = !!finalValueMobile.find((option)=>!option.value);\n const newValueHasEmptyOption = !!newValue.find((option)=>!option.value);\n if (!finalValueHasEmptyOption && newValueHasEmptyOption) {\n newValue = newValue.filter((option)=>!option.value);\n } else if (finalValueHasEmptyOption && newValueHasEmptyOption) {\n newValue = newValue.filter((option)=>!!option.value);\n } else if (finalValueHasEmptyOption && !newValueHasEmptyOption) {\n newValue = options.filter((option)=>!!option.value);\n } else if (!newValue?.length) {\n newValue = options.filter((option)=>!option.value);\n }\n onChange?.(newValue);\n }, [\n finalValueMobile,\n onChange,\n options\n ]);\n const openModal = useCallback((isOpen)=>{\n if (isOpen) {\n onChange?.(propValue ?? []);\n }\n }, [\n onChange,\n propValue\n ]);\n const confirmModal = useCallback((close)=>{\n if (value) propOnChange?.(value);\n close();\n }, [\n propOnChange,\n value\n ]);\n const closeModal = useCallback(()=>{\n onChange?.(propValue ?? []);\n }, [\n onChange,\n propValue\n ]);\n return {\n value,\n handleChange,\n inputValue,\n openModal,\n closeModal,\n confirmModal\n };\n};\nexport default useCheckboxGroupMobile;\n\n//# sourceMappingURL=useCheckboxGroupMobile.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useCallback, useMemo } from \"react\";\nimport { ButtonPanel } from \"../../../../../base/buttons/button/index.js\";\nimport InputPanel from \"../../../../others/input-panel/index.js\";\nimport { genKey } from \"../../../../../../helpers/keys.js\";\nimport Checkbox from \"../../../checkbox/index.js\";\nimport useCheckboxGroupMobile from \"../../hooks/useCheckboxGroupMobile.js\";\nimport * as SS from \"../../styled.js\";\nexport const CheckboxGroupMobile = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { options = [], label = '', icon = '', hasError, error, onBlur, disabled = false, variant = 'with-input', preventEmpty = true } = props;\n const { value = [], handleChange, inputValue, openModal, confirmModal, closeModal } = useCheckboxGroupMobile(props);\n const renderFooter = useCallback(({ close })=>/*#__PURE__*/ _jsx(ButtonPanel, {\n onClick: ()=>confirmModal(close),\n children: props.accept\n }), [\n confirmModal,\n props.accept\n ]);\n const inputProps = useMemo(()=>({\n label,\n icon,\n value: inputValue,\n onBlur,\n hasError,\n error,\n disabled\n }), [\n disabled,\n error,\n hasError,\n icon,\n inputValue,\n label,\n onBlur\n ]);\n const panelContent = useMemo(()=>options?.map((item, index)=>{\n const isChecked = !!value?.find((e)=>e.value === item.value);\n return /*#__PURE__*/ _jsx(SS.CheckboxWrapperMobile, {\n children: /*#__PURE__*/ _jsx(Checkbox, {\n ...item,\n checked: isChecked,\n \"data-testid\": `Checkbox-${index}`,\n disabled: preventEmpty && !inputValue.includes(',') && isChecked ? true : false,\n onChange: (e)=>handleChange(e, index)\n })\n }, genKey(item));\n }), [\n handleChange,\n inputValue,\n options,\n preventEmpty,\n value\n ]);\n const panel = useMemo(()=>({\n onChange: openModal,\n header: props.modalHeader,\n content: panelContent,\n footer: renderFooter\n }), [\n openModal,\n panelContent,\n props.modalHeader,\n renderFooter\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary',\n hide: closeModal\n }), [\n closeModal\n ]);\n return /*#__PURE__*/ _jsxs(SS.InputWrapper, {\n \"data-testid\": \"CheckboxGroup\",\n children: [\n variant === 'with-input' && /*#__PURE__*/ _jsx(InputPanel, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n }),\n variant === 'without-input' && panelContent\n ]\n });\n});\nCheckboxGroupMobile.displayName = 'CheckboxGroupMobile';\nexport default CheckboxGroupMobile;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport { useInput } from \"../../../../hooks/forms/useInput/index.js\";\nimport CheckboxGroupDesktop from \"./views/desktop/index.js\";\nimport CheckboxGroupMobile from \"./views/mobile/index.js\";\nexport const CheckboxGroup = generateViewsComponent(CheckboxGroupDesktop, CheckboxGroupMobile);\nexport const FormCheckboxGroup = (props)=>{\n const { isHiddenRequired: _isHiddenRequired, ...rest } = props;\n const { field, error, hasError } = useInput({\n ...props,\n format: (value)=>{\n if (Array.isArray(value)) return value;\n return [];\n }\n });\n return /*#__PURE__*/ _jsx(CheckboxGroup, {\n ...rest,\n ...field,\n error: error,\n hasError: hasError\n });\n};\nexport default CheckboxGroup;\n\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nconst useSearcherLeiDefaultValues = (props)=>{\n const { months, days, categories } = props ?? {};\n const monthsDefaultValue = useMemo(()=>{\n if (!months?.items) return;\n const { start, items } = months;\n const [startMonth = 0, endMonth = items.length - 1] = start ?? [];\n return [\n items[startMonth],\n items[endMonth]\n ];\n }, [\n months\n ]);\n const daysDefaultValue = useMemo(()=>{\n if (!days?.start || !days?.items) return;\n const { start, items } = days;\n const [startMonth = 0, endMonth = items.length - 1] = start;\n return [\n items[startMonth],\n items[endMonth]\n ];\n }, [\n days\n ]);\n const categoriesDefaultValue = useMemo(()=>{\n if (!categories) return;\n return categories.filter((category)=>category.selected);\n }, [\n categories\n ]);\n return useMemo(()=>({\n months: monthsDefaultValue,\n days: daysDefaultValue,\n categories: categoriesDefaultValue\n }), [\n categoriesDefaultValue,\n daysDefaultValue,\n monthsDefaultValue\n ]);\n};\nexport default useSearcherLeiDefaultValues;\n\n//# sourceMappingURL=useSearcherLeiDefaultValues.js.map","import useIsMobile from \"../../../../../../hooks/device/useIsMobile.js\";\nimport { useSearcherLeiProps } from \"../../context/index.js\";\nimport useSearcherLeiDefaultValues from \"../../hooks/useSearcherLeiDefaultValues.js\";\nconst useCategoriesInput = ()=>{\n const props = useSearcherLeiProps();\n const { config, categories = [] } = props ?? {};\n const { literals } = config ?? {};\n const defaultValues = useSearcherLeiDefaultValues(props);\n const isMobile = useIsMobile();\n if (isMobile) {\n return {\n name: 'categories',\n label: literals?.categoriesLabel,\n defaultValue: defaultValues.categories,\n options: categories,\n modalHeader: literals?.categoriesLabel,\n accept: literals?.applyLabel\n };\n }\n const finalCategoriesInput = {\n name: 'categories',\n label: literals?.categoriesLabel,\n defaultValue: defaultValues.categories,\n enableSearch: true,\n options: categories,\n isMulti: true\n };\n return {\n ...finalCategoriesInput,\n noResultsText: literals?.noResultsText,\n searchText: literals?.searchPlaceholderValue\n };\n};\nexport default useCategoriesInput;\n\n//# sourceMappingURL=useCategoriesInput.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FormCheckboxGroup } from \"../../../../../forms/inputs/checkbox-group/index.js\";\nimport { FormSelect } from \"../../../../../forms/inputs/select/index.js\";\nimport useIsMobile from \"../../../../../../hooks/device/useIsMobile.js\";\nimport useCategoriesInput from \"./useCategoriesInput.js\";\nconst SearcherCategoriesInput = ()=>{\n const categoriesInput = useCategoriesInput();\n const isMobile = useIsMobile();\n if (isMobile) return /*#__PURE__*/ _jsx(FormCheckboxGroup, {\n ...categoriesInput\n });\n return /*#__PURE__*/ _jsx(FormSelect, {\n ...categoriesInput\n });\n};\nexport default SearcherCategoriesInput;\n\n//# sourceMappingURL=index.js.map","import { useCallback, useEffect } from \"react\";\nconst useCommonEvents = (props)=>{\n const { isStartActive, isEndActive, setIsStartActive, setIsEndActive, onChange, value, updateValue } = props;\n const handleOnPointerMove = useCallback((e)=>{\n const { x } = e;\n updateValue(x);\n }, [\n updateValue\n ]);\n const handleOnPointerUp = useCallback(()=>{\n setIsStartActive(false);\n setIsEndActive(false);\n onChange?.(value);\n }, [\n setIsStartActive,\n setIsEndActive,\n onChange,\n value\n ]);\n const handleOnClick = useCallback((e)=>{\n const { clientX } = e;\n const newValue = updateValue(clientX);\n if (newValue) onChange?.(newValue);\n }, [\n onChange,\n updateValue\n ]);\n useEffect(()=>{\n if (isStartActive || isEndActive) {\n document.addEventListener('pointermove', handleOnPointerMove);\n document.addEventListener('pointerup', handleOnPointerUp);\n }\n return ()=>{\n document.removeEventListener('pointermove', handleOnPointerMove);\n document.removeEventListener('pointerup', handleOnPointerUp);\n };\n }, [\n handleOnPointerMove,\n handleOnPointerUp,\n isEndActive,\n isStartActive\n ]);\n return {\n handleOnClick\n };\n};\nexport default useCommonEvents;\n\n//# sourceMappingURL=useCommonEvents.js.map","import { useEffect, useRef, useState } from \"react\";\nconst useSelectorLabelsHeight = ()=>{\n const labelsRef = useRef(null);\n const [labelsHeight, setLabelsHeight] = useState(16);\n useEffect(()=>{\n if (!labelsRef.current) return;\n const labels = labelsRef.current.children;\n const height = Array.from(labels).reduce((acc, label)=>Math.max(acc, label.clientHeight), labelsHeight);\n if (height !== labelsHeight) setLabelsHeight(height);\n }, [\n labelsHeight\n ]);\n return {\n labelsRef,\n labelsHeight\n };\n};\nexport default useSelectorLabelsHeight;\n\n//# sourceMappingURL=useSelectorLabelsHeight.js.map","import { useCallback, useEffect, useState } from \"react\";\nconst useSelectorTempValue = (props)=>{\n const { items, value = [] } = props;\n const [tempStart, setTempStart] = useState(value[0] ?? items[0]);\n const [tempEnd, setTempEnd] = useState(value[1] ?? items[items.length - 1]);\n useEffect(()=>{\n setTempStart(value[0] ?? items[0]);\n setTempEnd(value[1] ?? items[items.length - 1]);\n }, [\n items,\n items.length,\n value\n ]);\n const setValue = useCallback((value)=>{\n setTempStart(value[0]);\n setTempEnd(value[1]);\n }, []);\n return {\n value: [\n tempStart,\n tempEnd\n ],\n setValue\n };\n};\nexport default useSelectorTempValue;\n\n//# sourceMappingURL=useSelectorTempValue.js.map","import cloneDeep from \"clone-deep\";\nimport { useCallback, useRef, useState } from \"react\";\nimport { getItemIndex } from \"../../../../../helpers/forms/select.js\";\nconst useSelectorEvents = (props)=>{\n const { value, setValue, items } = props;\n const lineRef = useRef(null);\n const startRef = useRef(null);\n const endRef = useRef(null);\n const [isStartActive, setIsStartActive] = useState(false);\n const [isEndActive, setIsEndActive] = useState(false);\n const handleOnStartPointerDown = useCallback(()=>{\n if (getItemIndex(value[0], items) === getItemIndex(value[1], items) && getItemIndex(value[0], items) === 0) {\n setIsEndActive(true);\n } else {\n setIsStartActive(true);\n }\n }, [\n items,\n value\n ]);\n const handleOnEndPointerDown = useCallback(()=>{\n if (getItemIndex(value[0], items) === getItemIndex(value[1], items) && getItemIndex(value[1], items) === items.length - 1) {\n setIsStartActive(true);\n } else {\n setIsEndActive(true);\n }\n }, [\n items,\n value\n ]);\n const getCurrentPosition = useCallback((x)=>{\n const { left, width } = lineRef.current?.getBoundingClientRect() ?? {\n left: 0,\n width: 0\n };\n const stepWidth = width / (items.length - 1);\n const stepsPositions = Array.from({\n length: items.length\n }, (_, index)=>left + stepWidth * index);\n const marginPosition = stepWidth / 2;\n let currentPosition = -1;\n let minDiff = marginPosition;\n for (const stepPosition of stepsPositions){\n const minPosition = stepPosition - marginPosition;\n const maxPosition = stepPosition + marginPosition;\n if (x > minPosition && x < maxPosition) {\n const diff = Math.abs(x - stepPosition);\n if (diff < minDiff) {\n minDiff = diff;\n currentPosition = stepsPositions.indexOf(stepPosition);\n }\n }\n }\n return currentPosition;\n }, [\n items.length\n ]);\n const updateValue = useCallback((x)=>{\n const currentPosition = getCurrentPosition(x);\n if (currentPosition === -1) return;\n const newValue = cloneDeep(value);\n const startValue = getItemIndex(newValue[0], items);\n const endValue = getItemIndex(newValue[1], items);\n if (isStartActive) {\n if (currentPosition <= endValue) {\n newValue[0] = items[currentPosition];\n } else {\n newValue[0] = items[endValue];\n }\n } else if (isEndActive) {\n if (currentPosition >= startValue) {\n newValue[1] = items[currentPosition];\n } else {\n newValue[1] = items[startValue];\n }\n } else {\n const startDiff = Math.abs(startValue - currentPosition);\n const endDiff = Math.abs(endValue - currentPosition);\n if (startDiff <= endDiff && currentPosition < startValue) {\n newValue[0] = items[currentPosition];\n } else {\n newValue[1] = items[currentPosition];\n }\n }\n setValue(newValue);\n return newValue;\n }, [\n getCurrentPosition,\n isEndActive,\n isStartActive,\n items,\n setValue,\n value\n ]);\n return {\n lineRef,\n startRef,\n endRef,\n isDragging: isStartActive || isEndActive,\n handleOnStartPointerDown,\n handleOnEndPointerDown,\n updateValue,\n isStartActive,\n isEndActive,\n setIsStartActive,\n setIsEndActive\n };\n};\nexport default useSelectorEvents;\n\n//# sourceMappingURL=useSelectorEvents.js.map","import styled from \"styled-components\";\nimport { FlexMixin, FontMixin } from \"../../../../styles/common/mixins/helpers.styled.js\";\nexport const SelectorWrapper = styled.div.withConfig({\n displayName: \"styled__SelectorWrapper\",\n componentId: \"sc-4819e16b-0\"\n})([\n \"\",\n \" gap:\",\n \";color:\",\n \";--selector-size:\",\n \";--selector-padding:\",\n \";--start-step:\",\n \";--end-step:\",\n \";--steps:\",\n \";--step-width:calc(100% / (var(--steps) - 1));--step-position:calc((100% - (var(--selector-padding) * 2)) / (var(--steps) - 1));--start-step-diff:var(--start-step);--end-step-diff:calc(var(--steps) - var(--end-step) - 1);--start-step-width:calc(var(--step-width) * var(--start-step-diff));--end-step-width:calc(var(--step-width) * var(--end-step-diff));&,& *{touch-action:none;user-select:none;}\"\n], FlexMixin({\n direction: 'column'\n}), ({ $isDesktop })=>$isDesktop ? '8px' : '12px', ({ theme })=>theme.colors.grays.darker, ({ $isDesktop })=>$isDesktop ? '20px' : '26px', ({ $isDesktop })=>$isDesktop ? '16px' : '8px', ({ $startStep })=>$startStep, ({ $endStep })=>$endStep, ({ $steps })=>$steps);\nexport const Label = styled.div.withConfig({\n displayName: \"styled__Label\",\n componentId: \"sc-4819e16b-1\"\n})([\n \"\",\n \"\"\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'medium'\n}));\nexport const SelectorLineWrapper = styled.div.withConfig({\n displayName: \"styled__SelectorLineWrapper\",\n componentId: \"sc-4819e16b-2\"\n})([\n \"position:relative;padding:var(--selector-padding);\"\n]);\nconst SelectorValue = styled.div.withConfig({\n displayName: \"styled__SelectorValue\",\n componentId: \"sc-4819e16b-3\"\n})([\n \"position:absolute;z-index:2;top:50%;transform:translate(-50%,-50%);width:var(--selector-size);height:var(--selector-size);border-radius:100%;background:\",\n \";cursor:pointer;backface-visibility:hidden;&:active{background:\",\n \";}\",\n \"\"\n], ({ theme })=>theme.colors.primary.light, ({ theme })=>theme.colors.primary.base, ({ $isDragging })=>!$isDragging ? `\n\ttransition: left 0.3s;\n\t` : '');\nexport const SelectorStartValue = styled(SelectorValue).withConfig({\n displayName: \"styled__SelectorStartValue\",\n componentId: \"sc-4819e16b-4\"\n})([\n \"left:calc((var(--step-position) * var(--start-step)) + var(--selector-padding));\"\n]);\nexport const SelectorEndValue = styled(SelectorValue).withConfig({\n displayName: \"styled__SelectorEndValue\",\n componentId: \"sc-4819e16b-5\"\n})([\n \"left:calc((var(--step-position) * var(--end-step)) + var(--selector-padding));\"\n]);\nexport const SelectorLine = styled.div.withConfig({\n displayName: \"styled__SelectorLine\",\n componentId: \"sc-4819e16b-6\"\n})([\n \"position:relative;width:100%;background:\",\n \";height:8px;border-radius:8px;overflow:hidden;cursor:pointer;&::before{content:'';position:absolute;top:0;left:0;width:calc(100% - var(--start-step-width) - var(--end-step-width));height:100%;margin-left:calc(var(--step-width) * var(--start-step-diff));background:\",\n \";z-index:1;\",\n \"}\"\n], ({ theme })=>theme.colors.grays.light, ({ $isDesktop, theme })=>$isDesktop ? theme.colors.primary.light : theme.colors.primary.lighter, ({ $isDragging })=>!$isDragging ? `\n\t\t\ttransition: width 0.3s, margin-left 0.3s;\n\t` : '');\nexport const SelectorLabels = styled.div.withConfig({\n displayName: \"styled__SelectorLabels\",\n componentId: \"sc-4819e16b-7\"\n})([\n \"position:relative;height:\",\n \";\"\n], ({ $height })=>`${$height}px`);\nexport const SelectorLabel = styled.div.withConfig({\n displayName: \"styled__SelectorLabel\",\n componentId: \"sc-4819e16b-8\"\n})([\n \"--step:\",\n \";position:absolute;top:0;left:calc((var(--step-position) * var(--step)) + var(--selector-padding));max-width:28px;transform:translateX(-50%);\",\n \" cursor:pointer;text-align:center;\"\n], ({ $step })=>$step, FontMixin({\n size: 'medium',\n height: 'small',\n weight: 'light'\n}));\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Children } from \"react\";\nimport { getItemIndex } from \"../../../../helpers/forms/select.js\";\nimport useIsDesktop from \"../../../../hooks/device/useIsDesktop.js\";\nimport useCommonEvents from \"../../../../hooks/forms/range-slider/useCommonEvents.js\";\nimport useSelectorLabelsHeight from \"../../../../hooks/forms/range-slider/useSelectorLabelsHeight.js\";\nimport useSelectorTempValue from \"../../../../hooks/forms/range-slider/useSelectorTempValue.js\";\nimport useSelectorEvents from \"./hooks/useSelectorEvents.js\";\nimport * as S from \"./styled.js\";\nexport const FixedRangeSlider = (props)=>{\n const { items, label = '', onChange = ()=>{} } = props;\n const { value, setValue } = useSelectorTempValue(props);\n const { labelsRef, labelsHeight } = useSelectorLabelsHeight();\n const { lineRef, startRef, endRef, isDragging, handleOnStartPointerDown, handleOnEndPointerDown, updateValue, isStartActive, isEndActive, setIsStartActive, setIsEndActive } = useSelectorEvents({\n ...props,\n value,\n setValue,\n onChange\n });\n const { handleOnClick } = useCommonEvents({\n isStartActive,\n isEndActive,\n setIsStartActive,\n setIsEndActive,\n onChange,\n value,\n updateValue\n });\n const isDesktop = useIsDesktop();\n return /*#__PURE__*/ _jsxs(S.SelectorWrapper, {\n $steps: items.length,\n $startStep: getItemIndex(value[0], items),\n $endStep: getItemIndex(value[1], items),\n $isDesktop: isDesktop,\n children: [\n label && /*#__PURE__*/ _jsx(S.Label, {\n $isDesktop: isDesktop,\n children: label\n }),\n /*#__PURE__*/ _jsxs(S.SelectorLineWrapper, {\n children: [\n /*#__PURE__*/ _jsx(S.SelectorStartValue, {\n ref: startRef,\n onPointerDown: handleOnStartPointerDown,\n $isDragging: isDragging\n }),\n /*#__PURE__*/ _jsx(S.SelectorLine, {\n ref: lineRef,\n onClick: handleOnClick,\n $isDragging: isDragging,\n $isDesktop: isDesktop\n }),\n /*#__PURE__*/ _jsx(S.SelectorEndValue, {\n ref: endRef,\n onPointerDown: handleOnEndPointerDown,\n $isDragging: isDragging\n })\n ]\n }),\n /*#__PURE__*/ _jsx(S.SelectorLabels, {\n ref: labelsRef,\n $height: labelsHeight,\n children: Children.toArray(items.map((item, index)=>/*#__PURE__*/ _jsx(S.SelectorLabel, {\n $step: index,\n onClick: handleOnClick,\n children: item.label\n })))\n })\n ]\n });\n};\nexport default FixedRangeSlider;\n\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nconst useRangeSelector = (props)=>{\n const { selectors } = props;\n const inputValue = useMemo(()=>{\n let finalInputValue = '';\n if (!selectors?.length) return finalInputValue;\n for (const selector of selectors){\n const [startItem, endItem] = selector.value ?? [\n selector.items[0],\n selector.items[selector.items.length - 1]\n ];\n if (!startItem || !endItem) continue;\n if (finalInputValue) {\n finalInputValue = `${finalInputValue}, ${startItem.label} - ${endItem.label}`;\n } else {\n finalInputValue = `${startItem.label} - ${endItem.label}`;\n }\n }\n return finalInputValue;\n }, [\n selectors\n ]);\n return {\n inputValue\n };\n};\nexport default useRangeSelector;\n\n//# sourceMappingURL=useRangeSelector.js.map","import styled from \"styled-components\";\nimport { Button } from \"../../../../../base/buttons/button/index.js\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const DesktopRangeSelectorFooterButton = styled(Button).withConfig({\n displayName: \"styled__DesktopRangeSelectorFooterButton\",\n componentId: \"sc-30f863e-0\"\n})([\n \"display:block;margin-left:auto;padding:8px 12px;\",\n \"\"\n], FontMixin({\n size: 'medium',\n height: 'small',\n weight: 'regular'\n}));\nexport const DesktopRangeSelectorContent = styled.div.withConfig({\n displayName: \"styled__DesktopRangeSelectorContent\",\n componentId: \"sc-30f863e-1\"\n})([\n \"padding:16px;\",\n \" gap:16px;touch-action:none;user-select:none;\"\n], FlexMixin({\n direction: 'column'\n}));\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Children, forwardRef, useCallback, useMemo } from \"react\";\nimport FixedRangeSlider from \"../../../../others/fixed-range/index.js\";\nimport InputPanel from \"../../../../others/input-panel/index.js\";\nimport useRangeSelector from \"../../hooks/useRangeSelector.js\";\nimport * as S from \"./styled.js\";\nconst DesktopRangeSelector = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { label, disabled, icon, hasError, error, literals, selectors, onBlur } = props;\n const { accept = '' } = literals ?? {};\n const { inputValue } = useRangeSelector(props);\n const renderFooter = useCallback(({ close })=>accept && /*#__PURE__*/ _jsx(S.DesktopRangeSelectorFooterButton, {\n variant: \"primary\",\n onClick: close,\n size: \"small\",\n children: accept\n }), [\n accept\n ]);\n const inputProps = useMemo(()=>({\n value: inputValue,\n label,\n disabled,\n icon,\n onBlur,\n hasError,\n error\n }), [\n disabled,\n error,\n hasError,\n icon,\n inputValue,\n label,\n onBlur\n ]);\n const panel = useMemo(()=>({\n content: /*#__PURE__*/ _jsx(S.DesktopRangeSelectorContent, {\n children: Children.toArray(selectors?.map((selector)=>/*#__PURE__*/ _jsx(FixedRangeSlider, {\n ...selector\n })))\n }),\n footer: renderFooter\n }), [\n renderFooter,\n selectors\n ]);\n return /*#__PURE__*/ _jsx(\"div\", {\n \"data-testid\": \"RangeSelector\",\n children: /*#__PURE__*/ _jsx(InputPanel, {\n ref: ref,\n inputProps: inputProps,\n panel: panel\n })\n });\n});\nDesktopRangeSelector.displayName = 'DesktopRangeSelector';\nexport default DesktopRangeSelector;\n\n//# sourceMappingURL=index.js.map","import fastDeepEqual from \"fast-deep-equal/react.js\";\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\nimport useRangeSelector from \"./useRangeSelector.js\";\nconst useRangeSelectorMobile = (props)=>{\n const { selectors } = props ?? {};\n const selectorValues = useMemo(()=>selectors?.map((selector)=>selector.value), [\n selectors\n ]);\n const [isOpen, setOpen] = useState(false);\n const [tempValues, setTempValues] = useState(selectorValues);\n const handleOnChange = useCallback((index)=>(value)=>{\n setTempValues((prevValues)=>{\n const newValues = [\n ...prevValues\n ];\n newValues[index] = value;\n return newValues;\n });\n }, []);\n useEffect(()=>{\n if (!isOpen) {\n setTempValues(selectorValues);\n }\n }, [\n isOpen,\n selectorValues\n ]);\n const isDirty = useMemo(()=>!fastDeepEqual(selectorValues, tempValues), [\n selectorValues,\n tempValues\n ]);\n const { inputValue } = useRangeSelector(props);\n const onAccept = useCallback((close)=>()=>{\n if (!selectors?.length) return;\n for (const selector of selectors){\n const index = selectors.indexOf(selector);\n const value = tempValues[index];\n if (value && selector.onChange) selector.onChange(value);\n }\n close();\n }, [\n selectors,\n tempValues\n ]);\n return {\n inputValue,\n values: tempValues,\n handleOnChange,\n isDirty,\n onAccept,\n isOpen,\n setOpen\n };\n};\nexport default useRangeSelectorMobile;\n\n//# sourceMappingURL=useRangeSelectorMobile.js.map","import styled from \"styled-components\";\nimport { FlexMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const MobileRangeSelectorContentWrapper = styled.div.withConfig({\n displayName: \"styled__MobileRangeSelectorContentWrapper\",\n componentId: \"sc-5da9b176-0\"\n})([\n \"height:100%;background-color:\",\n \";\"\n], ({ theme })=>theme.colors.grays.lighter);\nexport const MobileRangeSelectorContent = styled.div.withConfig({\n displayName: \"styled__MobileRangeSelectorContent\",\n componentId: \"sc-5da9b176-1\"\n})([\n \"padding:20px 16px 48px 16px;\",\n \" gap:48px;background-color:\",\n \";border-bottom:2px solid \",\n \";\"\n], FlexMixin({\n direction: 'column'\n}), ({ theme })=>theme.colors.white.base, ({ theme })=>theme.colors.primary.lighter);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Children, forwardRef, useCallback, useMemo } from \"react\";\nimport { ButtonPanel } from \"../../../../../base/buttons/button/index.js\";\nimport FixedRangeSlider from \"../../../../others/fixed-range/index.js\";\nimport InputPanel from \"../../../../others/input-panel/index.js\";\nimport useRangeSelectorMobile from \"../../hooks/useRangeSelectorMobile.js\";\nimport * as S from \"./styled.js\";\nconst MobileRangeSelector = /*#__PURE__*/ forwardRef((props, ref)=>{\n const { label, disabled, icon, hasError, error, literals, selectors, onBlur } = props;\n const { title = '', accept = '' } = literals ?? {};\n const { inputValue, isDirty, onAccept, setOpen, values, handleOnChange } = useRangeSelectorMobile(props);\n const renderFooter = useCallback(({ close })=>isDirty && /*#__PURE__*/ _jsx(ButtonPanel, {\n \"data-testid\": \"RangeSelectorFooterButton\",\n onClick: onAccept(close),\n children: accept\n }), [\n accept,\n isDirty,\n onAccept\n ]);\n const inputProps = useMemo(()=>({\n value: inputValue,\n label,\n disabled,\n icon,\n onBlur,\n hasError,\n error\n }), [\n disabled,\n error,\n hasError,\n icon,\n inputValue,\n label,\n onBlur\n ]);\n const panel = useMemo(()=>({\n onChange: setOpen,\n header: title,\n content: /*#__PURE__*/ _jsx(S.MobileRangeSelectorContentWrapper, {\n children: /*#__PURE__*/ _jsx(S.MobileRangeSelectorContent, {\n children: Children.toArray(selectors?.map((selector, index)=>/*#__PURE__*/ _jsx(FixedRangeSlider, {\n ...selector,\n value: values[index],\n onChange: handleOnChange(index)\n })))\n })\n }),\n footer: renderFooter\n }), [\n handleOnChange,\n renderFooter,\n selectors,\n setOpen,\n title,\n values\n ]);\n const modalProps = useMemo(()=>({\n color: 'primary'\n }), []);\n return /*#__PURE__*/ _jsx(\"div\", {\n \"data-testid\": \"RangeSelector\",\n children: /*#__PURE__*/ _jsx(InputPanel, {\n ref: ref,\n inputProps: inputProps,\n panel: panel,\n modalProps: modalProps\n })\n });\n});\nMobileRangeSelector.displayName = 'MobileRangeSelector';\nexport default MobileRangeSelector;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback, useImperativeHandle, useMemo, useRef } from \"react\";\nimport { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport useInput from \"../../../../hooks/forms/useInput/index.js\";\nimport DesktopRangeSelector from \"./views/desktop/index.js\";\nimport MobileRangeSelector from \"./views/mobile/index.js\";\nexport const RangeSelector = generateViewsComponent(DesktopRangeSelector, MobileRangeSelector);\nexport const FormRangeSingleSelector = (props)=>{\n const { field: { ref, onBlur, ...restField }, error, hasError } = useInput(props.selectors[0]);\n const selectors = useMemo(()=>[\n {\n ...props.selectors[0],\n ...restField\n }\n ], [\n props.selectors,\n restField\n ]);\n return /*#__PURE__*/ _jsx(RangeSelector, {\n ...props,\n ref: ref,\n onBlur: onBlur,\n selectors: selectors,\n error: error,\n hasError: hasError\n });\n};\nexport const FormRangeDoubleSelector = (props)=>{\n const { field: { ref: ref0, onBlur: onBlur0, ...restField0 }, error: error0, hasError: hasError0 } = useInput(props.selectors[0]);\n const { field: { ref: ref1, onBlur: onBlur1, ...restField1 }, error: error1, hasError: hasError1 } = useInput(props.selectors[1]);\n const inputRef = useRef(null);\n useImperativeHandle(ref0, ()=>inputRef.current);\n useImperativeHandle(ref1, ()=>inputRef.current);\n const onBlur = useCallback(()=>{\n onBlur0();\n onBlur1();\n }, [\n onBlur0,\n onBlur1\n ]);\n const selectors = useMemo(()=>[\n {\n ...props.selectors[0],\n ...restField0\n },\n {\n ...props.selectors[1],\n ...restField1\n }\n ], [\n props.selectors,\n restField0,\n restField1\n ]);\n return /*#__PURE__*/ _jsx(RangeSelector, {\n ...props,\n ref: inputRef,\n onBlur: onBlur,\n selectors: selectors,\n error: error0 ?? error1,\n hasError: hasError0 || hasError1\n });\n};\nexport const FormRangeSelector = (props)=>{\n if (props.selectors.length === 1) return /*#__PURE__*/ _jsx(FormRangeSingleSelector, {\n ...props\n });\n return /*#__PURE__*/ _jsx(FormRangeDoubleSelector, {\n ...props\n });\n};\nexport default RangeSelector;\n\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nimport { useSearcherLeiProps } from \"../../context/index.js\";\nimport useSearcherLeiDefaultValues from \"../../hooks/useSearcherLeiDefaultValues.js\";\nconst useDaysInput = ()=>{\n const props = useSearcherLeiProps();\n const { config, days } = props ?? {};\n const { literals } = config ?? {};\n const { items: daysItems = [] } = days ?? {};\n const defaultValues = useSearcherLeiDefaultValues(props);\n return useMemo(()=>({\n icon: 'hotel',\n label: literals?.daysLabel,\n literals: {\n accept: literals?.applyLabel\n },\n selectors: [\n {\n name: 'days',\n items: daysItems,\n defaultValue: defaultValues.days\n }\n ]\n }), [\n defaultValues.days,\n literals,\n daysItems\n ]);\n};\nexport default useDaysInput;\n\n//# sourceMappingURL=useDaysInput.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FormRangeSelector } from \"../../../../../forms/inputs/range-selector/index.js\";\nimport useDaysInput from \"./useDaysInput.js\";\nconst SearcherLeiDaysInput = ()=>{\n const daysInput = useDaysInput();\n return /*#__PURE__*/ _jsx(FormRangeSelector, {\n ...daysInput\n });\n};\nexport default SearcherLeiDaysInput;\n\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nimport { useSearcherLeiProps } from \"../../context/index.js\";\nimport useSearcherLeiDefaultValues from \"../../hooks/useSearcherLeiDefaultValues.js\";\nconst useMonthsInput = ()=>{\n const props = useSearcherLeiProps();\n const { config, months } = props ?? {};\n const { literals } = config ?? {};\n const { items: monthsItems = [] } = months ?? {};\n const defaultValues = useSearcherLeiDefaultValues(props);\n return useMemo(()=>({\n icon: 'calendar',\n label: literals?.monthsLabel,\n literals: {\n accept: literals?.applyLabel\n },\n selectors: [\n {\n name: 'months',\n items: monthsItems,\n defaultValue: defaultValues.months\n }\n ]\n }), [\n defaultValues.months,\n literals,\n monthsItems\n ]);\n};\nexport default useMonthsInput;\n\n//# sourceMappingURL=useMonthsInput.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FormRangeSelector } from \"../../../../../forms/inputs/range-selector/index.js\";\nimport useMonthsInput from \"./useMonthsInput.js\";\nconst SearcherLeiMonthsInput = ()=>{\n const monthsInput = useMonthsInput();\n return /*#__PURE__*/ _jsx(FormRangeSelector, {\n ...monthsInput\n });\n};\nexport default SearcherLeiMonthsInput;\n\n//# sourceMappingURL=index.js.map","import { parseFilters } from \"../../../../../helpers/url.js\";\n/* Build url */ export async function buildUrl(fieldValues, baseUrl, url = '/escapadas/resultados/') {\n const { months, days, categories } = fieldValues;\n const filters = {};\n if (months?.length === 2) {\n filters['startDate'] = months[0].value;\n filters['endDate'] = months[1].value;\n }\n if (days?.length === 2) {\n filters['minDays'] = days[0].value;\n filters['maxDays'] = days[1].value;\n }\n if (categories?.length) {\n filters['categories'] = `[${categories.map((option)=>option.value).join(', ')}]`;\n }\n let finalUrl = url;\n if (!finalUrl.startsWith('http')) finalUrl = `${baseUrl}${url}`;\n return `${finalUrl}?${parseFilters(filters)}`;\n}\n\n//# sourceMappingURL=url.js.map","import { useCallback, useContext } from \"react\";\nimport contextBabylon from \"../../../../../context/index.js\";\nimport useSubmitWithRedirect from \"../../../../../hooks/common/searchers/submit/useSubmitWithRedirect.js\";\nimport { buildUrl } from \"../utils/url.js\";\nimport useSearcherLeiDefaultValues from \"./useSearcherLeiDefaultValues.js\";\nconst useSearcherLeiForm = (props)=>{\n const { config } = props ?? {};\n const { url = '/escapadas/resultados/' } = config ?? {};\n const { BaseUrl } = useContext(contextBabylon);\n const defaultValues = useSearcherLeiDefaultValues(props);\n // Form\n const handleOnSubmit = useCallback(async (values)=>{\n const finalUrl = await buildUrl(values, BaseUrl, url);\n window.location.assign(finalUrl);\n }, [\n BaseUrl,\n url\n ]);\n const { onSubmit, isRedirecting, setRedirecting } = useSubmitWithRedirect(handleOnSubmit);\n return {\n onSubmit,\n isRedirecting,\n defaultValues,\n setRedirecting\n };\n};\nexport default useSearcherLeiForm;\n\n//# sourceMappingURL=useSearcherLeiForm.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Suspense, lazy } from \"react\";\nimport Form from \"../../../../../forms/others/form/index.js\";\nimport { SearcherLeiProvider } from \"../../context/index.js\";\nimport useSearcherLeiForm from \"../../hooks/useSearcherLeiForm.js\";\nconst SearcherLeiRedirectingModal = /*#__PURE__*/ lazy(()=>import(\"../redirecting-modal/index.js\"));\nconst SearcherLeiForm = ({ children, ...rootProps })=>{\n const props = 'data' in rootProps ? rootProps.data : rootProps.props;\n const { isRedirecting, defaultValues, onSubmit } = useSearcherLeiForm(props);\n return /*#__PURE__*/ _jsx(Form, {\n onSubmit: onSubmit,\n defaultValues: defaultValues,\n children: /*#__PURE__*/ _jsxs(SearcherLeiProvider, {\n value: props,\n children: [\n children,\n /*#__PURE__*/ _jsx(Suspense, {\n fallback: null,\n children: isRedirecting && /*#__PURE__*/ _jsx(SearcherLeiRedirectingModal, {})\n })\n ]\n })\n });\n};\nexport default SearcherLeiForm;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport Searcher from \"../../../searcher/index.js\";\nimport { SearcherItem } from \"../../../searcher/styled.js\";\nimport SearcherLeiButton from \"../../components/button/index.js\";\nimport SearcherCategoriesInput from \"../../components/categories-input/index.js\";\nimport SearcherLeiDaysInput from \"../../components/days-input/index.js\";\nimport SearcherLeiMonthsInput from \"../../components/months-input/index.js\";\nimport SearcherLeiForm from \"../../components/searcher-form/index.js\";\nconst SearcherLeiDesktopView = ()=>/*#__PURE__*/ _jsxs(Searcher, {\n \"data-testid\": \"SearcherLei\",\n children: [\n /*#__PURE__*/ _jsx(SearcherItem, {\n $variant: \"largest\",\n $grow: true,\n children: /*#__PURE__*/ _jsx(SearcherLeiMonthsInput, {})\n }),\n /*#__PURE__*/ _jsx(SearcherItem, {\n $variant: \"largest\",\n $grow: true,\n children: /*#__PURE__*/ _jsx(SearcherLeiDaysInput, {})\n }),\n /*#__PURE__*/ _jsx(SearcherItem, {\n $variant: \"largest\",\n $grow: true,\n children: /*#__PURE__*/ _jsx(SearcherCategoriesInput, {})\n }),\n /*#__PURE__*/ _jsx(SearcherLeiButton, {})\n ]\n });\nconst SearcherLeiDesktop = (props)=>/*#__PURE__*/ _jsx(SearcherLeiForm, {\n ...props,\n children: /*#__PURE__*/ _jsx(SearcherLeiDesktopView, {})\n });\nexport default SearcherLeiDesktop;\n\n//# sourceMappingURL=index.js.map","import styled from \"styled-components\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nimport { Margin } from \"../../../../../../styles/common/mixins/logical.styled.js\";\nexport const Placeholder = styled.div.withConfig({\n displayName: \"styled__Placeholder\",\n componentId: \"sc-7129c601-0\"\n})([\n \"::after{clear:both;content:'';display:table;}&.is-single{\",\n \"}\"\n], FlexMixin({\n justify: 'center'\n}));\nexport const RelatedList = styled.div.withConfig({\n displayName: \"styled__RelatedList\",\n componentId: \"sc-7129c601-1\"\n})([\n \"a:not(:last-child){\",\n \"}a{\",\n \" display:inline-block;color:\",\n \";\",\n \" text-decoration:none;}&.is-multiple{\",\n \" a:not(:last-child){\",\n \"}a{width:20%;}}\"\n], Margin({\n right: '28px'\n}), FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'base'\n}), (props)=>props.theme.colors.text.dark, Margin({\n bottom: '8px'\n}), FlexMixin({\n wrap: true\n}), Margin({\n right: '0'\n}));\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Children } from \"react\";\nimport InnerMarkdownHTML from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport { nullsToUndefined } from \"../../../../../../helpers/null.js\";\nimport * as S from \"./styled.js\";\nexport const TagsDesktopView = (props)=>{\n const { items = [], className } = props;\n return /*#__PURE__*/ _jsx(S.Placeholder, {\n \"data-testid\": \"Tags\",\n className: className,\n children: /*#__PURE__*/ _jsx(S.RelatedList, {\n className: className,\n children: Children.toArray(items.map((item)=>{\n const parsedItem = nullsToUndefined(item);\n return /*#__PURE__*/ _jsx(\"a\", {\n \"data-testid\": \"link\",\n href: parsedItem.href,\n title: parsedItem.title,\n target: parsedItem.target,\n children: /*#__PURE__*/ _jsx(InnerMarkdownHTML, {\n content: parsedItem.content\n })\n });\n }))\n })\n });\n};\nexport default TagsDesktopView;\n\n//# sourceMappingURL=index.js.map","import styled from \"styled-components\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nexport const TagsWrapper = styled.div.withConfig({\n displayName: \"styled__TagsWrapper\",\n componentId: \"sc-819b902d-0\"\n})([\n \"\",\n \" &.is-single{\",\n \"}\"\n], FlexMixin({\n wrap: true,\n justify: 'flex-start'\n}), FlexMixin({\n justify: 'center'\n}));\nexport const Tags = styled.a.withConfig({\n displayName: \"styled__Tags\",\n componentId: \"sc-819b902d-1\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";border-radius:4px;color:\",\n \";margin:4px;padding:4px 12px;text-decoration:none;\"\n], FlexMixin({}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'large'\n}), (props)=>props.theme.colors.grays.light, (props)=>props.theme.colors.grays.dark);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport InnerMarkdownHTML from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport { genKey } from \"../../../../../../helpers/keys.js\";\nimport { nullsToUndefined } from \"../../../../../../helpers/null.js\";\nimport * as S from \"./styled.js\";\nexport const TagsMobileView = (props)=>{\n const { items = [], className } = props;\n return /*#__PURE__*/ _jsx(S.TagsWrapper, {\n \"data-testid\": \"Tags\",\n className: className,\n children: items.map((item, index)=>{\n const parsedItem = nullsToUndefined(item);\n return /*#__PURE__*/ _jsx(S.Tags, {\n \"data-testid\": \"link\",\n href: parsedItem.href,\n title: parsedItem.title,\n target: parsedItem.target,\n children: /*#__PURE__*/ _jsx(InnerMarkdownHTML, {\n content: parsedItem.content\n })\n }, genKey(`${index}`));\n })\n });\n};\nexport default TagsMobileView;\n\n//# sourceMappingURL=index.js.map","import { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport TabsDesktopView from \"./views/desktop/index.js\";\nimport TabsMobileView from \"./views/mobile/index.js\";\nexport const Tags = generateViewsComponent(TabsDesktopView, TabsMobileView);\nexport default Tags;\n\n//# sourceMappingURL=index.js.map","import styled from \"styled-components\";\nimport { FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nimport { Margin, Padding } from \"../../../../../../styles/common/mixins/logical.styled.js\";\nexport const RelatedTitle = styled.p.withConfig({\n displayName: \"styled__RelatedTitle\",\n componentId: \"sc-a152106c-0\"\n})([\n \"\",\n \" color:\",\n \";\",\n \"\"\n], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.darker, Margin({\n bottom: '8px'\n}));\nexport const RelatedList = styled.div.withConfig({\n displayName: \"styled__RelatedList\",\n componentId: \"sc-a152106c-1\"\n})([\n \"\"\n]);\nexport const RelatedListWrapper = styled.div.withConfig({\n displayName: \"styled__RelatedListWrapper\",\n componentId: \"sc-a152106c-2\"\n})([\n \":not(:last-child){border-bottom:1px solid \",\n \";\",\n \" \",\n \"}\"\n], ({ theme })=>theme.colors.grays.light, Margin({\n bottom: '16px'\n}), Padding({\n bottom: '8px'\n}));\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport Tags from \"../../../../../structures/others/tags/index.js\";\nimport { genKey } from \"../../../../../../helpers/keys.js\";\nimport * as S from \"./styled.js\";\nexport const Links = ({ items })=>{\n if (items.length > 1) {\n return items.map((item)=>/*#__PURE__*/ _jsxs(S.RelatedListWrapper, {\n children: [\n /*#__PURE__*/ _jsx(S.RelatedTitle, {\n \"data-testid\": \"items\",\n children: item.title\n }),\n /*#__PURE__*/ _jsx(S.RelatedList, {\n children: /*#__PURE__*/ _jsx(Tags, {\n items: item.items\n }, item.title)\n })\n ]\n }, genKey(item.title)));\n }\n return items.map((item)=>/*#__PURE__*/ _jsx(S.RelatedListWrapper, {\n children: /*#__PURE__*/ _jsx(S.RelatedList, {\n children: /*#__PURE__*/ _jsx(Tags, {\n items: item.items,\n className: item.items.length <= 8 ? 'is-single' : 'is-multiple'\n }, item.title)\n })\n }, genKey(item.title)));\n};\nexport default Links;\n\n//# sourceMappingURL=index.js.map","import styled from \"styled-components\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nimport { Margin, Padding } from \"../../../../../../styles/common/mixins/logical.styled.js\";\nexport const Placeholder = styled.div.withConfig({\n displayName: \"styled__Placeholder\",\n componentId: \"sc-ab73e016-0\"\n})([\n \"\",\n \" ::after{clear:both;content:'';display:table;}\"\n], Margin({\n bottom: '40px'\n}));\nexport const LinksWrapper = styled.div.withConfig({\n displayName: \"styled__LinksWrapper\",\n componentId: \"sc-ab73e016-1\"\n})([\n \"\",\n \" \",\n \"\"\n], FlexMixin({\n direction: 'column'\n}), Padding({\n all: '20px'\n}));\nexport const Description = styled.div.withConfig({\n displayName: \"styled__Description\",\n componentId: \"sc-ab73e016-2\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" \",\n \" border-bottom:1px solid \",\n \";\"\n], ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium',\n height: 'medium'\n}), Padding({\n bottom: '16px'\n}), Margin({\n bottom: '16px'\n}), ({ theme })=>theme.colors.grays.light);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { InnerMarkdownHTML } from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport Title from \"../../../../../base/text/title/index.js\";\nimport { Container } from \"../../../../../../styles/common/mixins/container.styled.js\";\nimport Links from \"../../components/links/index.js\";\nimport * as S from \"./styled.js\";\nexport const LinksSeoDesktopView = ({ props })=>{\n const { title, items = [], description } = props ?? {};\n if (!items?.length) return null;\n return items?.length > 0 && /*#__PURE__*/ _jsx(Container, {\n \"data-testid\": \"LinksSeo\",\n children: /*#__PURE__*/ _jsxs(S.Placeholder, {\n children: [\n /*#__PURE__*/ _jsx(Title, {\n ...title\n }),\n /*#__PURE__*/ _jsxs(S.LinksWrapper, {\n children: [\n description && /*#__PURE__*/ _jsx(S.Description, {\n children: /*#__PURE__*/ _jsx(InnerMarkdownHTML, {\n content: description.content\n })\n }),\n /*#__PURE__*/ _jsx(Links, {\n items: items\n })\n ]\n })\n ]\n })\n });\n};\nexport default LinksSeoDesktopView;\n\n//# sourceMappingURL=index.js.map","export const linksSeoLeiConverter = (props)=>({\n name: 'LinksSeoLei',\n props: {\n title: {\n title: props.title\n },\n items: props.items\n }\n });\n\n//# sourceMappingURL=converter.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport LinksSeoDesktopView from \"../../../../../common/others/links-seo/views/desktop/index.js\";\nimport { linksSeoLeiConverter } from \"../../../../../../helpers/wrappers/lei/linksSeo/index.js\";\nconst LinksSeoLeiDesktop = (props)=>{\n const LinksSeoProps = linksSeoLeiConverter(props);\n return /*#__PURE__*/ _jsx(\"div\", {\n \"data-testid\": \"LinksSeoLeiDesktop\",\n children: /*#__PURE__*/ _jsx(LinksSeoDesktopView, {\n ...LinksSeoProps\n })\n });\n};\nexport default LinksSeoLeiDesktop;\n\n//# sourceMappingURL=index.js.map","import styled from \"styled-components\";\nimport Title from \"../../../../../base/text/title/index.js\";\nimport { TabsStyled } from \"../../../../../structures/others/tabs/styled.js\";\nimport { FlexMixin, FontMixin } from \"../../../../../../styles/common/mixins/helpers.styled.js\";\nimport { Margin, Padding } from \"../../../../../../styles/common/mixins/logical.styled.js\";\nexport const TitleLinks = styled(Title).withConfig({\n displayName: \"styled__TitleLinks\",\n componentId: \"sc-4dd1bfcf-0\"\n})([\n \"\",\n \" padding:0 16px;text-align:center;\"\n], Margin({\n bottom: '12px'\n}));\nexport const LinksWrapper = styled.div.withConfig({\n displayName: \"styled__LinksWrapper\",\n componentId: \"sc-4dd1bfcf-1\"\n})([\n \"\",\n \"{background-color:transparent;border-radius:0;box-shadow:none;}\"\n], TabsStyled);\nexport const TabsWrapper = styled.div.withConfig({\n displayName: \"styled__TabsWrapper\",\n componentId: \"sc-4dd1bfcf-2\"\n})([\n \"\",\n \" \",\n \"\"\n], FlexMixin({\n wrap: true,\n justify: 'flex-start'\n}), Padding({\n all: '20px'\n}));\nexport const LinkSeo = styled.a.withConfig({\n displayName: \"styled__LinkSeo\",\n componentId: \"sc-4dd1bfcf-3\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";border-radius:4px;color:\",\n \";\",\n \" padding:4px 12px;text-decoration:none;\"\n], FlexMixin({}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'large'\n}), (props)=>props.theme.colors.grays.light, (props)=>props.theme.colors.grays.dark, Margin({\n all: '4px'\n}));\nexport const Description = styled.div.withConfig({\n displayName: \"styled__Description\",\n componentId: \"sc-4dd1bfcf-4\"\n})([\n \"\",\n \" \",\n \" \",\n \" color:\",\n \";\"\n], FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'base'\n}), Margin({\n bottom: '4px'\n}), Padding({\n left: '20px',\n right: '20px'\n}), ({ theme })=>theme.colors.grays.darker);\n\n//# sourceMappingURL=styled.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Children, useState } from \"react\";\nimport { InnerMarkdownHTML } from \"../../../../../base/text/inner-markdown-HTML/index.js\";\nimport Tabs from \"../../../../../structures/others/tabs/index.js\";\nimport Tags from \"../../../../../structures/others/tags/index.js\";\nimport * as S from \"./styled.js\";\nexport const LinksSeoMobileView = ({ props })=>{\n const { items = [] } = props ?? {};\n const [selectedTab, setSelectedTab] = useState(0);\n const linksTabs = items.map((item, index)=>{\n const { items } = item;\n const props = {\n items\n };\n return {\n label: item.title,\n index,\n element: /*#__PURE__*/ _jsx(S.TabsWrapper, {\n \"data-testid\": \"tab\",\n children: Children.toArray(/*#__PURE__*/ _jsx(Tags, {\n ...props,\n className: 'is-single'\n }))\n })\n };\n });\n if (!items.length) return null;\n return items.length > 0 && /*#__PURE__*/ _jsxs(\"div\", {\n \"data-testid\": \"LinksSeo\",\n children: [\n /*#__PURE__*/ _jsx(S.TitleLinks, {\n ...props.title\n }),\n props.description && /*#__PURE__*/ _jsx(S.Description, {\n children: /*#__PURE__*/ _jsx(InnerMarkdownHTML, {\n content: props.description.content\n })\n }),\n items.length === 1 ? /*#__PURE__*/ _jsx(Tags, {\n items: items[0].items,\n className: 'is-single'\n }) : /*#__PURE__*/ _jsx(S.LinksWrapper, {\n children: /*#__PURE__*/ _jsx(Tabs, {\n selectedTab: selectedTab,\n onClick: setSelectedTab,\n tabs: linksTabs\n })\n })\n ]\n });\n};\nexport default LinksSeoMobileView;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport LinksSeoMobileView from \"../../../../../common/others/links-seo/views/mobile/index.js\";\nconst LinksSeoLeiMobile = (props)=>{\n const { title, items } = props;\n const convertedProps = {\n title: {\n title\n },\n items\n };\n return /*#__PURE__*/ _jsx(\"div\", {\n \"data-testid\": \"LinksSeoLeiMobile\",\n children: /*#__PURE__*/ _jsx(LinksSeoMobileView, {\n props: convertedProps\n })\n });\n};\nexport default LinksSeoLeiMobile;\n\n//# sourceMappingURL=index.js.map","import { generateViewsComponent } from \"../../../../helpers/views.js\";\nimport LinksSeoLeiDesktop from \"./views/desktop/index.js\";\nimport LinksSeoLeiMobile from \"./views/mobile/index.js\";\nexport const LinksSeoLei = generateViewsComponent(LinksSeoLeiDesktop, LinksSeoLeiMobile);\nexport default LinksSeoLei;\n\n//# sourceMappingURL=index.js.map","import { useMemo } from \"react\";\nimport { useSearcherLeiProps } from \"../../context/index.js\";\nimport useSearcherLeiDefaultValues from \"../../hooks/useSearcherLeiDefaultValues.js\";\nconst useDatesInput = ()=>{\n const props = useSearcherLeiProps();\n const { config, months, days } = props ?? {};\n const { literals } = config ?? {};\n const { items: monthsItems = [] } = months ?? {};\n const { items: daysItems = [] } = days ?? {};\n const defaultValues = useSearcherLeiDefaultValues(props);\n return useMemo(()=>({\n label: literals?.daysLabel,\n literals: {\n accept: literals?.applyLabel,\n title: literals?.datesTitle\n },\n selectors: [\n {\n name: 'months',\n items: monthsItems,\n defaultValue: defaultValues.months,\n label: literals?.monthsLabel\n },\n {\n name: 'days',\n items: daysItems,\n defaultValue: defaultValues.days,\n label: literals?.daysLabel\n }\n ]\n }), [\n defaultValues.days,\n defaultValues.months,\n literals?.applyLabel,\n literals?.datesTitle,\n literals?.daysLabel,\n literals?.monthsLabel,\n daysItems,\n monthsItems\n ]);\n};\nexport default useDatesInput;\n\n//# sourceMappingURL=useDatesInput.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FormRangeSelector } from \"../../../../../forms/inputs/range-selector/index.js\";\nimport useDatesInput from \"./useDatesInput.js\";\nconst SearcherLeiDatesInput = ()=>{\n const datesInput = useDatesInput();\n return /*#__PURE__*/ _jsx(FormRangeSelector, {\n ...datesInput\n });\n};\nexport default SearcherLeiDatesInput;\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport Searcher from \"../../../searcher/index.js\";\nimport { SearcherItem } from \"../../../searcher/styled.js\";\nimport SearcherLeiButton from \"../../components/button/index.js\";\nimport SearcherCategoriesInput from \"../../components/categories-input/index.js\";\nimport SearcherLeiDatesInput from \"../../components/dates-input/index.js\";\nimport SearcherLeiForm from \"../../components/searcher-form/index.js\";\nconst SearcherLeiMobileView = ()=>/*#__PURE__*/ _jsxs(Searcher, {\n \"data-testid\": \"SearcherLei\",\n children: [\n /*#__PURE__*/ _jsx(SearcherItem, {\n children: /*#__PURE__*/ _jsx(SearcherLeiDatesInput, {})\n }),\n /*#__PURE__*/ _jsx(SearcherItem, {\n children: /*#__PURE__*/ _jsx(SearcherCategoriesInput, {})\n }),\n /*#__PURE__*/ _jsx(SearcherLeiButton, {})\n ]\n });\nconst SearcherLeiMobile = (props)=>/*#__PURE__*/ _jsx(SearcherLeiForm, {\n ...props,\n children: /*#__PURE__*/ _jsx(SearcherLeiMobileView, {})\n });\nexport default SearcherLeiMobile;\n\n//# sourceMappingURL=index.js.map"],"file":"cdn-placeholder/babylon/packages/logitravel-leisure/client/chunks/index.b3a902b7.js"}