{ "version": 3, "sources": ["../../../../../../internal/esbuild/entrypoints/modern/classic/discover.ts", "sentry-debug-id-stub:_sentry-debug-id-injection-stub?sentry-module-id=14c2439e-709a-49ed-be39-8624d8221f05", "../../../../../../internal/esbuild/entrypoints/modern/classic/discover.ts", "../../src/modern/features/discover/index.js", "../../src/modern/features/discover/utils/data.js", "../../src/modern/features/discover/App.js", "../../src/modern/components/Menu/Sausage/index.js", "../../src/modern/components/Menu/Sausage/item.js", "../../src/modern/components/Menu/Sausage/list.js", "../../src/modern/components/PartnersOperationsSection/PartnersOperationsSection.js", "../../src/modern/components/PartnersOperationsSection/PartnersList.js", "../../src/modern/features/discover/views/SearchSection.js", "../../src/modern/features/discover/utils/filters.js", "../../src/modern/features/discover/components/searchbar/index.js", "../../src/modern/features/discover/components/searchbar/styles.js", "../../src/modern/features/discover/components/searchbar/AutosizeInput.js", "../../src/modern/features/discover/components/filtersbar/index.js", "../../src/modern/features/discover/components/filtersbar/MobileFiltersList.js", "../../src/modern/features/discover/components/filtersbar/HorizontalScroller.js", "../../src/modern/features/discover/components/filtersbar/styles.js", "../../src/modern/features/discover/components/filtersbar/DesktopFiltersList.js", "../../src/modern/features/discover/components/filtersbar/FilterOptionsList.js", "../../src/modern/features/discover/components/noresults/index.js", "../../src/modern/features/discover/components/noresults/styles.js", "../../src/modern/features/discover/components/results/index.js"], "sourcesContent": ["\n import \"_sentry-debug-id-injection-stub\";\n import * as OriginalModule from \"./internal/esbuild/entrypoints/modern/classic/discover.ts\";\n export default OriginalModule.default;\n export * from \"./internal/esbuild/entrypoints/modern/classic/discover.ts\";", ";{try{let e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\"6e23e345-1521-4cbf-968c-83b19ca3f292\",e._sentryDebugIdIdentifier=\"sentry-dbid-6e23e345-1521-4cbf-968c-83b19ca3f292\")}catch(e){}};", "import '@owl-nest/polyfill'\nimport '../../../../../src/ulule/static/site/src/modern/features/init/index.js'\nimport '../../../../../src/ulule/static/site/src/modern/features/discover/index.js'\n", "import * as React from 'react'\nimport * as ReactDOM from 'react-dom/client'\n\nimport * as logger from '@owl-nest/logger'\nimport { getCurrentLanguage } from '$features/init/language'\nimport { getCurrentCurrency } from '$features/init/currency'\nimport { processData } from './utils/data'\nimport App from './App'\n\nconst renderApp = (language, country, currency) => {\n logger.setTag('feature', 'discover')\n\n if (process.env.NODE_ENV !== 'production') {\n console.log(`React is renderering app for language=${language} country=${country}`)\n }\n\n // Process JSON data before give it to React app\n const json = processData(window.DISCOVER_DATA, country, language)\n\n // Render app\n const categories = window.DISCOVER_DATA.categories\n const isAuthenticated = window.UFE.user.is_authenticated\n const urls = window.UFE.urls\n const modalImg = window.UFE.assets.modalRemindMe\n\n const container = document.getElementById('react-app-root')\n const root = ReactDOM.createRoot(container)\n root.render(\n ,\n )\n}\n\n// Initialize application after fetching geolocation in init.es6.js\n// TODO @ludovic: init a React application with portals to\n// render faster elements that not required location\nwindow.addEventListener('js:location:loaded', async (event) => {\n const currentLocation = event.detail\n const currentCountryCode =\n currentLocation && currentLocation.country_code ? currentLocation.country_code : window.UFE.defaultCountry\n\n const currentLanguage = getCurrentLanguage()\n\n let currentCurrency\n\n try {\n currentCurrency = await getCurrentCurrency()\n } catch (error) {\n console.error(error)\n }\n\n renderApp(currentLanguage, currentCountryCode, currentCurrency)\n})\n", "export const processData = (json, currentCountry, currentLanguage) => {\n // TODO: Temporarily hide filters cities and regions for all countries (until it works)\n const processedJson = { ...json, filters: json.filters.filter(f => f.name !== 'regions' && f.name !== 'cities') }\n\n if (currentCountry === 'FR' && processedJson.partners && processedJson.partners['FR']) {\n return ({ ...processedJson, partnersOperations: processedJson.partners['FR'] })\n }\n\n return processedJson\n}\n", "import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { t } from '@ulule/localize'\n\nimport { mainUrlsShape } from '$utils/prop-types'\n\nimport SausageMenu from '$components/Menu/Sausage'\nimport PartnersOperationsSection from '$components/PartnersOperationsSection/PartnersOperationsSection'\nimport SearchSection from './views/SearchSection'\n\nclass App extends React.Component {\n render() {\n return (\n \n \n
\n \n
\n {this.props.partnersOperations && (\n \n )}\n
\n )\n }\n}\n\nApp.propTypes = {\n categories: PropTypes.array.isRequired,\n filters: PropTypes.array.isRequired,\n sorting: PropTypes.array.isRequired,\n currentLanguage: PropTypes.string.isRequired,\n currentCurrency: PropTypes.string.isRequired,\n currentCountry: PropTypes.string.isRequired,\n urls: mainUrlsShape.isRequired,\n isAuthenticated: PropTypes.bool.isRequired,\n rates: PropTypes.object.isRequired,\n partnersOperations: PropTypes.object,\n modalImg: PropTypes.object.isRequired\n}\n\nexport default App\n", "import React from 'react'\nimport ReactDOM from 'react-dom'\nimport MediaQuery from 'react-responsive'\nimport styled from 'styled-components'\n\nimport { SausageItem } from './item'\nimport { SausageList } from './list'\n\nconst SausageWrapper = styled.div`\n overflow: hidden;\n white-space: nowrap;\n width: 100%;\n height: 75px;\n border-top: 1px solid #e0e0e0;\n border-bottom: 1px solid #e0e0e0;\n align-items: center;\n display: flex;\n padding: 0;\n background-color: #faf8f5;\n\n @media (max-width: 768px) {\n width: 100%;\n overflow-x: scroll;\n }\n`\n\nclass Sausage extends React.Component {\n constructor(props) {\n super(props)\n\n this.state = {\n hover: false\n }\n }\n\n componentDidMount() {\n const body = ReactDOM.findDOMNode(this)\n\n const list = body.firstChild\n const listSize = list.getBoundingClientRect()\n this.setState({\n width: listSize.width\n })\n }\n\n handleHover = hoverState => {\n this.setState({\n hover: hoverState\n })\n }\n\n render() {\n const { items } = this.props\n const { width, hover } = this.state\n return (\n this.handleHover(false)}\n onMouseOver={() => this.handleHover(true)}\n >\n \n {items &&\n items.length &&\n items.map((element, key) => {\n return \n })}\n \n \n \n {items &&\n items.length &&\n items.map((element, key) => {\n return \n })}\n \n \n \n )\n }\n}\n\nexport default Sausage\n", "import React from 'react'\nimport styled from 'styled-components'\n\nimport { RegularText, COLORS } from '@ulule/owl-kit-components'\n\nconst SausageItemWrapper = styled.li`\n margin-left: 17px;\n margin-right: 17px;\n`\n\nconst SausageItemText = styled(RegularText)`\n font-size: 13px;\n font-weight: bold;\n color: ${COLORS.PRIMARY_BLUE};\n text-transform: uppercase;\n\n &:hover {\n color: ${COLORS.PRIMARY_BLUE_HOVER};\n }\n`\n\nexport const SausageItem = ({ element }) => (\n \n \n {element && element.name}\n \n \n)\n", "import styled, { keyframes } from 'styled-components'\n\nconst anim = keyframes`\n from {\n transform: translateX(0%);\n }\n to {\n transform: translateX(-100%);\n }\n`\n\nexport const SausageList = styled.ul`\n list-style: none;\n display: inline-flex;\n animation: ${anim} 140s linear infinite;\n animation-play-state: ${props => (props.isHover ? 'paused' : 'running')};\n padding: 0;\n\n @media (max-width: 768px) {\n animation-play-state: paused;\n }\n`\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { BREAKPOINTS, CallToAction } from '@ulule/owl-kit-components'\n\nimport PartnersList from './PartnersList'\n\nconst CallToActionSection = ({ url, title, description }) => (\n \n \n {title}\n \n

{description && }

\n
\n)\n\nconst CTAWrapper = styled.div`\n margin-top: 40px;\n margin-bottom: 40px;\n\n p {\n text-align: center;\n }\n`\n\nexport const ChannelsCTAWrapper = styled.a`\n width: 100%;\n\n @media screen and ${BREAKPOINTS.TABLET} {\n width: auto;\n }\n`\n\nconst TitleWrapper = styled.div`\n margin: 0 auto;\n max-width: 1100px;\n\n @media screen and ${BREAKPOINTS.TABLET} {\n padding: 0 20px;\n }\n`\n\nconst Wrapper = styled.div`\n flex: 1;\n width: 100%;\n display: flex;\n justify-content: center;\n`\n\nconst PartnersOperationsSection = (props) => {\n const { cta, partners, prefixClass, title } = props\n\n if (!partners.length) {\n return null\n }\n\n return (\n
\n
\n {title && (\n \n

{title}

\n
\n )}\n\n
\n \n \n \n {cta && }\n
\n
\n
\n )\n}\n\nPartnersOperationsSection.defaultProps = {\n cta: null,\n}\n\nPartnersOperationsSection.propTypes = {\n cta: PropTypes.shape({\n title: PropTypes.string,\n url: PropTypes.string,\n description: PropTypes.string,\n }),\n partners: PropTypes.arrayOf(PropTypes.object).isRequired,\n prefixClass: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n}\n\nexport default PartnersOperationsSection\n", "import React from 'react'\n\nimport { Carousel } from '@ulule/owl-kit-components'\nimport { PartnerCard } from '@ulule/owl-kit-components/next'\n\nimport SponsorshipTracker from '../SponsorshipTracker/SponsorshipTracker'\nimport { getResourceUrl } from '$models/resources'\n\nclass PartnersList extends React.Component {\n constructor(props) {\n super(props)\n\n // Filter all partners without title or description\n const partners = props.partners.filter((p) => p.title && p.description)\n\n // NOTE: carousel needs to have good values on first render\n const initialState = this.getInitialState(partners)\n\n this.state = {\n partners,\n ...initialState,\n }\n }\n\n getInitialState = (children) => {\n let nbColumns = 4\n let nbRows = 2\n let shouldDisplayNav = true\n let shouldDisplayOverflow = false\n\n // mobile size\n if (window.matchMedia('(max-width: 600px)').matches) {\n shouldDisplayNav = false\n shouldDisplayOverflow = true\n nbRows = 1\n } else if (window.matchMedia('(max-width: 1024px)').matches) {\n shouldDisplayNav = false\n shouldDisplayOverflow = true\n nbColumns = 3\n nbRows = 2\n }\n\n if (children && children.length < 8) {\n nbRows = 1\n }\n\n if (children && children.length <= 4) {\n shouldDisplayNav = false\n nbColumns = children.length\n }\n\n const state = {\n shouldDisplayNav,\n shouldDisplayOverflow,\n nbColumns,\n nbRows,\n }\n\n return state\n }\n\n updateCarouselConfig = () => {\n const newState = this.getInitialState(this.state.partners)\n this.setState(newState)\n }\n\n componentDidMount() {\n this.updateCarouselConfig()\n\n window.addEventListener('resize', this.updateCarouselConfig)\n }\n\n componentWillUnmount() {\n window.addEventListener('resize', this.updateCarouselConfig)\n }\n\n render() {\n const { partners, shouldDisplayNav, shouldDisplayOverflow, nbColumns, nbRows } = this.state\n\n return (\n \n {partners.length > 0 &&\n partners.map((partner, index) => {\n return (\n \n \n \n )\n })}\n \n )\n }\n}\n\nexport default PartnersList\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport qs from 'qs'\n\nimport { t } from '@ulule/localize'\nimport { FlashMessage } from '@ulule/owl-kit-components'\n\nimport { mainUrlsShape } from '$utils/prop-types'\nimport { fetchSearchProjects, fetchSearchMoreProjects } from '../services'\nimport { getFilterByName } from '../utils/filters'\n\nimport SearchBar from '../components/searchbar'\nimport FiltersBar from '../components/filtersbar'\nimport NoResults from '../components/noresults'\nimport Results from '../components/results'\n\nconst SEARCH_API_FILTERS = {\n categories: {\n defaultValue: 'all',\n qualifier: 'tag_id',\n valueAttribute: 'id'\n },\n statuses: {\n defaultValue: 'all',\n qualifier: 'status',\n valueAttribute: 'value'\n },\n languages: {\n defaultValue: 'all',\n qualifier: 'lang',\n valueAttribute: 'value'\n },\n countries: {\n defaultValue: 'all',\n qualifier: 'country',\n valueAttribute: 'value'\n },\n regions: {\n defaultValue: 'all',\n qualifier: 'region_id',\n valueAttribute: 'id'\n },\n cities: {\n defaultValue: 'all',\n qualifier: 'city_id',\n valueAttribute: 'id'\n }\n}\n\nconst DEFAULT_SORTING = 'popular'\nconst DEFAULT_OFFSET = 0\nconst DEFAULT_LIMIT = 16\n\nclass SearchSection extends React.Component {\n constructor(props) {\n super(props)\n\n this.state = {\n results: [],\n savedResults: null,\n meta: {\n offset: DEFAULT_OFFSET,\n start: DEFAULT_OFFSET,\n limit: DEFAULT_LIMIT,\n totalCount: 0,\n next: null,\n previous: null\n },\n isFetching: true,\n isFetchingMore: false,\n isFetchingPrevious: false,\n error: null,\n errorFetchingMore: false,\n errorFetchingPrevious: false\n }\n\n if (window && window.location) {\n const { sorting, search, offset, limit, ...filters } = this.parseQueryString(window.location.search)\n const searchValue = search && search.length > 0 && search[search.length - 1]\n const sortingValue = sorting && sorting.length > 0 && sorting[sorting.length - 1]\n\n const start = Number(offset) || DEFAULT_OFFSET\n\n this.state = {\n ...this.state,\n ...this.getInitialState(filters, searchValue, sortingValue, { offset, limit, start })\n }\n }\n }\n\n getInitialState = (filters = {}, search = '', sorting = DEFAULT_SORTING, meta = {}) => {\n return {\n meta: {\n ...this.state.meta,\n ...meta\n },\n currentFilters: {\n categories: ['all'],\n countries: ['all'],\n regions: ['all'],\n cities: ['all'],\n statuses: [search ? 'all' : 'currently'],\n languages: ['all'],\n ...filters\n },\n currentSearch: search,\n currentSearchInput: search,\n currentSorting: sorting\n }\n }\n\n parseQueryString = queryParams => {\n const parameters = qs.parse(queryParams, { ignoreQueryPrefix: true })\n const normalizedParamaters = {}\n\n Object.keys(parameters).forEach(key => {\n if (Array.isArray(parameters[key]) || key === 'offset') {\n normalizedParamaters[key] = parameters[key]\n } else {\n normalizedParamaters[key] = [parameters[key]]\n }\n })\n\n return normalizedParamaters\n }\n\n parseQualifiers = () => {\n const input = {\n sort: this.state.currentSorting\n }\n\n Object.keys(this.state.currentFilters).forEach(key => {\n if (\n this.state.currentFilters[key] &&\n this.state.currentFilters[key].length > 0 &&\n SEARCH_API_FILTERS[key] &&\n this.state.currentFilters[key][0] !== SEARCH_API_FILTERS[key].defaultValue\n ) {\n const qualifierEntry = SEARCH_API_FILTERS[key]\n const filter = getFilterByName(this.props.filters, key)\n\n // convert filter parameter based on valueAttributed defined in qualifier (e.g. region_id)\n const currentFilters = this.state.currentFilters[key].map(currentValue => {\n filter.options.forEach(option => {\n if (currentValue === option.value) {\n currentValue = option[qualifierEntry.valueAttribute]\n }\n })\n\n return currentValue\n })\n\n input[qualifierEntry.qualifier] = currentFilters\n }\n })\n\n // fallback to tags if the category cannot be found\n if (input.tag_id && this.props.tags) {\n input.tag_id = input.tag_id.map(currentValue => {\n this.props.tags.forEach(tag => {\n if (currentValue === tag.slug) {\n currentValue = tag.id\n }\n })\n\n return currentValue\n })\n }\n\n input['quality_score__not'] = 'X'\n\n return input\n }\n\n setQueryParam = (name, value, reset = false) => {\n const currentQueryParams = reset ? '' : window.location.search\n\n // Parse current query params in location\n // and add new query param\n const parsed = qs.parse(currentQueryParams, { ignoreQueryPrefix: true })\n parsed[name] = value\n\n // Stringify all new query params\n const stringified = qs.stringify(parsed)\n\n // Replace current URL in history\n const character = stringified.length > 0 ? '?' : ''\n window.history.replaceState(null, null, `${window.location.pathname}${character}${stringified}`)\n }\n\n updateFilter = (filterName, optionValue) => {\n // Should reset meta to avoid to request with old meta\n this.setState({\n currentFilters: {\n ...this.state.currentFilters,\n [filterName]: [optionValue]\n },\n meta: {\n offset: DEFAULT_OFFSET,\n limit: DEFAULT_LIMIT,\n totalCount: 0,\n next: null,\n previous: null\n }\n })\n\n this.setQueryParam(filterName, optionValue)\n this.setQueryParam('offset', 0)\n }\n\n updateSorting = ({ value }) => {\n this.setState({ currentSorting: value, meta: { ...this.state.meta, offset: DEFAULT_OFFSET } })\n this.setQueryParam('sorting', value)\n }\n\n handleSearchUpdate = (value, callback) => {\n // NOTE: register value in a different state to detect change in request api\n this.setState({ currentSearchInput: value }, callback)\n }\n\n onSearchChange = event => {\n const value = event.target && event.target.value\n this.handleSearchUpdate(value)\n }\n\n onSearchReset = () => {\n this.setQueryParam('search', undefined)\n this.handleSearchUpdate('', this.requestResults)\n this.setState({ currentSearch: '' })\n }\n\n onSearchSubmit = event => {\n event.preventDefault()\n\n if (this.state.currentSearchInput !== this.state.currentSearch) {\n const value = this.state.currentSearchInput || undefined\n this.setQueryParam('search', value, true)\n\n // Reinitialize global state when searching\n const state = this.getInitialState({}, this.state.currentSearchInput, undefined, { offset: DEFAULT_OFFSET })\n\n this.setState(state)\n }\n }\n\n handleLoadMore = event => {\n event.preventDefault()\n\n this.requestMoreResults()\n }\n\n handleLoadPrevious = event => {\n event.preventDefault()\n\n this.requestPreviousResults()\n }\n\n handleCloseError = event => {\n event.preventDefault()\n\n this.setState({ error: null })\n }\n\n handleFetchingError = (error, isFetchingMore = false, isFetchingPrevious = false) => {\n const errorProps = {\n level: 'alert',\n message: t(\n 'Oops... an error occured. Please refresh the page to retry. If the error persist, please contact support.'\n ),\n ...error\n }\n\n this.setState({\n ...this.oldState,\n isFetching: false,\n isFetchingMore: false,\n error: errorProps,\n errorFetchingMore: isFetchingMore && !isFetchingPrevious,\n errorFetchingPrevious: isFetchingPrevious\n })\n }\n\n handleFetchingSuccess = (results, meta, isFetchingMore = false, isFetchingPrevious = false) => {\n this.setState({\n isFetching: false,\n isFetchingMore: false,\n isFetchingPrevious: false,\n results: results\n ? isFetchingMore\n ? isFetchingPrevious\n ? [...results, ...this.state.results]\n : [...this.state.results, ...results]\n : results\n : [],\n meta: {\n ...this.state.meta,\n ...meta,\n totalCount: meta.total_count\n }\n })\n }\n\n handleFetchingPending = (quantityFetched = DEFAULT_LIMIT, isFetchingMore = false, isFetchingPrevious = false) => {\n // Save the old state in case of error\n this.oldState = this.state\n\n this.setState({\n results: isFetchingMore ? this.state.results : [],\n quantityFetched,\n isFetching: !isFetchingMore,\n isFetchingMore: isFetchingMore && !isFetchingPrevious,\n isFetchingPrevious\n })\n }\n\n requestMoreResults = async () => {\n const { isAuthenticated } = this.props\n\n const quantity = Math.min(\n this.state.meta.totalCount - this.state.meta.offset - this.state.meta.limit,\n this.state.meta.limit\n )\n\n this.handleFetchingPending(quantity, true)\n\n try {\n const response = await fetchSearchMoreProjects(this.state.meta.next, isAuthenticated)\n\n const url = new URL(window.location.href)\n const next = new URLSearchParams(this.state.meta.next)\n url.searchParams.set('offset', next.get('offset'))\n history.replaceState(history.state, window.title, url.href)\n\n this.handleFetchingSuccess(response.projects, response.meta, true)\n } catch (error) {\n this.handleFetchingError(error)\n }\n }\n\n requestPreviousResults = async () => {\n const { isAuthenticated } = this.props\n\n const totalCount = this.state.meta.totalCount\n const previous = this.state.meta.start - this.state.meta.limit\n const quantity = this.state.meta.start - Math.max(previous, 0)\n\n this.handleFetchingPending(quantity, true, true)\n\n try {\n const search = new URLSearchParams(this.state.meta.next)\n search.set('offset', Math.max(previous, 0))\n search.set('limit', quantity)\n\n const response = await fetchSearchMoreProjects(`?${search.toString()}`, isAuthenticated)\n\n const url = new URL(window.location.href)\n url.searchParams.set('offset', Math.max(previous, 0))\n history.replaceState(history.state, window.title, url.href)\n\n this.handleFetchingSuccess(response.projects, { total_count: totalCount, start: previous }, true, true)\n } catch (error) {\n this.handleFetchingError(error)\n }\n }\n\n requestResults = async () => {\n this.handleFetchingPending()\n const { isAuthenticated } = this.props\n const { currentSearchInput } = this.state\n\n try {\n const qualifiers = this.parseQualifiers()\n\n const params = {\n lang: this.props.currentLanguage,\n offset: this.state.meta.offset,\n limit: this.state.meta.limit\n }\n\n const response = await fetchSearchProjects(this.state.currentSearchInput, qualifiers, params, isAuthenticated)\n\n this.handleFetchingSuccess(response.projects, response.meta)\n } catch (error) {\n this.handleFetchingError(error)\n }\n }\n\n componentDidMount() {\n // Fetch projects for the first time\n this.requestResults()\n }\n\n componentDidUpdate(prevProps, prevState) {\n // Fetch projects each time filters or sorting is updating\n // TODO: add shallow comparison to be more performant\n if (\n prevState.currentFilters !== this.state.currentFilters ||\n prevState.currentSorting !== this.state.currentSorting\n ) {\n this.requestResults()\n }\n }\n\n render() {\n return (\n \n \n {this.state.error && (\n \n {this.state.error.message}\n \n )}\n
\n \n
\n {!this.state.isFetching && this.state.meta.totalCount === 0 ? (\n \n ) : (\n 0}\n canLoadMore={this.state.meta.next !== null}\n isFetchingPrevious={this.state.isFetchingPrevious}\n errorFetchingPrevious={this.state.errorFetchingPrevious}\n handleLoadPrevious={this.handleLoadPrevious}\n isFetching={this.state.isFetching}\n isFetchingMore={this.state.isFetchingMore}\n errorFetchingMore={this.state.errorFetchingMore}\n resultsCount={this.state.meta.totalCount}\n sorting={this.props.sorting}\n currentSorting={this.state.currentSorting}\n updateSorting={this.updateSorting}\n handleLoadMore={this.handleLoadMore}\n results={this.state.results}\n currentLanguage={this.props.currentLanguage}\n currentCurrency={this.props.currentCurrency}\n rates={this.props.rates}\n urls={this.props.urls}\n isAuthenticated={this.props.isAuthenticated}\n modalImg={this.props.modalImg}\n />\n )}\n
\n )\n }\n}\n\nSearchSection.propTypes = {\n filters: PropTypes.array.isRequired,\n sorting: PropTypes.array.isRequired,\n currentLanguage: PropTypes.string.isRequired,\n currentCurrency: PropTypes.string.isRequired,\n currentCountry: PropTypes.string.isRequired,\n urls: mainUrlsShape.isRequired,\n isAuthenticated: PropTypes.bool.isRequired,\n rates: PropTypes.object.isRequired,\n modalImg: PropTypes.object.isRequired\n}\n\nexport default SearchSection\n", "export const getFilterByName = (filters, name) => {\n return filters.find(filter => filter.name === name)\n}\n\nexport const getOptionByValue = (options, value) => {\n return options.find(option => option.value === value)\n}\n", "import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { t } from '@ulule/localize'\nimport { Icon } from '@ulule/owl-kit-components'\n\nimport * as S from './styles'\n\nclass SearchBar extends React.PureComponent {\n componentDidMount() {\n if (!this.props.value) {\n this.autoFocus()\n }\n }\n\n autoFocus() {\n this.input.focus()\n }\n\n render() {\n const { value, onChange, onSubmit, onReset, displayReset } = this.props\n\n return (\n \n {!value.length && (\n \n \n \n )}\n { this.input = ref }}\n onChange={onChange}\n placeholder={t('Search')}\n value={value}\n style={{ fontSize: 28 }}\n />\n {value.length > 0 && (\n \n \n \n )}\n \n )\n }\n}\n\nSearchBar.defaultProps = {\n value: '',\n}\n\nSearchBar.propTypes = {\n onChange: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n onReset: PropTypes.func.isRequired,\n value: PropTypes.string,\n}\n\nexport default SearchBar\n", "import styled from 'styled-components'\nimport { COLORS, FONTS } from '@ulule/owl-kit-components'\n\nimport AutosizeInput from './AutosizeInput'\n\nexport const SearchBarWrapper = styled.form`\n background-color: ${COLORS.PRIMARY_BLUE};\n color: white;\n display: flex;\n width: 100%;\n height: 87px;\n align-items: center;\n justify-content: center;\n`\n\nexport const SearchInput = styled(AutosizeInput)`\n input {\n border: none;\n background: transparent;\n color: ${COLORS.PRIMARY_WHITE};\n font-family: ${FONTS.PRIMARY_FONT};\n font-size: 28px;\n font-weight: 400;\n max-width: 1060px;\n }\n\n > input::placeholder {\n color: rgba(255, 255, 255, 0.5);\n }\n`\n\nexport const SearchLabel = styled.label`\n margin-right: 10px;\n\n svg {\n top: 4px;\n }\n`\n\nexport const ResetButton = styled.span`\n display: inline-flex;\n margin-left: 10px;\n color: ${COLORS.PRIMARY_BLACK};\n cursor: pointer;\n\n &:hover {\n color: ${COLORS.PRIMARY_WHITE};\n }\n`\n", "/**\n * NOTE: this component is inspired from https://github.com/JedWatson/react-input-autosize\n * It is not in npm dependencies to be able to maintain and change it like we want\n */\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst sizerStyle = {\n position: 'absolute',\n top: 0,\n left: 0,\n visibility: 'hidden',\n height: 0,\n overflow: 'scroll',\n whiteSpace: 'pre'\n}\n\nconst INPUT_PROPS_BLACKLIST = [\n 'extraWidth',\n 'injectStyles',\n 'inputClassName',\n 'inputRef',\n 'inputStyle',\n 'minWidth',\n 'onAutosize',\n 'placeholderIsMinWidth'\n]\n\nconst cleanInputProps = inputProps => {\n INPUT_PROPS_BLACKLIST.forEach(field => delete inputProps[field])\n return inputProps\n}\n\nconst copyStyles = (styles, node) => {\n node.style.fontSize = styles.fontSize\n node.style.fontFamily = styles.fontFamily\n node.style.fontWeight = styles.fontWeight\n node.style.fontStyle = styles.fontStyle\n node.style.letterSpacing = styles.letterSpacing\n node.style.textTransform = styles.textTransform\n}\n\nconst isIE =\n typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\\/|Edge\\//.test(window.navigator.userAgent) : false\n\nconst generateId = () => {\n // we only need an auto-generated ID for stylesheet injection, which is only\n // used for IE. so if the browser is not IE, this should return undefined.\n return isIE\n ? '_' +\n Math.random()\n .toString(36)\n .substr(2, 12)\n : undefined\n}\n\nclass AutosizeInput extends React.Component {\n state = {\n inputWidth: this.props.minWidth,\n inputId: this.props.id || generateId()\n }\n\n componentDidMount() {\n this.mounted = true\n this.copyInputStyles()\n this.updateInputWidth()\n }\n\n componentDidUpdate(prevProps, prevState) {\n const { id } = prevProps\n\n if (id !== this.props.id) {\n this.setState({ inputId: id || generateId() })\n }\n\n if (prevState.inputWidth !== this.state.inputWidth) {\n if (typeof this.props.onAutosize === 'function') {\n this.props.onAutosize(this.state.inputWidth)\n }\n }\n this.updateInputWidth()\n }\n\n componentWillUnmount() {\n this.mounted = false\n }\n\n inputRef = el => {\n this.input = el\n if (typeof this.props.inputRef === 'function') {\n this.props.inputRef(el)\n }\n }\n\n placeHolderSizerRef = el => {\n this.placeHolderSizer = el\n }\n\n sizerRef = el => {\n this.sizer = el\n }\n\n copyInputStyles() {\n if (!this.mounted || !window.getComputedStyle) {\n return\n }\n\n const inputStyles = this.input && window.getComputedStyle(this.input)\n\n if (!inputStyles) {\n return\n }\n\n copyStyles(inputStyles, this.sizer)\n\n if (this.placeHolderSizer) {\n copyStyles(inputStyles, this.placeHolderSizer)\n }\n }\n\n updateInputWidth() {\n if (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {\n return\n }\n\n let newInputWidth\n\n if (this.props.placeholder && (!this.props.value || (this.props.value && this.props.placeholderIsMinWidth))) {\n newInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2\n } else {\n newInputWidth = this.sizer.scrollWidth + 2\n }\n\n // add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI\n const extraWidth =\n this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0\n newInputWidth += extraWidth\n\n if (newInputWidth < this.props.minWidth) {\n newInputWidth = this.props.minWidth\n }\n\n if (newInputWidth !== this.state.inputWidth) {\n this.setState({\n inputWidth: newInputWidth\n })\n }\n }\n\n getInput() {\n return this.input\n }\n\n focus() {\n this.input.focus()\n }\n\n blur() {\n this.input.blur()\n }\n\n select() {\n this.input.select()\n }\n\n renderStyles() {\n // this method injects styles to hide IE's clear indicator, which messes\n // with input size detection. the stylesheet is only injected when the\n // browser is IE, and can also be disabled by the `injectStyles` prop.\n const { injectStyles } = this.props\n\n return isIE && injectStyles ? (\n \n ) : null\n }\n\n render() {\n const sizerValue = [this.props.defaultValue, this.props.value, ''].reduce((previousValue, currentValue) => {\n if (previousValue !== null && previousValue !== undefined) {\n return previousValue\n }\n return currentValue\n })\n\n const wrapperStyle = { ...this.props.style }\n if (!wrapperStyle.display) wrapperStyle.display = 'inline-block'\n\n const inputStyle = {\n boxSizing: 'content-box',\n width: `${this.state.inputWidth}px`,\n ...this.props.inputStyle\n }\n\n const { ...inputProps } = this.props\n cleanInputProps(inputProps)\n inputProps.className = this.props.inputClassName\n inputProps.id = this.state.inputId\n inputProps.style = inputStyle\n\n return (\n
\n {this.renderStyles()}\n \n
\n {sizerValue}\n
\n {this.props.placeholder ? (\n
\n {this.props.placeholder}\n
\n ) : null}\n
\n )\n }\n}\n\nAutosizeInput.propTypes = {\n className: PropTypes.string, // className for the outer element\n defaultValue: PropTypes.any, // default field value\n extraWidth: PropTypes.oneOfType([\n // additional width for input element\n PropTypes.number,\n PropTypes.string\n ]),\n id: PropTypes.string, // id to use for the input, can be set for consistent snapshots\n injectStyles: PropTypes.bool, // inject the custom stylesheet to hide clear UI, defaults to true\n inputClassName: PropTypes.string, // className for the input element\n inputRef: PropTypes.func, // ref callback for the input element\n inputStyle: PropTypes.object, // css styles for the input element\n minWidth: PropTypes.oneOfType([\n // minimum width for input element\n PropTypes.number,\n PropTypes.string\n ]),\n onAutosize: PropTypes.func, // onAutosize handler: function(newWidth) {}\n onChange: PropTypes.func, // onChange handler: function(event) {}\n placeholder: PropTypes.string, // placeholder text\n placeholderIsMinWidth: PropTypes.bool, // don't collapse size to less than the placeholder\n style: PropTypes.object, // css styles for the outer element\n value: PropTypes.any // field value\n}\n\nAutosizeInput.defaultProps = {\n minWidth: 1,\n injectStyles: true\n}\n\nexport default AutosizeInput\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport MediaQuery from 'react-responsive'\n\nimport MobileFiltersList from './MobileFiltersList'\nimport DesktopFiltersList from './DesktopFiltersList'\n\nconst handleFilterUpdate = (event, props) => {\n const filterName = event.target && event.target.name\n const optionValue = event.target && event.target.value\n props.updateFilter(filterName, optionValue)\n}\n\nconst FiltersBar = props => {\n const { filters, currentFilters, updateFilter, isFetching, resultsCount } = props\n\n if (!filters || !filters.length) {\n return null\n }\n\n return (\n \n \n handleFilterUpdate(event, props)}\n isFetching={isFetching}\n resultsCount={resultsCount}\n />\n \n \n \n \n \n )\n}\n\nFiltersBar.propTypes = {\n filters: PropTypes.array.isRequired,\n currentFilters: PropTypes.object.isRequired,\n updateFilter: PropTypes.func.isRequired,\n isFetching: PropTypes.bool,\n resultsCount: PropTypes.number\n}\n\nexport default FiltersBar\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { DropdownFilter } from '@ulule/owl-kit-components'\n\nimport HorizontalScroller from './HorizontalScroller'\nimport * as S from './styles'\n\nconst MobileFiltersList = ({ filters, currentFilters, onUpdateFilter }) => (\n \n \n {filters.map(({ name, label, options }, index) => (\n \n \n \n ))}\n \n \n)\n\nMobileFiltersList.propTypes = {\n filters: PropTypes.array.isRequired,\n currentFilters: PropTypes.object.isRequired,\n onUpdateFilter: PropTypes.func.isRequired,\n}\n\nexport default MobileFiltersList\n", "import React from 'react'\nimport styled from 'styled-components'\n\nexport const HorizontalScrollerContainer = styled.div`\n width: 100%;\n overflow: hidden;\n\n &::before,\n &::after {\n content: '';\n width: 100px;\n height: 100%;\n position: absolute;\n top: 0;\n pointer-events: none;\n z-index: 2;\n transition: opacity 250ms ease-in-out;\n }\n\n &::before {\n left: 0;\n opacity: ${props => props.lowerBound ? 0 : 1};\n background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 18%, rgba(255,255,255,0.85) 34%, rgba(255,255,255,0) 100%);\n }\n\n &::after {\n right: 0;\n opacity: ${props => props.higherBound ? 0 : 1};\n background: linear-gradient(-90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 18%, rgba(255,255,255,0.85) 34%, rgba(255,255,255,0) 100%);\n }\n`\n\nexport const Track = styled.div`\n overflow-x: scroll;\n overflow-y: hidden;\n`\n\nclass HorizontalScroller extends React.Component {\n state = {\n lowerBound: false,\n higherBound: false,\n }\n\n isLowerBoundScrolling() {\n return this.scroller.scrollLeft === 0\n }\n\n isHigherBoundScrolling() {\n const scrollWidth = this.scroller.scrollWidth\n const scrollLeft = this.scroller.scrollLeft\n const clientWidth = this.scroller.clientWidth\n\n return clientWidth + scrollLeft >= scrollWidth\n }\n\n onScrollChange = (event) => {\n this.setState({\n lowerBound: this.isLowerBoundScrolling(),\n higherBound: this.isHigherBoundScrolling(),\n })\n }\n\n componentDidMount() {\n this.onScrollChange()\n }\n\n render() {\n return (\n \n this.scroller = ref} onScroll={this.onScrollChange}>\n {this.props.children}\n \n \n )\n }\n}\n\nexport default HorizontalScroller\n", "import styled from 'styled-components'\n\nimport { COLORS } from '@ulule/owl-kit-components'\n\nexport const MobileFiltersBarContainer = styled.div`\n width: 100%;\n overflow: hidden;\n padding: 10px 0;\n`\n\nexport const DesktopFiltersBarContainer = styled.div`\n max-width: 1060px;\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n margin: 0 auto;\n padding: 20px 0;\n font-weight: 300;\n`\n\nexport const FiltersListWrapper = styled.div`\n position: relative;\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n`\n\nexport const FilterItem = styled.li`\n display: ${props => (props.hidden ? 'none' : 'flex')};\n`\n\nexport const FiltersList = styled.ul`\n list-style-type: none;\n display: flex;\n flex-flow: ${props => (props.wrapped ? 'row nowrap' : 'row wrap')};\n justify-content: flex-start;\n align-items: center;\n /*overflow: auto;*/\n margin: -5px;\n padding: 20px 0;\n\n ${FilterItem} {\n flex: 0 0 auto;\n padding: 5px;\n\n &:first-child {\n padding-left: ${props => (props.wrapped ? '20px' : '5px')};\n }\n\n &:last-child {\n padding-right: ${props => (props.wrapped ? '20px' : '5px')};\n }\n }\n`\n\nexport const FilterOptionItemWrapper = styled.li`\n display: flex;\n align-items: center;\n font-size: 13px;\n font-weight: 500;\n color: ${props => (props.selected ? `${COLORS.PRIMARY_BLUE}` : `${COLORS.PRIMARY_BLACK}`)};\n pointer-events: ${props => (props.selected ? 'none' : 'auto')};\n cursor: ${props => (props.selected ? 'default' : 'pointer')};\n\n &:hover {\n color: ${props => (props.selected ? 'inherit' : `${COLORS.PRIMARY_BLUE}`)};\n }\n`\n\nexport const ToggleFiltersButton = styled.span``\n\nconst getHeightPropList = nbItems => {\n if (nbItems <= 8) {\n return '60px'\n } else if (nbItems >= 20) {\n return '240px'\n } else {\n return '120px'\n }\n}\n\nconst getFlexPropItem = nbItems => {\n if (nbItems <= 8) {\n return '0 1 50%'\n } else if (nbItems >= 20) {\n return '0 1 12.5%'\n } else {\n return '0 1 25%'\n }\n}\n\nexport const FilterOptionsListWrapper = styled.ul`\n list-style-type: none;\n width: 100%;\n height: ${props => getHeightPropList(props.children.length)};\n display: flex;\n flex-flow: column wrap;\n align-items: flex-start;\n align-content: flex-start;\n margin: 20px -10px;\n padding: 0;\n\n ${FilterOptionItemWrapper} {\n flex: ${props => getFlexPropItem(props.children.length)};\n min-width: 180px;\n padding: 0 10px;\n }\n`\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { t } from '@ulule/localize'\nimport { Title6, SecondaryLink, DropdownFilter } from '@ulule/owl-kit-components'\n\nimport { getFilterByName, getOptionByValue } from './../../utils/filters'\nimport FilterOptionsList from './FilterOptionsList'\nimport * as S from './styles'\n\nconst NB_MAX_FILTERS = 3\n\nclass DesktopFiltersList extends React.Component {\n state = {\n isExpanded: false,\n expandedFilter: null\n }\n\n toggleExpanded = () => {\n this.setState({ isExpanded: !this.state.isExpanded, expandedFilter: null })\n }\n\n handleClickFilter = (event, filterName) => {\n event.preventDefault()\n\n if (this.state.expandedFilter && this.state.expandedFilter.name === filterName) {\n this.setState({ expandedFilter: null })\n } else {\n const expandedFilter = getFilterByName(this.props.filters, filterName) || null\n this.setState({ expandedFilter })\n }\n }\n\n handleClickOption = event => {\n event.preventDefault()\n\n const filterName = event.target.dataset.filter\n const optionValue = event.target.dataset.value\n this.props.onUpdateFilter(filterName, optionValue)\n\n this.setState({ expandedFilter: null })\n }\n\n render() {\n const { filters, currentFilters, onUpdateFilter } = this.props\n const { isExpanded, expandedFilter } = this.state\n\n return (\n \n \n \n {filters.map((filter, index) => {\n const { name, label, options } = filter\n if (filters.length > NB_MAX_FILTERS + 1 && index >= NB_MAX_FILTERS && !isExpanded) {\n return null\n }\n\n return (\n \n this.handleClickFilter(event, name)}\n autosize\n />\n \n )\n })}\n {filters.length > NB_MAX_FILTERS + 1 && (\n \n \n {isExpanded ? t('Less filters') : t('More filters')}\n \n \n )}\n \n {expandedFilter && (\n \n )}\n \n \n )\n }\n}\n\nDesktopFiltersList.propTypes = {\n filters: PropTypes.array.isRequired,\n currentFilters: PropTypes.object.isRequired,\n onUpdateFilter: PropTypes.func.isRequired\n}\n\nexport default DesktopFiltersList\n", "import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\n\nimport { SecondaryLink } from '@ulule/owl-kit-components'\n\nimport * as S from './styles'\n\nclass FilterOptionsList extends React.Component {\n render() {\n const { options, filterName, selectedValue, onClickItem } = this.props\n\n if (!options.length) {\n return null\n }\n\n return (\n \n {options.map((option, index) => (\n \n {option.label}\n \n ))}\n \n )\n }\n}\n\nFilterOptionsList.propTypes = {\n selectedValue: PropTypes.string,\n options: PropTypes.array.isRequired,\n filterName: PropTypes.string.isRequired,\n onClickItem: PropTypes.func.isRequired,\n}\n\nexport default FilterOptionsList\n", "import React from 'react'\n\nimport { t, tc } from '@owl-nest/localize'\nimport { Icon, SecondaryButton, SecondaryLink } from '@ulule/owl-kit-components'\n\nimport * as S from './styles'\n\nconst noResultsImg = window.DISCOVER_ASSETS.noResults.x1\nconst noResultsImg_x2 = window.DISCOVER_ASSETS.noResults.x2\nconst noResultsImg_x3 = window.DISCOVER_ASSETS.noResults.x3\n\nconst NoResults = () => (\n \n

\n {t('No\n
\n {tc('[strong: No results]. We invite you to change your search criteria.', { strong: })}\n
\n {t('Some suggestions:')}\n

\n \n
  • \n \n {t('Projects ending soon')}\n \n
  • \n
  • \n \n {t('Popular projects')}\n \n
  • \n
  • \n \n \n {t('Reinitialize filters')}\n \n
  • \n
    \n
    \n)\n\nexport default NoResults\n", "import styled from 'styled-components'\n\nimport { Icon, SecondaryLink } from '@ulule/owl-kit-components'\n\nexport const NoResultsContainer = styled.div`\n margin: 0 auto;\n padding: 20px;\n text-align: center;\n border-bottom: 1px solid #E0E0E0;\n font-size: 15px;\n font-weight: 300;\n\n strong {\n font-weight: 500;\n }\n`\n\nexport const ActionsList = styled.ul`\n list-style-type: none;\n width: 230px;\n margin: 20px auto;\n padding: 0;\n\n > li {\n width: 100%;\n margin: 10px auto;\n }\n`\n\nexport const SuggestionLink = styled(SecondaryLink)`\n display: inline-flex;\n align-items: center;\n height: 50px;\n\n > div:first-child {\n color: #BDBDBD;\n margin-right: 5px;\n transform: rotate(-180deg);\n transition: transform 200ms ease-out;\n }\n\n &:hover {\n > div:first-child {\n transition: transform 400ms ease-in;\n transform: rotate(180deg);\n }\n }\n`\n", "import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { t } from '@ulule/localize'\nimport { LoadMoreButton } from '@ulule/owl-kit-components'\n\nimport { mainUrlsShape } from '$utils/prop-types'\n\nimport SortingBar from '../sortingbar/'\nimport ProjectsList from '$components/ProjectsList/ProjectsList'\n\nclass Results extends React.Component {\n render() {\n const {\n quantityFetched,\n canLoadPrevious,\n canLoadMore,\n handleLoadPrevious,\n isFetchingPrevious,\n errorFetchingPrevious,\n\n isFetching,\n isFetchingMore,\n errorFetchingMore,\n resultsCount,\n sorting,\n currentSorting,\n updateSorting,\n handleLoadMore,\n results,\n currentLanguage,\n currentCurrency,\n rates,\n urls,\n isAuthenticated,\n modalImg\n } = this.props\n\n return (\n
    \n
    \n
    \n \n
    \n {canLoadPrevious && (\n
    \n \n
    \n )}\n
    \n \n
    \n {canLoadMore && (\n
    \n \n
    \n )}\n
    \n
    \n )\n }\n}\n\nResults.propTypes = {\n quantityFetched: PropTypes.number,\n canLoadPrevious: PropTypes.bool,\n canLoadMore: PropTypes.bool,\n handleLoadPrevious: PropTypes.func.isRequired,\n isFetchingPrevious: PropTypes.bool,\n errorFetchingPrevious: PropTypes.bool,\n isFetching: PropTypes.bool,\n isFetchingMore: PropTypes.bool,\n errorFetchingMore: PropTypes.bool,\n resultsCount: PropTypes.number,\n sorting: PropTypes.array.isRequired,\n currentSorting: PropTypes.string,\n updateSorting: PropTypes.func.isRequired,\n handleLoadMore: PropTypes.func.isRequired,\n results: PropTypes.array.isRequired,\n currentLanguage: PropTypes.string.isRequired,\n currentCurrency: PropTypes.string.isRequired,\n rates: PropTypes.object.isRequired,\n urls: mainUrlsShape.isRequired,\n isAuthenticated: PropTypes.bool.isRequired\n}\n\nexport default Results\n"], "mappings": "+iCAAAA,IAAAC,ICAAC,IAAAC,IAAE,GAAG,CAAC,IAAIC,EAAe,OAAO,OAApB,IAA2B,OAAoB,OAAO,OAApB,IAA2B,OAAoB,OAAO,WAApB,IAA+B,WAAwB,OAAO,KAApB,IAAyB,KAAK,CAAC,EAAEC,EAAG,IAAID,EAAE,QAAO,MAAMC,IAAID,EAAE,gBAAgBA,EAAE,iBAAiB,CAAC,EAAEA,EAAE,gBAAgBC,CAAC,EAAE,uCAAuCD,EAAE,yBAAyB,mDAAmD,OAAOA,EAAE,CAAC,CCAjXE,IAAAC,ICAAC,IAAAC,IAAA,IAAAC,GAAuB,SACvBC,GAA0B,UCD1BC,IAAAC,IAAO,IAAMC,GAAc,CAACC,EAAMC,EAAgBC,IAAoB,CAEpE,IAAMC,EAAgBC,EAAAC,EAAA,GAAKL,GAAL,CAAW,QAASA,EAAK,QAAQ,OAAOM,GAAKA,E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,EH7Da,IAAOG,GAAuB", "names": ["init_define_process_env", "init_sentry_release_injection_stub", "init_define_process_env", "init_sentry_release_injection_stub", "e", "n", "init_define_process_env", "init_sentry_release_injection_stub", "init_define_process_env", "init_sentry_release_injection_stub", "React", "ReactDOM", "init_define_process_env", "init_sentry_release_injection_stub", "processData", "json", "currentCountry", "currentLanguage", "processedJson", "__spreadProps", "__spreadValues", "f", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "import_localize", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_react_dom", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "_a", "SausageItemWrapper", "src_default", "__template", "_b", "SausageItemText", "RegularText", "colors_exports", "SausageItem", "element", "React", "init_define_process_env", "init_sentry_release_injection_stub", "_a", "anim", "keyframes", "__template", "_b", "SausageList", "src_default", "props", "_a", "SausageWrapper", "src_default", "__template", "Sausage", "React", "props", "__publicField", "hoverState", "listSize", "ReactDOM", "items", "width", "hover", "SausageList", "element", "key", "SausageItem", "MediaQuery", "Sausage_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "PartnersList", "React", "props", "__publicField", "children", "nbColumns", "nbRows", "shouldDisplayNav", "shouldDisplayOverflow", "newState", "partners", "p", "initialState", "__spreadValues", "Carousel_default", "partner", "index", "SponsorshipTracker_default", "PartnerCard", "getResourceUrl", "PartnersList_default", "CallToActionSection", "url", "title", "description", "React", "CTAWrapper", "ChannelsCTAWrapper", "CallToAction", "_a", "src_default", "__template", "_b", "breakpoints_exports", "_c", "TitleWrapper", "_d", "Wrapper", "PartnersOperationsSection", "props", "cta", "partners", "prefixClass", "PartnersList_default", "__spreadValues", "PropTypes", "PartnersOperationsSection_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "import_qs", "import_localize", "init_define_process_env", "init_sentry_release_injection_stub", "getFilterByName", "filters", "name", "filter", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "import_localize", "init_define_process_env", "init_sentry_release_injection_stub", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "sizerStyle", "INPUT_PROPS_BLACKLIST", "cleanInputProps", "inputProps", "field", "copyStyles", "styles", "node", "isIE", "generateId", "AutosizeInput", "React", "__publicField", "el", "prevProps", "prevState", "id", "inputStyles", "newInputWidth", "extraWidth", "injectStyles", "sizerValue", "previousValue", "currentValue", "wrapperStyle", "__spreadValues", "inputStyle", "__objRest", "__spreadProps", "PropTypes", "AutosizeInput_default", "_a", "SearchBarWrapper", "src_default", "__template", "colors_exports", "_b", "SearchInput", "AutosizeInput_default", "fonts_exports", "_c", "SearchLabel", "_d", "ResetButton", "SearchBar", "React", "value", "onChange", "onSubmit", "onReset", "displayReset", "SearchBarWrapper", "SearchLabel", "Icon_default", "SearchInput", "ref", "ResetButton", "PropTypes", "searchbar_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "_a", "HorizontalScrollerContainer", "src_default", "__template", "props", "_b", "Track", "HorizontalScroller", "React", "__publicField", "event", "scrollWidth", "scrollLeft", "__spreadValues", "ref", "HorizontalScroller_default", "init_define_process_env", "init_sentry_release_injection_stub", "_a", "MobileFiltersBarContainer", "src_default", "__template", "_b", "DesktopFiltersBarContainer", "_c", "FiltersListWrapper", "_d", "FilterItem", "props", "_e", "FiltersList", "_f", "FilterOptionItemWrapper", "colors_exports", "_g", "ToggleFiltersButton", "getHeightPropList", "nbItems", "getFlexPropItem", "_h", "FilterOptionsListWrapper", "MobileFiltersList", "filters", "currentFilters", "onUpdateFilter", "React", "HorizontalScroller_default", "FiltersList", "name", "label", "options", "index", "FilterItem", "DropdownFilter_default", "PropTypes", "MobileFiltersList_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "import_localize", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "FilterOptionsList", "React", "options", "filterName", "selectedValue", "onClickItem", "FilterOptionsListWrapper", "option", "index", "FilterOptionItemWrapper", "PropTypes", "FilterOptionsList_default", "NB_MAX_FILTERS", "DesktopFiltersList", "React", "__publicField", "event", "filterName", "expandedFilter", "getFilterByName", "optionValue", "filters", "currentFilters", "onUpdateFilter", "isExpanded", "DesktopFiltersBarContainer", "FiltersListWrapper", "FiltersList", "filter", "index", "name", "label", "options", "FilterItem", "DropdownFilter_default", "SecondaryLink", "FilterOptionsList_default", "PropTypes", "DesktopFiltersList_default", "handleFilterUpdate", "event", "props", "filterName", "optionValue", "FiltersBar", "filters", "currentFilters", "updateFilter", "isFetching", "resultsCount", "React", "MediaQuery", "MobileFiltersList_default", "DesktopFiltersList_default", "PropTypes", "filtersbar_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "init_define_process_env", "init_sentry_release_injection_stub", "_a", "NoResultsContainer", "src_default", "__template", "_b", "ActionsList", "_c", "SuggestionLink", "SecondaryLink", "noResultsImg", "noResultsImg_x2", "noResultsImg_x3", "NoResults", "React", "NoResultsContainer", "ActionsList", "SecondaryButton", "SuggestionLink", "Icon_default", "noresults_default", "init_define_process_env", "init_sentry_release_injection_stub", "import_react", "import_prop_types", "import_localize", "Results", "React", "quantityFetched", "canLoadPrevious", "canLoadMore", "handleLoadPrevious", "isFetchingPrevious", "errorFetchingPrevious", "isFetching", "isFetchingMore", "errorFetchingMore", "resultsCount", "sorting", "currentSorting", "updateSorting", "handleLoadMore", "results", "currentLanguage", "currentCurrency", "rates", "urls", "isAuthenticated", "modalImg", "sortingbar_default", "LoadMoreButton_default", "ProjectsList_default", "PropTypes", "mainUrlsShape", "results_default", "SEARCH_API_FILTERS", "DEFAULT_SORTING", "DEFAULT_OFFSET", "DEFAULT_LIMIT", "SearchSection", "React", "props", "__publicField", "filters", "search", "sorting", "meta", "__spreadValues", "queryParams", "parameters", "qs", "normalizedParamaters", "key", "input", "qualifierEntry", "filter", "getFilterByName", "currentFilters", "currentValue", "option", "tag", "name", "value", "reset", "currentQueryParams", "parsed", "stringified", "character", "filterName", "optionValue", "__spreadProps", "callback", "event", "state", "error", "isFetchingMore", "isFetchingPrevious", "errorProps", "results", "quantityFetched", "isAuthenticated", "quantity", "response", "fetchSearchMoreProjects", "url", "next", "totalCount", "previous", "currentSearchInput", "qualifiers", "params", "fetchSearchProjects", "_a", "offset", "limit", "__objRest", "searchValue", "sortingValue", "start", "prevProps", "prevState", "searchbar_default", "FlashMessage_default", "filtersbar_default", "noresults_default", "results_default", "PropTypes", "mainUrlsShape", "SearchSection_default", "App", "React", "SearchSection_default", "__spreadValues", "Sausage_default", "PartnersOperationsSection_default", "PropTypes", "mainUrlsShape", "App_default", "renderApp", "language", "country", "currency", "setTag", "json", "processData", "categories", "isAuthenticated", "urls", "modalImg", "container", "App_default", "event", "currentLocation", "currentCountryCode", "currentLanguage", "getCurrentLanguage", "currentCurrency", "getCurrentCurrency", "error", "discover_default"] }