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EAAWsG,EAAgBF,EAASxD,EAAWH,EAAI,EAsBzE,MAfA9C,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACR,GAAI,CAAE8C,CAAAA,GAAOA,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAKoE,OAAO,GACvB,OAEF,IAAMO,EAAU3E,MAAAA,EAAAA,KAAAA,EAAAA,EAAKoE,OAAO,CAK5B,OAFAO,MAAAA,GAAAA,EAASC,gBAAgB,CAAC,SAAUX,GAE7B,KACLU,MAAAA,GAAAA,EAASE,mBAAmB,CAAC,SAAUZ,EACzC,CACF,EAAG,CAACA,EAAgBjE,EAAI,EAGjB,CACLA,IAAAA,EACA+D,WAAAA,CACF,CACF,oBC3GAe,EAAAC,OAAA,EAAkB,oKCAlBD,EAAAC,OAAA,EAAkB,oQCAlBD,EAAAC,OAAA,EAAkB,kKCAlBD,EAAAC,OAAA,EAAkB,gOCAlBD,EAAAC,OAAA,EAAkB,kPCAlBD,EAAAC,OAAA,EAAkB,4GCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/SelectedOption/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/Header/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/List/Item/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/List/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/index.tsx","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/utils.ts","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/variants.ts","webpack://_N_E/../../packages/common/src/components/Empty/index.tsx","webpack://_N_E/../../packages/common/src/hooks/useInfiniteScroll/index.ts","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/Header/styles.module.scss","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/List/Item/styles.module.scss","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/List/styles.module.scss","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/OptionsDrawer/styles.module.scss","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/SelectedOption/styles.module.scss","webpack://_N_E/../../packages/common/src/components/AutocompleteMenuSelector/styles.module.scss","webpack://_N_E/../../packages/common/src/components/Empty/styles.module.scss"],"sourcesContent":["import { FieldValues } from 'react-hook-form';\nimport { SelectedOptionProps } from './props';\nimport { useEffect, useMemo, useState } from 'react';\nimport styles from './styles.module.scss';\nimport { Input } from '@starsoft/common/components';\n\n/**\n * Component that renders the selected option in an autocomplete menu selector\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {V} props.value - Currently selected value\n * @param {boolean} props.disabled - Whether the selector is disabled\n * @param {Array} props.options - Array of available options\n * @param {Function} props.getOptionValue - Function to get value from an option\n * @param {Function} props.getOptionLabel - Function to get display label from an option\n * @param {Object} props.customComponents - Custom component overrides\n * @param {boolean} props.open - Whether the options drawer is open\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @param {Function} props.setOpen - Function to toggle options drawer\n * @param {boolean} props.loading - Whether options are loading\n * @returns {JSX.Element} Selected option display component\n */\nexport default function SelectedOption({\n value,\n disabled,\n options,\n getOptionValue,\n getOptionLabel,\n customComponents,\n open,\n isContainerColor,\n setOpen,\n loading,\n}: SelectedOptionProps) {\n // State to store the currently selected option object\n const [selectedOption, setSelectedOption] = useState();\n\n // Memoized lookup of the option object matching the selected value\n const foundOption: T | undefined = useMemo(\n () =>\n options?.find(option => {\n return getOptionValue(option) === value;\n }),\n [getOptionValue, options, value],\n );\n\n // Get the display label for the selected option\n const selectedLabel: string = selectedOption\n ? getOptionLabel(selectedOption)\n : '';\n\n /**\n * Updates the selected option state when found option changes\n */\n function onChangeOption() {\n if (!foundOption) {\n return;\n }\n\n setSelectedOption(foundOption);\n }\n\n // Update selected option when found option changes\n useEffect(onChangeOption, [foundOption]);\n\n /**\n * Toggles the options drawer open/closed\n */\n function toggle() {\n setOpen(prev => !prev);\n }\n\n // Show loading state\n if (loading) {\n if (!!customComponents?.customSkeletonInput) {\n return customComponents?.customSkeletonInput();\n }\n\n return ;\n }\n\n // Use custom input component if provided\n if (!!customComponents?.customInput) {\n return customComponents.customInput({\n handleOpen: toggle,\n open,\n option: selectedOption,\n });\n }\n\n // Default selected option display\n return (\n \n

{selectedLabel}

\n \n \n );\n}\n","import { OptionsDrawerHeaderProps } from './props';\nimport styles from './styles.module.scss';\nimport { Input, ModalHeader } from '@starsoft/common/components';\nimport { FieldValues } from 'react-hook-form';\n\n/**\n * Header component for the options drawer in an autocomplete menu selector\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {string} props.search - Current search input value\n * @param {Function} props.setSearch - Function to update search value\n * @param {Function} props.setOpen - Function to control drawer open state\n * @param {string} props.title - Title text to display in header\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @param {boolean} props.hideSearch - Whether to hide the search input\n * @param {Object} props.customComponents - Custom component overrides\n * @returns {JSX.Element} Header component with optional search input\n */\nexport default function OptionsDrawerHeader({\n search,\n setSearch,\n setOpen,\n title,\n isContainerColor,\n hideSearch,\n customComponents,\n}: OptionsDrawerHeaderProps) {\n /**\n * Handles closing the options drawer\n */\n function onClose() {\n setOpen(false);\n }\n\n /**\n * Handles search input changes\n *\n * @param {React.ChangeEvent} event - Change event from input\n */\n function handleSearch(event: React.ChangeEvent) {\n setSearch(event.target.value);\n }\n\n return (\n
\n \n\n {!hideSearch &&\n (!!customComponents?.customSearchInput ? (\n customComponents?.customSearchInput()\n ) : (\n
\n \n
\n ))}\n
\n );\n}\n","import { FieldValues } from 'react-hook-form';\nimport { ListItemProps } from './props';\nimport styles from './styles.module.scss';\nimport { memo } from 'react';\n\n/**\n * Component that renders a single option item in the options list\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {Function} props.getOptionLabel - Function to get display label from option\n * @param {Function} props.getOptionValue - Function to get value from option\n * @param {T} props.option - The option data to render\n * @param {Function} props.setValue - Function to set the selected value\n * @param {Object} props.customComponents - Custom component overrides\n * @param {boolean} props.loading - Whether the item is in loading state\n * @param {Function} props.setOpen - Function to control options drawer visibility\n * @param {V} props.value - Currently selected value\n * @returns {JSX.Element} List item component\n */\nfunction ListItem({\n getOptionLabel,\n getOptionValue,\n option,\n setValue,\n customComponents,\n loading,\n setOpen,\n value,\n}: ListItemProps) {\n /**\n * Handles selecting an option\n * Sets the selected value and closes the options drawer\n *\n * @param {T} value - The option value to select\n */\n function handleSelectFilter(value: T) {\n setValue(value);\n setOpen(false);\n }\n\n // Show loading state or custom skeleton\n if (loading || !option) {\n if (!!customComponents?.customSkeletonOption) {\n return customComponents.customSkeletonOption?.();\n }\n\n return (\n
\n
\n
\n );\n }\n\n // Check if this option is currently selected\n const selected: boolean = getOptionValue(option) === value;\n\n // Use custom option component if provided\n if (!!customComponents?.customOption) {\n return customComponents?.customOption({\n option,\n selected: getOptionValue(option) === value,\n handleSelect: handleSelectFilter,\n });\n }\n\n // Default option rendering\n return (\n handleSelectFilter(option)}\n >\n {getOptionLabel(option)}\n
\n );\n}\n\nexport default memo(ListItem) as typeof ListItem;\n","import { FieldValues } from 'react-hook-form';\nimport { OptionsDrawerListProps } from './props';\nimport { useInfiniteScroll } from '@starsoft/common/hooks';\nimport { filterOptions } from '../../utils';\nimport { useMemo } from 'react';\nimport styles from './styles.module.scss';\nimport ListItem from './Item';\nimport EmptySearch from '../../../Empty';\n\n/**\n * Component that renders a scrollable list of options with infinite loading support\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {Function} props.filterBy - Function to filter options based on search text\n * @param {Array} props.options - Array of available options to display\n * @param {boolean} props.hasNextPage - Whether there are more options to load\n * @param {Function} props.loadMore - Function to load additional options\n * @param {boolean} props.loading - Whether initial options are loading\n * @param {boolean} props.loadingMore - Whether additional options are loading\n * @param {string} props.search - Current search input value\n * @param {Function} props.getOptionLabel - Function to get display label from option\n * @param {Function} props.getOptionValue - Function to get value from option\n * @param {Function} props.setValue - Function to set selected value\n * @param {Object} props.customComponents - Custom component overrides\n * @param {Function} props.setOpen - Function to control options drawer visibility\n * @param {boolean} props.isAsync - Whether options are loaded asynchronously\n * @param {boolean} props.useGridOptions - Whether to display options in grid layout\n * @param {V} props.value - Currently selected value\n * @param {Function} props.onSearchChange - Callback when search value changes\n * @returns {JSX.Element} List component with options and loading states\n */\nexport default function OptionsDrawerList({\n filterBy,\n options,\n hasNextPage = false,\n loadMore = () => {},\n loading = false,\n loadingMore = false,\n search,\n getOptionLabel,\n getOptionValue,\n setValue,\n customComponents,\n setOpen,\n isAsync,\n useGridOptions,\n value,\n onSearchChange,\n}: OptionsDrawerListProps) {\n // Hook to handle infinite scrolling functionality\n const { ref } = useInfiniteScroll({\n hasMore: hasNextPage,\n isLoading: loadingMore || loading,\n loadMore,\n condition: isAsync,\n });\n\n // Filter options based on search text if not using async search\n const filteredOptions = useMemo(\n () =>\n search && !onSearchChange\n ? filterOptions(options, search, filterBy)\n : options,\n [filterBy, options, search, onSearchChange],\n );\n\n // Memoized list of option items\n const Items: JSX.Element[] = useMemo(\n () =>\n filteredOptions.map((option, index) => (\n \n )),\n [\n customComponents,\n filteredOptions,\n getOptionLabel,\n getOptionValue,\n setOpen,\n setValue,\n value,\n ],\n );\n\n // Memoized list of skeleton loading items\n const Skeletons: JSX.Element[] = useMemo(\n () =>\n Array.from({ length: 15 }).map((_, index) => {\n return (\n \n );\n }),\n [\n customComponents,\n getOptionLabel,\n getOptionValue,\n setOpen,\n setValue,\n value,\n ],\n );\n\n // Show empty state if no options and not loading\n if (filteredOptions.length === 0 && !loading && !loadingMore) {\n return (\n
\n \n
\n );\n }\n\n // Render list of options with optional grid layout\n return (\n \n {Items}\n {(loading || loadingMore) && isAsync && Skeletons}\n \n );\n}\n","import { FieldValues } from 'react-hook-form';\nimport OptionsDrawerHeader from './Header';\nimport { OptionsDrawerProps } from './props';\nimport styles from './styles.module.scss';\nimport { useEffect, useState } from 'react';\nimport OptionsDrawerList from './List';\nimport { motion as m } from 'framer-motion';\nimport { containerVariants } from '../variants';\nimport { useClickOutside } from '@starsoft/common/hooks';\n\n/**\n * A component that renders a drawer containing a list of selectable options with search functionality\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {Function} props.filterBy - Function to filter options based on search\n * @param {Array} props.options - Array of available options\n * @param {Function} props.setOpen - Function to control drawer visibility\n * @param {string} props.title - Title displayed in drawer header\n * @param {boolean} props.hasNextPage - Whether there are more options to load\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @param {Function} props.loadMore - Function to load additional options\n * @param {boolean} props.loading - Whether initial options are loading\n * @param {boolean} props.loadingMore - Whether additional options are loading\n * @param {Function} props.getOptionLabel - Function to get display label from option\n * @param {Function} props.getOptionValue - Function to get value from option\n * @param {Function} props.setValue - Function to set selected value\n * @param {Object} props.customComponents - Custom component overrides\n * @param {boolean} props.isAsync - Whether options are loaded asynchronously\n * @param {V} props.value - Currently selected value\n * @param {boolean} props.isSmallerDrawer - Whether to use smaller drawer size\n * @param {boolean} props.useGridOptions - Whether to display options in grid layout\n * @param {boolean} props.hideSearch - Whether to hide search input\n * @param {Function} props.onSearchChange - Callback when search value changes\n * @returns {JSX.Element} Options drawer component\n */\nexport default function OptionsDrawer({\n filterBy,\n options,\n setOpen,\n title,\n hasNextPage,\n isContainerColor,\n loadMore,\n loading,\n loadingMore,\n getOptionLabel,\n getOptionValue,\n setValue,\n customComponents,\n isAsync,\n value,\n isSmallerDrawer,\n useGridOptions,\n hideSearch,\n onSearchChange,\n}: OptionsDrawerProps) {\n // State for search input value\n const [search, setSearch] = useState('');\n\n // Hook to handle clicks outside the drawer\n const ref = useClickOutside({\n open: true,\n onClickOutside: () => setOpen(false),\n });\n\n /**\n * Updates search state and triggers search change callback\n * @param {string} search - New search value\n */\n function onSetSearch(search: string) {\n setSearch(search);\n\n if (onSearchChange) {\n onSearchChange(search);\n }\n }\n\n /**\n * Cleanup function to reset search state on unmount\n */\n function onUnmount() {\n return () => {\n setSearch('');\n if (onSearchChange) {\n onSearchChange('');\n }\n };\n }\n\n // Reset search on unmount\n useEffect(onUnmount, [onSearchChange]);\n\n return (\n \n \n\n \n \n );\n}\n","import { useState } from 'react';\nimport { AutocompleteMenuSelectorProps } from './props';\nimport { AnimatePresence, motion } from 'framer-motion';\nimport { overlayVariant } from './variants';\nimport { FieldValues } from 'react-hook-form';\nimport SelectedOption from './SelectedOption';\nimport OptionsDrawer from './OptionsDrawer';\nimport styles from './styles.module.scss';\n\n/**\n * A component that renders an autocomplete menu selector with a dropdown drawer of options\n *\n * @template T - Type extending FieldValues from react-hook-form\n * @template V - Type of the option value\n *\n * @param {Object} props - Component props\n * @param {Array} props.options - Array of options to display in the dropdown\n * @param {Function} props.setValue - Function to set the selected value\n * @param {V} props.value - Currently selected value\n * @param {Function} props.filterBy - Function to filter options based on search input\n * @param {Function} props.getOptionLabel - Function to get the display label for an option\n * @param {Function} props.getOptionValue - Function to get the value for an option\n * @param {Object} props.customComponents - Custom components to override default rendering\n * @param {boolean} props.disabled - Whether the selector is disabled\n * @param {boolean} props.hasNextPage - Whether there are more options to load (for pagination)\n * @param {Function} props.loadMore - Function to load more options when scrolling\n * @param {boolean} props.loading - Whether options are currently loading\n * @param {boolean} props.loadingMore - Whether additional options are being loaded\n * @param {boolean} props.isAsync - Whether options are loaded asynchronously\n * @param {string} props.title - Title displayed in the options drawer\n * @param {boolean} props.isContainerColor - Whether to use container background color\n * @param {boolean} props.isSmallerDrawer - Whether to use a smaller drawer size\n * @param {boolean} props.hideSearch - Whether to hide the search input\n * @param {Function} props.onSearchChange - Callback when search input changes\n * @param {boolean} props.useGridOptions - Whether to display options in a grid layout\n *\n * @returns {JSX.Element} Autocomplete menu selector component with dropdown drawer\n */\nexport function AutocompleteMenuSelector({\n options,\n setValue,\n value,\n filterBy,\n getOptionLabel,\n getOptionValue,\n customComponents,\n disabled,\n hasNextPage = false,\n loadMore = () => undefined,\n loading = false,\n loadingMore = false,\n isAsync = false,\n title,\n isContainerColor,\n isSmallerDrawer,\n hideSearch,\n onSearchChange,\n useGridOptions,\n}: AutocompleteMenuSelectorProps) {\n // State to control the visibility of the options drawer\n const [open, setOpen] = useState(false);\n\n return (\n <>\n {/* Displays the currently selected option */}\n \n\n \n {open && !disabled && (\n <>\n {/* Animated overlay backdrop */}\n \n {/* Drawer containing the list of options */}\n \n \n )}\n \n \n );\n}\n","import { get } from '@starsoft/common/utils';\nimport { FieldPath, FieldValues } from 'react-hook-form';\n\n/**\n * Filters an array of options based on a search value and specified fields to filter by.\n * Options that start with the search value are prioritized (added to start of results),\n * while options that contain the search value are added to the end.\n *\n * @template T - Generic type extending FieldValues for form handling\n * @template V - Generic type for the search value\n * @param {T[]} options - Array of options to filter\n * @param {V} value - Search value to filter options by\n * @param {FieldPath[]} filterBy - Array of field paths to check against the search value\n * @returns {T[]} Filtered array of options, with exact matches first followed by partial matches\n */\nexport function filterOptions(\n options: T[],\n value: V,\n filterBy: FieldPath[],\n): T[] {\n const filteredOptions: T[] = [];\n let formatedValue = `${value}`.trimEnd().trimStart();\n\n for (let i = 0; i < options.length; i++) {\n const option = options[i];\n\n for (let j = 0; j < filterBy.length; j++) {\n const filter = filterBy[j];\n const optionValue = get(option, filter);\n\n if (!optionValue) continue;\n\n if (\n `${optionValue}`.toLowerCase().startsWith(formatedValue.toLowerCase())\n ) {\n filteredOptions.unshift(option);\n break;\n }\n\n if (\n `${optionValue}`.toLowerCase().includes(formatedValue.toLowerCase())\n ) {\n filteredOptions.push(option);\n break;\n }\n }\n }\n\n return filteredOptions;\n}\n","import { Transition, Variants } from 'framer-motion';\n\nconst itemTransition: Transition = {\n ease: 'easeInOut',\n duration: 0.25,\n};\n\nexport const overlayVariant: Variants = {\n hidden: {\n opacity: 0,\n transition: itemTransition,\n },\n visible: {\n opacity: 1,\n transition: itemTransition,\n },\n exit: {\n opacity: 0,\n transition: itemTransition,\n },\n};\n\nexport const containerVariants: Variants = {\n hidden: {\n y: '100%',\n opacity: 0,\n transition: itemTransition,\n },\n visible: {\n y: 70,\n opacity: 1,\n transition: itemTransition,\n },\n\n exit: {\n y: '100%',\n opacity: 0,\n transition: itemTransition,\n },\n};\n","import { useLottiePlayer } from '@starsoft/common/hooks';\nimport { TransWithDefault } from '../TransWithDefault';\nimport { EmptySearchProps } from './props';\nimport styles from './styles.module.scss';\n\n/**\n * EmptySearch Component\n * Renders an empty state with a Lottie animation and translated text message\n * Used to display when search results are empty or no results exist\n *\n * @component\n * @param {Object} props - Component props\n * @param {string} props.search - Search term that yielded no results\n * @returns {JSX.Element} Empty state with animation and message\n */\nexport default function EmptySearch({ search }: EmptySearchProps) {\n // Initialize Lottie animation player with empty search animation\n const { lottieAnimationRef } = useLottiePlayer({\n path: '/empty-search.json',\n });\n\n return (\n
\n {/* Container for Lottie animation */}\n
\n\n {/* Display translated message based on whether search term exists */}\n

\n \n

\n
\n );\n}\n","import { useCallback, useEffect, useRef, useState } from 'react';\nimport { UseInfiniteScrollProps } from './props';\nimport { debounce } from 'lodash';\n\n/**\n * Custom hook to implement infinite scrolling functionality within a container.\n * It listens to the scroll event and triggers a callback to load more content\n * when the user scrolls near the bottom of the container.\n *\n * @param {UseInfiniteScrollProps} props - The properties for the infinite scroll hook.\n * @param {boolean} props.hasMore - Indicates if there are more items to load.\n * @param {boolean} props.isLoading - Indicates if a loading operation is currently in progress.\n * @param {Function} props.loadMore - The function to call to load more items.\n * @param {boolean} [props.condition=true] - An additional condition to check before loading more items.\n * @param {boolean} [props.reverse=false] - If true, loads more items when scrolled to the top.\n *\n * @returns {Object} - An object containing a ref to attach to the scrollable container and a boolean indicating if the scroll is at the bottom.\n * @returns {React.RefObject} ref - A ref to attach to the scrollable container.\n * @returns {boolean} isAtBottom - A boolean indicating if the scroll is at the bottom of the container.\n *\n * Example usage:\n * const { ref, isAtBottom } = useInfiniteScroll({\n * hasMore: true,\n * isLoading: false,\n * loadMore: () => fetchMoreItems(),\n * condition: true,\n * reverse: false,\n * });\n */\nexport function useInfiniteScroll({\n hasMore,\n isLoading,\n loadMore,\n condition = true,\n reverse = false,\n}: UseInfiniteScrollProps) {\n // Reference to the scrollable container element\n const ref = useRef(null);\n // State to track the distance from the bottom of the container\n const [distanceBottom, setDistanceBottom] = useState(0);\n // State to track if the scroll is at the bottom of the container\n const [isAtBottom, setIsAtBottom] = useState(false);\n\n /**\n * Memoized scroll event listener that checks if more content should be loaded.\n * It uses lodash's debounce to limit the rate at which the function is called.\n */\n const scrollListener = useCallback(\n debounce(() => {\n if (ref && ref.current) {\n const scrollTop = ref?.current?.scrollTop;\n const bottom = ref.current?.scrollHeight - ref.current?.clientHeight;\n\n // Set the distance from the bottom if not already set\n if (!distanceBottom) {\n setDistanceBottom(Math.round(bottom * 0.2));\n }\n\n // Load more items if scrolled to the top and conditions are met\n if (scrollTop === 0 && hasMore && !isLoading && condition && reverse) {\n loadMore();\n }\n\n // Load more items if scrolled near the bottom and conditions are met\n if (\n scrollTop > bottom - distanceBottom &&\n hasMore &&\n !isLoading &&\n condition &&\n !reverse\n ) {\n loadMore();\n }\n\n // Update the isAtBottom state based on scroll position\n if (scrollTop > bottom - distanceBottom) {\n setIsAtBottom(true);\n } else {\n setIsAtBottom(false);\n }\n }\n }, 100),\n [hasMore, loadMore, isLoading, distanceBottom, reverse, condition, ref],\n );\n\n /**\n * Effect hook to add the scroll event listener when the component mounts\n * and remove it when the component unmounts.\n */\n useEffect(() => {\n if (!(ref && ref?.current)) {\n return;\n }\n const element = ref?.current;\n\n // Add scroll event listener\n element?.addEventListener('scroll', scrollListener);\n // Cleanup function to remove the event listener\n return () => {\n element?.removeEventListener('scroll', scrollListener);\n };\n }, [scrollListener, ref]);\n\n // Return the ref to the scrollable container and the isAtBottom state\n return {\n ref,\n isAtBottom,\n };\n}\n\nexport type { UseInfiniteScrollProps };\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__Pvn_I\",\"container__padded\":\"styles_container__padded__OijpD\",\"skeleton-animation\":\"styles_skeleton-animation__n1haI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skeleton\":\"styles_skeleton__E2j4J\",\"skeleton-animation\":\"styles_skeleton-animation__eemmq\",\"container\":\"styles_container__GZqFe\",\"container--selected\":\"styles_container--selected__Vk5dd\",\"container--loading\":\"styles_container--loading__xnSjf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__v7sis\",\"container--grid\":\"styles_container--grid__n7xUP\",\"skeleton-animation\":\"styles_skeleton-animation__3R5_J\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__kqlK9\",\"container--smaller\":\"styles_container--smaller__qOwnP\",\"container--default\":\"styles_container--default__aZZWp\",\"skeleton-animation\":\"styles_skeleton-animation__jWKNf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__IMdKW\",\"container--container-color\":\"styles_container--container-color__XPRQc\",\"container--disabled\":\"styles_container--disabled__Bfgyg\",\"skeleton-animation\":\"styles_skeleton-animation__lVdIi\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"overlay\":\"styles_overlay__srsdO\",\"skeleton-animation\":\"styles_skeleton-animation__DVMa3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__QnLfR\",\"container__text\":\"styles_container__text__LFy6u\",\"container__lottie\":\"styles_container__lottie__JCGPR\",\"skeleton-animation\":\"styles_skeleton-animation__yG4MR\"};"],"names":["SelectedOption","param","value","disabled","options","getOptionValue","getOptionLabel","customComponents","open","isContainerColor","setOpen","loading","selectedOption","setSelectedOption","useState","foundOption","useMemo","find","option","selectedLabel","toggle","prev","useEffect","customSkeletonInput","jsx_runtime","jsx","Input","isLoading","customInput","handleOpen","jsxs","div","className","styles","concat","onClick","p","i","OptionsDrawerHeader","search","setSearch","title","hideSearch","ModalHeader","onClose","smallPadding","customSearchInput","type","onChange","event","target","icon","Item","memo","setValue","handleSelectFilter","customSkeletonOption","selected","customOption","handleSelect","OptionsDrawerList","filterBy","hasNextPage","loadMore","loadingMore","isAsync","useGridOptions","onSearchChange","ref","useInfiniteScroll","hasMore","condition","filteredOptions","filterOptions","Items","map","index","ListItem","Skeletons","Array","from","length","_","EmptySearch","OptionsDrawer","isSmallerDrawer","useClickOutside","onClickOutside","m","initial","animate","exit","variants","containerVariants","AutocompleteMenuSelector","undefined","Fragment","AnimatePresence","motion","overlayVariant","formatedValue","trimEnd","trimStart","j","filter","optionValue","get","toLowerCase","startsWith","unshift","includes","push","itemTransition","ease","duration","hidden","opacity","transition","visible","y","lottieAnimationRef","useLottiePlayer","path","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","TransWithDefault","i18nKey","values","reverse","useRef","distanceBottom","setDistanceBottom","isAtBottom","setIsAtBottom","scrollListener","useCallback","debounce","current","scrollTop","bottom","scrollHeight","clientHeight","Math","round","element","addEventListener","removeEventListener","module","exports"],"sourceRoot":""}