mainstack-design-system 0.7.45 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +702 -15
- package/dist/FormCountryOptionsList-BTIDLbxV.cjs +8 -0
- package/dist/FormCountryOptionsList-BWbi-SZ_.js +1790 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/AccordionContent.js +1 -0
- package/dist/components/Accordion/AccordionHeader.js +1 -0
- package/dist/components/Accordion/AccordionItem.js +1 -0
- package/dist/components/Accordion/AccordionRoot.js +1 -0
- package/dist/components/Accordion/AccordionSubtitle.js +1 -0
- package/dist/components/Accordion/AccordionTitle.js +1 -0
- package/dist/components/Accordion/AccordionTrigger.js +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/Avatar/Avatar.js +2 -0
- package/dist/components/Avatar/avatarVariants.js +1 -0
- package/dist/components/Avatar/getAvatarSize.js +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Banner/BannerAction.js +1 -0
- package/dist/components/Banner/BannerContent.js +1 -0
- package/dist/components/Banner/BannerHeader.js +1 -0
- package/dist/components/Banner/BannerIcon.js +1 -0
- package/dist/components/Banner/BannerRoot.js +1 -0
- package/dist/components/Banner/BannerText.js +1 -0
- package/dist/components/Banner/bannerVariants.js +1 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/ButtonIcon.js +1 -0
- package/dist/components/Button/ButtonLabel.js +1 -0
- package/dist/components/Button/ButtonRoot.js +1 -0
- package/dist/components/Button/buttonVariants.js +87 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Checkbox/CheckboxIndicator.js +2 -0
- package/dist/components/Checkbox/CheckboxLabel.js +1 -0
- package/dist/components/Checkbox/CheckboxRoot.js +1 -0
- package/dist/components/Checkbox/CheckboxSubtext.js +1 -0
- package/dist/components/Checkbox/CheckboxTitle.js +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/Chip/Chip.js +1 -0
- package/dist/components/Chip/ChipLabel.js +1 -0
- package/dist/components/Chip/ChipRoot.js +1 -0
- package/dist/components/Chip/ChipSlot.js +1 -0
- package/dist/components/Chip/chipVariants.js +1 -0
- package/dist/components/Chip/index.js +1 -0
- package/dist/components/Form/FormCharacterCounter.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptions.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsList.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsSearchField.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountrySelect.js +1 -0
- package/dist/components/Form/FormCountrySelect/constant.js +1 -0
- package/dist/components/Form/FormCountrySelect/getCountryFlagComp.js +1 -0
- package/dist/components/Form/FormItem.js +1 -0
- package/dist/components/Form/FormLabel.js +1 -0
- package/dist/components/Form/FormStatus/FormErrorStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormHintStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusRoot.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusText.js +1 -0
- package/dist/components/Form/FormStatus/FormSuccessStatus.js +1 -0
- package/dist/components/Form/index.js +1 -0
- package/dist/components/Icons/AccountBalanceIcon.js +1 -0
- package/dist/components/Icons/AccountBalanceWalletIcon.js +1 -0
- package/dist/components/Icons/AccountCircleIcon.js +1 -0
- package/dist/components/Icons/AdGroupIcon.js +1 -0
- package/dist/components/Icons/AdaptiveAudioMicIcon.js +1 -0
- package/dist/components/Icons/AddAPhotoIcon.js +1 -0
- package/dist/components/Icons/AddBusinessIcon.js +1 -0
- package/dist/components/Icons/AddCircleIcon.js +1 -0
- package/dist/components/Icons/AddIcon.js +1 -0
- package/dist/components/Icons/AddLinkIcon.js +1 -0
- package/dist/components/Icons/AddPhotoAlternateIcon.js +1 -0
- package/dist/components/Icons/AddShoppingCartIcon.js +1 -0
- package/dist/components/Icons/AdminPanelSettingsIcon.js +1 -0
- package/dist/components/Icons/AdsClickIcon.js +1 -0
- package/dist/components/Icons/AlarmIcon.js +1 -0
- package/dist/components/Icons/AllInboxIcon.js +1 -0
- package/dist/components/Icons/AnimationIcon.js +1 -0
- package/dist/components/Icons/ApartmentIcon.js +1 -0
- package/dist/components/Icons/AppsIcon.js +1 -0
- package/dist/components/Icons/ArchiveIcon.js +1 -0
- package/dist/components/Icons/ArrowBackIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleDownIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleUpIcon.js +1 -0
- package/dist/components/Icons/ArrowDownwardIcon.js +1 -0
- package/dist/components/Icons/ArrowDropDownIcon.js +1 -0
- package/dist/components/Icons/ArrowDropUpIcon.js +1 -0
- package/dist/components/Icons/ArrowForwardIcon.js +1 -0
- package/dist/components/Icons/ArrowUpwardIcon.js +1 -0
- package/dist/components/Icons/ArtTrackIcon.js +1 -0
- package/dist/components/Icons/ArticleIcon.js +1 -0
- package/dist/components/Icons/AttachMoneyIcon.js +1 -0
- package/dist/components/Icons/AttachmentIcon.js +1 -0
- package/dist/components/Icons/AudioFileIcon.js +1 -0
- package/dist/components/Icons/AutoAwesomeMosaic.js +1 -0
- package/dist/components/Icons/AvatarIcon.js +1 -0
- package/dist/components/Icons/AwardStarIcon.js +1 -0
- package/dist/components/Icons/BarChartIcon.js +1 -0
- package/dist/components/Icons/BarcodeScannerIcon.js +1 -0
- package/dist/components/Icons/BlockIcon.js +1 -0
- package/dist/components/Icons/BoltIcon.js +1 -0
- package/dist/components/Icons/Book5Icon.js +1 -0
- package/dist/components/Icons/BookOnlineIcon.js +1 -0
- package/dist/components/Icons/BugReportIcon.js +1 -0
- package/dist/components/Icons/BusinessCenterIcon.js +1 -0
- package/dist/components/Icons/CalendarAddOnIcon.js +1 -0
- package/dist/components/Icons/CalendarClockIcon.js +1 -0
- package/dist/components/Icons/CalendarMonthIcon.js +1 -0
- package/dist/components/Icons/CalendarTodayIcon.js +1 -0
- package/dist/components/Icons/CallIcon.js +1 -0
- package/dist/components/Icons/CallMadeIcon.js +1 -0
- package/dist/components/Icons/CallMissedIcon.js +1 -0
- package/dist/components/Icons/CallMissedOutgoingIcon.js +1 -0
- package/dist/components/Icons/CallReceivedIcon.js +1 -0
- package/dist/components/Icons/CampaignIcon.js +1 -0
- package/dist/components/Icons/CancelIcon.js +1 -0
- package/dist/components/Icons/CancelScheduleSendIcon.js +1 -0
- package/dist/components/Icons/CaptivePortalIcon.js +1 -0
- package/dist/components/Icons/CardLayoutIcon.js +1 -0
- package/dist/components/Icons/CasesIcon.js +1 -0
- package/dist/components/Icons/CategoryIcon.js +1 -0
- package/dist/components/Icons/ChairIcon.js +1 -0
- package/dist/components/Icons/ChangeCircleIcon.js +1 -0
- package/dist/components/Icons/ChatBubbleIcon.js +1 -0
- package/dist/components/Icons/ChatIcon.js +1 -0
- package/dist/components/Icons/CheckBoxIcon.js +1 -0
- package/dist/components/Icons/CheckBoxOutlineBlankIcon.js +1 -0
- package/dist/components/Icons/CheckCircleIcon.js +1 -0
- package/dist/components/Icons/CheckIcon.js +1 -0
- package/dist/components/Icons/ChevronLeftIcon.js +1 -0
- package/dist/components/Icons/ChevronRightIcon.js +1 -0
- package/dist/components/Icons/ClinicalNoteIcon.js +1 -0
- package/dist/components/Icons/CloseIcon.js +1 -0
- package/dist/components/Icons/CloudUploadIcon.js +1 -0
- package/dist/components/Icons/CodeIcon.js +1 -0
- package/dist/components/Icons/CoffeeIcon.js +1 -0
- package/dist/components/Icons/CollectionsBookmarkIcon.js +1 -0
- package/dist/components/Icons/ColorPickerIcon.js +1 -0
- package/dist/components/Icons/CompareArrowsIcon.js +1 -0
- package/dist/components/Icons/ConfirmationNumberIcon.js +1 -0
- package/dist/components/Icons/ContactMailIcon.js +1 -0
- package/dist/components/Icons/ContactPageIcon.js +1 -0
- package/dist/components/Icons/ContactPhoneIcon.js +1 -0
- package/dist/components/Icons/ContactSupportIcon.js +1 -0
- package/dist/components/Icons/ContactsIcon.js +1 -0
- package/dist/components/Icons/ContentCopyIcon.js +1 -0
- package/dist/components/Icons/CreditCardGearIcon.js +1 -0
- package/dist/components/Icons/CreditCardIcon.js +1 -0
- package/dist/components/Icons/CsvIcon.js +1 -0
- package/dist/components/Icons/CurrencyExchangeIcon.js +1 -0
- package/dist/components/Icons/DNSIcon.js +1 -0
- package/dist/components/Icons/DangerousIcon.js +1 -0
- package/dist/components/Icons/DarkModeIcon.js +1 -0
- package/dist/components/Icons/DashboardIcon.js +1 -0
- package/dist/components/Icons/DataCheckIcon.js +1 -0
- package/dist/components/Icons/DataObjectIcon.js +1 -0
- package/dist/components/Icons/DatabaseIcon.js +1 -0
- package/dist/components/Icons/DehazeIcon.js +1 -0
- package/dist/components/Icons/DeployedCodeAccountIcon.js +1 -0
- package/dist/components/Icons/DescriptionIcon.js +1 -0
- package/dist/components/Icons/DesktopMacIcon.js +1 -0
- package/dist/components/Icons/DevicesIcon.js +1 -0
- package/dist/components/Icons/DiamondIcon.js +1 -0
- package/dist/components/Icons/DirectionsWalkIcon.js +1 -0
- package/dist/components/Icons/Diversity1Icon.js +1 -0
- package/dist/components/Icons/Diversity2Icon.js +1 -0
- package/dist/components/Icons/Diversity3Icon.js +1 -0
- package/dist/components/Icons/DoNotDisturbOnIcon.js +1 -0
- package/dist/components/Icons/DomainAddIcon.js +1 -0
- package/dist/components/Icons/DomainIcon.js +1 -0
- package/dist/components/Icons/DomainVerificationIcon.js +1 -0
- package/dist/components/Icons/DownloadIcon.js +1 -0
- package/dist/components/Icons/DraftsIcon.js +1 -0
- package/dist/components/Icons/DragHandleIcon.js +1 -0
- package/dist/components/Icons/DragIndicatorIcon.js +1 -0
- package/dist/components/Icons/DuoIcon.js +1 -0
- package/dist/components/Icons/EarlyOnIcon.js +1 -0
- package/dist/components/Icons/EditIcon.js +1 -0
- package/dist/components/Icons/EmojiFoodBeverageIcon.js +1 -0
- package/dist/components/Icons/EmojiIcon.js +1 -0
- package/dist/components/Icons/EncryptedIcon.js +1 -0
- package/dist/components/Icons/EnterpriseIcon.js +1 -0
- package/dist/components/Icons/EqualIcon.js +1 -0
- package/dist/components/Icons/ErrorIcon.js +1 -0
- package/dist/components/Icons/EventBusyIcon.js +1 -0
- package/dist/components/Icons/EventIcon.js +1 -0
- package/dist/components/Icons/ExpandAllIcon.js +1 -0
- package/dist/components/Icons/FastForwardIcon.js +1 -0
- package/dist/components/Icons/FastRewindIcon.js +1 -0
- package/dist/components/Icons/FavoriteIcon.js +1 -0
- package/dist/components/Icons/FeaturedSeasonalAndGiftsIcon.js +1 -0
- package/dist/components/Icons/FeedIcon.js +1 -0
- package/dist/components/Icons/FilePresentIcon.js +1 -0
- package/dist/components/Icons/FilterListIcon.js +1 -0
- package/dist/components/Icons/FingerPrintIcon.js +1 -0
- package/dist/components/Icons/FlagIcon.js +1 -0
- package/dist/components/Icons/FolderCopyIcon.js +1 -0
- package/dist/components/Icons/FolderIcon.js +1 -0
- package/dist/components/Icons/FolderZipIcon.js +1 -0
- package/dist/components/Icons/FootPrintIcon.js +1 -0
- package/dist/components/Icons/FormatAlignCenterIcon.js +1 -0
- package/dist/components/Icons/FormatAlignJustifyIcon.js +1 -0
- package/dist/components/Icons/FormatAlignLeftIcon.js +1 -0
- package/dist/components/Icons/FormatAlignRightIcon.js +1 -0
- package/dist/components/Icons/FormatBoldIcon.js +1 -0
- package/dist/components/Icons/FormatItalicIcon.js +1 -0
- package/dist/components/Icons/FormatListBulletedIcon.js +1 -0
- package/dist/components/Icons/FormatListNumberedIcon.js +1 -0
- package/dist/components/Icons/FormatSizeIcon.js +1 -0
- package/dist/components/Icons/FormatUnderlinedIcon.js +1 -0
- package/dist/components/Icons/ForumIcon.js +1 -0
- package/dist/components/Icons/ForwardToInboxIcon.js +1 -0
- package/dist/components/Icons/FullScreenIcon.js +1 -0
- package/dist/components/Icons/GalleryThumbnailIcon.js +1 -0
- package/dist/components/Icons/GppBadIcon.js +1 -0
- package/dist/components/Icons/GppMaybeIcon.js +1 -0
- package/dist/components/Icons/GridViewIcon.js +1 -0
- package/dist/components/Icons/GroupIcon.js +1 -0
- package/dist/components/Icons/GroupsTwoIcon.js +1 -0
- package/dist/components/Icons/HandShakeIcon.js +1 -0
- package/dist/components/Icons/HeadphonesIcon.js +1 -0
- package/dist/components/Icons/HelpIcon.js +1 -0
- package/dist/components/Icons/HomeIcon.js +1 -0
- package/dist/components/Icons/HomePinIcon.js +1 -0
- package/dist/components/Icons/HomeRepairServiceIcon.js +1 -0
- package/dist/components/Icons/HourGlassTopIcon.js +1 -0
- package/dist/components/Icons/HourglassEmptyIcon.js +1 -0
- package/dist/components/Icons/HubIcon.js +1 -0
- package/dist/components/Icons/IFrameIcon.js +1 -0
- package/dist/components/Icons/IconWrapper.js +1 -0
- package/dist/components/Icons/IdCardIcon.js +1 -0
- package/dist/components/Icons/IndeterminateCheckBoxIcon.js +1 -0
- package/dist/components/Icons/InfoIcon.js +1 -0
- package/dist/components/Icons/InsertChartIcon.js +1 -0
- package/dist/components/Icons/IntegrationInstructionsIcon.js +1 -0
- package/dist/components/Icons/Inventory2Icon.js +1 -0
- package/dist/components/Icons/IosShareIcon.js +1 -0
- package/dist/components/Icons/KeepIcon.js +1 -0
- package/dist/components/Icons/KeyIcon.js +1 -0
- package/dist/components/Icons/KeyOffIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowDownIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowUpIcon.js +1 -0
- package/dist/components/Icons/KeyboardBackSpaceIcon.js +1 -0
- package/dist/components/Icons/KeyboardDoubleArrowDownIcon.js +1 -0
- package/dist/components/Icons/LabProfileIcon.js +1 -0
- package/dist/components/Icons/LabelIcon.js +1 -0
- package/dist/components/Icons/LabelOffIcon.js +1 -0
- package/dist/components/Icons/LanguageIcon.js +1 -0
- package/dist/components/Icons/LeftPanelCloseIcon.js +1 -0
- package/dist/components/Icons/LeftPanelOpenIcon.js +1 -0
- package/dist/components/Icons/LibraryMusicIcon.js +1 -0
- package/dist/components/Icons/LinkIcon.js +1 -0
- package/dist/components/Icons/LinkOffIcon.js +1 -0
- package/dist/components/Icons/LocalActivityIcon.js +1 -0
- package/dist/components/Icons/LocalFloristIcon.js +1 -0
- package/dist/components/Icons/LocalLibraryIcon.js +1 -0
- package/dist/components/Icons/LocationOnIcon.js +1 -0
- package/dist/components/Icons/LockIcon.js +1 -0
- package/dist/components/Icons/LockOpenIcon.js +1 -0
- package/dist/components/Icons/LoginIcon.js +1 -0
- package/dist/components/Icons/LogoutIcon.js +1 -0
- package/dist/components/Icons/MailIcon.js +1 -0
- package/dist/components/Icons/ManageAccountsIcon.js +1 -0
- package/dist/components/Icons/MarkUnreadChatAltIcon.js +1 -0
- package/dist/components/Icons/MediaLinkIcon.js +1 -0
- package/dist/components/Icons/MenuOpenIcon.js +1 -0
- package/dist/components/Icons/MetabolismIcon.js +1 -0
- package/dist/components/Icons/MilitaryTechIcon.js +1 -0
- package/dist/components/Icons/MoneyBagIcon.js +1 -0
- package/dist/components/Icons/MonitorIcon.js +1 -0
- package/dist/components/Icons/MonitoringIcon.js +1 -0
- package/dist/components/Icons/MoreHorizIcon.js +1 -0
- package/dist/components/Icons/MoreVertIcon.js +1 -0
- package/dist/components/Icons/MotionPhotosPausedIcon.js +1 -0
- package/dist/components/Icons/NotificationsIcon.js +1 -0
- package/dist/components/Icons/OpenInNewIcon.js +1 -0
- package/dist/components/Icons/Package2Icon.js +1 -0
- package/dist/components/Icons/PageviewIcon.js +1 -0
- package/dist/components/Icons/PaidIcon.js +1 -0
- package/dist/components/Icons/PaletteIcon.js +1 -0
- package/dist/components/Icons/PatientListIcon.js +1 -0
- package/dist/components/Icons/PauseIcon.js +1 -0
- package/dist/components/Icons/PaymentsIcon.js +1 -0
- package/dist/components/Icons/PendingActionsIcon.js +1 -0
- package/dist/components/Icons/PercentIcon.js +1 -0
- package/dist/components/Icons/PermMediaIcon.js +1 -0
- package/dist/components/Icons/PersonAddIcon.js +1 -0
- package/dist/components/Icons/PersonBookIcon.js +1 -0
- package/dist/components/Icons/PersonIcon.js +1 -0
- package/dist/components/Icons/PhotoCameraIcon.js +1 -0
- package/dist/components/Icons/PhotoIcon.js +1 -0
- package/dist/components/Icons/PhotoLibraryIcon.js +1 -0
- package/dist/components/Icons/PictureAsPdfIcon.js +1 -0
- package/dist/components/Icons/PlayArrowIcon.js +1 -0
- package/dist/components/Icons/PlayCircleIcon.js +1 -0
- package/dist/components/Icons/PolicyIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsCircleIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsNewIcon.js +1 -0
- package/dist/components/Icons/PreviewIcon.js +1 -0
- package/dist/components/Icons/PriorityHighIcon.js +1 -0
- package/dist/components/Icons/PsychologyAltIcon.js +1 -0
- package/dist/components/Icons/PublicIcon.js +1 -0
- package/dist/components/Icons/PublishIcon.js +1 -0
- package/dist/components/Icons/QRCode2Icon.js +1 -0
- package/dist/components/Icons/QuestionMarkIcon.js +1 -0
- package/dist/components/Icons/QuizIcon.js +1 -0
- package/dist/components/Icons/RadioButtonCheckedIcon.js +1 -0
- package/dist/components/Icons/RadioButtonUncheckedIcon.js +1 -0
- package/dist/components/Icons/RateReviewIcon.js +1 -0
- package/dist/components/Icons/ReceiptLongIcon.js +1 -0
- package/dist/components/Icons/RecordVoiceOverIcon.js +1 -0
- package/dist/components/Icons/RedeemIcon.js +1 -0
- package/dist/components/Icons/RedoIcon.js +1 -0
- package/dist/components/Icons/RemoveIcon.js +1 -0
- package/dist/components/Icons/RemoveRoadIcon.js +1 -0
- package/dist/components/Icons/RequestQuoteIcon.js +1 -0
- package/dist/components/Icons/ReviewIcon.js +1 -0
- package/dist/components/Icons/SavingsIcon.js +1 -0
- package/dist/components/Icons/ScheduleIcon.js +1 -0
- package/dist/components/Icons/ScheduleSendIcon.js +1 -0
- package/dist/components/Icons/SearchIcon.js +1 -0
- package/dist/components/Icons/SellIcon.js +1 -0
- package/dist/components/Icons/SendIcon.js +1 -0
- package/dist/components/Icons/SettingsIcon.js +1 -0
- package/dist/components/Icons/ShareIcon.js +1 -0
- package/dist/components/Icons/ShoppingCartIcon.js +1 -0
- package/dist/components/Icons/ShoppingModeIcon.js +1 -0
- package/dist/components/Icons/ShuffleIcon.js +1 -0
- package/dist/components/Icons/SocialLeaderBoardIcon.js +1 -0
- package/dist/components/Icons/Speed15xIcon.js +1 -0
- package/dist/components/Icons/Speed1xIcon.js +1 -0
- package/dist/components/Icons/Speed2xIcon.js +1 -0
- package/dist/components/Icons/StarHalfIcon.js +1 -0
- package/dist/components/Icons/StarIcon.js +1 -0
- package/dist/components/Icons/StorefrontIcon.js +1 -0
- package/dist/components/Icons/StrikethroughSIcon.js +1 -0
- package/dist/components/Icons/SubscriptionsIcon.js +1 -0
- package/dist/components/Icons/SupervisorAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchesIcon.js +1 -0
- package/dist/components/Icons/SyncSavedLocallyIcon.js +1 -0
- package/dist/components/Icons/TabletIcon.js +1 -0
- package/dist/components/Icons/ThumbDownIcon.js +1 -0
- package/dist/components/Icons/ThumbUpIcon.js +1 -0
- package/dist/components/Icons/TocIcon.js +1 -0
- package/dist/components/Icons/TrashDeleteBinIcon.js +1 -0
- package/dist/components/Icons/TrendingUpIcon.js +1 -0
- package/dist/components/Icons/TrophyIcon.js +1 -0
- package/dist/components/Icons/UndoIcon.js +1 -0
- package/dist/components/Icons/UnfoldMoreIcon.js +1 -0
- package/dist/components/Icons/UnsubscribeIcon.js +1 -0
- package/dist/components/Icons/UploadIcon.js +1 -0
- package/dist/components/Icons/VerifiedIcon.js +1 -0
- package/dist/components/Icons/VideoCamIcon.js +1 -0
- package/dist/components/Icons/VideoFileIcon.js +1 -0
- package/dist/components/Icons/ViewAgendaIcon.js +1 -0
- package/dist/components/Icons/ViewArrayIcon.js +1 -0
- package/dist/components/Icons/ViewCarouselIcon.js +1 -0
- package/dist/components/Icons/ViewCozyIcon.js +1 -0
- package/dist/components/Icons/ViewModuleIcon.js +1 -0
- package/dist/components/Icons/VisibilityIcon.js +1 -0
- package/dist/components/Icons/VisibilityOffIcon.js +1 -0
- package/dist/components/Icons/VolumeUpIcon.js +1 -0
- package/dist/components/Icons/VolunteerActivismIcon.js +1 -0
- package/dist/components/Icons/WandStarsGradientIcon.js +1 -0
- package/dist/components/Icons/WandStarsIcon.js +1 -0
- package/dist/components/Icons/WarningIcon.js +1 -0
- package/dist/components/Icons/WbSunnyIcon.js +1 -0
- package/dist/components/Icons/WebAssetIcon.js +1 -0
- package/dist/components/Icons/WebTrafficIcon.js +1 -0
- package/dist/components/Icons/WebhookIcon.js +1 -0
- package/dist/components/Icons/WidgetsIcon.js +1 -0
- package/dist/components/Icons/WorkHistoryIcon.js +1 -0
- package/dist/components/Icons/WorkIcon.js +1 -0
- package/dist/components/Icons/enums.js +1 -0
- package/dist/components/Icons/icons.js +1 -0
- package/dist/components/Icons/index.js +1 -0
- package/dist/components/Icons/types.js +1 -0
- package/dist/components/Input/Input.js +1 -0
- package/dist/components/Input/InputField.js +1 -0
- package/dist/components/Input/InputRoot.js +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/PasswordField/PasswordField.js +2 -0
- package/dist/components/PasswordField/index.js +1 -0
- package/dist/components/PhoneNumber/PhoneNumberDigitField.js +3 -0
- package/dist/components/PhoneNumber/PhoneNumberFields.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberFlagField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberInput.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptions.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsList.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsSearchField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberPortal.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberRoot.js +2 -0
- package/dist/components/PhoneNumber/index.js +1 -0
- package/dist/components/PhoneNumber/phoneNumberContext.js +1 -0
- package/dist/components/PriceField/PriceFieldDigitField.js +2 -0
- package/dist/components/PriceField/PriceFieldFields.js +2 -0
- package/dist/components/PriceField/PriceFieldFlagField.js +2 -0
- package/dist/components/PriceField/PriceFieldInput.js +2 -0
- package/dist/components/PriceField/PriceFieldOptions.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsList.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsSearchField.js +2 -0
- package/dist/components/PriceField/PriceFieldPortal.js +2 -0
- package/dist/components/PriceField/PriceFieldRoot.js +2 -0
- package/dist/components/PriceField/index.js +1 -0
- package/dist/components/PriceField/priceFieldContext.js +1 -0
- package/dist/components/Provider/MainstackDesignSystemProvider.js +1 -0
- package/dist/components/Provider/index.js +1 -0
- package/dist/components/Provider/providerContext.js +1 -0
- package/dist/components/Provider/useMainstackDesignSystemTheme.js +1 -0
- package/dist/components/Radio/RadioItem.js +1 -0
- package/dist/components/Radio/RadioItemIndicator.js +1 -0
- package/dist/components/Radio/RadioItemLabel.js +1 -0
- package/dist/components/Radio/RadioItemSubtext.js +1 -0
- package/dist/components/Radio/RadioItemTitle.js +1 -0
- package/dist/components/Radio/RadioRoot.js +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/SearchField/SearchField.js +2 -0
- package/dist/components/SearchField/index.js +1 -0
- package/dist/components/Select/MultiSelect.js +2 -0
- package/dist/components/Select/Select.js +2 -0
- package/dist/components/Select/SelectInputField.js +2 -0
- package/dist/components/Select/SelectOptionInputPreview.js +2 -0
- package/dist/components/Select/SelectOptionItem.js +2 -0
- package/dist/components/Select/SelectOptionItemWithCheckbox.js +2 -0
- package/dist/components/Select/SelectOptions.js +2 -0
- package/dist/components/Select/SelectPortal.js +2 -0
- package/dist/components/Select/SelectRoot.js +2 -0
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/selectContext.js +1 -0
- package/dist/components/Select/utils.js +1 -0
- package/dist/components/Tab/TabsContent.js +1 -0
- package/dist/components/Tab/TabsContext.js +1 -0
- package/dist/components/Tab/TabsList.js +1 -0
- package/dist/components/Tab/TabsRoot.js +1 -0
- package/dist/components/Tab/TabsTrigger.js +1 -0
- package/dist/components/Tab/index.js +1 -0
- package/dist/components/Tab/tabsVariants.js +1 -0
- package/dist/components/Tag/Tag.js +1 -0
- package/dist/components/Tag/TagIcon.js +1 -0
- package/dist/components/Tag/TagLabel.js +1 -0
- package/dist/components/Tag/TagRoot.js +1 -0
- package/dist/components/Tag/index.js +1 -0
- package/dist/components/Tag/tagVariants.js +1 -0
- package/dist/components/TextEditor/TextEditorField.js +4 -0
- package/dist/components/TextEditor/TextEditorInput.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/BoldMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/CodeMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ColorPickerMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/GenerateWithAiMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ImageUploadMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ItalicMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/LinkMenu.js +6 -0
- package/dist/components/TextEditor/TextEditorMenuBar/OrderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/StrikethroughMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextAlignMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuAction.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuBar.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextSizesMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnderlineMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnorderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorRoot.js +42 -0
- package/dist/components/TextEditor/index.js +1 -0
- package/dist/components/TextEditor/textEditorContext.js +1 -0
- package/dist/components/Textarea/Textarea.js +1 -0
- package/dist/components/Textarea/TextareaField.js +1 -0
- package/dist/components/Textarea/TextareaRoot.js +1 -0
- package/dist/components/Textarea/index.js +1 -0
- package/dist/components/Tile/TileCheckbox.js +1 -0
- package/dist/components/Tile/TileContent.js +1 -0
- package/dist/components/Tile/TileDescription.js +1 -0
- package/dist/components/Tile/TileHeader.js +1 -0
- package/dist/components/Tile/TileMedia.js +3 -0
- package/dist/components/Tile/TileRoot.js +2 -0
- package/dist/components/Tile/TileTitle.js +1 -0
- package/dist/components/Tile/index.js +1 -0
- package/dist/components/Tile/tileVariants.js +1 -0
- package/dist/components/Toggle/Toggle.js +1 -0
- package/dist/components/Toggle/ToggleLabel.js +1 -0
- package/dist/components/Toggle/ToggleRoot.js +1 -0
- package/dist/components/Toggle/ToggleSubtext.js +1 -0
- package/dist/components/Toggle/ToggleSwitch.js +2 -0
- package/dist/components/Toggle/ToggleTitle.js +1 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Toggle/toggleVariants.js +1 -0
- package/dist/components/Tooltip/TooltipArrow.js +1 -0
- package/dist/components/Tooltip/TooltipBody.js +1 -0
- package/dist/components/Tooltip/TooltipContent.js +1 -0
- package/dist/components/Tooltip/TooltipContext.js +1 -0
- package/dist/components/Tooltip/TooltipFooter.js +1 -0
- package/dist/components/Tooltip/TooltipHeader.js +1 -0
- package/dist/components/Tooltip/TooltipRoot.js +2 -0
- package/dist/components/Tooltip/TooltipTitle.js +1 -0
- package/dist/components/Tooltip/TooltipTrigger.js +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/useTooltipContext.js +1 -0
- package/dist/components/Typography/BodyText/BodyText.js +1 -0
- package/dist/components/Typography/BodyText/bodyTextVariants.js +1 -0
- package/dist/components/Typography/BodyText/index.js +1 -0
- package/dist/components/Typography/DisplayText/DisplayText.js +1 -0
- package/dist/components/Typography/DisplayText/displayTextVariants.js +1 -0
- package/dist/components/Typography/DisplayText/index.js +1 -0
- package/dist/components/Typography/HeadlineText/HeadlineText.js +1 -0
- package/dist/components/Typography/HeadlineText/headlineTextVariants.js +1 -0
- package/dist/components/Typography/HeadlineText/index.js +1 -0
- package/dist/en.json-BPy-6DYI.cjs +1 -0
- package/dist/en.json-VbJG9vrN.js +263 -0
- package/dist/floating-ui.dom-C224prEy.cjs +1 -0
- package/dist/floating-ui.dom-CauyjNxS.js +1131 -0
- package/dist/fonts/degular/Degular-Black.woff2 +0 -0
- package/dist/fonts/degular/Degular-Black_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Regular.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin_Italic.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Black.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BlackIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Bold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BoldIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Book.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BookIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Medium.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-MediumIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Regular.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-RegularIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Semibold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-SemiboldIt.woff2 +0 -0
- package/dist/getInternationalPhoneNumberPrefix-C4Qc97tE.cjs +34 -0
- package/dist/getInternationalPhoneNumberPrefix-C8O8VTpp.js +4368 -0
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/index-437EL2iq.js +52 -0
- package/dist/index-5Bhkapwi.js +82 -0
- package/dist/index-B0dI0L76.cjs +2 -0
- package/dist/index-BGQepRFJ.js +27 -0
- package/dist/index-BGfrl8IX.js +71 -0
- package/dist/index-BI11g55_.cjs +42 -0
- package/dist/index-BRRTyZ1e.js +75 -0
- package/dist/index-BZCybroW.cjs +2 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-B_Bwy8wX.cjs +1 -0
- package/dist/index-BbQbyYHN.cjs +2 -0
- package/dist/index-BfKbXbc8.cjs +1 -0
- package/dist/index-BvWMjxZ5.js +675 -0
- package/dist/index-Bx2vBAJ5.cjs +2 -0
- package/dist/index-ByaXH_ih.js +10 -0
- package/dist/index-C2mPf2xD.cjs +1 -0
- package/dist/index-C8aODXfJ.cjs +1 -0
- package/dist/index-CAgJYdlN.cjs +1 -0
- package/dist/index-CCKe-Mpx.js +6 -0
- package/dist/index-CRDKsB5y.cjs +2 -0
- package/dist/index-CRdNenpR.js +422 -0
- package/dist/index-CajSSBH7.cjs +1 -0
- package/dist/index-Cje7xxa1.cjs +1 -0
- package/dist/index-CpDnqHCm.js +36 -0
- package/dist/index-CsK1LjrZ.cjs +2 -0
- package/dist/index-CvknVH0W.js +754 -0
- package/dist/index-CwR-dC8j.cjs +2 -0
- package/dist/index-CyFz8fal.cjs +131 -0
- package/dist/index-CzY-WZXL.cjs +1 -0
- package/dist/index-D-KHlZ2P.js +20 -0
- package/dist/index-D29mdTf5.js +34 -0
- package/dist/index-D9S-9HH_.js +332 -0
- package/dist/index-DCXkdCW2.js +227 -0
- package/dist/index-DLcgu_3m.js +159 -0
- package/dist/index-DVuTCIJE.cjs +2 -0
- package/dist/index-DWQmix6e.js +234 -0
- package/dist/index-DYxWvftI.cjs +1 -0
- package/dist/index-DgIcguCG.cjs +2 -0
- package/dist/index-DmeJCEwx.js +181 -0
- package/dist/index-Dt3HnaYe.js +48 -0
- package/dist/index-Dz5LHXX9.js +145 -0
- package/dist/index-MQ0c3ZX_.cjs +1 -0
- package/dist/index-ZhUVW4CS.cjs +2 -0
- package/dist/index-bSPhqlcX.cjs +1 -0
- package/dist/index-fw7dUmQl.js +352 -0
- package/dist/index-ojFnBVkh.cjs +2 -0
- package/dist/index-q-4o5Ie4.cjs +2 -0
- package/dist/index-twi8FX77.js +13814 -0
- package/dist/index-xqkGMOJ8.js +13 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.js +1 -0
- package/dist/lib/useElementWidth.js +1 -0
- package/dist/lib/utils.js +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +89 -66
- package/build/index.css +0 -6
- package/build/index.d.ts +0 -1419
- package/build/mainstack-design-system.js +0 -25463
|
@@ -0,0 +1,1131 @@
|
|
|
1
|
+
const $t = ["top", "right", "bottom", "left"], j = Math.min, C = Math.max, ot = Math.round, nt = Math.floor, W = (t) => ({
|
|
2
|
+
x: t,
|
|
3
|
+
y: t
|
|
4
|
+
}), zt = {
|
|
5
|
+
left: "right",
|
|
6
|
+
right: "left",
|
|
7
|
+
bottom: "top",
|
|
8
|
+
top: "bottom"
|
|
9
|
+
}, _t = {
|
|
10
|
+
start: "end",
|
|
11
|
+
end: "start"
|
|
12
|
+
};
|
|
13
|
+
function ut(t, e, n) {
|
|
14
|
+
return C(t, j(e, n));
|
|
15
|
+
}
|
|
16
|
+
function $(t, e) {
|
|
17
|
+
return typeof t == "function" ? t(e) : t;
|
|
18
|
+
}
|
|
19
|
+
function z(t) {
|
|
20
|
+
return t.split("-")[0];
|
|
21
|
+
}
|
|
22
|
+
function J(t) {
|
|
23
|
+
return t.split("-")[1];
|
|
24
|
+
}
|
|
25
|
+
function ht(t) {
|
|
26
|
+
return t === "x" ? "y" : "x";
|
|
27
|
+
}
|
|
28
|
+
function gt(t) {
|
|
29
|
+
return t === "y" ? "height" : "width";
|
|
30
|
+
}
|
|
31
|
+
const It = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
32
|
+
function k(t) {
|
|
33
|
+
return It.has(z(t)) ? "y" : "x";
|
|
34
|
+
}
|
|
35
|
+
function pt(t) {
|
|
36
|
+
return ht(k(t));
|
|
37
|
+
}
|
|
38
|
+
function Xt(t, e, n) {
|
|
39
|
+
n === void 0 && (n = !1);
|
|
40
|
+
const o = J(t), i = pt(t), s = gt(i);
|
|
41
|
+
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
42
|
+
return e.reference[s] > e.floating[s] && (r = it(r)), [r, it(r)];
|
|
43
|
+
}
|
|
44
|
+
function jt(t) {
|
|
45
|
+
const e = it(t);
|
|
46
|
+
return [dt(t), e, dt(e)];
|
|
47
|
+
}
|
|
48
|
+
function dt(t) {
|
|
49
|
+
return t.replace(/start|end/g, (e) => _t[e]);
|
|
50
|
+
}
|
|
51
|
+
const vt = ["left", "right"], bt = ["right", "left"], Yt = ["top", "bottom"], qt = ["bottom", "top"];
|
|
52
|
+
function Ut(t, e, n) {
|
|
53
|
+
switch (t) {
|
|
54
|
+
case "top":
|
|
55
|
+
case "bottom":
|
|
56
|
+
return n ? e ? bt : vt : e ? vt : bt;
|
|
57
|
+
case "left":
|
|
58
|
+
case "right":
|
|
59
|
+
return e ? Yt : qt;
|
|
60
|
+
default:
|
|
61
|
+
return [];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function Kt(t, e, n, o) {
|
|
65
|
+
const i = J(t);
|
|
66
|
+
let s = Ut(z(t), n === "start", o);
|
|
67
|
+
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(dt)))), s;
|
|
68
|
+
}
|
|
69
|
+
function it(t) {
|
|
70
|
+
return t.replace(/left|right|bottom|top/g, (e) => zt[e]);
|
|
71
|
+
}
|
|
72
|
+
function Gt(t) {
|
|
73
|
+
return {
|
|
74
|
+
top: 0,
|
|
75
|
+
right: 0,
|
|
76
|
+
bottom: 0,
|
|
77
|
+
left: 0,
|
|
78
|
+
...t
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function Et(t) {
|
|
82
|
+
return typeof t != "number" ? Gt(t) : {
|
|
83
|
+
top: t,
|
|
84
|
+
right: t,
|
|
85
|
+
bottom: t,
|
|
86
|
+
left: t
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function st(t) {
|
|
90
|
+
const {
|
|
91
|
+
x: e,
|
|
92
|
+
y: n,
|
|
93
|
+
width: o,
|
|
94
|
+
height: i
|
|
95
|
+
} = t;
|
|
96
|
+
return {
|
|
97
|
+
width: o,
|
|
98
|
+
height: i,
|
|
99
|
+
top: n,
|
|
100
|
+
left: e,
|
|
101
|
+
right: e + o,
|
|
102
|
+
bottom: n + i,
|
|
103
|
+
x: e,
|
|
104
|
+
y: n
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function At(t, e, n) {
|
|
108
|
+
let {
|
|
109
|
+
reference: o,
|
|
110
|
+
floating: i
|
|
111
|
+
} = t;
|
|
112
|
+
const s = k(e), r = pt(e), c = gt(r), a = z(e), l = s === "y", u = o.x + o.width / 2 - i.width / 2, d = o.y + o.height / 2 - i.height / 2, h = o[c] / 2 - i[c] / 2;
|
|
113
|
+
let f;
|
|
114
|
+
switch (a) {
|
|
115
|
+
case "top":
|
|
116
|
+
f = {
|
|
117
|
+
x: u,
|
|
118
|
+
y: o.y - i.height
|
|
119
|
+
};
|
|
120
|
+
break;
|
|
121
|
+
case "bottom":
|
|
122
|
+
f = {
|
|
123
|
+
x: u,
|
|
124
|
+
y: o.y + o.height
|
|
125
|
+
};
|
|
126
|
+
break;
|
|
127
|
+
case "right":
|
|
128
|
+
f = {
|
|
129
|
+
x: o.x + o.width,
|
|
130
|
+
y: d
|
|
131
|
+
};
|
|
132
|
+
break;
|
|
133
|
+
case "left":
|
|
134
|
+
f = {
|
|
135
|
+
x: o.x - i.width,
|
|
136
|
+
y: d
|
|
137
|
+
};
|
|
138
|
+
break;
|
|
139
|
+
default:
|
|
140
|
+
f = {
|
|
141
|
+
x: o.x,
|
|
142
|
+
y: o.y
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
switch (J(e)) {
|
|
146
|
+
case "start":
|
|
147
|
+
f[r] -= h * (n && l ? -1 : 1);
|
|
148
|
+
break;
|
|
149
|
+
case "end":
|
|
150
|
+
f[r] += h * (n && l ? -1 : 1);
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
return f;
|
|
154
|
+
}
|
|
155
|
+
const Jt = async (t, e, n) => {
|
|
156
|
+
const {
|
|
157
|
+
placement: o = "bottom",
|
|
158
|
+
strategy: i = "absolute",
|
|
159
|
+
middleware: s = [],
|
|
160
|
+
platform: r
|
|
161
|
+
} = n, c = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
162
|
+
let l = await r.getElementRects({
|
|
163
|
+
reference: t,
|
|
164
|
+
floating: e,
|
|
165
|
+
strategy: i
|
|
166
|
+
}), {
|
|
167
|
+
x: u,
|
|
168
|
+
y: d
|
|
169
|
+
} = At(l, o, a), h = o, f = {}, m = 0;
|
|
170
|
+
for (let g = 0; g < c.length; g++) {
|
|
171
|
+
const {
|
|
172
|
+
name: p,
|
|
173
|
+
fn: w
|
|
174
|
+
} = c[g], {
|
|
175
|
+
x,
|
|
176
|
+
y,
|
|
177
|
+
data: b,
|
|
178
|
+
reset: v
|
|
179
|
+
} = await w({
|
|
180
|
+
x: u,
|
|
181
|
+
y: d,
|
|
182
|
+
initialPlacement: o,
|
|
183
|
+
placement: h,
|
|
184
|
+
strategy: i,
|
|
185
|
+
middlewareData: f,
|
|
186
|
+
rects: l,
|
|
187
|
+
platform: r,
|
|
188
|
+
elements: {
|
|
189
|
+
reference: t,
|
|
190
|
+
floating: e
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
u = x ?? u, d = y ?? d, f = {
|
|
194
|
+
...f,
|
|
195
|
+
[p]: {
|
|
196
|
+
...f[p],
|
|
197
|
+
...b
|
|
198
|
+
}
|
|
199
|
+
}, v && m <= 50 && (m++, typeof v == "object" && (v.placement && (h = v.placement), v.rects && (l = v.rects === !0 ? await r.getElementRects({
|
|
200
|
+
reference: t,
|
|
201
|
+
floating: e,
|
|
202
|
+
strategy: i
|
|
203
|
+
}) : v.rects), {
|
|
204
|
+
x: u,
|
|
205
|
+
y: d
|
|
206
|
+
} = At(l, h, a)), g = -1);
|
|
207
|
+
}
|
|
208
|
+
return {
|
|
209
|
+
x: u,
|
|
210
|
+
y: d,
|
|
211
|
+
placement: h,
|
|
212
|
+
strategy: i,
|
|
213
|
+
middlewareData: f
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
async function Z(t, e) {
|
|
217
|
+
var n;
|
|
218
|
+
e === void 0 && (e = {});
|
|
219
|
+
const {
|
|
220
|
+
x: o,
|
|
221
|
+
y: i,
|
|
222
|
+
platform: s,
|
|
223
|
+
rects: r,
|
|
224
|
+
elements: c,
|
|
225
|
+
strategy: a
|
|
226
|
+
} = t, {
|
|
227
|
+
boundary: l = "clippingAncestors",
|
|
228
|
+
rootBoundary: u = "viewport",
|
|
229
|
+
elementContext: d = "floating",
|
|
230
|
+
altBoundary: h = !1,
|
|
231
|
+
padding: f = 0
|
|
232
|
+
} = $(e, t), m = Et(f), p = c[h ? d === "floating" ? "reference" : "floating" : d], w = st(await s.getClippingRect({
|
|
233
|
+
element: (n = await (s.isElement == null ? void 0 : s.isElement(p))) == null || n ? p : p.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
|
|
234
|
+
boundary: l,
|
|
235
|
+
rootBoundary: u,
|
|
236
|
+
strategy: a
|
|
237
|
+
})), x = d === "floating" ? {
|
|
238
|
+
x: o,
|
|
239
|
+
y: i,
|
|
240
|
+
width: r.floating.width,
|
|
241
|
+
height: r.floating.height
|
|
242
|
+
} : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), b = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
|
|
243
|
+
x: 1,
|
|
244
|
+
y: 1
|
|
245
|
+
} : {
|
|
246
|
+
x: 1,
|
|
247
|
+
y: 1
|
|
248
|
+
}, v = st(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
249
|
+
elements: c,
|
|
250
|
+
rect: x,
|
|
251
|
+
offsetParent: y,
|
|
252
|
+
strategy: a
|
|
253
|
+
}) : x);
|
|
254
|
+
return {
|
|
255
|
+
top: (w.top - v.top + m.top) / b.y,
|
|
256
|
+
bottom: (v.bottom - w.bottom + m.bottom) / b.y,
|
|
257
|
+
left: (w.left - v.left + m.left) / b.x,
|
|
258
|
+
right: (v.right - w.right + m.right) / b.x
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
const Qt = (t) => ({
|
|
262
|
+
name: "arrow",
|
|
263
|
+
options: t,
|
|
264
|
+
async fn(e) {
|
|
265
|
+
const {
|
|
266
|
+
x: n,
|
|
267
|
+
y: o,
|
|
268
|
+
placement: i,
|
|
269
|
+
rects: s,
|
|
270
|
+
platform: r,
|
|
271
|
+
elements: c,
|
|
272
|
+
middlewareData: a
|
|
273
|
+
} = e, {
|
|
274
|
+
element: l,
|
|
275
|
+
padding: u = 0
|
|
276
|
+
} = $(t, e) || {};
|
|
277
|
+
if (l == null)
|
|
278
|
+
return {};
|
|
279
|
+
const d = Et(u), h = {
|
|
280
|
+
x: n,
|
|
281
|
+
y: o
|
|
282
|
+
}, f = pt(i), m = gt(f), g = await r.getDimensions(l), p = f === "y", w = p ? "top" : "left", x = p ? "bottom" : "right", y = p ? "clientHeight" : "clientWidth", b = s.reference[m] + s.reference[f] - h[f] - s.floating[m], v = h[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(l));
|
|
283
|
+
let A = R ? R[y] : 0;
|
|
284
|
+
(!A || !await (r.isElement == null ? void 0 : r.isElement(R))) && (A = c.floating[y] || s.floating[m]);
|
|
285
|
+
const N = b / 2 - v / 2, M = A / 2 - g[m] / 2 - 1, L = j(d[w], M), _ = j(d[x], M), F = L, I = A - g[m] - _, O = A / 2 - g[m] / 2 + N, q = ut(F, O, I), V = !a.arrow && J(i) != null && O !== q && s.reference[m] / 2 - (O < F ? L : _) - g[m] / 2 < 0, T = V ? O < F ? O - F : O - I : 0;
|
|
286
|
+
return {
|
|
287
|
+
[f]: h[f] + T,
|
|
288
|
+
data: {
|
|
289
|
+
[f]: q,
|
|
290
|
+
centerOffset: O - q - T,
|
|
291
|
+
...V && {
|
|
292
|
+
alignmentOffset: T
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
reset: V
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
}), Zt = function(t) {
|
|
299
|
+
return t === void 0 && (t = {}), {
|
|
300
|
+
name: "flip",
|
|
301
|
+
options: t,
|
|
302
|
+
async fn(e) {
|
|
303
|
+
var n, o;
|
|
304
|
+
const {
|
|
305
|
+
placement: i,
|
|
306
|
+
middlewareData: s,
|
|
307
|
+
rects: r,
|
|
308
|
+
initialPlacement: c,
|
|
309
|
+
platform: a,
|
|
310
|
+
elements: l
|
|
311
|
+
} = e, {
|
|
312
|
+
mainAxis: u = !0,
|
|
313
|
+
crossAxis: d = !0,
|
|
314
|
+
fallbackPlacements: h,
|
|
315
|
+
fallbackStrategy: f = "bestFit",
|
|
316
|
+
fallbackAxisSideDirection: m = "none",
|
|
317
|
+
flipAlignment: g = !0,
|
|
318
|
+
...p
|
|
319
|
+
} = $(t, e);
|
|
320
|
+
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
321
|
+
return {};
|
|
322
|
+
const w = z(i), x = k(c), y = z(c) === c, b = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), v = h || (y || !g ? [it(c)] : jt(c)), R = m !== "none";
|
|
323
|
+
!h && R && v.push(...Kt(c, g, m, b));
|
|
324
|
+
const A = [c, ...v], N = await Z(e, p), M = [];
|
|
325
|
+
let L = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
326
|
+
if (u && M.push(N[w]), d) {
|
|
327
|
+
const O = Xt(i, r, b);
|
|
328
|
+
M.push(N[O[0]], N[O[1]]);
|
|
329
|
+
}
|
|
330
|
+
if (L = [...L, {
|
|
331
|
+
placement: i,
|
|
332
|
+
overflows: M
|
|
333
|
+
}], !M.every((O) => O <= 0)) {
|
|
334
|
+
var _, F;
|
|
335
|
+
const O = (((_ = s.flip) == null ? void 0 : _.index) || 0) + 1, q = A[O];
|
|
336
|
+
if (q && (!(d === "alignment" ? x !== k(q) : !1) || // We leave the current main axis only if every placement on that axis
|
|
337
|
+
// overflows the main axis.
|
|
338
|
+
L.every((E) => k(E.placement) === x ? E.overflows[0] > 0 : !0)))
|
|
339
|
+
return {
|
|
340
|
+
data: {
|
|
341
|
+
index: O,
|
|
342
|
+
overflows: L
|
|
343
|
+
},
|
|
344
|
+
reset: {
|
|
345
|
+
placement: q
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
let V = (F = L.filter((T) => T.overflows[0] <= 0).sort((T, E) => T.overflows[1] - E.overflows[1])[0]) == null ? void 0 : F.placement;
|
|
349
|
+
if (!V)
|
|
350
|
+
switch (f) {
|
|
351
|
+
case "bestFit": {
|
|
352
|
+
var I;
|
|
353
|
+
const T = (I = L.filter((E) => {
|
|
354
|
+
if (R) {
|
|
355
|
+
const X = k(E.placement);
|
|
356
|
+
return X === x || // Create a bias to the `y` side axis due to horizontal
|
|
357
|
+
// reading directions favoring greater width.
|
|
358
|
+
X === "y";
|
|
359
|
+
}
|
|
360
|
+
return !0;
|
|
361
|
+
}).map((E) => [E.placement, E.overflows.filter((X) => X > 0).reduce((X, Vt) => X + Vt, 0)]).sort((E, X) => E[1] - X[1])[0]) == null ? void 0 : I[0];
|
|
362
|
+
T && (V = T);
|
|
363
|
+
break;
|
|
364
|
+
}
|
|
365
|
+
case "initialPlacement":
|
|
366
|
+
V = c;
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
if (i !== V)
|
|
370
|
+
return {
|
|
371
|
+
reset: {
|
|
372
|
+
placement: V
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
return {};
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
function Ot(t, e) {
|
|
381
|
+
return {
|
|
382
|
+
top: t.top - e.height,
|
|
383
|
+
right: t.right - e.width,
|
|
384
|
+
bottom: t.bottom - e.height,
|
|
385
|
+
left: t.left - e.width
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
function Rt(t) {
|
|
389
|
+
return $t.some((e) => t[e] >= 0);
|
|
390
|
+
}
|
|
391
|
+
const te = function(t) {
|
|
392
|
+
return t === void 0 && (t = {}), {
|
|
393
|
+
name: "hide",
|
|
394
|
+
options: t,
|
|
395
|
+
async fn(e) {
|
|
396
|
+
const {
|
|
397
|
+
rects: n
|
|
398
|
+
} = e, {
|
|
399
|
+
strategy: o = "referenceHidden",
|
|
400
|
+
...i
|
|
401
|
+
} = $(t, e);
|
|
402
|
+
switch (o) {
|
|
403
|
+
case "referenceHidden": {
|
|
404
|
+
const s = await Z(e, {
|
|
405
|
+
...i,
|
|
406
|
+
elementContext: "reference"
|
|
407
|
+
}), r = Ot(s, n.reference);
|
|
408
|
+
return {
|
|
409
|
+
data: {
|
|
410
|
+
referenceHiddenOffsets: r,
|
|
411
|
+
referenceHidden: Rt(r)
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
case "escaped": {
|
|
416
|
+
const s = await Z(e, {
|
|
417
|
+
...i,
|
|
418
|
+
altBoundary: !0
|
|
419
|
+
}), r = Ot(s, n.floating);
|
|
420
|
+
return {
|
|
421
|
+
data: {
|
|
422
|
+
escapedOffsets: r,
|
|
423
|
+
escaped: Rt(r)
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
default:
|
|
428
|
+
return {};
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
}, Dt = /* @__PURE__ */ new Set(["left", "top"]);
|
|
433
|
+
async function ee(t, e) {
|
|
434
|
+
const {
|
|
435
|
+
placement: n,
|
|
436
|
+
platform: o,
|
|
437
|
+
elements: i
|
|
438
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = z(n), c = J(n), a = k(n) === "y", l = Dt.has(r) ? -1 : 1, u = s && a ? -1 : 1, d = $(e, t);
|
|
439
|
+
let {
|
|
440
|
+
mainAxis: h,
|
|
441
|
+
crossAxis: f,
|
|
442
|
+
alignmentAxis: m
|
|
443
|
+
} = typeof d == "number" ? {
|
|
444
|
+
mainAxis: d,
|
|
445
|
+
crossAxis: 0,
|
|
446
|
+
alignmentAxis: null
|
|
447
|
+
} : {
|
|
448
|
+
mainAxis: d.mainAxis || 0,
|
|
449
|
+
crossAxis: d.crossAxis || 0,
|
|
450
|
+
alignmentAxis: d.alignmentAxis
|
|
451
|
+
};
|
|
452
|
+
return c && typeof m == "number" && (f = c === "end" ? m * -1 : m), a ? {
|
|
453
|
+
x: f * u,
|
|
454
|
+
y: h * l
|
|
455
|
+
} : {
|
|
456
|
+
x: h * l,
|
|
457
|
+
y: f * u
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
const ne = function(t) {
|
|
461
|
+
return t === void 0 && (t = 0), {
|
|
462
|
+
name: "offset",
|
|
463
|
+
options: t,
|
|
464
|
+
async fn(e) {
|
|
465
|
+
var n, o;
|
|
466
|
+
const {
|
|
467
|
+
x: i,
|
|
468
|
+
y: s,
|
|
469
|
+
placement: r,
|
|
470
|
+
middlewareData: c
|
|
471
|
+
} = e, a = await ee(e, t);
|
|
472
|
+
return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
|
|
473
|
+
x: i + a.x,
|
|
474
|
+
y: s + a.y,
|
|
475
|
+
data: {
|
|
476
|
+
...a,
|
|
477
|
+
placement: r
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
}, oe = function(t) {
|
|
483
|
+
return t === void 0 && (t = {}), {
|
|
484
|
+
name: "shift",
|
|
485
|
+
options: t,
|
|
486
|
+
async fn(e) {
|
|
487
|
+
const {
|
|
488
|
+
x: n,
|
|
489
|
+
y: o,
|
|
490
|
+
placement: i
|
|
491
|
+
} = e, {
|
|
492
|
+
mainAxis: s = !0,
|
|
493
|
+
crossAxis: r = !1,
|
|
494
|
+
limiter: c = {
|
|
495
|
+
fn: (p) => {
|
|
496
|
+
let {
|
|
497
|
+
x: w,
|
|
498
|
+
y: x
|
|
499
|
+
} = p;
|
|
500
|
+
return {
|
|
501
|
+
x: w,
|
|
502
|
+
y: x
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
...a
|
|
507
|
+
} = $(t, e), l = {
|
|
508
|
+
x: n,
|
|
509
|
+
y: o
|
|
510
|
+
}, u = await Z(e, a), d = k(z(i)), h = ht(d);
|
|
511
|
+
let f = l[h], m = l[d];
|
|
512
|
+
if (s) {
|
|
513
|
+
const p = h === "y" ? "top" : "left", w = h === "y" ? "bottom" : "right", x = f + u[p], y = f - u[w];
|
|
514
|
+
f = ut(x, f, y);
|
|
515
|
+
}
|
|
516
|
+
if (r) {
|
|
517
|
+
const p = d === "y" ? "top" : "left", w = d === "y" ? "bottom" : "right", x = m + u[p], y = m - u[w];
|
|
518
|
+
m = ut(x, m, y);
|
|
519
|
+
}
|
|
520
|
+
const g = c.fn({
|
|
521
|
+
...e,
|
|
522
|
+
[h]: f,
|
|
523
|
+
[d]: m
|
|
524
|
+
});
|
|
525
|
+
return {
|
|
526
|
+
...g,
|
|
527
|
+
data: {
|
|
528
|
+
x: g.x - n,
|
|
529
|
+
y: g.y - o,
|
|
530
|
+
enabled: {
|
|
531
|
+
[h]: s,
|
|
532
|
+
[d]: r
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
}, ie = function(t) {
|
|
539
|
+
return t === void 0 && (t = {}), {
|
|
540
|
+
options: t,
|
|
541
|
+
fn(e) {
|
|
542
|
+
const {
|
|
543
|
+
x: n,
|
|
544
|
+
y: o,
|
|
545
|
+
placement: i,
|
|
546
|
+
rects: s,
|
|
547
|
+
middlewareData: r
|
|
548
|
+
} = e, {
|
|
549
|
+
offset: c = 0,
|
|
550
|
+
mainAxis: a = !0,
|
|
551
|
+
crossAxis: l = !0
|
|
552
|
+
} = $(t, e), u = {
|
|
553
|
+
x: n,
|
|
554
|
+
y: o
|
|
555
|
+
}, d = k(i), h = ht(d);
|
|
556
|
+
let f = u[h], m = u[d];
|
|
557
|
+
const g = $(c, e), p = typeof g == "number" ? {
|
|
558
|
+
mainAxis: g,
|
|
559
|
+
crossAxis: 0
|
|
560
|
+
} : {
|
|
561
|
+
mainAxis: 0,
|
|
562
|
+
crossAxis: 0,
|
|
563
|
+
...g
|
|
564
|
+
};
|
|
565
|
+
if (a) {
|
|
566
|
+
const y = h === "y" ? "height" : "width", b = s.reference[h] - s.floating[y] + p.mainAxis, v = s.reference[h] + s.reference[y] - p.mainAxis;
|
|
567
|
+
f < b ? f = b : f > v && (f = v);
|
|
568
|
+
}
|
|
569
|
+
if (l) {
|
|
570
|
+
var w, x;
|
|
571
|
+
const y = h === "y" ? "width" : "height", b = Dt.has(z(i)), v = s.reference[d] - s.floating[y] + (b && ((w = r.offset) == null ? void 0 : w[d]) || 0) + (b ? 0 : p.crossAxis), R = s.reference[d] + s.reference[y] + (b ? 0 : ((x = r.offset) == null ? void 0 : x[d]) || 0) - (b ? p.crossAxis : 0);
|
|
572
|
+
m < v ? m = v : m > R && (m = R);
|
|
573
|
+
}
|
|
574
|
+
return {
|
|
575
|
+
[h]: f,
|
|
576
|
+
[d]: m
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
}, se = function(t) {
|
|
581
|
+
return t === void 0 && (t = {}), {
|
|
582
|
+
name: "size",
|
|
583
|
+
options: t,
|
|
584
|
+
async fn(e) {
|
|
585
|
+
var n, o;
|
|
586
|
+
const {
|
|
587
|
+
placement: i,
|
|
588
|
+
rects: s,
|
|
589
|
+
platform: r,
|
|
590
|
+
elements: c
|
|
591
|
+
} = e, {
|
|
592
|
+
apply: a = () => {
|
|
593
|
+
},
|
|
594
|
+
...l
|
|
595
|
+
} = $(t, e), u = await Z(e, l), d = z(i), h = J(i), f = k(i) === "y", {
|
|
596
|
+
width: m,
|
|
597
|
+
height: g
|
|
598
|
+
} = s.floating;
|
|
599
|
+
let p, w;
|
|
600
|
+
d === "top" || d === "bottom" ? (p = d, w = h === (await (r.isRTL == null ? void 0 : r.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (w = d, p = h === "end" ? "top" : "bottom");
|
|
601
|
+
const x = g - u.top - u.bottom, y = m - u.left - u.right, b = j(g - u[p], x), v = j(m - u[w], y), R = !e.middlewareData.shift;
|
|
602
|
+
let A = b, N = v;
|
|
603
|
+
if ((n = e.middlewareData.shift) != null && n.enabled.x && (N = y), (o = e.middlewareData.shift) != null && o.enabled.y && (A = x), R && !h) {
|
|
604
|
+
const L = C(u.left, 0), _ = C(u.right, 0), F = C(u.top, 0), I = C(u.bottom, 0);
|
|
605
|
+
f ? N = m - 2 * (L !== 0 || _ !== 0 ? L + _ : C(u.left, u.right)) : A = g - 2 * (F !== 0 || I !== 0 ? F + I : C(u.top, u.bottom));
|
|
606
|
+
}
|
|
607
|
+
await a({
|
|
608
|
+
...e,
|
|
609
|
+
availableWidth: N,
|
|
610
|
+
availableHeight: A
|
|
611
|
+
});
|
|
612
|
+
const M = await r.getDimensions(c.floating);
|
|
613
|
+
return m !== M.width || g !== M.height ? {
|
|
614
|
+
reset: {
|
|
615
|
+
rects: !0
|
|
616
|
+
}
|
|
617
|
+
} : {};
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
function rt() {
|
|
622
|
+
return typeof window < "u";
|
|
623
|
+
}
|
|
624
|
+
function Q(t) {
|
|
625
|
+
return Pt(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
626
|
+
}
|
|
627
|
+
function S(t) {
|
|
628
|
+
var e;
|
|
629
|
+
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
630
|
+
}
|
|
631
|
+
function H(t) {
|
|
632
|
+
var e;
|
|
633
|
+
return (e = (Pt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
634
|
+
}
|
|
635
|
+
function Pt(t) {
|
|
636
|
+
return rt() ? t instanceof Node || t instanceof S(t).Node : !1;
|
|
637
|
+
}
|
|
638
|
+
function D(t) {
|
|
639
|
+
return rt() ? t instanceof Element || t instanceof S(t).Element : !1;
|
|
640
|
+
}
|
|
641
|
+
function B(t) {
|
|
642
|
+
return rt() ? t instanceof HTMLElement || t instanceof S(t).HTMLElement : !1;
|
|
643
|
+
}
|
|
644
|
+
function Ct(t) {
|
|
645
|
+
return !rt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof S(t).ShadowRoot;
|
|
646
|
+
}
|
|
647
|
+
const re = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
648
|
+
function et(t) {
|
|
649
|
+
const {
|
|
650
|
+
overflow: e,
|
|
651
|
+
overflowX: n,
|
|
652
|
+
overflowY: o,
|
|
653
|
+
display: i
|
|
654
|
+
} = P(t);
|
|
655
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !re.has(i);
|
|
656
|
+
}
|
|
657
|
+
const ce = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
658
|
+
function le(t) {
|
|
659
|
+
return ce.has(Q(t));
|
|
660
|
+
}
|
|
661
|
+
const fe = [":popover-open", ":modal"];
|
|
662
|
+
function ct(t) {
|
|
663
|
+
return fe.some((e) => {
|
|
664
|
+
try {
|
|
665
|
+
return t.matches(e);
|
|
666
|
+
} catch {
|
|
667
|
+
return !1;
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
const ae = ["transform", "translate", "scale", "rotate", "perspective"], ue = ["transform", "translate", "scale", "rotate", "perspective", "filter"], de = ["paint", "layout", "strict", "content"];
|
|
672
|
+
function wt(t) {
|
|
673
|
+
const e = xt(), n = D(t) ? P(t) : t;
|
|
674
|
+
return ae.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ue.some((o) => (n.willChange || "").includes(o)) || de.some((o) => (n.contain || "").includes(o));
|
|
675
|
+
}
|
|
676
|
+
function me(t) {
|
|
677
|
+
let e = Y(t);
|
|
678
|
+
for (; B(e) && !G(e); ) {
|
|
679
|
+
if (wt(e))
|
|
680
|
+
return e;
|
|
681
|
+
if (ct(e))
|
|
682
|
+
return null;
|
|
683
|
+
e = Y(e);
|
|
684
|
+
}
|
|
685
|
+
return null;
|
|
686
|
+
}
|
|
687
|
+
function xt() {
|
|
688
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
689
|
+
}
|
|
690
|
+
const he = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
691
|
+
function G(t) {
|
|
692
|
+
return he.has(Q(t));
|
|
693
|
+
}
|
|
694
|
+
function P(t) {
|
|
695
|
+
return S(t).getComputedStyle(t);
|
|
696
|
+
}
|
|
697
|
+
function lt(t) {
|
|
698
|
+
return D(t) ? {
|
|
699
|
+
scrollLeft: t.scrollLeft,
|
|
700
|
+
scrollTop: t.scrollTop
|
|
701
|
+
} : {
|
|
702
|
+
scrollLeft: t.scrollX,
|
|
703
|
+
scrollTop: t.scrollY
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
function Y(t) {
|
|
707
|
+
if (Q(t) === "html")
|
|
708
|
+
return t;
|
|
709
|
+
const e = (
|
|
710
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
711
|
+
t.assignedSlot || // DOM Element detected.
|
|
712
|
+
t.parentNode || // ShadowRoot detected.
|
|
713
|
+
Ct(t) && t.host || // Fallback.
|
|
714
|
+
H(t)
|
|
715
|
+
);
|
|
716
|
+
return Ct(e) ? e.host : e;
|
|
717
|
+
}
|
|
718
|
+
function Mt(t) {
|
|
719
|
+
const e = Y(t);
|
|
720
|
+
return G(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : B(e) && et(e) ? e : Mt(e);
|
|
721
|
+
}
|
|
722
|
+
function tt(t, e, n) {
|
|
723
|
+
var o;
|
|
724
|
+
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
725
|
+
const i = Mt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = S(i);
|
|
726
|
+
if (s) {
|
|
727
|
+
const c = mt(r);
|
|
728
|
+
return e.concat(r, r.visualViewport || [], et(i) ? i : [], c && n ? tt(c) : []);
|
|
729
|
+
}
|
|
730
|
+
return e.concat(i, tt(i, [], n));
|
|
731
|
+
}
|
|
732
|
+
function mt(t) {
|
|
733
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
734
|
+
}
|
|
735
|
+
function Ft(t) {
|
|
736
|
+
const e = P(t);
|
|
737
|
+
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
738
|
+
const i = B(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = ot(n) !== s || ot(o) !== r;
|
|
739
|
+
return c && (n = s, o = r), {
|
|
740
|
+
width: n,
|
|
741
|
+
height: o,
|
|
742
|
+
$: c
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
function yt(t) {
|
|
746
|
+
return D(t) ? t : t.contextElement;
|
|
747
|
+
}
|
|
748
|
+
function K(t) {
|
|
749
|
+
const e = yt(t);
|
|
750
|
+
if (!B(e))
|
|
751
|
+
return W(1);
|
|
752
|
+
const n = e.getBoundingClientRect(), {
|
|
753
|
+
width: o,
|
|
754
|
+
height: i,
|
|
755
|
+
$: s
|
|
756
|
+
} = Ft(e);
|
|
757
|
+
let r = (s ? ot(n.width) : n.width) / o, c = (s ? ot(n.height) : n.height) / i;
|
|
758
|
+
return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
759
|
+
x: r,
|
|
760
|
+
y: c
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
const ge = /* @__PURE__ */ W(0);
|
|
764
|
+
function kt(t) {
|
|
765
|
+
const e = S(t);
|
|
766
|
+
return !xt() || !e.visualViewport ? ge : {
|
|
767
|
+
x: e.visualViewport.offsetLeft,
|
|
768
|
+
y: e.visualViewport.offsetTop
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
function pe(t, e, n) {
|
|
772
|
+
return e === void 0 && (e = !1), !n || e && n !== S(t) ? !1 : e;
|
|
773
|
+
}
|
|
774
|
+
function U(t, e, n, o) {
|
|
775
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
776
|
+
const i = t.getBoundingClientRect(), s = yt(t);
|
|
777
|
+
let r = W(1);
|
|
778
|
+
e && (o ? D(o) && (r = K(o)) : r = K(t));
|
|
779
|
+
const c = pe(s, n, o) ? kt(s) : W(0);
|
|
780
|
+
let a = (i.left + c.x) / r.x, l = (i.top + c.y) / r.y, u = i.width / r.x, d = i.height / r.y;
|
|
781
|
+
if (s) {
|
|
782
|
+
const h = S(s), f = o && D(o) ? S(o) : o;
|
|
783
|
+
let m = h, g = mt(m);
|
|
784
|
+
for (; g && o && f !== m; ) {
|
|
785
|
+
const p = K(g), w = g.getBoundingClientRect(), x = P(g), y = w.left + (g.clientLeft + parseFloat(x.paddingLeft)) * p.x, b = w.top + (g.clientTop + parseFloat(x.paddingTop)) * p.y;
|
|
786
|
+
a *= p.x, l *= p.y, u *= p.x, d *= p.y, a += y, l += b, m = S(g), g = mt(m);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
return st({
|
|
790
|
+
width: u,
|
|
791
|
+
height: d,
|
|
792
|
+
x: a,
|
|
793
|
+
y: l
|
|
794
|
+
});
|
|
795
|
+
}
|
|
796
|
+
function ft(t, e) {
|
|
797
|
+
const n = lt(t).scrollLeft;
|
|
798
|
+
return e ? e.left + n : U(H(t)).left + n;
|
|
799
|
+
}
|
|
800
|
+
function Wt(t, e) {
|
|
801
|
+
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - ft(t, n), i = n.top + e.scrollTop;
|
|
802
|
+
return {
|
|
803
|
+
x: o,
|
|
804
|
+
y: i
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
function we(t) {
|
|
808
|
+
let {
|
|
809
|
+
elements: e,
|
|
810
|
+
rect: n,
|
|
811
|
+
offsetParent: o,
|
|
812
|
+
strategy: i
|
|
813
|
+
} = t;
|
|
814
|
+
const s = i === "fixed", r = H(o), c = e ? ct(e.floating) : !1;
|
|
815
|
+
if (o === r || c && s)
|
|
816
|
+
return n;
|
|
817
|
+
let a = {
|
|
818
|
+
scrollLeft: 0,
|
|
819
|
+
scrollTop: 0
|
|
820
|
+
}, l = W(1);
|
|
821
|
+
const u = W(0), d = B(o);
|
|
822
|
+
if ((d || !d && !s) && ((Q(o) !== "body" || et(r)) && (a = lt(o)), B(o))) {
|
|
823
|
+
const f = U(o);
|
|
824
|
+
l = K(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
|
|
825
|
+
}
|
|
826
|
+
const h = r && !d && !s ? Wt(r, a) : W(0);
|
|
827
|
+
return {
|
|
828
|
+
width: n.width * l.x,
|
|
829
|
+
height: n.height * l.y,
|
|
830
|
+
x: n.x * l.x - a.scrollLeft * l.x + u.x + h.x,
|
|
831
|
+
y: n.y * l.y - a.scrollTop * l.y + u.y + h.y
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
function xe(t) {
|
|
835
|
+
return Array.from(t.getClientRects());
|
|
836
|
+
}
|
|
837
|
+
function ye(t) {
|
|
838
|
+
const e = H(t), n = lt(t), o = t.ownerDocument.body, i = C(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = C(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
839
|
+
let r = -n.scrollLeft + ft(t);
|
|
840
|
+
const c = -n.scrollTop;
|
|
841
|
+
return P(o).direction === "rtl" && (r += C(e.clientWidth, o.clientWidth) - i), {
|
|
842
|
+
width: i,
|
|
843
|
+
height: s,
|
|
844
|
+
x: r,
|
|
845
|
+
y: c
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
const St = 25;
|
|
849
|
+
function ve(t, e) {
|
|
850
|
+
const n = S(t), o = H(t), i = n.visualViewport;
|
|
851
|
+
let s = o.clientWidth, r = o.clientHeight, c = 0, a = 0;
|
|
852
|
+
if (i) {
|
|
853
|
+
s = i.width, r = i.height;
|
|
854
|
+
const u = xt();
|
|
855
|
+
(!u || u && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
|
|
856
|
+
}
|
|
857
|
+
const l = ft(o);
|
|
858
|
+
if (l <= 0) {
|
|
859
|
+
const u = o.ownerDocument, d = u.body, h = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, m = Math.abs(o.clientWidth - d.clientWidth - f);
|
|
860
|
+
m <= St && (s -= m);
|
|
861
|
+
} else l <= St && (s += l);
|
|
862
|
+
return {
|
|
863
|
+
width: s,
|
|
864
|
+
height: r,
|
|
865
|
+
x: c,
|
|
866
|
+
y: a
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
const be = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
870
|
+
function Ae(t, e) {
|
|
871
|
+
const n = U(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = B(t) ? K(t) : W(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, a = i * s.x, l = o * s.y;
|
|
872
|
+
return {
|
|
873
|
+
width: r,
|
|
874
|
+
height: c,
|
|
875
|
+
x: a,
|
|
876
|
+
y: l
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
function Lt(t, e, n) {
|
|
880
|
+
let o;
|
|
881
|
+
if (e === "viewport")
|
|
882
|
+
o = ve(t, n);
|
|
883
|
+
else if (e === "document")
|
|
884
|
+
o = ye(H(t));
|
|
885
|
+
else if (D(e))
|
|
886
|
+
o = Ae(e, n);
|
|
887
|
+
else {
|
|
888
|
+
const i = kt(t);
|
|
889
|
+
o = {
|
|
890
|
+
x: e.x - i.x,
|
|
891
|
+
y: e.y - i.y,
|
|
892
|
+
width: e.width,
|
|
893
|
+
height: e.height
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
return st(o);
|
|
897
|
+
}
|
|
898
|
+
function Bt(t, e) {
|
|
899
|
+
const n = Y(t);
|
|
900
|
+
return n === e || !D(n) || G(n) ? !1 : P(n).position === "fixed" || Bt(n, e);
|
|
901
|
+
}
|
|
902
|
+
function Oe(t, e) {
|
|
903
|
+
const n = e.get(t);
|
|
904
|
+
if (n)
|
|
905
|
+
return n;
|
|
906
|
+
let o = tt(t, [], !1).filter((c) => D(c) && Q(c) !== "body"), i = null;
|
|
907
|
+
const s = P(t).position === "fixed";
|
|
908
|
+
let r = s ? Y(t) : t;
|
|
909
|
+
for (; D(r) && !G(r); ) {
|
|
910
|
+
const c = P(r), a = wt(r);
|
|
911
|
+
!a && c.position === "fixed" && (i = null), (s ? !a && !i : !a && c.position === "static" && !!i && be.has(i.position) || et(r) && !a && Bt(t, r)) ? o = o.filter((u) => u !== r) : i = c, r = Y(r);
|
|
912
|
+
}
|
|
913
|
+
return e.set(t, o), o;
|
|
914
|
+
}
|
|
915
|
+
function Re(t) {
|
|
916
|
+
let {
|
|
917
|
+
element: e,
|
|
918
|
+
boundary: n,
|
|
919
|
+
rootBoundary: o,
|
|
920
|
+
strategy: i
|
|
921
|
+
} = t;
|
|
922
|
+
const r = [...n === "clippingAncestors" ? ct(e) ? [] : Oe(e, this._c) : [].concat(n), o], c = r[0], a = r.reduce((l, u) => {
|
|
923
|
+
const d = Lt(e, u, i);
|
|
924
|
+
return l.top = C(d.top, l.top), l.right = j(d.right, l.right), l.bottom = j(d.bottom, l.bottom), l.left = C(d.left, l.left), l;
|
|
925
|
+
}, Lt(e, c, i));
|
|
926
|
+
return {
|
|
927
|
+
width: a.right - a.left,
|
|
928
|
+
height: a.bottom - a.top,
|
|
929
|
+
x: a.left,
|
|
930
|
+
y: a.top
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
function Ce(t) {
|
|
934
|
+
const {
|
|
935
|
+
width: e,
|
|
936
|
+
height: n
|
|
937
|
+
} = Ft(t);
|
|
938
|
+
return {
|
|
939
|
+
width: e,
|
|
940
|
+
height: n
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
function Se(t, e, n) {
|
|
944
|
+
const o = B(e), i = H(e), s = n === "fixed", r = U(t, !0, s, e);
|
|
945
|
+
let c = {
|
|
946
|
+
scrollLeft: 0,
|
|
947
|
+
scrollTop: 0
|
|
948
|
+
};
|
|
949
|
+
const a = W(0);
|
|
950
|
+
function l() {
|
|
951
|
+
a.x = ft(i);
|
|
952
|
+
}
|
|
953
|
+
if (o || !o && !s)
|
|
954
|
+
if ((Q(e) !== "body" || et(i)) && (c = lt(e)), o) {
|
|
955
|
+
const f = U(e, !0, s, e);
|
|
956
|
+
a.x = f.x + e.clientLeft, a.y = f.y + e.clientTop;
|
|
957
|
+
} else i && l();
|
|
958
|
+
s && !o && i && l();
|
|
959
|
+
const u = i && !o && !s ? Wt(i, c) : W(0), d = r.left + c.scrollLeft - a.x - u.x, h = r.top + c.scrollTop - a.y - u.y;
|
|
960
|
+
return {
|
|
961
|
+
x: d,
|
|
962
|
+
y: h,
|
|
963
|
+
width: r.width,
|
|
964
|
+
height: r.height
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
function at(t) {
|
|
968
|
+
return P(t).position === "static";
|
|
969
|
+
}
|
|
970
|
+
function Tt(t, e) {
|
|
971
|
+
if (!B(t) || P(t).position === "fixed")
|
|
972
|
+
return null;
|
|
973
|
+
if (e)
|
|
974
|
+
return e(t);
|
|
975
|
+
let n = t.offsetParent;
|
|
976
|
+
return H(t) === n && (n = n.ownerDocument.body), n;
|
|
977
|
+
}
|
|
978
|
+
function Ht(t, e) {
|
|
979
|
+
const n = S(t);
|
|
980
|
+
if (ct(t))
|
|
981
|
+
return n;
|
|
982
|
+
if (!B(t)) {
|
|
983
|
+
let i = Y(t);
|
|
984
|
+
for (; i && !G(i); ) {
|
|
985
|
+
if (D(i) && !at(i))
|
|
986
|
+
return i;
|
|
987
|
+
i = Y(i);
|
|
988
|
+
}
|
|
989
|
+
return n;
|
|
990
|
+
}
|
|
991
|
+
let o = Tt(t, e);
|
|
992
|
+
for (; o && le(o) && at(o); )
|
|
993
|
+
o = Tt(o, e);
|
|
994
|
+
return o && G(o) && at(o) && !wt(o) ? n : o || me(t) || n;
|
|
995
|
+
}
|
|
996
|
+
const Le = async function(t) {
|
|
997
|
+
const e = this.getOffsetParent || Ht, n = this.getDimensions, o = await n(t.floating);
|
|
998
|
+
return {
|
|
999
|
+
reference: Se(t.reference, await e(t.floating), t.strategy),
|
|
1000
|
+
floating: {
|
|
1001
|
+
x: 0,
|
|
1002
|
+
y: 0,
|
|
1003
|
+
width: o.width,
|
|
1004
|
+
height: o.height
|
|
1005
|
+
}
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
function Te(t) {
|
|
1009
|
+
return P(t).direction === "rtl";
|
|
1010
|
+
}
|
|
1011
|
+
const Ee = {
|
|
1012
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: we,
|
|
1013
|
+
getDocumentElement: H,
|
|
1014
|
+
getClippingRect: Re,
|
|
1015
|
+
getOffsetParent: Ht,
|
|
1016
|
+
getElementRects: Le,
|
|
1017
|
+
getClientRects: xe,
|
|
1018
|
+
getDimensions: Ce,
|
|
1019
|
+
getScale: K,
|
|
1020
|
+
isElement: D,
|
|
1021
|
+
isRTL: Te
|
|
1022
|
+
};
|
|
1023
|
+
function Nt(t, e) {
|
|
1024
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1025
|
+
}
|
|
1026
|
+
function De(t, e) {
|
|
1027
|
+
let n = null, o;
|
|
1028
|
+
const i = H(t);
|
|
1029
|
+
function s() {
|
|
1030
|
+
var c;
|
|
1031
|
+
clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
|
|
1032
|
+
}
|
|
1033
|
+
function r(c, a) {
|
|
1034
|
+
c === void 0 && (c = !1), a === void 0 && (a = 1), s();
|
|
1035
|
+
const l = t.getBoundingClientRect(), {
|
|
1036
|
+
left: u,
|
|
1037
|
+
top: d,
|
|
1038
|
+
width: h,
|
|
1039
|
+
height: f
|
|
1040
|
+
} = l;
|
|
1041
|
+
if (c || e(), !h || !f)
|
|
1042
|
+
return;
|
|
1043
|
+
const m = nt(d), g = nt(i.clientWidth - (u + h)), p = nt(i.clientHeight - (d + f)), w = nt(u), y = {
|
|
1044
|
+
rootMargin: -m + "px " + -g + "px " + -p + "px " + -w + "px",
|
|
1045
|
+
threshold: C(0, j(1, a)) || 1
|
|
1046
|
+
};
|
|
1047
|
+
let b = !0;
|
|
1048
|
+
function v(R) {
|
|
1049
|
+
const A = R[0].intersectionRatio;
|
|
1050
|
+
if (A !== a) {
|
|
1051
|
+
if (!b)
|
|
1052
|
+
return r();
|
|
1053
|
+
A ? r(!1, A) : o = setTimeout(() => {
|
|
1054
|
+
r(!1, 1e-7);
|
|
1055
|
+
}, 1e3);
|
|
1056
|
+
}
|
|
1057
|
+
A === 1 && !Nt(l, t.getBoundingClientRect()) && r(), b = !1;
|
|
1058
|
+
}
|
|
1059
|
+
try {
|
|
1060
|
+
n = new IntersectionObserver(v, {
|
|
1061
|
+
...y,
|
|
1062
|
+
// Handle <iframe>s
|
|
1063
|
+
root: i.ownerDocument
|
|
1064
|
+
});
|
|
1065
|
+
} catch {
|
|
1066
|
+
n = new IntersectionObserver(v, y);
|
|
1067
|
+
}
|
|
1068
|
+
n.observe(t);
|
|
1069
|
+
}
|
|
1070
|
+
return r(!0), s;
|
|
1071
|
+
}
|
|
1072
|
+
function Pe(t, e, n, o) {
|
|
1073
|
+
o === void 0 && (o = {});
|
|
1074
|
+
const {
|
|
1075
|
+
ancestorScroll: i = !0,
|
|
1076
|
+
ancestorResize: s = !0,
|
|
1077
|
+
elementResize: r = typeof ResizeObserver == "function",
|
|
1078
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1079
|
+
animationFrame: a = !1
|
|
1080
|
+
} = o, l = yt(t), u = i || s ? [...l ? tt(l) : [], ...tt(e)] : [];
|
|
1081
|
+
u.forEach((w) => {
|
|
1082
|
+
i && w.addEventListener("scroll", n, {
|
|
1083
|
+
passive: !0
|
|
1084
|
+
}), s && w.addEventListener("resize", n);
|
|
1085
|
+
});
|
|
1086
|
+
const d = l && c ? De(l, n) : null;
|
|
1087
|
+
let h = -1, f = null;
|
|
1088
|
+
r && (f = new ResizeObserver((w) => {
|
|
1089
|
+
let [x] = w;
|
|
1090
|
+
x && x.target === l && f && (f.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
|
|
1091
|
+
var y;
|
|
1092
|
+
(y = f) == null || y.observe(e);
|
|
1093
|
+
})), n();
|
|
1094
|
+
}), l && !a && f.observe(l), f.observe(e));
|
|
1095
|
+
let m, g = a ? U(t) : null;
|
|
1096
|
+
a && p();
|
|
1097
|
+
function p() {
|
|
1098
|
+
const w = U(t);
|
|
1099
|
+
g && !Nt(g, w) && n(), g = w, m = requestAnimationFrame(p);
|
|
1100
|
+
}
|
|
1101
|
+
return n(), () => {
|
|
1102
|
+
var w;
|
|
1103
|
+
u.forEach((x) => {
|
|
1104
|
+
i && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
|
|
1105
|
+
}), d?.(), (w = f) == null || w.disconnect(), f = null, a && cancelAnimationFrame(m);
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
const Me = ne, Fe = oe, ke = Zt, We = se, Be = te, He = Qt, Ne = ie, Ve = (t, e, n) => {
|
|
1109
|
+
const o = /* @__PURE__ */ new Map(), i = {
|
|
1110
|
+
platform: Ee,
|
|
1111
|
+
...n
|
|
1112
|
+
}, s = {
|
|
1113
|
+
...i.platform,
|
|
1114
|
+
_c: o
|
|
1115
|
+
};
|
|
1116
|
+
return Jt(t, e, {
|
|
1117
|
+
...i,
|
|
1118
|
+
platform: s
|
|
1119
|
+
});
|
|
1120
|
+
};
|
|
1121
|
+
export {
|
|
1122
|
+
We as a,
|
|
1123
|
+
He as b,
|
|
1124
|
+
Ve as c,
|
|
1125
|
+
Pe as d,
|
|
1126
|
+
ke as f,
|
|
1127
|
+
Be as h,
|
|
1128
|
+
Ne as l,
|
|
1129
|
+
Me as o,
|
|
1130
|
+
Fe as s
|
|
1131
|
+
};
|