{ "version": 3, "sources": ["../../../node_modules/react/cjs/react.development.js", "../../../node_modules/react/index.js", "../../../node_modules/classnames/index.js", "../../../node_modules/tailwind-merge/src/lib/tw-join.ts", "../../../node_modules/tailwind-merge/src/lib/class-utils.ts", "../../../node_modules/tailwind-merge/src/lib/lru-cache.ts", "../../../node_modules/tailwind-merge/src/lib/modifier-utils.ts", "../../../node_modules/tailwind-merge/src/lib/config-utils.ts", "../../../node_modules/tailwind-merge/src/lib/merge-classlist.ts", "../../../node_modules/tailwind-merge/src/lib/create-tailwind-merge.ts", "../../../node_modules/tailwind-merge/src/lib/from-theme.ts", "../../../node_modules/tailwind-merge/src/lib/validators.ts", "../../../node_modules/tailwind-merge/src/lib/default-config.ts", "../../../node_modules/tailwind-merge/src/lib/tw-merge.ts", "../../../node_modules/tailwind-merge/src/lib/merge-configs.ts", "../../../node_modules/tailwind-merge/src/lib/extend-tailwind-merge.ts", "../../../node_modules/tailwind-merge/src/index.ts", "../../../node_modules/tailwind-merge/dist/index.js", "../../../node_modules/@material-tailwind/react/utils/objectsToArray.js", "../../../node_modules/@material-tailwind/react/utils/objectsToString.js", "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js", "../../../node_modules/prop-types/node_modules/react-is/index.js", "../../../node_modules/object-assign/index.js", "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js", "../../../node_modules/prop-types/lib/has.js", "../../../node_modules/prop-types/checkPropTypes.js", "../../../node_modules/prop-types/factoryWithTypeCheckers.js", "../../../node_modules/prop-types/index.js", "../../../node_modules/deepmerge/dist/cjs.js", "../../../node_modules/@material-tailwind/react/theme/components/accordion/index.js", "../../../node_modules/@material-tailwind/react/theme/components/alert/alertFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/alert/alertGradient.js", "../../../node_modules/@material-tailwind/react/theme/components/alert/alertOutlined.js", "../../../node_modules/@material-tailwind/react/theme/components/alert/alertGhost.js", "../../../node_modules/@material-tailwind/react/types/generic.js", "../../../node_modules/@material-tailwind/react/types/components/alert.js", "../../../node_modules/@material-tailwind/react/theme/components/alert/index.js", "../../../node_modules/@material-tailwind/react/types/components/avatar.js", "../../../node_modules/@material-tailwind/react/theme/components/avatar/avatarBorderColor.js", "../../../node_modules/@material-tailwind/react/theme/components/avatar/index.js", "../../../node_modules/@material-tailwind/react/theme/components/breadcrumbs/index.js", "../../../node_modules/@material-tailwind/react/theme/components/button/buttonFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/button/buttonGradient.js", "../../../node_modules/@material-tailwind/react/theme/components/button/buttonOutlined.js", "../../../node_modules/@material-tailwind/react/theme/components/button/buttonText.js", "../../../node_modules/@material-tailwind/react/types/components/button.js", "../../../node_modules/@material-tailwind/react/theme/components/button/index.js", "../../../node_modules/@material-tailwind/react/theme/components/card/cardFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/card/cardGradient.js", "../../../node_modules/@material-tailwind/react/types/components/card.js", "../../../node_modules/@material-tailwind/react/theme/components/card/index.js", "../../../node_modules/@material-tailwind/react/theme/components/card/cardBody.js", "../../../node_modules/@material-tailwind/react/theme/components/card/cardFooter.js", "../../../node_modules/@material-tailwind/react/theme/components/card/cardHeader.js", "../../../node_modules/@material-tailwind/react/theme/components/checkbox/checkboxColors.js", "../../../node_modules/@material-tailwind/react/types/components/checkbox.js", "../../../node_modules/@material-tailwind/react/theme/components/checkbox/index.js", "../../../node_modules/@material-tailwind/react/theme/components/chip/chipFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/chip/chipGradient.js", "../../../node_modules/@material-tailwind/react/theme/components/chip/chipOutlined.js", "../../../node_modules/@material-tailwind/react/theme/components/chip/chipGhost.js", "../../../node_modules/@material-tailwind/react/types/components/chip.js", "../../../node_modules/@material-tailwind/react/theme/components/chip/index.js", "../../../node_modules/@material-tailwind/react/types/components/dialog.js", "../../../node_modules/@material-tailwind/react/theme/components/dialog/index.js", "../../../node_modules/@material-tailwind/react/theme/components/dialog/dialogBody.js", "../../../node_modules/@material-tailwind/react/theme/components/dialog/dialogFooter.js", "../../../node_modules/@material-tailwind/react/theme/components/dialog/dialogHeader.js", "../../../node_modules/@material-tailwind/react/theme/components/iconButton/index.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputOutlined/inputOutlinedLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputOutlined/inputOutlinedColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputOutlined/inputOutlinedLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputOutlined/index.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStandard/inputStandardLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStandard/inputStandardColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStandard/inputStandardLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStandard/index.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStatic/inputStaticLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStatic/inputStaticColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStatic/inputStaticLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/input/inputStatic/index.js", "../../../node_modules/@material-tailwind/react/types/components/input.js", "../../../node_modules/@material-tailwind/react/theme/components/input/index.js", "../../../node_modules/@material-tailwind/react/theme/components/menu/index.js", "../../../node_modules/@material-tailwind/react/theme/components/navbar/navbarFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/navbar/navbarGradient.js", "../../../node_modules/@material-tailwind/react/types/components/navbar.js", "../../../node_modules/@material-tailwind/react/theme/components/navbar/index.js", "../../../node_modules/@material-tailwind/react/theme/components/popover/index.js", "../../../node_modules/@material-tailwind/react/theme/components/progress/progressFilled.js", "../../../node_modules/@material-tailwind/react/theme/components/progress/progressGradient.js", "../../../node_modules/@material-tailwind/react/types/components/progress.js", "../../../node_modules/@material-tailwind/react/theme/components/progress/index.js", "../../../node_modules/@material-tailwind/react/theme/components/radio/radioColors.js", "../../../node_modules/@material-tailwind/react/theme/components/radio/index.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectOutlined/selectOutlinedLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectOutlined/selectOutlinedColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectOutlined/selectOutlinedLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectOutlined/index.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStandard/selectStandardLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStandard/selectStandardColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStandard/selectStandardLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStandard/index.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStatic/selectStaticLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStatic/selectStaticColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStatic/selectStaticLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/select/selectStatic/index.js", "../../../node_modules/@material-tailwind/react/types/components/select.js", "../../../node_modules/@material-tailwind/react/theme/components/select/index.js", "../../../node_modules/@material-tailwind/react/theme/components/switch/switchColors.js", "../../../node_modules/@material-tailwind/react/theme/components/switch/index.js", "../../../node_modules/@material-tailwind/react/theme/components/tabs/tab.js", "../../../node_modules/@material-tailwind/react/theme/components/tabs/index.js", "../../../node_modules/@material-tailwind/react/theme/components/tabs/tabsBody.js", "../../../node_modules/@material-tailwind/react/theme/components/tabs/tabsHeader.js", "../../../node_modules/@material-tailwind/react/theme/components/tabs/tabPanel.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaOutlined/textareaOutlinedLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaOutlined/textareaOutlinedColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaOutlined/textareaOutlinedLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaOutlined/index.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStandard/textareaStandardLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStandard/textareaStandardColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStandard/textareaStandardLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStandard/index.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStatic/textareaStaticLabel.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStatic/textareaStaticColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStatic/textareaStaticLabelColors.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/textareaStatic/index.js", "../../../node_modules/@material-tailwind/react/theme/components/textarea/index.js", "../../../node_modules/@material-tailwind/react/theme/components/tooltip/index.js", "../../../node_modules/@material-tailwind/react/theme/components/typography/typographyColors.js", "../../../node_modules/@material-tailwind/react/types/components/typography.js", "../../../node_modules/@material-tailwind/react/theme/components/typography/index.js", "../../../node_modules/@material-tailwind/react/theme/components/collapse/index.js", "../../../node_modules/@material-tailwind/react/theme/components/list/index.js", "../../../node_modules/@material-tailwind/react/theme/components/buttonGroup/buttonGroupDividerColor.js", "../../../node_modules/@material-tailwind/react/theme/components/buttonGroup/index.js", "../../../node_modules/@heroicons/react/24/outline/AcademicCapIcon.js", "../../../node_modules/@heroicons/react/24/outline/AdjustmentsHorizontalIcon.js", "../../../node_modules/@heroicons/react/24/outline/AdjustmentsVerticalIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArchiveBoxArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArchiveBoxXMarkIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArchiveBoxIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownOnSquareStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownTrayIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLeftCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLeftEndOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLeftOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLeftStartOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLongDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLongLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLongRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowLongUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowPathRoundedSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowPathIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowRightCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowRightOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowRightStartOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowSmallDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowSmallLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowSmallRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowSmallUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTopRightOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTrendingDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTrendingUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnDownRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnLeftDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnLeftUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnRightDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnRightUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnUpLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowTurnUpRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpOnSquareStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpTrayIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUturnDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUturnLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUturnRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowUturnUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowsPointingInIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowsPointingOutIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowsRightLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ArrowsUpDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/AtSymbolIcon.js", "../../../node_modules/@heroicons/react/24/outline/BackspaceIcon.js", "../../../node_modules/@heroicons/react/24/outline/BackwardIcon.js", "../../../node_modules/@heroicons/react/24/outline/BanknotesIcon.js", "../../../node_modules/@heroicons/react/24/outline/Bars2Icon.js", "../../../node_modules/@heroicons/react/24/outline/Bars3BottomLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/Bars3BottomRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/Bars3CenterLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/Bars3Icon.js", "../../../node_modules/@heroicons/react/24/outline/Bars4Icon.js", "../../../node_modules/@heroicons/react/24/outline/BarsArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/BarsArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/Battery0Icon.js", "../../../node_modules/@heroicons/react/24/outline/Battery100Icon.js", "../../../node_modules/@heroicons/react/24/outline/Battery50Icon.js", "../../../node_modules/@heroicons/react/24/outline/BeakerIcon.js", "../../../node_modules/@heroicons/react/24/outline/BellAlertIcon.js", "../../../node_modules/@heroicons/react/24/outline/BellSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/BellSnoozeIcon.js", "../../../node_modules/@heroicons/react/24/outline/BellIcon.js", "../../../node_modules/@heroicons/react/24/outline/BoldIcon.js", "../../../node_modules/@heroicons/react/24/outline/BoltSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/BoltIcon.js", "../../../node_modules/@heroicons/react/24/outline/BookOpenIcon.js", "../../../node_modules/@heroicons/react/24/outline/BookmarkSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/BookmarkSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/BookmarkIcon.js", "../../../node_modules/@heroicons/react/24/outline/BriefcaseIcon.js", "../../../node_modules/@heroicons/react/24/outline/BugAntIcon.js", "../../../node_modules/@heroicons/react/24/outline/BuildingLibraryIcon.js", "../../../node_modules/@heroicons/react/24/outline/BuildingOffice2Icon.js", "../../../node_modules/@heroicons/react/24/outline/BuildingOfficeIcon.js", "../../../node_modules/@heroicons/react/24/outline/BuildingStorefrontIcon.js", "../../../node_modules/@heroicons/react/24/outline/CakeIcon.js", "../../../node_modules/@heroicons/react/24/outline/CalculatorIcon.js", "../../../node_modules/@heroicons/react/24/outline/CalendarDateRangeIcon.js", "../../../node_modules/@heroicons/react/24/outline/CalendarDaysIcon.js", "../../../node_modules/@heroicons/react/24/outline/CalendarIcon.js", "../../../node_modules/@heroicons/react/24/outline/CameraIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChartBarSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChartBarIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChartPieIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleBottomCenterTextIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleBottomCenterIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleLeftEllipsisIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleLeftRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleOvalLeftEllipsisIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChatBubbleOvalLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/CheckBadgeIcon.js", "../../../node_modules/@heroicons/react/24/outline/CheckCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/CheckIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronDoubleDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronDoubleLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronDoubleRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronDoubleUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronUpDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/ChevronUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/CircleStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/ClipboardDocumentCheckIcon.js", "../../../node_modules/@heroicons/react/24/outline/ClipboardDocumentListIcon.js", "../../../node_modules/@heroicons/react/24/outline/ClipboardDocumentIcon.js", "../../../node_modules/@heroicons/react/24/outline/ClipboardIcon.js", "../../../node_modules/@heroicons/react/24/outline/ClockIcon.js", "../../../node_modules/@heroicons/react/24/outline/CloudArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/CloudArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/CloudIcon.js", "../../../node_modules/@heroicons/react/24/outline/CodeBracketSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/CodeBracketIcon.js", "../../../node_modules/@heroicons/react/24/outline/Cog6ToothIcon.js", "../../../node_modules/@heroicons/react/24/outline/Cog8ToothIcon.js", "../../../node_modules/@heroicons/react/24/outline/CogIcon.js", "../../../node_modules/@heroicons/react/24/outline/CommandLineIcon.js", "../../../node_modules/@heroicons/react/24/outline/ComputerDesktopIcon.js", "../../../node_modules/@heroicons/react/24/outline/CpuChipIcon.js", "../../../node_modules/@heroicons/react/24/outline/CreditCardIcon.js", "../../../node_modules/@heroicons/react/24/outline/CubeTransparentIcon.js", "../../../node_modules/@heroicons/react/24/outline/CubeIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyBangladeshiIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyDollarIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyEuroIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyPoundIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyRupeeIcon.js", "../../../node_modules/@heroicons/react/24/outline/CurrencyYenIcon.js", "../../../node_modules/@heroicons/react/24/outline/CursorArrowRaysIcon.js", "../../../node_modules/@heroicons/react/24/outline/CursorArrowRippleIcon.js", "../../../node_modules/@heroicons/react/24/outline/DevicePhoneMobileIcon.js", "../../../node_modules/@heroicons/react/24/outline/DeviceTabletIcon.js", "../../../node_modules/@heroicons/react/24/outline/DivideIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentChartBarIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCheckIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyBangladeshiIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyDollarIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyEuroIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyPoundIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyRupeeIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentCurrencyYenIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentDuplicateIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentMagnifyingGlassIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentMinusIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentPlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentTextIcon.js", "../../../node_modules/@heroicons/react/24/outline/DocumentIcon.js", "../../../node_modules/@heroicons/react/24/outline/EllipsisHorizontalCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/EllipsisHorizontalIcon.js", "../../../node_modules/@heroicons/react/24/outline/EllipsisVerticalIcon.js", "../../../node_modules/@heroicons/react/24/outline/EnvelopeOpenIcon.js", "../../../node_modules/@heroicons/react/24/outline/EnvelopeIcon.js", "../../../node_modules/@heroicons/react/24/outline/EqualsIcon.js", "../../../node_modules/@heroicons/react/24/outline/ExclamationCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ExclamationTriangleIcon.js", "../../../node_modules/@heroicons/react/24/outline/EyeDropperIcon.js", "../../../node_modules/@heroicons/react/24/outline/EyeSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/EyeIcon.js", "../../../node_modules/@heroicons/react/24/outline/FaceFrownIcon.js", "../../../node_modules/@heroicons/react/24/outline/FaceSmileIcon.js", "../../../node_modules/@heroicons/react/24/outline/FilmIcon.js", "../../../node_modules/@heroicons/react/24/outline/FingerPrintIcon.js", "../../../node_modules/@heroicons/react/24/outline/FireIcon.js", "../../../node_modules/@heroicons/react/24/outline/FlagIcon.js", "../../../node_modules/@heroicons/react/24/outline/FolderArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/FolderMinusIcon.js", "../../../node_modules/@heroicons/react/24/outline/FolderOpenIcon.js", "../../../node_modules/@heroicons/react/24/outline/FolderPlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/FolderIcon.js", "../../../node_modules/@heroicons/react/24/outline/ForwardIcon.js", "../../../node_modules/@heroicons/react/24/outline/FunnelIcon.js", "../../../node_modules/@heroicons/react/24/outline/GifIcon.js", "../../../node_modules/@heroicons/react/24/outline/GiftTopIcon.js", "../../../node_modules/@heroicons/react/24/outline/GiftIcon.js", "../../../node_modules/@heroicons/react/24/outline/GlobeAltIcon.js", "../../../node_modules/@heroicons/react/24/outline/GlobeAmericasIcon.js", "../../../node_modules/@heroicons/react/24/outline/GlobeAsiaAustraliaIcon.js", "../../../node_modules/@heroicons/react/24/outline/GlobeEuropeAfricaIcon.js", "../../../node_modules/@heroicons/react/24/outline/H1Icon.js", "../../../node_modules/@heroicons/react/24/outline/H2Icon.js", "../../../node_modules/@heroicons/react/24/outline/H3Icon.js", "../../../node_modules/@heroicons/react/24/outline/HandRaisedIcon.js", "../../../node_modules/@heroicons/react/24/outline/HandThumbDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/HandThumbUpIcon.js", "../../../node_modules/@heroicons/react/24/outline/HashtagIcon.js", "../../../node_modules/@heroicons/react/24/outline/HeartIcon.js", "../../../node_modules/@heroicons/react/24/outline/HomeModernIcon.js", "../../../node_modules/@heroicons/react/24/outline/HomeIcon.js", "../../../node_modules/@heroicons/react/24/outline/IdentificationIcon.js", "../../../node_modules/@heroicons/react/24/outline/InboxArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/outline/InboxStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/InboxIcon.js", "../../../node_modules/@heroicons/react/24/outline/InformationCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ItalicIcon.js", "../../../node_modules/@heroicons/react/24/outline/KeyIcon.js", "../../../node_modules/@heroicons/react/24/outline/LanguageIcon.js", "../../../node_modules/@heroicons/react/24/outline/LifebuoyIcon.js", "../../../node_modules/@heroicons/react/24/outline/LightBulbIcon.js", "../../../node_modules/@heroicons/react/24/outline/LinkSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/LinkIcon.js", "../../../node_modules/@heroicons/react/24/outline/ListBulletIcon.js", "../../../node_modules/@heroicons/react/24/outline/LockClosedIcon.js", "../../../node_modules/@heroicons/react/24/outline/LockOpenIcon.js", "../../../node_modules/@heroicons/react/24/outline/MagnifyingGlassCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/MagnifyingGlassMinusIcon.js", "../../../node_modules/@heroicons/react/24/outline/MagnifyingGlassPlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/MagnifyingGlassIcon.js", "../../../node_modules/@heroicons/react/24/outline/MapPinIcon.js", "../../../node_modules/@heroicons/react/24/outline/MapIcon.js", "../../../node_modules/@heroicons/react/24/outline/MegaphoneIcon.js", "../../../node_modules/@heroicons/react/24/outline/MicrophoneIcon.js", "../../../node_modules/@heroicons/react/24/outline/MinusCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/MinusSmallIcon.js", "../../../node_modules/@heroicons/react/24/outline/MinusIcon.js", "../../../node_modules/@heroicons/react/24/outline/MoonIcon.js", "../../../node_modules/@heroicons/react/24/outline/MusicalNoteIcon.js", "../../../node_modules/@heroicons/react/24/outline/NewspaperIcon.js", "../../../node_modules/@heroicons/react/24/outline/NoSymbolIcon.js", "../../../node_modules/@heroicons/react/24/outline/NumberedListIcon.js", "../../../node_modules/@heroicons/react/24/outline/PaintBrushIcon.js", "../../../node_modules/@heroicons/react/24/outline/PaperAirplaneIcon.js", "../../../node_modules/@heroicons/react/24/outline/PaperClipIcon.js", "../../../node_modules/@heroicons/react/24/outline/PauseCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/PauseIcon.js", "../../../node_modules/@heroicons/react/24/outline/PencilSquareIcon.js", "../../../node_modules/@heroicons/react/24/outline/PencilIcon.js", "../../../node_modules/@heroicons/react/24/outline/PercentBadgeIcon.js", "../../../node_modules/@heroicons/react/24/outline/PhoneArrowDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/outline/PhoneArrowUpRightIcon.js", "../../../node_modules/@heroicons/react/24/outline/PhoneXMarkIcon.js", "../../../node_modules/@heroicons/react/24/outline/PhoneIcon.js", "../../../node_modules/@heroicons/react/24/outline/PhotoIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlayCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlayPauseIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlayIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlusCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlusSmallIcon.js", "../../../node_modules/@heroicons/react/24/outline/PlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/PowerIcon.js", "../../../node_modules/@heroicons/react/24/outline/PresentationChartBarIcon.js", "../../../node_modules/@heroicons/react/24/outline/PresentationChartLineIcon.js", "../../../node_modules/@heroicons/react/24/outline/PrinterIcon.js", "../../../node_modules/@heroicons/react/24/outline/PuzzlePieceIcon.js", "../../../node_modules/@heroicons/react/24/outline/QrCodeIcon.js", "../../../node_modules/@heroicons/react/24/outline/QuestionMarkCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/QueueListIcon.js", "../../../node_modules/@heroicons/react/24/outline/RadioIcon.js", "../../../node_modules/@heroicons/react/24/outline/ReceiptPercentIcon.js", "../../../node_modules/@heroicons/react/24/outline/ReceiptRefundIcon.js", "../../../node_modules/@heroicons/react/24/outline/RectangleGroupIcon.js", "../../../node_modules/@heroicons/react/24/outline/RectangleStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/RocketLaunchIcon.js", "../../../node_modules/@heroicons/react/24/outline/RssIcon.js", "../../../node_modules/@heroicons/react/24/outline/ScaleIcon.js", "../../../node_modules/@heroicons/react/24/outline/ScissorsIcon.js", "../../../node_modules/@heroicons/react/24/outline/ServerStackIcon.js", "../../../node_modules/@heroicons/react/24/outline/ServerIcon.js", "../../../node_modules/@heroicons/react/24/outline/ShareIcon.js", "../../../node_modules/@heroicons/react/24/outline/ShieldCheckIcon.js", "../../../node_modules/@heroicons/react/24/outline/ShieldExclamationIcon.js", "../../../node_modules/@heroicons/react/24/outline/ShoppingBagIcon.js", "../../../node_modules/@heroicons/react/24/outline/ShoppingCartIcon.js", "../../../node_modules/@heroicons/react/24/outline/SignalSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/SignalIcon.js", "../../../node_modules/@heroicons/react/24/outline/SlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/SparklesIcon.js", "../../../node_modules/@heroicons/react/24/outline/SpeakerWaveIcon.js", "../../../node_modules/@heroicons/react/24/outline/SpeakerXMarkIcon.js", "../../../node_modules/@heroicons/react/24/outline/Square2StackIcon.js", "../../../node_modules/@heroicons/react/24/outline/Square3Stack3DIcon.js", "../../../node_modules/@heroicons/react/24/outline/Squares2X2Icon.js", "../../../node_modules/@heroicons/react/24/outline/SquaresPlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/StarIcon.js", "../../../node_modules/@heroicons/react/24/outline/StopCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/StopIcon.js", "../../../node_modules/@heroicons/react/24/outline/StrikethroughIcon.js", "../../../node_modules/@heroicons/react/24/outline/SunIcon.js", "../../../node_modules/@heroicons/react/24/outline/SwatchIcon.js", "../../../node_modules/@heroicons/react/24/outline/TableCellsIcon.js", "../../../node_modules/@heroicons/react/24/outline/TagIcon.js", "../../../node_modules/@heroicons/react/24/outline/TicketIcon.js", "../../../node_modules/@heroicons/react/24/outline/TrashIcon.js", "../../../node_modules/@heroicons/react/24/outline/TrophyIcon.js", "../../../node_modules/@heroicons/react/24/outline/TruckIcon.js", "../../../node_modules/@heroicons/react/24/outline/TvIcon.js", "../../../node_modules/@heroicons/react/24/outline/UnderlineIcon.js", "../../../node_modules/@heroicons/react/24/outline/UserCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/UserGroupIcon.js", "../../../node_modules/@heroicons/react/24/outline/UserMinusIcon.js", "../../../node_modules/@heroicons/react/24/outline/UserPlusIcon.js", "../../../node_modules/@heroicons/react/24/outline/UserIcon.js", "../../../node_modules/@heroicons/react/24/outline/UsersIcon.js", "../../../node_modules/@heroicons/react/24/outline/VariableIcon.js", "../../../node_modules/@heroicons/react/24/outline/VideoCameraSlashIcon.js", "../../../node_modules/@heroicons/react/24/outline/VideoCameraIcon.js", "../../../node_modules/@heroicons/react/24/outline/ViewColumnsIcon.js", "../../../node_modules/@heroicons/react/24/outline/ViewfinderCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/WalletIcon.js", "../../../node_modules/@heroicons/react/24/outline/WifiIcon.js", "../../../node_modules/@heroicons/react/24/outline/WindowIcon.js", "../../../node_modules/@heroicons/react/24/outline/WrenchScrewdriverIcon.js", "../../../node_modules/@heroicons/react/24/outline/WrenchIcon.js", "../../../node_modules/@heroicons/react/24/outline/XCircleIcon.js", "../../../node_modules/@heroicons/react/24/outline/XMarkIcon.js", "../../../node_modules/@heroicons/react/24/outline/index.js", "../../../node_modules/@material-tailwind/react/theme/components/carousel/index.js", "../../../node_modules/@material-tailwind/react/theme/components/drawer/index.js", "../../../node_modules/@material-tailwind/react/types/components/badge.js", "../../../node_modules/@material-tailwind/react/theme/components/badge/badgeColors.js", "../../../node_modules/@material-tailwind/react/theme/components/badge/index.js", "../../../node_modules/@material-tailwind/react/types/components/rating.js", "../../../node_modules/@material-tailwind/react/theme/components/rating/ratingColors.js", "../../../node_modules/@heroicons/react/24/solid/AcademicCapIcon.js", "../../../node_modules/@heroicons/react/24/solid/AdjustmentsHorizontalIcon.js", "../../../node_modules/@heroicons/react/24/solid/AdjustmentsVerticalIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArchiveBoxArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArchiveBoxXMarkIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArchiveBoxIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownOnSquareStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownTrayIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLeftCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLeftEndOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLeftOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLeftStartOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLongDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLongLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLongRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowLongUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowPathRoundedSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowPathIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowRightCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowRightEndOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowRightOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowRightStartOnRectangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowSmallDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowSmallLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowSmallRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowSmallUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTopRightOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTrendingDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTrendingUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnDownRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnLeftDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnLeftUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnRightDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnRightUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnUpLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowTurnUpRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpOnSquareStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpOnSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpTrayIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUturnDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUturnLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUturnRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowUturnUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowsPointingInIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowsPointingOutIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowsRightLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ArrowsUpDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/AtSymbolIcon.js", "../../../node_modules/@heroicons/react/24/solid/BackspaceIcon.js", "../../../node_modules/@heroicons/react/24/solid/BackwardIcon.js", "../../../node_modules/@heroicons/react/24/solid/BanknotesIcon.js", "../../../node_modules/@heroicons/react/24/solid/Bars2Icon.js", "../../../node_modules/@heroicons/react/24/solid/Bars3BottomLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/Bars3BottomRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/Bars3CenterLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/Bars3Icon.js", "../../../node_modules/@heroicons/react/24/solid/Bars4Icon.js", "../../../node_modules/@heroicons/react/24/solid/BarsArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/BarsArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/Battery0Icon.js", "../../../node_modules/@heroicons/react/24/solid/Battery100Icon.js", "../../../node_modules/@heroicons/react/24/solid/Battery50Icon.js", "../../../node_modules/@heroicons/react/24/solid/BeakerIcon.js", "../../../node_modules/@heroicons/react/24/solid/BellAlertIcon.js", "../../../node_modules/@heroicons/react/24/solid/BellSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/BellSnoozeIcon.js", "../../../node_modules/@heroicons/react/24/solid/BellIcon.js", "../../../node_modules/@heroicons/react/24/solid/BoldIcon.js", "../../../node_modules/@heroicons/react/24/solid/BoltSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/BoltIcon.js", "../../../node_modules/@heroicons/react/24/solid/BookOpenIcon.js", "../../../node_modules/@heroicons/react/24/solid/BookmarkSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/BookmarkSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/BookmarkIcon.js", "../../../node_modules/@heroicons/react/24/solid/BriefcaseIcon.js", "../../../node_modules/@heroicons/react/24/solid/BugAntIcon.js", "../../../node_modules/@heroicons/react/24/solid/BuildingLibraryIcon.js", "../../../node_modules/@heroicons/react/24/solid/BuildingOffice2Icon.js", "../../../node_modules/@heroicons/react/24/solid/BuildingOfficeIcon.js", "../../../node_modules/@heroicons/react/24/solid/BuildingStorefrontIcon.js", "../../../node_modules/@heroicons/react/24/solid/CakeIcon.js", "../../../node_modules/@heroicons/react/24/solid/CalculatorIcon.js", "../../../node_modules/@heroicons/react/24/solid/CalendarDateRangeIcon.js", "../../../node_modules/@heroicons/react/24/solid/CalendarDaysIcon.js", "../../../node_modules/@heroicons/react/24/solid/CalendarIcon.js", "../../../node_modules/@heroicons/react/24/solid/CameraIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChartBarSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChartBarIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChartPieIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleBottomCenterTextIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleBottomCenterIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleLeftEllipsisIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleLeftRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleOvalLeftEllipsisIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChatBubbleOvalLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/CheckBadgeIcon.js", "../../../node_modules/@heroicons/react/24/solid/CheckCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/CheckIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronDoubleDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronDoubleLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronDoubleRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronDoubleUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronUpDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/ChevronUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/CircleStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/ClipboardDocumentCheckIcon.js", "../../../node_modules/@heroicons/react/24/solid/ClipboardDocumentListIcon.js", "../../../node_modules/@heroicons/react/24/solid/ClipboardDocumentIcon.js", "../../../node_modules/@heroicons/react/24/solid/ClipboardIcon.js", "../../../node_modules/@heroicons/react/24/solid/ClockIcon.js", "../../../node_modules/@heroicons/react/24/solid/CloudArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/CloudArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/CloudIcon.js", "../../../node_modules/@heroicons/react/24/solid/CodeBracketSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/CodeBracketIcon.js", "../../../node_modules/@heroicons/react/24/solid/Cog6ToothIcon.js", "../../../node_modules/@heroicons/react/24/solid/Cog8ToothIcon.js", "../../../node_modules/@heroicons/react/24/solid/CogIcon.js", "../../../node_modules/@heroicons/react/24/solid/CommandLineIcon.js", "../../../node_modules/@heroicons/react/24/solid/ComputerDesktopIcon.js", "../../../node_modules/@heroicons/react/24/solid/CpuChipIcon.js", "../../../node_modules/@heroicons/react/24/solid/CreditCardIcon.js", "../../../node_modules/@heroicons/react/24/solid/CubeTransparentIcon.js", "../../../node_modules/@heroicons/react/24/solid/CubeIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyBangladeshiIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyDollarIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyEuroIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyPoundIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyRupeeIcon.js", "../../../node_modules/@heroicons/react/24/solid/CurrencyYenIcon.js", "../../../node_modules/@heroicons/react/24/solid/CursorArrowRaysIcon.js", "../../../node_modules/@heroicons/react/24/solid/CursorArrowRippleIcon.js", "../../../node_modules/@heroicons/react/24/solid/DevicePhoneMobileIcon.js", "../../../node_modules/@heroicons/react/24/solid/DeviceTabletIcon.js", "../../../node_modules/@heroicons/react/24/solid/DivideIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentArrowUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentChartBarIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCheckIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyBangladeshiIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyDollarIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyEuroIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyPoundIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyRupeeIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentCurrencyYenIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentDuplicateIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentMagnifyingGlassIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentMinusIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentPlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentTextIcon.js", "../../../node_modules/@heroicons/react/24/solid/DocumentIcon.js", "../../../node_modules/@heroicons/react/24/solid/EllipsisHorizontalCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/EllipsisHorizontalIcon.js", "../../../node_modules/@heroicons/react/24/solid/EllipsisVerticalIcon.js", "../../../node_modules/@heroicons/react/24/solid/EnvelopeOpenIcon.js", "../../../node_modules/@heroicons/react/24/solid/EnvelopeIcon.js", "../../../node_modules/@heroicons/react/24/solid/EqualsIcon.js", "../../../node_modules/@heroicons/react/24/solid/ExclamationCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ExclamationTriangleIcon.js", "../../../node_modules/@heroicons/react/24/solid/EyeDropperIcon.js", "../../../node_modules/@heroicons/react/24/solid/EyeSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/EyeIcon.js", "../../../node_modules/@heroicons/react/24/solid/FaceFrownIcon.js", "../../../node_modules/@heroicons/react/24/solid/FaceSmileIcon.js", "../../../node_modules/@heroicons/react/24/solid/FilmIcon.js", "../../../node_modules/@heroicons/react/24/solid/FingerPrintIcon.js", "../../../node_modules/@heroicons/react/24/solid/FireIcon.js", "../../../node_modules/@heroicons/react/24/solid/FlagIcon.js", "../../../node_modules/@heroicons/react/24/solid/FolderArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/FolderMinusIcon.js", "../../../node_modules/@heroicons/react/24/solid/FolderOpenIcon.js", "../../../node_modules/@heroicons/react/24/solid/FolderPlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/FolderIcon.js", "../../../node_modules/@heroicons/react/24/solid/ForwardIcon.js", "../../../node_modules/@heroicons/react/24/solid/FunnelIcon.js", "../../../node_modules/@heroicons/react/24/solid/GifIcon.js", "../../../node_modules/@heroicons/react/24/solid/GiftTopIcon.js", "../../../node_modules/@heroicons/react/24/solid/GiftIcon.js", "../../../node_modules/@heroicons/react/24/solid/GlobeAltIcon.js", "../../../node_modules/@heroicons/react/24/solid/GlobeAmericasIcon.js", "../../../node_modules/@heroicons/react/24/solid/GlobeAsiaAustraliaIcon.js", "../../../node_modules/@heroicons/react/24/solid/GlobeEuropeAfricaIcon.js", "../../../node_modules/@heroicons/react/24/solid/H1Icon.js", "../../../node_modules/@heroicons/react/24/solid/H2Icon.js", "../../../node_modules/@heroicons/react/24/solid/H3Icon.js", "../../../node_modules/@heroicons/react/24/solid/HandRaisedIcon.js", "../../../node_modules/@heroicons/react/24/solid/HandThumbDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/HandThumbUpIcon.js", "../../../node_modules/@heroicons/react/24/solid/HashtagIcon.js", "../../../node_modules/@heroicons/react/24/solid/HeartIcon.js", "../../../node_modules/@heroicons/react/24/solid/HomeModernIcon.js", "../../../node_modules/@heroicons/react/24/solid/HomeIcon.js", "../../../node_modules/@heroicons/react/24/solid/IdentificationIcon.js", "../../../node_modules/@heroicons/react/24/solid/InboxArrowDownIcon.js", "../../../node_modules/@heroicons/react/24/solid/InboxStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/InboxIcon.js", "../../../node_modules/@heroicons/react/24/solid/InformationCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ItalicIcon.js", "../../../node_modules/@heroicons/react/24/solid/KeyIcon.js", "../../../node_modules/@heroicons/react/24/solid/LanguageIcon.js", "../../../node_modules/@heroicons/react/24/solid/LifebuoyIcon.js", "../../../node_modules/@heroicons/react/24/solid/LightBulbIcon.js", "../../../node_modules/@heroicons/react/24/solid/LinkSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/LinkIcon.js", "../../../node_modules/@heroicons/react/24/solid/ListBulletIcon.js", "../../../node_modules/@heroicons/react/24/solid/LockClosedIcon.js", "../../../node_modules/@heroicons/react/24/solid/LockOpenIcon.js", "../../../node_modules/@heroicons/react/24/solid/MagnifyingGlassCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/MagnifyingGlassMinusIcon.js", "../../../node_modules/@heroicons/react/24/solid/MagnifyingGlassPlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/MagnifyingGlassIcon.js", "../../../node_modules/@heroicons/react/24/solid/MapPinIcon.js", "../../../node_modules/@heroicons/react/24/solid/MapIcon.js", "../../../node_modules/@heroicons/react/24/solid/MegaphoneIcon.js", "../../../node_modules/@heroicons/react/24/solid/MicrophoneIcon.js", "../../../node_modules/@heroicons/react/24/solid/MinusCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/MinusSmallIcon.js", "../../../node_modules/@heroicons/react/24/solid/MinusIcon.js", "../../../node_modules/@heroicons/react/24/solid/MoonIcon.js", "../../../node_modules/@heroicons/react/24/solid/MusicalNoteIcon.js", "../../../node_modules/@heroicons/react/24/solid/NewspaperIcon.js", "../../../node_modules/@heroicons/react/24/solid/NoSymbolIcon.js", "../../../node_modules/@heroicons/react/24/solid/NumberedListIcon.js", "../../../node_modules/@heroicons/react/24/solid/PaintBrushIcon.js", "../../../node_modules/@heroicons/react/24/solid/PaperAirplaneIcon.js", "../../../node_modules/@heroicons/react/24/solid/PaperClipIcon.js", "../../../node_modules/@heroicons/react/24/solid/PauseCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/PauseIcon.js", "../../../node_modules/@heroicons/react/24/solid/PencilSquareIcon.js", "../../../node_modules/@heroicons/react/24/solid/PencilIcon.js", "../../../node_modules/@heroicons/react/24/solid/PercentBadgeIcon.js", "../../../node_modules/@heroicons/react/24/solid/PhoneArrowDownLeftIcon.js", "../../../node_modules/@heroicons/react/24/solid/PhoneArrowUpRightIcon.js", "../../../node_modules/@heroicons/react/24/solid/PhoneXMarkIcon.js", "../../../node_modules/@heroicons/react/24/solid/PhoneIcon.js", "../../../node_modules/@heroicons/react/24/solid/PhotoIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlayCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlayPauseIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlayIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlusCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlusSmallIcon.js", "../../../node_modules/@heroicons/react/24/solid/PlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/PowerIcon.js", "../../../node_modules/@heroicons/react/24/solid/PresentationChartBarIcon.js", "../../../node_modules/@heroicons/react/24/solid/PresentationChartLineIcon.js", "../../../node_modules/@heroicons/react/24/solid/PrinterIcon.js", "../../../node_modules/@heroicons/react/24/solid/PuzzlePieceIcon.js", "../../../node_modules/@heroicons/react/24/solid/QrCodeIcon.js", "../../../node_modules/@heroicons/react/24/solid/QuestionMarkCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/QueueListIcon.js", "../../../node_modules/@heroicons/react/24/solid/RadioIcon.js", "../../../node_modules/@heroicons/react/24/solid/ReceiptPercentIcon.js", "../../../node_modules/@heroicons/react/24/solid/ReceiptRefundIcon.js", "../../../node_modules/@heroicons/react/24/solid/RectangleGroupIcon.js", "../../../node_modules/@heroicons/react/24/solid/RectangleStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/RocketLaunchIcon.js", "../../../node_modules/@heroicons/react/24/solid/RssIcon.js", "../../../node_modules/@heroicons/react/24/solid/ScaleIcon.js", "../../../node_modules/@heroicons/react/24/solid/ScissorsIcon.js", "../../../node_modules/@heroicons/react/24/solid/ServerStackIcon.js", "../../../node_modules/@heroicons/react/24/solid/ServerIcon.js", "../../../node_modules/@heroicons/react/24/solid/ShareIcon.js", "../../../node_modules/@heroicons/react/24/solid/ShieldCheckIcon.js", "../../../node_modules/@heroicons/react/24/solid/ShieldExclamationIcon.js", "../../../node_modules/@heroicons/react/24/solid/ShoppingBagIcon.js", "../../../node_modules/@heroicons/react/24/solid/ShoppingCartIcon.js", "../../../node_modules/@heroicons/react/24/solid/SignalSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/SignalIcon.js", "../../../node_modules/@heroicons/react/24/solid/SlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/SparklesIcon.js", "../../../node_modules/@heroicons/react/24/solid/SpeakerWaveIcon.js", "../../../node_modules/@heroicons/react/24/solid/SpeakerXMarkIcon.js", "../../../node_modules/@heroicons/react/24/solid/Square2StackIcon.js", "../../../node_modules/@heroicons/react/24/solid/Square3Stack3DIcon.js", "../../../node_modules/@heroicons/react/24/solid/Squares2X2Icon.js", "../../../node_modules/@heroicons/react/24/solid/SquaresPlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/StarIcon.js", "../../../node_modules/@heroicons/react/24/solid/StopCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/StopIcon.js", "../../../node_modules/@heroicons/react/24/solid/StrikethroughIcon.js", "../../../node_modules/@heroicons/react/24/solid/SunIcon.js", "../../../node_modules/@heroicons/react/24/solid/SwatchIcon.js", "../../../node_modules/@heroicons/react/24/solid/TableCellsIcon.js", "../../../node_modules/@heroicons/react/24/solid/TagIcon.js", "../../../node_modules/@heroicons/react/24/solid/TicketIcon.js", "../../../node_modules/@heroicons/react/24/solid/TrashIcon.js", "../../../node_modules/@heroicons/react/24/solid/TrophyIcon.js", "../../../node_modules/@heroicons/react/24/solid/TruckIcon.js", "../../../node_modules/@heroicons/react/24/solid/TvIcon.js", "../../../node_modules/@heroicons/react/24/solid/UnderlineIcon.js", "../../../node_modules/@heroicons/react/24/solid/UserCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/UserGroupIcon.js", "../../../node_modules/@heroicons/react/24/solid/UserMinusIcon.js", "../../../node_modules/@heroicons/react/24/solid/UserPlusIcon.js", "../../../node_modules/@heroicons/react/24/solid/UserIcon.js", "../../../node_modules/@heroicons/react/24/solid/UsersIcon.js", "../../../node_modules/@heroicons/react/24/solid/VariableIcon.js", "../../../node_modules/@heroicons/react/24/solid/VideoCameraSlashIcon.js", "../../../node_modules/@heroicons/react/24/solid/VideoCameraIcon.js", "../../../node_modules/@heroicons/react/24/solid/ViewColumnsIcon.js", "../../../node_modules/@heroicons/react/24/solid/ViewfinderCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/WalletIcon.js", "../../../node_modules/@heroicons/react/24/solid/WifiIcon.js", "../../../node_modules/@heroicons/react/24/solid/WindowIcon.js", "../../../node_modules/@heroicons/react/24/solid/WrenchScrewdriverIcon.js", "../../../node_modules/@heroicons/react/24/solid/WrenchIcon.js", "../../../node_modules/@heroicons/react/24/solid/XCircleIcon.js", "../../../node_modules/@heroicons/react/24/solid/XMarkIcon.js", "../../../node_modules/@heroicons/react/24/solid/index.js", "../../../node_modules/@material-tailwind/react/theme/components/rating/index.js", "../../../node_modules/@material-tailwind/react/types/components/slider.js", "../../../node_modules/@material-tailwind/react/theme/components/slider/sliderColor.js", "../../../node_modules/@material-tailwind/react/theme/components/slider/index.js", "../../../node_modules/@material-tailwind/react/types/components/spinner.js", "../../../node_modules/@material-tailwind/react/theme/components/spinner/spinnerColor.js", "../../../node_modules/@material-tailwind/react/theme/components/spinner/index.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timeline.js", "../../../node_modules/@material-tailwind/react/types/components/timeline.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineItem.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineIconColors/ghost.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineIconColors/filled.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineIconColors/outlined.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineIconColors/gradient.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineIcon.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineHeader.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineBody.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/timelineConnector.js", "../../../node_modules/@material-tailwind/react/theme/components/timeline/index.js", "../../../node_modules/@material-tailwind/react/theme/components/stepper/step.js", "../../../node_modules/@material-tailwind/react/theme/components/stepper/stepper.js", "../../../node_modules/@material-tailwind/react/theme/components/stepper/index.js", "../../../node_modules/@material-tailwind/react/theme/components/speedDial/speedDial.js", "../../../node_modules/@material-tailwind/react/theme/components/speedDial/speedDialContent.js", "../../../node_modules/@material-tailwind/react/theme/components/speedDial/speedDialAction.js", "../../../node_modules/@material-tailwind/react/theme/components/speedDial/index.js", "../../../node_modules/@material-tailwind/react/theme/index.js", "../../../node_modules/@material-tailwind/react/utils/combineMerge.js", "../../../node_modules/@material-tailwind/react/context/theme.js", "../../../node_modules/@material-tailwind/react/types/components/accordion.js", "../../../node_modules/@material-tailwind/react/components/Accordion/AccordionContext.js", "../../../node_modules/@material-tailwind/react/components/Accordion/AccordionHeader.js", "../../../node_modules/tslib/tslib.es6.mjs", "../../../node_modules/hey-listen/dist/index.js", "../../../node_modules/style-value-types/dist/valueTypes.cjs.js", "../../../node_modules/framesync/dist/framesync.cjs.js", "../../../node_modules/popmotion/dist/popmotion.cjs.js", "../../../node_modules/@motionone/types/dist/MotionValue.cjs.js", "../../../node_modules/@motionone/types/dist/index.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/data.cjs.js", "../../../node_modules/@motionone/utils/dist/array.cjs.js", "../../../node_modules/@motionone/utils/dist/clamp.cjs.js", "../../../node_modules/@motionone/utils/dist/defaults.cjs.js", "../../../node_modules/@motionone/utils/dist/is-number.cjs.js", "../../../node_modules/@motionone/utils/dist/is-easing-list.cjs.js", "../../../node_modules/@motionone/utils/dist/wrap.cjs.js", "../../../node_modules/@motionone/utils/dist/easing.cjs.js", "../../../node_modules/@motionone/utils/dist/mix.cjs.js", "../../../node_modules/@motionone/utils/dist/noop.cjs.js", "../../../node_modules/@motionone/utils/dist/progress.cjs.js", "../../../node_modules/@motionone/utils/dist/offset.cjs.js", "../../../node_modules/@motionone/utils/dist/interpolate.cjs.js", "../../../node_modules/@motionone/utils/dist/is-cubic-bezier.cjs.js", "../../../node_modules/@motionone/utils/dist/is-easing-generator.cjs.js", "../../../node_modules/@motionone/utils/dist/is-function.cjs.js", "../../../node_modules/@motionone/utils/dist/is-string.cjs.js", "../../../node_modules/@motionone/utils/dist/time.cjs.js", "../../../node_modules/@motionone/utils/dist/velocity.cjs.js", "../../../node_modules/@motionone/utils/dist/index.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/transforms.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/css-var.cjs.js", "../../../node_modules/@motionone/easing/dist/cubic-bezier.cjs.js", "../../../node_modules/@motionone/easing/dist/steps.cjs.js", "../../../node_modules/@motionone/easing/dist/index.cjs.js", "../../../node_modules/@motionone/animation/dist/utils/easing.cjs.js", "../../../node_modules/@motionone/animation/dist/Animation.cjs.js", "../../../node_modules/@motionone/animation/dist/index.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/easing.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/keyframes.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/style.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/animate-style.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/options.cjs.js", "../../../node_modules/@motionone/dom/dist/utils/resolve-elements.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/controls.cjs.js", "../../../node_modules/@motionone/dom/dist/utils/stagger.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/index.cjs.js", "../../../node_modules/@motionone/dom/dist/timeline/utils/calc-time.cjs.js", "../../../node_modules/@motionone/dom/dist/timeline/utils/edit.cjs.js", "../../../node_modules/@motionone/dom/dist/timeline/utils/sort.cjs.js", "../../../node_modules/@motionone/dom/dist/timeline/index.cjs.js", "../../../node_modules/@motionone/generators/dist/utils/velocity.cjs.js", "../../../node_modules/@motionone/generators/dist/spring/defaults.cjs.js", "../../../node_modules/@motionone/generators/dist/spring/utils.cjs.js", "../../../node_modules/@motionone/generators/dist/utils/has-reached-target.cjs.js", "../../../node_modules/@motionone/generators/dist/spring/index.cjs.js", "../../../node_modules/@motionone/generators/dist/glide/index.cjs.js", "../../../node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.cjs.js", "../../../node_modules/@motionone/generators/dist/index.cjs.js", "../../../node_modules/@motionone/dom/dist/easing/create-generator-easing.cjs.js", "../../../node_modules/@motionone/dom/dist/easing/spring/index.cjs.js", "../../../node_modules/@motionone/dom/dist/easing/glide/index.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/in-view.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/resize/handle-element.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/resize/handle-window.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/resize/index.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/info.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.cjs.js", "../../../node_modules/@motionone/dom/dist/gestures/scroll/index.cjs.js", "../../../node_modules/@motionone/dom/dist/state/utils/has-changed.cjs.js", "../../../node_modules/@motionone/dom/dist/state/utils/is-variant.cjs.js", "../../../node_modules/@motionone/dom/dist/state/utils/resolve-variant.cjs.js", "../../../node_modules/@motionone/dom/dist/state/utils/schedule.cjs.js", "../../../node_modules/@motionone/dom/dist/state/utils/events.cjs.js", "../../../node_modules/@motionone/dom/dist/state/gestures/in-view.cjs.js", "../../../node_modules/@motionone/dom/dist/state/gestures/hover.cjs.js", "../../../node_modules/@motionone/dom/dist/state/gestures/press.cjs.js", "../../../node_modules/@motionone/dom/dist/state/index.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/style-object.cjs.js", "../../../node_modules/@motionone/dom/dist/animate/utils/style-string.cjs.js", "../../../node_modules/@motionone/dom/dist/index.cjs.js", "../../../node_modules/@emotion/is-prop-valid/node_modules/@emotion/memoize/dist/memoize.browser.cjs.js", "../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js", "../../../node_modules/framer-motion/dist/cjs/index.js", "../../../node_modules/@material-tailwind/react/components/Accordion/AccordionBody.js", "../../../node_modules/@material-tailwind/react/components/Accordion/index.js", "../../../node_modules/@material-tailwind/react/utils/findMatch.js", "../../../node_modules/material-ripple-effects/index.js", "../../../node_modules/@material-tailwind/react/components/IconButton/index.js", "../../../node_modules/@material-tailwind/react/components/Alert/index.js", "../../../node_modules/@material-tailwind/react/components/Avatar/index.js", "../../../node_modules/@material-tailwind/react/types/components/breadcrumbs.js", "../../../node_modules/@material-tailwind/react/components/Breadcrumbs/index.js", "../../../node_modules/@material-tailwind/react/components/Button/index.js", "../../../node_modules/@material-tailwind/react/components/Card/CardHeader.js", "../../../node_modules/@material-tailwind/react/components/Card/CardBody.js", "../../../node_modules/@material-tailwind/react/components/Card/CardFooter.js", "../../../node_modules/@material-tailwind/react/components/Card/index.js", "../../../node_modules/@material-tailwind/react/components/Checkbox/index.js", "../../../node_modules/@material-tailwind/react/components/Chip/index.js", "../../../node_modules/aria-hidden/dist/es2015/index.js", "../../../node_modules/tabbable/src/index.js", "../../../node_modules/scheduler/cjs/scheduler.development.js", "../../../node_modules/scheduler/index.js", "../../../node_modules/react-dom/cjs/react-dom.development.js", "../../../node_modules/react-dom/index.js", "../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs", "../../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs", "../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs", "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs", "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js", "../../../node_modules/@floating-ui/react/dist/floating-ui.react.esm.js", "../../../node_modules/@material-tailwind/react/components/Dialog/DialogHeader.js", "../../../node_modules/@material-tailwind/react/components/Dialog/DialogBody.js", "../../../node_modules/@material-tailwind/react/components/Dialog/DialogFooter.js", "../../../node_modules/@material-tailwind/react/components/Dialog/index.js", "../../../node_modules/@material-tailwind/react/components/Input/index.js", "../../../node_modules/@material-tailwind/react/types/components/menu.js", "../../../node_modules/@material-tailwind/react/components/Menu/MenuContext.js", "../../../node_modules/@material-tailwind/react/components/Menu/MenuCore.js", "../../../node_modules/@material-tailwind/react/components/Menu/MenuHandler.js", "../../../node_modules/@material-tailwind/react/components/Menu/MenuList.js", "../../../node_modules/@material-tailwind/react/components/Menu/MenuItem.js", "../../../node_modules/@material-tailwind/react/components/Menu/index.js", "../../../node_modules/@material-tailwind/react/components/Navbar/MobileNav.js", "../../../node_modules/@material-tailwind/react/components/Navbar/index.js", "../../../node_modules/@material-tailwind/react/types/components/popover.js", "../../../node_modules/@material-tailwind/react/components/Popover/PopoverContext.js", "../../../node_modules/@material-tailwind/react/components/Popover/PopoverHandler.js", "../../../node_modules/@material-tailwind/react/components/Popover/PopoverContent.js", "../../../node_modules/@material-tailwind/react/components/Popover/index.js", "../../../node_modules/@material-tailwind/react/components/Progress/index.js", "../../../node_modules/@material-tailwind/react/components/Radio/index.js", "../../../node_modules/@material-tailwind/react/components/Select/SelectContext.js", "../../../node_modules/@material-tailwind/react/components/Select/SelectOption.js", "../../../node_modules/@material-tailwind/react/components/Select/index.js", "../../../node_modules/@material-tailwind/react/components/Switch/index.js", "../../../node_modules/@material-tailwind/react/types/components/tabs.js", "../../../node_modules/@material-tailwind/react/components/Tabs/TabsContext.js", "../../../node_modules/@material-tailwind/react/components/Tabs/Tab.js", "../../../node_modules/@material-tailwind/react/components/Tabs/TabsBody.js", "../../../node_modules/@material-tailwind/react/components/Tabs/TabsHeader.js", "../../../node_modules/@material-tailwind/react/components/Tabs/TabPanel.js", "../../../node_modules/@material-tailwind/react/components/Tabs/index.js", "../../../node_modules/@material-tailwind/react/components/Textarea/index.js", "../../../node_modules/@material-tailwind/react/components/Tooltip/index.js", "../../../node_modules/@material-tailwind/react/components/Typography/index.js", "../../../node_modules/@material-tailwind/react/types/components/collapse.js", "../../../node_modules/@material-tailwind/react/components/Collapse/index.js", "../../../node_modules/@material-tailwind/react/types/components/list.js", "../../../node_modules/@material-tailwind/react/components/List/ListItemPrefix.js", "../../../node_modules/@material-tailwind/react/components/List/ListItemSuffix.js", "../../../node_modules/@material-tailwind/react/components/List/ListItem.js", "../../../node_modules/@material-tailwind/react/components/List/index.js", "../../../node_modules/@material-tailwind/react/components/ButtonGroup/index.js", "../../../node_modules/@material-tailwind/react/types/components/carousel.js", "../../../node_modules/@material-tailwind/react/components/Carousel/index.js", "../../../node_modules/@material-tailwind/react/types/components/drawer.js", "../../../node_modules/@material-tailwind/react/components/Drawer/index.js", "../../../node_modules/@material-tailwind/react/components/Badge/index.js", "../../../node_modules/@material-tailwind/react/components/Rating/index.js", "../../../node_modules/@material-tailwind/react/components/Slider/index.js", "../../../node_modules/@material-tailwind/react/components/Spinner/index.js", "../../../node_modules/@material-tailwind/react/components/Timeline/TimelineItem.js", "../../../node_modules/@material-tailwind/react/components/Timeline/TimelineIcon.js", "../../../node_modules/@material-tailwind/react/components/Timeline/TimelineBody.js", "../../../node_modules/@material-tailwind/react/components/Timeline/TimelineHeader.js", "../../../node_modules/@material-tailwind/react/components/Timeline/TimelineConnector.js", "../../../node_modules/@material-tailwind/react/components/Timeline/index.js", "../../../node_modules/@material-tailwind/react/types/components/stepper.js", "../../../node_modules/@material-tailwind/react/components/Stepper/Step.js", "../../../node_modules/@material-tailwind/react/components/Stepper/index.js", "../../../node_modules/@material-tailwind/react/types/components/speedDial.js", "../../../node_modules/@material-tailwind/react/components/SpeedDial/SpeedDialHandler.js", "../../../node_modules/@material-tailwind/react/components/SpeedDial/SpeedDialContent.js", "../../../node_modules/@material-tailwind/react/components/SpeedDial/SpeedDialAction.js", "../../../node_modules/@material-tailwind/react/components/SpeedDial/index.js", "../../../node_modules/@material-tailwind/react/index.js", "webpack://rollbar/webpack/universalModuleDefinition", "webpack://rollbar/src/utility/traverse.js", "webpack://rollbar/src/browser/url.js", "webpack://rollbar/src/api.js", "webpack://rollbar/src/apiUtility.js", "webpack://rollbar/node_modules/error-stack-parser/node_modules/stackframe/stackframe.js", "webpack://rollbar/src/browser/detection.js", "webpack://rollbar/src/browser/core.js", "webpack://rollbar/src/browser/transforms.js", "webpack://rollbar/src/merge.js", "webpack://rollbar/node_modules/error-stack-parser/error-stack-parser.js", "webpack://rollbar/src/browser/logger.js", "webpack://rollbar/src/rollbar.js", "webpack://rollbar/src/errorParser.js", "webpack://rollbar/src/telemetry.js", "webpack://rollbar/src/scrub.js", "webpack://rollbar/src/utility/replace.js", "webpack://rollbar/src/browser/wrapGlobals.js", "webpack://rollbar/src/utility/polyfillJSON.js", "webpack://rollbar/src/browser/transport/xhr.js", "webpack://rollbar/src/defaults.js", "webpack://rollbar/src/browser/transport.js", "webpack://rollbar/src/rateLimiter.js", "webpack://rollbar/src/browser/transport/fetch.js", "webpack://rollbar/src/browser/defaults/scrubFields.js", "webpack://rollbar/vendor/JSON-js/json3.js", "webpack://rollbar/src/utility.js", "webpack://rollbar/src/browser/bundles/rollbar.js", "webpack://rollbar/src/predicates.js", "webpack://rollbar/src/browser/predicates.js", "webpack://rollbar/src/browser/telemetry.js", "webpack://rollbar/node_modules/console-polyfill/index.js", "webpack://rollbar/src/queue.js", "webpack://rollbar/src/notifier.js", "webpack://rollbar/src/browser/domUtility.js", "webpack://rollbar/src/browser/globalSetup.js", "webpack://rollbar/src/truncation.js", "webpack://rollbar/src/browser/rollbar.js", "webpack://rollbar/src/transforms.js", "webpack://rollbar/src/utility/headers.js", "webpack://rollbar/webpack/bootstrap", "webpack://rollbar/webpack/startup", "../../../node_modules/react/cjs/react-jsx-runtime.development.js", "../../../node_modules/react/jsx-runtime.js", "../../../node_modules/react-dom/client.js", "../../../node_modules/react-gtm-module/dist/utils/warn.js", "../../../node_modules/react-gtm-module/dist/Snippets.js", "../../../node_modules/react-gtm-module/dist/TagManager.js", "../../../node_modules/react-gtm-module/dist/index.js", "../../../node_modules/void-elements/index.js", "../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js", "../../../node_modules/use-sync-external-store/shim/index.js", "../../javascript/helpers/downloadBlob.ts", "../../../node_modules/dayjs/dayjs.min.js", "../../../node_modules/dayjs/plugin/relativeTime.js", "../../../node_modules/dayjs/plugin/timezone.js", "../../../node_modules/dayjs/plugin/updateLocale.js", "../../../node_modules/dayjs/plugin/utc.js", "../../../node_modules/dayjs/locale/en.js", "../../../node_modules/dayjs/locale/fr.js", "../../../node_modules/inline-style-parser/index.js", "../../../node_modules/style-to-object/src/index.ts", "../../../node_modules/extend/index.js", "../../../node_modules/lodash.camelcase/index.js", "../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js", "../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js", "../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js", "../../../node_modules/crypto-js/core.js", "../../../node_modules/crypto-js/x64-core.js", "../../../node_modules/crypto-js/lib-typedarrays.js", "../../../node_modules/crypto-js/enc-utf16.js", "../../../node_modules/crypto-js/enc-base64.js", "../../../node_modules/crypto-js/enc-base64url.js", "../../../node_modules/crypto-js/md5.js", "../../../node_modules/crypto-js/sha1.js", "../../../node_modules/crypto-js/sha256.js", "../../../node_modules/crypto-js/sha224.js", "../../../node_modules/crypto-js/sha512.js", "../../../node_modules/crypto-js/sha384.js", "../../../node_modules/crypto-js/sha3.js", "../../../node_modules/crypto-js/ripemd160.js", "../../../node_modules/crypto-js/hmac.js", "../../../node_modules/crypto-js/pbkdf2.js", "../../../node_modules/crypto-js/evpkdf.js", "../../../node_modules/crypto-js/cipher-core.js", "../../../node_modules/crypto-js/mode-cfb.js", "../../../node_modules/crypto-js/mode-ctr.js", "../../../node_modules/crypto-js/mode-ctr-gladman.js", "../../../node_modules/crypto-js/mode-ofb.js", "../../../node_modules/crypto-js/mode-ecb.js", "../../../node_modules/crypto-js/pad-ansix923.js", "../../../node_modules/crypto-js/pad-iso10126.js", "../../../node_modules/crypto-js/pad-iso97971.js", "../../../node_modules/crypto-js/pad-zeropadding.js", "../../../node_modules/crypto-js/pad-nopadding.js", "../../../node_modules/crypto-js/format-hex.js", "../../../node_modules/crypto-js/aes.js", "../../../node_modules/crypto-js/tripledes.js", "../../../node_modules/crypto-js/rc4.js", "../../../node_modules/crypto-js/rabbit.js", "../../../node_modules/crypto-js/rabbit-legacy.js", "../../../node_modules/crypto-js/blowfish.js", "../../../node_modules/crypto-js/index.js", "../../javascript/utils/ndConnectDownload.ts", "../../../node_modules/direction/index.js", "../../../node_modules/lodash/isObject.js", "../../../node_modules/lodash/_freeGlobal.js", "../../../node_modules/lodash/_root.js", "../../../node_modules/lodash/now.js", "../../../node_modules/lodash/_trimmedEndIndex.js", "../../../node_modules/lodash/_baseTrim.js", "../../../node_modules/lodash/_Symbol.js", "../../../node_modules/lodash/_getRawTag.js", "../../../node_modules/lodash/_objectToString.js", "../../../node_modules/lodash/_baseGetTag.js", "../../../node_modules/lodash/isObjectLike.js", "../../../node_modules/lodash/isSymbol.js", "../../../node_modules/lodash/toNumber.js", "../../../node_modules/lodash/debounce.js", "../../../node_modules/lodash/throttle.js", "../../../node_modules/is-hotkey/lib/index.js", "../../../node_modules/@sindresorhus/is/dist/index.js", "../../../node_modules/emojilib/emojis.json", "../../../node_modules/emojilib/ordered.json", "../../../node_modules/emojilib/index.js", "../../../node_modules/char-regex/index.js", "../../../node_modules/unicode-emoji-modifier-base/index.js", "../../../node_modules/skin-tone/index.js", "../../../node_modules/lodash/lodash.js", "../../../node_modules/@cyntler/react-doc-viewer/dist/empty-GlqisfcO.js", "../../../node_modules/@cyntler/react-doc-viewer/dist/url-DQYFKQ_E.js", "../../../node_modules/@cyntler/react-doc-viewer/dist/index-4HENfCPg.js", "../../../node_modules/@cyntler/react-doc-viewer/dist/index-BepDdkdq.js", "../../../node_modules/@cyntler/react-doc-viewer/dist/index-T_8wxLyc.js", "../../../node_modules/react-resizable/node_modules/clsx/dist/clsx.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/utils/shims.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/utils/getPrefix.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/utils/domFns.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/utils/positionFns.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/utils/log.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/DraggableCore.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/Draggable.js", "../../../node_modules/react-resizable/node_modules/react-draggable/build/cjs/cjs.js", "../../../node_modules/react-resizable/build/utils.js", "../../../node_modules/react-resizable/build/propTypes.js", "../../../node_modules/react-resizable/build/Resizable.js", "../../../node_modules/react-resizable/build/ResizableBox.js", "../../../node_modules/react-resizable/index.js", "../../../node_modules/react-simple-typewriter/src/reducer.ts", "../../../node_modules/react-simple-typewriter/src/hooks/useTypewriter.tsx", "../../../node_modules/react-simple-typewriter/node_modules/style-inject/dist/style-inject.es.js", "../../../node_modules/react-simple-typewriter/src/components/Cursor.tsx", "../../../node_modules/react-simple-typewriter/src/components/Typewriter.tsx", "../../../node_modules/jsbi/tsc-out/jsbi.mjs", "../../javascript/index.tsx", "../../../node_modules/@rollbar/react/dist/_virtual/_rollupPluginBabelHelpers.js", "../../../node_modules/@rollbar/react/node_modules/tiny-invariant/dist/esm/tiny-invariant.js", "../../../node_modules/@rollbar/react/src/utils.js", "../../../node_modules/@rollbar/react/src/provider.js", "../../../node_modules/@tanstack/query-core/src/subscribable.ts", "../../../node_modules/@tanstack/query-core/src/utils.ts", "../../../node_modules/@tanstack/query-core/src/focusManager.ts", "../../../node_modules/@tanstack/query-core/src/onlineManager.ts", "../../../node_modules/@tanstack/query-core/src/thenable.ts", "../../../node_modules/@tanstack/query-core/src/retryer.ts", "../../../node_modules/@tanstack/query-core/src/notifyManager.ts", "../../../node_modules/@tanstack/query-core/src/removable.ts", "../../../node_modules/@tanstack/query-core/src/query.ts", "../../../node_modules/@tanstack/query-core/src/queryCache.ts", "../../../node_modules/@tanstack/query-core/src/mutation.ts", "../../../node_modules/@tanstack/query-core/src/mutationCache.ts", "../../../node_modules/@tanstack/query-core/src/infiniteQueryBehavior.ts", "../../../node_modules/@tanstack/query-core/src/queryClient.ts", "../../../node_modules/@tanstack/query-core/src/queryObserver.ts", "../../../node_modules/@tanstack/query-core/src/queriesObserver.ts", "../../../node_modules/@tanstack/query-core/src/mutationObserver.ts", "../../../node_modules/@tanstack/react-query/src/useQueries.ts", "../../../node_modules/@tanstack/react-query/src/QueryClientProvider.tsx", "../../../node_modules/@tanstack/react-query/src/isRestoring.ts", "../../../node_modules/@tanstack/react-query/src/QueryErrorResetBoundary.tsx", "../../../node_modules/@tanstack/react-query/src/errorBoundaryUtils.ts", "../../../node_modules/@tanstack/react-query/src/utils.ts", "../../../node_modules/@tanstack/react-query/src/suspense.ts", "../../../node_modules/@tanstack/react-query/src/useBaseQuery.ts", "../../../node_modules/@tanstack/react-query/src/useQuery.ts", "../../../node_modules/@tanstack/react-query/src/useMutation.ts", "../../../node_modules/mobx/src/errors.ts", "../../../node_modules/mobx/src/utils/global.ts", "../../../node_modules/mobx/src/utils/utils.ts", "../../../node_modules/mobx/src/api/decorators.ts", "../../../node_modules/mobx/src/core/atom.ts", "../../../node_modules/mobx/src/utils/comparer.ts", "../../../node_modules/mobx/src/types/modifiers.ts", "../../../node_modules/mobx/src/types/overrideannotation.ts", "../../../node_modules/mobx/src/types/actionannotation.ts", "../../../node_modules/mobx/src/types/flowannotation.ts", "../../../node_modules/mobx/src/types/computedannotation.ts", "../../../node_modules/mobx/src/types/observableannotation.ts", "../../../node_modules/mobx/src/types/autoannotation.ts", "../../../node_modules/mobx/src/api/observable.ts", "../../../node_modules/mobx/src/api/computed.ts", "../../../node_modules/mobx/src/core/action.ts", "../../../node_modules/mobx/src/types/observablevalue.ts", "../../../node_modules/mobx/src/core/computedvalue.ts", "../../../node_modules/mobx/src/core/derivation.ts", "../../../node_modules/mobx/src/core/globalstate.ts", "../../../node_modules/mobx/src/core/observable.ts", "../../../node_modules/mobx/src/core/reaction.ts", "../../../node_modules/mobx/src/core/spy.ts", "../../../node_modules/mobx/src/api/action.ts", "../../../node_modules/mobx/src/api/autorun.ts", "../../../node_modules/mobx/src/api/become-observed.ts", "../../../node_modules/mobx/src/api/configure.ts", "../../../node_modules/mobx/src/api/extendobservable.ts", "../../../node_modules/mobx/src/api/extras.ts", "../../../node_modules/mobx/src/api/flow.ts", "../../../node_modules/mobx/src/api/intercept-read.ts", "../../../node_modules/mobx/src/api/intercept.ts", "../../../node_modules/mobx/src/api/iscomputed.ts", "../../../node_modules/mobx/src/api/isobservable.ts", "../../../node_modules/mobx/src/api/object-api.ts", "../../../node_modules/mobx/src/api/observe.ts", "../../../node_modules/mobx/src/api/tojs.ts", "../../../node_modules/mobx/src/api/trace.ts", "../../../node_modules/mobx/src/api/transaction.ts", "../../../node_modules/mobx/src/api/when.ts", "../../../node_modules/mobx/src/types/dynamicobject.ts", "../../../node_modules/mobx/src/types/intercept-utils.ts", "../../../node_modules/mobx/src/types/listen-utils.ts", "../../../node_modules/mobx/src/api/makeObservable.ts", "../../../node_modules/mobx/src/types/observablearray.ts", "../../../node_modules/mobx/src/types/observablemap.ts", "../../../node_modules/mobx/src/types/observableset.ts", "../../../node_modules/mobx/src/types/observableobject.ts", "../../../node_modules/mobx/src/types/legacyobservablearray.ts", "../../../node_modules/mobx/src/types/type-utils.ts", "../../../node_modules/mobx/src/utils/eq.ts", "../../../node_modules/mobx/src/utils/iterable.ts", "../../../node_modules/mobx/src/api/annotation.ts", "../../../node_modules/mobx/src/mobx.ts", "../../../node_modules/react-error-boundary/dist/react-error-boundary.esm.js", "../../../node_modules/react-i18next/dist/es/Trans.js", "../../../node_modules/react-i18next/dist/es/TransWithoutContext.js", "../../../node_modules/react-i18next/dist/es/utils.js", "../../../node_modules/react-i18next/dist/es/unescape.js", "../../../node_modules/react-i18next/dist/es/defaults.js", "../../../node_modules/react-i18next/dist/es/i18nInstance.js", "../../../node_modules/react-i18next/dist/es/context.js", "../../../node_modules/react-i18next/dist/es/initReactI18next.js", "../../../node_modules/react-i18next/dist/es/useTranslation.js", "../../../node_modules/react-i18next/dist/es/withTranslation.js", "../../../node_modules/react-i18next/dist/es/I18nextProvider.js", "../../../node_modules/react-i18next/dist/es/withSSR.js", "../../../node_modules/react-i18next/dist/es/useSSR.js", "../../javascript/actions/getManifest.js", "../../../node_modules/@remix-run/router/history.ts", "../../../node_modules/@remix-run/router/utils.ts", "../../../node_modules/@remix-run/router/router.ts", "../../../node_modules/react-router/lib/context.ts", "../../../node_modules/react-router/lib/hooks.tsx", "../../../node_modules/react-router/lib/components.tsx", "../../../node_modules/react-router/index.ts", "../../../node_modules/react-router-dom/dom.ts", "../../../node_modules/react-router-dom/index.tsx", "../../../node_modules/js-cookie/dist/js.cookie.mjs", "../../../node_modules/uuid/dist/esm-browser/stringify.js", "../../../node_modules/uuid/dist/esm-browser/rng.js", "../../../node_modules/uuid/dist/esm-browser/native.js", "../../../node_modules/uuid/dist/esm-browser/v4.js", "../../javascript/actions/AddFlash.ts", "../../javascript/actions/lastProcessedIdsStoreActions.ts", "../../javascript/actions/messageQueuesStoreActions.ts", "../../../node_modules/dompurify/src/utils.ts", "../../../node_modules/dompurify/src/tags.ts", "../../../node_modules/dompurify/src/attrs.ts", "../../../node_modules/dompurify/src/regexp.ts", "../../../node_modules/dompurify/src/purify.ts", "../../javascript/actions/messagesActions.ts", "../../../node_modules/axios/lib/helpers/bind.js", "../../../node_modules/axios/lib/utils.js", "../../../node_modules/axios/lib/core/AxiosError.js", "../../../node_modules/axios/lib/helpers/null.js", "../../../node_modules/axios/lib/helpers/toFormData.js", "../../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js", "../../../node_modules/axios/lib/helpers/buildURL.js", "../../../node_modules/axios/lib/core/InterceptorManager.js", "../../../node_modules/axios/lib/defaults/transitional.js", "../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js", "../../../node_modules/axios/lib/platform/browser/classes/FormData.js", "../../../node_modules/axios/lib/platform/browser/classes/Blob.js", "../../../node_modules/axios/lib/platform/browser/index.js", "../../../node_modules/axios/lib/platform/common/utils.js", "../../../node_modules/axios/lib/platform/index.js", "../../../node_modules/axios/lib/helpers/toURLEncodedForm.js", "../../../node_modules/axios/lib/helpers/formDataToJSON.js", "../../../node_modules/axios/lib/defaults/index.js", "../../../node_modules/axios/lib/helpers/parseHeaders.js", "../../../node_modules/axios/lib/core/AxiosHeaders.js", "../../../node_modules/axios/lib/core/transformData.js", "../../../node_modules/axios/lib/cancel/isCancel.js", "../../../node_modules/axios/lib/cancel/CanceledError.js", "../../../node_modules/axios/lib/core/settle.js", "../../../node_modules/axios/lib/helpers/parseProtocol.js", "../../../node_modules/axios/lib/helpers/speedometer.js", "../../../node_modules/axios/lib/helpers/throttle.js", "../../../node_modules/axios/lib/helpers/progressEventReducer.js", "../../../node_modules/axios/lib/helpers/isURLSameOrigin.js", "../../../node_modules/axios/lib/helpers/cookies.js", "../../../node_modules/axios/lib/helpers/isAbsoluteURL.js", "../../../node_modules/axios/lib/helpers/combineURLs.js", "../../../node_modules/axios/lib/core/buildFullPath.js", "../../../node_modules/axios/lib/core/mergeConfig.js", "../../../node_modules/axios/lib/helpers/resolveConfig.js", "../../../node_modules/axios/lib/adapters/xhr.js", "../../../node_modules/axios/lib/helpers/composeSignals.js", "../../../node_modules/axios/lib/helpers/trackStream.js", "../../../node_modules/axios/lib/adapters/fetch.js", "../../../node_modules/axios/lib/adapters/adapters.js", "../../../node_modules/axios/lib/core/dispatchRequest.js", "../../../node_modules/axios/lib/env/data.js", "../../../node_modules/axios/lib/helpers/validator.js", "../../../node_modules/axios/lib/core/Axios.js", "../../../node_modules/axios/lib/cancel/CancelToken.js", "../../../node_modules/axios/lib/helpers/spread.js", "../../../node_modules/axios/lib/helpers/isAxiosError.js", "../../../node_modules/axios/lib/helpers/HttpStatusCode.js", "../../../node_modules/axios/lib/axios.js", "../../../node_modules/axios/index.js", "../../../node_modules/i18next/dist/esm/i18next.js", "../../javascript/actions/sessionActions.ts", "../../javascript/helpers/httpUtils.ts", "../../javascript/helpers/rollbarConfig.js", "../../javascript/apis/chatApiTs.ts", "../../javascript/helpers/assetPath.js", "../../javascript/helpers/markdownRegex.ts", "../../javascript/helpers/constants.ts", "../../javascript/helpers/matterTerminology.ts", "../../javascript/locales/en/default.json", "../../javascript/locales/fr/default.json", "../../javascript/i18n.ts", "../../javascript/helpers/apiHelpers.ts", "../../javascript/apis/chatThreadsApi.ts", "../../javascript/actions/InputValueActions.ts", "../../javascript/helpers/LocalStorageUtil.ts", "../../javascript/components/mainChat/chatInput/utils.ts", "../../javascript/apis/mattersApi.ts", "../../javascript/apis/pinsApi.ts", "../../javascript/actions/pinnedActions.ts", "../../javascript/apis/foldersApi.js", "../../../node_modules/@rails/actioncable/app/assets/javascripts/actioncable.esm.js", "../../javascript/channels/consumer.ts", "../../javascript/actions/actualStreamingStateActions.ts", "../../javascript/actions/chatResponseLoadingActions.ts", "../../javascript/actions/streamingStateActions.ts", "../../javascript/helpers/queryClient.ts", "../../javascript/channels/chat_thread_channel.ts", "../../javascript/actions/matterChannelsActions.ts", "../../javascript/channels/matter_channel.ts", "../../javascript/hooks/queries.ts", "../../javascript/actions/matterActions.ts", "../../javascript/actions/initialPageActions.ts", "../../javascript/apis/userApi.ts", "../../javascript/App.tsx", "../../javascript/components/CloudOnboardingFlow.tsx", "../../../node_modules/mobx-react-lite/src/utils/assertEnvironment.ts", "../../../node_modules/mobx-react-lite/src/utils/reactBatchedUpdates.ts", "../../../node_modules/mobx-react-lite/src/utils/observerBatching.ts", "../../../node_modules/mobx-react-lite/src/useObserver.ts", "../../../node_modules/mobx-react-lite/src/utils/printDebugValue.ts", "../../../node_modules/mobx-react-lite/src/staticRendering.ts", "../../../node_modules/mobx-react-lite/src/utils/UniversalFinalizationRegistry.ts", "../../../node_modules/mobx-react-lite/src/utils/observerFinalizationRegistry.ts", "../../../node_modules/mobx-react-lite/src/observer.ts", "../../../node_modules/mobx-react-lite/src/ObserverComponent.ts", "../../../node_modules/mobx-react-lite/src/useLocalObservable.ts", "../../../node_modules/mobx-react-lite/src/useLocalStore.ts", "../../../node_modules/mobx-react-lite/src/useAsObservableSource.ts", "../../../node_modules/mobx-react-lite/src/index.ts", "../../javascript/components/FlashMessages.jsx", "../../javascript/components/assets/FaildUploadIcon.tsx", "../../javascript/components/assets/SuccessIcon.tsx", "../../javascript/components/assets/TrashIconDeleteMatter.jsx", "../../javascript/components/assets/UndoIcon.jsx", "../../javascript/components/assets/WarningIcon.tsx", "../../javascript/components/assets/XIcon.jsx", "../../javascript/helpers/useStore.ts", "../../javascript/helpers/StoreContext.js", "../../javascript/hooks/useScreenSize.tsx", "../../javascript/components/FlashMessage.tsx", "../../javascript/components/onboarding/CloudAboutWorkStep.tsx", "../../../node_modules/react-hook-form/src/utils/isCheckBoxInput.ts", "../../../node_modules/react-hook-form/src/utils/isDateObject.ts", "../../../node_modules/react-hook-form/src/utils/isNullOrUndefined.ts", "../../../node_modules/react-hook-form/src/utils/isObject.ts", "../../../node_modules/react-hook-form/src/logic/getEventValue.ts", "../../../node_modules/react-hook-form/src/logic/getNodeParentName.ts", "../../../node_modules/react-hook-form/src/logic/isNameInFieldArray.ts", "../../../node_modules/react-hook-form/src/utils/isPlainObject.ts", "../../../node_modules/react-hook-form/src/utils/isWeb.ts", "../../../node_modules/react-hook-form/src/utils/cloneObject.ts", "../../../node_modules/react-hook-form/src/utils/compact.ts", "../../../node_modules/react-hook-form/src/utils/isUndefined.ts", "../../../node_modules/react-hook-form/src/utils/get.ts", "../../../node_modules/react-hook-form/src/utils/isBoolean.ts", "../../../node_modules/react-hook-form/src/utils/isKey.ts", "../../../node_modules/react-hook-form/src/utils/stringToPath.ts", "../../../node_modules/react-hook-form/src/utils/set.ts", "../../../node_modules/react-hook-form/src/constants.ts", "../../../node_modules/react-hook-form/src/useFormContext.tsx", "../../../node_modules/react-hook-form/src/logic/getProxyFormState.ts", "../../../node_modules/react-hook-form/src/utils/isEmptyObject.ts", "../../../node_modules/react-hook-form/src/logic/shouldRenderFormState.ts", "../../../node_modules/react-hook-form/src/utils/convertToArrayPayload.ts", "../../../node_modules/react-hook-form/src/logic/shouldSubscribeByName.ts", "../../../node_modules/react-hook-form/src/useSubscribe.ts", "../../../node_modules/react-hook-form/src/useFormState.ts", "../../../node_modules/react-hook-form/src/utils/isString.ts", "../../../node_modules/react-hook-form/src/logic/generateWatchOutput.ts", "../../../node_modules/react-hook-form/src/useWatch.ts", "../../../node_modules/react-hook-form/src/useController.ts", "../../../node_modules/react-hook-form/src/controller.tsx", "../../../node_modules/react-hook-form/src/utils/flatten.ts", "../../../node_modules/react-hook-form/src/form.tsx", "../../../node_modules/react-hook-form/src/logic/appendErrors.ts", "../../../node_modules/react-hook-form/src/logic/generateId.ts", "../../../node_modules/react-hook-form/src/logic/getFocusFieldName.ts", "../../../node_modules/react-hook-form/src/logic/getValidationModes.ts", "../../../node_modules/react-hook-form/src/logic/isWatched.ts", "../../../node_modules/react-hook-form/src/logic/iterateFieldsByAction.ts", "../../../node_modules/react-hook-form/src/logic/updateFieldArrayRootError.ts", "../../../node_modules/react-hook-form/src/utils/isFileInput.ts", "../../../node_modules/react-hook-form/src/utils/isFunction.ts", "../../../node_modules/react-hook-form/src/utils/isHTMLElement.ts", "../../../node_modules/react-hook-form/src/utils/isMessage.ts", "../../../node_modules/react-hook-form/src/utils/isRadioInput.ts", "../../../node_modules/react-hook-form/src/utils/isRegex.ts", "../../../node_modules/react-hook-form/src/logic/getCheckboxValue.ts", "../../../node_modules/react-hook-form/src/logic/getRadioValue.ts", "../../../node_modules/react-hook-form/src/logic/getValidateError.ts", "../../../node_modules/react-hook-form/src/logic/getValueAndMessage.ts", "../../../node_modules/react-hook-form/src/logic/validateField.ts", "../../../node_modules/react-hook-form/src/utils/append.ts", "../../../node_modules/react-hook-form/src/utils/fillEmptyArray.ts", "../../../node_modules/react-hook-form/src/utils/insert.ts", "../../../node_modules/react-hook-form/src/utils/move.ts", "../../../node_modules/react-hook-form/src/utils/prepend.ts", "../../../node_modules/react-hook-form/src/utils/remove.ts", "../../../node_modules/react-hook-form/src/utils/swap.ts", "../../../node_modules/react-hook-form/src/utils/unset.ts", "../../../node_modules/react-hook-form/src/utils/update.ts", "../../../node_modules/react-hook-form/src/useFieldArray.ts", "../../../node_modules/react-hook-form/src/utils/createSubject.ts", "../../../node_modules/react-hook-form/src/utils/isPrimitive.ts", "../../../node_modules/react-hook-form/src/utils/deepEqual.ts", "../../../node_modules/react-hook-form/src/utils/isMultipleSelect.ts", "../../../node_modules/react-hook-form/src/utils/isRadioOrCheckbox.ts", "../../../node_modules/react-hook-form/src/utils/live.ts", "../../../node_modules/react-hook-form/src/utils/objectHasFunction.ts", "../../../node_modules/react-hook-form/src/logic/getDirtyFields.ts", "../../../node_modules/react-hook-form/src/logic/getFieldValueAs.ts", "../../../node_modules/react-hook-form/src/logic/getFieldValue.ts", "../../../node_modules/react-hook-form/src/logic/getResolverOptions.ts", "../../../node_modules/react-hook-form/src/logic/getRuleValue.ts", "../../../node_modules/react-hook-form/src/logic/hasPromiseValidation.ts", "../../../node_modules/react-hook-form/src/logic/hasValidation.ts", "../../../node_modules/react-hook-form/src/logic/schemaErrorLookup.ts", "../../../node_modules/react-hook-form/src/logic/skipValidation.ts", "../../../node_modules/react-hook-form/src/logic/unsetEmptyArray.ts", "../../../node_modules/react-hook-form/src/logic/createFormControl.ts", "../../../node_modules/react-hook-form/src/useForm.ts", "../../javascript/components/onboarding/CloudFormStep.tsx", "../../javascript/apis/onboardingApi.js", "../../../node_modules/shared/src/utils/mergeClasses.ts", "../../../node_modules/shared/src/utils/toKebabCase.ts", "../../../node_modules/shared/src/utils/toCamelCase.ts", "../../../node_modules/shared/src/utils/toPascalCase.ts", "../../../node_modules/lucide-react/src/defaultAttributes.ts", "../../../node_modules/shared/src/utils/hasA11yProp.ts", "../../../node_modules/lucide-react/src/context.ts", "../../../node_modules/lucide-react/src/Icon.ts", "../../../node_modules/lucide-react/src/createLucideIcon.ts", "../../../node_modules/lucide-react/src/icons/arrow-down.ts", "../../../node_modules/lucide-react/src/icons/arrow-left.ts", "../../../node_modules/lucide-react/src/icons/arrow-right-to-line.ts", "../../../node_modules/lucide-react/src/icons/arrow-up-right.ts", "../../../node_modules/lucide-react/src/icons/arrow-up.ts", "../../../node_modules/lucide-react/src/icons/bell.ts", "../../../node_modules/lucide-react/src/icons/blocks.ts", "../../../node_modules/lucide-react/src/icons/calendar.ts", "../../../node_modules/lucide-react/src/icons/chart-column.ts", "../../../node_modules/lucide-react/src/icons/check.ts", "../../../node_modules/lucide-react/src/icons/chevron-down.ts", "../../../node_modules/lucide-react/src/icons/chevron-left.ts", "../../../node_modules/lucide-react/src/icons/chevron-right.ts", "../../../node_modules/lucide-react/src/icons/chevrons-up-down.ts", "../../../node_modules/lucide-react/src/icons/circle-alert.ts", "../../../node_modules/lucide-react/src/icons/circle-check.ts", "../../../node_modules/lucide-react/src/icons/copy.ts", "../../../node_modules/lucide-react/src/icons/download.ts", "../../../node_modules/lucide-react/src/icons/ellipsis.ts", "../../../node_modules/lucide-react/src/icons/eye.ts", "../../../node_modules/lucide-react/src/icons/folder.ts", "../../../node_modules/lucide-react/src/icons/gauge.ts", "../../../node_modules/lucide-react/src/icons/image.ts", "../../../node_modules/lucide-react/src/icons/inbox.ts", "../../../node_modules/lucide-react/src/icons/info.ts", "../../../node_modules/lucide-react/src/icons/life-buoy.ts", "../../../node_modules/lucide-react/src/icons/loader-circle.ts", "../../../node_modules/lucide-react/src/icons/log-out.ts", "../../../node_modules/lucide-react/src/icons/mail.ts", "../../../node_modules/lucide-react/src/icons/message-square-text.ts", "../../../node_modules/lucide-react/src/icons/mic.ts", "../../../node_modules/lucide-react/src/icons/minus.ts", "../../../node_modules/lucide-react/src/icons/panel-left.ts", "../../../node_modules/lucide-react/src/icons/panel-right-open.ts", "../../../node_modules/lucide-react/src/icons/pin-off.ts", "../../../node_modules/lucide-react/src/icons/pin.ts", "../../../node_modules/lucide-react/src/icons/plus.ts", "../../../node_modules/lucide-react/src/icons/rotate-ccw-clock.ts", "../../../node_modules/lucide-react/src/icons/rotate-cw.ts", "../../../node_modules/lucide-react/src/icons/search.ts", "../../../node_modules/lucide-react/src/icons/settings.ts", "../../../node_modules/lucide-react/src/icons/shield-check.ts", "../../../node_modules/lucide-react/src/icons/sliders-horizontal.ts", "../../../node_modules/lucide-react/src/icons/square-pen.ts", "../../../node_modules/lucide-react/src/icons/trash-2.ts", "../../../node_modules/lucide-react/src/icons/triangle-alert.ts", "../../../node_modules/lucide-react/src/icons/user-cog.ts", "../../../node_modules/lucide-react/src/icons/user-plus.ts", "../../../node_modules/lucide-react/src/icons/workflow.ts", "../../../node_modules/lucide-react/src/icons/x.ts", "../../../node_modules/@alexilaw/ui/src/components/AccountRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/Avatar.tsx", "../../../node_modules/@alexilaw/ui/src/components/iconStroke.ts", "../../../node_modules/@alexilaw/ui/src/components/AdminNavRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/AlertChip.tsx", "../../../node_modules/@alexilaw/ui/src/components/Banner.tsx", "../../../node_modules/@alexilaw/ui/src/components/Button.tsx", "../../../node_modules/@alexilaw/ui/src/components/TextLink.tsx", "../../../node_modules/@alexilaw/ui/src/components/Bar.tsx", "../../../node_modules/@alexilaw/ui/src/components/ChatBox.tsx", "../../../node_modules/@alexilaw/ui/src/assets/iManageIcon.tsx", "../../../node_modules/@alexilaw/ui/src/assets/NetDocumentsIcon.tsx", "../../../node_modules/@alexilaw/ui/src/assets/OneDriveIcon.tsx", "../../../node_modules/@alexilaw/ui/src/assets/OutlookIcon.tsx", "../../../node_modules/@alexilaw/ui/src/assets/SharePointIcon.tsx", "../../../node_modules/@alexilaw/ui/src/assets/TeamsIcon.tsx", "../../../node_modules/@alexilaw/ui/src/components/ConnectorLogo.tsx", "../../../node_modules/@alexilaw/ui/src/components/Toggle.tsx", "../../../node_modules/@alexilaw/ui/src/components/ChatConnectorRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/Checkbox.tsx", "../../../node_modules/@alexilaw/ui/src/components/Chip.tsx", "../../../node_modules/@alexilaw/ui/src/components/ComposerChip.tsx", "../../../node_modules/@alexilaw/ui/src/components/WithTooltip.tsx", "../../../node_modules/@alexilaw/ui/src/components/placeTooltip.ts", "../../../node_modules/@alexilaw/ui/src/components/Tooltip.tsx", "../../../node_modules/@alexilaw/ui/src/components/ConfirmDialog.tsx", "../../../node_modules/@alexilaw/ui/src/hooks/useFocusTrap.ts", "../../../node_modules/@alexilaw/ui/src/components/ConnectCard.tsx", "../../../node_modules/@alexilaw/ui/src/components/ConnectorsButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/ContactRow.tsx", "../../../node_modules/@alexilaw/ui/src/helpers/clipboard.ts", "../../../node_modules/@alexilaw/ui/src/components/CountBadge.tsx", "../../../node_modules/@alexilaw/ui/src/components/DatePicker.tsx", "../../../node_modules/@alexilaw/ui/src/components/datePopover.tsx", "../../../node_modules/@alexilaw/ui/src/components/IconButton.tsx", "../../../node_modules/@alexilaw/ui/src/helpers/dates.ts", "../../../node_modules/@alexilaw/ui/src/components/selectTrigger.ts", "../../../node_modules/@alexilaw/ui/src/components/DateRangePicker.tsx", "../../../node_modules/@alexilaw/ui/src/components/DocumentCard.tsx", "../../../node_modules/@alexilaw/ui/src/components/FileTypeIcon.tsx", "../../../node_modules/@alexilaw/ui/src/components/Icon.tsx", "../../../node_modules/@alexilaw/ui/src/components/DocumentRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/DocumentsGroupHeader.tsx", "../../../node_modules/@alexilaw/ui/src/components/DocumentsTab.tsx", "../../../node_modules/@alexilaw/ui/src/components/EmptyState.tsx", "../../../node_modules/@alexilaw/ui/src/components/ErrorState.tsx", "../../../node_modules/@alexilaw/ui/src/components/ExportDialog.tsx", "../../../node_modules/@alexilaw/ui/src/components/Legend.tsx", "../../../node_modules/@alexilaw/ui/src/components/lightAction.ts", "../../../node_modules/@alexilaw/ui/src/components/MenuGroupLabel.tsx", "../../../node_modules/@alexilaw/ui/src/components/MenuRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/MessageActions.tsx", "../../../node_modules/@alexilaw/ui/src/components/actionRow.tsx", "../../../node_modules/@alexilaw/ui/src/assets/OpenPanelIcon.tsx", "../../../node_modules/@alexilaw/ui/src/components/ProfileMenu.tsx", "../../../node_modules/@alexilaw/ui/src/components/PromptActions.tsx", "../../../node_modules/@alexilaw/ui/src/components/RatingOption.tsx", "../../../node_modules/@alexilaw/ui/src/components/ReasonChip.tsx", "../../../node_modules/@alexilaw/ui/src/components/Scrollbar.tsx", "../../../node_modules/@alexilaw/ui/src/components/SearchField.tsx", "../../../node_modules/@alexilaw/ui/src/components/SectionHeader.tsx", "../../../node_modules/@alexilaw/ui/src/components/SegmentedControl.tsx", "../../../node_modules/@alexilaw/ui/src/components/SelectionBar.tsx", "../../../node_modules/@alexilaw/ui/src/components/Select.tsx", "../../../node_modules/@alexilaw/ui/src/components/SendButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/seriesMark.ts", "../../../node_modules/@alexilaw/ui/src/components/SidePanel.tsx", "../../../node_modules/@alexilaw/ui/src/components/TableHeader.tsx", "../../../node_modules/@alexilaw/ui/src/components/ToolbarDropdown.tsx", "../../../node_modules/@alexilaw/ui/src/components/VersionHistory.tsx", "../../../node_modules/@alexilaw/ui/src/components/VersionRow.tsx", "../../../node_modules/@alexilaw/ui/src/components/Skeleton.tsx", "../../../node_modules/@alexilaw/ui/src/components/StackedBar.tsx", "../../../node_modules/@alexilaw/ui/src/components/StatTile.tsx", "../../../node_modules/@alexilaw/ui/src/components/StopButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/SuggestionChip.tsx", "../../../node_modules/@alexilaw/ui/src/components/TableCell.tsx", "../../../node_modules/@alexilaw/ui/src/components/Tabs.tsx", "../../../node_modules/@alexilaw/ui/src/components/TextField.tsx", "../../../node_modules/@alexilaw/ui/src/components/Toast.tsx", "../../../node_modules/@alexilaw/ui/src/components/toastContext.ts", "../../../node_modules/@alexilaw/ui/src/components/ToastProvider.tsx", "../../../node_modules/@alexilaw/ui/src/components/UploadButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/VoiceButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/WhatsNewButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/WorkflowsButton.tsx", "../../../node_modules/@alexilaw/ui/src/components/WorkspaceSettings.tsx", "../../../node_modules/@phosphor-icons/react/dist/defs/ArrowCounterClockwise.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/Check.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/CopySimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/DownloadSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/EnvelopeSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/FolderOpen.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/FolderSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/FolderSimplePlus.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/FolderSimpleUser.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/PencilSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/defs/SidebarSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js", "../../../node_modules/@phosphor-icons/react/dist/lib/context.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowCounterClockwise.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/Check.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/CopySimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/DownloadSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/EnvelopeSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/FolderOpen.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/FolderSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/FolderSimplePlus.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/FolderSimpleUser.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/PencilSimple.es.js", "../../../node_modules/@phosphor-icons/react/dist/csr/SidebarSimple.es.js", "../../javascript/components/shared/SingleSelect.tsx", "../../javascript/hooks/useLogo.ts", "../../javascript/components/assets/ActivityLogIcon.tsx", "../../javascript/components/assets/AiAssistanceIcon.tsx", "../../javascript/components/assets/AlexiGeneratedFolderIcon.tsx", "../../javascript/components/assets/alexiLogo.jsx", "../../javascript/components/assets/ArrowLeftIcon.tsx", "../../javascript/components/assets/ArrowLineLeft.tsx", "../../javascript/components/assets/ArrowLineRight.tsx", "../../javascript/components/assets/ArrowRightIcon.jsx", "../../javascript/components/assets/ArrowUpIcon.tsx", "../../javascript/components/assets/BellIcon.jsx", "../../javascript/components/assets/BrainIcon.tsx", "../../javascript/components/assets/BriefcaseIcon.tsx", "../../javascript/components/assets/BuildYourOwnIcon.tsx", "../../javascript/components/assets/CaretRightIcon.tsx", "../../javascript/components/assets/ChatBubblesIcon.tsx", "../../javascript/components/assets/ChatButtonChevronDown.tsx", "../../javascript/components/assets/ChatButtonChevronUp.tsx", "../../javascript/components/assets/CheckMarkIcon.tsx", "../../javascript/components/assets/ChevronDownIcon.tsx", "../../javascript/components/assets/ChevronDownUnfilledIcon.tsx", "../../javascript/components/assets/ChevronRightIcon.jsx", "../../javascript/components/assets/ChevronRightUnfilledIcon.tsx", "../../javascript/components/assets/ChevronUpIcon.tsx", "../../javascript/components/assets/CircleCheckIcon.tsx", "../../javascript/components/assets/CircleXIcon.tsx", "../../javascript/components/assets/CircularLoadingIcon.tsx", "../../javascript/components/assets/CircularXIcon.tsx", "../../javascript/components/assets/CloseIcon.tsx", "../../javascript/components/assets/CloudCheckedIcon.tsx", "../../javascript/components/assets/CopyIcon.tsx", "../../javascript/components/assets/CreateIcon.tsx", "../../javascript/components/assets/CsvDocumentIcon.tsx", "../../javascript/components/assets/CustomTaskIcon.tsx", "../../javascript/components/assets/DocumenetDefaultOutline.tsx", "../../javascript/components/assets/DocumentDefault.tsx", "../../javascript/components/assets/DocumentDOCX.tsx", "../../javascript/components/assets/DocumentIcon.tsx", "../../javascript/components/assets/DocumentJPG.tsx", "../../javascript/components/assets/DocumentMagicIcon.tsx", "../../javascript/components/assets/DocumentPDF.tsx", "../../javascript/components/assets/DocumentPPT.tsx", "../../javascript/components/assets/DocumentResponseIcon.tsx", "../../javascript/components/assets/DocumentTabIcon.tsx", "../../javascript/components/assets/DocxIcon.tsx", "../../javascript/components/assets/DownArrowIcon.tsx", "../../javascript/components/assets/DownloadIcon.jsx", "../../javascript/components/assets/DownloadIconLarge.tsx", "../../javascript/components/assets/DraftIcon.tsx", "../../javascript/components/assets/EmptyDocument.tsx", "../../javascript/components/assets/EmptyDocumentDefault.jsx", "../../javascript/components/assets/EmptyDocumentPDF.jsx", "../../javascript/components/assets/EraserIcon.tsx", "../../javascript/components/assets/ErrorInfoIcon.tsx", "../../javascript/components/assets/ExternalLinkIcon.tsx", "../../javascript/components/assets/FileIcon.tsx", "../../javascript/components/assets/FileMagicIcon.tsx", "../../javascript/components/assets/FileStackIcon.tsx", "../../javascript/components/assets/FileTextIcon.tsx", "../../javascript/components/assets/FileUploadIcon.jsx", "../../javascript/components/assets/FilterIcon.tsx", "../../javascript/components/assets/FingerprintIcon.tsx", "../../javascript/components/assets/FlagIcon.tsx", "../../javascript/components/assets/FolderCheckIcon.tsx", "../../javascript/components/assets/FolderIcon.tsx", "../../javascript/components/assets/FolderPlusIcon.tsx", "../../javascript/components/assets/GearIcon.tsx", "../../javascript/components/assets/HomeIcon.tsx", "../../javascript/components/assets/HourGlassIcon.jsx", "../../javascript/components/assets/InfoIcon.tsx", "../../javascript/components/assets/InfoIconSmall.jsx", "../../javascript/components/assets/InfoIconWithTriangle.jsx", "../../javascript/components/assets/JpgDocumentIcon.tsx", "../../javascript/components/assets/LargeCloseIcon.tsx", "../../javascript/components/assets/LargeExternalLinkIcon.tsx", "../../javascript/components/assets/LargeMailIcon.tsx", "../../javascript/components/assets/LeftNavBarChevronDownIcon.tsx", "../../javascript/components/assets/LeftNavBarChevronRightIcon.tsx", "../../javascript/components/assets/LeftNavBarChevronUpIcon.tsx", "../../javascript/components/assets/LeftNavBarCloseNavBarIcon.tsx", "../../javascript/components/assets/LeftNavBarFooterUserSettingsIcon.tsx", "../../javascript/components/assets/LeftNavBarMatterFolderClosed.tsx", "../../javascript/components/assets/LeftNavBarMatterFolderOpen.tsx", "../../javascript/components/assets/LeftNavBarMatterFolderShared.tsx", "../../javascript/components/assets/LeftNavBarMatterThreeDots.tsx", "../../javascript/components/assets/LeftNavBarNewMatterDisabledIcon.tsx", "../../javascript/components/assets/LeftNavBarNewMatterIcon.tsx", "../../javascript/components/assets/LeftNavBarNewThreadDisabledIcon.tsx", "../../javascript/components/assets/LeftNavBarNewThreadIcon.tsx", "../../javascript/components/assets/LeftNavBarNewWorkflowIcon.tsx", "../../javascript/components/assets/LeftNavBarUserSettingsGearIcon.tsx", "../../javascript/components/assets/legalResearchIcon.tsx", "../../javascript/components/assets/lightbulbIcon.tsx", "../../javascript/components/assets/ListIcon.tsx", "../../javascript/components/assets/Loading.tsx", "../../javascript/components/assets/MagicIcon.jsx", "../../javascript/components/assets/MailIcon.tsx", "../../javascript/components/assets/MatterHomeThreeDotIcon.tsx", "../../javascript/components/assets/MemoDocument.jsx", "../../javascript/components/assets/MentionIcon.tsx", "../../javascript/components/assets/MenuIcon.tsx", "../../javascript/components/assets/MsgDocumentIcon.tsx", "../../javascript/components/assets/OpenSidePanelIcon.tsx", "../../javascript/components/assets/PaginationLeftIcon.tsx", "../../javascript/components/assets/PaginationRightIcon.tsx", "../../javascript/components/assets/PencilIcon.tsx", "../../javascript/components/assets/PencilLineIcon.tsx", "../../javascript/components/assets/PlaceholderChatBubblesIcon.tsx", "../../javascript/components/assets/PlaceholderFileStackIcon.tsx", "../../javascript/components/assets/PlainSearchIcon.tsx", "../../javascript/components/assets/PlaneIcon.jsx", "../../javascript/components/assets/PlusIcon.tsx", "../../javascript/components/assets/PptDocumentIcon.tsx", "../../javascript/components/assets/PromptVariableIcon.tsx", "../../javascript/components/assets/QuestionIcon.tsx", "../../javascript/components/assets/ReferencedCaseIcon.tsx", "../../javascript/components/assets/ReferencedCasesPlaceholderIcon.tsx", "../../javascript/components/assets/ReferencedWebSourceIcon.tsx", "../../javascript/components/assets/ReferencedWebSourcesPlaceholderIcon.tsx", "../../javascript/components/assets/RefreshIcon.jsx", "../../javascript/components/assets/ResizeInputIcon.tsx", "../../javascript/components/assets/SaveIcon.tsx", "../../javascript/components/assets/SearchIcon.tsx", "../../javascript/components/assets/SharedIcon.tsx", "../../javascript/components/assets/ShieldCheckmarkIcon.tsx", "../../javascript/components/assets/ShieldIcon.tsx", "../../javascript/components/assets/SignOutIcon.tsx", "../../javascript/components/assets/SortIcon.tsx", "../../javascript/components/assets/SortingArrowDownIcon.tsx", "../../javascript/components/assets/SortingArrowUpIcon.tsx", "../../javascript/components/assets/SpinnerIcon.jsx", "../../javascript/components/assets/StopIcon.tsx", "../../javascript/components/assets/TagIcon.jsx", "../../javascript/components/assets/textSearchIcon.tsx", "../../javascript/components/assets/ThreeDotsIcon.tsx", "../../javascript/components/assets/ThreeDotsLargeIcon.tsx", "../../javascript/components/assets/ThumbsDownIcon.tsx", "../../javascript/components/assets/ThumbsUpIcon.tsx", "../../javascript/components/assets/TrashIcon.jsx", "../../javascript/components/assets/TrialImage.jsx", "../../javascript/components/assets/UploadFile.jsx", "../../javascript/components/assets/UploadIcon.tsx", "../../javascript/components/assets/UploadIconLarge.tsx", "../../javascript/components/assets/UploadSectionDocumentIcon.tsx", "../../javascript/components/assets/ViewIcon.tsx", "../../javascript/components/assets/VipTrialImage.tsx", "../../javascript/components/assets/WorkflowExecutionIconSmall.tsx", "../../javascript/components/assets/WorkflowIcon.tsx", "../../javascript/components/assets/WorkflowIconNoColor.tsx", "../../javascript/components/assets/WorkflowIconSmall.tsx", "../../javascript/components/assets/WorkflowMemoIcon.jsx", "../../javascript/components/assets/WorkflowMessageIcon.jsx", "../../javascript/components/assets/WorkflowNotSharedIcon.tsx", "../../javascript/components/assets/WorkflowSharedIcon.tsx", "../../javascript/components/assets/WorkflowUploadIcon.jsx", "../../javascript/components/assets/WorkflowViewOnlyIcon.tsx", "../../javascript/components/assets/XLSDocumentIcon.tsx", "../../javascript/components/DevGallery.tsx", "../../javascript/components/layouts/ChatLayout.tsx", "../../javascript/components/layouts/Sidebar.tsx", "../../javascript/helpers/sidebarStorage.ts", "../../javascript/helpers/sidePanelLayout.ts", "../../javascript/actions/sidebarChoiceActions.ts", "../../javascript/actions/showLayoutActions.ts", "../../javascript/components/documents/UsageWidget.tsx", "../../javascript/apis/usageInfoApi.ts", "../../javascript/hooks/useUsageInfo.ts", "../../javascript/components/matter/MattersList.tsx", "../../../node_modules/react-infinite-scroll-component/node_modules/tslib/tslib.es6.js", "../../../node_modules/react-infinite-scroll-component/node_modules/throttle-debounce/dist/index.esm.js", "../../javascript/components/matter/MattersListItem.tsx", "../../javascript/apis/sharedMattersApi.ts", "../../javascript/apis/sharingUsersApi.ts", "../../javascript/helpers/MatterDetailsFormState.ts", "../../javascript/actions/MatterDetailsFormActions.ts", "../../javascript/components/GenericModal.jsx", "../../javascript/actions/upload_batch/uploadBatchActions.ts", "../../javascript/actions/upload_batch/reconcileUploadRequests.ts", "../../javascript/apis/filesApi.ts", "../../javascript/helpers/exportTimeZone.ts", "../../javascript/helpers/dayjsConfig.ts", "../../javascript/components/mainChat/readOnly/ReadOnlyChatInput.tsx", "../../javascript/components/NoResultsFound.jsx", "../../javascript/components/matter/MattersListHeader.tsx", "../../javascript/actions/ResetInput.js", "../../javascript/components/FilterModal.tsx", "../../javascript/hooks/useFilterModalOptions.tsx", "../../javascript/components/SortModal.tsx", "../../javascript/components/shared/SelectInput.tsx", "../../javascript/components/shared/CollapsibleLayout.tsx", "../../javascript/components/shared/UserProfileAndSettingFooter.tsx", "../../javascript/components/ContentModal.jsx", "../../javascript/components/mainChat/legacyDocumentSummary/SummaryDocModal.jsx", "../../../node_modules/devlop/lib/default.js", "../../../node_modules/comma-separated-tokens/index.js", "../../../node_modules/estree-util-is-identifier-name/lib/index.js", "../../../node_modules/hast-util-whitespace/lib/index.js", "../../../node_modules/property-information/lib/util/schema.js", "../../../node_modules/property-information/lib/util/merge.js", "../../../node_modules/property-information/lib/normalize.js", "../../../node_modules/property-information/lib/util/info.js", "../../../node_modules/property-information/lib/util/types.js", "../../../node_modules/property-information/lib/util/defined-info.js", "../../../node_modules/property-information/lib/util/create.js", "../../../node_modules/property-information/lib/xlink.js", "../../../node_modules/property-information/lib/xml.js", "../../../node_modules/property-information/lib/util/case-sensitive-transform.js", "../../../node_modules/property-information/lib/util/case-insensitive-transform.js", "../../../node_modules/property-information/lib/xmlns.js", "../../../node_modules/property-information/lib/aria.js", "../../../node_modules/property-information/lib/html.js", "../../../node_modules/property-information/lib/svg.js", "../../../node_modules/property-information/lib/find.js", "../../../node_modules/property-information/lib/hast-to-react.js", "../../../node_modules/property-information/index.js", "../../../node_modules/space-separated-tokens/index.js", "../../../node_modules/style-to-object/esm/index.mjs", "../../../node_modules/unist-util-position/lib/index.js", "../../../node_modules/unist-util-stringify-position/lib/index.js", "../../../node_modules/vfile-message/lib/index.js", "../../../node_modules/hast-util-to-jsx-runtime/lib/index.js", "../../../node_modules/html-url-attributes/lib/index.js", "../../../node_modules/react-markdown/lib/index.js", "../../../node_modules/mdast-util-to-string/lib/index.js", "../../../node_modules/decode-named-character-reference/index.dom.js", "../../../node_modules/micromark-util-chunked/index.js", "../../../node_modules/micromark-util-combine-extensions/index.js", "../../../node_modules/micromark-util-decode-numeric-character-reference/index.js", "../../../node_modules/micromark-util-normalize-identifier/index.js", "../../../node_modules/micromark-util-character/index.js", "../../../node_modules/micromark-util-sanitize-uri/index.js", "../../../node_modules/micromark-factory-space/index.js", "../../../node_modules/micromark/lib/initialize/content.js", "../../../node_modules/micromark/lib/initialize/document.js", "../../../node_modules/micromark-util-classify-character/index.js", "../../../node_modules/micromark-util-resolve-all/index.js", "../../../node_modules/micromark-core-commonmark/lib/attention.js", "../../../node_modules/micromark-core-commonmark/lib/autolink.js", "../../../node_modules/micromark-core-commonmark/lib/blank-line.js", "../../../node_modules/micromark-core-commonmark/lib/block-quote.js", "../../../node_modules/micromark-core-commonmark/lib/character-escape.js", "../../../node_modules/micromark-core-commonmark/lib/character-reference.js", "../../../node_modules/micromark-core-commonmark/lib/code-fenced.js", "../../../node_modules/micromark-core-commonmark/lib/code-indented.js", "../../../node_modules/micromark-core-commonmark/lib/code-text.js", "../../../node_modules/micromark-util-subtokenize/lib/splice-buffer.js", "../../../node_modules/micromark-util-subtokenize/index.js", "../../../node_modules/micromark-core-commonmark/lib/content.js", "../../../node_modules/micromark-factory-destination/index.js", "../../../node_modules/micromark-factory-label/index.js", "../../../node_modules/micromark-factory-title/index.js", "../../../node_modules/micromark-factory-whitespace/index.js", "../../../node_modules/micromark-core-commonmark/lib/definition.js", "../../../node_modules/micromark-core-commonmark/lib/hard-break-escape.js", "../../../node_modules/micromark-core-commonmark/lib/heading-atx.js", "../../../node_modules/micromark-util-html-tag-name/index.js", "../../../node_modules/micromark-core-commonmark/lib/html-flow.js", "../../../node_modules/micromark-core-commonmark/lib/html-text.js", "../../../node_modules/micromark-core-commonmark/lib/label-end.js", "../../../node_modules/micromark-core-commonmark/lib/label-start-image.js", "../../../node_modules/micromark-core-commonmark/lib/label-start-link.js", "../../../node_modules/micromark-core-commonmark/lib/line-ending.js", "../../../node_modules/micromark-core-commonmark/lib/thematic-break.js", "../../../node_modules/micromark-core-commonmark/lib/list.js", "../../../node_modules/micromark-core-commonmark/lib/setext-underline.js", "../../../node_modules/micromark/lib/initialize/flow.js", "../../../node_modules/micromark/lib/initialize/text.js", "../../../node_modules/micromark/lib/create-tokenizer.js", "../../../node_modules/micromark/lib/constructs.js", "../../../node_modules/micromark/lib/parse.js", "../../../node_modules/micromark/lib/postprocess.js", "../../../node_modules/micromark/lib/preprocess.js", "../../../node_modules/micromark-util-decode-string/index.js", "../../../node_modules/mdast-util-from-markdown/lib/index.js", "../../../node_modules/remark-parse/lib/index.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/break.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/code.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/delete.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/html.js", "../../../node_modules/mdast-util-to-hast/lib/revert.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/image.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/link.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/list-item.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/list.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/root.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/strong.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/table.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/table-row.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/table-cell.js", "../../../node_modules/trim-lines/index.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/text.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js", "../../../node_modules/mdast-util-to-hast/lib/handlers/index.js", "../../../node_modules/@ungap/structured-clone/esm/types.js", "../../../node_modules/@ungap/structured-clone/esm/deserialize.js", "../../../node_modules/@ungap/structured-clone/esm/serialize.js", "../../../node_modules/@ungap/structured-clone/esm/index.js", "../../../node_modules/mdast-util-to-hast/lib/footer.js", "../../../node_modules/unist-util-is/lib/index.js", "../../../node_modules/unist-util-visit-parents/lib/color.js", "../../../node_modules/unist-util-visit-parents/lib/index.js", "../../../node_modules/unist-util-visit/lib/index.js", "../../../node_modules/mdast-util-to-hast/lib/state.js", "../../../node_modules/mdast-util-to-hast/lib/index.js", "../../../node_modules/remark-rehype/lib/index.js", "../../../node_modules/bail/index.js", "../../../node_modules/unified/lib/index.js", "../../../node_modules/is-plain-obj/index.js", "../../../node_modules/trough/lib/index.js", "../../../node_modules/vfile/lib/minpath.browser.js", "../../../node_modules/vfile/lib/minproc.browser.js", "../../../node_modules/vfile/lib/minurl.shared.js", "../../../node_modules/vfile/lib/minurl.browser.js", "../../../node_modules/vfile/lib/index.js", "../../../node_modules/unified/lib/callable-instance.js", "../../../node_modules/ccount/index.js", "../../../node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js", "../../../node_modules/mdast-util-find-and-replace/lib/index.js", "../../../node_modules/mdast-util-gfm-autolink-literal/lib/index.js", "../../../node_modules/mdast-util-gfm-footnote/lib/index.js", "../../../node_modules/mdast-util-gfm-strikethrough/lib/index.js", "../../../node_modules/markdown-table/index.js", "../../../node_modules/zwitch/index.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/blockquote.js", "../../../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/break.js", "../../../node_modules/longest-streak/index.js", "../../../node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-fence.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/code.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-quote.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/definition.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/emphasis.js", "../../../node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/heading.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/html.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/image.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/image-reference.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/inline-code.js", "../../../node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/link.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/link-reference.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-rule.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/list.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/list-item.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/paragraph.js", "../../../node_modules/mdast-util-phrasing/lib/index.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/root.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-strong.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/strong.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/text.js", "../../../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js", "../../../node_modules/mdast-util-to-markdown/lib/handle/index.js", "../../../node_modules/mdast-util-gfm-table/lib/index.js", "../../../node_modules/mdast-util-gfm-task-list-item/lib/index.js", "../../../node_modules/mdast-util-gfm/lib/index.js", "../../../node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js", "../../../node_modules/micromark-extension-gfm-footnote/lib/syntax.js", "../../../node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js", "../../../node_modules/micromark-extension-gfm-table/lib/edit-map.js", "../../../node_modules/micromark-extension-gfm-table/lib/infer.js", "../../../node_modules/micromark-extension-gfm-table/lib/syntax.js", "../../../node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js", "../../../node_modules/micromark-extension-gfm/index.js", "../../../node_modules/remark-gfm/lib/index.js", "../../javascript/components/mainChat/legacyDocumentSummary/SummaryDocPopoverAiTooltip.jsx", "../../javascript/components/mainChat/legacyDocumentSummary/SummaryModalAiDisclaimer.jsx", "../../javascript/actions/modalActions.ts", "../../javascript/components/mainChat/legacyMemoGeneration/MemoViewModal.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoView/MemoDownloadDropdown.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoView/MemoModalAiDisclaimer.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoView/MemoModalAiTooltip.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoView/MemoViewHeader.tsx", "../../javascript/components/FirmDisabledModal.tsx", "../../javascript/components/ConfirmDeleteFilesModal.tsx", "../../javascript/components/FilesDeletedModal.tsx", "../../javascript/components/matterDetails/MatterDetailsModal.tsx", "../../javascript/components/matterDetails/MatterDetailsForm.tsx", "../../javascript/helpers/DateTimeUtils.ts", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/errors.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/base64-js/index.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/node_modules/fast-deep-equal/index.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/utils.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/rng.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/regex.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/validate.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/stringify.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/v1.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/parse.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/v35.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/md5.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/v3.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/sha1.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/v5.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/v4.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/nil.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/uuid/dist/esm-browser/version.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/loggers.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/messages.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/configuration.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/headers.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/EventSender.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/context.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/EventSummarizer.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/attributeReference.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/ContextFilter.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/EventProcessor.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/EventEmitter.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/InitializationState.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/PersistentFlagStore.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/PersistentStorage.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/Stream.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/promiseCoalescer.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/Requestor.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/Identity.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/AnonymousContextProcessor.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/diagnosticEvents.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/SafeInspector.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/InspectorManager.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/timedPromise.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/launchdarkly-js-sdk-common/src/index.js", "../../../node_modules/launchdarkly-js-client-sdk/src/basicLogger.js", "../../../node_modules/launchdarkly-js-client-sdk/src/httpRequest.js", "../../../node_modules/launchdarkly-js-client-sdk/node_modules/escape-string-regexp/index.js", "../../../node_modules/launchdarkly-js-client-sdk/src/GoalTracker.js", "../../../node_modules/launchdarkly-js-client-sdk/src/GoalManager.js", "../../../node_modules/launchdarkly-js-client-sdk/src/index.js", "../../../node_modules/launchdarkly-js-client-sdk/src/browserPlatform.js", "../../../node_modules/launchdarkly-react-client-sdk/src/context.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/types.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/utils.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/getFlagsProxy.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/wrapperOptions.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/provider.tsx", "../../../node_modules/launchdarkly-react-client-sdk/src/withLDProvider.tsx", "../../../node_modules/launchdarkly-react-client-sdk/src/asyncWithLDProvider.tsx", "../../../node_modules/launchdarkly-react-client-sdk/src/withLDConsumer.tsx", "../../../node_modules/launchdarkly-react-client-sdk/src/useFlags.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/useLDClient.ts", "../../../node_modules/launchdarkly-react-client-sdk/src/useLDClientError.tsx", "../../javascript/helpers/featureFlags.ts", "../../javascript/components/shared/CanadianJurisdictionSelector.tsx", "../../javascript/apis/canadianJurisdictionsApi.ts", "../../javascript/components/shared/JurisdictionStateSelector.tsx", "../../javascript/apis/fetchStatesApi.js", "../../javascript/components/matterDetails/ShareMatterChangeConfirmModal.tsx", "../../javascript/helpers/matterSharing.ts", "../../javascript/components/matterDetails/UserCard.tsx", "../../javascript/components/matterDetails/ShareUserDropdown.tsx", "../../../node_modules/@uidotdev/usehooks/index.js", "../../javascript/hooks/useClickOutside.ts", "../../javascript/actions/sharingChangesActions.ts", "../../javascript/components/matterDetails/ShareMatterForm.tsx", "../../javascript/components/layouts/MainChat.tsx", "../../javascript/components/mainChat/ChatInput.tsx", "../../javascript/components/mainChat/chatInput/ChatConnectorsMenu.tsx", "../../javascript/apis/integrationsApi.ts", "../../javascript/hooks/useDropdownMenu.ts", "../../javascript/components/assets/MagicWandIcon.tsx", "../../javascript/components/mainChat/chatInput/ImprovePromptRow.tsx", "../../javascript/components/mainChat/chatInput/MicrophoneButton.tsx", "../../javascript/components/assets/MicrophoneIcon.tsx", "../../javascript/components/mainChat/chatInput/modals/ImanageNativeFilePicker.tsx", "../../javascript/helpers/imanageNativePicker.ts", "../../javascript/helpers/chatPaths.ts", "../../javascript/hooks/useIntegrationConfirm.ts", "../../javascript/components/common/CloseButton.tsx", "../../javascript/components/shared/Modal.tsx", "../../javascript/components/mainChat/chatInput/modals/IManageResourceSelector.tsx", "../../javascript/components/assets/IntegrationFileDocIcon.tsx", "../../javascript/components/assets/IntegrationFileIcon.tsx", "../../javascript/components/assets/IntegrationFilePptIcon.tsx", "../../javascript/components/assets/IntegrationFileTxtIcon.tsx", "../../javascript/components/assets/IntegrationFileXlsIcon.tsx", "../../javascript/components/assets/IntegrationImageIcon.tsx", "../../javascript/components/shared/SelectCheckbox.tsx", "../../javascript/components/mainChat/chatInput/modals/IManagePickerModal.tsx", "../../javascript/components/mainChat/chatInput/modals/NetDocumentsResourceSelector.tsx", "../../javascript/utils/ndConnectElement.ts", "../../javascript/utils/netDocumentsAuthPopup.ts", "../../javascript/components/mainChat/chatInput/modals/OneDriveResourceSelector.tsx", "../../javascript/components/integrations/IntegrationProviderResourceSelector.tsx", "../../javascript/components/shared/ConditionalTooltip.tsx", "../../javascript/components/integrations/IntegrationProviderFileTableRow.tsx", "../../javascript/components/integrations/IntegrationProviderFolderTableRow.tsx", "../../javascript/components/assets/IntegrationFolderIcon.tsx", "../../javascript/components/integrations/IntegrationProviderResourceTableContent.tsx", "../../javascript/components/shared/TableSortableHeader.tsx", "../../javascript/components/integrations/IntegrationProviderResourceTableHeader.tsx", "../../javascript/components/assets/ArrowsClockwiseIcon.tsx", "../../javascript/components/mainChat/chatInput/SendButton.tsx", "../../javascript/components/IconButton.tsx", "../../javascript/components/mainChat/chatInput/useImprovePrompt.ts", "../../javascript/apis/improvePromptApi.ts", "../../javascript/components/mainChat/chatInput/VoiceRecordingControls.tsx", "../../javascript/components/mainChat/chatInput/VoiceWaveform.tsx", "../../javascript/actions/chatInputActions.ts", "../../javascript/hooks/useComposerAutofocus.ts", "../../javascript/helpers/sidebarToggle.ts", "../../javascript/hooks/useDictation.ts", "../../javascript/hooks/useVoiceRecording.ts", "../../javascript/apis/audioApi.ts", "../../javascript/hooks/useEscapeClearComposer.ts", "../../javascript/helpers/composerClearHint.ts", "../../javascript/components/documents/UploadButton.tsx", "../../javascript/helpers/folderUtils.ts", "../../javascript/components/shared/MentionInput/MentionInput.tsx", "../../../node_modules/is-plain-object/dist/is-plain-object.mjs", "../../../node_modules/immer/src/utils/env.ts", "../../../node_modules/immer/src/utils/errors.ts", "../../../node_modules/immer/src/utils/common.ts", "../../../node_modules/immer/src/utils/plugins.ts", "../../../node_modules/immer/src/core/scope.ts", "../../../node_modules/immer/src/core/finalize.ts", "../../../node_modules/immer/src/core/proxy.ts", "../../../node_modules/immer/src/core/immerClass.ts", "../../../node_modules/immer/src/core/current.ts", "../../../node_modules/immer/src/plugins/patches.ts", "../../../node_modules/immer/src/plugins/mapset.ts", "../../../node_modules/immer/src/immer.ts", "../../../node_modules/slate/src/interfaces/path-ref.ts", "../../../node_modules/slate/src/interfaces/point-ref.ts", "../../../node_modules/slate/src/interfaces/range-ref.ts", "../../../node_modules/slate/src/utils/weak-maps.ts", "../../../node_modules/slate/src/interfaces/path.ts", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/typeof.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPrimitive.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js", "../../../node_modules/slate/src/interfaces/transforms/general.ts", "../../../node_modules/slate/src/interfaces/transforms/node.ts", "../../../node_modules/slate/src/interfaces/transforms/selection.ts", "../../../node_modules/slate/src/utils/deep-equal.ts", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js", "../../../node_modules/slate/src/interfaces/range.ts", "../../../node_modules/slate/src/interfaces/element.ts", "../../../node_modules/slate/src/interfaces/node.ts", "../../../node_modules/slate/src/interfaces/operation.ts", "../../../node_modules/slate/src/editor/is-editor.ts", "../../../node_modules/slate/src/interfaces/editor.ts", "../../../node_modules/slate/src/interfaces/location.ts", "../../../node_modules/slate/src/interfaces/point.ts", "../../../node_modules/slate/src/interfaces/scrubber.ts", "../../../node_modules/slate/src/interfaces/text.ts", "../../../node_modules/slate/src/utils/get-default-insert-location.ts", "../../../node_modules/slate/src/utils/match-path.ts", "../../../node_modules/slate/src/utils/string.ts", "../../../node_modules/slate/src/interfaces/transforms/text.ts", "../../../node_modules/slate/src/interfaces/transforms/index.ts", "../../../node_modules/slate/src/core/batch-dirty-paths.ts", "../../../node_modules/slate/src/core/update-dirty-paths.ts", "../../../node_modules/slate/src/core/apply.ts", "../../../node_modules/slate/src/core/get-dirty-paths.ts", "../../../node_modules/slate/src/core/get-fragment.ts", "../../../node_modules/slate/src/core/normalize-node.ts", "../../../node_modules/slate/src/core/should-normalize.ts", "../../../node_modules/slate/src/editor/above.ts", "../../../node_modules/slate/src/editor/add-mark.ts", "../../../node_modules/slate/src/editor/after.ts", "../../../node_modules/slate/src/editor/before.ts", "../../../node_modules/slate/src/editor/delete-backward.ts", "../../../node_modules/slate/src/editor/delete-forward.ts", "../../../node_modules/slate/src/editor/delete-fragment.ts", "../../../node_modules/slate/src/editor/edges.ts", "../../../node_modules/slate/src/editor/element-read-only.ts", "../../../node_modules/slate/src/editor/end.ts", "../../../node_modules/slate/src/editor/first.ts", "../../../node_modules/slate/src/editor/fragment.ts", "../../../node_modules/slate/src/editor/get-void.ts", "../../../node_modules/slate/src/editor/has-blocks.ts", "../../../node_modules/slate/src/editor/has-inlines.ts", "../../../node_modules/slate/src/editor/has-path.ts", "../../../node_modules/slate/src/editor/has-texts.ts", "../../../node_modules/slate/src/editor/insert-break.ts", "../../../node_modules/slate/src/editor/insert-node.ts", "../../../node_modules/slate/src/editor/insert-soft-break.ts", "../../../node_modules/slate/src/editor/insert-text.ts", "../../../node_modules/slate/src/editor/is-block.ts", "../../../node_modules/slate/src/editor/is-edge.ts", "../../../node_modules/slate/src/editor/is-empty.ts", "../../../node_modules/slate/src/editor/is-end.ts", "../../../node_modules/slate/src/editor/is-normalizing.ts", "../../../node_modules/slate/src/editor/is-start.ts", "../../../node_modules/slate/src/editor/last.ts", "../../../node_modules/slate/src/editor/leaf.ts", "../../../node_modules/slate/src/editor/levels.ts", "../../../node_modules/slate/src/editor/marks.ts", "../../../node_modules/slate/src/editor/next.ts", "../../../node_modules/slate/src/editor/node.ts", "../../../node_modules/slate/src/editor/nodes.ts", "../../../node_modules/slate/src/editor/normalize.ts", "../../../node_modules/slate/src/editor/parent.ts", "../../../node_modules/slate/src/editor/path-ref.ts", "../../../node_modules/slate/src/editor/path-refs.ts", "../../../node_modules/slate/src/editor/path.ts", "../../../node_modules/slate/src/editor/point-ref.ts", "../../../node_modules/slate/src/editor/point-refs.ts", "../../../node_modules/slate/src/editor/point.ts", "../../../node_modules/slate/src/editor/positions.ts", "../../../node_modules/slate/src/editor/previous.ts", "../../../node_modules/slate/src/editor/range-ref.ts", "../../../node_modules/slate/src/editor/range-refs.ts", "../../../node_modules/slate/src/editor/range.ts", "../../../node_modules/slate/src/editor/remove-mark.ts", "../../../node_modules/slate/src/editor/set-normalizing.ts", "../../../node_modules/slate/src/editor/start.ts", "../../../node_modules/slate/src/editor/string.ts", "../../../node_modules/slate/src/editor/unhang-range.ts", "../../../node_modules/slate/src/editor/without-normalizing.ts", "../../../node_modules/slate/src/editor/should-merge-nodes-remove-prev-node.ts", "../../../node_modules/slate/src/transforms-text/delete-text.ts", "../../../node_modules/slate/src/transforms-text/insert-fragment.ts", "../../../node_modules/slate/src/transforms-selection/collapse.ts", "../../../node_modules/slate/src/transforms-selection/deselect.ts", "../../../node_modules/slate/src/transforms-selection/move.ts", "../../../node_modules/slate/src/transforms-selection/select.ts", "../../../node_modules/slate/src/transforms-selection/set-point.ts", "../../../node_modules/slate/src/transforms-selection/set-selection.ts", "../../../node_modules/slate/src/transforms-node/insert-nodes.ts", "../../../node_modules/slate/src/transforms-node/lift-nodes.ts", "../../../node_modules/slate/src/transforms-node/merge-nodes.ts", "../../../node_modules/slate/src/transforms-node/move-nodes.ts", "../../../node_modules/slate/src/transforms-node/remove-nodes.ts", "../../../node_modules/slate/src/transforms-node/set-nodes.ts", "../../../node_modules/slate/src/transforms-node/split-nodes.ts", "../../../node_modules/slate/src/transforms-node/unset-nodes.ts", "../../../node_modules/slate/src/transforms-node/unwrap-nodes.ts", "../../../node_modules/slate/src/transforms-node/wrap-nodes.ts", "../../../node_modules/slate/src/create-editor.ts", "../../../node_modules/slate-history/src/history.ts", "../../../node_modules/slate-history/src/history-editor.ts", "../../../node_modules/slate-history/src/with-history.ts", "../../../node_modules/compute-scroll-into-view/src/index.ts", "../../../node_modules/scroll-into-view-if-needed/src/index.ts", "../../../node_modules/slate-dom/src/utils/dom.ts", "../../../node_modules/slate-dom/src/utils/environment.ts", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/typeof.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPrimitive.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js", "../../../node_modules/slate-dom/src/utils/key.ts", "../../../node_modules/slate-dom/src/utils/weak-maps.ts", "../../../node_modules/slate-dom/src/plugin/dom-editor.ts", "../../../node_modules/slate-dom/src/utils/diff-text.ts", "../../../node_modules/slate-dom/src/utils/lines.ts", "../../../node_modules/slate-dom/src/plugin/with-dom.ts", "../../../node_modules/slate-dom/src/utils/constants.ts", "../../../node_modules/slate-dom/src/utils/hotkeys.ts", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js", "../../../node_modules/slate-dom/src/utils/range-list.ts", "../../../node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js", "../../../node_modules/@juggle/resize-observer/lib/utils/freeze.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js", "../../../node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js", "../../../node_modules/@juggle/resize-observer/lib/utils/element.js", "../../../node_modules/@juggle/resize-observer/lib/utils/global.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js", "../../../node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js", "../../../node_modules/@juggle/resize-observer/lib/utils/process.js", "../../../node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js", "../../../node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js", "../../../node_modules/@juggle/resize-observer/lib/utils/scheduler.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObservation.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserverController.js", "../../../node_modules/@juggle/resize-observer/lib/ResizeObserver.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/typeof.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPrimitive.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js", "../../../../../.yarn/berry/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-10.zip/node_modules/@babel/runtime/helpers/esm/defineProperty.js", "../../../node_modules/slate-react/src/hooks/use-slate-static.tsx", "../../../node_modules/slate-react/src/plugin/react-editor.ts", "../../../node_modules/slate-react/src/hooks/android-input-manager/android-input-manager.ts", "../../../node_modules/slate-react/src/hooks/use-is-mounted.tsx", "../../../node_modules/slate-react/src/hooks/use-isomorphic-layout-effect.ts", "../../../node_modules/slate-react/src/hooks/use-mutation-observer.ts", "../../../node_modules/slate-react/src/hooks/android-input-manager/use-android-input-manager.ts", "../../../node_modules/slate-react/src/components/string.tsx", "../../../node_modules/slate-react/src/components/leaf.tsx", "../../../node_modules/slate-react/src/components/text.tsx", "../../../node_modules/slate-react/src/components/element.tsx", "../../../node_modules/slate-react/src/hooks/use-decorate.ts", "../../../node_modules/slate-react/src/hooks/use-selected.ts", "../../../node_modules/slate-react/src/hooks/use-children.tsx", "../../../node_modules/slate-react/src/hooks/use-read-only.ts", "../../../node_modules/slate-react/src/hooks/use-slate.tsx", "../../../node_modules/slate-react/src/hooks/use-track-user-input.ts", "../../../node_modules/slate-react/src/components/restore-dom/restore-dom-manager.ts", "../../../node_modules/slate-react/src/components/restore-dom/restore-dom.tsx", "../../../node_modules/slate-react/src/hooks/use-composing.ts", "../../../node_modules/slate-react/src/components/editable.tsx", "../../../node_modules/slate-react/src/hooks/use-focused.ts", "../../../node_modules/slate-react/src/hooks/use-slate-selector.tsx", "../../../node_modules/slate-react/src/utils/environment.ts", "../../../node_modules/slate-react/src/components/slate.tsx", "../../../node_modules/slate-react/src/hooks/use-editor.tsx", "../../../node_modules/slate-react/src/hooks/use-slate-selection.tsx", "../../../node_modules/slate-react/src/plugin/with-react.ts", "../../javascript/types/Slate.ts", "../../javascript/types/DefaultConfigurations.ts", "../../javascript/components/shared/MentionInput/utils.ts", "../../javascript/components/shared/MentionInput/keypress-utils.ts", "../../javascript/components/shared/MentionInput/slatePlugins.tsx", "../../javascript/components/workflow/WorkflowMenu.tsx", "../../javascript/apis/workflowsApi.ts", "../../javascript/components/mainChat/InitialChatSuggestions.tsx", "../../javascript/constants/initialSuggestionsConstants.ts", "../../javascript/helpers/initialSuggestionsUtils.ts", "../../javascript/components/mainChat/LatestMessageButton.jsx", "../../javascript/helpers/dentonsInstances.ts", "../../javascript/components/mainChat/MainChatChatInputGroup.tsx", "../../javascript/components/mainChat/MainChatHeaderLeftButtonGroup.tsx", "../../javascript/components/mainChat/ChatHeader.tsx", "../../javascript/components/matter/MatterTitle.tsx", "../../javascript/components/mainChat/MainChatHeaderRightButtonGroup.tsx", "../../javascript/components/mainChat/AuditLog/AuditLogContent.tsx", "../../../node_modules/hast-util-parse-selector/lib/index.js", "../../../node_modules/hastscript/lib/create-h.js", "../../../node_modules/hastscript/lib/svg-case-sensitive-tag-names.js", "../../../node_modules/hastscript/lib/index.js", "../../../node_modules/vfile-location/lib/index.js", "../../../node_modules/web-namespaces/index.js", "../../../node_modules/hast-util-from-parse5/lib/index.js", "../../../node_modules/hast-util-to-parse5/lib/index.js", "../../../node_modules/html-void-elements/index.js", "../../../node_modules/parse5/dist/common/unicode.js", "../../../node_modules/parse5/dist/common/error-codes.js", "../../../node_modules/parse5/dist/tokenizer/preprocessor.js", "../../../node_modules/parse5/dist/common/token.js", "https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/generated/decode-data-html.ts", "https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/generated/decode-data-xml.ts", "https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/decode_codepoint.ts", "https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/decode.ts", "../../../node_modules/parse5/dist/common/html.js", "../../../node_modules/parse5/dist/tokenizer/index.js", "../../../node_modules/parse5/dist/parser/open-element-stack.js", "../../../node_modules/parse5/dist/parser/formatting-element-list.js", "../../../node_modules/parse5/dist/tree-adapters/default.js", "../../../node_modules/parse5/dist/common/doctype.js", "../../../node_modules/parse5/dist/common/foreign-content.js", "../../../node_modules/parse5/dist/parser/index.js", "https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/escape.ts", "../../../node_modules/parse5/dist/serializer/index.js", "../../../node_modules/hast-util-raw/lib/index.js", "../../../node_modules/rehype-raw/lib/index.js", "../../../node_modules/node-emoji/src/emojify.ts", "../../../node_modules/node-emoji/src/findByName.ts", "../../../node_modules/node-emoji/src/data.ts", "../../../node_modules/node-emoji/src/utils.ts", "../../../node_modules/node-emoji/src/findByCode.ts", "../../../node_modules/node-emoji/src/find.ts", "../../../node_modules/node-emoji/src/get.ts", "../../../node_modules/node-emoji/src/has.ts", "../../../node_modules/node-emoji/src/random.ts", "../../../node_modules/node-emoji/src/replace.ts", "../../../node_modules/node-emoji/src/search.ts", "../../../node_modules/node-emoji/src/strip.ts", "../../../node_modules/node-emoji/src/unemojify.ts", "../../../node_modules/node-emoji/src/which.ts", "../../../node_modules/emoticon/index.js", "../../../node_modules/remark-emoji/index.ts", "../../javascript/components/mainChat/AuditLog/AuditLogVerticalDivider.tsx", "../../javascript/components/mainChat/AuditLog/GroupedItemsPillView.tsx", "../../../node_modules/marked/src/defaults.ts", "../../../node_modules/marked/src/helpers.ts", "../../../node_modules/marked/src/Tokenizer.ts", "../../../node_modules/marked/src/rules.ts", "../../../node_modules/marked/src/Lexer.ts", "../../../node_modules/marked/src/Renderer.ts", "../../../node_modules/marked/src/TextRenderer.ts", "../../../node_modules/marked/src/Parser.ts", "../../../node_modules/marked/src/Hooks.ts", "../../../node_modules/marked/src/Instance.ts", "../../../node_modules/marked/src/marked.ts", "../../javascript/components/mainChat/utils.ts", "../../javascript/helpers/auditLogTypes.ts", "../../javascript/helpers/auditLogUtils.ts", "../../javascript/helpers/auditLogGroupingUtils.ts", "../../javascript/helpers/AuditLogProcessor.ts", "../../javascript/utils/urlUtils.ts", "../../javascript/components/mainChat/chatMessage/documentCitationHighlights.ts", "../../javascript/components/mainChat/chatMessage/createMarkdownComponents.tsx", "../../javascript/components/mainChat/AnimatedText.tsx", "../../javascript/components/mainChat/ChatMessageSkeleton.tsx", "../../javascript/components/mainChat/AuditLog/AuditLogMessage.tsx", "../../javascript/components/mainChat/ChatInteractionButtonGroup.tsx", "../../javascript/components/mainChat/chatMessage/actionIcons.tsx", "../../javascript/components/mainChat/MessageEmailModal.tsx", "../../javascript/apis/messageApi.ts", "../../javascript/components/designSystem/WithTooltip.tsx", "../../javascript/components/mainChat/DocxTemplateInteractionGroup.tsx", "../../javascript/components/mainChat/DownloadModal.tsx", "../../javascript/components/mainChat/MessageDownloadModal.tsx", "../../javascript/apis/userActivityApi.ts", "../../javascript/helpers/CopyMessageContent.ts", "../../javascript/helpers/draftedDocument.ts", "../../javascript/helpers/messageActionTracking.ts", "../../javascript/hooks/useAlexiDocuments.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageProducedDocuments.tsx", "../../javascript/components/documents/fileTypeIcon.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageContent.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageWorkflowPill.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageContentWithCustomSegments.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessagePromptContent.tsx", "../../javascript/actions/documentHighlightActions.ts", "../../javascript/hooks/useMarkdownDynamicStyle.ts", "../../javascript/components/mainChat/chatMessage/ChatMessageDocumentResult.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageDocxTemplateResult.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageWorkflowDocumentResponse.tsx", "../../javascript/components/mainChat/legacyDocumentSummary/DocSummaryMessage.tsx", "../../javascript/components/shared/Accordion.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/EmptyMemoMessage.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/MemoErrorMessage.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/MemoForm.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/BackgroundFactsForm.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/ClearButton.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/CancelButton.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/ResearchQuestionForm.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/CanadianDropdown.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/USDropdown.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/StateJurisdictionSelector.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/memoForm/SubmitButton.jsx", "../../javascript/components/mainChat/legacyMemoGeneration/MemoFormSubmitted.tsx", "../../javascript/components/mainChat/legacyMemoGeneration/MemoMessage.jsx", "../../javascript/components/mainChat/chatMessage/ChatMessageSelector.tsx", "../../javascript/components/mainChat/chatMessage/ChatMessageProducedReply.tsx", "../../javascript/components/mainChat/chatMessage/MessageDate.tsx", "../../javascript/components/mainChat/chatMessage/ActionTooltip.tsx", "../../javascript/helpers/focusVisible.ts", "../../javascript/helpers/messageDate.ts", "../../javascript/components/mainChat/chatMessage/PromptMessage.tsx", "../../javascript/actions/promptActions.ts", "../../javascript/components/mainChat/workProductFeedback/WorkProductFeedbackPrompt.tsx", "../../javascript/components/mainChat/workProductFeedback/revealCard.ts", "../../javascript/apis/workProductFeedbackApi.ts", "../../javascript/stores/WorkProductFeedbackStore.ts", "../../javascript/helpers/promptThread.ts", "../../javascript/components/mainChat/ChatMessage.tsx", "../../javascript/components/mainChat/MainChatMessageGroup.tsx", "../../javascript/components/mainChat/workProductFeedback/useFeedbackOpenThread.ts", "../../javascript/actions/responseLoadingStateActions.ts", "../../javascript/actions/threadActions.ts", "../../javascript/hooks/useContainerSize.tsx", "../../javascript/components/layouts/DocumentManager.tsx", "../../javascript/components/breadcrumbs/Breadcrumbs.tsx", "../../javascript/components/breadcrumbs/BreadcrumbItem.tsx", "../../javascript/components/breadcrumbs/BreadcrumbsListModal.tsx", "../../javascript/components/breadcrumbs/BreadrcrumbsSkeleton.tsx", "../../javascript/hooks/useBreadcrumbs.ts", "../../javascript/components/documents/documentViewer/AlexiDocumentViewer.tsx", "../../javascript/components/documents/documentViewer/ActionButtons/ViewerCloseButton.tsx", "../../javascript/helpers/viewerHistory.ts", "../../javascript/components/documents/documentViewer/useViewerClose.ts", "../../javascript/components/documents/documentViewer/ChatMessageViewer.tsx", "../../javascript/components/documents/documentViewer/ActionButtons/ChatMessageActionButtons.tsx", "../../javascript/components/documents/documentViewer/ActionButtons/ChatMessageActionMenu.tsx", "../../javascript/components/shared/ToggleSwitch.tsx", "../../javascript/components/documents/documentViewer/ActionButtons/ChatMessageCollapsedActionButtons.tsx", "../../javascript/components/documents/documentViewer/ActivityLogDownloadButton.tsx", "../../javascript/components/documents/documentViewer/AlexiDocumentMetadata.tsx", "../../javascript/components/documents/documentViewer/MessageRequestBlock.tsx", "../../javascript/components/shared/TabViewer/TabViewer.tsx", "../../../node_modules/marked-plaintify/dist/index.js", "../../javascript/helpers/sidebarPeek.ts", "../../javascript/hooks/useSidebarShortcutKey.ts", "../../javascript/components/designSystem/SidebarToggle.tsx", "../../javascript/components/multithread/SidebarToggles.tsx", "../../javascript/components/documents/documentViewer/ViewerShowToggleSpace.tsx", "../../javascript/components/multithread/MultithreadBreadcrumbs.tsx", "../../javascript/actions/documentsPanelActions.ts", "../../javascript/components/assets/ChevronLeftIcon.tsx", "../../javascript/components/documents/tabs.ts", "../../javascript/components/shared/TabViewer/TabHeader.tsx", "../../javascript/components/documents/documentViewer/DocumentViewerHeader.tsx", "../../javascript/components/documents/documentViewer/ActionButtons/DocumentActionButtons.tsx", "../../javascript/components/documents/documentViewer/downloadNavigation.ts", "../../javascript/components/documents/documentViewer/ActionButtons/EmailAttachmentActionButtons.tsx", "../../javascript/helpers/downloadHelpers.ts", "../../javascript/hooks/useDocumentVersions.ts", "../../javascript/hooks/useDocumentCounts.ts", "../../javascript/hooks/useEnterpriseAttachments.tsx", "../../javascript/helpers/dates.ts", "../../javascript/components/documents/documentVersions.ts", "../../javascript/components/documents/documentViewer/DocumentOldVersionNotice.tsx", "../../javascript/components/documents/documentViewer/DocumentVersionControls.tsx", "../../javascript/actions/documentVersionToastActions.ts", "../../javascript/hooks/useDocumentPanelWide.ts", "../../javascript/components/documents/documentViewer/emailAttachment.ts", "../../javascript/components/documents/documentAction/NameEditor.tsx", "../../javascript/components/documents/documentAction/renameCaches.ts", "../../javascript/hooks/useAlexiDocument.tsx", "../../../node_modules/@cyntler/react-doc-viewer/dist/react-doc-viewer.js", "../../javascript/components/documents/documentViewer/DocumentViewer.tsx", "../../../node_modules/@nutrient-sdk/document-authoring/lib/docauth.mjs", "../../javascript/components/documents/documentViewer/DOCXViewer.tsx", "../../javascript/components/documents/documentViewer/citationHighlightTarget.ts", "../../javascript/components/documents/documentViewer/docxFeatureScan.ts", "../../javascript/components/documents/documentViewer/editReportSettle.ts", "../../javascript/components/documents/documentViewer/toolbarIcons.ts", "../../javascript/components/documents/documentViewer/nutrientChrome.ts", "../../javascript/components/documents/documentViewer/highlightTextUtils.ts", "../../javascript/components/documents/documentViewer/nutrientPageScroll.ts", "../../javascript/components/documents/documentViewer/nutrientCitationScroll.ts", "../../javascript/components/documents/documentViewer/nutrientHighlights.ts", "../../javascript/components/documents/documentViewer/nutrientLoader.ts", "../../javascript/components/documents/documentViewer/useIsOlderVersion.ts", "../../javascript/components/documents/documentViewer/useToolbarShedCount.ts", "../../javascript/components/documents/documentViewer/NutrientPDFViewer.tsx", "../../javascript/components/documents/documentViewer/nutrientViewerLoader.ts", "../../javascript/components/documents/documentViewer/pdfCitationHighlight.ts", "../../javascript/components/documents/documentViewer/pdfToolbar.ts", "../../javascript/components/documents/documentViewer/documentRenderers.ts", "../../javascript/components/documents/documentViewer/DocumentViewerNoRender.tsx", "../../javascript/components/documents/documentViewer/docViewerConfig.ts", "../../javascript/components/documents/documentViewer/viewerNavigationGuard.ts", "../../javascript/components/documents/documentViewer/saveThenClose.ts", "../../javascript/components/documents/documentViewer/useUnsavedDownload.ts", "../../javascript/components/documents/documentViewer/ViewerTopBar.tsx", "../../javascript/components/workflow/UnsavedChangesModal.tsx", "../../javascript/components/documents/emailFormat.ts", "../../javascript/components/documents/htmlText.ts", "../../javascript/hooks/useMicrosoft365Sections.ts", "../../javascript/components/documents/resourceDate.ts", "../../javascript/components/documents/microsoft365Mapping.ts", "../../javascript/components/documents/microsoft365Stub.ts", "../../javascript/components/documents/emailThread.ts", "../../javascript/components/documents/InitialsAvatar.tsx", "../../javascript/components/documents/EmailThreadView.tsx", "../../javascript/components/documents/TeamsChatView.tsx", "../../javascript/components/documents/DocumentsTab.tsx", "../../javascript/components/documents/DocumentsBottomDisclaimer.tsx", "../../javascript/components/documents/DocumentsBreadcrumbPath.tsx", "../../javascript/components/documents/DocumentsAddMenu.tsx", "../../javascript/components/assets/iManageIcon.tsx", "../../javascript/components/assets/NetDocumentsIcon.tsx", "../../javascript/components/assets/OneDriveIcon.tsx", "../../javascript/components/assets/OutlookIcon.tsx", "../../javascript/components/integrations/OutlookEmailSelector.tsx", "../../javascript/components/documents/DocumentsPanelHeader.tsx", "../../javascript/components/documents/DocumentsSearchBar.tsx", "../../javascript/components/documents/DocumentsTabBar.tsx", "../../javascript/components/documents/AllDocumentsView.tsx", "../../javascript/components/documents/ConnectorToggleRow.tsx", "../../javascript/components/documents/documentAction/AlexiDocumentActionMenu.tsx", "../../../node_modules/react-icons/lib/iconBase.mjs", "../../../node_modules/react-icons/lib/iconContext.mjs", "../../../node_modules/react-icons/lu/index.mjs", "../../javascript/components/documents/documentAction/IntegrationResourceActionMenu.tsx", "../../javascript/components/documents/documentAction/useSavedDocRowActions.tsx", "../../javascript/components/mainChat/chatInput/modals/NetDocumentsUploadModal.tsx", "../../javascript/utils/ndConnectUpload.ts", "../../javascript/components/shared/Spinner.tsx", "../../javascript/components/documents/SavedDocumentsDeleteModal.tsx", "../../javascript/components/documents/documentAction/useUploadedRowActions.tsx", "../../javascript/components/documents/documentAction/AttachmentActionMenu.tsx", "../../javascript/components/documents/documentAction/AttachmentDeleteModal.tsx", "../../javascript/components/documents/documentAction/FolderActionMenu.tsx", "../../javascript/components/documents/documentAction/FolderDeletionModal.tsx", "../../javascript/components/documents/documentAction/MoveToFolderModal.tsx", "../../javascript/components/documents/documentAction/FolderList.tsx", "../../javascript/hooks/useFolders.ts", "../../javascript/components/documents/partialReadNotice.ts", "../../javascript/components/documents/documentDisplayName.ts", "../../javascript/components/documents/DocumentsEmptyState.tsx", "../../javascript/components/documents/DocumentsSearchEmptyState.tsx", "../../javascript/components/documents/DocumentsUploadProgress.tsx", "../../javascript/components/documents/DocumentsUploadFailedTray.tsx", "../../javascript/components/documents/EmptyStateUploadMenu.tsx", "../../javascript/components/documents/FileRow.tsx", "../../javascript/components/documents/FolderRow.tsx", "../../javascript/components/documents/Microsoft365DocumentsView.tsx", "../../javascript/components/documents/SectionBreadcrumb.tsx", "../../javascript/components/assets/SharePointIcon.tsx", "../../javascript/components/assets/TeamsIcon.tsx", "../../javascript/components/documents/ProviderDisconnectedNotice.tsx", "../../javascript/components/documents/providerFolderSubtitle.ts", "../../javascript/components/documents/SortableColumnHeader.tsx", "../../javascript/components/documents/ProviderDocumentsView.tsx", "../../javascript/components/documents/IManageDocumentsView.tsx", "../../javascript/components/documents/NetDocumentsView.tsx", "../../javascript/components/documents/SavedDocumentsView.tsx", "../../javascript/components/documents/SavedHowToCallout.tsx", "../../javascript/components/documents/UploadedDocumentsView.tsx", "../../javascript/actions/upload_batch/folderUploadRollup.ts", "../../javascript/components/documents/DocumentsTabContent.tsx", "../../javascript/components/documents/EmailThreadPanel.tsx", "../../javascript/components/documents/teamsChat.ts", "../../javascript/components/documents/TeamsChatPanel.tsx", "../../javascript/components/documents/UsageLimitBanner.tsx", "../../javascript/actions/fileActions.ts", "../../javascript/hooks/useDocumentsSearch.ts", "../../javascript/hooks/useFilesAndFolders.ts", "../../javascript/hooks/useHeldWhile.ts", "../../javascript/components/integrations/NdConnectDownloadHost.tsx", "../../javascript/components/documents/documentViewer/DocumentVersionToastHost.tsx", "../../javascript/components/documents/PaginationComponent.tsx", "../../javascript/actions/documentPagination.ts", "../../javascript/components/layouts/TabViewerManager.tsx", "../../javascript/components/fastcase/FastcaseViewerHeader.tsx", "../../javascript/components/fastcase/FastcaseViewerSkeleton.tsx", "../../javascript/hooks/useFastcaseDocument.tsx", "../../javascript/hooks/useReferencedCase.tsx", "../../javascript/components/ErrorPage.tsx", "../../javascript/components/fastcase/FastcaseViewer.tsx", "../../javascript/components/workflow/WorkflowManager.tsx", "../../javascript/components/layouts/RightPanel.tsx", "../../javascript/hooks/useUploadToFolderWithConfirmation.ts", "../../javascript/actions/upload_batch/UploadRequest.ts", "../../javascript/actions/upload_batch/uploadFailureMessages.ts", "../../javascript/actions/upload_batch/UploadBatch.ts", "../../javascript/actions/fileUploadActions.js", "../../javascript/actions/multithreadMatterActions.ts", "../../javascript/components/documents/ConfirmUploadModal.tsx", "../../javascript/components/layouts/ChatTemplate.tsx", "../../javascript/components/matter/dashboard/MatterDashboardGallery.tsx", "../../javascript/components/matter/dashboard/DashboardAddMenu.tsx", "../../javascript/components/matter/dashboard/DashboardBreadcrumb.tsx", "../../javascript/components/matter/dashboard/DashboardDocumentRow.tsx", "../../javascript/components/matter/dashboard/DashboardEmptyState.tsx", "../../javascript/components/matter/dashboard/DashboardRowMenu.tsx", "../../javascript/components/matter/dashboard/types.ts", "../../javascript/components/matter/dashboard/DashboardStatusTray.tsx", "../../javascript/components/matter/dashboard/DashboardTabs.tsx", "../../javascript/components/matter/dashboard/fixtures.ts", "../../javascript/components/matter/dashboard/MatterDashboardShell.tsx", "../../javascript/components/multithread/ChatTemplate.tsx", "../../javascript/actions/documentPanelWidthActions.ts", "../../javascript/hooks/useDocumentPanelMotion.ts", "../../javascript/hooks/useDocumentPanelResize.ts", "../../javascript/hooks/useSidebarNarrowWindow.ts", "../../javascript/components/designSystem/ResizeHandle.tsx", "../../javascript/components/multithread/MainChat.tsx", "../../javascript/components/multithread/MainChatHeaderLeftButtonGroup.tsx", "../../javascript/components/multithread/matterHome/MatterChatInput.tsx", "../../javascript/helpers/textUtils.ts", "../../javascript/utils/workflowUtils.ts", "../../javascript/components/multithread/matterHome/MatterHomePage.tsx", "../../javascript/components/multithread/matterHome/MatterDocsBox.tsx", "../../javascript/components/TruncatedText.jsx", "../../javascript/components/multithread/matterHome/MatterDocsHeader.tsx", "../../javascript/components/multithread/matterHome/MatterTasksBar.tsx", "../../javascript/components/multithread/matterHome/MatterTasksHeader.tsx", "../../javascript/components/multithread/matterHome/MatterThreadsBox.tsx", "../../javascript/components/assets/RenameIcon.tsx", "../../javascript/components/assets/Share2Icon.tsx", "../../javascript/components/assets/Trash2Icon.tsx", "../../javascript/components/shared/TableActionMenu.tsx", "../../javascript/stores/PinnedStore.ts", "../../javascript/actions/pinMenuActions.ts", "../../javascript/components/multithread/pinMenuItems.tsx", "../../javascript/components/multithread/matterHome/MatterThreadsHeader.tsx", "../../javascript/components/multithread/matterHome/MatterTitle.tsx", "../../javascript/components/multithread/matterHome/JurisdictionDropdown.tsx", "../../javascript/actions/sharingUsersActions.ts", "../../javascript/components/shared/SharedWithSummary.tsx", "../../javascript/components/shared/UserAvatarStack.tsx", "../../javascript/components/matter/dashboard/MatterDashboardV2.tsx", "../../javascript/components/whats-new/WhatsNewButton.tsx", "../../javascript/components/whats-new/releases-dentons.csv", "../../javascript/components/whats-new/releases.csv", "../../javascript/components/whats-new/whatsNewData.ts", "../../javascript/components/whats-new/WhatsNewPanel.tsx", "../../javascript/components/multithread/matterList/MatterList.tsx", "../../javascript/components/multithread/matterList/MatterListTableHeader.tsx", "../../javascript/components/multithread/matterList/MatterListTableItem.tsx", "../../javascript/components/assets/EyeIcon.tsx", "../../javascript/components/assets/SharedFolderIcon.tsx", "../../javascript/components/shared/RenameMatterDialog.tsx", "../../javascript/hooks/useInfiniteTableScroll.ts", "../../javascript/components/assets/NewMatterFolderPlusIcon.tsx", "../../javascript/components/multithread/MultithreadLayout.tsx", "../../javascript/components/multithread/LeftNavbar.tsx", "../../javascript/components/multithread/sidebarDensity.ts", "../../javascript/components/multithread/LeftNavBarActionBlock.tsx", "../../javascript/components/multithread/LeftNavBarMatter.tsx", "../../javascript/components/multithread/LeftNavBarRowMenu.tsx", "../../javascript/components/multithread/usePinDrag.ts", "../../javascript/components/multithread/pinnedDrop.ts", "../../javascript/hooks/useCloseWhenSidebarHides.ts", "../../javascript/hooks/useSidebarPeek.ts", "../../javascript/components/assets/LeftNavBarBlankIcon.tsx", "../../javascript/components/assets/NewThreadIcon.tsx", "../../javascript/components/multithread/LeftNavBarSectionHeader.tsx", "../../javascript/components/multithread/LeftNavBarViewAllLink.tsx", "../../javascript/helpers/railFilter.ts", "../../javascript/hooks/useSectionCollapse.ts", "../../javascript/components/multithread/LeftNavBarMatters.tsx", "../../javascript/components/multithread/LeftNavBarPinned.tsx", "../../javascript/components/multithread/LeftNavBarDropIndicator.tsx", "../../javascript/components/multithread/LeftNavBarPinnedThread.tsx", "../../javascript/components/multithread/LeftNavBarStatusBullet.tsx", "../../javascript/components/multithread/LeftNavBarSectionHint.tsx", "../../javascript/components/multithread/LeftNavBarRecentThreads.tsx", "../../javascript/components/multithread/LeftNavBarSearch.tsx", "../../javascript/helpers/clipboard.ts", "../../javascript/components/multithread/LeftNavBarUserProfileAndSettingFooter.tsx", "../../javascript/components/multithread/ProfileMenu.tsx", "../../javascript/helpers/zIndex.ts", "../../javascript/components/multithread/PinnedToastHost.tsx", "../../javascript/hooks/useSidebarPhone.ts", "../../javascript/helpers/focusable.ts", "../../javascript/hooks/useSidebarShortcut.ts", "../../javascript/components/workspaceSettings/WorkspaceSettingsModal.tsx", "../../javascript/components/workspaceSettings/activity/ActivitySurface.tsx", "../../javascript/components/workspaceSettings/activity/activityModel.ts", "../../javascript/components/workspaceSettings/activity/ActivityExportDialog.tsx", "../../javascript/components/workspaceSettings/activity/RangeToggle.tsx", "../../javascript/components/workspaceSettings/primitives/useFocusTrap.ts", "../../javascript/components/workspaceSettings/activity/ActivityTabLine.tsx", "../../javascript/components/workspaceSettings/activity/charts.ts", "../../javascript/components/workspaceSettings/activity/ActivityCard.tsx", "../../javascript/components/workspaceSettings/activity/FirmTab.tsx", "../../javascript/components/workspaceSettings/activity/MattersTab.tsx", "../../javascript/components/workspaceSettings/activity/ActivityTable.tsx", "../../javascript/components/workspaceSettings/activity/CutName.tsx", "../../javascript/components/workspaceSettings/activity/PersonView.tsx", "../../javascript/components/workspaceSettings/activity/UsersTab.tsx", "../../javascript/components/workspaceSettings/UsageHeader.tsx", "../../javascript/components/workspaceSettings/usageModel.ts", "../../javascript/components/workspaceSettings/WorkspaceSettingsShell.tsx", "../../javascript/components/workspaceSettings/ConnectorsSurface.tsx", "../../javascript/components/workspaceSettings/UsageSurface.tsx", "../../javascript/components/workspaceSettings/primitives/Popover.tsx", "../../javascript/components/workspaceSettings/UsageAllPeople.tsx", "../../javascript/components/workspaceSettings/primitives/UsageBar.tsx", "../../javascript/components/workspaceSettings/primitives/UsageRow.tsx", "../../javascript/components/workspaceSettings/UsageBreakdown.tsx", "../../javascript/components/workspaceSettings/UsageEscalation.tsx", "../../javascript/components/workspaceSettings/UsageExportDialog.tsx", "../../javascript/components/workspaceSettings/UsageHeadline.tsx", "../../javascript/components/workspaceSettings/UsagePeopleSection.tsx", "../../javascript/components/workspaceSettings/UsageStates.tsx", "../../javascript/apis/workspaceUsageApi.ts", "../../javascript/apis/activityApi.ts", "../../javascript/hooks/useActivityReport.ts", "../../javascript/hooks/useConnectors.ts", "../../javascript/apis/connectorsApi.ts", "../../javascript/hooks/useWorkspaceUsage.ts", "../../javascript/components/multithread/MultithreadWorkflowDetail.tsx", "../../javascript/components/multithread/WorkflowEditorDetailNotFound.tsx", "../../javascript/components/multithread/WorkflowEditorIntro.tsx", "../../javascript/components/workflow/EditableWorkflowTitle.tsx", "../../javascript/components/multithread/WorkflowEditorPageLayout.tsx", "../../javascript/components/workflow/WorkflowTaskList.tsx", "../../javascript/components/workflow/TaskEditMode.tsx", "../../javascript/components/workflow/TaskMenu.tsx", "../../javascript/hooks/workflow/useResizableTextArea.ts", "../../javascript/hooks/workflow/useTaskForm.ts", "../../javascript/hooks/workflow/useTaskPromptVariableMention.tsx", "../../javascript/components/workflow/TaskViewMode.tsx", "../../javascript/components/workflow/PrompVariablePill.tsx", "../../javascript/components/workflow/PromptView.tsx", "../../javascript/components/workflow/EditableTaskCard.tsx", "../../javascript/components/workflow/TaskConnectorButton.tsx", "../../javascript/components/workflow/WorkflowTemplateUploadCard.tsx", "../../javascript/apis/workflowDocxTemplateApi.ts", "../../javascript/hooks/workflow/useWorkflowValidation.ts", "../../javascript/utils/workflowValidation.ts", "../../javascript/components/multithread/WorkflowEditorTaskSection.tsx", "../../javascript/components/workflow/ReadOnlyWorkflowIntro.tsx", "../../javascript/components/workflow/TaskReadOnlyMode.tsx", "../../javascript/components/workflow/ReadOnlyWorkflowTaskSection.tsx", "../../javascript/components/workflow/WorkflowLoading.tsx", "../../javascript/components/multithread/NewWorkflowEditor.tsx", "../../javascript/apis/searchViewApi.ts", "../../javascript/components/multithread/search/SearchMatterRow.tsx", "../../javascript/components/multithread/search/SearchSortDropdown.tsx", "../../javascript/components/multithread/search/MatterResultsPanel.tsx", "../../javascript/components/multithread/search/SearchThreadRow.tsx", "../../javascript/components/multithread/search/ThreadResultsPanel.tsx", "../../javascript/components/multithread/search/SearchPage.tsx", "../../javascript/components/multithread/threadList/ThreadList.tsx", "../../javascript/actions/threadListActions.ts", "../../javascript/components/multithread/threadList/ThreadListTableHeader.tsx", "../../javascript/components/multithread/threadList/ThreadListTableItem.tsx", "../../javascript/components/multithread/threadList/ThreadDetailsMenu.tsx", "../../javascript/components/multithread/WorkflowList.tsx", "../../javascript/components/multithread/WorkflowListCard.tsx", "../../javascript/components/workflow/CriticalActionBadge.tsx", "../../javascript/components/workflow/workflowFolder/workflowFolderPopulated/WorkflowStatusBadge.tsx", "../../javascript/components/workflow/WorkflowSharedStatusBadge.tsx", "../../javascript/components/workflow/WorkflowTitleBadge.tsx", "../../javascript/components/workflow/WorkflowTypeBadge.tsx", "../../javascript/components/workflow/workflowFolder/WorkflowFolderEmpty.tsx", "../../javascript/components/workflow/workflowFolder/workflowFolderPopulated/WorkflowFolderPopulatedSkeleton.tsx", "../../javascript/components/OnboardingFlow.tsx", "../../javascript/components/onboarding/AboutLawFirmStep.tsx", "../../javascript/components/onboarding/FormStep.tsx", "../../javascript/components/shared/FormControlledSelect.tsx", "../../javascript/components/shared/FormInput.tsx", "../../javascript/components/onboarding/AboutUserStep.tsx", "../../javascript/components/shared/FormRadioGroup.tsx", "../../javascript/components/onboarding/AboutWorkStep.tsx", "../../javascript/components/onboarding/ChipSelectGroup.tsx", "../../javascript/components/onboarding/InfoModal.tsx", "../../../node_modules/@babel/runtime/helpers/esm/typeof.js", "../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js", "../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js", "../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js", "../../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js", "../../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js", "../../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js", "../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js", "../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js", "../../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js", "../../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js", "../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js", "../../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js", "../../../node_modules/react-select/dist/useStateManager-7e1e8489.esm.js", "../../../node_modules/@babel/runtime/helpers/esm/extends.js", "../../../node_modules/react-select/dist/react-select.esm.js", "../../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js", "../../../node_modules/@babel/runtime/helpers/esm/createClass.js", "../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js", "../../../node_modules/@babel/runtime/helpers/esm/inherits.js", "../../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js", "../../../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js", "../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js", "../../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js", "../../../node_modules/@babel/runtime/helpers/esm/createSuper.js", "../../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js", "../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js", "../../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js", "../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js", "../../../node_modules/react-select/dist/Select-aab027f3.esm.js", "../../../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js", "../../../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js", "../../../node_modules/stylis/src/Enum.js", "../../../node_modules/stylis/src/Utility.js", "../../../node_modules/stylis/src/Tokenizer.js", "../../../node_modules/stylis/src/Parser.js", "../../../node_modules/stylis/src/Serializer.js", "../../../node_modules/stylis/src/Middleware.js", "../../../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js", "../../../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js", "../../../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js", "../../../node_modules/@emotion/hash/dist/emotion-hash.esm.js", "../../../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js", "../../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js", "../../../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js", "../../../node_modules/@emotion/react/dist/emotion-react.browser.esm.js", "../../../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js", "../../../node_modules/react-select/dist/index-641ee5b8.esm.js", "../../../node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js", "../../../node_modules/memoize-one/dist/memoize-one.esm.js", "../../javascript/components/shared/ReactSelectMulti.tsx", "../../javascript/components/onboarding/TrialInfo.tsx", "../../javascript/components/redirects/LegacyDocumentRedirect.tsx", "../../javascript/components/SelectedStateSynchronizer.tsx", "../../javascript/components/workflow/NewWorkflow.tsx", "../../javascript/components/workflow/WorkflowIntro.tsx", "../../javascript/components/workflow/WorkflowPageLayout.tsx", "../../javascript/components/workflow/WorkflowTaskSection.tsx", "../../javascript/components/workflow/WorkflowDetail.tsx", "../../javascript/components/workflow/WorkflowNotFound.tsx", "../../javascript/components/workflow/workflowFolder/workflowFolderPopulated/WorkflowCard.tsx", "../../javascript/components/workflow/workflowFolder/workflowFolderPopulated/WorkflowFolderPopulated.tsx", "../../javascript/components/workflow/workflowFolder/WorkflowFolderRoot.tsx", "../../javascript/components/workspaceSettings/WorkspaceSettingsGallery.tsx", "../../javascript/components/workspaceSettings/fixtures.ts", "../../javascript/routes/Admin/AdminProtectedRoute.tsx", "../../javascript/components/Admin/AdminHome.tsx", "../../javascript/components/Admin/AdminIntegrationProviders.tsx", "../../../node_modules/react-icons/ai/index.mjs", "../../../node_modules/react-icons/fa6/index.mjs", "../../javascript/components/Admin/AdminMattersPagination.tsx", "../../javascript/components/Admin/IntegrationProviderCsvImportModal.tsx", "../../javascript/apis/admin/adminIntegrationProvidersApi.ts", "../../javascript/components/Admin/IntegrationProviderFormModal.tsx", "../../javascript/hooks/admin/useAdminIntegrationProviders.ts", "../../javascript/components/Admin/AdminSidebar.tsx", "../../javascript/apis/admin/workProductFeedbackAdminApi.ts", "../../javascript/components/Admin/AdminLayout.tsx", "../../javascript/components/Admin/AdminM365Test.tsx", "../../javascript/components/Admin/AdminMatters.tsx", "../../javascript/apis/admin/adminMattersApi.ts", "../../javascript/hooks/admin/useAdminMatters.ts", "../../javascript/components/Admin/AdminMatterViewer.tsx", "../../../node_modules/react-icons/ci/index.mjs", "../../javascript/components/Admin/FeedbButtonAdminView.tsx", "../../javascript/apis/admin/adminMatterApi.ts", "../../javascript/hooks/admin/useAdminMatter.ts", "../../javascript/components/Admin/AdminUsageTracking.tsx", "../../javascript/apis/admin/adminUsageApi.ts", "../../javascript/hooks/admin/useAdminUsageInfo.ts", "../../javascript/components/NotFound.tsx", "../../javascript/components/Admin/workProductFeedback/FeedbackAdminLayout.tsx", "../../javascript/components/Admin/workProductFeedback/FeedbackConfigurationPage.tsx", "../../javascript/components/Admin/workProductFeedback/feedbackLabels.ts", "../../javascript/components/Admin/workProductFeedback/FeedbackResponseDetailPage.tsx", "../../javascript/components/Admin/workProductFeedback/FeedbackResponsesPage.tsx", "../../javascript/routes/Admin/adminRoutes.tsx", "../../javascript/actions/ingestionRefreshScheduler.ts", "../../javascript/channels/user_channel.ts", "../../javascript/helpers/axiosInterceptor.ts", "../../javascript/helpers/faviconHelper.ts", "../../javascript/helpers/nativeCopyTracking.ts", "../../javascript/helpers/ComputedAttributes.ts", "../../javascript/helpers/fieldSnapshot.ts", "../../../node_modules/@js-temporal/polyfill/lib/bigintmath.ts", "../../../node_modules/@js-temporal/polyfill/lib/slots.ts", "../../../node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts", "../../../node_modules/@js-temporal/polyfill/lib/math.ts", "../../../node_modules/@js-temporal/polyfill/lib/timeduration.ts", "../../../node_modules/@js-temporal/polyfill/lib/regex.ts", "../../../node_modules/@js-temporal/polyfill/lib/ecmascript.ts", "../../../node_modules/@js-temporal/polyfill/lib/calendar.ts", "../../../node_modules/@js-temporal/polyfill/lib/intl.ts", "../../../node_modules/@js-temporal/polyfill/lib/instant.ts", "../../../node_modules/@js-temporal/polyfill/lib/plaindate.ts", "../../../node_modules/@js-temporal/polyfill/lib/plaindatetime.ts", "../../../node_modules/@js-temporal/polyfill/lib/duration.ts", "../../../node_modules/@js-temporal/polyfill/lib/plainmonthday.ts", "../../../node_modules/@js-temporal/polyfill/lib/now.ts", "../../../node_modules/@js-temporal/polyfill/lib/plaintime.ts", "../../../node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts", "../../../node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts", "../../../node_modules/@js-temporal/polyfill/lib/legacydate.ts", "../../../node_modules/@js-temporal/polyfill/lib/index.ts", "../../javascript/helpers/temporalUtils.ts", "../../javascript/helpers/ThreadStore.ts", "../../javascript/stores/EnterpriseStore.ts", "../../javascript/actions/integration_batch/IntegrationIngestionBatch.ts", "../../javascript/stores/IntegrationStore.ts", "../../javascript/stores/MatterHomeStore.ts", "../../javascript/stores/SearchResourceStore.ts", "../../javascript/apis/searchApi.ts", "../../javascript/stores/SearchStore.ts", "../../javascript/apis/workflowTemplateApi.ts", "../../javascript/stores/WorkflowStore.ts", "../../javascript/stores/WorkspaceSettingsStore.ts", "../../javascript/helpers/Store.ts", "../../javascript/helpers/uploadUnloadGuard.ts"], "sourcesContent": ["/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var ReactVersion = '18.3.1';\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\n/**\n * Keeps track of the current dispatcher.\n */\nvar ReactCurrentDispatcher = {\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n};\n\n/**\n * Keeps track of the current batch's configuration such as how long an update\n * should suspend for if it needs to.\n */\nvar ReactCurrentBatchConfig = {\n transition: null\n};\n\nvar ReactCurrentActQueue = {\n current: null,\n // Used to reproduce behavior of `batchedUpdates` in legacy mode.\n isBatchingLegacy: false,\n didScheduleLegacyUpdate: false\n};\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n */\nvar ReactCurrentOwner = {\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n};\n\nvar ReactDebugCurrentFrame = {};\nvar currentExtraStackFrame = null;\nfunction setExtraStackFrame(stack) {\n {\n currentExtraStackFrame = stack;\n }\n}\n\n{\n ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {\n {\n currentExtraStackFrame = stack;\n }\n }; // Stack implementation injected by the current renderer.\n\n\n ReactDebugCurrentFrame.getCurrentStack = null;\n\n ReactDebugCurrentFrame.getStackAddendum = function () {\n var stack = ''; // Add an extra top frame while an element is being validated\n\n if (currentExtraStackFrame) {\n stack += currentExtraStackFrame;\n } // Delegate to the injected renderer-specific implementation\n\n\n var impl = ReactDebugCurrentFrame.getCurrentStack;\n\n if (impl) {\n stack += impl() || '';\n }\n\n return stack;\n };\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar ReactSharedInternals = {\n ReactCurrentDispatcher: ReactCurrentDispatcher,\n ReactCurrentBatchConfig: ReactCurrentBatchConfig,\n ReactCurrentOwner: ReactCurrentOwner\n};\n\n{\n ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;\n ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;\n}\n\n// by calls to these methods by a Babel plugin.\n//\n// In PROD (or in packages without access to React internals),\n// they are left as they are instead.\n\nfunction warn(format) {\n {\n {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n printWarning('warn', format, args);\n }\n }\n}\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\nvar didWarnStateUpdateForUnmountedComponent = {};\n\nfunction warnNoop(publicInstance, callerName) {\n {\n var _constructor = publicInstance.constructor;\n var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';\n var warningKey = componentName + \".\" + callerName;\n\n if (didWarnStateUpdateForUnmountedComponent[warningKey]) {\n return;\n }\n\n error(\"Can't call %s on a component that is not yet mounted. \" + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);\n\n didWarnStateUpdateForUnmountedComponent[warningKey] = true;\n }\n}\n/**\n * This is the abstract API for an update queue.\n */\n\n\nvar ReactNoopUpdateQueue = {\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {?function} callback Called after component is updated.\n * @param {?string} callerName name of the calling function in the public API.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance, callback, callerName) {\n warnNoop(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @param {?function} callback Called after component is updated.\n * @param {?string} callerName name of the calling function in the public API.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {\n warnNoop(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @param {?function} callback Called after component is updated.\n * @param {?string} Name of the calling function in the public API.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState, callback, callerName) {\n warnNoop(publicInstance, 'setState');\n }\n};\n\nvar assign = Object.assign;\n\nvar emptyObject = {};\n\n{\n Object.freeze(emptyObject);\n}\n/**\n * Base class helpers for the updating state of a component.\n */\n\n\nfunction Component(props, context, updater) {\n this.props = props;\n this.context = context; // If a component has string refs, we will assign a different object later.\n\n this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the\n // renderer.\n\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nComponent.prototype.isReactComponent = {};\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\n\nComponent.prototype.setState = function (partialState, callback) {\n if (typeof partialState !== 'object' && typeof partialState !== 'function' && partialState != null) {\n throw new Error('setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.');\n }\n\n this.updater.enqueueSetState(this, partialState, callback, 'setState');\n};\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\n\n\nComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');\n};\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\n\n\n{\n var deprecatedAPIs = {\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n };\n\n var defineDeprecationWarning = function (methodName, info) {\n Object.defineProperty(Component.prototype, methodName, {\n get: function () {\n warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);\n\n return undefined;\n }\n });\n };\n\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\nfunction ComponentDummy() {}\n\nComponentDummy.prototype = Component.prototype;\n/**\n * Convenience component with default shallow equality check for sCU.\n */\n\nfunction PureComponent(props, context, updater) {\n this.props = props;\n this.context = context; // If a component has string refs, we will assign a different object later.\n\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nvar pureComponentPrototype = PureComponent.prototype = new ComponentDummy();\npureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.\n\nassign(pureComponentPrototype, Component.prototype);\npureComponentPrototype.isPureReactComponent = true;\n\n// an immutable object with a single mutable value\nfunction createRef() {\n var refObject = {\n current: null\n };\n\n {\n Object.seal(refObject);\n }\n\n return refObject;\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n var warnAboutAccessingKey = function () {\n {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n var warnAboutAccessingRef = function () {\n {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * Create and return a new ReactElement of the given type.\n * See https://reactjs.org/docs/react-api.html#createelement\n */\n\nfunction createElement(type, config, children) {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null;\n var self = null;\n var source = null;\n\n if (config != null) {\n if (hasValidRef(config)) {\n ref = config.ref;\n\n {\n warnIfStringRefCannotBeAutoConverted(config);\n }\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n self = config.__self === undefined ? null : config.__self;\n source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n } // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n\n\n var childrenLength = arguments.length - 2;\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n\n {\n if (Object.freeze) {\n Object.freeze(childArray);\n }\n }\n\n props.children = childArray;\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n {\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n}\nfunction cloneAndReplaceKey(oldElement, newKey) {\n var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n return newElement;\n}\n/**\n * Clone and return a new ReactElement using element as the starting point.\n * See https://reactjs.org/docs/react-api.html#cloneelement\n */\n\nfunction cloneElement(element, config, children) {\n if (element === null || element === undefined) {\n throw new Error(\"React.cloneElement(...): The argument must be a React element, but you passed \" + element + \".\");\n }\n\n var propName; // Original props are copied\n\n var props = assign({}, element.props); // Reserved names are extracted\n\n var key = element.key;\n var ref = element.ref; // Self is preserved since the owner is preserved.\n\n var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a\n // transpiler, and the original source is probably a better indicator of the\n // true owner.\n\n var source = element._source; // Owner will be preserved, unless ref is overridden\n\n var owner = element._owner;\n\n if (config != null) {\n if (hasValidRef(config)) {\n // Silently steal the ref from the parent.\n ref = config.ref;\n owner = ReactCurrentOwner.current;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n } // Remaining properties override existing props\n\n\n var defaultProps;\n\n if (element.type && element.type.defaultProps) {\n defaultProps = element.type.defaultProps;\n }\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n if (config[propName] === undefined && defaultProps !== undefined) {\n // Resolve default props\n props[propName] = defaultProps[propName];\n } else {\n props[propName] = config[propName];\n }\n }\n }\n } // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n\n\n var childrenLength = arguments.length - 2;\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n\n props.children = childArray;\n }\n\n return ReactElement(element.type, key, ref, self, source, owner, props);\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\nfunction isValidElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = key.replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n return '$' + escapedString;\n}\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\n\nvar didWarnAboutMaps = false;\nvar userProvidedKeyEscapeRegex = /\\/+/g;\n\nfunction escapeUserProvidedKey(text) {\n return text.replace(userProvidedKeyEscapeRegex, '$&/');\n}\n/**\n * Generate a key string that identifies a element within a set.\n *\n * @param {*} element A element that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\n\n\nfunction getElementKey(element, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (typeof element === 'object' && element !== null && element.key != null) {\n // Explicit key\n {\n checkKeyStringCoercion(element.key);\n }\n\n return escape('' + element.key);\n } // Implicit key determined by the index in the set\n\n\n return index.toString(36);\n}\n\nfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n var invokeCallback = false;\n\n if (children === null) {\n invokeCallback = true;\n } else {\n switch (type) {\n case 'string':\n case 'number':\n invokeCallback = true;\n break;\n\n case 'object':\n switch (children.$$typeof) {\n case REACT_ELEMENT_TYPE:\n case REACT_PORTAL_TYPE:\n invokeCallback = true;\n }\n\n }\n }\n\n if (invokeCallback) {\n var _child = children;\n var mappedChild = callback(_child); // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows:\n\n var childKey = nameSoFar === '' ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;\n\n if (isArray(mappedChild)) {\n var escapedChildKey = '';\n\n if (childKey != null) {\n escapedChildKey = escapeUserProvidedKey(childKey) + '/';\n }\n\n mapIntoArray(mappedChild, array, escapedChildKey, '', function (c) {\n return c;\n });\n } else if (mappedChild != null) {\n if (isValidElement(mappedChild)) {\n {\n // The `if` statement here prevents auto-disabling of the safe\n // coercion ESLint rule, so we must manually disable it below.\n // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key\n if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {\n checkKeyStringCoercion(mappedChild.key);\n }\n }\n\n mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n escapedPrefix + ( // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key\n mappedChild.key && (!_child || _child.key !== mappedChild.key) ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number\n // eslint-disable-next-line react-internal/safe-string-coercion\n escapeUserProvidedKey('' + mappedChild.key) + '/' : '') + childKey);\n }\n\n array.push(mappedChild);\n }\n\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getElementKey(child, i);\n subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n\n if (typeof iteratorFn === 'function') {\n var iterableChildren = children;\n\n {\n // Warn about using Maps as children\n if (iteratorFn === iterableChildren.entries) {\n if (!didWarnAboutMaps) {\n warn('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');\n }\n\n didWarnAboutMaps = true;\n }\n }\n\n var iterator = iteratorFn.call(iterableChildren);\n var step;\n var ii = 0;\n\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getElementKey(child, ii++);\n subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);\n }\n } else if (type === 'object') {\n // eslint-disable-next-line react-internal/safe-string-coercion\n var childrenString = String(children);\n throw new Error(\"Objects are not valid as a React child (found: \" + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + \"). \" + 'If you meant to render a collection of children, use an array ' + 'instead.');\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * See https://reactjs.org/docs/react-api.html#reactchildrenmap\n *\n * The provided mapFunction(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n\n var result = [];\n var count = 0;\n mapIntoArray(children, result, '', '', function (child) {\n return func.call(context, child, count++);\n });\n return result;\n}\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * See https://reactjs.org/docs/react-api.html#reactchildrencount\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\n\n\nfunction countChildren(children) {\n var n = 0;\n mapChildren(children, function () {\n n++; // Don't return anything\n });\n return n;\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * See https://reactjs.org/docs/react-api.html#reactchildrenforeach\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n mapChildren(children, function () {\n forEachFunc.apply(this, arguments); // Don't return anything.\n }, forEachContext);\n}\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n *\n * See https://reactjs.org/docs/react-api.html#reactchildrentoarray\n */\n\n\nfunction toArray(children) {\n return mapChildren(children, function (child) {\n return child;\n }) || [];\n}\n/**\n * Returns the first child in a collection of children and verifies that there\n * is only one child in the collection.\n *\n * See https://reactjs.org/docs/react-api.html#reactchildrenonly\n *\n * The current implementation of this function assumes that a single child gets\n * passed without a wrapper, but the purpose of this helper function is to\n * abstract away the particular structure of children.\n *\n * @param {?object} children Child collection structure.\n * @return {ReactElement} The first and only `ReactElement` contained in the\n * structure.\n */\n\n\nfunction onlyChild(children) {\n if (!isValidElement(children)) {\n throw new Error('React.Children.only expected to receive a single React element child.');\n }\n\n return children;\n}\n\nfunction createContext(defaultValue) {\n // TODO: Second argument used to be an optional `calculateChangedBits`\n // function. Warn to reserve for future use?\n var context = {\n $$typeof: REACT_CONTEXT_TYPE,\n // As a workaround to support multiple concurrent renderers, we categorize\n // some renderers as primary and others as secondary. We only expect\n // there to be two concurrent renderers at most: React Native (primary) and\n // Fabric (secondary); React DOM (primary) and React ART (secondary).\n // Secondary renderers store their context values on separate fields.\n _currentValue: defaultValue,\n _currentValue2: defaultValue,\n // Used to track how many concurrent renderers this context currently\n // supports within in a single renderer. Such as parallel server rendering.\n _threadCount: 0,\n // These are circular\n Provider: null,\n Consumer: null,\n // Add these to use same hidden class in VM as ServerContext\n _defaultValue: null,\n _globalName: null\n };\n context.Provider = {\n $$typeof: REACT_PROVIDER_TYPE,\n _context: context\n };\n var hasWarnedAboutUsingNestedContextConsumers = false;\n var hasWarnedAboutUsingConsumerProvider = false;\n var hasWarnedAboutDisplayNameOnConsumer = false;\n\n {\n // A separate object, but proxies back to the original context object for\n // backwards compatibility. It has a different $$typeof, so we can properly\n // warn for the incorrect usage of Context as a Consumer.\n var Consumer = {\n $$typeof: REACT_CONTEXT_TYPE,\n _context: context\n }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here\n\n Object.defineProperties(Consumer, {\n Provider: {\n get: function () {\n if (!hasWarnedAboutUsingConsumerProvider) {\n hasWarnedAboutUsingConsumerProvider = true;\n\n error('Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');\n }\n\n return context.Provider;\n },\n set: function (_Provider) {\n context.Provider = _Provider;\n }\n },\n _currentValue: {\n get: function () {\n return context._currentValue;\n },\n set: function (_currentValue) {\n context._currentValue = _currentValue;\n }\n },\n _currentValue2: {\n get: function () {\n return context._currentValue2;\n },\n set: function (_currentValue2) {\n context._currentValue2 = _currentValue2;\n }\n },\n _threadCount: {\n get: function () {\n return context._threadCount;\n },\n set: function (_threadCount) {\n context._threadCount = _threadCount;\n }\n },\n Consumer: {\n get: function () {\n if (!hasWarnedAboutUsingNestedContextConsumers) {\n hasWarnedAboutUsingNestedContextConsumers = true;\n\n error('Rendering is not supported and will be removed in ' + 'a future major release. Did you mean to render instead?');\n }\n\n return context.Consumer;\n }\n },\n displayName: {\n get: function () {\n return context.displayName;\n },\n set: function (displayName) {\n if (!hasWarnedAboutDisplayNameOnConsumer) {\n warn('Setting `displayName` on Context.Consumer has no effect. ' + \"You should set it directly on the context with Context.displayName = '%s'.\", displayName);\n\n hasWarnedAboutDisplayNameOnConsumer = true;\n }\n }\n }\n }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty\n\n context.Consumer = Consumer;\n }\n\n {\n context._currentRenderer = null;\n context._currentRenderer2 = null;\n }\n\n return context;\n}\n\nvar Uninitialized = -1;\nvar Pending = 0;\nvar Resolved = 1;\nvar Rejected = 2;\n\nfunction lazyInitializer(payload) {\n if (payload._status === Uninitialized) {\n var ctor = payload._result;\n var thenable = ctor(); // Transition to the next state.\n // This might throw either because it's missing or throws. If so, we treat it\n // as still uninitialized and try again next time. Which is the same as what\n // happens if the ctor or any wrappers processing the ctor throws. This might\n // end up fixing it if the resolution was a concurrency bug.\n\n thenable.then(function (moduleObject) {\n if (payload._status === Pending || payload._status === Uninitialized) {\n // Transition to the next state.\n var resolved = payload;\n resolved._status = Resolved;\n resolved._result = moduleObject;\n }\n }, function (error) {\n if (payload._status === Pending || payload._status === Uninitialized) {\n // Transition to the next state.\n var rejected = payload;\n rejected._status = Rejected;\n rejected._result = error;\n }\n });\n\n if (payload._status === Uninitialized) {\n // In case, we're still uninitialized, then we're waiting for the thenable\n // to resolve. Set it as pending in the meantime.\n var pending = payload;\n pending._status = Pending;\n pending._result = thenable;\n }\n }\n\n if (payload._status === Resolved) {\n var moduleObject = payload._result;\n\n {\n if (moduleObject === undefined) {\n error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\\n\\nYour code should look like: \\n ' + // Break up imports to avoid accidentally parsing them as dependencies.\n 'const MyComponent = lazy(() => imp' + \"ort('./MyComponent'))\\n\\n\" + 'Did you accidentally put curly braces around the import?', moduleObject);\n }\n }\n\n {\n if (!('default' in moduleObject)) {\n error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\\n\\nYour code should look like: \\n ' + // Break up imports to avoid accidentally parsing them as dependencies.\n 'const MyComponent = lazy(() => imp' + \"ort('./MyComponent'))\", moduleObject);\n }\n }\n\n return moduleObject.default;\n } else {\n throw payload._result;\n }\n}\n\nfunction lazy(ctor) {\n var payload = {\n // We use these fields to store the result.\n _status: Uninitialized,\n _result: ctor\n };\n var lazyType = {\n $$typeof: REACT_LAZY_TYPE,\n _payload: payload,\n _init: lazyInitializer\n };\n\n {\n // In production, this would just set it on the object.\n var defaultProps;\n var propTypes; // $FlowFixMe\n\n Object.defineProperties(lazyType, {\n defaultProps: {\n configurable: true,\n get: function () {\n return defaultProps;\n },\n set: function (newDefaultProps) {\n error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');\n\n defaultProps = newDefaultProps; // Match production behavior more closely:\n // $FlowFixMe\n\n Object.defineProperty(lazyType, 'defaultProps', {\n enumerable: true\n });\n }\n },\n propTypes: {\n configurable: true,\n get: function () {\n return propTypes;\n },\n set: function (newPropTypes) {\n error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');\n\n propTypes = newPropTypes; // Match production behavior more closely:\n // $FlowFixMe\n\n Object.defineProperty(lazyType, 'propTypes', {\n enumerable: true\n });\n }\n }\n });\n }\n\n return lazyType;\n}\n\nfunction forwardRef(render) {\n {\n if (render != null && render.$$typeof === REACT_MEMO_TYPE) {\n error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');\n } else if (typeof render !== 'function') {\n error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);\n } else {\n if (render.length !== 0 && render.length !== 2) {\n error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');\n }\n }\n\n if (render != null) {\n if (render.defaultProps != null || render.propTypes != null) {\n error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');\n }\n }\n }\n\n var elementType = {\n $$typeof: REACT_FORWARD_REF_TYPE,\n render: render\n };\n\n {\n var ownName;\n Object.defineProperty(elementType, 'displayName', {\n enumerable: false,\n configurable: true,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name; // The inner component shouldn't inherit this display name in most cases,\n // because the component may be used elsewhere.\n // But it's nice for anonymous functions to inherit the name,\n // so that our component-stack generation logic will display their frames.\n // An anonymous function generally suggests a pattern like:\n // React.forwardRef((props, ref) => {...});\n // This kind of inner function is not used elsewhere so the side effect is okay.\n\n if (!render.name && !render.displayName) {\n render.displayName = name;\n }\n }\n });\n }\n\n return elementType;\n}\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction memo(type, compare) {\n {\n if (!isValidElementType(type)) {\n error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);\n }\n }\n\n var elementType = {\n $$typeof: REACT_MEMO_TYPE,\n type: type,\n compare: compare === undefined ? null : compare\n };\n\n {\n var ownName;\n Object.defineProperty(elementType, 'displayName', {\n enumerable: false,\n configurable: true,\n get: function () {\n return ownName;\n },\n set: function (name) {\n ownName = name; // The inner component shouldn't inherit this display name in most cases,\n // because the component may be used elsewhere.\n // But it's nice for anonymous functions to inherit the name,\n // so that our component-stack generation logic will display their frames.\n // An anonymous function generally suggests a pattern like:\n // React.memo((props) => {...});\n // This kind of inner function is not used elsewhere so the side effect is okay.\n\n if (!type.name && !type.displayName) {\n type.displayName = name;\n }\n }\n });\n }\n\n return elementType;\n}\n\nfunction resolveDispatcher() {\n var dispatcher = ReactCurrentDispatcher.current;\n\n {\n if (dispatcher === null) {\n error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\\n' + '2. You might be breaking the Rules of Hooks\\n' + '3. You might have more than one copy of React in the same app\\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');\n }\n } // Will result in a null access error if accessed outside render phase. We\n // intentionally don't throw our own error because this is in a hot path.\n // Also helps ensure this is inlined.\n\n\n return dispatcher;\n}\nfunction useContext(Context) {\n var dispatcher = resolveDispatcher();\n\n {\n // TODO: add a more generic warning for invalid values.\n if (Context._context !== undefined) {\n var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs\n // and nobody should be using this in existing code.\n\n if (realContext.Consumer === Context) {\n error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');\n } else if (realContext.Provider === Context) {\n error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');\n }\n }\n }\n\n return dispatcher.useContext(Context);\n}\nfunction useState(initialState) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useState(initialState);\n}\nfunction useReducer(reducer, initialArg, init) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useReducer(reducer, initialArg, init);\n}\nfunction useRef(initialValue) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useRef(initialValue);\n}\nfunction useEffect(create, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useEffect(create, deps);\n}\nfunction useInsertionEffect(create, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useInsertionEffect(create, deps);\n}\nfunction useLayoutEffect(create, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useLayoutEffect(create, deps);\n}\nfunction useCallback(callback, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useCallback(callback, deps);\n}\nfunction useMemo(create, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useMemo(create, deps);\n}\nfunction useImperativeHandle(ref, create, deps) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useImperativeHandle(ref, create, deps);\n}\nfunction useDebugValue(value, formatterFn) {\n {\n var dispatcher = resolveDispatcher();\n return dispatcher.useDebugValue(value, formatterFn);\n }\n}\nfunction useTransition() {\n var dispatcher = resolveDispatcher();\n return dispatcher.useTransition();\n}\nfunction useDeferredValue(value) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useDeferredValue(value);\n}\nfunction useId() {\n var dispatcher = resolveDispatcher();\n return dispatcher.useId();\n}\nfunction useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n var dispatcher = resolveDispatcher();\n return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n}\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher$1.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher$1.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher$1.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n setExtraStackFrame(stack);\n } else {\n setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n\nfunction getDeclarationErrorAddendum() {\n if (ReactCurrentOwner.current) {\n var name = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n}\n\nfunction getSourceInfoErrorAddendumForProps(elementProps) {\n if (elementProps !== null && elementProps !== undefined) {\n return getSourceInfoErrorAddendum(elementProps.__source);\n }\n\n return '';\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n {\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\nfunction createElementWithValidation(type, props, children) {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendumForProps(props);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n {\n error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n }\n\n var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], type);\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n}\nvar didWarnAboutDeprecatedCreateFactory = false;\nfunction createFactoryWithValidation(type) {\n var validatedFactory = createElementWithValidation.bind(null, type);\n validatedFactory.type = type;\n\n {\n if (!didWarnAboutDeprecatedCreateFactory) {\n didWarnAboutDeprecatedCreateFactory = true;\n\n warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');\n } // Legacy hook: remove it\n\n\n Object.defineProperty(validatedFactory, 'type', {\n enumerable: false,\n get: function () {\n warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');\n\n Object.defineProperty(this, 'type', {\n value: type\n });\n return type;\n }\n });\n }\n\n return validatedFactory;\n}\nfunction cloneElementWithValidation(element, props, children) {\n var newElement = cloneElement.apply(this, arguments);\n\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], newElement.type);\n }\n\n validatePropTypes(newElement);\n return newElement;\n}\n\nfunction startTransition(scope, options) {\n var prevTransition = ReactCurrentBatchConfig.transition;\n ReactCurrentBatchConfig.transition = {};\n var currentTransition = ReactCurrentBatchConfig.transition;\n\n {\n ReactCurrentBatchConfig.transition._updatedFibers = new Set();\n }\n\n try {\n scope();\n } finally {\n ReactCurrentBatchConfig.transition = prevTransition;\n\n {\n if (prevTransition === null && currentTransition._updatedFibers) {\n var updatedFibersCount = currentTransition._updatedFibers.size;\n\n if (updatedFibersCount > 10) {\n warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.');\n }\n\n currentTransition._updatedFibers.clear();\n }\n }\n }\n}\n\nvar didWarnAboutMessageChannel = false;\nvar enqueueTaskImpl = null;\nfunction enqueueTask(task) {\n if (enqueueTaskImpl === null) {\n try {\n // read require off the module object to get around the bundlers.\n // we don't want them to detect a require and bundle a Node polyfill.\n var requireString = ('require' + Math.random()).slice(0, 7);\n var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's\n // version of setImmediate, bypassing fake timers if any.\n\n enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;\n } catch (_err) {\n // we're in a browser\n // we can't use regular timers because they may still be faked\n // so we try MessageChannel+postMessage instead\n enqueueTaskImpl = function (callback) {\n {\n if (didWarnAboutMessageChannel === false) {\n didWarnAboutMessageChannel = true;\n\n if (typeof MessageChannel === 'undefined') {\n error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');\n }\n }\n }\n\n var channel = new MessageChannel();\n channel.port1.onmessage = callback;\n channel.port2.postMessage(undefined);\n };\n }\n }\n\n return enqueueTaskImpl(task);\n}\n\nvar actScopeDepth = 0;\nvar didWarnNoAwaitAct = false;\nfunction act(callback) {\n {\n // `act` calls can be nested, so we track the depth. This represents the\n // number of `act` scopes on the stack.\n var prevActScopeDepth = actScopeDepth;\n actScopeDepth++;\n\n if (ReactCurrentActQueue.current === null) {\n // This is the outermost `act` scope. Initialize the queue. The reconciler\n // will detect the queue and use it instead of Scheduler.\n ReactCurrentActQueue.current = [];\n }\n\n var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;\n var result;\n\n try {\n // Used to reproduce behavior of `batchedUpdates` in legacy mode. Only\n // set to `true` while the given callback is executed, not for updates\n // triggered during an async event, because this is how the legacy\n // implementation of `act` behaved.\n ReactCurrentActQueue.isBatchingLegacy = true;\n result = callback(); // Replicate behavior of original `act` implementation in legacy mode,\n // which flushed updates immediately after the scope function exits, even\n // if it's an async function.\n\n if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {\n var queue = ReactCurrentActQueue.current;\n\n if (queue !== null) {\n ReactCurrentActQueue.didScheduleLegacyUpdate = false;\n flushActQueue(queue);\n }\n }\n } catch (error) {\n popActScope(prevActScopeDepth);\n throw error;\n } finally {\n ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;\n }\n\n if (result !== null && typeof result === 'object' && typeof result.then === 'function') {\n var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait\n // for it to resolve before exiting the current scope.\n\n var wasAwaited = false;\n var thenable = {\n then: function (resolve, reject) {\n wasAwaited = true;\n thenableResult.then(function (returnValue) {\n popActScope(prevActScopeDepth);\n\n if (actScopeDepth === 0) {\n // We've exited the outermost act scope. Recursively flush the\n // queue until there's no remaining work.\n recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n } else {\n resolve(returnValue);\n }\n }, function (error) {\n // The callback threw an error.\n popActScope(prevActScopeDepth);\n reject(error);\n });\n }\n };\n\n {\n if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {\n // eslint-disable-next-line no-undef\n Promise.resolve().then(function () {}).then(function () {\n if (!wasAwaited) {\n didWarnNoAwaitAct = true;\n\n error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');\n }\n });\n }\n }\n\n return thenable;\n } else {\n var returnValue = result; // The callback is not an async function. Exit the current scope\n // immediately, without awaiting.\n\n popActScope(prevActScopeDepth);\n\n if (actScopeDepth === 0) {\n // Exiting the outermost act scope. Flush the queue.\n var _queue = ReactCurrentActQueue.current;\n\n if (_queue !== null) {\n flushActQueue(_queue);\n ReactCurrentActQueue.current = null;\n } // Return a thenable. If the user awaits it, we'll flush again in\n // case additional work was scheduled by a microtask.\n\n\n var _thenable = {\n then: function (resolve, reject) {\n // Confirm we haven't re-entered another `act` scope, in case\n // the user does something weird like await the thenable\n // multiple times.\n if (ReactCurrentActQueue.current === null) {\n // Recursively flush the queue until there's no remaining work.\n ReactCurrentActQueue.current = [];\n recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n } else {\n resolve(returnValue);\n }\n }\n };\n return _thenable;\n } else {\n // Since we're inside a nested `act` scope, the returned thenable\n // immediately resolves. The outer scope will flush the queue.\n var _thenable2 = {\n then: function (resolve, reject) {\n resolve(returnValue);\n }\n };\n return _thenable2;\n }\n }\n }\n}\n\nfunction popActScope(prevActScopeDepth) {\n {\n if (prevActScopeDepth !== actScopeDepth - 1) {\n error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');\n }\n\n actScopeDepth = prevActScopeDepth;\n }\n}\n\nfunction recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n {\n var queue = ReactCurrentActQueue.current;\n\n if (queue !== null) {\n try {\n flushActQueue(queue);\n enqueueTask(function () {\n if (queue.length === 0) {\n // No additional work was scheduled. Finish.\n ReactCurrentActQueue.current = null;\n resolve(returnValue);\n } else {\n // Keep flushing work until there's none left.\n recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n }\n });\n } catch (error) {\n reject(error);\n }\n } else {\n resolve(returnValue);\n }\n }\n}\n\nvar isFlushing = false;\n\nfunction flushActQueue(queue) {\n {\n if (!isFlushing) {\n // Prevent re-entrance.\n isFlushing = true;\n var i = 0;\n\n try {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n\n do {\n callback = callback(true);\n } while (callback !== null);\n }\n\n queue.length = 0;\n } catch (error) {\n // If something throws, leave the remaining callbacks on the queue.\n queue = queue.slice(i + 1);\n throw error;\n } finally {\n isFlushing = false;\n }\n }\n }\n}\n\nvar createElement$1 = createElementWithValidation ;\nvar cloneElement$1 = cloneElementWithValidation ;\nvar createFactory = createFactoryWithValidation ;\nvar Children = {\n map: mapChildren,\n forEach: forEachChildren,\n count: countChildren,\n toArray: toArray,\n only: onlyChild\n};\n\nexports.Children = Children;\nexports.Component = Component;\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.Profiler = REACT_PROFILER_TYPE;\nexports.PureComponent = PureComponent;\nexports.StrictMode = REACT_STRICT_MODE_TYPE;\nexports.Suspense = REACT_SUSPENSE_TYPE;\nexports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;\nexports.act = act;\nexports.cloneElement = cloneElement$1;\nexports.createContext = createContext;\nexports.createElement = createElement$1;\nexports.createFactory = createFactory;\nexports.createRef = createRef;\nexports.forwardRef = forwardRef;\nexports.isValidElement = isValidElement;\nexports.lazy = lazy;\nexports.memo = memo;\nexports.startTransition = startTransition;\nexports.unstable_act = act;\nexports.useCallback = useCallback;\nexports.useContext = useContext;\nexports.useDebugValue = useDebugValue;\nexports.useDeferredValue = useDeferredValue;\nexports.useEffect = useEffect;\nexports.useId = useId;\nexports.useImperativeHandle = useImperativeHandle;\nexports.useInsertionEffect = useInsertionEffect;\nexports.useLayoutEffect = useLayoutEffect;\nexports.useMemo = useMemo;\nexports.useReducer = useReducer;\nexports.useRef = useRef;\nexports.useState = useState;\nexports.useSyncExternalStore = useSyncExternalStore;\nexports.useTransition = useTransition;\nexports.version = ReactVersion;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n", "'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n", "/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n", "/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards (lukeed.com)\n */\n\nexport type ClassNameValue = ClassNameArray | string | null | undefined | 0 | false\ntype ClassNameArray = ClassNameValue[]\n\nexport function twJoin(...classLists: ClassNameValue[]): string\nexport function twJoin() {\n let index = 0\n let argument: ClassNameValue\n let resolvedValue: string\n let string = ''\n\n while (index < arguments.length) {\n if ((argument = arguments[index++])) {\n if ((resolvedValue = toValue(argument))) {\n string && (string += ' ')\n string += resolvedValue\n }\n }\n }\n return string\n}\n\nfunction toValue(mix: ClassNameArray | string) {\n if (typeof mix === 'string') {\n return mix\n }\n\n let resolvedValue: string\n let string = ''\n\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if ((resolvedValue = toValue(mix[k] as ClassNameArray | string))) {\n string && (string += ' ')\n string += resolvedValue\n }\n }\n }\n\n return string\n}\n", "import { ClassGroup, ClassGroupId, ClassValidator, Config, ThemeGetter, ThemeObject } from './types'\n\nexport interface ClassPartObject {\n nextPart: Map\n validators: ClassValidatorObject[]\n classGroupId?: ClassGroupId\n}\n\ninterface ClassValidatorObject {\n classGroupId: ClassGroupId\n validator: ClassValidator\n}\n\nconst CLASS_PART_SEPARATOR = '-'\n\nexport function createClassUtils(config: Config) {\n const classMap = createClassMap(config)\n\n function getClassGroupId(className: string) {\n const classParts = className.split(CLASS_PART_SEPARATOR)\n\n // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.\n if (classParts[0] === '' && classParts.length !== 1) {\n classParts.shift()\n }\n\n return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className)\n }\n\n function getConflictingClassGroupIds(classGroupId: ClassGroupId) {\n return config.conflictingClassGroups[classGroupId] || []\n }\n\n return {\n getClassGroupId,\n getConflictingClassGroupIds,\n }\n}\n\nfunction getGroupRecursive(\n classParts: string[],\n classPartObject: ClassPartObject,\n): ClassGroupId | undefined {\n if (classParts.length === 0) {\n return classPartObject.classGroupId\n }\n\n const currentClassPart = classParts[0]!\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart)\n const classGroupFromNextClassPart = nextClassPartObject\n ? getGroupRecursive(classParts.slice(1), nextClassPartObject)\n : undefined\n\n if (classGroupFromNextClassPart) {\n return classGroupFromNextClassPart\n }\n\n if (classPartObject.validators.length === 0) {\n return undefined\n }\n\n const classRest = classParts.join(CLASS_PART_SEPARATOR)\n\n return classPartObject.validators.find(({ validator }) => validator(classRest))?.classGroupId\n}\n\nconst arbitraryPropertyRegex = /^\\[(.+)\\]$/\n\nfunction getGroupIdForArbitraryProperty(className: string) {\n if (arbitraryPropertyRegex.test(className)) {\n const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)![1]\n const property = arbitraryPropertyClassName?.substring(\n 0,\n arbitraryPropertyClassName.indexOf(':'),\n )\n\n if (property) {\n // I use two dots here because one dot is used as prefix for class groups in plugins\n return 'arbitrary..' + property\n }\n }\n}\n\n/**\n * Exported for testing only\n */\nexport function createClassMap(config: Config) {\n const { theme, prefix } = config\n const classMap: ClassPartObject = {\n nextPart: new Map(),\n validators: [],\n }\n\n const prefixedClassGroupEntries = getPrefixedClassGroupEntries(\n Object.entries(config.classGroups),\n prefix,\n )\n\n prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {\n processClassesRecursively(classGroup, classMap, classGroupId, theme)\n })\n\n return classMap\n}\n\nfunction processClassesRecursively(\n classGroup: ClassGroup,\n classPartObject: ClassPartObject,\n classGroupId: ClassGroupId,\n theme: ThemeObject,\n) {\n classGroup.forEach((classDefinition) => {\n if (typeof classDefinition === 'string') {\n const classPartObjectToEdit =\n classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition)\n classPartObjectToEdit.classGroupId = classGroupId\n return\n }\n\n if (typeof classDefinition === 'function') {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(\n classDefinition(theme),\n classPartObject,\n classGroupId,\n theme,\n )\n return\n }\n\n classPartObject.validators.push({\n validator: classDefinition,\n classGroupId,\n })\n\n return\n }\n\n Object.entries(classDefinition).forEach(([key, classGroup]) => {\n processClassesRecursively(\n classGroup,\n getPart(classPartObject, key),\n classGroupId,\n theme,\n )\n })\n })\n}\n\nfunction getPart(classPartObject: ClassPartObject, path: string) {\n let currentClassPartObject = classPartObject\n\n path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {\n if (!currentClassPartObject.nextPart.has(pathPart)) {\n currentClassPartObject.nextPart.set(pathPart, {\n nextPart: new Map(),\n validators: [],\n })\n }\n\n currentClassPartObject = currentClassPartObject.nextPart.get(pathPart)!\n })\n\n return currentClassPartObject\n}\n\nfunction isThemeGetter(func: ClassValidator | ThemeGetter): func is ThemeGetter {\n return (func as ThemeGetter).isThemeGetter\n}\n\nfunction getPrefixedClassGroupEntries(\n classGroupEntries: Array<[classGroupId: string, classGroup: ClassGroup]>,\n prefix: string | undefined,\n): Array<[classGroupId: string, classGroup: ClassGroup]> {\n if (!prefix) {\n return classGroupEntries\n }\n\n return classGroupEntries.map(([classGroupId, classGroup]) => {\n const prefixedClassGroup = classGroup.map((classDefinition) => {\n if (typeof classDefinition === 'string') {\n return prefix + classDefinition\n }\n\n if (typeof classDefinition === 'object') {\n return Object.fromEntries(\n Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]),\n )\n }\n\n return classDefinition\n })\n\n return [classGroupId, prefixedClassGroup]\n })\n}\n", "// Export is needed because TypeScript complains about an error otherwise:\n// Error: …/tailwind-merge/src/config-utils.ts(8,17): semantic error TS4058: Return type of exported function has or is using name 'LruCache' from external module \"…/tailwind-merge/src/lru-cache\" but cannot be named.\nexport interface LruCache {\n get(key: Key): Value | undefined\n set(key: Key, value: Value): void\n}\n\n// LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance\nexport function createLruCache(maxCacheSize: number): LruCache {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {},\n }\n }\n\n let cacheSize = 0\n let cache = new Map()\n let previousCache = new Map()\n\n function update(key: Key, value: Value) {\n cache.set(key, value)\n cacheSize++\n\n if (cacheSize > maxCacheSize) {\n cacheSize = 0\n previousCache = cache\n cache = new Map()\n }\n }\n\n return {\n get(key) {\n let value = cache.get(key)\n\n if (value !== undefined) {\n return value\n }\n if ((value = previousCache.get(key)) !== undefined) {\n update(key, value)\n return value\n }\n },\n set(key, value) {\n if (cache.has(key)) {\n cache.set(key, value)\n } else {\n update(key, value)\n }\n },\n }\n}\n", "import { Config } from './types'\n\nexport const IMPORTANT_MODIFIER = '!'\n\nexport function createSplitModifiers(config: Config) {\n const separator = config.separator || ':'\n\n // splitModifiers inspired by https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n return function splitModifiers(className: string) {\n let bracketDepth = 0\n let modifiers = []\n let modifierStart = 0\n\n for (let index = 0; index < className.length; index++) {\n let char = className[index]\n\n if (bracketDepth === 0 && char === separator[0]) {\n if (\n separator.length === 1 ||\n className.slice(index, index + separator.length) === separator\n ) {\n modifiers.push(className.slice(modifierStart, index))\n modifierStart = index + separator.length\n }\n }\n\n if (char === '[') {\n bracketDepth++\n } else if (char === ']') {\n bracketDepth--\n }\n }\n\n const baseClassNameWithImportantModifier =\n modifiers.length === 0 ? className : className.substring(modifierStart)\n const hasImportantModifier =\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)\n const baseClassName = hasImportantModifier\n ? baseClassNameWithImportantModifier.substring(1)\n : baseClassNameWithImportantModifier\n\n return {\n modifiers,\n hasImportantModifier,\n baseClassName,\n }\n }\n}\n\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nexport function sortModifiers(modifiers: string[]) {\n if (modifiers.length <= 1) {\n return modifiers\n }\n\n const sortedModifiers: string[] = []\n let unsortedModifiers: string[] = []\n\n modifiers.forEach((modifier) => {\n const isArbitraryVariant = modifier[0] === '['\n\n if (isArbitraryVariant) {\n sortedModifiers.push(...unsortedModifiers.sort(), modifier)\n unsortedModifiers = []\n } else {\n unsortedModifiers.push(modifier)\n }\n })\n\n sortedModifiers.push(...unsortedModifiers.sort())\n\n return sortedModifiers\n}\n", "import { createClassUtils } from './class-utils'\nimport { createLruCache } from './lru-cache'\nimport { createSplitModifiers } from './modifier-utils'\nimport { Config } from './types'\n\nexport type ConfigUtils = ReturnType\n\nexport function createConfigUtils(config: Config) {\n return {\n cache: createLruCache(config.cacheSize),\n splitModifiers: createSplitModifiers(config),\n ...createClassUtils(config),\n }\n}\n", "import { ConfigUtils } from './config-utils'\nimport { IMPORTANT_MODIFIER, sortModifiers } from './modifier-utils'\n\nconst SPLIT_CLASSES_REGEX = /\\s+/\n\nexport function mergeClassList(classList: string, configUtils: ConfigUtils) {\n const { splitModifiers, getClassGroupId, getConflictingClassGroupIds } = configUtils\n\n /**\n * Set of classGroupIds in following format:\n * `{importantModifier}{variantModifiers}{classGroupId}`\n * @example 'float'\n * @example 'hover:focus:bg-color'\n * @example 'md:!pr'\n */\n const classGroupsInConflict = new Set()\n\n return (\n classList\n .trim()\n .split(SPLIT_CLASSES_REGEX)\n .map((originalClassName) => {\n const { modifiers, hasImportantModifier, baseClassName } =\n splitModifiers(originalClassName)\n\n const classGroupId = getClassGroupId(baseClassName)\n\n if (!classGroupId) {\n return {\n isTailwindClass: false as const,\n originalClassName,\n }\n }\n\n const variantModifier = sortModifiers(modifiers).join(':')\n\n const modifierId = hasImportantModifier\n ? variantModifier + IMPORTANT_MODIFIER\n : variantModifier\n\n return {\n isTailwindClass: true as const,\n modifierId,\n classGroupId,\n originalClassName,\n }\n })\n .reverse()\n // Last class in conflict wins, so we need to filter conflicting classes in reverse order.\n .filter((parsed) => {\n if (!parsed.isTailwindClass) {\n return true\n }\n\n const { modifierId, classGroupId } = parsed\n\n const classId = modifierId + classGroupId\n\n if (classGroupsInConflict.has(classId)) {\n return false\n }\n\n classGroupsInConflict.add(classId)\n\n getConflictingClassGroupIds(classGroupId).forEach((group) =>\n classGroupsInConflict.add(modifierId + group),\n )\n\n return true\n })\n .reverse()\n .map((parsed) => parsed.originalClassName)\n .join(' ')\n )\n}\n", "import { createConfigUtils } from './config-utils'\nimport { mergeClassList } from './merge-classlist'\nimport { ClassNameValue, twJoin } from './tw-join'\nimport { Config } from './types'\n\ntype CreateConfigFirst = () => Config\ntype CreateConfigSubsequent = (config: Config) => Config\ntype TailwindMerge = (...classLists: ClassNameValue[]) => string\ntype ConfigUtils = ReturnType\n\nexport function createTailwindMerge(\n ...createConfig: [CreateConfigFirst, ...CreateConfigSubsequent[]]\n): TailwindMerge {\n let configUtils: ConfigUtils\n let cacheGet: ConfigUtils['cache']['get']\n let cacheSet: ConfigUtils['cache']['set']\n let functionToCall = initTailwindMerge\n\n function initTailwindMerge(classList: string) {\n const [firstCreateConfig, ...restCreateConfig] = createConfig\n\n const config = restCreateConfig.reduce(\n (previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig),\n firstCreateConfig(),\n )\n\n configUtils = createConfigUtils(config)\n cacheGet = configUtils.cache.get\n cacheSet = configUtils.cache.set\n functionToCall = tailwindMerge\n\n return tailwindMerge(classList)\n }\n\n function tailwindMerge(classList: string) {\n const cachedResult = cacheGet(classList)\n\n if (cachedResult) {\n return cachedResult\n }\n\n const result = mergeClassList(classList, configUtils)\n cacheSet(classList, result)\n\n return result\n }\n\n return function callTailwindMerge() {\n return functionToCall(twJoin.apply(null, arguments as any))\n }\n}\n", "import { ThemeGetter, ThemeObject } from './types'\n\nexport function fromTheme(key: string): ThemeGetter {\n const themeGetter = (theme: ThemeObject) => theme[key] || []\n\n themeGetter.isThemeGetter = true as const\n\n return themeGetter\n}\n", "const arbitraryValueRegex = /^\\[(.+)\\]$/\nconst fractionRegex = /^\\d+\\/\\d+$/\nconst stringLengths = new Set(['px', 'full', 'screen'])\nconst tshirtUnitRegex = /^(\\d+)?(xs|sm|md|lg|xl)$/\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/\n// Shadow always begins with x and y offset separated by underscore\nconst shadowRegex = /^-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/\n\nexport function isLength(classPart: string) {\n return (\n !Number.isNaN(Number(classPart)) ||\n stringLengths.has(classPart) ||\n fractionRegex.test(classPart) ||\n isArbitraryLength(classPart)\n )\n}\n\nexport function isArbitraryLength(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n if (arbitraryValue) {\n return arbitraryValue.startsWith('length:') || lengthUnitRegex.test(arbitraryValue)\n }\n\n return false\n}\n\nexport function isArbitrarySize(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n return arbitraryValue ? arbitraryValue.startsWith('size:') : false\n}\n\nexport function isArbitraryPosition(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n return arbitraryValue ? arbitraryValue.startsWith('position:') : false\n}\n\nexport function isArbitraryUrl(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n return arbitraryValue\n ? arbitraryValue.startsWith('url(') || arbitraryValue.startsWith('url:')\n : false\n}\n\nexport function isArbitraryNumber(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n return arbitraryValue\n ? !Number.isNaN(Number(arbitraryValue)) || arbitraryValue.startsWith('number:')\n : false\n}\n\n/**\n * @deprecated Will be removed in next major version. Use `isArbitraryNumber` instead.\n */\nexport const isArbitraryWeight = isArbitraryNumber\n\nexport function isInteger(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n if (arbitraryValue) {\n return Number.isInteger(Number(arbitraryValue))\n }\n\n return Number.isInteger(Number(classPart))\n}\n\nexport function isArbitraryValue(classPart: string) {\n return arbitraryValueRegex.test(classPart)\n}\n\nexport function isAny() {\n return true\n}\n\nexport function isTshirtSize(classPart: string) {\n return tshirtUnitRegex.test(classPart)\n}\n\nexport function isArbitraryShadow(classPart: string) {\n const arbitraryValue = arbitraryValueRegex.exec(classPart)?.[1]\n\n if (arbitraryValue) {\n return shadowRegex.test(arbitraryValue)\n }\n\n return false\n}\n", "import { fromTheme } from './from-theme'\nimport {\n isAny,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryUrl,\n isArbitraryValue,\n isInteger,\n isLength,\n isTshirtSize,\n} from './validators'\n\nexport function getDefaultConfig() {\n const colors = fromTheme('colors')\n const spacing = fromTheme('spacing')\n const blur = fromTheme('blur')\n const brightness = fromTheme('brightness')\n const borderColor = fromTheme('borderColor')\n const borderRadius = fromTheme('borderRadius')\n const borderSpacing = fromTheme('borderSpacing')\n const borderWidth = fromTheme('borderWidth')\n const contrast = fromTheme('contrast')\n const grayscale = fromTheme('grayscale')\n const hueRotate = fromTheme('hueRotate')\n const invert = fromTheme('invert')\n const gap = fromTheme('gap')\n const gradientColorStops = fromTheme('gradientColorStops')\n const inset = fromTheme('inset')\n const margin = fromTheme('margin')\n const opacity = fromTheme('opacity')\n const padding = fromTheme('padding')\n const saturate = fromTheme('saturate')\n const scale = fromTheme('scale')\n const sepia = fromTheme('sepia')\n const skew = fromTheme('skew')\n const space = fromTheme('space')\n const translate = fromTheme('translate')\n\n const getOverscroll = () => ['auto', 'contain', 'none'] as const\n const getOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'] as const\n const getSpacingWithAuto = () => ['auto', spacing] as const\n const getLengthWithEmpty = () => ['', isLength] as const\n const getIntegerWithAuto = () => ['auto', isInteger] as const\n const getPositions = () =>\n [\n 'bottom',\n 'center',\n 'left',\n 'left-bottom',\n 'left-top',\n 'right',\n 'right-bottom',\n 'right-top',\n 'top',\n ] as const\n const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'] as const\n const getBlendModes = () =>\n [\n 'normal',\n 'multiply',\n 'screen',\n 'overlay',\n 'darken',\n 'lighten',\n 'color-dodge',\n 'color-burn',\n 'hard-light',\n 'soft-light',\n 'difference',\n 'exclusion',\n 'hue',\n 'saturation',\n 'color',\n 'luminosity',\n 'plus-lighter',\n ] as const\n const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly'] as const\n const getZeroAndEmpty = () => ['', '0', isArbitraryValue] as const\n const getBreaks = () =>\n ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'] as const\n\n return {\n cacheSize: 500,\n theme: {\n colors: [isAny],\n spacing: [isLength],\n blur: ['none', '', isTshirtSize, isArbitraryLength],\n brightness: [isInteger],\n borderColor: [colors],\n borderRadius: ['none', '', 'full', isTshirtSize, isArbitraryLength],\n borderSpacing: [spacing],\n borderWidth: getLengthWithEmpty(),\n contrast: [isInteger],\n grayscale: getZeroAndEmpty(),\n hueRotate: [isInteger],\n invert: getZeroAndEmpty(),\n gap: [spacing],\n gradientColorStops: [colors],\n inset: getSpacingWithAuto(),\n margin: getSpacingWithAuto(),\n opacity: [isInteger],\n padding: [spacing],\n saturate: [isInteger],\n scale: [isInteger],\n sepia: getZeroAndEmpty(),\n skew: [isInteger, isArbitraryValue],\n space: [spacing],\n translate: [spacing],\n },\n classGroups: {\n // Layout\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [{ aspect: ['auto', 'square', 'video', isArbitraryValue] }],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n */\n container: ['container'],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [{ columns: [isTshirtSize] }],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{ 'break-after': getBreaks() }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{ 'break-before': getBreaks() }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column'] }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{ 'box-decoration': ['slice', 'clone'] }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{ box: ['border', 'content'] }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: [\n 'block',\n 'inline-block',\n 'inline',\n 'flex',\n 'inline-flex',\n 'table',\n 'inline-table',\n 'table-caption',\n 'table-cell',\n 'table-column',\n 'table-column-group',\n 'table-footer-group',\n 'table-header-group',\n 'table-row-group',\n 'table-row',\n 'flow-root',\n 'grid',\n 'inline-grid',\n 'contents',\n 'list-item',\n 'hidden',\n ],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{ float: ['right', 'left', 'none'] }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{ clear: ['left', 'right', 'both', 'none'] }],\n /**\n * Isolation\n * @see https://tailwindcss.com/docs/isolation\n */\n isolation: ['isolate', 'isolation-auto'],\n /**\n * Object Fit\n * @see https://tailwindcss.com/docs/object-fit\n */\n 'object-fit': [{ object: ['contain', 'cover', 'fill', 'none', 'scale-down'] }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{ object: [...getPositions(), isArbitraryValue] }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{ overflow: getOverflow() }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{ 'overflow-x': getOverflow() }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{ 'overflow-y': getOverflow() }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{ overscroll: getOverscroll() }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{ 'overscroll-x': getOverscroll() }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{ 'overscroll-y': getOverscroll() }],\n /**\n * Position\n * @see https://tailwindcss.com/docs/position\n */\n position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n /**\n * Top / Right / Bottom / Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n inset: [{ inset: [inset] }],\n /**\n * Right / Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{ 'inset-x': [inset] }],\n /**\n * Top / Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{ 'inset-y': [inset] }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{ top: [inset] }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{ right: [inset] }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{ bottom: [inset] }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{ left: [inset] }],\n /**\n * Visibility\n * @see https://tailwindcss.com/docs/visibility\n */\n visibility: ['visible', 'invisible', 'collapse'],\n /**\n * Z-Index\n * @see https://tailwindcss.com/docs/z-index\n */\n z: [{ z: [isInteger] }],\n // Flexbox and Grid\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [{ basis: [spacing] }],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{ flex: ['row', 'row-reverse', 'col', 'col-reverse'] }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{ flex: ['wrap', 'wrap-reverse', 'nowrap'] }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{ flex: ['1', 'auto', 'initial', 'none', isArbitraryValue] }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{ grow: getZeroAndEmpty() }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{ shrink: getZeroAndEmpty() }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [{ order: ['first', 'last', 'none', isInteger] }],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{ 'grid-cols': [isAny] }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{ col: ['auto', { span: [isInteger] }] }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{ 'col-start': getIntegerWithAuto() }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{ 'col-end': getIntegerWithAuto() }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{ 'grid-rows': [isAny] }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{ row: ['auto', { span: [isInteger] }] }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{ 'row-start': getIntegerWithAuto() }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{ 'row-end': getIntegerWithAuto() }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense'] }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{ 'auto-cols': ['auto', 'min', 'max', 'fr', isArbitraryValue] }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{ 'auto-rows': ['auto', 'min', 'max', 'fr', isArbitraryValue] }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{ gap: [gap] }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{ 'gap-x': [gap] }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{ 'gap-y': [gap] }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{ justify: getAlign() }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{ 'justify-items': ['start', 'end', 'center', 'stretch'] }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{ 'justify-self': ['auto', 'start', 'end', 'center', 'stretch'] }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{ content: [...getAlign(), 'baseline'] }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{ items: ['start', 'end', 'center', 'baseline', 'stretch'] }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [{ self: ['auto', 'start', 'end', 'center', 'stretch', 'baseline'] }],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{ 'place-content': [...getAlign(), 'baseline', 'stretch'] }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{ 'place-items': ['start', 'end', 'center', 'baseline', 'stretch'] }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{ 'place-self': ['auto', 'start', 'end', 'center', 'stretch'] }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{ p: [padding] }],\n /**\n * Padding X\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{ px: [padding] }],\n /**\n * Padding Y\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{ py: [padding] }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{ pt: [padding] }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{ pr: [padding] }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{ pb: [padding] }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{ pl: [padding] }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{ m: [margin] }],\n /**\n * Margin X\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{ mx: [margin] }],\n /**\n * Margin Y\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{ my: [margin] }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{ mt: [margin] }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{ mr: [margin] }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{ mb: [margin] }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{ ml: [margin] }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/space\n */\n 'space-x': [{ 'space-x': [space] }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/space\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/space\n */\n 'space-y': [{ 'space-y': [space] }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/space\n */\n 'space-y-reverse': ['space-y-reverse'],\n // Sizing\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{ w: ['auto', 'min', 'max', 'fit', spacing] }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [{ 'min-w': ['min', 'max', 'fit', isLength] }],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [\n {\n 'max-w': [\n '0',\n 'none',\n 'full',\n 'min',\n 'max',\n 'fit',\n 'prose',\n { screen: [isTshirtSize] },\n isTshirtSize,\n isArbitraryLength,\n ],\n },\n ],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{ h: [spacing, 'auto', 'min', 'max', 'fit'] }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{ 'min-h': ['min', 'max', 'fit', isLength] }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{ 'max-h': [spacing, 'min', 'max', 'fit'] }],\n // Typography\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [{ text: ['base', isTshirtSize, isArbitraryLength] }],\n /**\n * Font Smoothing\n * @see https://tailwindcss.com/docs/font-smoothing\n */\n 'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n /**\n * Font Style\n * @see https://tailwindcss.com/docs/font-style\n */\n 'font-style': ['italic', 'not-italic'],\n /**\n * Font Weight\n * @see https://tailwindcss.com/docs/font-weight\n */\n 'font-weight': [\n {\n font: [\n 'thin',\n 'extralight',\n 'light',\n 'normal',\n 'medium',\n 'semibold',\n 'bold',\n 'extrabold',\n 'black',\n isArbitraryNumber,\n ],\n },\n ],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{ font: [isAny] }],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-normal': ['normal-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-ordinal': ['ordinal'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-slashed-zero': ['slashed-zero'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-fraction': ['diagonal-fractions', 'stacked-fractons'],\n /**\n * Letter Spacing\n * @see https://tailwindcss.com/docs/letter-spacing\n */\n tracking: [\n {\n tracking: [\n 'tighter',\n 'tight',\n 'normal',\n 'wide',\n 'wider',\n 'widest',\n isArbitraryLength,\n ],\n },\n ],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [\n { leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose', isLength] },\n ],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [{ list: ['none', 'disc', 'decimal', isArbitraryValue] }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{ list: ['inside', 'outside'] }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{ placeholder: [colors] }],\n /**\n * Placeholder Opacity\n * @see https://tailwindcss.com/docs/placeholder-opacity\n */\n 'placeholder-opacity': [{ 'placeholder-opacity': [opacity] }],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{ text: ['left', 'center', 'right', 'justify', 'start', 'end'] }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{ text: [colors] }],\n /**\n * Text Opacity\n * @see https://tailwindcss.com/docs/text-opacity\n */\n 'text-opacity': [{ 'text-opacity': [opacity] }],\n /**\n * Text Decoration\n * @see https://tailwindcss.com/docs/text-decoration\n */\n 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n /**\n * Text Decoration Style\n * @see https://tailwindcss.com/docs/text-decoration-style\n */\n 'text-decoration-style': [{ decoration: [...getLineStyles(), 'wavy'] }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [{ decoration: ['auto', 'from-font', isLength] }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [{ 'underline-offset': ['auto', isLength] }],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{ decoration: [colors] }],\n /**\n * Text Transform\n * @see https://tailwindcss.com/docs/text-transform\n */\n 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n /**\n * Text Overflow\n * @see https://tailwindcss.com/docs/text-overflow\n */\n 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{ indent: [spacing] }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [\n {\n align: [\n 'baseline',\n 'top',\n 'middle',\n 'bottom',\n 'text-top',\n 'text-bottom',\n 'sub',\n 'super',\n isArbitraryLength,\n ],\n },\n ],\n /**\n * Whitespace\n * @see https://tailwindcss.com/docs/whitespace\n */\n whitespace: [{ whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap'] }],\n /**\n * Word Break\n * @see https://tailwindcss.com/docs/word-break\n */\n break: [{ break: ['normal', 'words', 'all', 'keep'] }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{ content: ['none', isArbitraryValue] }],\n // Backgrounds\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{ bg: ['fixed', 'local', 'scroll'] }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{ 'bg-clip': ['border', 'padding', 'content', 'text'] }],\n /**\n * Background Opacity\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://tailwindcss.com/docs/background-opacity\n */\n 'bg-opacity': [{ 'bg-opacity': [opacity] }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{ 'bg-origin': ['border', 'padding', 'content'] }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{ bg: [...getPositions(), isArbitraryPosition] }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{ bg: ['no-repeat', { repeat: ['', 'x', 'y', 'round', 'space'] }] }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{ bg: ['auto', 'cover', 'contain', isArbitrarySize] }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [\n {\n bg: [\n 'none',\n { 'gradient-to': ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl'] },\n isArbitraryUrl,\n ],\n },\n ],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{ bg: [colors] }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{ from: [gradientColorStops] }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{ via: [gradientColorStops] }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{ to: [gradientColorStops] }],\n // Borders\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{ rounded: [borderRadius] }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{ 'rounded-t': [borderRadius] }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{ 'rounded-r': [borderRadius] }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{ 'rounded-b': [borderRadius] }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{ 'rounded-l': [borderRadius] }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{ 'rounded-tl': [borderRadius] }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{ 'rounded-tr': [borderRadius] }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{ 'rounded-br': [borderRadius] }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{ 'rounded-bl': [borderRadius] }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{ border: [borderWidth] }],\n /**\n * Border Width X\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{ 'border-x': [borderWidth] }],\n /**\n * Border Width Y\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{ 'border-y': [borderWidth] }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{ 'border-t': [borderWidth] }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{ 'border-r': [borderWidth] }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{ 'border-b': [borderWidth] }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{ 'border-l': [borderWidth] }],\n /**\n * Border Opacity\n * @see https://tailwindcss.com/docs/border-opacity\n */\n 'border-opacity': [{ 'border-opacity': [opacity] }],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{ border: [...getLineStyles(), 'hidden'] }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/divide-width\n */\n 'divide-x': [{ 'divide-x': [borderWidth] }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/divide-width\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/divide-width\n */\n 'divide-y': [{ 'divide-y': [borderWidth] }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/divide-width\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Divide Opacity\n * @see https://tailwindcss.com/docs/divide-opacity\n */\n 'divide-opacity': [{ 'divide-opacity': [opacity] }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/divide-style\n */\n 'divide-style': [{ divide: getLineStyles() }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{ border: [borderColor] }],\n /**\n * Border Color X\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{ 'border-x': [borderColor] }],\n /**\n * Border Color Y\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{ 'border-y': [borderColor] }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{ 'border-t': [borderColor] }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{ 'border-r': [borderColor] }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{ 'border-b': [borderColor] }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{ 'border-l': [borderColor] }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{ divide: [borderColor] }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{ outline: ['', ...getLineStyles()] }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [{ 'outline-offset': [isLength] }],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [{ outline: [isLength] }],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{ outline: [colors] }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/ring-width\n */\n 'ring-w': [{ ring: getLengthWithEmpty() }],\n /**\n * Ring Width Inset\n * @see https://tailwindcss.com/docs/ring-width\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/ring-color\n */\n 'ring-color': [{ ring: [colors] }],\n /**\n * Ring Opacity\n * @see https://tailwindcss.com/docs/ring-opacity\n */\n 'ring-opacity': [{ 'ring-opacity': [opacity] }],\n /**\n * Ring Offset Width\n * @see https://tailwindcss.com/docs/ring-offset-width\n */\n 'ring-offset-w': [{ 'ring-offset': [isLength] }],\n /**\n * Ring Offset Color\n * @see https://tailwindcss.com/docs/ring-offset-color\n */\n 'ring-offset-color': [{ 'ring-offset': [colors] }],\n // Effects\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [{ shadow: ['', 'inner', 'none', isTshirtSize, isArbitraryShadow] }],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow-color\n */\n 'shadow-color': [{ shadow: [isAny] }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{ opacity: [opacity] }],\n /**\n * Mix Beldn Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{ 'mix-blend': getBlendModes() }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{ 'bg-blend': getBlendModes() }],\n // Filters\n /**\n * Filter\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [{ filter: ['', 'none'] }],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{ blur: [blur] }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{ brightness: [brightness] }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{ contrast: [contrast] }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [{ 'drop-shadow': ['', 'none', isTshirtSize, isArbitraryValue] }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{ grayscale: [grayscale] }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{ 'hue-rotate': [hueRotate] }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{ invert: [invert] }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{ saturate: [saturate] }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{ sepia: [sepia] }],\n /**\n * Backdrop Filter\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [{ 'backdrop-filter': ['', 'none'] }],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{ 'backdrop-blur': [blur] }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [{ 'backdrop-brightness': [brightness] }],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [{ 'backdrop-contrast': [contrast] }],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [{ 'backdrop-grayscale': [grayscale] }],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [{ 'backdrop-hue-rotate': [hueRotate] }],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [{ 'backdrop-invert': [invert] }],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [{ 'backdrop-opacity': [opacity] }],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [{ 'backdrop-saturate': [saturate] }],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [{ 'backdrop-sepia': [sepia] }],\n // Tables\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{ border: ['collapse', 'separate'] }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{ 'border-spacing': [borderSpacing] }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{ 'border-spacing-x': [borderSpacing] }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{ 'border-spacing-y': [borderSpacing] }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{ table: ['auto', 'fixed'] }],\n // Transitions and Animation\n /**\n * Tranisition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [\n {\n transition: [\n 'none',\n 'all',\n '',\n 'colors',\n 'opacity',\n 'shadow',\n 'transform',\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{ duration: [isInteger] }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [{ ease: ['linear', 'in', 'out', 'in-out', isArbitraryValue] }],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{ delay: [isInteger] }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{ animate: ['none', 'spin', 'ping', 'pulse', 'bounce', isArbitraryValue] }],\n // Transforms\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [{ transform: ['', 'gpu', 'none'] }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{ scale: [scale] }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{ 'scale-x': [scale] }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{ 'scale-y': [scale] }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{ rotate: [isInteger, isArbitraryValue] }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{ 'translate-x': [translate] }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{ 'translate-y': [translate] }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{ 'skew-x': [skew] }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{ 'skew-y': [skew] }],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [\n {\n origin: [\n 'center',\n 'top',\n 'top-right',\n 'right',\n 'bottom-right',\n 'bottom',\n 'bottom-left',\n 'left',\n 'top-left',\n isArbitraryValue,\n ],\n },\n ],\n // Interactivity\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{ accent: ['auto', colors] }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: ['appearance-none'],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [\n {\n cursor: [\n 'auto',\n 'default',\n 'pointer',\n 'wait',\n 'text',\n 'move',\n 'help',\n 'not-allowed',\n 'none',\n 'context-menu',\n 'progress',\n 'cell',\n 'crosshair',\n 'vertical-text',\n 'alias',\n 'copy',\n 'no-drop',\n 'grab',\n 'grabbing',\n 'all-scroll',\n 'col-resize',\n 'row-resize',\n 'n-resize',\n 'e-resize',\n 's-resize',\n 'w-resize',\n 'ne-resize',\n 'nw-resize',\n 'se-resize',\n 'sw-resize',\n 'ew-resize',\n 'ns-resize',\n 'nesw-resize',\n 'nwse-resize',\n 'zoom-in',\n 'zoom-out',\n isArbitraryValue,\n ],\n },\n ],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{ caret: [colors] }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{ 'pointer-events': ['none', 'auto'] }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{ resize: ['none', 'y', 'x', ''] }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{ scroll: ['auto', 'smooth'] }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{ 'scroll-m': [spacing] }],\n /**\n * Scroll Margin X\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{ 'scroll-mx': [spacing] }],\n /**\n * Scroll Margin Y\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{ 'scroll-my': [spacing] }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{ 'scroll-mt': [spacing] }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{ 'scroll-mr': [spacing] }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{ 'scroll-mb': [spacing] }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{ 'scroll-ml': [spacing] }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{ 'scroll-p': [spacing] }],\n /**\n * Scroll Padding X\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{ 'scroll-px': [spacing] }],\n /**\n * Scroll Padding Y\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{ 'scroll-py': [spacing] }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{ 'scroll-pt': [spacing] }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{ 'scroll-pr': [spacing] }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{ 'scroll-pb': [spacing] }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{ 'scroll-pl': [spacing] }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{ snap: ['start', 'end', 'center', 'align-none'] }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{ snap: ['normal', 'always'] }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{ snap: ['none', 'x', 'y', 'both'] }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{ snap: ['mandatory', 'proximity'] }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [\n {\n touch: [\n 'auto',\n 'none',\n 'pinch-zoom',\n 'manipulation',\n { pan: ['x', 'left', 'right', 'y', 'up', 'down'] },\n ],\n },\n ],\n /**\n * User Select\n * @see https://tailwindcss.com/docs/user-select\n */\n select: [{ select: ['none', 'text', 'all', 'auto'] }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [\n { 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryValue] },\n ],\n // SVG\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{ fill: [colors, 'none'] }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [{ stroke: [isLength, isArbitraryNumber] }],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{ stroke: [colors, 'none'] }],\n // Accessibility\n /**\n * Screen Readers\n * @see https://tailwindcss.com/docs/screen-readers\n */\n sr: ['sr-only', 'not-sr-only'],\n },\n conflictingClassGroups: {\n overflow: ['overflow-x', 'overflow-y'],\n overscroll: ['overscroll-x', 'overscroll-y'],\n inset: ['inset-x', 'inset-y', 'top', 'right', 'bottom', 'left'],\n 'inset-x': ['right', 'left'],\n 'inset-y': ['top', 'bottom'],\n flex: ['basis', 'grow', 'shrink'],\n gap: ['gap-x', 'gap-y'],\n p: ['px', 'py', 'pt', 'pr', 'pb', 'pl'],\n px: ['pr', 'pl'],\n py: ['pt', 'pb'],\n m: ['mx', 'my', 'mt', 'mr', 'mb', 'ml'],\n mx: ['mr', 'ml'],\n my: ['mt', 'mb'],\n 'font-size': ['leading'],\n 'fvn-normal': [\n 'fvn-ordinal',\n 'fvn-slashed-zero',\n 'fvn-figure',\n 'fvn-spacing',\n 'fvn-fraction',\n ],\n 'fvn-ordinal': ['fvn-normal'],\n 'fvn-slashed-zero': ['fvn-normal'],\n 'fvn-figure': ['fvn-normal'],\n 'fvn-spacing': ['fvn-normal'],\n 'fvn-fraction': ['fvn-normal'],\n rounded: [\n 'rounded-t',\n 'rounded-r',\n 'rounded-b',\n 'rounded-l',\n 'rounded-tl',\n 'rounded-tr',\n 'rounded-br',\n 'rounded-bl',\n ],\n 'rounded-t': ['rounded-tl', 'rounded-tr'],\n 'rounded-r': ['rounded-tr', 'rounded-br'],\n 'rounded-b': ['rounded-br', 'rounded-bl'],\n 'rounded-l': ['rounded-tl', 'rounded-bl'],\n 'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n 'border-w': ['border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': [\n 'border-color-t',\n 'border-color-r',\n 'border-color-b',\n 'border-color-l',\n ],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n 'scroll-m': [\n 'scroll-mx',\n 'scroll-my',\n 'scroll-mt',\n 'scroll-mr',\n 'scroll-mb',\n 'scroll-ml',\n ],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': [\n 'scroll-px',\n 'scroll-py',\n 'scroll-pt',\n 'scroll-pr',\n 'scroll-pb',\n 'scroll-pl',\n ],\n 'scroll-px': ['scroll-pr', 'scroll-pl'],\n 'scroll-py': ['scroll-pt', 'scroll-pb'],\n },\n } as const\n}\n", "import { createTailwindMerge } from './create-tailwind-merge'\nimport { getDefaultConfig } from './default-config'\n\nexport const twMerge = createTailwindMerge(getDefaultConfig)\n", "import { Config } from './types'\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nexport function mergeConfigs(baseConfig: Config, configExtension: Partial) {\n for (const key in configExtension) {\n mergePropertyRecursively(baseConfig as any, key, configExtension[key as keyof Config])\n }\n\n return baseConfig\n}\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst overrideTypes = new Set(['string', 'number', 'boolean'])\n\nfunction mergePropertyRecursively(\n baseObject: Record,\n mergeKey: string,\n mergeValue: unknown,\n) {\n if (\n !hasOwnProperty.call(baseObject, mergeKey) ||\n overrideTypes.has(typeof mergeValue) ||\n mergeValue === null\n ) {\n baseObject[mergeKey] = mergeValue\n return\n }\n\n if (Array.isArray(mergeValue) && Array.isArray(baseObject[mergeKey])) {\n baseObject[mergeKey] = (baseObject[mergeKey] as unknown[]).concat(mergeValue)\n return\n }\n\n if (typeof mergeValue === 'object' && typeof baseObject[mergeKey] === 'object') {\n if (baseObject[mergeKey] === null) {\n baseObject[mergeKey] = mergeValue\n return\n }\n\n for (const nextKey in mergeValue) {\n mergePropertyRecursively(\n baseObject[mergeKey] as Record,\n nextKey,\n mergeValue[nextKey as keyof object],\n )\n }\n }\n}\n", "import { createTailwindMerge } from './create-tailwind-merge'\nimport { getDefaultConfig } from './default-config'\nimport { mergeConfigs } from './merge-configs'\nimport { Config } from './types'\n\ntype CreateConfigSubsequent = (config: Config) => Config\n\nexport function extendTailwindMerge(\n configExtension: Partial | CreateConfigSubsequent,\n ...createConfig: CreateConfigSubsequent[]\n) {\n return typeof configExtension === 'function'\n ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig)\n : createTailwindMerge(\n () => mergeConfigs(getDefaultConfig(), configExtension),\n ...createConfig,\n )\n}\n", "import { twJoin } from './lib/tw-join'\n\nexport { twMerge } from './lib/tw-merge'\nexport { twJoin } from './lib/tw-join'\nexport { getDefaultConfig } from './lib/default-config'\nexport { extendTailwindMerge } from './lib/extend-tailwind-merge'\nexport { createTailwindMerge } from './lib/create-tailwind-merge'\nexport type { Config } from './lib/types'\nexport * as validators from './lib/validators'\nexport { mergeConfigs } from './lib/merge-configs'\nexport { fromTheme } from './lib/from-theme'\n\n/**\n * @deprecated Will be removed in next major version. Use `twJoin` instead.\n */\nexport const join = twJoin\n", "\n'use strict'\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./tailwind-merge.cjs.production.min.js')\n} else {\n module.exports = require('./tailwind-merge.cjs.development.js')\n}\n", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"default\",{enumerable:true,get:function(){return objectsToArray}});function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n", "/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n", "'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{accordion:function(){return accordion},default:function(){return _default}});var accordion={defaultProps:{icon:undefined,className:\"\",animate:{unmount:{},mount:{}},disabled:false},styles:{base:{container:{display:\"block\",position:\"relative\",width:\"w-full\"},header:{initial:{display:\"flex\",justifyContent:\"justify-between\",alignItems:\"items-center\",width:\"w-full\",py:\"py-4\",borderWidth:\"border-b border-b-blue-gray-100\",color:\"text-blue-gray-700\",fontSmoothing:\"antialiased\",fontFamily:\"font-sans\",fontSize:\"text-xl\",textAlign:\"text-left\",fontWeight:\"font-semibold\",lineHeight:\"leading-snug\",userSelect:\"select-none\",hover:\"hover:text-blue-gray-900\",transition:\"transition-colors\"},active:{color:\"text-blue-gray-900\"},icon:{ml:\"ml-4\"}},body:{display:\"block\",width:\"w-full\",py:\"py-4\",color:\"text-gray-700\",fontSmoothing:\"antialiased\",fontFamily:\"font-sans\",fontSize:\"text-sm\",fontWeight:\"font-light\",lineHeight:\"leading-normal\"},disabled:{pointerEvents:\"pointer-events-none\",opacity:\"opacity-50\"}}}};var _default=accordion;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"default\",{enumerable:true,get:function(){return _default}});var alertFilled={\"blue-gray\":{backgroud:\"bg-blue-gray-500\",color:\"text-white\"},gray:{backgroud:\"bg-gray-500\",color:\"text-white\"},brown:{backgroud:\"bg-brown-500\",color:\"text-white\"},\"deep-orange\":{backgroud:\"bg-deep-orange-500\",color:\"text-white\"},orange:{backgroud:\"bg-orange-500\",color:\"text-white\"},amber:{backgroud:\"bg-amber-500\",color:\"text-black\"},yellow:{backgroud:\"bg-yellow-500\",color:\"text-black\"},lime:{backgroud:\"bg-lime-500\",color:\"text-black\"},\"light-green\":{backgroud:\"bg-light-green-500\",color:\"text-white\"},green:{backgroud:\"bg-green-500\",color:\"text-white\"},teal:{backgroud:\"bg-teal-500\",color:\"text-white\"},cyan:{backgroud:\"bg-cyan-500\",color:\"text-white\"},\"light-blue\":{backgroud:\"bg-light-blue-500\",color:\"text-white\"},blue:{backgroud:\"bg-blue-500\",color:\"text-white\"},indigo:{backgroud:\"bg-indigo-500\",color:\"text-white\"},\"deep-purple\":{backgroud:\"bg-deep-purple-500\",color:\"text-white\"},purple:{backgroud:\"bg-purple-500\",color:\"text-white\"},pink:{backgroud:\"bg-pink-500\",color:\"text-white\"},red:{backgroud:\"bg-red-500\",color:\"text-white\"}};var _default=alertFilled;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"default\",{enumerable:true,get:function(){return _default}});var alertGradient={\"blue-gray\":{backgroud:\"bg-gradient-to-tr from-blue-gray-600 to-blue-gray-400\",color:\"text-white\"},gray:{backgroud:\"bg-gradient-to-tr from-gray-600 to-gray-400\",color:\"text-white\"},brown:{backgroud:\"bg-gradient-to-tr from-brown-600 to-brown-400\",color:\"text-white\"},\"deep-orange\":{backgroud:\"bg-gradient-to-tr from-deep-orange-600 to-deep-orange-400\",color:\"text-white\"},orange:{backgroud:\"bg-gradient-to-tr from-orange-600 to-orange-400\",color:\"text-white\"},amber:{backgroud:\"bg-gradient-to-tr from-amber-600 to-amber-400\",color:\"text-black\"},yellow:{backgroud:\"bg-gradient-to-tr from-yellow-600 to-yellow-400\",color:\"text-black\"},lime:{backgroud:\"bg-gradient-to-tr from-lime-600 to-lime-400\",color:\"text-black\"},\"light-green\":{backgroud:\"bg-gradient-to-tr from-light-green-600 to-light-green-400\",color:\"text-white\"},green:{backgroud:\"bg-gradient-to-tr from-green-600 to-green-400\",color:\"text-white\"},teal:{backgroud:\"bg-gradient-to-tr from-teal-600 to-teal-400\",color:\"text-white\"},cyan:{backgroud:\"bg-gradient-to-tr from-cyan-600 to-cyan-400\",color:\"text-white\"},\"light-blue\":{backgroud:\"bg-gradient-to-tr from-light-blue-600 to-light-blue-400\",color:\"text-white\"},blue:{backgroud:\"bg-gradient-to-tr from-blue-600 to-blue-400\",color:\"text-white\"},indigo:{backgroud:\"bg-gradient-to-tr from-indigo-600 to-indigo-400\",color:\"text-white\"},\"deep-purple\":{backgroud:\"bg-gradient-to-tr from-deep-purple-600 to-deep-purple-400\",color:\"text-white\"},purple:{backgroud:\"bg-gradient-to-tr from-purple-600 to-purple-400\",color:\"text-white\"},pink:{backgroud:\"bg-gradient-to-tr from-pink-600 to-pink-400\",color:\"text-white\"},red:{backgroud:\"bg-gradient-to-tr from-red-600 to-red-400\",color:\"text-white\"}};var _default=alertGradient;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"default\",{enumerable:true,get:function(){return _default}});var alertOutlined={\"blue-gray\":{border:\"border border-blue-gray-500\",color:\"text-blue-gray-700\"},gray:{border:\"border border-gray-500\",color:\"text-gray-700\"},brown:{border:\"border border-brown-500\",color:\"text-brown-700\"},\"deep-orange\":{border:\"border border-deep-orange-500\",color:\"text-deep-orange-700\"},orange:{border:\"border border-orange-500\",color:\"text-orange-700\"},amber:{border:\"border border-amber-500\",color:\"text-amber-700\"},yellow:{border:\"border border-yellow-500\",color:\"text-yellow-700\"},lime:{border:\"border border-lime-500\",color:\"text-lime-700\"},\"light-green\":{border:\"border border-light-green-500\",color:\"text-light-green-700\"},green:{border:\"border border-green-500\",color:\"text-green-700\"},teal:{border:\"border border-teal-500\",color:\"text-teal-700\"},cyan:{border:\"border border-cyan-500\",color:\"text-cyan-700\"},\"light-blue\":{border:\"border border-light-blue-500\",color:\"text-light-blue-700\"},blue:{border:\"border border-blue-500\",color:\"text-blue-700\"},indigo:{border:\"border border-indigo-500\",color:\"text-indigo-700\"},\"deep-purple\":{border:\"border border-deep-purple-500\",color:\"text-deep-purple-700\"},purple:{border:\"border border-purple-500\",color:\"text-purple-700\"},pink:{border:\"border border-pink-500\",color:\"text-pink-700\"},red:{border:\"border border-red-500\",color:\"text-red-700\"}};var _default=alertOutlined;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"default\",{enumerable:true,get:function(){return _default}});var alertGhost={\"blue-gray\":{backgroud:\"bg-blue-gray-500/20\",color:\"text-blue-gray-900\"},gray:{backgroud:\"bg-gray-500/20\",color:\"text-gray-900\"},brown:{backgroud:\"bg-brown-500/20\",color:\"text-brown-900\"},\"deep-orange\":{backgroud:\"bg-deep-orange-500/20\",color:\"text-deep-orange-900\"},orange:{backgroud:\"bg-orange-500/20\",color:\"text-orange-900\"},amber:{backgroud:\"bg-amber-500/20\",color:\"text-amber-900\"},yellow:{backgroud:\"bg-yellow-500/20\",color:\"text-yellow-900\"},lime:{backgroud:\"bg-lime-500/20\",color:\"text-lime-900\"},\"light-green\":{backgroud:\"bg-light-green-500/20\",color:\"text-light-green-900\"},green:{backgroud:\"bg-green-500/20\",color:\"text-green-900\"},teal:{backgroud:\"bg-teal-500/20\",color:\"text-teal-900\"},cyan:{backgroud:\"bg-cyan-500/20\",color:\"text-cyan-900\"},\"light-blue\":{backgroud:\"bg-light-blue-500/20\",color:\"text-light-blue-900\"},blue:{backgroud:\"bg-blue-500/20\",color:\"text-blue-900\"},indigo:{backgroud:\"bg-indigo-500/20\",color:\"text-indigo-900\"},\"deep-purple\":{backgroud:\"bg-deep-purple-500/20\",color:\"text-deep-purple-900\"},purple:{backgroud:\"bg-purple-500/20\",color:\"text-purple-900\"},pink:{backgroud:\"bg-pink-500/20\",color:\"text-pink-900\"},red:{backgroud:\"bg-red-500/20\",color:\"text-red-900\"}};var _default=alertGhost;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{propTypesColors:function(){return propTypesColors},propTypesAnimation:function(){return propTypesAnimation},propTypesDismissType:function(){return propTypesDismissType},propTypesOffsetType:function(){return propTypesOffsetType},propTypesPlacements:function(){return propTypesPlacements}});var _proptypes=_interop_require_default(require(\"prop-types\"));function _interop_require_default(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypesColors=[\"blue-gray\",\"gray\",\"brown\",\"deep-orange\",\"orange\",\"amber\",\"yellow\",\"lime\",\"light-green\",\"green\",\"teal\",\"cyan\",\"light-blue\",\"blue\",\"indigo\",\"deep-purple\",\"purple\",\"pink\",\"red\"];var propTypesAnimation=_proptypes.default.shape({mount:_proptypes.default.instanceOf(Object),unmount:_proptypes.default.instanceOf(Object)});var propTypesDismissType=_proptypes.default.shape({enabled:_proptypes.default.bool,escapeKey:_proptypes.default.bool,referencePress:_proptypes.default.bool,referencePressEvent:_proptypes.default.oneOf([\"pointerdown\",\"mousedown\",\"click\"]),outsidePress:_proptypes.default.oneOfType([_proptypes.default.bool,_proptypes.default.func]),outsidePressEvent:_proptypes.default.oneOf([\"pointerdown\",\"mousedown\",\"click\"]),ancestorScroll:_proptypes.default.bool,bubbles:_proptypes.default.oneOfType([_proptypes.default.bool,_proptypes.default.shape({escapeKey:_proptypes.default.bool,outsidePress:_proptypes.default.bool})])});var propTypesOffsetType=_proptypes.default.oneOfType([_proptypes.default.number,_proptypes.default.shape({mainAxis:_proptypes.default.number,crossAxis:_proptypes.default.number,alignmentAxis:_proptypes.default.number})]);var propTypesPlacements=[\"top-start\",\"top\",\"top-end\",\"right-start\",\"right\",\"right-end\",\"bottom-start\",\"bottom\",\"bottom-end\",\"left-start\",\"left\",\"left-end\"];", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{propTypesVariant:function(){return propTypesVariant},propTypesColor:function(){return propTypesColor},propTypesIcon:function(){return propTypesIcon},propTypesOpen:function(){return propTypesOpen},propTypesOnClose:function(){return propTypesOnClose},propTypesAction:function(){return propTypesAction},propTypesAnimate:function(){return propTypesAnimate},propTypesClassName:function(){return propTypesClassName},propTypesChildren:function(){return propTypesChildren}});var _proptypes=_interop_require_default(require(\"prop-types\"));var _generic=require(\"../generic\");function _interop_require_default(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypesVariant=[\"filled\",\"gradient\",\"outlined\",\"ghost\"];var propTypesColor=_generic.propTypesColors;var propTypesIcon=_proptypes.default.node;var propTypesOpen=_proptypes.default.bool;var propTypesOnClose=_proptypes.default.func;var propTypesAction=_proptypes.default.node;var propTypesAnimate=_generic.propTypesAnimation;var propTypesClassName=_proptypes.default.string;var propTypesChildren=_proptypes.default.node.isRequired;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{alert:function(){return alert},default:function(){return _default}});var _alertFilled=_interop_require_default(require(\"./alertFilled\"));var _alertGradient=_interop_require_default(require(\"./alertGradient\"));var _alertOutlined=_interop_require_default(require(\"./alertOutlined\"));var _alertGhost=_interop_require_default(require(\"./alertGhost\"));var _alert=require(\"../../../types/components/alert\");function _interop_require_default(obj){return obj&&obj.__esModule?obj:{default:obj}}var alert={defaultProps:{variant:\"filled\",color:\"blue\",icon:undefined,open:true,action:undefined,onClose:undefined,animate:{unmount:{},mount:{}},className:\"\"},valid:{variants:_alert.propTypesVariant,colors:_alert.propTypesColor},styles:{base:{alert:{position:\"relative\",display:\"block\",width:\"w-full\",fontFamily:\"font-sans\",fontSize:\"text-base\",fontWeight:\"font-regular\",px:\"px-4\",py:\"py-4\",borderRadius:\"rounded-lg\"},action:{position:\"!absolute\",top:\"top-3\",right:\"right-3\"}},variants:{filled:_alertFilled.default,gradient:_alertGradient.default,outlined:_alertOutlined.default,ghost:_alertGhost.default}}};var _default=alert;", "\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{propTypesVariant:function(){return propTypesVariant},propTypesSize:function(){return propTypesSize},propTypesClassName:function(){return propTypesClassName},propTypesWithBorder:function(){return propTypesWithBorder},propTypesColor:function(){return propTypesColor}});var _proptypes=_interop_require_default(require(\"prop-types\"));var _generic=require(\"../generic\");function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);iarr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _object_without_properties_loose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i=0)continue;target[key]=source[key]}return target}var AccordionHeader=_react.default.forwardRef(function(_param,ref){var className=_param.className,children=_param.children,rest=_object_without_properties(_param,[\"className\",\"children\"]);var _useAccordion=(0,_AccordionContext.useAccordion)(),open=_useAccordion.open,icon=_useAccordion.icon,disabled=_useAccordion.disabled;var accordion=(0,_theme.useTheme)().accordion;var base=accordion.styles.base;className=className!==null&&className!==void 0?className:\"\";var buttonStyles=(0,_tailwindmerge.twMerge)((0,_classnames.default)((0,_objectsToString.default)(base.header.initial),_define_property({},(0,_objectsToString.default)(base.header.active),open)),className);var iconClasses=(0,_classnames.default)((0,_objectsToString.default)(base.header.icon));return _react.default.createElement(\"button\",_object_spread_props(_object_spread({},rest),{ref:ref,type:\"button\",disabled:disabled,className:buttonStyles}),children,_react.default.createElement(\"span\",{className:iconClasses},icon!==null&&icon!==void 0?icon:open?_react.default.createElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 20 20\",fill:\"currentColor\"},_react.default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z\",clipRule:\"evenodd\"})):_react.default.createElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 20 20\",fill:\"currentColor\"},_react.default.createElement(\"path\",{fillRule:\"evenodd\",d:\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",clipRule:\"evenodd\"}))))});AccordionHeader.propTypes={className:_accordion.propTypesClassName,children:_accordion.propTypesChildren};AccordionHeader.displayName=\"MaterialTailwind.AccordionHeader\";var _default=AccordionHeader;", "/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nexports.warning = function () { };\r\nexports.invariant = function () { };\r\nif (process.env.NODE_ENV !== 'production') {\r\n exports.warning = function (check, message) {\r\n if (!check && typeof console !== 'undefined') {\r\n console.warn(message);\r\n }\r\n };\r\n exports.invariant = function (check, message) {\r\n if (!check) {\r\n throw new Error(message);\r\n }\r\n };\r\n}\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst clamp = (min, max) => (v) => Math.max(Math.min(v, max), min);\nconst sanitize = (v) => (v % 1 ? Number(v.toFixed(5)) : v);\nconst floatRegex = /(-)?([\\d]*\\.?[\\d])+/g;\nconst colorRegex = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))/gi;\nconst singleColorRegex = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))$/i;\nfunction isString(v) {\n return typeof v === 'string';\n}\n\nconst number = {\n test: (v) => typeof v === 'number',\n parse: parseFloat,\n transform: (v) => v,\n};\nconst alpha = Object.assign(Object.assign({}, number), { transform: clamp(0, 1) });\nconst scale = Object.assign(Object.assign({}, number), { default: 1 });\n\nconst createUnitType = (unit) => ({\n test: (v) => isString(v) && v.endsWith(unit) && v.split(' ').length === 1,\n parse: parseFloat,\n transform: (v) => `${v}${unit}`,\n});\nconst degrees = createUnitType('deg');\nconst percent = createUnitType('%');\nconst px = createUnitType('px');\nconst vh = createUnitType('vh');\nconst vw = createUnitType('vw');\nconst progressPercentage = Object.assign(Object.assign({}, percent), { parse: (v) => percent.parse(v) / 100, transform: (v) => percent.transform(v * 100) });\n\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((isString(v) && singleColorRegex.test(v) && v.startsWith(type)) ||\n (testProp && Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (!isString(v))\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nconst hsla = {\n test: isColorString('hsl', 'hue'),\n parse: splitColor('hue', 'saturation', 'lightness'),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return ('hsla(' +\n Math.round(hue) +\n ', ' +\n percent.transform(sanitize(saturation)) +\n ', ' +\n percent.transform(sanitize(lightness)) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')');\n },\n};\n\nconst clampRgbUnit = clamp(0, 255);\nconst rgbUnit = Object.assign(Object.assign({}, number), { transform: (v) => Math.round(clampRgbUnit(v)) });\nconst rgba = {\n test: isColorString('rgb', 'red'),\n parse: splitColor('red', 'green', 'blue'),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => 'rgba(' +\n rgbUnit.transform(red) +\n ', ' +\n rgbUnit.transform(green) +\n ', ' +\n rgbUnit.transform(blue) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')',\n};\n\nfunction parseHex(v) {\n let r = '';\n let g = '';\n let b = '';\n let a = '';\n if (v.length > 5) {\n r = v.substr(1, 2);\n g = v.substr(3, 2);\n b = v.substr(5, 2);\n a = v.substr(7, 2);\n }\n else {\n r = v.substr(1, 1);\n g = v.substr(2, 1);\n b = v.substr(3, 1);\n a = v.substr(4, 1);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: isColorString('#'),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return isString(v)\n ? v\n : v.hasOwnProperty('red')\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n};\n\nconst colorToken = '${c}';\nconst numberToken = '${n}';\nfunction test(v) {\n var _a, _b, _c, _d;\n return (isNaN(v) &&\n isString(v) &&\n ((_b = (_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) + ((_d = (_c = v.match(colorRegex)) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0);\n}\nfunction analyse(v) {\n if (typeof v === 'number')\n v = `${v}`;\n const values = [];\n let numColors = 0;\n const colors = v.match(colorRegex);\n if (colors) {\n numColors = colors.length;\n v = v.replace(colorRegex, colorToken);\n values.push(...colors.map(color.parse));\n }\n const numbers = v.match(floatRegex);\n if (numbers) {\n v = v.replace(floatRegex, numberToken);\n values.push(...numbers.map(number.parse));\n }\n return { values, numColors, tokenised: v };\n}\nfunction parse(v) {\n return analyse(v).values;\n}\nfunction createTransformer(v) {\n const { values, numColors, tokenised } = analyse(v);\n const numValues = values.length;\n return (v) => {\n let output = tokenised;\n for (let i = 0; i < numValues; i++) {\n output = output.replace(i < numColors ? colorToken : numberToken, i < numColors ? color.transform(v[i]) : sanitize(v[i]));\n }\n return output;\n };\n}\nconst convertNumbersToZero = (v) => typeof v === 'number' ? 0 : v;\nfunction getAnimatableNone(v) {\n const parsed = parse(v);\n const transformer = createTransformer(v);\n return transformer(parsed.map(convertNumbersToZero));\n}\nconst complex = { test, parse, createTransformer, getAnimatableNone };\n\nconst maxDefaults = new Set(['brightness', 'contrast', 'saturate', 'opacity']);\nfunction applyDefaultFilter(v) {\n let [name, value] = v.slice(0, -1).split('(');\n if (name === 'drop-shadow')\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, '');\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + '(' + defaultValue + unit + ')';\n}\nconst functionRegex = /([a-z-]*)\\(.*?\\)/g;\nconst filter = Object.assign(Object.assign({}, complex), { getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(' ') : v;\n } });\n\nexports.alpha = alpha;\nexports.color = color;\nexports.complex = complex;\nexports.degrees = degrees;\nexports.filter = filter;\nexports.hex = hex;\nexports.hsla = hsla;\nexports.number = number;\nexports.percent = percent;\nexports.progressPercentage = progressPercentage;\nexports.px = px;\nexports.rgbUnit = rgbUnit;\nexports.rgba = rgba;\nexports.scale = scale;\nexports.vh = vh;\nexports.vw = vw;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst defaultTimestep = (1 / 60) * 1000;\nconst getCurrentTime = typeof performance !== \"undefined\"\n ? () => performance.now()\n : () => Date.now();\nconst onNextFrame = typeof window !== \"undefined\"\n ? (callback) => window.requestAnimationFrame(callback)\n : (callback) => setTimeout(() => callback(getCurrentTime()), defaultTimestep);\n\nfunction createRenderStep(runNextFrame) {\n let toRun = [];\n let toRunNextFrame = [];\n let numToRun = 0;\n let isProcessing = false;\n let flushNextFrame = false;\n const toKeepAlive = new WeakSet();\n const step = {\n schedule: (callback, keepAlive = false, immediate = false) => {\n const addToCurrentFrame = immediate && isProcessing;\n const buffer = addToCurrentFrame ? toRun : toRunNextFrame;\n if (keepAlive)\n toKeepAlive.add(callback);\n if (buffer.indexOf(callback) === -1) {\n buffer.push(callback);\n if (addToCurrentFrame && isProcessing)\n numToRun = toRun.length;\n }\n return callback;\n },\n cancel: (callback) => {\n const index = toRunNextFrame.indexOf(callback);\n if (index !== -1)\n toRunNextFrame.splice(index, 1);\n toKeepAlive.delete(callback);\n },\n process: (frameData) => {\n if (isProcessing) {\n flushNextFrame = true;\n return;\n }\n isProcessing = true;\n [toRun, toRunNextFrame] = [toRunNextFrame, toRun];\n toRunNextFrame.length = 0;\n numToRun = toRun.length;\n if (numToRun) {\n for (let i = 0; i < numToRun; i++) {\n const callback = toRun[i];\n callback(frameData);\n if (toKeepAlive.has(callback)) {\n step.schedule(callback);\n runNextFrame();\n }\n }\n }\n isProcessing = false;\n if (flushNextFrame) {\n flushNextFrame = false;\n step.process(frameData);\n }\n },\n };\n return step;\n}\n\nconst maxElapsed = 40;\nlet useDefaultElapsed = true;\nlet runNextFrame = false;\nlet isProcessing = false;\nconst frame = {\n delta: 0,\n timestamp: 0,\n};\nconst stepsOrder = [\n \"read\",\n \"update\",\n \"preRender\",\n \"render\",\n \"postRender\",\n];\nconst steps = stepsOrder.reduce((acc, key) => {\n acc[key] = createRenderStep(() => (runNextFrame = true));\n return acc;\n}, {});\nconst sync = stepsOrder.reduce((acc, key) => {\n const step = steps[key];\n acc[key] = (process, keepAlive = false, immediate = false) => {\n if (!runNextFrame)\n startLoop();\n return step.schedule(process, keepAlive, immediate);\n };\n return acc;\n}, {});\nconst cancelSync = stepsOrder.reduce((acc, key) => {\n acc[key] = steps[key].cancel;\n return acc;\n}, {});\nconst flushSync = stepsOrder.reduce((acc, key) => {\n acc[key] = () => steps[key].process(frame);\n return acc;\n}, {});\nconst processStep = (stepId) => steps[stepId].process(frame);\nconst processFrame = (timestamp) => {\n runNextFrame = false;\n frame.delta = useDefaultElapsed\n ? defaultTimestep\n : Math.max(Math.min(timestamp - frame.timestamp, maxElapsed), 1);\n frame.timestamp = timestamp;\n isProcessing = true;\n stepsOrder.forEach(processStep);\n isProcessing = false;\n if (runNextFrame) {\n useDefaultElapsed = false;\n onNextFrame(processFrame);\n }\n};\nconst startLoop = () => {\n runNextFrame = true;\n useDefaultElapsed = true;\n if (!isProcessing)\n onNextFrame(processFrame);\n};\nconst getFrameData = () => frame;\n\nexports.cancelSync = cancelSync;\nexports.default = sync;\nexports.flushSync = flushSync;\nexports.getFrameData = getFrameData;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar heyListen = require('hey-listen');\nvar styleValueTypes = require('style-value-types');\nvar sync = require('framesync');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar sync__default = /*#__PURE__*/_interopDefaultLegacy(sync);\n\nconst clamp = (min, max, v) => Math.min(Math.max(v, min), max);\n\nconst safeMin = 0.001;\nconst minDuration = 0.01;\nconst maxDuration = 10.0;\nconst minDamping = 0.05;\nconst maxDamping = 1;\nfunction findSpring({ duration = 800, bounce = 0.25, velocity = 0, mass = 1, }) {\n let envelope;\n let derivative;\n heyListen.warning(duration <= maxDuration * 1000, \"Spring duration must be 10 seconds or less\");\n let dampingRatio = 1 - bounce;\n dampingRatio = clamp(minDamping, maxDamping, dampingRatio);\n duration = clamp(minDuration, maxDuration, duration / 1000);\n if (dampingRatio < 1) {\n envelope = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const a = exponentialDecay - velocity;\n const b = calcAngularFreq(undampedFreq, dampingRatio);\n const c = Math.exp(-delta);\n return safeMin - (a / b) * c;\n };\n derivative = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const d = delta * velocity + velocity;\n const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;\n const f = Math.exp(-delta);\n const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);\n const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;\n return (factor * ((d - e) * f)) / g;\n };\n }\n else {\n envelope = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (undampedFreq - velocity) * duration + 1;\n return -safeMin + a * b;\n };\n derivative = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (velocity - undampedFreq) * (duration * duration);\n return a * b;\n };\n }\n const initialGuess = 5 / duration;\n const undampedFreq = approximateRoot(envelope, derivative, initialGuess);\n duration = duration * 1000;\n if (isNaN(undampedFreq)) {\n return {\n stiffness: 100,\n damping: 10,\n duration,\n };\n }\n else {\n const stiffness = Math.pow(undampedFreq, 2) * mass;\n return {\n stiffness,\n damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),\n duration,\n };\n }\n}\nconst rootIterations = 12;\nfunction approximateRoot(envelope, derivative, initialGuess) {\n let result = initialGuess;\n for (let i = 1; i < rootIterations; i++) {\n result = result - envelope(result) / derivative(result);\n }\n return result;\n}\nfunction calcAngularFreq(undampedFreq, dampingRatio) {\n return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);\n}\n\nconst durationKeys = [\"duration\", \"bounce\"];\nconst physicsKeys = [\"stiffness\", \"damping\", \"mass\"];\nfunction isSpringType(options, keys) {\n return keys.some((key) => options[key] !== undefined);\n}\nfunction getSpringOptions(options) {\n let springOptions = Object.assign({ velocity: 0.0, stiffness: 100, damping: 10, mass: 1.0, isResolvedFromDuration: false }, options);\n if (!isSpringType(options, physicsKeys) &&\n isSpringType(options, durationKeys)) {\n const derived = findSpring(options);\n springOptions = Object.assign(Object.assign(Object.assign({}, springOptions), derived), { velocity: 0.0, mass: 1.0 });\n springOptions.isResolvedFromDuration = true;\n }\n return springOptions;\n}\nfunction spring(_a) {\n var { from = 0.0, to = 1.0, restSpeed = 2, restDelta } = _a, options = tslib.__rest(_a, [\"from\", \"to\", \"restSpeed\", \"restDelta\"]);\n const state = { done: false, value: from };\n let { stiffness, damping, mass, velocity, duration, isResolvedFromDuration, } = getSpringOptions(options);\n let resolveSpring = zero;\n let resolveVelocity = zero;\n function createSpring() {\n const initialVelocity = velocity ? -(velocity / 1000) : 0.0;\n const initialDelta = to - from;\n const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));\n const undampedAngularFreq = Math.sqrt(stiffness / mass) / 1000;\n if (restDelta === undefined) {\n restDelta = Math.min(Math.abs(to - from) / 100, 0.4);\n }\n if (dampingRatio < 1) {\n const angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (to -\n envelope *\n (((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) /\n angularFreq) *\n Math.sin(angularFreq * t) +\n initialDelta * Math.cos(angularFreq * t)));\n };\n resolveVelocity = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (dampingRatio *\n undampedAngularFreq *\n envelope *\n ((Math.sin(angularFreq * t) *\n (initialVelocity +\n dampingRatio *\n undampedAngularFreq *\n initialDelta)) /\n angularFreq +\n initialDelta * Math.cos(angularFreq * t)) -\n envelope *\n (Math.cos(angularFreq * t) *\n (initialVelocity +\n dampingRatio *\n undampedAngularFreq *\n initialDelta) -\n angularFreq *\n initialDelta *\n Math.sin(angularFreq * t)));\n };\n }\n else if (dampingRatio === 1) {\n resolveSpring = (t) => to -\n Math.exp(-undampedAngularFreq * t) *\n (initialDelta +\n (initialVelocity + undampedAngularFreq * initialDelta) *\n t);\n }\n else {\n const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n const freqForT = Math.min(dampedAngularFreq * t, 300);\n return (to -\n (envelope *\n ((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) *\n Math.sinh(freqForT) +\n dampedAngularFreq *\n initialDelta *\n Math.cosh(freqForT))) /\n dampedAngularFreq);\n };\n }\n }\n createSpring();\n return {\n next: (t) => {\n const current = resolveSpring(t);\n if (!isResolvedFromDuration) {\n const currentVelocity = resolveVelocity(t) * 1000;\n const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;\n const isBelowDisplacementThreshold = Math.abs(to - current) <= restDelta;\n state.done =\n isBelowVelocityThreshold && isBelowDisplacementThreshold;\n }\n else {\n state.done = t >= duration;\n }\n state.value = state.done ? to : current;\n return state;\n },\n flipTarget: () => {\n velocity = -velocity;\n [from, to] = [to, from];\n createSpring();\n },\n };\n}\nspring.needsInterpolation = (a, b) => typeof a === \"string\" || typeof b === \"string\";\nconst zero = (_t) => 0;\n\nconst progress = (from, to, value) => {\n const toFromDifference = to - from;\n return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;\n};\n\nconst mix = (from, to, progress) => -progress * from + progress * to + from;\n\nfunction hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nconst mixLinearColor = (from, to, v) => {\n const fromExpo = from * from;\n const toExpo = to * to;\n return Math.sqrt(Math.max(0, v * (toExpo - fromExpo) + fromExpo));\n};\nconst colorTypes = [styleValueTypes.hex, styleValueTypes.rgba, styleValueTypes.hsla];\nconst getColorType = (v) => colorTypes.find((type) => type.test(v));\nconst notAnimatable = (color) => `'${color}' is not an animatable color. Use the equivalent color code instead.`;\nconst mixColor = (from, to) => {\n let fromColorType = getColorType(from);\n let toColorType = getColorType(to);\n heyListen.invariant(!!fromColorType, notAnimatable(from));\n heyListen.invariant(!!toColorType, notAnimatable(to));\n let fromColor = fromColorType.parse(from);\n let toColor = toColorType.parse(to);\n if (fromColorType === styleValueTypes.hsla) {\n fromColor = hslaToRgba(fromColor);\n fromColorType = styleValueTypes.rgba;\n }\n if (toColorType === styleValueTypes.hsla) {\n toColor = hslaToRgba(toColor);\n toColorType = styleValueTypes.rgba;\n }\n const blended = Object.assign({}, fromColor);\n return (v) => {\n for (const key in blended) {\n if (key !== \"alpha\") {\n blended[key] = mixLinearColor(fromColor[key], toColor[key], v);\n }\n }\n blended.alpha = mix(fromColor.alpha, toColor.alpha, v);\n return fromColorType.transform(blended);\n };\n};\n\nconst zeroPoint = {\n x: 0,\n y: 0,\n z: 0\n};\nconst isNum = (v) => typeof v === 'number';\n\nconst combineFunctions = (a, b) => (v) => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\n\nfunction getMixer(origin, target) {\n if (isNum(origin)) {\n return (v) => mix(origin, target, v);\n }\n else if (styleValueTypes.color.test(origin)) {\n return mixColor(origin, target);\n }\n else {\n return mixComplex(origin, target);\n }\n}\nconst mixArray = (from, to) => {\n const output = [...from];\n const numValues = output.length;\n const blendValue = from.map((fromThis, i) => getMixer(fromThis, to[i]));\n return (v) => {\n for (let i = 0; i < numValues; i++) {\n output[i] = blendValue[i](v);\n }\n return output;\n };\n};\nconst mixObject = (origin, target) => {\n const output = Object.assign(Object.assign({}, origin), target);\n const blendValue = {};\n for (const key in output) {\n if (origin[key] !== undefined && target[key] !== undefined) {\n blendValue[key] = getMixer(origin[key], target[key]);\n }\n }\n return (v) => {\n for (const key in blendValue) {\n output[key] = blendValue[key](v);\n }\n return output;\n };\n};\nfunction analyse(value) {\n const parsed = styleValueTypes.complex.parse(value);\n const numValues = parsed.length;\n let numNumbers = 0;\n let numRGB = 0;\n let numHSL = 0;\n for (let i = 0; i < numValues; i++) {\n if (numNumbers || typeof parsed[i] === \"number\") {\n numNumbers++;\n }\n else {\n if (parsed[i].hue !== undefined) {\n numHSL++;\n }\n else {\n numRGB++;\n }\n }\n }\n return { parsed, numNumbers, numRGB, numHSL };\n}\nconst mixComplex = (origin, target) => {\n const template = styleValueTypes.complex.createTransformer(target);\n const originStats = analyse(origin);\n const targetStats = analyse(target);\n const canInterpolate = originStats.numHSL === targetStats.numHSL &&\n originStats.numRGB === targetStats.numRGB &&\n originStats.numNumbers >= targetStats.numNumbers;\n if (canInterpolate) {\n return pipe(mixArray(originStats.parsed, targetStats.parsed), template);\n }\n else {\n heyListen.warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);\n return (p) => `${p > 0 ? target : origin}`;\n }\n};\n\nconst mixNumber = (from, to) => (p) => mix(from, to, p);\nfunction detectMixerFactory(v) {\n if (typeof v === 'number') {\n return mixNumber;\n }\n else if (typeof v === 'string') {\n if (styleValueTypes.color.test(v)) {\n return mixColor;\n }\n else {\n return mixComplex;\n }\n }\n else if (Array.isArray(v)) {\n return mixArray;\n }\n else if (typeof v === 'object') {\n return mixObject;\n }\n}\nfunction createMixers(output, ease, customMixer) {\n const mixers = [];\n const mixerFactory = customMixer || detectMixerFactory(output[0]);\n const numMixers = output.length - 1;\n for (let i = 0; i < numMixers; i++) {\n let mixer = mixerFactory(output[i], output[i + 1]);\n if (ease) {\n const easingFunction = Array.isArray(ease) ? ease[i] : ease;\n mixer = pipe(easingFunction, mixer);\n }\n mixers.push(mixer);\n }\n return mixers;\n}\nfunction fastInterpolate([from, to], [mixer]) {\n return (v) => mixer(progress(from, to, v));\n}\nfunction slowInterpolate(input, mixers) {\n const inputLength = input.length;\n const lastInputIndex = inputLength - 1;\n return (v) => {\n let mixerIndex = 0;\n let foundMixerIndex = false;\n if (v <= input[0]) {\n foundMixerIndex = true;\n }\n else if (v >= input[lastInputIndex]) {\n mixerIndex = lastInputIndex - 1;\n foundMixerIndex = true;\n }\n if (!foundMixerIndex) {\n let i = 1;\n for (; i < inputLength; i++) {\n if (input[i] > v || i === lastInputIndex) {\n break;\n }\n }\n mixerIndex = i - 1;\n }\n const progressInRange = progress(input[mixerIndex], input[mixerIndex + 1], v);\n return mixers[mixerIndex](progressInRange);\n };\n}\nfunction interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {}) {\n const inputLength = input.length;\n heyListen.invariant(inputLength === output.length, 'Both input and output ranges must be the same length');\n heyListen.invariant(!ease || !Array.isArray(ease) || ease.length === inputLength - 1, 'Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values.');\n if (input[0] > input[inputLength - 1]) {\n input = [].concat(input);\n output = [].concat(output);\n input.reverse();\n output.reverse();\n }\n const mixers = createMixers(output, ease, mixer);\n const interpolator = inputLength === 2\n ? fastInterpolate(input, mixers)\n : slowInterpolate(input, mixers);\n return isClamp\n ? (v) => interpolator(clamp(input[0], input[inputLength - 1], v))\n : interpolator;\n}\n\nconst reverseEasing = easing => p => 1 - easing(1 - p);\nconst mirrorEasing = easing => p => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\nconst createExpoIn = (power) => p => Math.pow(p, power);\nconst createBackIn = (power) => p => p * p * ((power + 1) * p - power);\nconst createAnticipate = (power) => {\n const backEasing = createBackIn(power);\n return p => (p *= 2) < 1\n ? 0.5 * backEasing(p)\n : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));\n};\n\nconst DEFAULT_OVERSHOOT_STRENGTH = 1.525;\nconst BOUNCE_FIRST_THRESHOLD = 4.0 / 11.0;\nconst BOUNCE_SECOND_THRESHOLD = 8.0 / 11.0;\nconst BOUNCE_THIRD_THRESHOLD = 9.0 / 10.0;\nconst linear = p => p;\nconst easeIn = createExpoIn(2);\nconst easeOut = reverseEasing(easeIn);\nconst easeInOut = mirrorEasing(easeIn);\nconst circIn = p => 1 - Math.sin(Math.acos(p));\nconst circOut = reverseEasing(circIn);\nconst circInOut = mirrorEasing(circOut);\nconst backIn = createBackIn(DEFAULT_OVERSHOOT_STRENGTH);\nconst backOut = reverseEasing(backIn);\nconst backInOut = mirrorEasing(backIn);\nconst anticipate = createAnticipate(DEFAULT_OVERSHOOT_STRENGTH);\nconst ca = 4356.0 / 361.0;\nconst cb = 35442.0 / 1805.0;\nconst cc = 16061.0 / 1805.0;\nconst bounceOut = (p) => {\n if (p === 1 || p === 0)\n return p;\n const p2 = p * p;\n return p < BOUNCE_FIRST_THRESHOLD\n ? 7.5625 * p2\n : p < BOUNCE_SECOND_THRESHOLD\n ? 9.075 * p2 - 9.9 * p + 3.4\n : p < BOUNCE_THIRD_THRESHOLD\n ? ca * p2 - cb * p + cc\n : 10.8 * p * p - 20.52 * p + 10.72;\n};\nconst bounceIn = reverseEasing(bounceOut);\nconst bounceInOut = (p) => p < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - p * 2.0))\n : 0.5 * bounceOut(p * 2.0 - 1.0) + 0.5;\n\nfunction defaultEasing(values, easing) {\n return values.map(() => easing || easeInOut).splice(0, values.length - 1);\n}\nfunction defaultOffset(values) {\n const numValues = values.length;\n return values.map((_value, i) => i !== 0 ? i / (numValues - 1) : 0);\n}\nfunction convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\nfunction keyframes({ from = 0, to = 1, ease, offset, duration = 300, }) {\n const state = { done: false, value: from };\n const values = Array.isArray(to) ? to : [from, to];\n const times = convertOffsetToTimes(offset && offset.length === values.length\n ? offset\n : defaultOffset(values), duration);\n function createInterpolator() {\n return interpolate(times, values, {\n ease: Array.isArray(ease) ? ease : defaultEasing(values, ease),\n });\n }\n let interpolator = createInterpolator();\n return {\n next: (t) => {\n state.value = interpolator(t);\n state.done = t >= duration;\n return state;\n },\n flipTarget: () => {\n values.reverse();\n interpolator = createInterpolator();\n },\n };\n}\n\nfunction decay({ velocity = 0, from = 0, power = 0.8, timeConstant = 350, restDelta = 0.5, modifyTarget, }) {\n const state = { done: false, value: from };\n let amplitude = power * velocity;\n const ideal = from + amplitude;\n const target = modifyTarget === undefined ? ideal : modifyTarget(ideal);\n if (target !== ideal)\n amplitude = target - from;\n return {\n next: (t) => {\n const delta = -amplitude * Math.exp(-t / timeConstant);\n state.done = !(delta > restDelta || delta < -restDelta);\n state.value = state.done ? target : target + delta;\n return state;\n },\n flipTarget: () => { },\n };\n}\n\nconst types = { keyframes, spring, decay };\nfunction detectAnimationFromOptions(config) {\n if (Array.isArray(config.to)) {\n return keyframes;\n }\n else if (types[config.type]) {\n return types[config.type];\n }\n const keys = new Set(Object.keys(config));\n if (keys.has(\"ease\") ||\n (keys.has(\"duration\") && !keys.has(\"dampingRatio\"))) {\n return keyframes;\n }\n else if (keys.has(\"dampingRatio\") ||\n keys.has(\"stiffness\") ||\n keys.has(\"mass\") ||\n keys.has(\"damping\") ||\n keys.has(\"restSpeed\") ||\n keys.has(\"restDelta\")) {\n return spring;\n }\n return keyframes;\n}\n\nfunction loopElapsed(elapsed, duration, delay = 0) {\n return elapsed - duration - delay;\n}\nfunction reverseElapsed(elapsed, duration, delay = 0, isForwardPlayback = true) {\n return isForwardPlayback\n ? loopElapsed(duration + -elapsed, duration, delay)\n : duration - (elapsed - duration) + delay;\n}\nfunction hasRepeatDelayElapsed(elapsed, duration, delay, isForwardPlayback) {\n return isForwardPlayback ? elapsed >= duration + delay : elapsed <= -delay;\n}\n\nconst framesync = (update) => {\n const passTimestamp = ({ delta }) => update(delta);\n return {\n start: () => sync__default[\"default\"].update(passTimestamp, true),\n stop: () => sync.cancelSync.update(passTimestamp),\n };\n};\nfunction animate(_a) {\n var _b, _c;\n var { from, autoplay = true, driver = framesync, elapsed = 0, repeat: repeatMax = 0, repeatType = \"loop\", repeatDelay = 0, onPlay, onStop, onComplete, onRepeat, onUpdate } = _a, options = tslib.__rest(_a, [\"from\", \"autoplay\", \"driver\", \"elapsed\", \"repeat\", \"repeatType\", \"repeatDelay\", \"onPlay\", \"onStop\", \"onComplete\", \"onRepeat\", \"onUpdate\"]);\n let { to } = options;\n let driverControls;\n let repeatCount = 0;\n let computedDuration = options.duration;\n let latest;\n let isComplete = false;\n let isForwardPlayback = true;\n let interpolateFromNumber;\n const animator = detectAnimationFromOptions(options);\n if ((_c = (_b = animator).needsInterpolation) === null || _c === void 0 ? void 0 : _c.call(_b, from, to)) {\n interpolateFromNumber = interpolate([0, 100], [from, to], {\n clamp: false,\n });\n from = 0;\n to = 100;\n }\n const animation = animator(Object.assign(Object.assign({}, options), { from, to }));\n function repeat() {\n repeatCount++;\n if (repeatType === \"reverse\") {\n isForwardPlayback = repeatCount % 2 === 0;\n elapsed = reverseElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback);\n }\n else {\n elapsed = loopElapsed(elapsed, computedDuration, repeatDelay);\n if (repeatType === \"mirror\")\n animation.flipTarget();\n }\n isComplete = false;\n onRepeat && onRepeat();\n }\n function complete() {\n driverControls.stop();\n onComplete && onComplete();\n }\n function update(delta) {\n if (!isForwardPlayback)\n delta = -delta;\n elapsed += delta;\n if (!isComplete) {\n const state = animation.next(Math.max(0, elapsed));\n latest = state.value;\n if (interpolateFromNumber)\n latest = interpolateFromNumber(latest);\n isComplete = isForwardPlayback ? state.done : elapsed <= 0;\n }\n onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(latest);\n if (isComplete) {\n if (repeatCount === 0)\n computedDuration !== null && computedDuration !== void 0 ? computedDuration : (computedDuration = elapsed);\n if (repeatCount < repeatMax) {\n hasRepeatDelayElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback) && repeat();\n }\n else {\n complete();\n }\n }\n }\n function play() {\n onPlay === null || onPlay === void 0 ? void 0 : onPlay();\n driverControls = driver(update);\n driverControls.start();\n }\n autoplay && play();\n return {\n stop: () => {\n onStop === null || onStop === void 0 ? void 0 : onStop();\n driverControls.stop();\n },\n };\n}\n\nfunction velocityPerSecond(velocity, frameDuration) {\n return frameDuration ? velocity * (1000 / frameDuration) : 0;\n}\n\nfunction inertia({ from = 0, velocity = 0, min, max, power = 0.8, timeConstant = 750, bounceStiffness = 500, bounceDamping = 10, restDelta = 1, modifyTarget, driver, onUpdate, onComplete, onStop, }) {\n let currentAnimation;\n function isOutOfBounds(v) {\n return (min !== undefined && v < min) || (max !== undefined && v > max);\n }\n function boundaryNearest(v) {\n if (min === undefined)\n return max;\n if (max === undefined)\n return min;\n return Math.abs(min - v) < Math.abs(max - v) ? min : max;\n }\n function startAnimation(options) {\n currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop();\n currentAnimation = animate(Object.assign(Object.assign({}, options), { driver, onUpdate: (v) => {\n var _a;\n onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(v);\n (_a = options.onUpdate) === null || _a === void 0 ? void 0 : _a.call(options, v);\n }, onComplete,\n onStop }));\n }\n function startSpring(options) {\n startAnimation(Object.assign({ type: \"spring\", stiffness: bounceStiffness, damping: bounceDamping, restDelta }, options));\n }\n if (isOutOfBounds(from)) {\n startSpring({ from, velocity, to: boundaryNearest(from) });\n }\n else {\n let target = power * velocity + from;\n if (typeof modifyTarget !== \"undefined\")\n target = modifyTarget(target);\n const boundary = boundaryNearest(target);\n const heading = boundary === min ? -1 : 1;\n let prev;\n let current;\n const checkBoundary = (v) => {\n prev = current;\n current = v;\n velocity = velocityPerSecond(v - prev, sync.getFrameData().delta);\n if ((heading === 1 && v > boundary) ||\n (heading === -1 && v < boundary)) {\n startSpring({ from: v, to: boundary, velocity });\n }\n };\n startAnimation({\n type: \"decay\",\n from,\n velocity,\n timeConstant,\n power,\n restDelta,\n modifyTarget,\n onUpdate: isOutOfBounds(target) ? checkBoundary : undefined,\n });\n }\n return {\n stop: () => currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop(),\n };\n}\n\nconst radiansToDegrees = (radians) => (radians * 180) / Math.PI;\n\nconst angle = (a, b = zeroPoint) => radiansToDegrees(Math.atan2(b.y - a.y, b.x - a.x));\n\nconst applyOffset = (from, to) => {\n let hasReceivedFrom = true;\n if (to === undefined) {\n to = from;\n hasReceivedFrom = false;\n }\n return (v) => {\n if (hasReceivedFrom) {\n return v - from + to;\n }\n else {\n from = v;\n hasReceivedFrom = true;\n return to;\n }\n };\n};\n\nconst identity = (v) => v;\nconst createAttractor = (alterDisplacement = identity) => (constant, origin, v) => {\n const displacement = origin - v;\n const springModifiedDisplacement = -(0 - constant + 1) * (0 - alterDisplacement(Math.abs(displacement)));\n return displacement <= 0\n ? origin + springModifiedDisplacement\n : origin - springModifiedDisplacement;\n};\nconst attract = createAttractor();\nconst attractExpo = createAttractor(Math.sqrt);\n\nconst degreesToRadians = (degrees) => (degrees * Math.PI) / 180;\n\nconst isPoint = (point) => point.hasOwnProperty('x') && point.hasOwnProperty('y');\n\nconst isPoint3D = (point) => isPoint(point) && point.hasOwnProperty('z');\n\nconst distance1D = (a, b) => Math.abs(a - b);\nfunction distance(a, b) {\n if (isNum(a) && isNum(b)) {\n return distance1D(a, b);\n }\n else if (isPoint(a) && isPoint(b)) {\n const xDelta = distance1D(a.x, b.x);\n const yDelta = distance1D(a.y, b.y);\n const zDelta = isPoint3D(a) && isPoint3D(b) ? distance1D(a.z, b.z) : 0;\n return Math.sqrt(Math.pow(xDelta, 2) + Math.pow(yDelta, 2) + Math.pow(zDelta, 2));\n }\n}\n\nconst pointFromVector = (origin, angle, distance) => {\n angle = degreesToRadians(angle);\n return {\n x: distance * Math.cos(angle) + origin.x,\n y: distance * Math.sin(angle) + origin.y\n };\n};\n\nconst toDecimal = (num, precision = 2) => {\n precision = Math.pow(10, precision);\n return Math.round(num * precision) / precision;\n};\n\nconst smoothFrame = (prevValue, nextValue, duration, smoothing = 0) => toDecimal(prevValue +\n (duration * (nextValue - prevValue)) / Math.max(smoothing, duration));\n\nconst smooth = (strength = 50) => {\n let previousValue = 0;\n let lastUpdated = 0;\n return (v) => {\n const currentFramestamp = sync.getFrameData().timestamp;\n const timeDelta = currentFramestamp !== lastUpdated ? currentFramestamp - lastUpdated : 0;\n const newValue = timeDelta\n ? smoothFrame(previousValue, v, timeDelta, strength)\n : previousValue;\n lastUpdated = currentFramestamp;\n previousValue = newValue;\n return newValue;\n };\n};\n\nconst snap = (points) => {\n if (typeof points === 'number') {\n return (v) => Math.round(v / points) * points;\n }\n else {\n let i = 0;\n const numPoints = points.length;\n return (v) => {\n let lastDistance = Math.abs(points[0] - v);\n for (i = 1; i < numPoints; i++) {\n const point = points[i];\n const distance = Math.abs(point - v);\n if (distance === 0)\n return point;\n if (distance > lastDistance)\n return points[i - 1];\n if (i === numPoints - 1)\n return point;\n lastDistance = distance;\n }\n };\n }\n};\n\nfunction velocityPerFrame(xps, frameDuration) {\n return xps / (1000 / frameDuration);\n}\n\nconst wrap = (min, max, v) => {\n const rangeSize = max - min;\n return ((((v - min) % rangeSize) + rangeSize) % rangeSize) + min;\n};\n\nconst a = (a1, a2) => 1.0 - 3.0 * a2 + 3.0 * a1;\nconst b = (a1, a2) => 3.0 * a2 - 6.0 * a1;\nconst c = (a1) => 3.0 * a1;\nconst calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\nconst getSlope = (t, a1, a2) => 3.0 * a(a1, a2) * t * t + 2.0 * b(a1, a2) * t + c(a1);\nconst subdivisionPrecision = 0.0000001;\nconst subdivisionMaxIterations = 10;\nfunction binarySubdivide(aX, aA, aB, mX1, mX2) {\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n }\n else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > subdivisionPrecision &&\n ++i < subdivisionMaxIterations);\n return currentT;\n}\nconst newtonIterations = 8;\nconst newtonMinSlope = 0.001;\nfunction newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (let i = 0; i < newtonIterations; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\nfunction cubicBezier(mX1, mY1, mX2, mY2) {\n if (mX1 === mY1 && mX2 === mY2)\n return linear;\n const sampleValues = new Float32Array(kSplineTableSize);\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n function getTForX(aX) {\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n const dist = (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= newtonMinSlope) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n }\n else if (initialSlope === 0.0) {\n return guessForT;\n }\n else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);\n}\n\nconst steps = (steps, direction = 'end') => (progress) => {\n progress =\n direction === 'end' ? Math.min(progress, 0.999) : Math.max(progress, 0.001);\n const expanded = progress * steps;\n const rounded = direction === 'end' ? Math.floor(expanded) : Math.ceil(expanded);\n return clamp(0, 1, rounded / steps);\n};\n\nexports.angle = angle;\nexports.animate = animate;\nexports.anticipate = anticipate;\nexports.applyOffset = applyOffset;\nexports.attract = attract;\nexports.attractExpo = attractExpo;\nexports.backIn = backIn;\nexports.backInOut = backInOut;\nexports.backOut = backOut;\nexports.bounceIn = bounceIn;\nexports.bounceInOut = bounceInOut;\nexports.bounceOut = bounceOut;\nexports.circIn = circIn;\nexports.circInOut = circInOut;\nexports.circOut = circOut;\nexports.clamp = clamp;\nexports.createAnticipate = createAnticipate;\nexports.createAttractor = createAttractor;\nexports.createBackIn = createBackIn;\nexports.createExpoIn = createExpoIn;\nexports.cubicBezier = cubicBezier;\nexports.decay = decay;\nexports.degreesToRadians = degreesToRadians;\nexports.distance = distance;\nexports.easeIn = easeIn;\nexports.easeInOut = easeInOut;\nexports.easeOut = easeOut;\nexports.inertia = inertia;\nexports.interpolate = interpolate;\nexports.isPoint = isPoint;\nexports.isPoint3D = isPoint3D;\nexports.keyframes = keyframes;\nexports.linear = linear;\nexports.mirrorEasing = mirrorEasing;\nexports.mix = mix;\nexports.mixColor = mixColor;\nexports.mixComplex = mixComplex;\nexports.pipe = pipe;\nexports.pointFromVector = pointFromVector;\nexports.progress = progress;\nexports.radiansToDegrees = radiansToDegrees;\nexports.reverseEasing = reverseEasing;\nexports.smooth = smooth;\nexports.smoothFrame = smoothFrame;\nexports.snap = snap;\nexports.spring = spring;\nexports.steps = steps;\nexports.toDecimal = toDecimal;\nexports.velocityPerFrame = velocityPerFrame;\nexports.velocityPerSecond = velocityPerSecond;\nexports.wrap = wrap;\n", "'use strict';\n\n/**\n * The MotionValue tracks the state of a single animatable\n * value. Currently, updatedAt and current are unused. The\n * long term idea is to use this to minimise the number\n * of DOM reads, and to abstract the DOM interactions here.\n */\nclass MotionValue {\n setAnimation(animation) {\n this.animation = animation;\n animation === null || animation === void 0 ? void 0 : animation.finished.then(() => this.clearAnimation()).catch(() => { });\n }\n clearAnimation() {\n this.animation = this.generator = undefined;\n }\n}\n\nexports.MotionValue = MotionValue;\n", "'use strict';\n\nvar MotionValue = require('./MotionValue.cjs.js');\n\n\n\nexports.MotionValue = MotionValue.MotionValue;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar types = require('@motionone/types');\n\nconst data = new WeakMap();\nfunction getAnimationData(element) {\n if (!data.has(element)) {\n data.set(element, {\n transforms: [],\n values: new Map(),\n });\n }\n return data.get(element);\n}\nfunction getMotionValue(motionValues, name) {\n if (!motionValues.has(name)) {\n motionValues.set(name, new types.MotionValue());\n }\n return motionValues.get(name);\n}\n\nexports.getAnimationData = getAnimationData;\nexports.getMotionValue = getMotionValue;\n", "'use strict';\n\nfunction addUniqueItem(array, item) {\n array.indexOf(item) === -1 && array.push(item);\n}\nfunction removeItem(arr, item) {\n const index = arr.indexOf(item);\n index > -1 && arr.splice(index, 1);\n}\n\nexports.addUniqueItem = addUniqueItem;\nexports.removeItem = removeItem;\n", "'use strict';\n\nconst clamp = (min, max, v) => Math.min(Math.max(v, min), max);\n\nexports.clamp = clamp;\n", "'use strict';\n\nconst defaults = {\n duration: 0.3,\n delay: 0,\n endDelay: 0,\n repeat: 0,\n easing: \"ease\",\n};\n\nexports.defaults = defaults;\n", "'use strict';\n\nconst isNumber = (value) => typeof value === \"number\";\n\nexports.isNumber = isNumber;\n", "'use strict';\n\nvar isNumber = require('./is-number.cjs.js');\n\nconst isEasingList = (easing) => Array.isArray(easing) && !isNumber.isNumber(easing[0]);\n\nexports.isEasingList = isEasingList;\n", "'use strict';\n\nconst wrap = (min, max, v) => {\n const rangeSize = max - min;\n return ((((v - min) % rangeSize) + rangeSize) % rangeSize) + min;\n};\n\nexports.wrap = wrap;\n", "'use strict';\n\nvar isEasingList = require('./is-easing-list.cjs.js');\nvar wrap = require('./wrap.cjs.js');\n\nfunction getEasingForSegment(easing, i) {\n return isEasingList.isEasingList(easing) ? easing[wrap.wrap(0, easing.length, i)] : easing;\n}\n\nexports.getEasingForSegment = getEasingForSegment;\n", "'use strict';\n\nconst mix = (min, max, progress) => -progress * min + progress * max + min;\n\nexports.mix = mix;\n", "'use strict';\n\nconst noop = () => { };\nconst noopReturn = (v) => v;\n\nexports.noop = noop;\nexports.noopReturn = noopReturn;\n", "'use strict';\n\nconst progress = (min, max, value) => max - min === 0 ? 1 : (value - min) / (max - min);\n\nexports.progress = progress;\n", "'use strict';\n\nvar mix = require('./mix.cjs.js');\nvar progress = require('./progress.cjs.js');\n\nfunction fillOffset(offset, remaining) {\n const min = offset[offset.length - 1];\n for (let i = 1; i <= remaining; i++) {\n const offsetProgress = progress.progress(0, remaining, i);\n offset.push(mix.mix(min, 1, offsetProgress));\n }\n}\nfunction defaultOffset(length) {\n const offset = [0];\n fillOffset(offset, length - 1);\n return offset;\n}\n\nexports.defaultOffset = defaultOffset;\nexports.fillOffset = fillOffset;\n", "'use strict';\n\nvar mix = require('./mix.cjs.js');\nvar noop = require('./noop.cjs.js');\nvar offset = require('./offset.cjs.js');\nvar progress = require('./progress.cjs.js');\nvar easing = require('./easing.cjs.js');\nvar clamp = require('./clamp.cjs.js');\n\nfunction interpolate(output, input = offset.defaultOffset(output.length), easing$1 = noop.noopReturn) {\n const length = output.length;\n /**\n * If the input length is lower than the output we\n * fill the input to match. This currently assumes the input\n * is an animation progress value so is a good candidate for\n * moving outside the function.\n */\n const remainder = length - input.length;\n remainder > 0 && offset.fillOffset(input, remainder);\n return (t) => {\n let i = 0;\n for (; i < length - 2; i++) {\n if (t < input[i + 1])\n break;\n }\n let progressInRange = clamp.clamp(0, 1, progress.progress(input[i], input[i + 1], t));\n const segmentEasing = easing.getEasingForSegment(easing$1, i);\n progressInRange = segmentEasing(progressInRange);\n return mix.mix(output[i], output[i + 1], progressInRange);\n };\n}\n\nexports.interpolate = interpolate;\n", "'use strict';\n\nvar isNumber = require('./is-number.cjs.js');\n\nconst isCubicBezier = (easing) => Array.isArray(easing) && isNumber.isNumber(easing[0]);\n\nexports.isCubicBezier = isCubicBezier;\n", "'use strict';\n\nconst isEasingGenerator = (easing) => typeof easing === \"object\" &&\n Boolean(easing.createAnimation);\n\nexports.isEasingGenerator = isEasingGenerator;\n", "'use strict';\n\nconst isFunction = (value) => typeof value === \"function\";\n\nexports.isFunction = isFunction;\n", "'use strict';\n\nconst isString = (value) => typeof value === \"string\";\n\nexports.isString = isString;\n", "'use strict';\n\nconst time = {\n ms: (seconds) => seconds * 1000,\n s: (milliseconds) => milliseconds / 1000,\n};\n\nexports.time = time;\n", "'use strict';\n\n/*\n Convert velocity into velocity per second\n\n @param [number]: Unit per frame\n @param [number]: Frame duration in ms\n*/\nfunction velocityPerSecond(velocity, frameDuration) {\n return frameDuration ? velocity * (1000 / frameDuration) : 0;\n}\n\nexports.velocityPerSecond = velocityPerSecond;\n", "'use strict';\n\nvar array = require('./array.cjs.js');\nvar clamp = require('./clamp.cjs.js');\nvar defaults = require('./defaults.cjs.js');\nvar easing = require('./easing.cjs.js');\nvar interpolate = require('./interpolate.cjs.js');\nvar isCubicBezier = require('./is-cubic-bezier.cjs.js');\nvar isEasingGenerator = require('./is-easing-generator.cjs.js');\nvar isEasingList = require('./is-easing-list.cjs.js');\nvar isFunction = require('./is-function.cjs.js');\nvar isNumber = require('./is-number.cjs.js');\nvar isString = require('./is-string.cjs.js');\nvar mix = require('./mix.cjs.js');\nvar noop = require('./noop.cjs.js');\nvar offset = require('./offset.cjs.js');\nvar progress = require('./progress.cjs.js');\nvar time = require('./time.cjs.js');\nvar velocity = require('./velocity.cjs.js');\nvar wrap = require('./wrap.cjs.js');\n\n\n\nexports.addUniqueItem = array.addUniqueItem;\nexports.removeItem = array.removeItem;\nexports.clamp = clamp.clamp;\nexports.defaults = defaults.defaults;\nexports.getEasingForSegment = easing.getEasingForSegment;\nexports.interpolate = interpolate.interpolate;\nexports.isCubicBezier = isCubicBezier.isCubicBezier;\nexports.isEasingGenerator = isEasingGenerator.isEasingGenerator;\nexports.isEasingList = isEasingList.isEasingList;\nexports.isFunction = isFunction.isFunction;\nexports.isNumber = isNumber.isNumber;\nexports.isString = isString.isString;\nexports.mix = mix.mix;\nexports.noop = noop.noop;\nexports.noopReturn = noop.noopReturn;\nexports.defaultOffset = offset.defaultOffset;\nexports.fillOffset = offset.fillOffset;\nexports.progress = progress.progress;\nexports.time = time.time;\nexports.velocityPerSecond = velocity.velocityPerSecond;\nexports.wrap = wrap.wrap;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar data = require('../data.cjs.js');\n\n/**\n * A list of all transformable axes. We'll use this list to generated a version\n * of each axes for each transform.\n */\nconst axes = [\"\", \"X\", \"Y\", \"Z\"];\n/**\n * An ordered array of each transformable value. By default, transform values\n * will be sorted to this order.\n */\nconst order = [\"translate\", \"scale\", \"rotate\", \"skew\"];\nconst transformAlias = {\n x: \"translateX\",\n y: \"translateY\",\n z: \"translateZ\",\n};\nconst rotation = {\n syntax: \"\",\n initialValue: \"0deg\",\n toDefaultUnit: (v) => v + \"deg\",\n};\nconst baseTransformProperties = {\n translate: {\n syntax: \"\",\n initialValue: \"0px\",\n toDefaultUnit: (v) => v + \"px\",\n },\n rotate: rotation,\n scale: {\n syntax: \"\",\n initialValue: 1,\n toDefaultUnit: utils.noopReturn,\n },\n skew: rotation,\n};\nconst transformDefinitions = new Map();\nconst asTransformCssVar = (name) => `--motion-${name}`;\n/**\n * Generate a list of every possible transform key\n */\nconst transforms = [\"x\", \"y\", \"z\"];\norder.forEach((name) => {\n axes.forEach((axis) => {\n transforms.push(name + axis);\n transformDefinitions.set(asTransformCssVar(name + axis), baseTransformProperties[name]);\n });\n});\n/**\n * A function to use with Array.sort to sort transform keys by their default order.\n */\nconst compareTransformOrder = (a, b) => transforms.indexOf(a) - transforms.indexOf(b);\n/**\n * Provide a quick way to check if a string is the name of a transform\n */\nconst transformLookup = new Set(transforms);\nconst isTransform = (name) => transformLookup.has(name);\nconst addTransformToElement = (element, name) => {\n // Map x to translateX etc\n if (transformAlias[name])\n name = transformAlias[name];\n const { transforms } = data.getAnimationData(element);\n utils.addUniqueItem(transforms, name);\n /**\n * TODO: An optimisation here could be to cache the transform in element data\n * and only update if this has changed.\n */\n element.style.transform = buildTransformTemplate(transforms);\n};\nconst buildTransformTemplate = (transforms) => transforms\n .sort(compareTransformOrder)\n .reduce(transformListToString, \"\")\n .trim();\nconst transformListToString = (template, name) => `${template} ${name}(var(${asTransformCssVar(name)}))`;\n\nexports.addTransformToElement = addTransformToElement;\nexports.asTransformCssVar = asTransformCssVar;\nexports.axes = axes;\nexports.buildTransformTemplate = buildTransformTemplate;\nexports.compareTransformOrder = compareTransformOrder;\nexports.isTransform = isTransform;\nexports.transformAlias = transformAlias;\nexports.transformDefinitions = transformDefinitions;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar transforms = require('./transforms.cjs.js');\n\nconst isCssVar = (name) => name.startsWith(\"--\");\nconst registeredProperties = new Set();\nfunction registerCssVariable(name) {\n if (registeredProperties.has(name))\n return;\n registeredProperties.add(name);\n try {\n const { syntax, initialValue } = transforms.transformDefinitions.has(name)\n ? transforms.transformDefinitions.get(name)\n : {};\n CSS.registerProperty({\n name,\n inherits: false,\n syntax,\n initialValue,\n });\n }\n catch (e) { }\n}\n\nexports.isCssVar = isCssVar;\nexports.registerCssVariable = registerCssVariable;\nexports.registeredProperties = registeredProperties;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\n\n/*\n Bezier function generator\n\n This has been modified from Ga\u00EBtan Renaudeau's BezierEasing\n https://github.com/gre/bezier-easing/blob/master/src/index.js\n https://github.com/gre/bezier-easing/blob/master/LICENSE\n \n I've removed the newtonRaphsonIterate algo because in benchmarking it\n wasn't noticiably faster than binarySubdivision, indeed removing it\n usually improved times, depending on the curve.\n\n I also removed the lookup table, as for the added bundle size and loop we're\n only cutting ~4 or so subdivision iterations. I bumped the max iterations up\n to 12 to compensate and this still tended to be faster for no perceivable\n loss in accuracy.\n\n Usage\n const easeOut = cubicBezier(.17,.67,.83,.67);\n const x = easeOut(0.5); // returns 0.627...\n*/\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nconst calcBezier = (t, a1, a2) => (((1.0 - 3.0 * a2 + 3.0 * a1) * t + (3.0 * a2 - 6.0 * a1)) * t + 3.0 * a1) * t;\nconst subdivisionPrecision = 0.0000001;\nconst subdivisionMaxIterations = 12;\nfunction binarySubdivide(x, lowerBound, upperBound, mX1, mX2) {\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = lowerBound + (upperBound - lowerBound) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - x;\n if (currentX > 0.0) {\n upperBound = currentT;\n }\n else {\n lowerBound = currentT;\n }\n } while (Math.abs(currentX) > subdivisionPrecision &&\n ++i < subdivisionMaxIterations);\n return currentT;\n}\nfunction cubicBezier(mX1, mY1, mX2, mY2) {\n // If this is a linear gradient, return linear easing\n if (mX1 === mY1 && mX2 === mY2)\n return utils.noopReturn;\n const getTForX = (aX) => binarySubdivide(aX, 0, 1, mX1, mX2);\n // If animation is at start/end, return t without easing\n return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);\n}\n\nexports.cubicBezier = cubicBezier;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\n\nconst steps = (steps, direction = \"end\") => (progress) => {\n progress =\n direction === \"end\"\n ? Math.min(progress, 0.999)\n : Math.max(progress, 0.001);\n const expanded = progress * steps;\n const rounded = direction === \"end\" ? Math.floor(expanded) : Math.ceil(expanded);\n return utils.clamp(0, 1, rounded / steps);\n};\n\nexports.steps = steps;\n", "'use strict';\n\nvar cubicBezier = require('./cubic-bezier.cjs.js');\nvar steps = require('./steps.cjs.js');\n\n\n\nexports.cubicBezier = cubicBezier.cubicBezier;\nexports.steps = steps.steps;\n", "'use strict';\n\nvar easing = require('@motionone/easing');\nvar utils = require('@motionone/utils');\n\nconst namedEasings = {\n ease: easing.cubicBezier(0.25, 0.1, 0.25, 1.0),\n \"ease-in\": easing.cubicBezier(0.42, 0.0, 1.0, 1.0),\n \"ease-in-out\": easing.cubicBezier(0.42, 0.0, 0.58, 1.0),\n \"ease-out\": easing.cubicBezier(0.0, 0.0, 0.58, 1.0),\n};\nconst functionArgsRegex = /\\((.*?)\\)/;\nfunction getEasingFunction(definition) {\n // If already an easing function, return\n if (utils.isFunction(definition))\n return definition;\n // If an easing curve definition, return bezier function\n if (utils.isCubicBezier(definition))\n return easing.cubicBezier(...definition);\n // If we have a predefined easing function, return\n const namedEasing = namedEasings[definition];\n if (namedEasing)\n return namedEasing;\n // If this is a steps function, attempt to create easing curve\n if (definition.startsWith(\"steps\")) {\n const args = functionArgsRegex.exec(definition);\n if (args) {\n const argsArray = args[1].split(\",\");\n return easing.steps(parseFloat(argsArray[0]), argsArray[1].trim());\n }\n }\n return utils.noopReturn;\n}\n\nexports.getEasingFunction = getEasingFunction;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\nvar easing = require('./utils/easing.cjs.js');\n\nclass Animation {\n constructor(output, keyframes = [0, 1], { easing: easing$1, duration: initialDuration = utils.defaults.duration, delay = utils.defaults.delay, endDelay = utils.defaults.endDelay, repeat = utils.defaults.repeat, offset, direction = \"normal\", autoplay = true, } = {}) {\n this.startTime = null;\n this.rate = 1;\n this.t = 0;\n this.cancelTimestamp = null;\n this.easing = utils.noopReturn;\n this.duration = 0;\n this.totalDuration = 0;\n this.repeat = 0;\n this.playState = \"idle\";\n this.finished = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n easing$1 = easing$1 || utils.defaults.easing;\n if (utils.isEasingGenerator(easing$1)) {\n const custom = easing$1.createAnimation(keyframes);\n easing$1 = custom.easing;\n keyframes = custom.keyframes || keyframes;\n initialDuration = custom.duration || initialDuration;\n }\n this.repeat = repeat;\n this.easing = utils.isEasingList(easing$1) ? utils.noopReturn : easing.getEasingFunction(easing$1);\n this.updateDuration(initialDuration);\n const interpolate = utils.interpolate(keyframes, offset, utils.isEasingList(easing$1) ? easing$1.map(easing.getEasingFunction) : utils.noopReturn);\n this.tick = (timestamp) => {\n var _a;\n // TODO: Temporary fix for OptionsResolver typing\n delay = delay;\n let t = 0;\n if (this.pauseTime !== undefined) {\n t = this.pauseTime;\n }\n else {\n t = (timestamp - this.startTime) * this.rate;\n }\n this.t = t;\n // Convert to seconds\n t /= 1000;\n // Rebase on delay\n t = Math.max(t - delay, 0);\n /**\n * If this animation has finished, set the current time\n * to the total duration.\n */\n if (this.playState === \"finished\" && this.pauseTime === undefined) {\n t = this.totalDuration;\n }\n /**\n * Get the current progress (0-1) of the animation. If t is >\n * than duration we'll get values like 2.5 (midway through the\n * third iteration)\n */\n const progress = t / this.duration;\n // TODO progress += iterationStart\n /**\n * Get the current iteration (0 indexed). For instance the floor of\n * 2.5 is 2.\n */\n let currentIteration = Math.floor(progress);\n /**\n * Get the current progress of the iteration by taking the remainder\n * so 2.5 is 0.5 through iteration 2\n */\n let iterationProgress = progress % 1.0;\n if (!iterationProgress && progress >= 1) {\n iterationProgress = 1;\n }\n /**\n * If iteration progress is 1 we count that as the end\n * of the previous iteration.\n */\n iterationProgress === 1 && currentIteration--;\n /**\n * Reverse progress if we're not running in \"normal\" direction\n */\n const iterationIsOdd = currentIteration % 2;\n if (direction === \"reverse\" ||\n (direction === \"alternate\" && iterationIsOdd) ||\n (direction === \"alternate-reverse\" && !iterationIsOdd)) {\n iterationProgress = 1 - iterationProgress;\n }\n const p = t >= this.totalDuration ? 1 : Math.min(iterationProgress, 1);\n const latest = interpolate(this.easing(p));\n output(latest);\n const isAnimationFinished = this.pauseTime === undefined &&\n (this.playState === \"finished\" || t >= this.totalDuration + endDelay);\n if (isAnimationFinished) {\n this.playState = \"finished\";\n (_a = this.resolve) === null || _a === void 0 ? void 0 : _a.call(this, latest);\n }\n else if (this.playState !== \"idle\") {\n this.frameRequestId = requestAnimationFrame(this.tick);\n }\n };\n if (autoplay)\n this.play();\n }\n play() {\n const now = performance.now();\n this.playState = \"running\";\n if (this.pauseTime !== undefined) {\n this.startTime = now - this.pauseTime;\n }\n else if (!this.startTime) {\n this.startTime = now;\n }\n this.cancelTimestamp = this.startTime;\n this.pauseTime = undefined;\n this.frameRequestId = requestAnimationFrame(this.tick);\n }\n pause() {\n this.playState = \"paused\";\n this.pauseTime = this.t;\n }\n finish() {\n this.playState = \"finished\";\n this.tick(0);\n }\n stop() {\n var _a;\n this.playState = \"idle\";\n if (this.frameRequestId !== undefined) {\n cancelAnimationFrame(this.frameRequestId);\n }\n (_a = this.reject) === null || _a === void 0 ? void 0 : _a.call(this, false);\n }\n cancel() {\n this.stop();\n this.tick(this.cancelTimestamp);\n }\n reverse() {\n this.rate *= -1;\n }\n commitStyles() { }\n updateDuration(duration) {\n this.duration = duration;\n this.totalDuration = duration * (this.repeat + 1);\n }\n get currentTime() {\n return this.t;\n }\n set currentTime(t) {\n if (this.pauseTime !== undefined || this.rate === 0) {\n this.pauseTime = t;\n }\n else {\n this.startTime = performance.now() - t / this.rate;\n }\n }\n get playbackRate() {\n return this.rate;\n }\n set playbackRate(rate) {\n this.rate = rate;\n }\n}\n\nexports.Animation = Animation;\n", "'use strict';\n\nvar Animation = require('./Animation.cjs.js');\nvar easing = require('./utils/easing.cjs.js');\n\n\n\nexports.Animation = Animation.Animation;\nexports.getEasingFunction = easing.getEasingFunction;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\nconst convertEasing = (easing) => utils.isCubicBezier(easing) ? cubicBezierAsString(easing) : easing;\nconst cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;\n\nexports.convertEasing = convertEasing;\nexports.cubicBezierAsString = cubicBezierAsString;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst testAnimation = (keyframes) => document.createElement(\"div\").animate(keyframes, { duration: 0.001 });\nconst featureTests = {\n cssRegisterProperty: () => typeof CSS !== \"undefined\" &&\n Object.hasOwnProperty.call(CSS, \"registerProperty\"),\n waapi: () => Object.hasOwnProperty.call(Element.prototype, \"animate\"),\n partialKeyframes: () => {\n try {\n testAnimation({ opacity: [1] });\n }\n catch (e) {\n return false;\n }\n return true;\n },\n finished: () => Boolean(testAnimation({ opacity: [0, 1] }).finished),\n};\nconst results = {};\nconst supports = {};\nfor (const key in featureTests) {\n supports[key] = () => {\n if (results[key] === undefined)\n results[key] = featureTests[key]();\n return results[key];\n };\n}\n\nexports.supports = supports;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction hydrateKeyframes(keyframes, readInitialValue) {\n for (let i = 0; i < keyframes.length; i++) {\n if (keyframes[i] === null) {\n keyframes[i] = i ? keyframes[i - 1] : readInitialValue();\n }\n }\n return keyframes;\n}\nconst keyframesList = (keyframes) => Array.isArray(keyframes) ? keyframes : [keyframes];\n\nexports.hydrateKeyframes = hydrateKeyframes;\nexports.keyframesList = keyframesList;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar transforms = require('./transforms.cjs.js');\n\nfunction getStyleName(key) {\n if (transforms.transformAlias[key])\n key = transforms.transformAlias[key];\n return transforms.isTransform(key) ? transforms.asTransformCssVar(key) : key;\n}\n\nexports.getStyleName = getStyleName;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar cssVar = require('./utils/css-var.cjs.js');\nvar getStyleName = require('./utils/get-style-name.cjs.js');\nvar transforms = require('./utils/transforms.cjs.js');\n\nconst style = {\n get: (element, name) => {\n name = getStyleName.getStyleName(name);\n let value = cssVar.isCssVar(name)\n ? element.style.getPropertyValue(name)\n : getComputedStyle(element)[name];\n if (!value && value !== 0) {\n const definition = transforms.transformDefinitions.get(name);\n if (definition)\n value = definition.initialValue;\n }\n return value;\n },\n set: (element, name, value) => {\n name = getStyleName.getStyleName(name);\n if (cssVar.isCssVar(name)) {\n element.style.setProperty(name, value);\n }\n else {\n element.style[name] = value;\n }\n },\n};\n\nexports.style = style;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction stopAnimation(animation, needsCommit = true) {\n if (!animation || animation.playState === \"finished\")\n return;\n // Suppress error thrown by WAAPI\n try {\n if (animation.stop) {\n animation.stop();\n }\n else {\n needsCommit && animation.commitStyles();\n animation.cancel();\n }\n }\n catch (e) { }\n}\n\nexports.stopAnimation = stopAnimation;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar data = require('./data.cjs.js');\nvar cssVar = require('./utils/css-var.cjs.js');\nvar animation = require('@motionone/animation');\nvar utils = require('@motionone/utils');\nvar transforms = require('./utils/transforms.cjs.js');\nvar easing = require('./utils/easing.cjs.js');\nvar featureDetection = require('./utils/feature-detection.cjs.js');\nvar keyframes = require('./utils/keyframes.cjs.js');\nvar style = require('./style.cjs.js');\nvar getStyleName = require('./utils/get-style-name.cjs.js');\nvar stopAnimation = require('./utils/stop-animation.cjs.js');\n\nfunction getDevToolsRecord() {\n return window.__MOTION_DEV_TOOLS_RECORD;\n}\nfunction animateStyle(element, key, keyframesDefinition, options = {}) {\n const record = getDevToolsRecord();\n const isRecording = options.record !== false && record;\n let animation$1;\n let { duration = utils.defaults.duration, delay = utils.defaults.delay, endDelay = utils.defaults.endDelay, repeat = utils.defaults.repeat, easing: easing$1 = utils.defaults.easing, direction, offset, allowWebkitAcceleration = false, } = options;\n const data$1 = data.getAnimationData(element);\n let canAnimateNatively = featureDetection.supports.waapi();\n const valueIsTransform = transforms.isTransform(key);\n /**\n * If this is an individual transform, we need to map its\n * key to a CSS variable and update the element's transform style\n */\n valueIsTransform && transforms.addTransformToElement(element, key);\n const name = getStyleName.getStyleName(key);\n const motionValue = data.getMotionValue(data$1.values, name);\n /**\n * Get definition of value, this will be used to convert numerical\n * keyframes into the default value type.\n */\n const definition = transforms.transformDefinitions.get(name);\n /**\n * Stop the current animation, if any. Because this will trigger\n * commitStyles (DOM writes) and we might later trigger DOM reads,\n * this is fired now and we return a factory function to create\n * the actual animation that can get called in batch,\n */\n stopAnimation.stopAnimation(motionValue.animation, !(utils.isEasingGenerator(easing$1) && motionValue.generator) &&\n options.record !== false);\n /**\n * Batchable factory function containing all DOM reads.\n */\n return () => {\n const readInitialValue = () => { var _a, _b; return (_b = (_a = style.style.get(element, name)) !== null && _a !== void 0 ? _a : definition === null || definition === void 0 ? void 0 : definition.initialValue) !== null && _b !== void 0 ? _b : 0; };\n /**\n * Replace null values with the previous keyframe value, or read\n * it from the DOM if it's the first keyframe.\n */\n let keyframes$1 = keyframes.hydrateKeyframes(keyframes.keyframesList(keyframesDefinition), readInitialValue);\n if (utils.isEasingGenerator(easing$1)) {\n const custom = easing$1.createAnimation(keyframes$1, readInitialValue, valueIsTransform, name, motionValue);\n easing$1 = custom.easing;\n if (custom.keyframes !== undefined)\n keyframes$1 = custom.keyframes;\n if (custom.duration !== undefined)\n duration = custom.duration;\n }\n /**\n * If this is a CSS variable we need to register it with the browser\n * before it can be animated natively. We also set it with setProperty\n * rather than directly onto the element.style object.\n */\n if (cssVar.isCssVar(name)) {\n if (featureDetection.supports.cssRegisterProperty()) {\n cssVar.registerCssVariable(name);\n }\n else {\n canAnimateNatively = false;\n }\n }\n /**\n * If we can animate this value with WAAPI, do so. Currently this only\n * feature detects CSS.registerProperty but could check WAAPI too.\n */\n if (canAnimateNatively) {\n /**\n * Convert numbers to default value types. Currently this only supports\n * transforms but it could also support other value types.\n */\n if (definition) {\n keyframes$1 = keyframes$1.map((value) => utils.isNumber(value) ? definition.toDefaultUnit(value) : value);\n }\n /**\n * If this browser doesn't support partial/implicit keyframes we need to\n * explicitly provide one.\n */\n if (keyframes$1.length === 1 &&\n (!featureDetection.supports.partialKeyframes() || isRecording)) {\n keyframes$1.unshift(readInitialValue());\n }\n const animationOptions = {\n delay: utils.time.ms(delay),\n duration: utils.time.ms(duration),\n endDelay: utils.time.ms(endDelay),\n easing: !utils.isEasingList(easing$1) ? easing.convertEasing(easing$1) : undefined,\n direction,\n iterations: repeat + 1,\n fill: \"both\",\n };\n animation$1 = element.animate({\n [name]: keyframes$1,\n offset,\n easing: utils.isEasingList(easing$1) ? easing$1.map(easing.convertEasing) : undefined,\n }, animationOptions);\n /**\n * Polyfill finished Promise in browsers that don't support it\n */\n if (!animation$1.finished) {\n animation$1.finished = new Promise((resolve, reject) => {\n animation$1.onfinish = resolve;\n animation$1.oncancel = reject;\n });\n }\n const target = keyframes$1[keyframes$1.length - 1];\n animation$1.finished\n .then(() => {\n // Apply styles to target\n style.style.set(element, name, target);\n // Ensure fill modes don't persist\n animation$1.cancel();\n })\n .catch(utils.noop);\n /**\n * This forces Webkit to run animations on the main thread by exploiting\n * this condition:\n * https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp?rev=281238#L1099\n *\n * This fixes Webkit's timing bugs, like accelerated animations falling\n * out of sync with main thread animations and massive delays in starting\n * accelerated animations in WKWebView.\n */\n if (!allowWebkitAcceleration)\n animation$1.playbackRate = 1.000001;\n /**\n * If we can't animate the value natively then we can fallback to the numbers-only\n * polyfill for transforms.\n */\n }\n else if (valueIsTransform) {\n /**\n * If any keyframe is a string (because we measured it from the DOM), we need to convert\n * it into a number before passing to the Animation polyfill.\n */\n keyframes$1 = keyframes$1.map((value) => typeof value === \"string\" ? parseFloat(value) : value);\n /**\n * If we only have a single keyframe, we need to create an initial keyframe by reading\n * the current value from the DOM.\n */\n if (keyframes$1.length === 1) {\n keyframes$1.unshift(parseFloat(readInitialValue()));\n }\n const render = (latest) => {\n if (definition)\n latest = definition.toDefaultUnit(latest);\n style.style.set(element, name, latest);\n };\n animation$1 = new animation.Animation(render, keyframes$1, Object.assign(Object.assign({}, options), { duration,\n easing: easing$1 }));\n }\n else {\n const target = keyframes$1[keyframes$1.length - 1];\n style.style.set(element, name, definition && utils.isNumber(target)\n ? definition.toDefaultUnit(target)\n : target);\n }\n if (isRecording) {\n record(element, key, keyframes$1, {\n duration,\n delay: delay,\n easing: easing$1,\n repeat,\n offset,\n }, \"motion-one\");\n }\n motionValue.setAnimation(animation$1);\n return animation$1;\n };\n}\n\nexports.animateStyle = animateStyle;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst getOptions = (options, key) => \n/**\n * TODO: Make test for this\n * Always return a new object otherwise delay is overwritten by results of stagger\n * and this results in no stagger\n */\noptions[key] ? Object.assign(Object.assign({}, options), options[key]) : Object.assign({}, options);\n\nexports.getOptions = getOptions;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction resolveElements(elements, selectorCache) {\n var _a;\n if (typeof elements === \"string\") {\n if (selectorCache) {\n (_a = selectorCache[elements]) !== null && _a !== void 0 ? _a : (selectorCache[elements] = document.querySelectorAll(elements));\n elements = selectorCache[elements];\n }\n else {\n elements = document.querySelectorAll(elements);\n }\n }\n else if (elements instanceof Element) {\n elements = [elements];\n }\n /**\n * Return an empty array\n */\n return Array.from(elements || []);\n}\n\nexports.resolveElements = resolveElements;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar stopAnimation = require('./stop-animation.cjs.js');\n\nconst createAnimation = (factory) => factory();\nconst withControls = (animationFactory, options, duration = utils.defaults.duration) => {\n return new Proxy({\n animations: animationFactory.map(createAnimation).filter(Boolean),\n duration,\n options,\n }, controls);\n};\n/**\n * TODO:\n * Currently this returns the first animation, ideally it would return\n * the first active animation.\n */\nconst getActiveAnimation = (state) => state.animations[0];\nconst controls = {\n get: (target, key) => {\n const activeAnimation = getActiveAnimation(target);\n switch (key) {\n case \"duration\":\n return target.duration;\n case \"currentTime\":\n return utils.time.s((activeAnimation === null || activeAnimation === void 0 ? void 0 : activeAnimation[key]) || 0);\n case \"playbackRate\":\n case \"playState\":\n return activeAnimation === null || activeAnimation === void 0 ? void 0 : activeAnimation[key];\n case \"finished\":\n if (!target.finished) {\n target.finished = Promise.all(target.animations.map(selectFinished)).catch(utils.noop);\n }\n return target.finished;\n case \"stop\":\n return () => {\n target.animations.forEach((animation) => stopAnimation.stopAnimation(animation));\n };\n case \"forEachNative\":\n /**\n * This is for internal use only, fire a callback for each\n * underlying animation.\n */\n return (callback) => {\n target.animations.forEach((animation) => callback(animation, target));\n };\n default:\n return typeof (activeAnimation === null || activeAnimation === void 0 ? void 0 : activeAnimation[key]) === \"undefined\"\n ? undefined\n : () => target.animations.forEach((animation) => animation[key]());\n }\n },\n set: (target, key, value) => {\n switch (key) {\n case \"currentTime\":\n value = utils.time.ms(value);\n case \"currentTime\":\n case \"playbackRate\":\n for (let i = 0; i < target.animations.length; i++) {\n target.animations[i][key] = value;\n }\n return true;\n }\n return false;\n },\n};\nconst selectFinished = (animation) => animation.finished;\n\nexports.controls = controls;\nexports.withControls = withControls;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar animation = require('@motionone/animation');\n\nfunction stagger(duration = 0.1, { start = 0, from = 0, easing } = {}) {\n return (i, total) => {\n const fromIndex = utils.isNumber(from) ? from : getFromIndex(from, total);\n const distance = Math.abs(fromIndex - i);\n let delay = duration * distance;\n if (easing) {\n const maxDelay = total * duration;\n const easingFunction = animation.getEasingFunction(easing);\n delay = easingFunction(delay / maxDelay) * maxDelay;\n }\n return start + delay;\n };\n}\nfunction getFromIndex(from, total) {\n if (from === \"first\") {\n return 0;\n }\n else {\n const lastIndex = total - 1;\n return from === \"last\" ? lastIndex : lastIndex / 2;\n }\n}\nfunction resolveOption(option, i, total) {\n return typeof option === \"function\"\n ? option(i, total)\n : option;\n}\n\nexports.getFromIndex = getFromIndex;\nexports.resolveOption = resolveOption;\nexports.stagger = stagger;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar animateStyle = require('./animate-style.cjs.js');\nvar options = require('./utils/options.cjs.js');\nvar resolveElements = require('../utils/resolve-elements.cjs.js');\nvar controls = require('./utils/controls.cjs.js');\nvar stagger = require('../utils/stagger.cjs.js');\n\nfunction animate(elements, keyframes, options$1 = {}) {\n elements = resolveElements.resolveElements(elements);\n const numElements = elements.length;\n /**\n * Create and start new animations\n */\n const animationFactories = [];\n for (let i = 0; i < numElements; i++) {\n const element = elements[i];\n for (const key in keyframes) {\n const valueOptions = options.getOptions(options$1, key);\n valueOptions.delay = stagger.resolveOption(valueOptions.delay, i, numElements);\n const animation = animateStyle.animateStyle(element, key, keyframes[key], valueOptions);\n animationFactories.push(animation);\n }\n }\n return controls.withControls(animationFactories, options$1, \n /**\n * TODO:\n * If easing is set to spring or glide, duration will be dynamically\n * generated. Ideally we would dynamically generate this from\n * animation.effect.getComputedTiming().duration but this isn't\n * supported in iOS13 or our number polyfill. Perhaps it's possible\n * to Proxy animations returned from animateStyle that has duration\n * as a getter.\n */\n options$1.duration);\n}\n\nexports.animate = animate;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\nfunction calcNextTime(current, next, prev, labels) {\n var _a;\n if (utils.isNumber(next)) {\n return next;\n }\n else if (next.startsWith(\"-\") || next.startsWith(\"+\")) {\n return Math.max(0, current + parseFloat(next));\n }\n else if (next === \"<\") {\n return prev;\n }\n else {\n return (_a = labels.get(next)) !== null && _a !== void 0 ? _a : current;\n }\n}\n\nexports.calcNextTime = calcNextTime;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\nfunction eraseKeyframes(sequence, startTime, endTime) {\n for (let i = 0; i < sequence.length; i++) {\n const keyframe = sequence[i];\n if (keyframe.at > startTime && keyframe.at < endTime) {\n utils.removeItem(sequence, keyframe);\n // If we remove this item we have to push the pointer back one\n i--;\n }\n }\n}\nfunction addKeyframes(sequence, keyframes, easing, offset, startTime, endTime) {\n /**\n * Erase every existing value between currentTime and targetTime,\n * this will essentially splice this timeline into any currently\n * defined ones.\n */\n eraseKeyframes(sequence, startTime, endTime);\n for (let i = 0; i < keyframes.length; i++) {\n sequence.push({\n value: keyframes[i],\n at: utils.mix(startTime, endTime, offset[i]),\n easing: utils.getEasingForSegment(easing, i),\n });\n }\n}\n\nexports.addKeyframes = addKeyframes;\nexports.eraseKeyframes = eraseKeyframes;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction compareByTime(a, b) {\n if (a.at === b.at) {\n return a.value === null ? 1 : -1;\n }\n else {\n return a.at - b.at;\n }\n}\n\nexports.compareByTime = compareByTime;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar heyListen = require('hey-listen');\nvar utils = require('@motionone/utils');\nvar stagger = require('../utils/stagger.cjs.js');\nvar animateStyle = require('../animate/animate-style.cjs.js');\nvar controls = require('../animate/utils/controls.cjs.js');\nvar keyframes = require('../animate/utils/keyframes.cjs.js');\nvar options = require('../animate/utils/options.cjs.js');\nvar resolveElements = require('../utils/resolve-elements.cjs.js');\nvar transforms = require('../animate/utils/transforms.cjs.js');\nvar calcTime = require('./utils/calc-time.cjs.js');\nvar edit = require('./utils/edit.cjs.js');\nvar sort = require('./utils/sort.cjs.js');\n\nfunction timeline(definition, options = {}) {\n var _a;\n const animationDefinitions = createAnimationsFromTimeline(definition, options);\n /**\n * Create and start animations\n */\n const animationFactories = animationDefinitions\n .map((definition) => animateStyle.animateStyle(...definition))\n .filter(Boolean);\n return controls.withControls(animationFactories, options, \n // Get the duration from the first animation definition\n (_a = animationDefinitions[0]) === null || _a === void 0 ? void 0 : _a[3].duration);\n}\nfunction createAnimationsFromTimeline(definition, _a = {}) {\n var { defaultOptions = {} } = _a, timelineOptions = tslib.__rest(_a, [\"defaultOptions\"]);\n const animationDefinitions = [];\n const elementSequences = new Map();\n const elementCache = {};\n const timeLabels = new Map();\n let prevTime = 0;\n let currentTime = 0;\n let totalDuration = 0;\n /**\n * Build the timeline by mapping over the definition array and converting\n * the definitions into keyframes and offsets with absolute time values.\n * These will later get converted into relative offsets in a second pass.\n */\n for (let i = 0; i < definition.length; i++) {\n const segment = definition[i];\n /**\n * If this is a timeline label, mark it and skip the rest of this iteration.\n */\n if (utils.isString(segment)) {\n timeLabels.set(segment, currentTime);\n continue;\n }\n else if (!Array.isArray(segment)) {\n timeLabels.set(segment.name, calcTime.calcNextTime(currentTime, segment.at, prevTime, timeLabels));\n continue;\n }\n const [elementDefinition, keyframes$1, options$1 = {}] = segment;\n /**\n * If a relative or absolute time value has been specified we need to resolve\n * it in relation to the currentTime.\n */\n if (options$1.at !== undefined) {\n currentTime = calcTime.calcNextTime(currentTime, options$1.at, prevTime, timeLabels);\n }\n /**\n * Keep track of the maximum duration in this definition. This will be\n * applied to currentTime once the definition has been parsed.\n */\n let maxDuration = 0;\n /**\n * Find all the elements specified in the definition and parse value\n * keyframes from their timeline definitions.\n */\n const elements = resolveElements.resolveElements(elementDefinition, elementCache);\n const numElements = elements.length;\n for (let elementIndex = 0; elementIndex < numElements; elementIndex++) {\n const element = elements[elementIndex];\n const elementSequence = getElementSequence(element, elementSequences);\n for (const key in keyframes$1) {\n const valueSequence = getValueSequence(key, elementSequence);\n let valueKeyframes = keyframes.keyframesList(keyframes$1[key]);\n const valueOptions = options.getOptions(options$1, key);\n let { duration = defaultOptions.duration || utils.defaults.duration, easing = defaultOptions.easing || utils.defaults.easing, } = valueOptions;\n if (utils.isEasingGenerator(easing)) {\n const valueIsTransform = transforms.isTransform(key);\n heyListen.invariant(valueKeyframes.length === 2 || !valueIsTransform, \"spring must be provided 2 keyframes within timeline\");\n const custom = easing.createAnimation(valueKeyframes, \n // TODO We currently only support explicit keyframes\n // so this doesn't currently read from the DOM\n () => \"0\", valueIsTransform);\n easing = custom.easing;\n if (custom.keyframes !== undefined)\n valueKeyframes = custom.keyframes;\n if (custom.duration !== undefined)\n duration = custom.duration;\n }\n const delay = stagger.resolveOption(options$1.delay, elementIndex, numElements) || 0;\n const startTime = currentTime + delay;\n const targetTime = startTime + duration;\n /**\n *\n */\n let { offset = utils.defaultOffset(valueKeyframes.length) } = valueOptions;\n /**\n * If there's only one offset of 0, fill in a second with length 1\n *\n * TODO: Ensure there's a test that covers this removal\n */\n if (offset.length === 1 && offset[0] === 0) {\n offset[1] = 1;\n }\n /**\n * Fill out if offset if fewer offsets than keyframes\n */\n const remainder = length - valueKeyframes.length;\n remainder > 0 && utils.fillOffset(offset, remainder);\n /**\n * If only one value has been set, ie [1], push a null to the start of\n * the keyframe array. This will let us mark a keyframe at this point\n * that will later be hydrated with the previous value.\n */\n valueKeyframes.length === 1 && valueKeyframes.unshift(null);\n /**\n * Add keyframes, mapping offsets to absolute time.\n */\n edit.addKeyframes(valueSequence, valueKeyframes, easing, offset, startTime, targetTime);\n maxDuration = Math.max(delay + duration, maxDuration);\n totalDuration = Math.max(targetTime, totalDuration);\n }\n }\n prevTime = currentTime;\n currentTime += maxDuration;\n }\n /**\n * For every element and value combination create a new animation.\n */\n elementSequences.forEach((valueSequences, element) => {\n for (const key in valueSequences) {\n const valueSequence = valueSequences[key];\n /**\n * Arrange all the keyframes in ascending time order.\n */\n valueSequence.sort(sort.compareByTime);\n const keyframes = [];\n const valueOffset = [];\n const valueEasing = [];\n /**\n * For each keyframe, translate absolute times into\n * relative offsets based on the total duration of the timeline.\n */\n for (let i = 0; i < valueSequence.length; i++) {\n const { at, value, easing } = valueSequence[i];\n keyframes.push(value);\n valueOffset.push(utils.progress(0, totalDuration, at));\n valueEasing.push(easing || utils.defaults.easing);\n }\n /**\n * If the first keyframe doesn't land on offset: 0\n * provide one by duplicating the initial keyframe. This ensures\n * it snaps to the first keyframe when the animation starts.\n */\n if (valueOffset[0] !== 0) {\n valueOffset.unshift(0);\n keyframes.unshift(keyframes[0]);\n valueEasing.unshift(\"linear\");\n }\n /**\n * If the last keyframe doesn't land on offset: 1\n * provide one with a null wildcard value. This will ensure it\n * stays static until the end of the animation.\n */\n if (valueOffset[valueOffset.length - 1] !== 1) {\n valueOffset.push(1);\n keyframes.push(null);\n }\n animationDefinitions.push([\n element,\n key,\n keyframes,\n Object.assign(Object.assign(Object.assign({}, defaultOptions), { duration: totalDuration, easing: valueEasing, offset: valueOffset }), timelineOptions),\n ]);\n }\n });\n return animationDefinitions;\n}\nfunction getElementSequence(element, sequences) {\n !sequences.has(element) && sequences.set(element, {});\n return sequences.get(element);\n}\nfunction getValueSequence(name, sequences) {\n if (!sequences[name])\n sequences[name] = [];\n return sequences[name];\n}\n\nexports.createAnimationsFromTimeline = createAnimationsFromTimeline;\nexports.timeline = timeline;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\n\nconst sampleT = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - sampleT, 0);\n return utils.velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexports.calcGeneratorVelocity = calcGeneratorVelocity;\n", "'use strict';\n\nconst defaults = {\n stiffness: 100.0,\n damping: 10.0,\n mass: 1.0,\n};\n\nexports.defaults = defaults;\n", "'use strict';\n\nvar defaults = require('./defaults.cjs.js');\n\nconst calcDampingRatio = (stiffness = defaults.defaults.stiffness, damping = defaults.defaults.damping, mass = defaults.defaults.mass) => damping / (2 * Math.sqrt(stiffness * mass));\n\nexports.calcDampingRatio = calcDampingRatio;\n", "'use strict';\n\nfunction hasReachedTarget(origin, target, current) {\n return ((origin < target && current >= target) ||\n (origin > target && current <= target));\n}\n\nexports.hasReachedTarget = hasReachedTarget;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\nvar defaults = require('./defaults.cjs.js');\nvar utils$1 = require('./utils.cjs.js');\nvar hasReachedTarget = require('../utils/has-reached-target.cjs.js');\nvar velocity = require('../utils/velocity.cjs.js');\n\nconst spring = ({ stiffness = defaults.defaults.stiffness, damping = defaults.defaults.damping, mass = defaults.defaults.mass, from = 0, to = 1, velocity: velocity$1 = 0.0, restSpeed, restDistance, } = {}) => {\n velocity$1 = velocity$1 ? utils.time.s(velocity$1) : 0.0;\n const state = {\n done: false,\n hasReachedTarget: false,\n current: from,\n target: to,\n };\n const initialDelta = to - from;\n const undampedAngularFreq = Math.sqrt(stiffness / mass) / 1000;\n const dampingRatio = utils$1.calcDampingRatio(stiffness, damping, mass);\n const isGranularScale = Math.abs(initialDelta) < 5;\n restSpeed || (restSpeed = isGranularScale ? 0.01 : 2);\n restDistance || (restDistance = isGranularScale ? 0.005 : 0.5);\n let resolveSpring;\n if (dampingRatio < 1) {\n const angularFreq = undampedAngularFreq * Math.sqrt(1 - dampingRatio * dampingRatio);\n // Underdamped spring (bouncy)\n resolveSpring = (t) => to -\n Math.exp(-dampingRatio * undampedAngularFreq * t) *\n (((-velocity$1 + dampingRatio * undampedAngularFreq * initialDelta) /\n angularFreq) *\n Math.sin(angularFreq * t) +\n initialDelta * Math.cos(angularFreq * t));\n }\n else {\n // Critically damped spring\n resolveSpring = (t) => {\n return (to -\n Math.exp(-undampedAngularFreq * t) *\n (initialDelta + (-velocity$1 + undampedAngularFreq * initialDelta) * t));\n };\n }\n return (t) => {\n state.current = resolveSpring(t);\n const currentVelocity = t === 0\n ? velocity$1\n : velocity.calcGeneratorVelocity(resolveSpring, t, state.current);\n const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;\n const isBelowDisplacementThreshold = Math.abs(to - state.current) <= restDistance;\n state.done = isBelowVelocityThreshold && isBelowDisplacementThreshold;\n state.hasReachedTarget = hasReachedTarget.hasReachedTarget(from, to, state.current);\n return state;\n };\n};\n\nexports.spring = spring;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\nvar velocity = require('../utils/velocity.cjs.js');\nvar index = require('../spring/index.cjs.js');\n\nconst glide = ({ from = 0, velocity: velocity$1 = 0.0, power = 0.8, decay = 0.325, bounceDamping, bounceStiffness, changeTarget, min, max, restDistance = 0.5, restSpeed, }) => {\n decay = utils.time.ms(decay);\n const state = {\n hasReachedTarget: false,\n done: false,\n current: from,\n target: from,\n };\n const isOutOfBounds = (v) => (min !== undefined && v < min) || (max !== undefined && v > max);\n const nearestBoundary = (v) => {\n if (min === undefined)\n return max;\n if (max === undefined)\n return min;\n return Math.abs(min - v) < Math.abs(max - v) ? min : max;\n };\n let amplitude = power * velocity$1;\n const ideal = from + amplitude;\n const target = changeTarget === undefined ? ideal : changeTarget(ideal);\n state.target = target;\n /**\n * If the target has changed we need to re-calculate the amplitude, otherwise\n * the animation will start from the wrong position.\n */\n if (target !== ideal)\n amplitude = target - from;\n const calcDelta = (t) => -amplitude * Math.exp(-t / decay);\n const calcLatest = (t) => target + calcDelta(t);\n const applyFriction = (t) => {\n const delta = calcDelta(t);\n const latest = calcLatest(t);\n state.done = Math.abs(delta) <= restDistance;\n state.current = state.done ? target : latest;\n };\n /**\n * Ideally this would resolve for t in a stateless way, we could\n * do that by always precalculating the animation but as we know\n * this will be done anyway we can assume that spring will\n * be discovered during that.\n */\n let timeReachedBoundary;\n let spring;\n const checkCatchBoundary = (t) => {\n if (!isOutOfBounds(state.current))\n return;\n timeReachedBoundary = t;\n spring = index.spring({\n from: state.current,\n to: nearestBoundary(state.current),\n velocity: velocity.calcGeneratorVelocity(calcLatest, t, state.current), // TODO: This should be passing * 1000\n damping: bounceDamping,\n stiffness: bounceStiffness,\n restDistance,\n restSpeed,\n });\n };\n checkCatchBoundary(0);\n return (t) => {\n /**\n * We need to resolve the friction to figure out if we need a\n * spring but we don't want to do this twice per frame. So here\n * we flag if we updated for this frame and later if we did\n * we can skip doing it again.\n */\n let hasUpdatedFrame = false;\n if (!spring && timeReachedBoundary === undefined) {\n hasUpdatedFrame = true;\n applyFriction(t);\n checkCatchBoundary(t);\n }\n /**\n * If we have a spring and the provided t is beyond the moment the friction\n * animation crossed the min/max boundary, use the spring.\n */\n if (timeReachedBoundary !== undefined && t > timeReachedBoundary) {\n state.hasReachedTarget = true;\n return spring(t - timeReachedBoundary);\n }\n else {\n state.hasReachedTarget = false;\n !hasUpdatedFrame && applyFriction(t);\n return state;\n }\n };\n};\n\nexports.glide = glide;\n", "'use strict';\n\nvar utils = require('@motionone/utils');\n\nconst timeStep = 10;\nconst maxDuration = 10000;\nfunction pregenerateKeyframes(generator, toUnit = utils.noopReturn) {\n let overshootDuration = undefined;\n let timestamp = timeStep;\n let state = generator(0);\n const keyframes = [toUnit(state.current)];\n while (!state.done && timestamp < maxDuration) {\n state = generator(timestamp);\n keyframes.push(toUnit(state.done ? state.target : state.current));\n if (overshootDuration === undefined && state.hasReachedTarget) {\n overshootDuration = timestamp;\n }\n timestamp += timeStep;\n }\n const duration = timestamp - timeStep;\n /**\n * If generating an animation that didn't actually move,\n * generate a second keyframe so we have an origin and target.\n */\n if (keyframes.length === 1)\n keyframes.push(state.current);\n return {\n keyframes,\n duration: duration / 1000,\n overshootDuration: (overshootDuration !== null && overshootDuration !== void 0 ? overshootDuration : duration) / 1000,\n };\n}\n\nexports.pregenerateKeyframes = pregenerateKeyframes;\n", "'use strict';\n\nvar index = require('./glide/index.cjs.js');\nvar index$1 = require('./spring/index.cjs.js');\nvar pregenerateKeyframes = require('./utils/pregenerate-keyframes.cjs.js');\nvar velocity = require('./utils/velocity.cjs.js');\n\n\n\nexports.glide = index.glide;\nexports.spring = index$1.spring;\nexports.pregenerateKeyframes = pregenerateKeyframes.pregenerateKeyframes;\nexports.calcGeneratorVelocity = velocity.calcGeneratorVelocity;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar generators = require('@motionone/generators');\n\nfunction createGeneratorEasing(createGenerator) {\n const keyframesCache = new WeakMap();\n return (options = {}) => {\n const generatorCache = new Map();\n const getGenerator = (from = 0, to = 100, velocity = 0, isScale = false) => {\n const key = `${from}-${to}-${velocity}-${isScale}`;\n if (!generatorCache.has(key)) {\n generatorCache.set(key, createGenerator(Object.assign({ from,\n to,\n velocity, restSpeed: isScale ? 0.05 : 2, restDistance: isScale ? 0.01 : 0.5 }, options)));\n }\n return generatorCache.get(key);\n };\n const getKeyframes = (generator) => {\n if (!keyframesCache.has(generator)) {\n keyframesCache.set(generator, generators.pregenerateKeyframes(generator));\n }\n return keyframesCache.get(generator);\n };\n return {\n createAnimation: (keyframes, getOrigin, canUseGenerator, name, motionValue) => {\n var _a, _b;\n let settings;\n const numKeyframes = keyframes.length;\n let shouldUseGenerator = canUseGenerator &&\n numKeyframes <= 2 &&\n keyframes.every(isNumberOrNull);\n if (shouldUseGenerator) {\n const target = keyframes[numKeyframes - 1];\n const unresolvedOrigin = numKeyframes === 1 ? null : keyframes[0];\n let velocity = 0;\n let origin = 0;\n const prevGenerator = motionValue === null || motionValue === void 0 ? void 0 : motionValue.generator;\n if (prevGenerator) {\n /**\n * If we have a generator for this value we can use it to resolve\n * the animations's current value and velocity.\n */\n const { animation, generatorStartTime } = motionValue;\n const startTime = (animation === null || animation === void 0 ? void 0 : animation.startTime) || generatorStartTime || 0;\n const currentTime = (animation === null || animation === void 0 ? void 0 : animation.currentTime) || performance.now() - startTime;\n const prevGeneratorCurrent = prevGenerator(currentTime).current;\n origin = (_a = unresolvedOrigin) !== null && _a !== void 0 ? _a : prevGeneratorCurrent;\n if (numKeyframes === 1 ||\n (numKeyframes === 2 && keyframes[0] === null)) {\n velocity = generators.calcGeneratorVelocity((t) => prevGenerator(t).current, currentTime, prevGeneratorCurrent);\n }\n }\n else {\n origin = (_b = unresolvedOrigin) !== null && _b !== void 0 ? _b : parseFloat(getOrigin());\n }\n const generator = getGenerator(origin, target, velocity, name === null || name === void 0 ? void 0 : name.includes(\"scale\"));\n const keyframesMetadata = getKeyframes(generator);\n settings = Object.assign(Object.assign({}, keyframesMetadata), { easing: \"linear\" });\n // TODO Add test for this\n if (motionValue) {\n motionValue.generator = generator;\n motionValue.generatorStartTime = performance.now();\n }\n }\n else {\n const keyframesMetadata = getKeyframes(getGenerator(0, 100));\n settings = {\n easing: \"ease\",\n duration: keyframesMetadata.overshootDuration,\n };\n }\n return settings;\n },\n };\n };\n}\nconst isNumberOrNull = (value) => typeof value !== \"string\";\n\nexports.createGeneratorEasing = createGeneratorEasing;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar generators = require('@motionone/generators');\nvar createGeneratorEasing = require('../create-generator-easing.cjs.js');\n\nconst spring = createGeneratorEasing.createGeneratorEasing(generators.spring);\n\nexports.spring = spring;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar generators = require('@motionone/generators');\nvar createGeneratorEasing = require('../create-generator-easing.cjs.js');\n\nconst glide = createGeneratorEasing.createGeneratorEasing(generators.glide);\n\nexports.glide = glide;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar resolveElements = require('../utils/resolve-elements.cjs.js');\n\nconst thresholds = {\n any: 0,\n all: 1,\n};\nfunction inView(elementOrSelector, onStart, { root, margin: rootMargin, amount = \"any\" } = {}) {\n /**\n * If this browser doesn't support IntersectionObserver, return a dummy stop function.\n * Default triggering of onStart is tricky - it could be used for starting/stopping\n * videos, lazy loading content etc. We could provide an option to enable a fallback, or\n * provide a fallback callback option.\n */\n if (typeof IntersectionObserver === \"undefined\") {\n return () => { };\n }\n const elements = resolveElements.resolveElements(elementOrSelector);\n const activeIntersections = new WeakMap();\n const onIntersectionChange = (entries) => {\n entries.forEach((entry) => {\n const onEnd = activeIntersections.get(entry.target);\n /**\n * If there's no change to the intersection, we don't need to\n * do anything here.\n */\n if (entry.isIntersecting === Boolean(onEnd))\n return;\n if (entry.isIntersecting) {\n const newOnEnd = onStart(entry);\n if (typeof newOnEnd === \"function\") {\n activeIntersections.set(entry.target, newOnEnd);\n }\n else {\n observer.unobserve(entry.target);\n }\n }\n else if (onEnd) {\n onEnd(entry);\n activeIntersections.delete(entry.target);\n }\n });\n };\n const observer = new IntersectionObserver(onIntersectionChange, {\n root,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholds[amount],\n });\n elements.forEach((element) => observer.observe(element));\n return () => observer.disconnect();\n}\n\nexports.inView = inView;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar resolveElements = require('../../utils/resolve-elements.cjs.js');\n\nconst resizeHandlers = new WeakMap();\nlet observer;\nfunction getElementSize(target, borderBoxSize) {\n if (borderBoxSize) {\n const { inlineSize, blockSize } = borderBoxSize[0];\n return { width: inlineSize, height: blockSize };\n }\n else if (target instanceof SVGElement && \"getBBox\" in target) {\n return target.getBBox();\n }\n else {\n return {\n width: target.offsetWidth,\n height: target.offsetHeight,\n };\n }\n}\nfunction notifyTarget({ target, contentRect, borderBoxSize, }) {\n var _a;\n (_a = resizeHandlers.get(target)) === null || _a === void 0 ? void 0 : _a.forEach((handler) => {\n handler({\n target,\n contentSize: contentRect,\n get size() {\n return getElementSize(target, borderBoxSize);\n },\n });\n });\n}\nfunction notifyAll(entries) {\n entries.forEach(notifyTarget);\n}\nfunction createResizeObserver() {\n if (typeof ResizeObserver === \"undefined\")\n return;\n observer = new ResizeObserver(notifyAll);\n}\nfunction resizeElement(target, handler) {\n if (!observer)\n createResizeObserver();\n const elements = resolveElements.resolveElements(target);\n elements.forEach((element) => {\n let elementHandlers = resizeHandlers.get(element);\n if (!elementHandlers) {\n elementHandlers = new Set();\n resizeHandlers.set(element, elementHandlers);\n }\n elementHandlers.add(handler);\n observer === null || observer === void 0 ? void 0 : observer.observe(element);\n });\n return () => {\n elements.forEach((element) => {\n const elementHandlers = resizeHandlers.get(element);\n elementHandlers === null || elementHandlers === void 0 ? void 0 : elementHandlers.delete(handler);\n if (!(elementHandlers === null || elementHandlers === void 0 ? void 0 : elementHandlers.size)) {\n observer === null || observer === void 0 ? void 0 : observer.unobserve(element);\n }\n });\n };\n}\n\nexports.resizeElement = resizeElement;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst windowCallbacks = new Set();\nlet windowResizeHandler;\nfunction createWindowResizeHandler() {\n windowResizeHandler = () => {\n const size = {\n width: window.innerWidth,\n height: window.innerHeight,\n };\n const info = {\n target: window,\n size,\n contentSize: size,\n };\n windowCallbacks.forEach((callback) => callback(info));\n };\n window.addEventListener(\"resize\", windowResizeHandler);\n}\nfunction resizeWindow(callback) {\n windowCallbacks.add(callback);\n if (!windowResizeHandler)\n createWindowResizeHandler();\n return () => {\n windowCallbacks.delete(callback);\n if (!windowCallbacks.size && windowResizeHandler) {\n windowResizeHandler = undefined;\n }\n };\n}\n\nexports.resizeWindow = resizeWindow;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar handleElement = require('./handle-element.cjs.js');\nvar handleWindow = require('./handle-window.cjs.js');\n\nfunction resize(a, b) {\n return typeof a === \"function\" ? handleWindow.resizeWindow(a) : handleElement.resizeElement(a, b);\n}\n\nexports.resize = resize;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\n/**\n * A time in milliseconds, beyond which we consider the scroll velocity to be 0.\n */\nconst maxElapsed = 50;\nconst createAxisInfo = () => ({\n current: 0,\n offset: [],\n progress: 0,\n scrollLength: 0,\n targetOffset: 0,\n targetLength: 0,\n containerLength: 0,\n velocity: 0,\n});\nconst createScrollInfo = () => ({\n time: 0,\n x: createAxisInfo(),\n y: createAxisInfo(),\n});\nconst keys = {\n x: {\n length: \"Width\",\n position: \"Left\",\n },\n y: {\n length: \"Height\",\n position: \"Top\",\n },\n};\nfunction updateAxisInfo(element, axisName, info, time) {\n const axis = info[axisName];\n const { length, position } = keys[axisName];\n const prev = axis.current;\n const prevTime = info.time;\n axis.current = element[\"scroll\" + position];\n axis.scrollLength = element[\"scroll\" + length] - element[\"client\" + length];\n axis.offset.length = 0;\n axis.offset[0] = 0;\n axis.offset[1] = axis.scrollLength;\n axis.progress = utils.progress(0, axis.scrollLength, axis.current);\n const elapsed = time - prevTime;\n axis.velocity =\n elapsed > maxElapsed ? 0 : utils.velocityPerSecond(axis.current - prev, elapsed);\n}\nfunction updateScrollInfo(element, info, time) {\n updateAxisInfo(element, \"x\", info, time);\n updateAxisInfo(element, \"y\", info, time);\n info.time = time;\n}\n\nexports.createScrollInfo = createScrollInfo;\nexports.updateScrollInfo = updateScrollInfo;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction calcInset(element, container) {\n let inset = { x: 0, y: 0 };\n let current = element;\n while (current && current !== container) {\n if (current instanceof HTMLElement) {\n inset.x += current.offsetLeft;\n inset.y += current.offsetTop;\n current = current.offsetParent;\n }\n else if (current instanceof SVGGraphicsElement && \"getBBox\" in current) {\n const { top, left } = current.getBBox();\n inset.x += left;\n inset.y += top;\n /**\n * Assign the next parent element as the tag.\n */\n while (current && current.tagName !== \"svg\") {\n current = current.parentNode;\n }\n }\n }\n return inset;\n}\n\nexports.calcInset = calcInset;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst ScrollOffset = {\n Enter: [\n [0, 1],\n [1, 1],\n ],\n Exit: [\n [0, 0],\n [1, 0],\n ],\n Any: [\n [1, 0],\n [0, 1],\n ],\n All: [\n [0, 0],\n [1, 1],\n ],\n};\n\nexports.ScrollOffset = ScrollOffset;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\nconst namedEdges = {\n start: 0,\n center: 0.5,\n end: 1,\n};\nfunction resolveEdge(edge, length, inset = 0) {\n let delta = 0;\n /**\n * If we have this edge defined as a preset, replace the definition\n * with the numerical value.\n */\n if (namedEdges[edge] !== undefined) {\n edge = namedEdges[edge];\n }\n /**\n * Handle unit values\n */\n if (utils.isString(edge)) {\n const asNumber = parseFloat(edge);\n if (edge.endsWith(\"px\")) {\n delta = asNumber;\n }\n else if (edge.endsWith(\"%\")) {\n edge = asNumber / 100;\n }\n else if (edge.endsWith(\"vw\")) {\n delta = (asNumber / 100) * document.documentElement.clientWidth;\n }\n else if (edge.endsWith(\"vh\")) {\n delta = (asNumber / 100) * document.documentElement.clientHeight;\n }\n else {\n edge = asNumber;\n }\n }\n /**\n * If the edge is defined as a number, handle as a progress value.\n */\n if (utils.isNumber(edge)) {\n delta = length * edge;\n }\n return inset + delta;\n}\n\nexports.namedEdges = namedEdges;\nexports.resolveEdge = resolveEdge;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar edge = require('./edge.cjs.js');\n\nconst defaultOffset = [0, 0];\nfunction resolveOffset(offset, containerLength, targetLength, targetInset) {\n let offsetDefinition = Array.isArray(offset) ? offset : defaultOffset;\n let targetPoint = 0;\n let containerPoint = 0;\n if (utils.isNumber(offset)) {\n /**\n * If we're provided offset: [0, 0.5, 1] then each number x should become\n * [x, x], so we default to the behaviour of mapping 0 => 0 of both target\n * and container etc.\n */\n offsetDefinition = [offset, offset];\n }\n else if (utils.isString(offset)) {\n offset = offset.trim();\n if (offset.includes(\" \")) {\n offsetDefinition = offset.split(\" \");\n }\n else {\n /**\n * If we're provided a definition like \"100px\" then we want to apply\n * that only to the top of the target point, leaving the container at 0.\n * Whereas a named offset like \"end\" should be applied to both.\n */\n offsetDefinition = [offset, edge.namedEdges[offset] ? offset : `0`];\n }\n }\n targetPoint = edge.resolveEdge(offsetDefinition[0], targetLength, targetInset);\n containerPoint = edge.resolveEdge(offsetDefinition[1], containerLength);\n return targetPoint - containerPoint;\n}\n\nexports.resolveOffset = resolveOffset;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar inset = require('./inset.cjs.js');\nvar presets = require('./presets.cjs.js');\nvar offset = require('./offset.cjs.js');\n\nconst point = { x: 0, y: 0 };\nfunction resolveOffsets(container, info, options) {\n let { offset: offsetDefinition = presets.ScrollOffset.All } = options;\n const { target = container, axis = \"y\" } = options;\n const lengthLabel = axis === \"y\" ? \"height\" : \"width\";\n const inset$1 = target !== container ? inset.calcInset(target, container) : point;\n /**\n * Measure the target and container. If they're the same thing then we\n * use the container's scrollWidth/Height as the target, from there\n * all other calculations can remain the same.\n */\n const targetSize = target === container\n ? { width: container.scrollWidth, height: container.scrollHeight }\n : { width: target.clientWidth, height: target.clientHeight };\n const containerSize = {\n width: container.clientWidth,\n height: container.clientHeight,\n };\n /**\n * Reset the length of the resolved offset array rather than creating a new one.\n * TODO: More reusable data structures for targetSize/containerSize would also be good.\n */\n info[axis].offset.length = 0;\n /**\n * Populate the offset array by resolving the user's offset definition into\n * a list of pixel scroll offets.\n */\n let hasChanged = !info[axis].interpolate;\n const numOffsets = offsetDefinition.length;\n for (let i = 0; i < numOffsets; i++) {\n const offset$1 = offset.resolveOffset(offsetDefinition[i], containerSize[lengthLabel], targetSize[lengthLabel], inset$1[axis]);\n if (!hasChanged && offset$1 !== info[axis].interpolatorOffsets[i]) {\n hasChanged = true;\n }\n info[axis].offset[i] = offset$1;\n }\n /**\n * If the pixel scroll offsets have changed, create a new interpolator function\n * to map scroll value into a progress.\n */\n if (hasChanged) {\n info[axis].interpolate = utils.interpolate(utils.defaultOffset(numOffsets), info[axis].offset);\n info[axis].interpolatorOffsets = [...info[axis].offset];\n }\n info[axis].progress = info[axis].interpolate(info[axis].current);\n}\n\nexports.resolveOffsets = resolveOffsets;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar info = require('./info.cjs.js');\nvar index = require('./offsets/index.cjs.js');\n\nfunction measure(container, target = container, info) {\n /**\n * Find inset of target within scrollable container\n */\n info.x.targetOffset = 0;\n info.y.targetOffset = 0;\n if (target !== container) {\n let node = target;\n while (node && node != container) {\n info.x.targetOffset += node.offsetLeft;\n info.y.targetOffset += node.offsetTop;\n node = node.offsetParent;\n }\n }\n info.x.targetLength =\n target === container ? target.scrollWidth : target.clientWidth;\n info.y.targetLength =\n target === container ? target.scrollHeight : target.clientHeight;\n info.x.containerLength = container.clientWidth;\n info.y.containerLength = container.clientHeight;\n}\nfunction createOnScrollHandler(element, onScroll, info$1, options = {}) {\n const axis = options.axis || \"y\";\n return {\n measure: () => measure(element, options.target, info$1),\n update: (time) => {\n info.updateScrollInfo(element, info$1, time);\n if (options.offset || options.target) {\n index.resolveOffsets(element, info$1, options);\n }\n },\n notify: typeof onScroll === \"function\"\n ? () => onScroll(info$1)\n : scrubAnimation(onScroll, info$1[axis]),\n };\n}\nfunction scrubAnimation(controls, axisInfo) {\n controls.pause();\n controls.forEachNative((animation, { easing }) => {\n var _a, _b;\n if (animation.updateDuration) {\n if (!easing)\n animation.easing = utils.noopReturn;\n animation.updateDuration(1);\n }\n else {\n const timingOptions = { duration: 1000 };\n if (!easing)\n timingOptions.easing = \"linear\";\n (_b = (_a = animation.effect) === null || _a === void 0 ? void 0 : _a.updateTiming) === null || _b === void 0 ? void 0 : _b.call(_a, timingOptions);\n }\n });\n return () => {\n controls.currentTime = axisInfo.progress;\n };\n}\n\nexports.createOnScrollHandler = createOnScrollHandler;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar index = require('../resize/index.cjs.js');\nvar info = require('./info.cjs.js');\nvar onScrollHandler = require('./on-scroll-handler.cjs.js');\n\nconst scrollListeners = new WeakMap();\nconst resizeListeners = new WeakMap();\nconst onScrollHandlers = new WeakMap();\nconst getEventTarget = (element) => element === document.documentElement ? window : element;\nfunction scroll(onScroll, _a = {}) {\n var { container = document.documentElement } = _a, options = tslib.__rest(_a, [\"container\"]);\n let containerHandlers = onScrollHandlers.get(container);\n /**\n * Get the onScroll handlers for this container.\n * If one isn't found, create a new one.\n */\n if (!containerHandlers) {\n containerHandlers = new Set();\n onScrollHandlers.set(container, containerHandlers);\n }\n /**\n * Create a new onScroll handler for the provided callback.\n */\n const info$1 = info.createScrollInfo();\n const containerHandler = onScrollHandler.createOnScrollHandler(container, onScroll, info$1, options);\n containerHandlers.add(containerHandler);\n /**\n * Check if there's a scroll event listener for this container.\n * If not, create one.\n */\n if (!scrollListeners.has(container)) {\n const listener = () => {\n const time = performance.now();\n for (const handler of containerHandlers)\n handler.measure();\n for (const handler of containerHandlers)\n handler.update(time);\n for (const handler of containerHandlers)\n handler.notify();\n };\n scrollListeners.set(container, listener);\n const target = getEventTarget(container);\n window.addEventListener(\"resize\", listener, { passive: true });\n if (container !== document.documentElement) {\n resizeListeners.set(container, index.resize(container, listener));\n }\n target.addEventListener(\"scroll\", listener, { passive: true });\n }\n const listener = scrollListeners.get(container);\n const onLoadProcesss = requestAnimationFrame(listener);\n return () => {\n var _a;\n if (typeof onScroll !== \"function\")\n onScroll.stop();\n cancelAnimationFrame(onLoadProcesss);\n /**\n * Check if we even have any handlers for this container.\n */\n const containerHandlers = onScrollHandlers.get(container);\n if (!containerHandlers)\n return;\n containerHandlers.delete(containerHandler);\n if (containerHandlers.size)\n return;\n /**\n * If no more handlers, remove the scroll listener too.\n */\n const listener = scrollListeners.get(container);\n scrollListeners.delete(container);\n if (listener) {\n getEventTarget(container).removeEventListener(\"scroll\", listener);\n (_a = resizeListeners.get(container)) === null || _a === void 0 ? void 0 : _a();\n window.removeEventListener(\"resize\", listener);\n }\n };\n}\n\nexports.scroll = scroll;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction hasChanged(a, b) {\n if (typeof a !== typeof b)\n return true;\n if (Array.isArray(a) && Array.isArray(b))\n return !shallowCompare(a, b);\n return a !== b;\n}\nfunction shallowCompare(next, prev) {\n const prevLength = prev.length;\n if (prevLength !== next.length)\n return false;\n for (let i = 0; i < prevLength; i++) {\n if (prev[i] !== next[i])\n return false;\n }\n return true;\n}\n\nexports.hasChanged = hasChanged;\nexports.shallowCompare = shallowCompare;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction isVariant(definition) {\n return typeof definition === \"object\";\n}\n\nexports.isVariant = isVariant;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar isVariant = require('./is-variant.cjs.js');\n\nfunction resolveVariant(definition, variants) {\n if (isVariant.isVariant(definition)) {\n return definition;\n }\n else if (definition && variants) {\n return variants[definition];\n }\n}\n\nexports.resolveVariant = resolveVariant;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\n\nlet scheduled = undefined;\nfunction processScheduledAnimations() {\n if (!scheduled)\n return;\n const generators = scheduled.sort(compareByDepth).map(fireAnimateUpdates);\n generators.forEach(fireNext);\n generators.forEach(fireNext);\n scheduled = undefined;\n}\nfunction scheduleAnimation(state) {\n if (!scheduled) {\n scheduled = [state];\n requestAnimationFrame(processScheduledAnimations);\n }\n else {\n utils.addUniqueItem(scheduled, state);\n }\n}\nfunction unscheduleAnimation(state) {\n scheduled && utils.removeItem(scheduled, state);\n}\nconst compareByDepth = (a, b) => a.getDepth() - b.getDepth();\nconst fireAnimateUpdates = (state) => state.animateUpdates();\nconst fireNext = (iterator) => iterator.next();\n\nexports.scheduleAnimation = scheduleAnimation;\nexports.unscheduleAnimation = unscheduleAnimation;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst motionEvent = (name, target) => new CustomEvent(name, { detail: { target } });\nfunction dispatchPointerEvent(element, name, event) {\n element.dispatchEvent(new CustomEvent(name, { detail: { originalEvent: event } }));\n}\nfunction dispatchViewEvent(element, name, entry) {\n element.dispatchEvent(new CustomEvent(name, { detail: { originalEntry: entry } }));\n}\n\nexports.dispatchPointerEvent = dispatchPointerEvent;\nexports.dispatchViewEvent = dispatchViewEvent;\nexports.motionEvent = motionEvent;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar events = require('../utils/events.cjs.js');\nvar inView$1 = require('../../gestures/in-view.cjs.js');\n\nconst inView = {\n isActive: (options) => Boolean(options.inView),\n subscribe: (element, { enable, disable }, { inViewOptions = {} }) => {\n const { once } = inViewOptions, viewOptions = tslib.__rest(inViewOptions, [\"once\"]);\n return inView$1.inView(element, (enterEntry) => {\n enable();\n events.dispatchViewEvent(element, \"viewenter\", enterEntry);\n if (!once) {\n return (leaveEntry) => {\n disable();\n events.dispatchViewEvent(element, \"viewleave\", leaveEntry);\n };\n }\n }, viewOptions);\n },\n};\n\nexports.inView = inView;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar events = require('../utils/events.cjs.js');\n\nconst mouseEvent = (element, name, action) => (event) => {\n if (event.pointerType && event.pointerType !== \"mouse\")\n return;\n action();\n events.dispatchPointerEvent(element, name, event);\n};\nconst hover = {\n isActive: (options) => Boolean(options.hover),\n subscribe: (element, { enable, disable }) => {\n const onEnter = mouseEvent(element, \"hoverstart\", enable);\n const onLeave = mouseEvent(element, \"hoverend\", disable);\n element.addEventListener(\"pointerenter\", onEnter);\n element.addEventListener(\"pointerleave\", onLeave);\n return () => {\n element.removeEventListener(\"pointerenter\", onEnter);\n element.removeEventListener(\"pointerleave\", onLeave);\n };\n },\n};\n\nexports.hover = hover;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar events = require('../utils/events.cjs.js');\n\nconst press = {\n isActive: (options) => Boolean(options.press),\n subscribe: (element, { enable, disable }) => {\n const onPointerUp = (event) => {\n disable();\n events.dispatchPointerEvent(element, \"pressend\", event);\n window.removeEventListener(\"pointerup\", onPointerUp);\n };\n const onPointerDown = (event) => {\n enable();\n events.dispatchPointerEvent(element, \"pressstart\", event);\n window.addEventListener(\"pointerup\", onPointerUp);\n };\n element.addEventListener(\"pointerdown\", onPointerDown);\n return () => {\n element.removeEventListener(\"pointerdown\", onPointerDown);\n window.removeEventListener(\"pointerup\", onPointerUp);\n };\n },\n};\n\nexports.press = press;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar heyListen = require('hey-listen');\nvar utils = require('@motionone/utils');\nvar animateStyle = require('../animate/animate-style.cjs.js');\nvar style = require('../animate/style.cjs.js');\nvar options = require('../animate/utils/options.cjs.js');\nvar hasChanged = require('./utils/has-changed.cjs.js');\nvar resolveVariant = require('./utils/resolve-variant.cjs.js');\nvar schedule = require('./utils/schedule.cjs.js');\nvar inView = require('./gestures/in-view.cjs.js');\nvar hover = require('./gestures/hover.cjs.js');\nvar press = require('./gestures/press.cjs.js');\nvar events = require('./utils/events.cjs.js');\n\nconst gestures = { inView: inView.inView, hover: hover.hover, press: press.press };\n/**\n * A list of state types, in priority order. If a value is defined in\n * a righter-most type, it will override any definition in a lefter-most.\n */\nconst stateTypes = [\"initial\", \"animate\", ...Object.keys(gestures), \"exit\"];\n/**\n * A global store of all generated motion states. This can be used to lookup\n * a motion state for a given Element.\n */\nconst mountedStates = new WeakMap();\nfunction createMotionState(options$1 = {}, parent) {\n /**\n * The element represented by the motion state. This is an empty reference\n * when we create the state to support SSR and allow for later mounting\n * in view libraries.\n *\n * @ts-ignore\n */\n let element;\n /**\n * Calculate a depth that we can use to order motion states by tree depth.\n */\n let depth = parent ? parent.getDepth() + 1 : 0;\n /**\n * Track which states are currently active.\n */\n const activeStates = { initial: true, animate: true };\n /**\n * A map of functions that, when called, will remove event listeners for\n * a given gesture.\n */\n const gestureSubscriptions = {};\n /**\n * Initialise a context to share through motion states. This\n * will be populated by variant names (if any).\n */\n const context = {};\n for (const name of stateTypes) {\n context[name] =\n typeof options$1[name] === \"string\"\n ? options$1[name]\n : parent === null || parent === void 0 ? void 0 : parent.getContext()[name];\n }\n /**\n * If initial is set to false we use the animate prop as the initial\n * animation state.\n */\n const initialVariantSource = options$1.initial === false ? \"animate\" : \"initial\";\n /**\n * Destructure an initial target out from the resolved initial variant.\n */\n let _a = resolveVariant.resolveVariant(options$1[initialVariantSource] || context[initialVariantSource], options$1.variants) || {}, target = tslib.__rest(_a, [\"transition\"]);\n /**\n * The base target is a cached map of values that we'll use to animate\n * back to if a value is removed from all active state types. This\n * is usually the initial value as read from the DOM, for instance if\n * it hasn't been defined in initial.\n */\n const baseTarget = Object.assign({}, target);\n /**\n * A generator that will be processed by the global animation scheduler.\n * This yeilds when it switches from reading the DOM to writing to it\n * to prevent layout thrashing.\n */\n function* animateUpdates() {\n var _a, _b;\n const prevTarget = target;\n target = {};\n const animationOptions = {};\n for (const name of stateTypes) {\n if (!activeStates[name])\n continue;\n const variant = resolveVariant.resolveVariant(options$1[name]);\n if (!variant)\n continue;\n for (const key in variant) {\n if (key === \"transition\")\n continue;\n target[key] = variant[key];\n animationOptions[key] = options.getOptions((_b = (_a = variant.transition) !== null && _a !== void 0 ? _a : options$1.transition) !== null && _b !== void 0 ? _b : {}, key);\n }\n }\n const allTargetKeys = new Set([\n ...Object.keys(target),\n ...Object.keys(prevTarget),\n ]);\n const animationFactories = [];\n allTargetKeys.forEach((key) => {\n var _a;\n if (target[key] === undefined) {\n target[key] = baseTarget[key];\n }\n if (hasChanged.hasChanged(prevTarget[key], target[key])) {\n (_a = baseTarget[key]) !== null && _a !== void 0 ? _a : (baseTarget[key] = style.style.get(element, key));\n animationFactories.push(animateStyle.animateStyle(element, key, target[key], animationOptions[key]));\n }\n });\n // Wait for all animation states to read from the DOM\n yield;\n const animations = animationFactories\n .map((factory) => factory())\n .filter(Boolean);\n if (!animations.length)\n return;\n const animationTarget = target;\n element.dispatchEvent(events.motionEvent(\"motionstart\", animationTarget));\n Promise.all(animations.map((animation) => animation.finished))\n .then(() => {\n element.dispatchEvent(events.motionEvent(\"motioncomplete\", animationTarget));\n })\n .catch(utils.noop);\n }\n const setGesture = (name, isActive) => () => {\n activeStates[name] = isActive;\n schedule.scheduleAnimation(state);\n };\n const updateGestureSubscriptions = () => {\n for (const name in gestures) {\n const isGestureActive = gestures[name].isActive(options$1);\n const remove = gestureSubscriptions[name];\n if (isGestureActive && !remove) {\n gestureSubscriptions[name] = gestures[name].subscribe(element, {\n enable: setGesture(name, true),\n disable: setGesture(name, false),\n }, options$1);\n }\n else if (!isGestureActive && remove) {\n remove();\n delete gestureSubscriptions[name];\n }\n }\n };\n const state = {\n update: (newOptions) => {\n if (!element)\n return;\n options$1 = newOptions;\n updateGestureSubscriptions();\n schedule.scheduleAnimation(state);\n },\n setActive: (name, isActive) => {\n if (!element)\n return;\n activeStates[name] = isActive;\n schedule.scheduleAnimation(state);\n },\n animateUpdates,\n getDepth: () => depth,\n getTarget: () => target,\n getOptions: () => options$1,\n getContext: () => context,\n mount: (newElement) => {\n heyListen.invariant(Boolean(newElement), \"Animation state must be mounted with valid Element\");\n element = newElement;\n mountedStates.set(element, state);\n updateGestureSubscriptions();\n return () => {\n mountedStates.delete(element);\n schedule.unscheduleAnimation(state);\n for (const key in gestureSubscriptions) {\n gestureSubscriptions[key]();\n }\n };\n },\n isMounted: () => Boolean(element),\n };\n return state;\n}\n\nexports.createMotionState = createMotionState;\nexports.mountedStates = mountedStates;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar utils = require('@motionone/utils');\nvar transforms = require('./transforms.cjs.js');\n\nfunction createStyles(keyframes) {\n const initialKeyframes = {};\n const transformKeys = [];\n for (let key in keyframes) {\n const value = keyframes[key];\n if (transforms.isTransform(key)) {\n if (transforms.transformAlias[key])\n key = transforms.transformAlias[key];\n transformKeys.push(key);\n key = transforms.asTransformCssVar(key);\n }\n let initialKeyframe = Array.isArray(value) ? value[0] : value;\n /**\n * If this is a number and we have a default value type, convert the number\n * to this type.\n */\n const definition = transforms.transformDefinitions.get(key);\n if (definition) {\n initialKeyframe = utils.isNumber(value)\n ? definition.toDefaultUnit(value)\n : value;\n }\n initialKeyframes[key] = initialKeyframe;\n }\n if (transformKeys.length) {\n initialKeyframes.transform = transforms.buildTransformTemplate(transformKeys);\n }\n return initialKeyframes;\n}\n\nexports.createStyles = createStyles;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar styleObject = require('./style-object.cjs.js');\n\nconst camelLetterToPipeLetter = (letter) => `-${letter.toLowerCase()}`;\nconst camelToPipeCase = (str) => str.replace(/[A-Z]/g, camelLetterToPipeLetter);\nfunction createStyleString(target = {}) {\n const styles = styleObject.createStyles(target);\n let style = \"\";\n for (const key in styles) {\n style += key.startsWith(\"--\") ? key : camelToPipeCase(key);\n style += `: ${styles[key]}; `;\n }\n return style;\n}\n\nexports.createStyleString = createStyleString;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar index = require('./animate/index.cjs.js');\nvar animateStyle = require('./animate/animate-style.cjs.js');\nvar index$1 = require('./timeline/index.cjs.js');\nvar stagger = require('./utils/stagger.cjs.js');\nvar index$2 = require('./easing/spring/index.cjs.js');\nvar index$3 = require('./easing/glide/index.cjs.js');\nvar style = require('./animate/style.cjs.js');\nvar inView = require('./gestures/in-view.cjs.js');\nvar index$5 = require('./gestures/resize/index.cjs.js');\nvar index$6 = require('./gestures/scroll/index.cjs.js');\nvar presets = require('./gestures/scroll/offsets/presets.cjs.js');\nvar controls = require('./animate/utils/controls.cjs.js');\nvar data = require('./animate/data.cjs.js');\nvar getStyleName = require('./animate/utils/get-style-name.cjs.js');\nvar index$4 = require('./state/index.cjs.js');\nvar styleObject = require('./animate/utils/style-object.cjs.js');\nvar styleString = require('./animate/utils/style-string.cjs.js');\n\n\n\nexports.animate = index.animate;\nexports.animateStyle = animateStyle.animateStyle;\nexports.timeline = index$1.timeline;\nexports.stagger = stagger.stagger;\nexports.spring = index$2.spring;\nexports.glide = index$3.glide;\nexports.style = style.style;\nexports.inView = inView.inView;\nexports.resize = index$5.resize;\nexports.scroll = index$6.scroll;\nexports.ScrollOffset = presets.ScrollOffset;\nexports.withControls = controls.withControls;\nexports.getAnimationData = data.getAnimationData;\nexports.getStyleName = getStyleName.getStyleName;\nexports.createMotionState = index$4.createMotionState;\nexports.mountedStates = index$4.mountedStates;\nexports.createStyles = styleObject.createStyles;\nexports.createStyleString = styleString.createStyleString;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexports.default = memoize;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar memoize = _interopDefault(require('@emotion/memoize'));\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar index = memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexports.default = index;\n", "'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar tslib = require('tslib');\nvar React = require('react');\nvar heyListen = require('hey-listen');\nvar styleValueTypes = require('style-value-types');\nvar popmotion = require('popmotion');\nvar sync = require('framesync');\nvar dom = require('@motionone/dom');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nfunction _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = Object.create(null);\n if (e) {\n Object.keys(e).forEach(function (k) {\n if (k !== 'default') {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () { return e[k]; }\n });\n }\n });\n }\n n[\"default\"] = e;\n return Object.freeze(n);\n}\n\nvar React__namespace = /*#__PURE__*/_interopNamespace(React);\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\nvar sync__default = /*#__PURE__*/_interopDefaultLegacy(sync);\n\n/**\n * Browser-safe usage of process\n */\nvar defaultEnvironment = \"production\";\nvar env = typeof process === \"undefined\" || process.env === undefined\n ? defaultEnvironment\n : process.env.NODE_ENV || defaultEnvironment;\n\nvar createDefinition = function (propNames) { return ({\n isEnabled: function (props) { return propNames.some(function (name) { return !!props[name]; }); },\n}); };\nvar featureDefinitions = {\n measureLayout: createDefinition([\"layout\", \"layoutId\", \"drag\"]),\n animation: createDefinition([\n \"animate\",\n \"exit\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"whileFocus\",\n \"whileDrag\",\n \"whileInView\",\n ]),\n exit: createDefinition([\"exit\"]),\n drag: createDefinition([\"drag\", \"dragControls\"]),\n focus: createDefinition([\"whileFocus\"]),\n hover: createDefinition([\"whileHover\", \"onHoverStart\", \"onHoverEnd\"]),\n tap: createDefinition([\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"]),\n pan: createDefinition([\n \"onPan\",\n \"onPanStart\",\n \"onPanSessionStart\",\n \"onPanEnd\",\n ]),\n inView: createDefinition([\n \"whileInView\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n ]),\n};\nfunction loadFeatures(features) {\n for (var key in features) {\n if (features[key] === null)\n continue;\n if (key === \"projectionNodeConstructor\") {\n featureDefinitions.projectionNodeConstructor = features[key];\n }\n else {\n featureDefinitions[key].Component = features[key];\n }\n }\n}\n\nvar LazyContext = React.createContext({ strict: false });\n\nvar featureNames = Object.keys(featureDefinitions);\nvar numFeatures = featureNames.length;\n/**\n * Load features via renderless components based on the provided MotionProps.\n */\nfunction useFeatures(props, visualElement, preloadedFeatures) {\n var features = [];\n var lazyContext = React.useContext(LazyContext);\n if (!visualElement)\n return null;\n /**\n * If we're in development mode, check to make sure we're not rendering a motion component\n * as a child of LazyMotion, as this will break the file-size benefits of using it.\n */\n if (env !== \"production\" && preloadedFeatures && lazyContext.strict) {\n heyListen.invariant(false, \"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.\");\n }\n for (var i = 0; i < numFeatures; i++) {\n var name_1 = featureNames[i];\n var _a = featureDefinitions[name_1], isEnabled = _a.isEnabled, Component = _a.Component;\n /**\n * It might be possible in the future to use this moment to\n * dynamically request functionality. In initial tests this\n * was producing a lot of duplication amongst bundles.\n */\n if (isEnabled(props) && Component) {\n features.push(React__namespace.createElement(Component, tslib.__assign({ key: name_1 }, props, { visualElement: visualElement })));\n }\n }\n return features;\n}\n\n/**\n * @public\n */\nvar MotionConfigContext = React.createContext({\n transformPagePoint: function (p) { return p; },\n isStatic: false,\n reducedMotion: \"never\",\n});\n\nvar MotionContext = React.createContext({});\nfunction useVisualElementContext() {\n return React.useContext(MotionContext).visualElement;\n}\n\n/**\n * @public\n */\nvar PresenceContext = React.createContext(null);\n\nvar isBrowser = typeof document !== \"undefined\";\n\nvar useIsomorphicLayoutEffect = isBrowser ? React.useLayoutEffect : React.useEffect;\n\n// Does this device prefer reduced motion? Returns `null` server-side.\nvar prefersReducedMotion = { current: null };\nvar hasDetected = false;\nfunction initPrefersReducedMotion() {\n hasDetected = true;\n if (!isBrowser)\n return;\n if (window.matchMedia) {\n var motionMediaQuery_1 = window.matchMedia(\"(prefers-reduced-motion)\");\n var setReducedMotionPreferences = function () {\n return (prefersReducedMotion.current = motionMediaQuery_1.matches);\n };\n motionMediaQuery_1.addListener(setReducedMotionPreferences);\n setReducedMotionPreferences();\n }\n else {\n prefersReducedMotion.current = false;\n }\n}\n/**\n * A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.\n *\n * This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing\n * `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.\n *\n * It will actively respond to changes and re-render your components with the latest setting.\n *\n * ```jsx\n * export function Sidebar({ isOpen }) {\n * const shouldReduceMotion = useReducedMotion()\n * const closedX = shouldReduceMotion ? 0 : \"-100%\"\n *\n * return (\n * \n * )\n * }\n * ```\n *\n * @return boolean\n *\n * @public\n */\nfunction useReducedMotion() {\n /**\n * Lazy initialisation of prefersReducedMotion\n */\n !hasDetected && initPrefersReducedMotion();\n var _a = tslib.__read(React.useState(prefersReducedMotion.current), 1), shouldReduceMotion = _a[0];\n /**\n * TODO See if people miss automatically updating shouldReduceMotion setting\n */\n return shouldReduceMotion;\n}\nfunction useReducedMotionConfig() {\n var reducedMotionPreference = useReducedMotion();\n var reducedMotion = React.useContext(MotionConfigContext).reducedMotion;\n if (reducedMotion === \"never\") {\n return false;\n }\n else if (reducedMotion === \"always\") {\n return true;\n }\n else {\n return reducedMotionPreference;\n }\n}\n\nfunction useVisualElement(Component, visualState, props, createVisualElement) {\n var lazyContext = React.useContext(LazyContext);\n var parent = useVisualElementContext();\n var presenceContext = React.useContext(PresenceContext);\n var shouldReduceMotion = useReducedMotionConfig();\n var visualElementRef = React.useRef(undefined);\n /**\n * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n */\n if (!createVisualElement)\n createVisualElement = lazyContext.renderer;\n if (!visualElementRef.current && createVisualElement) {\n visualElementRef.current = createVisualElement(Component, {\n visualState: visualState,\n parent: parent,\n props: props,\n presenceId: presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.id,\n blockInitialAnimation: (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false,\n shouldReduceMotion: shouldReduceMotion,\n });\n }\n var visualElement = visualElementRef.current;\n useIsomorphicLayoutEffect(function () {\n visualElement === null || visualElement === void 0 ? void 0 : visualElement.syncRender();\n });\n React.useEffect(function () {\n var _a;\n (_a = visualElement === null || visualElement === void 0 ? void 0 : visualElement.animationState) === null || _a === void 0 ? void 0 : _a.animateChanges();\n });\n useIsomorphicLayoutEffect(function () { return function () { return visualElement === null || visualElement === void 0 ? void 0 : visualElement.notifyUnmount(); }; }, []);\n return visualElement;\n}\n\nfunction isRefObject(ref) {\n return (typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\n/**\n * Creates a ref function that, when called, hydrates the provided\n * external ref and VisualElement.\n */\nfunction useMotionRef(visualState, visualElement, externalRef) {\n return React.useCallback(function (instance) {\n var _a;\n instance && ((_a = visualState.mount) === null || _a === void 0 ? void 0 : _a.call(visualState, instance));\n if (visualElement) {\n instance\n ? visualElement.mount(instance)\n : visualElement.unmount();\n }\n if (externalRef) {\n if (typeof externalRef === \"function\") {\n externalRef(instance);\n }\n else if (isRefObject(externalRef)) {\n externalRef.current = instance;\n }\n }\n }, \n /**\n * Only pass a new ref callback to React if we've received a visual element\n * factory. Otherwise we'll be mounting/remounting every time externalRef\n * or other dependencies change.\n */\n [visualElement]);\n}\n\n/**\n * Decides if the supplied variable is an array of variant labels\n */\nfunction isVariantLabels(v) {\n return Array.isArray(v);\n}\n/**\n * Decides if the supplied variable is variant label\n */\nfunction isVariantLabel(v) {\n return typeof v === \"string\" || isVariantLabels(v);\n}\n/**\n * Creates an object containing the latest state of every MotionValue on a VisualElement\n */\nfunction getCurrent(visualElement) {\n var current = {};\n visualElement.forEachValue(function (value, key) { return (current[key] = value.get()); });\n return current;\n}\n/**\n * Creates an object containing the latest velocity of every MotionValue on a VisualElement\n */\nfunction getVelocity$1(visualElement) {\n var velocity = {};\n visualElement.forEachValue(function (value, key) { return (velocity[key] = value.getVelocity()); });\n return velocity;\n}\nfunction resolveVariantFromProps(props, definition, custom, currentValues, currentVelocity) {\n var _a;\n if (currentValues === void 0) { currentValues = {}; }\n if (currentVelocity === void 0) { currentVelocity = {}; }\n /**\n * If the variant definition is a function, resolve.\n */\n if (typeof definition === \"function\") {\n definition = definition(custom !== null && custom !== void 0 ? custom : props.custom, currentValues, currentVelocity);\n }\n /**\n * If the variant definition is a variant label, or\n * the function returned a variant label, resolve.\n */\n if (typeof definition === \"string\") {\n definition = (_a = props.variants) === null || _a === void 0 ? void 0 : _a[definition];\n }\n /**\n * At this point we've resolved both functions and variant labels,\n * but the resolved variant label might itself have been a function.\n * If so, resolve. This can only have returned a valid target object.\n */\n if (typeof definition === \"function\") {\n definition = definition(custom !== null && custom !== void 0 ? custom : props.custom, currentValues, currentVelocity);\n }\n return definition;\n}\nfunction resolveVariant(visualElement, definition, custom) {\n var props = visualElement.getProps();\n return resolveVariantFromProps(props, definition, custom !== null && custom !== void 0 ? custom : props.custom, getCurrent(visualElement), getVelocity$1(visualElement));\n}\nfunction checkIfControllingVariants(props) {\n var _a;\n return (typeof ((_a = props.animate) === null || _a === void 0 ? void 0 : _a.start) === \"function\" ||\n isVariantLabel(props.initial) ||\n isVariantLabel(props.animate) ||\n isVariantLabel(props.whileHover) ||\n isVariantLabel(props.whileDrag) ||\n isVariantLabel(props.whileTap) ||\n isVariantLabel(props.whileFocus) ||\n isVariantLabel(props.exit));\n}\nfunction checkIfVariantNode(props) {\n return Boolean(checkIfControllingVariants(props) || props.variants);\n}\n\nfunction getCurrentTreeVariants(props, context) {\n if (checkIfControllingVariants(props)) {\n var initial = props.initial, animate = props.animate;\n return {\n initial: initial === false || isVariantLabel(initial)\n ? initial\n : undefined,\n animate: isVariantLabel(animate) ? animate : undefined,\n };\n }\n return props.inherit !== false ? context : {};\n}\n\nfunction useCreateMotionContext(props) {\n var _a = getCurrentTreeVariants(props, React.useContext(MotionContext)), initial = _a.initial, animate = _a.animate;\n return React.useMemo(function () { return ({ initial: initial, animate: animate }); }, [variantLabelsAsDependency(initial), variantLabelsAsDependency(animate)]);\n}\nfunction variantLabelsAsDependency(prop) {\n return Array.isArray(prop) ? prop.join(\" \") : prop;\n}\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n var ref = React.useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\n/**\n * This should only ever be modified on the client otherwise it'll\n * persist through server requests. If we need instanced states we\n * could lazy-init via root.\n */\nvar globalProjectionState = {\n /**\n * Global flag as to whether the tree has animated since the last time\n * we resized the window\n */\n hasAnimatedSinceResize: true,\n /**\n * We set this to true once, on the first update. Any nodes added to the tree beyond that\n * update will be given a `data-projection-id` attribute.\n */\n hasEverUpdated: false,\n};\n\nvar id$1 = 1;\nfunction useProjectionId() {\n return useConstant(function () {\n if (globalProjectionState.hasEverUpdated) {\n return id$1++;\n }\n });\n}\n\nvar LayoutGroupContext = React.createContext({});\n\n/**\n * Internal, exported only for usage in Framer\n */\nvar SwitchLayoutGroupContext = React.createContext({});\n\nfunction useProjection(projectionId, _a, visualElement, ProjectionNodeConstructor) {\n var _b;\n var layoutId = _a.layoutId, layout = _a.layout, drag = _a.drag, dragConstraints = _a.dragConstraints, layoutScroll = _a.layoutScroll;\n var initialPromotionConfig = React.useContext(SwitchLayoutGroupContext);\n if (!ProjectionNodeConstructor ||\n !visualElement ||\n (visualElement === null || visualElement === void 0 ? void 0 : visualElement.projection)) {\n return;\n }\n visualElement.projection = new ProjectionNodeConstructor(projectionId, visualElement.getLatestValues(), (_b = visualElement.parent) === null || _b === void 0 ? void 0 : _b.projection);\n visualElement.projection.setOptions({\n layoutId: layoutId,\n layout: layout,\n alwaysMeasureLayout: Boolean(drag) || (dragConstraints && isRefObject(dragConstraints)),\n visualElement: visualElement,\n scheduleRender: function () { return visualElement.scheduleRender(); },\n /**\n * TODO: Update options in an effect. This could be tricky as it'll be too late\n * to update by the time layout animations run.\n * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,\n * ensuring it gets called if there's no potential layout animations.\n *\n */\n animationType: typeof layout === \"string\" ? layout : \"both\",\n initialPromotionConfig: initialPromotionConfig,\n layoutScroll: layoutScroll,\n });\n}\n\nvar VisualElementHandler = /** @class */ (function (_super) {\n tslib.__extends(VisualElementHandler, _super);\n function VisualElementHandler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Update visual element props as soon as we know this update is going to be commited.\n */\n VisualElementHandler.prototype.getSnapshotBeforeUpdate = function () {\n this.updateProps();\n return null;\n };\n VisualElementHandler.prototype.componentDidUpdate = function () { };\n VisualElementHandler.prototype.updateProps = function () {\n var _a = this.props, visualElement = _a.visualElement, props = _a.props;\n if (visualElement)\n visualElement.setProps(props);\n };\n VisualElementHandler.prototype.render = function () {\n return this.props.children;\n };\n return VisualElementHandler;\n}(React__default[\"default\"].Component));\n\n/**\n * Create a `motion` component.\n *\n * This function accepts a Component argument, which can be either a string (ie \"div\"\n * for `motion.div`), or an actual React component.\n *\n * Alongside this is a config option which provides a way of rendering the provided\n * component \"offline\", or outside the React render cycle.\n */\nfunction createMotionComponent(_a) {\n var preloadedFeatures = _a.preloadedFeatures, createVisualElement = _a.createVisualElement, projectionNodeConstructor = _a.projectionNodeConstructor, useRender = _a.useRender, useVisualState = _a.useVisualState, Component = _a.Component;\n preloadedFeatures && loadFeatures(preloadedFeatures);\n function MotionComponent(props, externalRef) {\n var layoutId = useLayoutId(props);\n props = tslib.__assign(tslib.__assign({}, props), { layoutId: layoutId });\n /**\n * If we're rendering in a static environment, we only visually update the component\n * as a result of a React-rerender rather than interactions or animations. This\n * means we don't need to load additional memory structures like VisualElement,\n * or any gesture/animation features.\n */\n var config = React.useContext(MotionConfigContext);\n var features = null;\n var context = useCreateMotionContext(props);\n /**\n * Create a unique projection ID for this component. If a new component is added\n * during a layout animation we'll use this to query the DOM and hydrate its ref early, allowing\n * us to measure it as soon as any layout effect flushes pending layout animations.\n *\n * Performance note: It'd be better not to have to search the DOM for these elements.\n * For newly-entering components it could be enough to only correct treeScale, in which\n * case we could mount in a scale-correction mode. This wouldn't be enough for\n * shared element transitions however. Perhaps for those we could revert to a root node\n * that gets forceRendered and layout animations are triggered on its layout effect.\n */\n var projectionId = config.isStatic ? undefined : useProjectionId();\n /**\n *\n */\n var visualState = useVisualState(props, config.isStatic);\n if (!config.isStatic && isBrowser) {\n /**\n * Create a VisualElement for this component. A VisualElement provides a common\n * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as\n * providing a way of rendering to these APIs outside of the React render loop\n * for more performant animations and interactions\n */\n context.visualElement = useVisualElement(Component, visualState, tslib.__assign(tslib.__assign({}, config), props), createVisualElement);\n useProjection(projectionId, props, context.visualElement, projectionNodeConstructor ||\n featureDefinitions.projectionNodeConstructor);\n /**\n * Load Motion gesture and animation features. These are rendered as renderless\n * components so each feature can optionally make use of React lifecycle methods.\n */\n features = useFeatures(props, context.visualElement, preloadedFeatures);\n }\n /**\n * The mount order and hierarchy is specific to ensure our element ref\n * is hydrated by the time features fire their effects.\n */\n return (React__namespace.createElement(VisualElementHandler, { visualElement: context.visualElement, props: tslib.__assign(tslib.__assign({}, config), props) },\n features,\n React__namespace.createElement(MotionContext.Provider, { value: context }, useRender(Component, props, projectionId, useMotionRef(visualState, context.visualElement, externalRef), visualState, config.isStatic, context.visualElement))));\n }\n return React.forwardRef(MotionComponent);\n}\nfunction useLayoutId(_a) {\n var _b;\n var layoutId = _a.layoutId;\n var layoutGroupId = (_b = React.useContext(LayoutGroupContext)) === null || _b === void 0 ? void 0 : _b.id;\n return layoutGroupId && layoutId !== undefined\n ? layoutGroupId + \"-\" + layoutId\n : layoutId;\n}\n\n/**\n * Convert any React component into a `motion` component. The provided component\n * **must** use `React.forwardRef` to the underlying DOM component you want to animate.\n *\n * ```jsx\n * const Component = React.forwardRef((props, ref) => {\n * return
\n * })\n *\n * const MotionComponent = motion(Component)\n * ```\n *\n * @public\n */\nfunction createMotionProxy(createConfig) {\n function custom(Component, customMotionComponentConfig) {\n if (customMotionComponentConfig === void 0) { customMotionComponentConfig = {}; }\n return createMotionComponent(createConfig(Component, customMotionComponentConfig));\n }\n if (typeof Proxy === \"undefined\") {\n return custom;\n }\n /**\n * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n * Rather than generating them anew every render.\n */\n var componentCache = new Map();\n return new Proxy(custom, {\n /**\n * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n * The prop name is passed through as `key` and we can use that to generate a `motion`\n * DOM component with that name.\n */\n get: function (_target, key) {\n /**\n * If this element doesn't exist in the component cache, create it and cache.\n */\n if (!componentCache.has(key)) {\n componentCache.set(key, custom(key));\n }\n return componentCache.get(key);\n },\n });\n}\n\n/**\n * We keep these listed seperately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nvar lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"svg\",\n \"switch\",\n \"symbol\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/.test(Component)) {\n return true;\n }\n return false;\n}\n\nvar scaleCorrectors = {};\nfunction addScaleCorrector(correctors) {\n Object.assign(scaleCorrectors, correctors);\n}\n\n/**\n * A list of all transformable axes. We'll use this list to generated a version\n * of each axes for each transform.\n */\nvar transformAxes = [\"\", \"X\", \"Y\", \"Z\"];\n/**\n * An ordered array of each transformable value. By default, transform values\n * will be sorted to this order.\n */\nvar order = [\"translate\", \"scale\", \"rotate\", \"skew\"];\n/**\n * Generate a list of every possible transform key.\n */\nvar transformProps = [\"transformPerspective\", \"x\", \"y\", \"z\"];\norder.forEach(function (operationKey) {\n return transformAxes.forEach(function (axesKey) {\n return transformProps.push(operationKey + axesKey);\n });\n});\n/**\n * A function to use with Array.sort to sort transform keys by their default order.\n */\nfunction sortTransformProps(a, b) {\n return transformProps.indexOf(a) - transformProps.indexOf(b);\n}\n/**\n * A quick lookup for transform props.\n */\nvar transformPropSet = new Set(transformProps);\nfunction isTransformProp(key) {\n return transformPropSet.has(key);\n}\n/**\n * A quick lookup for transform origin props\n */\nvar transformOriginProps = new Set([\"originX\", \"originY\", \"originZ\"]);\nfunction isTransformOriginProp(key) {\n return transformOriginProps.has(key);\n}\n\nfunction isForcedMotionValue(key, _a) {\n var layout = _a.layout, layoutId = _a.layoutId;\n return (isTransformProp(key) ||\n isTransformOriginProp(key) ||\n ((layout || layoutId !== undefined) &&\n (!!scaleCorrectors[key] || key === \"opacity\")));\n}\n\nvar isMotionValue = function (value) {\n return Boolean(value !== null && typeof value === \"object\" && value.getVelocity);\n};\n\nvar translateAlias = {\n x: \"translateX\",\n y: \"translateY\",\n z: \"translateZ\",\n transformPerspective: \"perspective\",\n};\n/**\n * Build a CSS transform style from individual x/y/scale etc properties.\n *\n * This outputs with a default order of transforms/scales/rotations, this can be customised by\n * providing a transformTemplate function.\n */\nfunction buildTransform(_a, _b, transformIsDefault, transformTemplate) {\n var transform = _a.transform, transformKeys = _a.transformKeys;\n var _c = _b.enableHardwareAcceleration, enableHardwareAcceleration = _c === void 0 ? true : _c, _d = _b.allowTransformNone, allowTransformNone = _d === void 0 ? true : _d;\n // The transform string we're going to build into.\n var transformString = \"\";\n // Transform keys into their default order - this will determine the output order.\n transformKeys.sort(sortTransformProps);\n // Track whether the defined transform has a defined z so we don't add a\n // second to enable hardware acceleration\n var transformHasZ = false;\n // Loop over each transform and build them into transformString\n var numTransformKeys = transformKeys.length;\n for (var i = 0; i < numTransformKeys; i++) {\n var key = transformKeys[i];\n transformString += \"\".concat(translateAlias[key] || key, \"(\").concat(transform[key], \") \");\n if (key === \"z\")\n transformHasZ = true;\n }\n if (!transformHasZ && enableHardwareAcceleration) {\n transformString += \"translateZ(0)\";\n }\n else {\n transformString = transformString.trim();\n }\n // If we have a custom `transform` template, pass our transform values and\n // generated transformString to that before returning\n if (transformTemplate) {\n transformString = transformTemplate(transform, transformIsDefault ? \"\" : transformString);\n }\n else if (allowTransformNone && transformIsDefault) {\n transformString = \"none\";\n }\n return transformString;\n}\n/**\n * Build a transformOrigin style. Uses the same defaults as the browser for\n * undefined origins.\n */\nfunction buildTransformOrigin(_a) {\n var _b = _a.originX, originX = _b === void 0 ? \"50%\" : _b, _c = _a.originY, originY = _c === void 0 ? \"50%\" : _c, _d = _a.originZ, originZ = _d === void 0 ? 0 : _d;\n return \"\".concat(originX, \" \").concat(originY, \" \").concat(originZ);\n}\n\n/**\n * Returns true if the provided key is a CSS variable\n */\nfunction isCSSVariable$1(key) {\n return key.startsWith(\"--\");\n}\n\n/**\n * Provided a value and a ValueType, returns the value as that value type.\n */\nvar getValueAsType = function (value, type) {\n return type && typeof value === \"number\"\n ? type.transform(value)\n : value;\n};\n\nvar int = tslib.__assign(tslib.__assign({}, styleValueTypes.number), { transform: Math.round });\n\nvar numberValueTypes = {\n // Border props\n borderWidth: styleValueTypes.px,\n borderTopWidth: styleValueTypes.px,\n borderRightWidth: styleValueTypes.px,\n borderBottomWidth: styleValueTypes.px,\n borderLeftWidth: styleValueTypes.px,\n borderRadius: styleValueTypes.px,\n radius: styleValueTypes.px,\n borderTopLeftRadius: styleValueTypes.px,\n borderTopRightRadius: styleValueTypes.px,\n borderBottomRightRadius: styleValueTypes.px,\n borderBottomLeftRadius: styleValueTypes.px,\n // Positioning props\n width: styleValueTypes.px,\n maxWidth: styleValueTypes.px,\n height: styleValueTypes.px,\n maxHeight: styleValueTypes.px,\n size: styleValueTypes.px,\n top: styleValueTypes.px,\n right: styleValueTypes.px,\n bottom: styleValueTypes.px,\n left: styleValueTypes.px,\n // Spacing props\n padding: styleValueTypes.px,\n paddingTop: styleValueTypes.px,\n paddingRight: styleValueTypes.px,\n paddingBottom: styleValueTypes.px,\n paddingLeft: styleValueTypes.px,\n margin: styleValueTypes.px,\n marginTop: styleValueTypes.px,\n marginRight: styleValueTypes.px,\n marginBottom: styleValueTypes.px,\n marginLeft: styleValueTypes.px,\n // Transform props\n rotate: styleValueTypes.degrees,\n rotateX: styleValueTypes.degrees,\n rotateY: styleValueTypes.degrees,\n rotateZ: styleValueTypes.degrees,\n scale: styleValueTypes.scale,\n scaleX: styleValueTypes.scale,\n scaleY: styleValueTypes.scale,\n scaleZ: styleValueTypes.scale,\n skew: styleValueTypes.degrees,\n skewX: styleValueTypes.degrees,\n skewY: styleValueTypes.degrees,\n distance: styleValueTypes.px,\n translateX: styleValueTypes.px,\n translateY: styleValueTypes.px,\n translateZ: styleValueTypes.px,\n x: styleValueTypes.px,\n y: styleValueTypes.px,\n z: styleValueTypes.px,\n perspective: styleValueTypes.px,\n transformPerspective: styleValueTypes.px,\n opacity: styleValueTypes.alpha,\n originX: styleValueTypes.progressPercentage,\n originY: styleValueTypes.progressPercentage,\n originZ: styleValueTypes.px,\n // Misc\n zIndex: int,\n // SVG\n fillOpacity: styleValueTypes.alpha,\n strokeOpacity: styleValueTypes.alpha,\n numOctaves: int,\n};\n\nfunction buildHTMLStyles(state, latestValues, options, transformTemplate) {\n var _a;\n var style = state.style, vars = state.vars, transform = state.transform, transformKeys = state.transformKeys, transformOrigin = state.transformOrigin;\n // Empty the transformKeys array. As we're throwing out refs to its items\n // this might not be as cheap as suspected. Maybe using the array as a buffer\n // with a manual incrementation would be better.\n transformKeys.length = 0;\n // Track whether we encounter any transform or transformOrigin values.\n var hasTransform = false;\n var hasTransformOrigin = false;\n // Does the calculated transform essentially equal \"none\"?\n var transformIsNone = true;\n /**\n * Loop over all our latest animated values and decide whether to handle them\n * as a style or CSS variable.\n *\n * Transforms and transform origins are kept seperately for further processing.\n */\n for (var key in latestValues) {\n var value = latestValues[key];\n /**\n * If this is a CSS variable we don't do any further processing.\n */\n if (isCSSVariable$1(key)) {\n vars[key] = value;\n continue;\n }\n // Convert the value to its default value type, ie 0 -> \"0px\"\n var valueType = numberValueTypes[key];\n var valueAsType = getValueAsType(value, valueType);\n if (isTransformProp(key)) {\n // If this is a transform, flag to enable further transform processing\n hasTransform = true;\n transform[key] = valueAsType;\n transformKeys.push(key);\n // If we already know we have a non-default transform, early return\n if (!transformIsNone)\n continue;\n // Otherwise check to see if this is a default transform\n if (value !== ((_a = valueType.default) !== null && _a !== void 0 ? _a : 0))\n transformIsNone = false;\n }\n else if (isTransformOriginProp(key)) {\n transformOrigin[key] = valueAsType;\n // If this is a transform origin, flag and enable further transform-origin processing\n hasTransformOrigin = true;\n }\n else {\n style[key] = valueAsType;\n }\n }\n if (hasTransform) {\n style.transform = buildTransform(state, options, transformIsNone, transformTemplate);\n }\n else if (transformTemplate) {\n style.transform = transformTemplate({}, \"\");\n }\n else if (!latestValues.transform && style.transform) {\n style.transform = \"none\";\n }\n if (hasTransformOrigin) {\n style.transformOrigin = buildTransformOrigin(transformOrigin);\n }\n}\n\nvar createHtmlRenderState = function () { return ({\n style: {},\n transform: {},\n transformKeys: [],\n transformOrigin: {},\n vars: {},\n}); };\n\nfunction copyRawValuesOnly(target, source, props) {\n for (var key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues(_a, visualState, isStatic) {\n var transformTemplate = _a.transformTemplate;\n return React.useMemo(function () {\n var state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, { enableHardwareAcceleration: !isStatic }, transformTemplate);\n var vars = state.vars, style = state.style;\n return tslib.__assign(tslib.__assign({}, vars), style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState, isStatic) {\n var styleProp = props.style || {};\n var style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState, isStatic));\n if (props.transformValues) {\n style = props.transformValues(style);\n }\n return style;\n}\nfunction useHTMLProps(props, visualState, isStatic) {\n // The `any` isn't ideal but it is the type of createElement props argument\n var htmlProps = {};\n var style = useStyle(props, visualState, isStatic);\n if (Boolean(props.drag) && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : \"pan-\".concat(props.drag === \"x\" ? \"y\" : \"x\");\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\n/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nvar validMotionProps = new Set([\n \"initial\",\n \"animate\",\n \"exit\",\n \"style\",\n \"variants\",\n \"transition\",\n \"transformTemplate\",\n \"transformValues\",\n \"custom\",\n \"inherit\",\n \"layout\",\n \"layoutId\",\n \"layoutDependency\",\n \"onLayoutAnimationStart\",\n \"onLayoutAnimationComplete\",\n \"onLayoutMeasure\",\n \"onBeforeLayoutMeasure\",\n \"onAnimationStart\",\n \"onAnimationComplete\",\n \"onUpdate\",\n \"onDragStart\",\n \"onDrag\",\n \"onDragEnd\",\n \"onMeasureDragConstraints\",\n \"onDirectionLock\",\n \"onDragTransitionEnd\",\n \"drag\",\n \"dragControls\",\n \"dragListener\",\n \"dragConstraints\",\n \"dragDirectionLock\",\n \"dragSnapToOrigin\",\n \"_dragX\",\n \"_dragY\",\n \"dragElastic\",\n \"dragMomentum\",\n \"dragPropagation\",\n \"dragTransition\",\n \"whileDrag\",\n \"onPan\",\n \"onPanStart\",\n \"onPanEnd\",\n \"onPanSessionStart\",\n \"onTap\",\n \"onTapStart\",\n \"onTapCancel\",\n \"onHoverStart\",\n \"onHoverEnd\",\n \"whileFocus\",\n \"whileTap\",\n \"whileHover\",\n \"whileInView\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n \"viewport\",\n \"layoutScroll\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n return validMotionProps.has(key);\n}\n\nvar shouldForward = function (key) { return !isValidMotionProp(key); };\nfunction loadExternalIsValidProp(isValidProp) {\n if (!isValidProp)\n return;\n // Explicitly filter our events\n shouldForward = function (key) {\n return key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n };\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n */\n loadExternalIsValidProp(require(\"@emotion/is-prop-valid\").default);\n}\ncatch (_a) {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n var filteredProps = {};\n for (var key in props) {\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] && key.startsWith(\"onDrag\"))) {\n filteredProps[key] = props[key];\n }\n }\n return filteredProps;\n}\n\nfunction calcOrigin$1(origin, offset, size) {\n return typeof origin === \"string\"\n ? origin\n : styleValueTypes.px.transform(offset + size * origin);\n}\n/**\n * The SVG transform origin defaults are different to CSS and is less intuitive,\n * so we use the measured dimensions of the SVG to reconcile these.\n */\nfunction calcSVGTransformOrigin(dimensions, originX, originY) {\n var pxOriginX = calcOrigin$1(originX, dimensions.x, dimensions.width);\n var pxOriginY = calcOrigin$1(originY, dimensions.y, dimensions.height);\n return \"\".concat(pxOriginX, \" \").concat(pxOriginY);\n}\n\nvar dashKeys = {\n offset: \"stroke-dashoffset\",\n array: \"stroke-dasharray\",\n};\nvar camelKeys = {\n offset: \"strokeDashoffset\",\n array: \"strokeDasharray\",\n};\n/**\n * Build SVG path properties. Uses the path's measured length to convert\n * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset\n * and stroke-dasharray attributes.\n *\n * This function is mutative to reduce per-frame GC.\n */\nfunction buildSVGPath(attrs, length, spacing, offset, useDashCase) {\n if (spacing === void 0) { spacing = 1; }\n if (offset === void 0) { offset = 0; }\n if (useDashCase === void 0) { useDashCase = true; }\n // Normalise path length by setting SVG attribute pathLength to 1\n attrs.pathLength = 1;\n // We use dash case when setting attributes directly to the DOM node and camel case\n // when defining props on a React component.\n var keys = useDashCase ? dashKeys : camelKeys;\n // Build the dash offset\n attrs[keys.offset] = styleValueTypes.px.transform(-offset);\n // Build the dash array\n var pathLength = styleValueTypes.px.transform(length);\n var pathSpacing = styleValueTypes.px.transform(spacing);\n attrs[keys.array] = \"\".concat(pathLength, \" \").concat(pathSpacing);\n}\n\n/**\n * Build SVG visual attrbutes, like cx and style.transform\n */\nfunction buildSVGAttrs(state, _a, options, transformTemplate) {\n var attrX = _a.attrX, attrY = _a.attrY, originX = _a.originX, originY = _a.originY, pathLength = _a.pathLength, _b = _a.pathSpacing, pathSpacing = _b === void 0 ? 1 : _b, _c = _a.pathOffset, pathOffset = _c === void 0 ? 0 : _c, \n // This is object creation, which we try to avoid per-frame.\n latest = tslib.__rest(_a, [\"attrX\", \"attrY\", \"originX\", \"originY\", \"pathLength\", \"pathSpacing\", \"pathOffset\"]);\n buildHTMLStyles(state, latest, options, transformTemplate);\n state.attrs = state.style;\n state.style = {};\n var attrs = state.attrs, style = state.style, dimensions = state.dimensions;\n /**\n * However, we apply transforms as CSS transforms. So if we detect a transform we take it from attrs\n * and copy it into style.\n */\n if (attrs.transform) {\n if (dimensions)\n style.transform = attrs.transform;\n delete attrs.transform;\n }\n // Parse transformOrigin\n if (dimensions &&\n (originX !== undefined || originY !== undefined || style.transform)) {\n style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== undefined ? originX : 0.5, originY !== undefined ? originY : 0.5);\n }\n // Treat x/y not as shortcuts but as actual attributes\n if (attrX !== undefined)\n attrs.x = attrX;\n if (attrY !== undefined)\n attrs.y = attrY;\n // Build SVG path if one has been defined\n if (pathLength !== undefined) {\n buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);\n }\n}\n\nvar createSvgRenderState = function () { return (tslib.__assign(tslib.__assign({}, createHtmlRenderState()), { attrs: {} })); };\n\nfunction useSVGProps(props, visualState) {\n var visualProps = React.useMemo(function () {\n var state = createSvgRenderState();\n buildSVGAttrs(state, visualState, { enableHardwareAcceleration: false }, props.transformTemplate);\n return tslib.__assign(tslib.__assign({}, state.attrs), { style: tslib.__assign({}, state.style) });\n }, [visualState]);\n if (props.style) {\n var rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = tslib.__assign(tslib.__assign({}, rawStyles), visualProps.style);\n }\n return visualProps;\n}\n\nfunction createUseRender(forwardMotionProps) {\n if (forwardMotionProps === void 0) { forwardMotionProps = false; }\n var useRender = function (Component, props, projectionId, ref, _a, isStatic) {\n var latestValues = _a.latestValues;\n var useVisualProps = isSVGComponent(Component)\n ? useSVGProps\n : useHTMLProps;\n var visualProps = useVisualProps(props, latestValues, isStatic);\n var filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n var elementProps = tslib.__assign(tslib.__assign(tslib.__assign({}, filteredProps), visualProps), { ref: ref });\n if (projectionId) {\n elementProps[\"data-projection-id\"] = projectionId;\n }\n return React.createElement(Component, elementProps);\n };\n return useRender;\n}\n\nvar CAMEL_CASE_PATTERN = /([a-z])([A-Z])/g;\nvar REPLACE_TEMPLATE = \"$1-$2\";\n/**\n * Convert camelCase to dash-case properties.\n */\nvar camelToDash = function (str) {\n return str.replace(CAMEL_CASE_PATTERN, REPLACE_TEMPLATE).toLowerCase();\n};\n\nfunction renderHTML(element, _a, styleProp, projection) {\n var style = _a.style, vars = _a.vars;\n Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));\n // Loop over any CSS variables and assign those.\n for (var key in vars) {\n element.style.setProperty(key, vars[key]);\n }\n}\n\n/**\n * A set of attribute names that are always read/written as camel case.\n */\nvar camelCaseAttributes = new Set([\n \"baseFrequency\",\n \"diffuseConstant\",\n \"kernelMatrix\",\n \"kernelUnitLength\",\n \"keySplines\",\n \"keyTimes\",\n \"limitingConeAngle\",\n \"markerHeight\",\n \"markerWidth\",\n \"numOctaves\",\n \"targetX\",\n \"targetY\",\n \"surfaceScale\",\n \"specularConstant\",\n \"specularExponent\",\n \"stdDeviation\",\n \"tableValues\",\n \"viewBox\",\n \"gradientTransform\",\n \"pathLength\",\n]);\n\nfunction renderSVG(element, renderState, _styleProp, projection) {\n renderHTML(element, renderState, undefined, projection);\n for (var key in renderState.attrs) {\n element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);\n }\n}\n\nfunction scrapeMotionValuesFromProps$1(props) {\n var style = props.style;\n var newValues = {};\n for (var key in style) {\n if (isMotionValue(style[key]) || isForcedMotionValue(key, props)) {\n newValues[key] = style[key];\n }\n }\n return newValues;\n}\n\nfunction scrapeMotionValuesFromProps(props) {\n var newValues = scrapeMotionValuesFromProps$1(props);\n for (var key in props) {\n if (isMotionValue(props[key])) {\n var targetKey = key === \"x\" || key === \"y\" ? \"attr\" + key.toUpperCase() : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\n\nfunction isAnimationControls(v) {\n return typeof v === \"object\" && typeof v.start === \"function\";\n}\n\nvar isKeyframesTarget = function (v) {\n return Array.isArray(v);\n};\n\nvar isCustomValue = function (v) {\n return Boolean(v && typeof v === \"object\" && v.mix && v.toValue);\n};\nvar resolveFinalValueInKeyframes = function (v) {\n // TODO maybe throw if v.length - 1 is placeholder token?\n return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;\n};\n\n/**\n * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself\n *\n * TODO: Remove and move to library\n */\nfunction resolveMotionValue(value) {\n var unwrappedValue = isMotionValue(value) ? value.get() : value;\n return isCustomValue(unwrappedValue)\n ? unwrappedValue.toValue()\n : unwrappedValue;\n}\n\nfunction makeState(_a, props, context, presenceContext) {\n var scrapeMotionValuesFromProps = _a.scrapeMotionValuesFromProps, createRenderState = _a.createRenderState, onMount = _a.onMount;\n var state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n if (onMount) {\n state.mount = function (instance) { return onMount(props, instance, state); };\n }\n return state;\n}\nvar makeUseVisualState = function (config) {\n return function (props, isStatic) {\n var context = React.useContext(MotionContext);\n var presenceContext = React.useContext(PresenceContext);\n return isStatic\n ? makeState(config, props, context, presenceContext)\n : useConstant(function () {\n return makeState(config, props, context, presenceContext);\n });\n };\n};\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n var values = {};\n var blockInitialAnimation = (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false;\n var motionValues = scrapeMotionValues(props);\n for (var key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n var initial = props.initial, animate = props.animate;\n var isControllingVariants = checkIfControllingVariants(props);\n var isVariantNode = checkIfVariantNode(props);\n if (context &&\n isVariantNode &&\n !isControllingVariants &&\n props.inherit !== false) {\n initial !== null && initial !== void 0 ? initial : (initial = context.initial);\n animate !== null && animate !== void 0 ? animate : (animate = context.animate);\n }\n var initialAnimationIsBlocked = blockInitialAnimation || initial === false;\n var variantToSet = initialAnimationIsBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n var list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n list.forEach(function (definition) {\n var resolved = resolveVariantFromProps(props, definition);\n if (!resolved)\n return;\n var transitionEnd = resolved.transitionEnd; resolved.transition; var target = tslib.__rest(resolved, [\"transitionEnd\", \"transition\"]);\n for (var key in target) {\n var valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n var index = initialAnimationIsBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (var key in transitionEnd)\n values[key] = transitionEnd[key];\n });\n }\n return values;\n}\n\nvar svgMotionConfig = {\n useVisualState: makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n onMount: function (props, instance, _a) {\n var renderState = _a.renderState, latestValues = _a.latestValues;\n try {\n renderState.dimensions =\n typeof instance.getBBox ===\n \"function\"\n ? instance.getBBox()\n : instance.getBoundingClientRect();\n }\n catch (e) {\n // Most likely trying to measure an unrendered element under Firefox\n renderState.dimensions = {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n };\n }\n buildSVGAttrs(renderState, latestValues, { enableHardwareAcceleration: false }, props.transformTemplate);\n renderSVG(instance, renderState);\n },\n }),\n};\n\nvar htmlMotionConfig = {\n useVisualState: makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeMotionValuesFromProps$1,\n createRenderState: createHtmlRenderState,\n }),\n};\n\nfunction createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement, projectionNodeConstructor) {\n var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;\n var baseConfig = isSVGComponent(Component)\n ? svgMotionConfig\n : htmlMotionConfig;\n return tslib.__assign(tslib.__assign({}, baseConfig), { preloadedFeatures: preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement: createVisualElement, projectionNodeConstructor: projectionNodeConstructor, Component: Component });\n}\n\nexports.AnimationType = void 0;\n(function (AnimationType) {\n AnimationType[\"Animate\"] = \"animate\";\n AnimationType[\"Hover\"] = \"whileHover\";\n AnimationType[\"Tap\"] = \"whileTap\";\n AnimationType[\"Drag\"] = \"whileDrag\";\n AnimationType[\"Focus\"] = \"whileFocus\";\n AnimationType[\"InView\"] = \"whileInView\";\n AnimationType[\"Exit\"] = \"exit\";\n})(exports.AnimationType || (exports.AnimationType = {}));\n\nfunction addDomEvent(target, eventName, handler, options) {\n if (options === void 0) { options = { passive: true }; }\n target.addEventListener(eventName, handler, options);\n return function () { return target.removeEventListener(eventName, handler); };\n}\n/**\n * Attaches an event listener directly to the provided DOM element.\n *\n * Bypassing React's event system can be desirable, for instance when attaching non-passive\n * event handlers.\n *\n * ```jsx\n * const ref = useRef(null)\n *\n * useDomEvent(ref, 'wheel', onWheel, { passive: false })\n *\n * return
\n * ```\n *\n * @param ref - React.RefObject that's been provided to the element you want to bind the listener to.\n * @param eventName - Name of the event you want listen for.\n * @param handler - Function to fire when receiving the event.\n * @param options - Options to pass to `Event.addEventListener`.\n *\n * @public\n */\nfunction useDomEvent(ref, eventName, handler, options) {\n React.useEffect(function () {\n var element = ref.current;\n if (handler && element) {\n return addDomEvent(element, eventName, handler, options);\n }\n }, [ref, eventName, handler, options]);\n}\n\n/**\n *\n * @param props\n * @param ref\n * @internal\n */\nfunction useFocusGesture(_a) {\n var whileFocus = _a.whileFocus, visualElement = _a.visualElement;\n var onFocus = function () {\n var _a;\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Focus, true);\n };\n var onBlur = function () {\n var _a;\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Focus, false);\n };\n useDomEvent(visualElement, \"focus\", whileFocus ? onFocus : undefined);\n useDomEvent(visualElement, \"blur\", whileFocus ? onBlur : undefined);\n}\n\nfunction isMouseEvent(event) {\n // PointerEvent inherits from MouseEvent so we can't use a straight instanceof check.\n if (typeof PointerEvent !== \"undefined\" && event instanceof PointerEvent) {\n return !!(event.pointerType === \"mouse\");\n }\n return event instanceof MouseEvent;\n}\nfunction isTouchEvent(event) {\n var hasTouches = !!event.touches;\n return hasTouches;\n}\n\n/**\n * Filters out events not attached to the primary pointer (currently left mouse button)\n * @param eventHandler\n */\nfunction filterPrimaryPointer(eventHandler) {\n return function (event) {\n var isMouseEvent = event instanceof MouseEvent;\n var isPrimaryPointer = !isMouseEvent ||\n (isMouseEvent && event.button === 0);\n if (isPrimaryPointer) {\n eventHandler(event);\n }\n };\n}\nvar defaultPagePoint = { pageX: 0, pageY: 0 };\nfunction pointFromTouch(e, pointType) {\n if (pointType === void 0) { pointType = \"page\"; }\n var primaryTouch = e.touches[0] || e.changedTouches[0];\n var point = primaryTouch || defaultPagePoint;\n return {\n x: point[pointType + \"X\"],\n y: point[pointType + \"Y\"],\n };\n}\nfunction pointFromMouse(point, pointType) {\n if (pointType === void 0) { pointType = \"page\"; }\n return {\n x: point[pointType + \"X\"],\n y: point[pointType + \"Y\"],\n };\n}\nfunction extractEventInfo(event, pointType) {\n if (pointType === void 0) { pointType = \"page\"; }\n return {\n point: isTouchEvent(event)\n ? pointFromTouch(event, pointType)\n : pointFromMouse(event, pointType),\n };\n}\nvar wrapHandler = function (handler, shouldFilterPrimaryPointer) {\n if (shouldFilterPrimaryPointer === void 0) { shouldFilterPrimaryPointer = false; }\n var listener = function (event) {\n return handler(event, extractEventInfo(event));\n };\n return shouldFilterPrimaryPointer\n ? filterPrimaryPointer(listener)\n : listener;\n};\n\n// We check for event support via functions in case they've been mocked by a testing suite.\nvar supportsPointerEvents = function () {\n return isBrowser && window.onpointerdown === null;\n};\nvar supportsTouchEvents = function () {\n return isBrowser && window.ontouchstart === null;\n};\nvar supportsMouseEvents = function () {\n return isBrowser && window.onmousedown === null;\n};\n\nvar mouseEventNames = {\n pointerdown: \"mousedown\",\n pointermove: \"mousemove\",\n pointerup: \"mouseup\",\n pointercancel: \"mousecancel\",\n pointerover: \"mouseover\",\n pointerout: \"mouseout\",\n pointerenter: \"mouseenter\",\n pointerleave: \"mouseleave\",\n};\nvar touchEventNames = {\n pointerdown: \"touchstart\",\n pointermove: \"touchmove\",\n pointerup: \"touchend\",\n pointercancel: \"touchcancel\",\n};\nfunction getPointerEventName(name) {\n if (supportsPointerEvents()) {\n return name;\n }\n else if (supportsTouchEvents()) {\n return touchEventNames[name];\n }\n else if (supportsMouseEvents()) {\n return mouseEventNames[name];\n }\n return name;\n}\nfunction addPointerEvent(target, eventName, handler, options) {\n return addDomEvent(target, getPointerEventName(eventName), wrapHandler(handler, eventName === \"pointerdown\"), options);\n}\nfunction usePointerEvent(ref, eventName, handler, options) {\n return useDomEvent(ref, getPointerEventName(eventName), handler && wrapHandler(handler, eventName === \"pointerdown\"), options);\n}\n\nfunction createLock(name) {\n var lock = null;\n return function () {\n var openLock = function () {\n lock = null;\n };\n if (lock === null) {\n lock = name;\n return openLock;\n }\n return false;\n };\n}\nvar globalHorizontalLock = createLock(\"dragHorizontal\");\nvar globalVerticalLock = createLock(\"dragVertical\");\nfunction getGlobalLock(drag) {\n var lock = false;\n if (drag === \"y\") {\n lock = globalVerticalLock();\n }\n else if (drag === \"x\") {\n lock = globalHorizontalLock();\n }\n else {\n var openHorizontal_1 = globalHorizontalLock();\n var openVertical_1 = globalVerticalLock();\n if (openHorizontal_1 && openVertical_1) {\n lock = function () {\n openHorizontal_1();\n openVertical_1();\n };\n }\n else {\n // Release the locks because we don't use them\n if (openHorizontal_1)\n openHorizontal_1();\n if (openVertical_1)\n openVertical_1();\n }\n }\n return lock;\n}\nfunction isDragActive() {\n // Check the gesture lock - if we get it, it means no drag gesture is active\n // and we can safely fire the tap gesture.\n var openGestureLock = getGlobalLock(true);\n if (!openGestureLock)\n return true;\n openGestureLock();\n return false;\n}\n\nfunction createHoverEvent(visualElement, isActive, callback) {\n return function (event, info) {\n var _a;\n if (!isMouseEvent(event) || isDragActive())\n return;\n /**\n * Ensure we trigger animations before firing event callback\n */\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Hover, isActive);\n callback === null || callback === void 0 ? void 0 : callback(event, info);\n };\n}\nfunction useHoverGesture(_a) {\n var onHoverStart = _a.onHoverStart, onHoverEnd = _a.onHoverEnd, whileHover = _a.whileHover, visualElement = _a.visualElement;\n usePointerEvent(visualElement, \"pointerenter\", onHoverStart || whileHover\n ? createHoverEvent(visualElement, true, onHoverStart)\n : undefined, { passive: !onHoverStart });\n usePointerEvent(visualElement, \"pointerleave\", onHoverEnd || whileHover\n ? createHoverEvent(visualElement, false, onHoverEnd)\n : undefined, { passive: !onHoverEnd });\n}\n\n/**\n * Recursively traverse up the tree to check whether the provided child node\n * is the parent or a descendant of it.\n *\n * @param parent - Element to find\n * @param child - Element to test against parent\n */\nvar isNodeOrChild = function (parent, child) {\n if (!child) {\n return false;\n }\n else if (parent === child) {\n return true;\n }\n else {\n return isNodeOrChild(parent, child.parentElement);\n }\n};\n\nfunction useUnmountEffect(callback) {\n return React.useEffect(function () { return function () { return callback(); }; }, []);\n}\n\n/**\n * @param handlers -\n * @internal\n */\nfunction useTapGesture(_a) {\n var onTap = _a.onTap, onTapStart = _a.onTapStart, onTapCancel = _a.onTapCancel, whileTap = _a.whileTap, visualElement = _a.visualElement;\n var hasPressListeners = onTap || onTapStart || onTapCancel || whileTap;\n var isPressing = React.useRef(false);\n var cancelPointerEndListeners = React.useRef(null);\n /**\n * Only set listener to passive if there are no external listeners.\n */\n var eventOptions = {\n passive: !(onTapStart || onTap || onTapCancel || onPointerDown),\n };\n function removePointerEndListener() {\n var _a;\n (_a = cancelPointerEndListeners.current) === null || _a === void 0 ? void 0 : _a.call(cancelPointerEndListeners);\n cancelPointerEndListeners.current = null;\n }\n function checkPointerEnd() {\n var _a;\n removePointerEndListener();\n isPressing.current = false;\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Tap, false);\n return !isDragActive();\n }\n function onPointerUp(event, info) {\n if (!checkPointerEnd())\n return;\n /**\n * We only count this as a tap gesture if the event.target is the same\n * as, or a child of, this component's element\n */\n !isNodeOrChild(visualElement.getInstance(), event.target)\n ? onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info)\n : onTap === null || onTap === void 0 ? void 0 : onTap(event, info);\n }\n function onPointerCancel(event, info) {\n if (!checkPointerEnd())\n return;\n onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info);\n }\n function onPointerDown(event, info) {\n var _a;\n removePointerEndListener();\n if (isPressing.current)\n return;\n isPressing.current = true;\n cancelPointerEndListeners.current = popmotion.pipe(addPointerEvent(window, \"pointerup\", onPointerUp, eventOptions), addPointerEvent(window, \"pointercancel\", onPointerCancel, eventOptions));\n /**\n * Ensure we trigger animations before firing event callback\n */\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Tap, true);\n onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info);\n }\n usePointerEvent(visualElement, \"pointerdown\", hasPressListeners ? onPointerDown : undefined, eventOptions);\n useUnmountEffect(removePointerEndListener);\n}\n\nvar warned = new Set();\nfunction warnOnce(condition, message, element) {\n if (condition || warned.has(message))\n return;\n console.warn(message);\n if (element)\n console.warn(element);\n warned.add(message);\n}\n\n/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nvar observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nvar observers = new WeakMap();\nvar fireObserverCallback = function (entry) {\n var _a;\n (_a = observerCallbacks.get(entry.target)) === null || _a === void 0 ? void 0 : _a(entry);\n};\nvar fireAllObserverCallbacks = function (entries) {\n entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver(_a) {\n var root = _a.root, options = tslib.__rest(_a, [\"root\"]);\n var lookupRoot = root || document;\n /**\n * If we don't have an observer lookup map for this root, create one.\n */\n if (!observers.has(lookupRoot)) {\n observers.set(lookupRoot, {});\n }\n var rootObservers = observers.get(lookupRoot);\n var key = JSON.stringify(options);\n /**\n * If we don't have an observer for this combination of root and settings,\n * create one.\n */\n if (!rootObservers[key]) {\n rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, tslib.__assign({ root: root }, options));\n }\n return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n var rootInteresectionObserver = initIntersectionObserver(options);\n observerCallbacks.set(element, callback);\n rootInteresectionObserver.observe(element);\n return function () {\n observerCallbacks.delete(element);\n rootInteresectionObserver.unobserve(element);\n };\n}\n\nfunction useViewport(_a) {\n var visualElement = _a.visualElement, whileInView = _a.whileInView, onViewportEnter = _a.onViewportEnter, onViewportLeave = _a.onViewportLeave, _b = _a.viewport, viewport = _b === void 0 ? {} : _b;\n var state = React.useRef({\n hasEnteredView: false,\n isInView: false,\n });\n var shouldObserve = Boolean(whileInView || onViewportEnter || onViewportLeave);\n if (viewport.once && state.current.hasEnteredView)\n shouldObserve = false;\n var useObserver = typeof IntersectionObserver === \"undefined\"\n ? useMissingIntersectionObserver\n : useIntersectionObserver;\n useObserver(shouldObserve, state.current, visualElement, viewport);\n}\nvar thresholdNames = {\n some: 0,\n all: 1,\n};\nfunction useIntersectionObserver(shouldObserve, state, visualElement, _a) {\n var root = _a.root, rootMargin = _a.margin, _b = _a.amount, amount = _b === void 0 ? \"some\" : _b, once = _a.once;\n React.useEffect(function () {\n if (!shouldObserve)\n return;\n var options = {\n root: root === null || root === void 0 ? void 0 : root.current,\n rootMargin: rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholdNames[amount],\n };\n var intersectionCallback = function (entry) {\n var _a;\n var isIntersecting = entry.isIntersecting;\n /**\n * If there's been no change in the viewport state, early return.\n */\n if (state.isInView === isIntersecting)\n return;\n state.isInView = isIntersecting;\n /**\n * Handle hasEnteredView. If this is only meant to run once, and\n * element isn't visible, early return. Otherwise set hasEnteredView to true.\n */\n if (once && !isIntersecting && state.hasEnteredView) {\n return;\n }\n else if (isIntersecting) {\n state.hasEnteredView = true;\n }\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.InView, isIntersecting);\n /**\n * Use the latest committed props rather than the ones in scope\n * when this observer is created\n */\n var props = visualElement.getProps();\n var callback = isIntersecting\n ? props.onViewportEnter\n : props.onViewportLeave;\n callback === null || callback === void 0 ? void 0 : callback(entry);\n };\n return observeIntersection(visualElement.getInstance(), options, intersectionCallback);\n }, [shouldObserve, root, rootMargin, amount]);\n}\n/**\n * If IntersectionObserver is missing, we activate inView and fire onViewportEnter\n * on mount. This way, the page will be in the state the author expects users\n * to see it in for everyone.\n */\nfunction useMissingIntersectionObserver(shouldObserve, state, visualElement, _a) {\n var _b = _a.fallback, fallback = _b === void 0 ? true : _b;\n React.useEffect(function () {\n if (!shouldObserve || !fallback)\n return;\n if (env !== \"production\") {\n warnOnce(false, \"IntersectionObserver not available on this device. whileInView animations will trigger on mount.\");\n }\n /**\n * Fire this in an rAF because, at this point, the animation state\n * won't have flushed for the first time and there's certain logic in\n * there that behaves differently on the initial animation.\n *\n * This hook should be quite rarely called so setting this in an rAF\n * is preferred to changing the behaviour of the animation state.\n */\n requestAnimationFrame(function () {\n var _a;\n state.hasEnteredView = true;\n var onViewportEnter = visualElement.getProps().onViewportEnter;\n onViewportEnter === null || onViewportEnter === void 0 ? void 0 : onViewportEnter(null);\n (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.InView, true);\n });\n }, [shouldObserve]);\n}\n\nvar makeRenderlessComponent = function (hook) { return function (props) {\n hook(props);\n return null;\n}; };\n\nvar gestureAnimations = {\n inView: makeRenderlessComponent(useViewport),\n tap: makeRenderlessComponent(useTapGesture),\n focus: makeRenderlessComponent(useFocusGesture),\n hover: makeRenderlessComponent(useHoverGesture),\n};\n\nvar counter = 0;\nvar incrementId = function () { return counter++; };\nvar useId = function () { return useConstant(incrementId); };\n/**\n * Ideally we'd use the following code to support React 18 optionally.\n * But this fairly fails in Webpack (otherwise treeshaking wouldn't work at all).\n * Need to come up with a different way of figuring this out.\n */\n// export const useId = (React as any).useId\n// ? (React as any).useId\n// : () => useConstant(incrementId)\n\n/**\n * When a component is the child of `AnimatePresence`, it can use `usePresence`\n * to access information about whether it's still present in the React tree.\n *\n * ```jsx\n * import { usePresence } from \"framer-motion\"\n *\n * export const Component = () => {\n * const [isPresent, safeToRemove] = usePresence()\n *\n * useEffect(() => {\n * !isPresent && setTimeout(safeToRemove, 1000)\n * }, [isPresent])\n *\n * return
\n * }\n * ```\n *\n * If `isPresent` is `false`, it means that a component has been removed the tree, but\n * `AnimatePresence` won't really remove it until `safeToRemove` has been called.\n *\n * @public\n */\nfunction usePresence() {\n var context = React.useContext(PresenceContext);\n if (context === null)\n return [true, null];\n var isPresent = context.isPresent, onExitComplete = context.onExitComplete, register = context.register;\n // It's safe to call the following hooks conditionally (after an early return) because the context will always\n // either be null or non-null for the lifespan of the component.\n // Replace with useId when released in React\n var id = useId();\n React.useEffect(function () { return register(id); }, []);\n var safeToRemove = function () { return onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete(id); };\n return !isPresent && onExitComplete ? [false, safeToRemove] : [true];\n}\n/**\n * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.\n * There is no `safeToRemove` function.\n *\n * ```jsx\n * import { useIsPresent } from \"framer-motion\"\n *\n * export const Component = () => {\n * const isPresent = useIsPresent()\n *\n * useEffect(() => {\n * !isPresent && console.log(\"I've been removed!\")\n * }, [isPresent])\n *\n * return
\n * }\n * ```\n *\n * @public\n */\nfunction useIsPresent() {\n return isPresent(React.useContext(PresenceContext));\n}\nfunction isPresent(context) {\n return context === null ? true : context.isPresent;\n}\n\nfunction shallowCompare(next, prev) {\n if (!Array.isArray(prev))\n return false;\n var prevLength = prev.length;\n if (prevLength !== next.length)\n return false;\n for (var i = 0; i < prevLength; i++) {\n if (prev[i] !== next[i])\n return false;\n }\n return true;\n}\n\n/**\n * Converts seconds to milliseconds\n *\n * @param seconds - Time in seconds.\n * @return milliseconds - Converted time in milliseconds.\n */\nvar secondsToMilliseconds = function (seconds) { return seconds * 1000; };\n\nvar easingLookup = {\n linear: popmotion.linear,\n easeIn: popmotion.easeIn,\n easeInOut: popmotion.easeInOut,\n easeOut: popmotion.easeOut,\n circIn: popmotion.circIn,\n circInOut: popmotion.circInOut,\n circOut: popmotion.circOut,\n backIn: popmotion.backIn,\n backInOut: popmotion.backInOut,\n backOut: popmotion.backOut,\n anticipate: popmotion.anticipate,\n bounceIn: popmotion.bounceIn,\n bounceInOut: popmotion.bounceInOut,\n bounceOut: popmotion.bounceOut,\n};\nvar easingDefinitionToFunction = function (definition) {\n if (Array.isArray(definition)) {\n // If cubic bezier definition, create bezier curve\n heyListen.invariant(definition.length === 4, \"Cubic bezier arrays must contain four numerical values.\");\n var _a = tslib.__read(definition, 4), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];\n return popmotion.cubicBezier(x1, y1, x2, y2);\n }\n else if (typeof definition === \"string\") {\n // Else lookup from table\n heyListen.invariant(easingLookup[definition] !== undefined, \"Invalid easing type '\".concat(definition, \"'\"));\n return easingLookup[definition];\n }\n return definition;\n};\nvar isEasingArray = function (ease) {\n return Array.isArray(ease) && typeof ease[0] !== \"number\";\n};\n\n/**\n * Check if a value is animatable. Examples:\n *\n * \u2705: 100, \"100px\", \"#fff\"\n * \u274C: \"block\", \"url(2.jpg)\"\n * @param value\n *\n * @internal\n */\nvar isAnimatable = function (key, value) {\n // If the list of keys tat might be non-animatable grows, replace with Set\n if (key === \"zIndex\")\n return false;\n // If it's a number or a keyframes array, we can animate it. We might at some point\n // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,\n // but for now lets leave it like this for performance reasons\n if (typeof value === \"number\" || Array.isArray(value))\n return true;\n if (typeof value === \"string\" && // It's animatable if we have a string\n styleValueTypes.complex.test(value) && // And it contains numbers and/or colors\n !value.startsWith(\"url(\") // Unless it starts with \"url(\"\n ) {\n return true;\n }\n return false;\n};\n\nvar underDampedSpring = function () { return ({\n type: \"spring\",\n stiffness: 500,\n damping: 25,\n restSpeed: 10,\n}); };\nvar criticallyDampedSpring = function (to) { return ({\n type: \"spring\",\n stiffness: 550,\n damping: to === 0 ? 2 * Math.sqrt(550) : 30,\n restSpeed: 10,\n}); };\nvar linearTween = function () { return ({\n type: \"keyframes\",\n ease: \"linear\",\n duration: 0.3,\n}); };\nvar keyframes = function (values) { return ({\n type: \"keyframes\",\n duration: 0.8,\n values: values,\n}); };\nvar defaultTransitions = {\n x: underDampedSpring,\n y: underDampedSpring,\n z: underDampedSpring,\n rotate: underDampedSpring,\n rotateX: underDampedSpring,\n rotateY: underDampedSpring,\n rotateZ: underDampedSpring,\n scaleX: criticallyDampedSpring,\n scaleY: criticallyDampedSpring,\n scale: criticallyDampedSpring,\n opacity: linearTween,\n backgroundColor: linearTween,\n color: linearTween,\n default: criticallyDampedSpring,\n};\nvar getDefaultTransition = function (valueKey, to) {\n var transitionFactory;\n if (isKeyframesTarget(to)) {\n transitionFactory = keyframes;\n }\n else {\n transitionFactory =\n defaultTransitions[valueKey] || defaultTransitions.default;\n }\n return tslib.__assign({ to: to }, transitionFactory(to));\n};\n\n/**\n * A map of default value types for common values\n */\nvar defaultValueTypes = tslib.__assign(tslib.__assign({}, numberValueTypes), { \n // Color props\n color: styleValueTypes.color, backgroundColor: styleValueTypes.color, outlineColor: styleValueTypes.color, fill: styleValueTypes.color, stroke: styleValueTypes.color, \n // Border props\n borderColor: styleValueTypes.color, borderTopColor: styleValueTypes.color, borderRightColor: styleValueTypes.color, borderBottomColor: styleValueTypes.color, borderLeftColor: styleValueTypes.color, filter: styleValueTypes.filter, WebkitFilter: styleValueTypes.filter });\n/**\n * Gets the default ValueType for the provided value key\n */\nvar getDefaultValueType = function (key) { return defaultValueTypes[key]; };\n\nfunction getAnimatableNone(key, value) {\n var _a;\n var defaultValueType = getDefaultValueType(key);\n if (defaultValueType !== styleValueTypes.filter)\n defaultValueType = styleValueTypes.complex;\n // If value is not recognised as animatable, ie \"none\", create an animatable version origin based on the target\n return (_a = defaultValueType.getAnimatableNone) === null || _a === void 0 ? void 0 : _a.call(defaultValueType, value);\n}\n\nvar instantAnimationState = {\n current: false,\n};\n\n/**\n * Decide whether a transition is defined on a given Transition.\n * This filters out orchestration options and returns true\n * if any options are left.\n */\nfunction isTransitionDefined(_a) {\n _a.when; _a.delay; _a.delayChildren; _a.staggerChildren; _a.staggerDirection; _a.repeat; _a.repeatType; _a.repeatDelay; _a.from; var transition = tslib.__rest(_a, [\"when\", \"delay\", \"delayChildren\", \"staggerChildren\", \"staggerDirection\", \"repeat\", \"repeatType\", \"repeatDelay\", \"from\"]);\n return !!Object.keys(transition).length;\n}\nvar legacyRepeatWarning = false;\n/**\n * Convert Framer Motion's Transition type into Popmotion-compatible options.\n */\nfunction convertTransitionToAnimationOptions(_a) {\n var ease = _a.ease, times = _a.times, yoyo = _a.yoyo, flip = _a.flip, loop = _a.loop, transition = tslib.__rest(_a, [\"ease\", \"times\", \"yoyo\", \"flip\", \"loop\"]);\n var options = tslib.__assign({}, transition);\n if (times)\n options[\"offset\"] = times;\n /**\n * Convert any existing durations from seconds to milliseconds\n */\n if (transition.duration)\n options[\"duration\"] = secondsToMilliseconds(transition.duration);\n if (transition.repeatDelay)\n options.repeatDelay = secondsToMilliseconds(transition.repeatDelay);\n /**\n * Map easing names to Popmotion's easing functions\n */\n if (ease) {\n options[\"ease\"] = isEasingArray(ease)\n ? ease.map(easingDefinitionToFunction)\n : easingDefinitionToFunction(ease);\n }\n /**\n * Support legacy transition API\n */\n if (transition.type === \"tween\")\n options.type = \"keyframes\";\n /**\n * TODO: These options are officially removed from the API.\n */\n if (yoyo || loop || flip) {\n heyListen.warning(!legacyRepeatWarning, \"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options.\");\n legacyRepeatWarning = true;\n if (yoyo) {\n options.repeatType = \"reverse\";\n }\n else if (loop) {\n options.repeatType = \"loop\";\n }\n else if (flip) {\n options.repeatType = \"mirror\";\n }\n options.repeat = loop || yoyo || flip || transition.repeat;\n }\n /**\n * TODO: Popmotion 9 has the ability to automatically detect whether to use\n * a keyframes or spring animation, but does so by detecting velocity and other spring options.\n * It'd be good to introduce a similar thing here.\n */\n if (transition.type !== \"spring\")\n options.type = \"keyframes\";\n return options;\n}\n/**\n * Get the delay for a value by checking Transition with decreasing specificity.\n */\nfunction getDelayFromTransition(transition, key) {\n var _a, _b;\n var valueTransition = getValueTransition(transition, key) || {};\n return (_b = (_a = valueTransition.delay) !== null && _a !== void 0 ? _a : transition.delay) !== null && _b !== void 0 ? _b : 0;\n}\nfunction hydrateKeyframes(options) {\n if (Array.isArray(options.to) && options.to[0] === null) {\n options.to = tslib.__spreadArray([], tslib.__read(options.to), false);\n options.to[0] = options.from;\n }\n return options;\n}\nfunction getPopmotionAnimationOptions(transition, options, key) {\n var _a;\n if (Array.isArray(options.to)) {\n (_a = transition.duration) !== null && _a !== void 0 ? _a : (transition.duration = 0.8);\n }\n hydrateKeyframes(options);\n /**\n * Get a default transition if none is determined to be defined.\n */\n if (!isTransitionDefined(transition)) {\n transition = tslib.__assign(tslib.__assign({}, transition), getDefaultTransition(key, options.to));\n }\n return tslib.__assign(tslib.__assign({}, options), convertTransitionToAnimationOptions(transition));\n}\n/**\n *\n */\nfunction getAnimation(key, value, target, transition, onComplete) {\n var _a;\n var valueTransition = getValueTransition(transition, key);\n var origin = (_a = valueTransition.from) !== null && _a !== void 0 ? _a : value.get();\n var isTargetAnimatable = isAnimatable(key, target);\n if (origin === \"none\" && isTargetAnimatable && typeof target === \"string\") {\n /**\n * If we're trying to animate from \"none\", try and get an animatable version\n * of the target. This could be improved to work both ways.\n */\n origin = getAnimatableNone(key, target);\n }\n else if (isZero(origin) && typeof target === \"string\") {\n origin = getZeroUnit(target);\n }\n else if (!Array.isArray(target) &&\n isZero(target) &&\n typeof origin === \"string\") {\n target = getZeroUnit(origin);\n }\n var isOriginAnimatable = isAnimatable(key, origin);\n heyListen.warning(isOriginAnimatable === isTargetAnimatable, \"You are trying to animate \".concat(key, \" from \\\"\").concat(origin, \"\\\" to \\\"\").concat(target, \"\\\". \").concat(origin, \" is not an animatable value - to enable this animation set \").concat(origin, \" to a value animatable to \").concat(target, \" via the `style` property.\"));\n function start() {\n var options = {\n from: origin,\n to: target,\n velocity: value.getVelocity(),\n onComplete: onComplete,\n onUpdate: function (v) { return value.set(v); },\n };\n return valueTransition.type === \"inertia\" ||\n valueTransition.type === \"decay\"\n ? popmotion.inertia(tslib.__assign(tslib.__assign({}, options), valueTransition))\n : popmotion.animate(tslib.__assign(tslib.__assign({}, getPopmotionAnimationOptions(valueTransition, options, key)), { onUpdate: function (v) {\n var _a;\n options.onUpdate(v);\n (_a = valueTransition.onUpdate) === null || _a === void 0 ? void 0 : _a.call(valueTransition, v);\n }, onComplete: function () {\n var _a;\n options.onComplete();\n (_a = valueTransition.onComplete) === null || _a === void 0 ? void 0 : _a.call(valueTransition);\n } }));\n }\n function set() {\n var _a, _b;\n var finalTarget = resolveFinalValueInKeyframes(target);\n value.set(finalTarget);\n onComplete();\n (_a = valueTransition === null || valueTransition === void 0 ? void 0 : valueTransition.onUpdate) === null || _a === void 0 ? void 0 : _a.call(valueTransition, finalTarget);\n (_b = valueTransition === null || valueTransition === void 0 ? void 0 : valueTransition.onComplete) === null || _b === void 0 ? void 0 : _b.call(valueTransition);\n return { stop: function () { } };\n }\n return !isOriginAnimatable ||\n !isTargetAnimatable ||\n valueTransition.type === false\n ? set\n : start;\n}\nfunction isZero(value) {\n return (value === 0 ||\n (typeof value === \"string\" &&\n parseFloat(value) === 0 &&\n value.indexOf(\" \") === -1));\n}\nfunction getZeroUnit(potentialUnitType) {\n return typeof potentialUnitType === \"number\"\n ? 0\n : getAnimatableNone(\"\", potentialUnitType);\n}\nfunction getValueTransition(transition, key) {\n return transition[key] || transition[\"default\"] || transition;\n}\n/**\n * Start animation on a MotionValue. This function is an interface between\n * Framer Motion and Popmotion\n */\nfunction startAnimation(key, value, target, transition) {\n if (transition === void 0) { transition = {}; }\n if (instantAnimationState.current) {\n transition = { type: false };\n }\n return value.start(function (onComplete) {\n var delayTimer;\n var controls;\n var animation = getAnimation(key, value, target, transition, onComplete);\n var delay = getDelayFromTransition(transition, key);\n var start = function () { return (controls = animation()); };\n if (delay) {\n delayTimer = window.setTimeout(start, secondsToMilliseconds(delay));\n }\n else {\n start();\n }\n return function () {\n clearTimeout(delayTimer);\n controls === null || controls === void 0 ? void 0 : controls.stop();\n };\n });\n}\n\n/**\n * Check if value is a numerical string, ie a string that is purely a number eg \"100\" or \"-100.1\"\n */\nvar isNumericalString = function (v) { return /^\\-?\\d*\\.?\\d+$/.test(v); };\n\n/**\n * Check if the value is a zero value string like \"0px\" or \"0%\"\n */\nvar isZeroValueString = function (v) { return /^0[^.\\s]+$/.test(v); };\n\nfunction addUniqueItem(arr, item) {\n arr.indexOf(item) === -1 && arr.push(item);\n}\nfunction removeItem(arr, item) {\n var index = arr.indexOf(item);\n index > -1 && arr.splice(index, 1);\n}\n// Adapted from array-move\nfunction moveItem(_a, fromIndex, toIndex) {\n var _b = tslib.__read(_a), arr = _b.slice(0);\n var startIndex = fromIndex < 0 ? arr.length + fromIndex : fromIndex;\n if (startIndex >= 0 && startIndex < arr.length) {\n var endIndex = toIndex < 0 ? arr.length + toIndex : toIndex;\n var _c = tslib.__read(arr.splice(fromIndex, 1), 1), item = _c[0];\n arr.splice(endIndex, 0, item);\n }\n return arr;\n}\n\nvar SubscriptionManager = /** @class */ (function () {\n function SubscriptionManager() {\n this.subscriptions = [];\n }\n SubscriptionManager.prototype.add = function (handler) {\n var _this = this;\n addUniqueItem(this.subscriptions, handler);\n return function () { return removeItem(_this.subscriptions, handler); };\n };\n SubscriptionManager.prototype.notify = function (a, b, c) {\n var numSubscriptions = this.subscriptions.length;\n if (!numSubscriptions)\n return;\n if (numSubscriptions === 1) {\n /**\n * If there's only a single handler we can just call it without invoking a loop.\n */\n this.subscriptions[0](a, b, c);\n }\n else {\n for (var i = 0; i < numSubscriptions; i++) {\n /**\n * Check whether the handler exists before firing as it's possible\n * the subscriptions were modified during this loop running.\n */\n var handler = this.subscriptions[i];\n handler && handler(a, b, c);\n }\n }\n };\n SubscriptionManager.prototype.getSize = function () {\n return this.subscriptions.length;\n };\n SubscriptionManager.prototype.clear = function () {\n this.subscriptions.length = 0;\n };\n return SubscriptionManager;\n}());\n\nvar isFloat = function (value) {\n return !isNaN(parseFloat(value));\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nvar MotionValue = /** @class */ (function () {\n /**\n * @param init - The initiating value\n * @param config - Optional configuration options\n *\n * - `transformer`: A function to transform incoming values with.\n *\n * @internal\n */\n function MotionValue(init) {\n var _this = this;\n /**\n * This will be replaced by the build step with the latest version number.\n * When MotionValues are provided to motion components, warn if versions are mixed.\n */\n this.version = \"6.5.1\";\n /**\n * Duration, in milliseconds, since last updating frame.\n *\n * @internal\n */\n this.timeDelta = 0;\n /**\n * Timestamp of the last time this `MotionValue` was updated.\n *\n * @internal\n */\n this.lastUpdated = 0;\n /**\n * Functions to notify when the `MotionValue` updates.\n *\n * @internal\n */\n this.updateSubscribers = new SubscriptionManager();\n /**\n * Functions to notify when the velocity updates.\n *\n * @internal\n */\n this.velocityUpdateSubscribers = new SubscriptionManager();\n /**\n * Functions to notify when the `MotionValue` updates and `render` is set to `true`.\n *\n * @internal\n */\n this.renderSubscribers = new SubscriptionManager();\n /**\n * Tracks whether this value can output a velocity. Currently this is only true\n * if the value is numerical, but we might be able to widen the scope here and support\n * other value types.\n *\n * @internal\n */\n this.canTrackVelocity = false;\n this.updateAndNotify = function (v, render) {\n if (render === void 0) { render = true; }\n _this.prev = _this.current;\n _this.current = v;\n // Update timestamp\n var _a = sync.getFrameData(), delta = _a.delta, timestamp = _a.timestamp;\n if (_this.lastUpdated !== timestamp) {\n _this.timeDelta = delta;\n _this.lastUpdated = timestamp;\n sync__default[\"default\"].postRender(_this.scheduleVelocityCheck);\n }\n // Update update subscribers\n if (_this.prev !== _this.current) {\n _this.updateSubscribers.notify(_this.current);\n }\n // Update velocity subscribers\n if (_this.velocityUpdateSubscribers.getSize()) {\n _this.velocityUpdateSubscribers.notify(_this.getVelocity());\n }\n // Update render subscribers\n if (render) {\n _this.renderSubscribers.notify(_this.current);\n }\n };\n /**\n * Schedule a velocity check for the next frame.\n *\n * This is an instanced and bound function to prevent generating a new\n * function once per frame.\n *\n * @internal\n */\n this.scheduleVelocityCheck = function () { return sync__default[\"default\"].postRender(_this.velocityCheck); };\n /**\n * Updates `prev` with `current` if the value hasn't been updated this frame.\n * This ensures velocity calculations return `0`.\n *\n * This is an instanced and bound function to prevent generating a new\n * function once per frame.\n *\n * @internal\n */\n this.velocityCheck = function (_a) {\n var timestamp = _a.timestamp;\n if (timestamp !== _this.lastUpdated) {\n _this.prev = _this.current;\n _this.velocityUpdateSubscribers.notify(_this.getVelocity());\n }\n };\n this.hasAnimated = false;\n this.prev = this.current = init;\n this.canTrackVelocity = isFloat(this.current);\n }\n /**\n * Adds a function that will be notified when the `MotionValue` is updated.\n *\n * It returns a function that, when called, will cancel the subscription.\n *\n * When calling `onChange` inside a React component, it should be wrapped with the\n * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n * from the `useEffect` function to ensure you don't add duplicate subscribers..\n *\n * ```jsx\n * export const MyComponent = () => {\n * const x = useMotionValue(0)\n * const y = useMotionValue(0)\n * const opacity = useMotionValue(1)\n *\n * useEffect(() => {\n * function updateOpacity() {\n * const maxXY = Math.max(x.get(), y.get())\n * const newOpacity = transform(maxXY, [0, 100], [1, 0])\n * opacity.set(newOpacity)\n * }\n *\n * const unsubscribeX = x.onChange(updateOpacity)\n * const unsubscribeY = y.onChange(updateOpacity)\n *\n * return () => {\n * unsubscribeX()\n * unsubscribeY()\n * }\n * }, [])\n *\n * return \n * }\n * ```\n *\n * @privateRemarks\n *\n * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.\n *\n * ```jsx\n * useOnChange(x, () => {})\n * ```\n *\n * @param subscriber - A function that receives the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @public\n */\n MotionValue.prototype.onChange = function (subscription) {\n return this.updateSubscribers.add(subscription);\n };\n MotionValue.prototype.clearListeners = function () {\n this.updateSubscribers.clear();\n };\n /**\n * Adds a function that will be notified when the `MotionValue` requests a render.\n *\n * @param subscriber - A function that's provided the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @internal\n */\n MotionValue.prototype.onRenderRequest = function (subscription) {\n // Render immediately\n subscription(this.get());\n return this.renderSubscribers.add(subscription);\n };\n /**\n * Attaches a passive effect to the `MotionValue`.\n *\n * @internal\n */\n MotionValue.prototype.attach = function (passiveEffect) {\n this.passiveEffect = passiveEffect;\n };\n /**\n * Sets the state of the `MotionValue`.\n *\n * @remarks\n *\n * ```jsx\n * const x = useMotionValue(0)\n * x.set(10)\n * ```\n *\n * @param latest - Latest value to set.\n * @param render - Whether to notify render subscribers. Defaults to `true`\n *\n * @public\n */\n MotionValue.prototype.set = function (v, render) {\n if (render === void 0) { render = true; }\n if (!render || !this.passiveEffect) {\n this.updateAndNotify(v, render);\n }\n else {\n this.passiveEffect(v, this.updateAndNotify);\n }\n };\n /**\n * Returns the latest state of `MotionValue`\n *\n * @returns - The latest state of `MotionValue`\n *\n * @public\n */\n MotionValue.prototype.get = function () {\n return this.current;\n };\n /**\n * @public\n */\n MotionValue.prototype.getPrevious = function () {\n return this.prev;\n };\n /**\n * Returns the latest velocity of `MotionValue`\n *\n * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n *\n * @public\n */\n MotionValue.prototype.getVelocity = function () {\n // This could be isFloat(this.prev) && isFloat(this.current), but that would be wasteful\n return this.canTrackVelocity\n ? // These casts could be avoided if parseFloat would be typed better\n popmotion.velocityPerSecond(parseFloat(this.current) -\n parseFloat(this.prev), this.timeDelta)\n : 0;\n };\n /**\n * Registers a new animation to control this `MotionValue`. Only one\n * animation can drive a `MotionValue` at one time.\n *\n * ```jsx\n * value.start()\n * ```\n *\n * @param animation - A function that starts the provided animation\n *\n * @internal\n */\n MotionValue.prototype.start = function (animation) {\n var _this = this;\n this.stop();\n return new Promise(function (resolve) {\n _this.hasAnimated = true;\n _this.stopAnimation = animation(resolve);\n }).then(function () { return _this.clearAnimation(); });\n };\n /**\n * Stop the currently active animation.\n *\n * @public\n */\n MotionValue.prototype.stop = function () {\n if (this.stopAnimation)\n this.stopAnimation();\n this.clearAnimation();\n };\n /**\n * Returns `true` if this value is currently animating.\n *\n * @public\n */\n MotionValue.prototype.isAnimating = function () {\n return !!this.stopAnimation;\n };\n MotionValue.prototype.clearAnimation = function () {\n this.stopAnimation = null;\n };\n /**\n * Destroy and clean up subscribers to this `MotionValue`.\n *\n * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n * created a `MotionValue` via the `motionValue` function.\n *\n * @public\n */\n MotionValue.prototype.destroy = function () {\n this.updateSubscribers.clear();\n this.renderSubscribers.clear();\n this.stop();\n };\n return MotionValue;\n}());\nfunction motionValue(init) {\n return new MotionValue(init);\n}\n\n/**\n * Tests a provided value against a ValueType\n */\nvar testValueType = function (v) { return function (type) { return type.test(v); }; };\n\n/**\n * ValueType for \"auto\"\n */\nvar auto = {\n test: function (v) { return v === \"auto\"; },\n parse: function (v) { return v; },\n};\n\n/**\n * A list of value types commonly used for dimensions\n */\nvar dimensionValueTypes = [styleValueTypes.number, styleValueTypes.px, styleValueTypes.percent, styleValueTypes.degrees, styleValueTypes.vw, styleValueTypes.vh, auto];\n/**\n * Tests a dimensional value against the list of dimension ValueTypes\n */\nvar findDimensionValueType = function (v) {\n return dimensionValueTypes.find(testValueType(v));\n};\n\n/**\n * A list of all ValueTypes\n */\nvar valueTypes = tslib.__spreadArray(tslib.__spreadArray([], tslib.__read(dimensionValueTypes), false), [styleValueTypes.color, styleValueTypes.complex], false);\n/**\n * Tests a value against the list of ValueTypes\n */\nvar findValueType = function (v) { return valueTypes.find(testValueType(v)); };\n\n/**\n * Set VisualElement's MotionValue, creating a new MotionValue for it if\n * it doesn't exist.\n */\nfunction setMotionValue(visualElement, key, value) {\n if (visualElement.hasValue(key)) {\n visualElement.getValue(key).set(value);\n }\n else {\n visualElement.addValue(key, motionValue(value));\n }\n}\nfunction setTarget(visualElement, definition) {\n var resolved = resolveVariant(visualElement, definition);\n var _a = resolved ? visualElement.makeTargetAnimatable(resolved, false) : {}, _b = _a.transitionEnd, transitionEnd = _b === void 0 ? {} : _b; _a.transition; var target = tslib.__rest(_a, [\"transitionEnd\", \"transition\"]);\n target = tslib.__assign(tslib.__assign({}, target), transitionEnd);\n for (var key in target) {\n var value = resolveFinalValueInKeyframes(target[key]);\n setMotionValue(visualElement, key, value);\n }\n}\nfunction setVariants(visualElement, variantLabels) {\n var reversedLabels = tslib.__spreadArray([], tslib.__read(variantLabels), false).reverse();\n reversedLabels.forEach(function (key) {\n var _a;\n var variant = visualElement.getVariant(key);\n variant && setTarget(visualElement, variant);\n (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) {\n setVariants(child, variantLabels);\n });\n });\n}\nfunction setValues(visualElement, definition) {\n if (Array.isArray(definition)) {\n return setVariants(visualElement, definition);\n }\n else if (typeof definition === \"string\") {\n return setVariants(visualElement, [definition]);\n }\n else {\n setTarget(visualElement, definition);\n }\n}\nfunction checkTargetForNewValues(visualElement, target, origin) {\n var _a, _b, _c;\n var _d;\n var newValueKeys = Object.keys(target).filter(function (key) { return !visualElement.hasValue(key); });\n var numNewValues = newValueKeys.length;\n if (!numNewValues)\n return;\n for (var i = 0; i < numNewValues; i++) {\n var key = newValueKeys[i];\n var targetValue = target[key];\n var value = null;\n /**\n * If the target is a series of keyframes, we can use the first value\n * in the array. If this first value is null, we'll still need to read from the DOM.\n */\n if (Array.isArray(targetValue)) {\n value = targetValue[0];\n }\n /**\n * If the target isn't keyframes, or the first keyframe was null, we need to\n * first check if an origin value was explicitly defined in the transition as \"from\",\n * if not read the value from the DOM. As an absolute fallback, take the defined target value.\n */\n if (value === null) {\n value = (_b = (_a = origin[key]) !== null && _a !== void 0 ? _a : visualElement.readValue(key)) !== null && _b !== void 0 ? _b : target[key];\n }\n /**\n * If value is still undefined or null, ignore it. Preferably this would throw,\n * but this was causing issues in Framer.\n */\n if (value === undefined || value === null)\n continue;\n if (typeof value === \"string\" &&\n (isNumericalString(value) || isZeroValueString(value))) {\n // If this is a number read as a string, ie \"0\" or \"200\", convert it to a number\n value = parseFloat(value);\n }\n else if (!findValueType(value) && styleValueTypes.complex.test(targetValue)) {\n value = getAnimatableNone(key, targetValue);\n }\n visualElement.addValue(key, motionValue(value));\n (_c = (_d = origin)[key]) !== null && _c !== void 0 ? _c : (_d[key] = value);\n visualElement.setBaseTarget(key, value);\n }\n}\nfunction getOriginFromTransition(key, transition) {\n if (!transition)\n return;\n var valueTransition = transition[key] || transition[\"default\"] || transition;\n return valueTransition.from;\n}\nfunction getOrigin(target, transition, visualElement) {\n var _a, _b;\n var origin = {};\n for (var key in target) {\n origin[key] =\n (_a = getOriginFromTransition(key, transition)) !== null && _a !== void 0 ? _a : (_b = visualElement.getValue(key)) === null || _b === void 0 ? void 0 : _b.get();\n }\n return origin;\n}\n\nfunction animateVisualElement(visualElement, definition, options) {\n if (options === void 0) { options = {}; }\n visualElement.notifyAnimationStart(definition);\n var animation;\n if (Array.isArray(definition)) {\n var animations = definition.map(function (variant) {\n return animateVariant(visualElement, variant, options);\n });\n animation = Promise.all(animations);\n }\n else if (typeof definition === \"string\") {\n animation = animateVariant(visualElement, definition, options);\n }\n else {\n var resolvedDefinition = typeof definition === \"function\"\n ? resolveVariant(visualElement, definition, options.custom)\n : definition;\n animation = animateTarget(visualElement, resolvedDefinition, options);\n }\n return animation.then(function () {\n return visualElement.notifyAnimationComplete(definition);\n });\n}\nfunction animateVariant(visualElement, variant, options) {\n var _a;\n if (options === void 0) { options = {}; }\n var resolved = resolveVariant(visualElement, variant, options.custom);\n var _b = (resolved || {}).transition, transition = _b === void 0 ? visualElement.getDefaultTransition() || {} : _b;\n if (options.transitionOverride) {\n transition = options.transitionOverride;\n }\n /**\n * If we have a variant, create a callback that runs it as an animation.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n var getAnimation = resolved\n ? function () { return animateTarget(visualElement, resolved, options); }\n : function () { return Promise.resolve(); };\n /**\n * If we have children, create a callback that runs all their animations.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n var getChildAnimations = ((_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.size)\n ? function (forwardDelay) {\n if (forwardDelay === void 0) { forwardDelay = 0; }\n var _a = transition.delayChildren, delayChildren = _a === void 0 ? 0 : _a, staggerChildren = transition.staggerChildren, staggerDirection = transition.staggerDirection;\n return animateChildren(visualElement, variant, delayChildren + forwardDelay, staggerChildren, staggerDirection, options);\n }\n : function () { return Promise.resolve(); };\n /**\n * If the transition explicitly defines a \"when\" option, we need to resolve either\n * this animation or all children animations before playing the other.\n */\n var when = transition.when;\n if (when) {\n var _c = tslib.__read(when === \"beforeChildren\"\n ? [getAnimation, getChildAnimations]\n : [getChildAnimations, getAnimation], 2), first = _c[0], last = _c[1];\n return first().then(last);\n }\n else {\n return Promise.all([getAnimation(), getChildAnimations(options.delay)]);\n }\n}\n/**\n * @internal\n */\nfunction animateTarget(visualElement, definition, _a) {\n var _b;\n var _c = _a === void 0 ? {} : _a, _d = _c.delay, delay = _d === void 0 ? 0 : _d, transitionOverride = _c.transitionOverride, type = _c.type;\n var _e = visualElement.makeTargetAnimatable(definition), _f = _e.transition, transition = _f === void 0 ? visualElement.getDefaultTransition() : _f, transitionEnd = _e.transitionEnd, target = tslib.__rest(_e, [\"transition\", \"transitionEnd\"]);\n if (transitionOverride)\n transition = transitionOverride;\n var animations = [];\n var animationTypeState = type && ((_b = visualElement.animationState) === null || _b === void 0 ? void 0 : _b.getState()[type]);\n for (var key in target) {\n var value = visualElement.getValue(key);\n var valueTarget = target[key];\n if (!value ||\n valueTarget === undefined ||\n (animationTypeState &&\n shouldBlockAnimation(animationTypeState, key))) {\n continue;\n }\n var valueTransition = tslib.__assign({ delay: delay }, transition);\n /**\n * Make animation instant if this is a transform prop and we should reduce motion.\n */\n if (visualElement.shouldReduceMotion && isTransformProp(key)) {\n valueTransition = tslib.__assign(tslib.__assign({}, valueTransition), { type: false, delay: 0 });\n }\n var animation = startAnimation(key, value, valueTarget, valueTransition);\n animations.push(animation);\n }\n return Promise.all(animations).then(function () {\n transitionEnd && setTarget(visualElement, transitionEnd);\n });\n}\nfunction animateChildren(visualElement, variant, delayChildren, staggerChildren, staggerDirection, options) {\n if (delayChildren === void 0) { delayChildren = 0; }\n if (staggerChildren === void 0) { staggerChildren = 0; }\n if (staggerDirection === void 0) { staggerDirection = 1; }\n var animations = [];\n var maxStaggerDuration = (visualElement.variantChildren.size - 1) * staggerChildren;\n var generateStaggerDuration = staggerDirection === 1\n ? function (i) {\n if (i === void 0) { i = 0; }\n return i * staggerChildren;\n }\n : function (i) {\n if (i === void 0) { i = 0; }\n return maxStaggerDuration - i * staggerChildren;\n };\n Array.from(visualElement.variantChildren)\n .sort(sortByTreeOrder)\n .forEach(function (child, i) {\n animations.push(animateVariant(child, variant, tslib.__assign(tslib.__assign({}, options), { delay: delayChildren + generateStaggerDuration(i) })).then(function () { return child.notifyAnimationComplete(variant); }));\n });\n return Promise.all(animations);\n}\nfunction stopAnimation(visualElement) {\n visualElement.forEachValue(function (value) { return value.stop(); });\n}\nfunction sortByTreeOrder(a, b) {\n return a.sortNodePosition(b);\n}\n/**\n * Decide whether we should block this animation. Previously, we achieved this\n * just by checking whether the key was listed in protectedKeys, but this\n * posed problems if an animation was triggered by afterChildren and protectedKeys\n * had been set to true in the meantime.\n */\nfunction shouldBlockAnimation(_a, key) {\n var protectedKeys = _a.protectedKeys, needsAnimating = _a.needsAnimating;\n var shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;\n needsAnimating[key] = false;\n return shouldBlock;\n}\n\nvar variantPriorityOrder = [\n exports.AnimationType.Animate,\n exports.AnimationType.InView,\n exports.AnimationType.Focus,\n exports.AnimationType.Hover,\n exports.AnimationType.Tap,\n exports.AnimationType.Drag,\n exports.AnimationType.Exit,\n];\nvar reversePriorityOrder = tslib.__spreadArray([], tslib.__read(variantPriorityOrder), false).reverse();\nvar numAnimationTypes = variantPriorityOrder.length;\nfunction animateList(visualElement) {\n return function (animations) {\n return Promise.all(animations.map(function (_a) {\n var animation = _a.animation, options = _a.options;\n return animateVisualElement(visualElement, animation, options);\n }));\n };\n}\nfunction createAnimationState(visualElement) {\n var animate = animateList(visualElement);\n var state = createState();\n var allAnimatedKeys = {};\n var isInitialRender = true;\n /**\n * This function will be used to reduce the animation definitions for\n * each active animation type into an object of resolved values for it.\n */\n var buildResolvedTypeValues = function (acc, definition) {\n var resolved = resolveVariant(visualElement, definition);\n if (resolved) {\n resolved.transition; var transitionEnd = resolved.transitionEnd, target = tslib.__rest(resolved, [\"transition\", \"transitionEnd\"]);\n acc = tslib.__assign(tslib.__assign(tslib.__assign({}, acc), target), transitionEnd);\n }\n return acc;\n };\n function isAnimated(key) {\n return allAnimatedKeys[key] !== undefined;\n }\n /**\n * This just allows us to inject mocked animation functions\n * @internal\n */\n function setAnimateFunction(makeAnimator) {\n animate = makeAnimator(visualElement);\n }\n /**\n * When we receive new props, we need to:\n * 1. Create a list of protected keys for each type. This is a directory of\n * value keys that are currently being \"handled\" by types of a higher priority\n * so that whenever an animation is played of a given type, these values are\n * protected from being animated.\n * 2. Determine if an animation type needs animating.\n * 3. Determine if any values have been removed from a type and figure out\n * what to animate those to.\n */\n function animateChanges(options, changedActiveType) {\n var _a;\n var props = visualElement.getProps();\n var context = visualElement.getVariantContext(true) || {};\n /**\n * A list of animations that we'll build into as we iterate through the animation\n * types. This will get executed at the end of the function.\n */\n var animations = [];\n /**\n * Keep track of which values have been removed. Then, as we hit lower priority\n * animation types, we can check if they contain removed values and animate to that.\n */\n var removedKeys = new Set();\n /**\n * A dictionary of all encountered keys. This is an object to let us build into and\n * copy it without iteration. Each time we hit an animation type we set its protected\n * keys - the keys its not allowed to animate - to the latest version of this object.\n */\n var encounteredKeys = {};\n /**\n * If a variant has been removed at a given index, and this component is controlling\n * variant animations, we want to ensure lower-priority variants are forced to animate.\n */\n var removedVariantIndex = Infinity;\n var _loop_1 = function (i) {\n var type = reversePriorityOrder[i];\n var typeState = state[type];\n var prop = (_a = props[type]) !== null && _a !== void 0 ? _a : context[type];\n var propIsVariant = isVariantLabel(prop);\n /**\n * If this type has *just* changed isActive status, set activeDelta\n * to that status. Otherwise set to null.\n */\n var activeDelta = type === changedActiveType ? typeState.isActive : null;\n if (activeDelta === false)\n removedVariantIndex = i;\n /**\n * If this prop is an inherited variant, rather than been set directly on the\n * component itself, we want to make sure we allow the parent to trigger animations.\n *\n * TODO: Can probably change this to a !isControllingVariants check\n */\n var isInherited = prop === context[type] && prop !== props[type] && propIsVariant;\n /**\n *\n */\n if (isInherited &&\n isInitialRender &&\n visualElement.manuallyAnimateOnMount) {\n isInherited = false;\n }\n /**\n * Set all encountered keys so far as the protected keys for this type. This will\n * be any key that has been animated or otherwise handled by active, higher-priortiy types.\n */\n typeState.protectedKeys = tslib.__assign({}, encounteredKeys);\n // Check if we can skip analysing this prop early\n if (\n // If it isn't active and hasn't *just* been set as inactive\n (!typeState.isActive && activeDelta === null) ||\n // If we didn't and don't have any defined prop for this animation type\n (!prop && !typeState.prevProp) ||\n // Or if the prop doesn't define an animation\n isAnimationControls(prop) ||\n typeof prop === \"boolean\") {\n return \"continue\";\n }\n /**\n * As we go look through the values defined on this type, if we detect\n * a changed value or a value that was removed in a higher priority, we set\n * this to true and add this prop to the animation list.\n */\n var variantDidChange = checkVariantsDidChange(typeState.prevProp, prop);\n var shouldAnimateType = variantDidChange ||\n // If we're making this variant active, we want to always make it active\n (type === changedActiveType &&\n typeState.isActive &&\n !isInherited &&\n propIsVariant) ||\n // If we removed a higher-priority variant (i is in reverse order)\n (i > removedVariantIndex && propIsVariant);\n /**\n * As animations can be set as variant lists, variants or target objects, we\n * coerce everything to an array if it isn't one already\n */\n var definitionList = Array.isArray(prop) ? prop : [prop];\n /**\n * Build an object of all the resolved values. We'll use this in the subsequent\n * animateChanges calls to determine whether a value has changed.\n */\n var resolvedValues = definitionList.reduce(buildResolvedTypeValues, {});\n if (activeDelta === false)\n resolvedValues = {};\n /**\n * Now we need to loop through all the keys in the prev prop and this prop,\n * and decide:\n * 1. If the value has changed, and needs animating\n * 2. If it has been removed, and needs adding to the removedKeys set\n * 3. If it has been removed in a higher priority type and needs animating\n * 4. If it hasn't been removed in a higher priority but hasn't changed, and\n * needs adding to the type's protectedKeys list.\n */\n var _b = typeState.prevResolvedValues, prevResolvedValues = _b === void 0 ? {} : _b;\n var allKeys = tslib.__assign(tslib.__assign({}, prevResolvedValues), resolvedValues);\n var markToAnimate = function (key) {\n shouldAnimateType = true;\n removedKeys.delete(key);\n typeState.needsAnimating[key] = true;\n };\n for (var key in allKeys) {\n var next = resolvedValues[key];\n var prev = prevResolvedValues[key];\n // If we've already handled this we can just skip ahead\n if (encounteredKeys.hasOwnProperty(key))\n continue;\n /**\n * If the value has changed, we probably want to animate it.\n */\n if (next !== prev) {\n /**\n * If both values are keyframes, we need to shallow compare them to\n * detect whether any value has changed. If it has, we animate it.\n */\n if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {\n if (!shallowCompare(next, prev) || variantDidChange) {\n markToAnimate(key);\n }\n else {\n /**\n * If it hasn't changed, we want to ensure it doesn't animate by\n * adding it to the list of protected keys.\n */\n typeState.protectedKeys[key] = true;\n }\n }\n else if (next !== undefined) {\n // If next is defined and doesn't equal prev, it needs animating\n markToAnimate(key);\n }\n else {\n // If it's undefined, it's been removed.\n removedKeys.add(key);\n }\n }\n else if (next !== undefined && removedKeys.has(key)) {\n /**\n * If next hasn't changed and it isn't undefined, we want to check if it's\n * been removed by a higher priority\n */\n markToAnimate(key);\n }\n else {\n /**\n * If it hasn't changed, we add it to the list of protected values\n * to ensure it doesn't get animated.\n */\n typeState.protectedKeys[key] = true;\n }\n }\n /**\n * Update the typeState so next time animateChanges is called we can compare the\n * latest prop and resolvedValues to these.\n */\n typeState.prevProp = prop;\n typeState.prevResolvedValues = resolvedValues;\n /**\n *\n */\n if (typeState.isActive) {\n encounteredKeys = tslib.__assign(tslib.__assign({}, encounteredKeys), resolvedValues);\n }\n if (isInitialRender && visualElement.blockInitialAnimation) {\n shouldAnimateType = false;\n }\n /**\n * If this is an inherited prop we want to hard-block animations\n * TODO: Test as this should probably still handle animations triggered\n * by removed values?\n */\n if (shouldAnimateType && !isInherited) {\n animations.push.apply(animations, tslib.__spreadArray([], tslib.__read(definitionList.map(function (animation) { return ({\n animation: animation,\n options: tslib.__assign({ type: type }, options),\n }); })), false));\n }\n };\n /**\n * Iterate through all animation types in reverse priority order. For each, we want to\n * detect which values it's handling and whether or not they've changed (and therefore\n * need to be animated). If any values have been removed, we want to detect those in\n * lower priority props and flag for animation.\n */\n for (var i = 0; i < numAnimationTypes; i++) {\n _loop_1(i);\n }\n allAnimatedKeys = tslib.__assign({}, encounteredKeys);\n /**\n * If there are some removed value that haven't been dealt with,\n * we need to create a new animation that falls back either to the value\n * defined in the style prop, or the last read value.\n */\n if (removedKeys.size) {\n var fallbackAnimation_1 = {};\n removedKeys.forEach(function (key) {\n var fallbackTarget = visualElement.getBaseTarget(key);\n if (fallbackTarget !== undefined) {\n fallbackAnimation_1[key] = fallbackTarget;\n }\n });\n animations.push({ animation: fallbackAnimation_1 });\n }\n var shouldAnimate = Boolean(animations.length);\n if (isInitialRender &&\n props.initial === false &&\n !visualElement.manuallyAnimateOnMount) {\n shouldAnimate = false;\n }\n isInitialRender = false;\n return shouldAnimate ? animate(animations) : Promise.resolve();\n }\n /**\n * Change whether a certain animation type is active.\n */\n function setActive(type, isActive, options) {\n var _a;\n // If the active state hasn't changed, we can safely do nothing here\n if (state[type].isActive === isActive)\n return Promise.resolve();\n // Propagate active change to children\n (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) { var _a; return (_a = child.animationState) === null || _a === void 0 ? void 0 : _a.setActive(type, isActive); });\n state[type].isActive = isActive;\n var animations = animateChanges(options, type);\n for (var key in state) {\n state[key].protectedKeys = {};\n }\n return animations;\n }\n return {\n isAnimated: isAnimated,\n animateChanges: animateChanges,\n setActive: setActive,\n setAnimateFunction: setAnimateFunction,\n getState: function () { return state; },\n };\n}\nfunction checkVariantsDidChange(prev, next) {\n if (typeof next === \"string\") {\n return next !== prev;\n }\n else if (isVariantLabels(next)) {\n return !shallowCompare(next, prev);\n }\n return false;\n}\nfunction createTypeState(isActive) {\n if (isActive === void 0) { isActive = false; }\n return {\n isActive: isActive,\n protectedKeys: {},\n needsAnimating: {},\n prevResolvedValues: {},\n };\n}\nfunction createState() {\n var _a;\n return _a = {},\n _a[exports.AnimationType.Animate] = createTypeState(true),\n _a[exports.AnimationType.InView] = createTypeState(),\n _a[exports.AnimationType.Hover] = createTypeState(),\n _a[exports.AnimationType.Tap] = createTypeState(),\n _a[exports.AnimationType.Drag] = createTypeState(),\n _a[exports.AnimationType.Focus] = createTypeState(),\n _a[exports.AnimationType.Exit] = createTypeState(),\n _a;\n}\n\nvar animations = {\n animation: makeRenderlessComponent(function (_a) {\n var visualElement = _a.visualElement, animate = _a.animate;\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n visualElement.animationState || (visualElement.animationState = createAnimationState(visualElement));\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n if (isAnimationControls(animate)) {\n React.useEffect(function () { return animate.subscribe(visualElement); }, [animate]);\n }\n }),\n exit: makeRenderlessComponent(function (props) {\n var custom = props.custom, visualElement = props.visualElement;\n var _a = tslib.__read(usePresence(), 2), isPresent = _a[0], safeToRemove = _a[1];\n var presenceContext = React.useContext(PresenceContext);\n React.useEffect(function () {\n var _a, _b;\n visualElement.isPresent = isPresent;\n var animation = (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(exports.AnimationType.Exit, !isPresent, { custom: (_b = presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.custom) !== null && _b !== void 0 ? _b : custom });\n !isPresent && (animation === null || animation === void 0 ? void 0 : animation.then(safeToRemove));\n }, [isPresent]);\n }),\n};\n\n/**\n * @internal\n */\nvar PanSession = /** @class */ (function () {\n function PanSession(event, handlers, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, transformPagePoint = _b.transformPagePoint;\n /**\n * @internal\n */\n this.startEvent = null;\n /**\n * @internal\n */\n this.lastMoveEvent = null;\n /**\n * @internal\n */\n this.lastMoveEventInfo = null;\n /**\n * @internal\n */\n this.handlers = {};\n this.updatePoint = function () {\n if (!(_this.lastMoveEvent && _this.lastMoveEventInfo))\n return;\n var info = getPanInfo(_this.lastMoveEventInfo, _this.history);\n var isPanStarted = _this.startEvent !== null;\n // Only start panning if the offset is larger than 3 pixels. If we make it\n // any larger than this we'll want to reset the pointer history\n // on the first update to avoid visual snapping to the cursoe.\n var isDistancePastThreshold = popmotion.distance(info.offset, { x: 0, y: 0 }) >= 3;\n if (!isPanStarted && !isDistancePastThreshold)\n return;\n var point = info.point;\n var timestamp = sync.getFrameData().timestamp;\n _this.history.push(tslib.__assign(tslib.__assign({}, point), { timestamp: timestamp }));\n var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;\n if (!isPanStarted) {\n onStart && onStart(_this.lastMoveEvent, info);\n _this.startEvent = _this.lastMoveEvent;\n }\n onMove && onMove(_this.lastMoveEvent, info);\n };\n this.handlePointerMove = function (event, info) {\n _this.lastMoveEvent = event;\n _this.lastMoveEventInfo = transformPoint(info, _this.transformPagePoint);\n // Because Safari doesn't trigger mouseup events when it's above a `