{"version":3,"file":"index.BAuOqb-d.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-searchers/esm/components/searchers/searcher-tou/views/desktop/index.mjs"],"sourcesContent":["import { jsx, jsxs } from 'react/jsx-runtime';\nimport Searcher from '../../../../others/searcher/index.mjs';\nimport { SearcherItem, SearcherItemWithMaxWidth } from '../../../../others/searcher/styled.mjs';\nimport SearcherTouButton from '../../components/button/index.mjs';\nimport SearcherTouDateInput from '../../components/date-input/index.mjs';\nimport SearcherTouDestinationInput from '../../components/destination-input/index.mjs';\nimport SearcherTouDurationInput from '../../components/duration-input/index.mjs';\nimport SearcherTouFlexibilityInput from '../../components/flexibility-input/index.mjs';\nimport SearcherTouOriginInput from '../../components/origin-input/index.mjs';\nimport SearcherTouPassengersInput from '../../components/passengers-input/index.mjs';\nimport SearcherTouForm from '../../components/searcher-form/index.mjs';\nimport { useSearcherTouProps } from '../../context/index.mjs';\n\nconst SearcherTouDesktopView = ()=>{\n const props = useSearcherTouProps();\n const { config } = props ?? {};\n const { onModal = false } = config ?? {};\n return /*#__PURE__*/ jsxs(Searcher, {\n \"data-testid\": \"SearcherTou\",\n middleProps: {\n $isModal: onModal\n },\n children: [\n /*#__PURE__*/ jsx(SearcherItem, {\n $variant: \"medium\",\n children: /*#__PURE__*/ jsx(SearcherTouDestinationInput, {})\n }),\n /*#__PURE__*/ jsx(SearcherItem, {\n $variant: \"medium\",\n children: /*#__PURE__*/ jsx(SearcherTouOriginInput, {})\n }),\n /*#__PURE__*/ jsx(SearcherItemWithMaxWidth, {\n $variant: \"medium\",\n children: /*#__PURE__*/ jsx(SearcherTouDurationInput, {})\n }),\n /*#__PURE__*/ jsxs(SearcherItem, {\n $variant: \"medium\",\n $grow: true,\n children: [\n /*#__PURE__*/ jsx(SearcherTouDateInput, {}),\n /*#__PURE__*/ jsx(SearcherTouFlexibilityInput, {})\n ]\n }),\n /*#__PURE__*/ jsx(SearcherItemWithMaxWidth, {\n $variant: \"medium\",\n children: /*#__PURE__*/ jsx(SearcherTouPassengersInput, {})\n }),\n /*#__PURE__*/ jsx(SearcherTouButton, {})\n ]\n });\n};\nconst SearcherTouDesktop = (props)=>/*#__PURE__*/ jsx(SearcherTouForm, {\n ...props,\n children: /*#__PURE__*/ jsx(SearcherTouDesktopView, {})\n });\n\nexport { SearcherTouDesktop as default };\n//# sourceMappingURL=index.mjs.map\n"],"names":["SearcherTouDesktopView","props","useSearcherTouProps","config","onModal","jsxs","Searcher","jsx","SearcherItem","SearcherTouDestinationInput","SearcherTouOriginInput","SearcherItemWithMaxWidth","SearcherTouDurationInput","SearcherTouDateInput","SearcherTouFlexibilityInput","SearcherTouPassengersInput","SearcherTouButton","SearcherTouDesktop","SearcherTouForm"],"mappings":"4WAaA,MAAMA,EAAyB,IAAI,CAC/B,MAAMC,EAAQC,IACR,CAAE,OAAAC,CAAM,EAAKF,GAAS,GACtB,CAAE,QAAAG,EAAU,IAAUD,GAAU,CAAA,EACtC,OAAqBE,EAAAA,KAAKC,EAAU,CAChC,cAAe,cACf,YAAa,CACT,SAAUF,CACb,EACD,SAAU,CACQG,EAAAA,IAAIC,EAAc,CAC5B,SAAU,SACV,SAAwBD,EAAAA,IAAIE,EAA6B,EAAE,CAC3E,CAAa,EACaF,EAAAA,IAAIC,EAAc,CAC5B,SAAU,SACV,SAAwBD,EAAAA,IAAIG,EAAwB,EAAE,CACtE,CAAa,EACaH,EAAAA,IAAII,EAA0B,CACxC,SAAU,SACV,SAAwBJ,EAAAA,IAAIK,EAA0B,EAAE,CACxE,CAAa,EACaP,EAAAA,KAAKG,EAAc,CAC7B,SAAU,SACV,MAAO,GACP,SAAU,CACQD,EAAG,IAACM,EAAsB,EAAE,EAC5BN,EAAG,IAACO,EAA6B,EAAE,CACpD,CACjB,CAAa,EACaP,EAAAA,IAAII,EAA0B,CACxC,SAAU,SACV,SAAwBJ,EAAAA,IAAIQ,EAA4B,EAAE,CAC1E,CAAa,EACaR,EAAG,IAACS,EAAmB,EAAE,CAC1C,CACT,CAAK,CACL,EACMC,EAAsBhB,GAAsBM,EAAG,IAACW,EAAiB,CAC/D,GAAGjB,EACH,SAAwBM,EAAAA,IAAIP,EAAwB,EAAE,CACzD,CAAA","x_google_ignoreList":[0]}