@inntechcorp/it-design 2.2.90 → 3.1.1
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/dist/alert/Description.d.ts +7 -0
- package/dist/alert/Title.d.ts +7 -0
- package/dist/alert/alert.style.neutral.d.ts +4 -0
- package/dist/alert/index.d.ts +3 -1
- package/dist/alert/styled.d.ts +3 -7
- package/dist/alink/styled.d.ts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/card/styles.d.ts +2 -1
- package/dist/checkbox/styled.d.ts +2 -2
- package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
- package/dist/cjs/_virtual/customParseFormat.js +1 -0
- package/dist/cjs/_virtual/customParseFormat2.js +1 -0
- package/dist/cjs/_virtual/dayjs.min.js +1 -0
- package/dist/cjs/_virtual/dayjs.min2.js +1 -0
- package/dist/cjs/_virtual/localizedFormat.js +1 -0
- package/dist/cjs/_virtual/localizedFormat2.js +1 -0
- package/dist/cjs/_virtual/react.js +1 -0
- package/dist/cjs/accordion/index.js +1 -0
- package/dist/cjs/accordion/item/Item.js +1 -0
- package/dist/cjs/accordion/item/styled.js +20 -0
- package/dist/cjs/accordion/styled.js +15 -0
- package/dist/cjs/accordion/submenu/SubMenu.js +1 -0
- package/dist/cjs/accordion/submenu/styled.js +214 -0
- package/dist/cjs/alert/Description.js +1 -0
- package/dist/cjs/alert/Title.js +1 -0
- package/dist/cjs/alert/alert.style.error.js +32 -0
- package/dist/cjs/alert/alert.style.info.js +32 -0
- package/dist/cjs/alert/alert.style.neutral.js +32 -0
- package/dist/cjs/alert/alert.style.success.js +32 -0
- package/dist/cjs/alert/alert.style.warning.js +32 -0
- package/dist/cjs/alert/index.js +1 -0
- package/dist/cjs/alert/styled.js +68 -0
- package/dist/cjs/alink/index.js +1 -0
- package/dist/cjs/alink/styled.js +5 -0
- package/dist/cjs/back-top/index.js +1 -0
- package/dist/cjs/back-top/styled.js +25 -0
- package/dist/cjs/button/button.style.circle.js +38 -0
- package/dist/cjs/button/button.style.default.js +44 -0
- package/dist/cjs/button/button.style.filled.js +49 -0
- package/dist/cjs/button/button.style.ghost.js +47 -0
- package/dist/cjs/button/button.style.icon.js +33 -0
- package/dist/cjs/button/button.style.link.js +45 -0
- package/dist/cjs/button/button.style.outline.js +49 -0
- package/dist/cjs/button/button.style.size.js +187 -0
- package/dist/cjs/button/button.style.solid.js +50 -0
- package/dist/cjs/button/button.style.strecth.js +8 -0
- package/dist/cjs/button/index.js +1 -0
- package/dist/cjs/button/styled.js +415 -0
- package/dist/cjs/calendar/dates.js +1 -0
- package/dist/cjs/calendar/day/Day.js +1 -0
- package/dist/cjs/calendar/day/styled.js +91 -0
- package/dist/cjs/calendar/header/Header.js +1 -0
- package/dist/cjs/calendar/header/styled.js +196 -0
- package/dist/cjs/calendar/index.js +1 -0
- package/dist/cjs/calendar/styled.js +82 -0
- package/dist/cjs/card/index.js +1 -0
- package/dist/cjs/card/styles.js +66 -0
- package/dist/cjs/checkbox/group/index.js +1 -0
- package/dist/cjs/checkbox/group/styled.js +9 -0
- package/dist/cjs/checkbox/index.js +1 -0
- package/dist/cjs/checkbox/styled.js +340 -0
- package/dist/cjs/context/ITDContext.js +1 -0
- package/dist/cjs/context/ITDThemeProvider.js +1 -0
- package/dist/cjs/context/styled.js +15 -0
- package/dist/cjs/datepicker/index.js +1 -0
- package/dist/cjs/datepicker/styled.js +60 -0
- package/dist/cjs/enums/enum.js +1 -0
- package/dist/cjs/flex/index.js +1 -0
- package/dist/cjs/flex/styled.js +35 -0
- package/dist/cjs/form/context/FormContext.js +1 -0
- package/dist/cjs/form/context/FormStore.js +1 -0
- package/dist/cjs/form/control/Control.js +1 -0
- package/dist/cjs/form/control/styled.js +8 -0
- package/dist/cjs/form/group/Group.js +1 -0
- package/dist/cjs/form/group/styled.js +7 -0
- package/dist/cjs/form/index.js +1 -0
- package/dist/cjs/form/item/Item.js +1 -0
- package/dist/cjs/form/validation/TCIdentity.js +1 -0
- package/dist/cjs/form/validation/Validator.js +1 -0
- package/dist/cjs/form/wrapper/FormWrapper.js +1 -0
- package/dist/cjs/helpers/array/ChunkArray.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/cjs/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/cjs/helpers/base64/Base64Decode.js +1 -0
- package/dist/cjs/helpers/base64/Base64Encode.js +1 -0
- package/dist/cjs/helpers/binary/FormatBytes.js +1 -0
- package/dist/cjs/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/cjs/helpers/checker/CheckFileURL.js +1 -0
- package/dist/cjs/helpers/checker/FileChecker.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/cjs/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/cjs/helpers/css/FindSelector.js +1 -0
- package/dist/cjs/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetByCurrency.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/cjs/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/cjs/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/cjs/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/cjs/helpers/datetime/FormatTime.js +1 -0
- package/dist/cjs/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/cjs/helpers/format/ToKebabCase.js +1 -0
- package/dist/cjs/helpers/json/IsValidJSON.js +1 -0
- package/dist/cjs/helpers/math/AddZero.js +1 -0
- package/dist/cjs/helpers/promise/Wait.js +1 -0
- package/dist/cjs/helpers/remover/RemoveUnits.js +1 -0
- package/dist/cjs/helpers/string/UniUpperCase.js +1 -0
- package/dist/cjs/helpers/svg/SVGLoader.js +1 -0
- package/dist/cjs/helpers/svg/styles.js +22 -0
- package/dist/cjs/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/cjs/helpers/theme/Color.js +1 -0
- package/dist/cjs/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/cjs/helpers/theme/UpdateThemeStyle.js +1 -0
- package/dist/cjs/helpers/theme/cssVariables.js +1 -0
- package/dist/cjs/helpers/theme/dark.js +1 -0
- package/dist/cjs/helpers/theme/light.js +1 -0
- package/dist/cjs/helpers/theme/tokens.js +1 -0
- package/dist/cjs/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/cjs/helpers/url/ValidURL.js +1 -0
- package/dist/cjs/hooks/useAddExternalCSS.js +1 -0
- package/dist/cjs/hooks/useAvoidCollision.js +1 -0
- package/dist/cjs/hooks/useComponentSize.js +1 -0
- package/dist/cjs/hooks/useConnectionStatus.js +1 -0
- package/dist/cjs/hooks/useConstructor.js +1 -0
- package/dist/cjs/hooks/useContextBridge.js +1 -0
- package/dist/cjs/hooks/useCoreFetch.js +1 -0
- package/dist/cjs/hooks/useKeyboardShortcut.js +1 -0
- package/dist/cjs/hooks/useMultiQuery.js +1 -0
- package/dist/cjs/hooks/useOnClickOutside.js +1 -0
- package/dist/cjs/hooks/useOnESCKeyDown.js +1 -0
- package/dist/cjs/hooks/useOnResize.js +1 -0
- package/dist/cjs/hooks/useOrientation.js +1 -0
- package/dist/cjs/hooks/useReCaptcha.js +1 -0
- package/dist/cjs/hooks/useSingleQuery.js +1 -0
- package/dist/cjs/html/header/H1.js +1 -0
- package/dist/cjs/html/header/H2.js +1 -0
- package/dist/cjs/html/header/H3.js +1 -0
- package/dist/cjs/html/header/H4.js +1 -0
- package/dist/cjs/html/header/styled.js +33 -0
- package/dist/cjs/icons/Arrow.js +1 -0
- package/dist/cjs/icons/BackToTop.js +1 -0
- package/dist/cjs/icons/Checkmark.js +1 -0
- package/dist/cjs/icons/InlineSelectArrow.js +1 -0
- package/dist/cjs/icons/Lock.js +1 -0
- package/dist/cjs/icons/NoData.js +1 -0
- package/dist/cjs/icons/Picture.js +1 -0
- package/dist/cjs/icons/Trash.js +1 -0
- package/dist/cjs/icons/Upload.js +1 -0
- package/dist/cjs/icons/ZoomIn.js +1 -0
- package/dist/cjs/icons/ZoomOut.js +1 -0
- package/dist/cjs/image/index.js +1 -0
- package/dist/cjs/image/styled.js +4 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/input/index.js +1 -0
- package/dist/cjs/input/style.settings.js +1 -0
- package/dist/cjs/input/styled.js +430 -0
- package/dist/cjs/locales/en/calendar.json.js +1 -0
- package/dist/cjs/locales/en/itd.json.js +1 -0
- package/dist/cjs/locales/tr/calendar.json.js +1 -0
- package/dist/cjs/locales/tr/itd.json.js +1 -0
- package/dist/cjs/logger/index.js +1 -0
- package/dist/cjs/modal/container/ModalContainer.js +1 -0
- package/dist/cjs/modal/container/styled.js +27 -0
- package/dist/cjs/modal/context/ModalContext.js +1 -0
- package/dist/cjs/modal/index.js +1 -0
- package/dist/cjs/modal/modal/Modal.js +1 -0
- package/dist/cjs/modal/modal/closeicon.svg.js +1 -0
- package/dist/cjs/modal/modal/styled.js +128 -0
- package/dist/cjs/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
- package/dist/cjs/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
- package/dist/cjs/node_modules/dayjs/dayjs.min.js +1 -0
- package/dist/cjs/node_modules/dayjs/plugin/customParseFormat.js +1 -0
- package/dist/cjs/node_modules/dayjs/plugin/localizedFormat.js +1 -0
- package/dist/cjs/node_modules/fast-deep-equal/react.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_Symbol.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_arrayMap.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_baseGetTag.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_baseToString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_freeGlobal.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_getRawTag.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_objectToString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/_root.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isArray.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isObject.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isObjectLike.js +1 -0
- package/dist/cjs/node_modules/lodash-es/isSymbol.js +1 -0
- package/dist/cjs/node_modules/lodash-es/toString.js +1 -0
- package/dist/cjs/node_modules/lodash-es/uniqueId.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/Icon.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/createLucideIcon.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/defaultAttributes.js +1 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/calendar-1.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/circle-x.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/eye.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/info.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/trash.js +8 -0
- package/dist/cjs/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
- package/dist/cjs/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
- package/dist/cjs/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
- package/dist/cjs/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
- package/dist/cjs/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
- package/dist/cjs/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/native.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/cjs/node_modules/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/cjs/notification/container/Container.js +1 -0
- package/dist/cjs/notification/container/styled.js +26 -0
- package/dist/cjs/notification/context/NotificationsContext.js +1 -0
- package/dist/cjs/notification/index.js +1 -0
- package/dist/cjs/notification/item/Item.js +1 -0
- package/dist/cjs/notification/item/styled.js +42 -0
- package/dist/cjs/progress/index.js +1 -0
- package/dist/cjs/progress/styled.js +59 -0
- package/dist/cjs/radio/button/RadioButton.js +1 -0
- package/dist/cjs/radio/button/styled.js +133 -0
- package/dist/cjs/radio/group/Group.js +1 -0
- package/dist/cjs/radio/group/styled.js +7 -0
- package/dist/cjs/radio/index.js +1 -0
- package/dist/cjs/result/index.js +1 -0
- package/dist/cjs/result/styled.js +109 -0
- package/dist/cjs/select/dropdown/Dropdown.js +1 -0
- package/dist/cjs/select/dropdown/styled.js +239 -0
- package/dist/cjs/select/index.js +1 -0
- package/dist/cjs/select/option/Option.js +1 -0
- package/dist/cjs/select/option/styled.js +36 -0
- package/dist/cjs/select/style.settings.js +1 -0
- package/dist/cjs/select/styled.js +331 -0
- package/dist/cjs/select/toggle/Toggle.js +1 -0
- package/dist/cjs/select/toggle/label/Label.js +1 -0
- package/dist/cjs/select/toggle/label/styled.js +5 -0
- package/dist/cjs/select/toggle/styled.js +88 -0
- package/dist/cjs/spin/index.js +1 -0
- package/dist/cjs/spin/styled.js +74 -0
- package/dist/cjs/status/index.js +1 -0
- package/dist/cjs/status/styled.js +75 -0
- package/dist/cjs/switch/index.js +1 -0
- package/dist/cjs/switch/styled.js +209 -0
- package/dist/cjs/table/index.js +1 -0
- package/dist/cjs/table/styled.js +458 -0
- package/dist/cjs/tabs/index.js +1 -0
- package/dist/cjs/tabs/styles.js +96 -0
- package/dist/cjs/textarea/index.js +1 -0
- package/dist/cjs/textarea/styled.js +220 -0
- package/dist/cjs/tinyscrollbar/index.js +1 -0
- package/dist/cjs/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/cjs/types/InputProps.js +1 -0
- package/dist/cjs/upload/index.js +1 -0
- package/dist/cjs/upload/styled.js +228 -0
- package/dist/cjs/utils/CommonStyledComponents.js +61 -0
- package/dist/cjs/utils/GetIconSizeBySize.js +1 -0
- package/dist/cjs/utils/GetSizeSlugBySize.js +1 -0
- package/dist/cjs/utils/InlineSVGCached.js +1 -0
- package/dist/datepicker/styled.d.ts +2 -2
- package/dist/enums/enum.d.ts +14 -1
- package/dist/es/_virtual/_commonjsHelpers.js +1 -0
- package/dist/es/_virtual/customParseFormat.js +1 -0
- package/dist/es/_virtual/customParseFormat2.js +1 -0
- package/dist/es/_virtual/dayjs.min.js +1 -0
- package/dist/es/_virtual/dayjs.min2.js +1 -0
- package/dist/es/_virtual/localizedFormat.js +1 -0
- package/dist/es/_virtual/localizedFormat2.js +1 -0
- package/dist/es/_virtual/react.js +1 -0
- package/dist/es/accordion/index.js +1 -0
- package/dist/es/accordion/item/Item.js +1 -0
- package/dist/es/accordion/item/styled.js +20 -0
- package/dist/es/accordion/styled.js +15 -0
- package/dist/es/accordion/submenu/SubMenu.js +1 -0
- package/dist/es/accordion/submenu/styled.js +214 -0
- package/dist/es/alert/Description.js +1 -0
- package/dist/es/alert/Title.js +1 -0
- package/dist/es/alert/alert.style.error.js +32 -0
- package/dist/es/alert/alert.style.info.js +32 -0
- package/dist/es/alert/alert.style.neutral.js +32 -0
- package/dist/es/alert/alert.style.success.js +32 -0
- package/dist/es/alert/alert.style.warning.js +32 -0
- package/dist/es/alert/index.js +1 -0
- package/dist/es/alert/styled.js +68 -0
- package/dist/es/alink/index.js +1 -0
- package/dist/es/alink/styled.js +5 -0
- package/dist/es/back-top/index.js +1 -0
- package/dist/es/back-top/styled.js +25 -0
- package/dist/es/button/button.style.circle.js +38 -0
- package/dist/es/button/button.style.default.js +44 -0
- package/dist/es/button/button.style.filled.js +49 -0
- package/dist/es/button/button.style.ghost.js +47 -0
- package/dist/es/button/button.style.icon.js +33 -0
- package/dist/es/button/button.style.link.js +45 -0
- package/dist/es/button/button.style.outline.js +49 -0
- package/dist/es/button/button.style.size.js +187 -0
- package/dist/es/button/button.style.solid.js +50 -0
- package/dist/es/button/button.style.strecth.js +8 -0
- package/dist/es/button/index.js +1 -0
- package/dist/es/button/styled.js +415 -0
- package/dist/es/calendar/dates.js +1 -0
- package/dist/es/calendar/day/Day.js +1 -0
- package/dist/es/calendar/day/styled.js +91 -0
- package/dist/es/calendar/header/Header.js +1 -0
- package/dist/es/calendar/header/styled.js +196 -0
- package/dist/es/calendar/index.js +1 -0
- package/dist/es/calendar/styled.js +82 -0
- package/dist/es/card/index.js +1 -0
- package/dist/es/card/styles.js +66 -0
- package/dist/es/checkbox/group/index.js +1 -0
- package/dist/es/checkbox/group/styled.js +9 -0
- package/dist/es/checkbox/index.js +1 -0
- package/dist/es/checkbox/styled.js +340 -0
- package/dist/es/context/ITDContext.js +1 -0
- package/dist/es/context/ITDThemeProvider.js +1 -0
- package/dist/es/context/styled.js +15 -0
- package/dist/es/datepicker/index.js +1 -0
- package/dist/es/datepicker/styled.js +60 -0
- package/dist/es/enums/enum.js +1 -0
- package/dist/es/flex/index.js +1 -0
- package/dist/es/flex/styled.js +35 -0
- package/dist/es/form/context/FormContext.js +1 -0
- package/dist/es/form/context/FormStore.js +1 -0
- package/dist/es/form/control/Control.js +1 -0
- package/dist/es/form/control/styled.js +8 -0
- package/dist/es/form/group/Group.js +1 -0
- package/dist/es/form/group/styled.js +7 -0
- package/dist/es/form/index.js +1 -0
- package/dist/es/form/item/Item.js +1 -0
- package/dist/es/form/validation/TCIdentity.js +1 -0
- package/dist/es/form/validation/Validator.js +1 -0
- package/dist/es/form/wrapper/FormWrapper.js +1 -0
- package/dist/es/helpers/array/ChunkArray.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewHeight.js +1 -0
- package/dist/es/helpers/aspectratio/DetermineNewWidth.js +1 -0
- package/dist/es/helpers/base64/Base64Decode.js +1 -0
- package/dist/es/helpers/base64/Base64Encode.js +1 -0
- package/dist/es/helpers/binary/FormatBytes.js +1 -0
- package/dist/es/helpers/binary/GetTypeByFileType.js +1 -0
- package/dist/es/helpers/checker/CheckFileURL.js +1 -0
- package/dist/es/helpers/checker/FileChecker.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByCurrencyCode.js +1 -0
- package/dist/es/helpers/country/GetCountryCodeByLanguage.js +1 -0
- package/dist/es/helpers/css/FindSelector.js +1 -0
- package/dist/es/helpers/currency/ConvertCurrency.js +1 -0
- package/dist/es/helpers/currency/GetByCurrency.js +1 -0
- package/dist/es/helpers/currency/GetCurrencyFormat.js +1 -0
- package/dist/es/helpers/currency/GetCurrencySymbol.js +1 -0
- package/dist/es/helpers/currency/GetDecimalByCurrency.js +1 -0
- package/dist/es/helpers/datetime/FormatDate.js +1 -0
- package/dist/es/helpers/datetime/FormatDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDate.js +1 -0
- package/dist/es/helpers/datetime/FormatSimpleDateTime.js +1 -0
- package/dist/es/helpers/datetime/FormatTime.js +1 -0
- package/dist/es/helpers/datetime/dayjsSetup.js +1 -0
- package/dist/es/helpers/format/ToKebabCase.js +1 -0
- package/dist/es/helpers/json/IsValidJSON.js +1 -0
- package/dist/es/helpers/math/AddZero.js +1 -0
- package/dist/es/helpers/promise/Wait.js +1 -0
- package/dist/es/helpers/remover/RemoveUnits.js +1 -0
- package/dist/es/helpers/string/UniUpperCase.js +1 -0
- package/dist/es/helpers/svg/SVGLoader.js +1 -0
- package/dist/es/helpers/svg/styles.js +22 -0
- package/dist/es/helpers/theme/AddDefaultThemeStyle.js +1 -0
- package/dist/es/helpers/theme/Color.js +1 -0
- package/dist/es/helpers/theme/GenerateColorScale.js +1 -0
- package/dist/es/helpers/theme/UpdateThemeStyle.js +1 -0
- package/dist/es/helpers/theme/cssVariables.js +1 -0
- package/dist/es/helpers/theme/dark.js +1 -0
- package/dist/es/helpers/theme/light.js +1 -0
- package/dist/es/helpers/theme/tokens.js +1 -0
- package/dist/es/helpers/unit/AddDefaultUnit.js +1 -0
- package/dist/es/helpers/url/ValidURL.js +1 -0
- package/dist/es/hooks/useAddExternalCSS.js +1 -0
- package/dist/es/hooks/useAvoidCollision.js +1 -0
- package/dist/es/hooks/useComponentSize.js +1 -0
- package/dist/es/hooks/useConnectionStatus.js +1 -0
- package/dist/es/hooks/useConstructor.js +1 -0
- package/dist/es/hooks/useContextBridge.js +1 -0
- package/dist/es/hooks/useCoreFetch.js +1 -0
- package/dist/es/hooks/useKeyboardShortcut.js +1 -0
- package/dist/es/hooks/useMultiQuery.js +1 -0
- package/dist/es/hooks/useOnClickOutside.js +1 -0
- package/dist/es/hooks/useOnESCKeyDown.js +1 -0
- package/dist/es/hooks/useOnResize.js +1 -0
- package/dist/es/hooks/useOrientation.js +1 -0
- package/dist/es/hooks/useReCaptcha.js +1 -0
- package/dist/es/hooks/useSingleQuery.js +1 -0
- package/dist/es/html/header/H1.js +1 -0
- package/dist/es/html/header/H2.js +1 -0
- package/dist/es/html/header/H3.js +1 -0
- package/dist/es/html/header/H4.js +1 -0
- package/dist/es/html/header/styled.js +33 -0
- package/dist/es/icons/Arrow.js +1 -0
- package/dist/es/icons/BackToTop.js +1 -0
- package/dist/es/icons/Checkmark.js +1 -0
- package/dist/es/icons/InlineSelectArrow.js +1 -0
- package/dist/es/icons/Lock.js +1 -0
- package/dist/es/icons/NoData.js +1 -0
- package/dist/es/icons/Picture.js +1 -0
- package/dist/es/icons/Trash.js +1 -0
- package/dist/es/icons/Upload.js +1 -0
- package/dist/es/icons/ZoomIn.js +1 -0
- package/dist/es/icons/ZoomOut.js +1 -0
- package/dist/es/image/index.js +1 -0
- package/dist/es/image/styled.js +4 -0
- package/dist/es/index.js +1 -0
- package/dist/es/input/index.js +1 -0
- package/dist/es/input/style.settings.js +1 -0
- package/dist/es/input/styled.js +430 -0
- package/dist/es/locales/en/calendar.json.js +1 -0
- package/dist/es/locales/en/itd.json.js +1 -0
- package/dist/es/locales/tr/calendar.json.js +1 -0
- package/dist/es/locales/tr/itd.json.js +1 -0
- package/dist/es/logger/index.js +1 -0
- package/dist/es/modal/container/ModalContainer.js +1 -0
- package/dist/es/modal/container/styled.js +27 -0
- package/dist/es/modal/context/ModalContext.js +1 -0
- package/dist/es/modal/index.js +1 -0
- package/dist/es/modal/modal/Modal.js +1 -0
- package/dist/es/modal/modal/closeicon.svg.js +1 -0
- package/dist/es/modal/modal/styled.js +128 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +1 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring_web.modern.js +1 -0
- package/dist/es/node_modules/dayjs/dayjs.min.js +1 -0
- package/dist/es/node_modules/dayjs/plugin/customParseFormat.js +1 -0
- package/dist/es/node_modules/dayjs/plugin/localizedFormat.js +1 -0
- package/dist/es/node_modules/fast-deep-equal/react.js +1 -0
- package/dist/es/node_modules/lodash-es/_Symbol.js +1 -0
- package/dist/es/node_modules/lodash-es/_arrayMap.js +1 -0
- package/dist/es/node_modules/lodash-es/_baseGetTag.js +1 -0
- package/dist/es/node_modules/lodash-es/_baseToString.js +1 -0
- package/dist/es/node_modules/lodash-es/_freeGlobal.js +1 -0
- package/dist/es/node_modules/lodash-es/_getRawTag.js +1 -0
- package/dist/es/node_modules/lodash-es/_objectToString.js +1 -0
- package/dist/es/node_modules/lodash-es/_root.js +1 -0
- package/dist/es/node_modules/lodash-es/isArray.js +1 -0
- package/dist/es/node_modules/lodash-es/isObject.js +1 -0
- package/dist/es/node_modules/lodash-es/isObjectLike.js +1 -0
- package/dist/es/node_modules/lodash-es/isSymbol.js +1 -0
- package/dist/es/node_modules/lodash-es/toString.js +1 -0
- package/dist/es/node_modules/lodash-es/uniqueId.js +1 -0
- package/dist/es/node_modules/lucide-react/dist/esm/Icon.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/createLucideIcon.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/defaultAttributes.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/calendar-1.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/chevron-down.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/circle-x.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/eye.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/info.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/icons/trash.js +7 -0
- package/dist/es/node_modules/lucide-react/dist/esm/shared/src/utils.js +7 -0
- package/dist/es/node_modules/overlayscrollbars/overlayscrollbars.js +10 -0
- package/dist/es/node_modules/overlayscrollbars/styles/overlayscrollbars.css.js +1 -0
- package/dist/es/node_modules/react-number-format/dist/react-number-format.es.js +1 -0
- package/dist/es/node_modules/rollup-plugin-node-globals/src/global.js +1 -0
- package/dist/es/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/native.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/es/notification/container/Container.js +1 -0
- package/dist/es/notification/container/styled.js +26 -0
- package/dist/es/notification/context/NotificationsContext.js +1 -0
- package/dist/es/notification/index.js +1 -0
- package/dist/es/notification/item/Item.js +1 -0
- package/dist/es/notification/item/styled.js +42 -0
- package/dist/es/progress/index.js +1 -0
- package/dist/es/progress/styled.js +59 -0
- package/dist/es/radio/button/RadioButton.js +1 -0
- package/dist/es/radio/button/styled.js +133 -0
- package/dist/es/radio/group/Group.js +1 -0
- package/dist/es/radio/group/styled.js +7 -0
- package/dist/es/radio/index.js +1 -0
- package/dist/es/result/index.js +1 -0
- package/dist/es/result/styled.js +109 -0
- package/dist/es/select/dropdown/Dropdown.js +1 -0
- package/dist/es/select/dropdown/styled.js +239 -0
- package/dist/es/select/index.js +1 -0
- package/dist/es/select/option/Option.js +1 -0
- package/dist/es/select/option/styled.js +36 -0
- package/dist/es/select/style.settings.js +1 -0
- package/dist/es/select/styled.js +331 -0
- package/dist/es/select/toggle/Toggle.js +1 -0
- package/dist/es/select/toggle/label/Label.js +1 -0
- package/dist/es/select/toggle/label/styled.js +5 -0
- package/dist/es/select/toggle/styled.js +88 -0
- package/dist/es/spin/index.js +1 -0
- package/dist/es/spin/styled.js +74 -0
- package/dist/es/status/index.js +1 -0
- package/dist/es/status/styled.js +75 -0
- package/dist/es/switch/index.js +1 -0
- package/dist/es/switch/styled.js +209 -0
- package/dist/es/table/index.js +1 -0
- package/dist/es/table/styled.js +458 -0
- package/dist/es/tabs/index.js +1 -0
- package/dist/es/tabs/styles.js +96 -0
- package/dist/es/textarea/index.js +1 -0
- package/dist/es/textarea/styled.js +220 -0
- package/dist/es/tinyscrollbar/index.js +1 -0
- package/dist/es/tinyscrollbar/scroll.styled.js +21 -0
- package/dist/es/types/InputProps.js +1 -0
- package/dist/es/upload/index.js +1 -0
- package/dist/es/upload/styled.js +228 -0
- package/dist/es/utils/CommonStyledComponents.js +61 -0
- package/dist/es/utils/GetIconSizeBySize.js +1 -0
- package/dist/es/utils/GetSizeSlugBySize.js +1 -0
- package/dist/es/utils/InlineSVGCached.js +1 -0
- package/dist/form/context/FormContext.d.ts +3 -0
- package/dist/form/context/FormStore.d.ts +4 -1
- package/dist/form/item/Item.d.ts +0 -1
- package/dist/global.css +333 -113
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/theme/Color.d.ts +19 -0
- package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
- package/dist/helpers/theme/cssVariables.d.ts +30 -0
- package/dist/helpers/theme/dark.d.ts +1 -1
- package/dist/helpers/theme/index.d.ts +4 -0
- package/dist/helpers/theme/light.d.ts +1 -1
- package/dist/helpers/theme/tokens.d.ts +392 -0
- package/dist/index.d.mts +31 -7
- package/dist/index.d.ts +660 -128
- package/dist/input/style.settings.d.ts +9 -0
- package/dist/input/styled.d.ts +15 -17
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/en/itd.json +13 -0
- package/dist/locales/itd.json +254 -240
- package/dist/locales/tr/itd.json +13 -0
- package/dist/radio/button/RadioButton.d.ts +1 -1
- package/dist/result/index.d.ts +1 -1
- package/dist/select/dropdown/Dropdown.d.ts +19 -0
- package/dist/select/dropdown/styled.d.ts +14 -0
- package/dist/select/option/Option.d.ts +10 -3
- package/dist/select/style.settings.d.ts +83 -26
- package/dist/select/styled.d.ts +4 -2
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/{single/SingleLabel.d.ts → Label.d.ts} +5 -5
- package/dist/select/toggle/styled.d.ts +4 -4
- package/dist/stats.html +4949 -0
- package/dist/stories/Accordion.d.ts +0 -1
- package/dist/stories/Alert.stories.d.ts +15 -1
- package/dist/stories/AlertComposition.d.ts +2 -0
- package/dist/stories/AlertComposition.stories.d.ts +17 -0
- package/dist/stories/Button.d.ts +0 -1
- package/dist/stories/Button.stories.d.ts +8 -1
- package/dist/stories/Card.stories.d.ts +1 -0
- package/dist/stories/ColorScale.d.ts +10 -0
- package/dist/stories/ColorScale.stories.d.ts +24 -0
- package/dist/stories/ColorScaleCompare.d.ts +8 -0
- package/dist/stories/ColorScaleCompare.stories.d.ts +47 -0
- package/dist/stories/DatePicker.d.ts +0 -1
- package/dist/stories/Form.stories.d.ts +10 -1
- package/dist/stories/Header.d.ts +0 -1
- package/dist/stories/Input.d.ts +0 -1
- package/dist/stories/Input.stories.d.ts +9 -1
- package/dist/stories/ModalManager.d.ts +0 -1
- package/dist/stories/Page.d.ts +0 -1
- package/dist/stories/Select.d.ts +0 -1
- package/dist/stories/Select.stories.d.ts +13 -3
- package/dist/stories/Switch.stories.d.ts +8 -1
- package/dist/stories/TextArea.d.ts +0 -1
- package/dist/stories/TextArea.stories.d.ts +8 -1
- package/dist/stories/root/index.d.ts +0 -1
- package/dist/switch/styled.d.ts +1 -1
- package/dist/textarea/styled.d.ts +2 -5
- package/dist/types/AlertProps.d.ts +5 -4
- package/dist/types/ButtonProps.d.ts +2 -2
- package/dist/types/CalendarProps.d.ts +0 -1
- package/dist/types/CardProps.d.ts +4 -0
- package/dist/types/CheckboxProps.d.ts +5 -1
- package/dist/types/DatePickerProps.d.ts +2 -3
- package/dist/types/FormProps.d.ts +3 -0
- package/dist/types/ITDProps.d.ts +4 -2
- package/dist/types/InputProps.d.ts +0 -1
- package/dist/types/RadioProps.d.ts +1 -0
- package/dist/types/ResultProps.d.ts +1 -0
- package/dist/types/SelectProps.d.ts +5 -13
- package/dist/types/SwitchProps.d.ts +4 -1
- package/dist/types/TableProps.d.ts +1 -0
- package/dist/types/Theme.d.ts +75 -16
- package/dist/types/UploadProps.d.ts +2 -0
- package/dist/upload/index.d.ts +1 -1
- package/dist/upload/styled.d.ts +5 -2
- package/dist/utils/CommonStyledComponents.d.ts +17 -0
- package/package.json +15 -3
- package/dist/button/button.style.SVG.d.ts +0 -4
- package/dist/index.cjs.js +0 -5472
- package/dist/index.esm.js +0 -5472
- package/dist/select/menu/Menu.d.ts +0 -14
- package/dist/select/menu/styled.d.ts +0 -8
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
- package/dist/select/toggle/label/floating/styled.d.ts +0 -8
- package/dist/stories/ButtonIcon.d.ts +0 -2
- /package/dist/select/toggle/label/{single/styled.d.ts → styled.d.ts} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import i from"styled-components";const r=i.div`
|
|
2
|
+
|
|
3
|
+
/* Modal ortalama için flexbox kullan, böylece transform animasyon için serbest kalır */
|
|
4
|
+
position: absolute;
|
|
5
|
+
left: 0;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
|
|
13
|
+
/* Transform animasyon için serbest bırakıldı */
|
|
14
|
+
transform-origin: 50% 50%;
|
|
15
|
+
transform-box: fill-box;
|
|
16
|
+
|
|
17
|
+
`,o=i.div`
|
|
18
|
+
|
|
19
|
+
overflow-y: auto;
|
|
20
|
+
width: 100vw;
|
|
21
|
+
height: 100vh;
|
|
22
|
+
display: flex;
|
|
23
|
+
padding: ${i=>i.$padding};
|
|
24
|
+
|
|
25
|
+
`,t=i.div`
|
|
26
|
+
|
|
27
|
+
margin: auto;
|
|
28
|
+
height: max-content;
|
|
29
|
+
position: relative;
|
|
30
|
+
//overflow: hidden;
|
|
31
|
+
|
|
32
|
+
background: #fff;
|
|
33
|
+
max-width: ${i=>i.$width};
|
|
34
|
+
width: ${i=>i.$width};
|
|
35
|
+
border-radius: 6px;
|
|
36
|
+
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
|
37
|
+
|
|
38
|
+
`,a=i.div`
|
|
39
|
+
position: relative;
|
|
40
|
+
`,d=i.div`
|
|
41
|
+
padding: ${i=>i.$padding};
|
|
42
|
+
`,e=i.div`
|
|
43
|
+
padding: ${i=>i.$padding};
|
|
44
|
+
`,n=i.div`
|
|
45
|
+
|
|
46
|
+
transition-property: all;
|
|
47
|
+
transition-duration: 800ms;
|
|
48
|
+
transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
49
|
+
|
|
50
|
+
padding: ${i=>i.$padding};
|
|
51
|
+
|
|
52
|
+
`,l=i.div`
|
|
53
|
+
|
|
54
|
+
height: 50px;
|
|
55
|
+
background-color: #f1f1f1;
|
|
56
|
+
border-radius: 6px 6px 0 0;
|
|
57
|
+
color: #071437;
|
|
58
|
+
padding: 10px 20px;
|
|
59
|
+
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
|
|
63
|
+
`,s=i.div`
|
|
64
|
+
|
|
65
|
+
border-top: 1px solid #00000010;
|
|
66
|
+
|
|
67
|
+
height: 65px;
|
|
68
|
+
padding: 15px 20px;
|
|
69
|
+
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: flex-end;
|
|
72
|
+
gap: 10px;
|
|
73
|
+
|
|
74
|
+
`,p=i.div`
|
|
75
|
+
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
position: absolute;
|
|
78
|
+
right: 10px;
|
|
79
|
+
top: 12px;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
|
|
82
|
+
.itd-element >span {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
`;i.div`
|
|
88
|
+
position: fixed;
|
|
89
|
+
top: 0;
|
|
90
|
+
left: 0;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
z-index: 1000;
|
|
94
|
+
overflow-y: auto;
|
|
95
|
+
padding: 20px 0;
|
|
96
|
+
|
|
97
|
+
/* Özel scrollbar stilleri */
|
|
98
|
+
&::-webkit-scrollbar {
|
|
99
|
+
width: 8px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&::-webkit-scrollbar-track {
|
|
103
|
+
background: rgba(241, 241, 241, 0.5);
|
|
104
|
+
border-radius: 4px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&::-webkit-scrollbar-thumb {
|
|
108
|
+
background: rgba(136, 136, 136, 0.5);
|
|
109
|
+
border-radius: 4px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
113
|
+
background: rgba(85, 85, 85, 0.7);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Firefox için scrollbar stilleri */
|
|
117
|
+
scrollbar-width: thin;
|
|
118
|
+
scrollbar-color: rgba(136, 136, 136, 0.5) rgba(241, 241, 241, 0.5);
|
|
119
|
+
|
|
120
|
+
.itd-modal-overlay {
|
|
121
|
+
position: fixed;
|
|
122
|
+
top: 0;
|
|
123
|
+
left: 0;
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
background: rgba(0, 0, 0, 0.5);
|
|
127
|
+
}
|
|
128
|
+
`;export{p as CloseButton,t as ModalBody,a as ModalContent,s as ModalFooter,l as ModalHeader,n as ModalInnerContent,e as ModalInnerContentAfter,d as ModalInnerContentBefore,o as ModalInnerWrapper,r as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{eachProp as t,is as e,hasFluidValue as s,getFluidValue as r,each as n,useForceUpdate as a,useIsomorphicLayoutEffect as i,addFluidObserver as o,removeFluidObserver as u,useOnce as l,defineHidden as c,isAnimatedString as d,createInterpolator as h}from"../../shared/dist/react-spring_shared.modern.js";import*as p from"react";import{forwardRef as m,useRef as g,useCallback as y,useEffect as _}from"react";import{raf as f}from"../../rafz/dist/react-spring_rafz.modern.js";var V=Symbol.for("Animated:node"),v=t=>!!t&&t[V]===t,P=t=>t&&t[V],A=(t,e)=>c(t,V,e),S=t=>t&&t[V]&&t[V].getPayload(),w=class{constructor(){A(this,this)}getPayload(){return this.payload||[]}},x=class t extends w{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,e.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new t(e)}getPayload(){return[this]}getValue(){return this._value}setValue(t,s){return e.num(t)&&(this.lastPosition=t,s&&(t=Math.round(t/s)*s,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,e.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},C=class t extends x{constructor(t){super(0),this._string=null,this._toString=h({output:[t,t]})}static create(e){return new t(e)}getValue(){const t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(e.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=h({output:[this.getValue(),t]})),this._value=0,super.reset()}},b={dependencies:null},N=class extends w{constructor(t){super(),this.source=t,this.setValue(t)}getValue(e){const n={};return t(this.source,(t,a)=>{v(t)?n[a]=t.getValue(e):s(t)?n[a]=r(t):e||(n[a]=t)}),n}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&n(this.payload,t=>t.reset())}_makePayload(e){if(e){const s=new Set;return t(e,this._addToPayload,s),Array.from(s)}}_addToPayload(t){b.dependencies&&s(t)&&b.dependencies.add(t);const e=S(t);e&&n(e,t=>this.add(t))}},T=class t extends N{constructor(t){super(t)}static create(e){return new t(e)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const e=this.getPayload();return t.length==e.length?e.map((e,s)=>e.setValue(t[s])).some(Boolean):(super.setValue(t.map(j)),!0)}};function j(t){return(d(t)?C:x).create(t)}function k(t){const s=P(t);return s?s.constructor:e.arr(t)?T:d(t)?C:x}var z=(t,s)=>{const r=!e.fun(t)||t.prototype&&t.prototype.isReactComponent;return m((c,d)=>{const h=g(null),m=r&&y(t=>{h.current=function(t,s){t&&(e.fun(t)?t(s):t.current=s);return s}(d,t)},[d]),[V,v]=function(t,e){const s=new Set;b.dependencies=s,t.style&&(t={...t,style:e.createAnimatedStyle(t.style)});return t=new N(t),b.dependencies=null,[t,s]}(c,s),P=a(),A=()=>{const t=h.current;if(r&&!t)return;!1===(!!t&&s.applyAnimatedValues(t,V.getValue(!0)))&&P()},S=new B(A,v),w=g(void 0);i(()=>(w.current=S,n(v,t=>o(t,S)),()=>{w.current&&(n(w.current.deps,t=>u(t,w.current)),f.cancel(w.current.update))})),_(A,[]),l(()=>()=>{const t=w.current;n(t.deps,e=>u(e,t))});const x=s.getComponentProps(V.getValue());return p.createElement(t,{...x,ref:m})})},B=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&f.write(this.update)}};var E=Symbol.for("AnimatedComponent"),M=(s,{applyAnimatedValues:r=()=>!1,createAnimatedStyle:n=t=>new N(t),getComponentProps:a=t=>t}={})=>{const i={applyAnimatedValues:r,createAnimatedStyle:n,getComponentProps:a},o=t=>{const s=O(t)||"Anonymous";return(t=e.str(t)?o[t]||(o[t]=z(t,i)):t[E]||(t[E]=z(t,i))).displayName=`Animated(${s})`,t};return t(s,(t,r)=>{e.arr(s)&&(r=O(t)),o[r]=o(t)}),{animated:o}},O=t=>e.str(t)?t:t&&e.str(t.displayName)?t.displayName:e.fun(t)&&t.name||null;export{w as Animated,T as AnimatedArray,N as AnimatedObject,C as AnimatedString,x as AnimatedValue,M as createHost,P as getAnimated,k as getAnimatedType,S as getPayload,v as isAnimated,A as setAnimated};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{is as t,useIsomorphicLayoutEffect as e,useOnce as s,each as i,toArray as n,useForceUpdate as o,usePrev as a,deprecateDirectCall as r,Globals as u,createStringInterpolator as c,eachProp as h,flush as d,createInterpolator as l,isEqual as p,getFluidValue as f,frameLoop as m,hasFluidValue as g,addFluidObserver as y,removeFluidObserver as _,FluidValue as v,deprecateInterpolate as b,callFluidObservers as w,flushCalls as P,noop as I,isAnimatedString as k,getFluidObservers as S,easings as C}from"../../shared/dist/react-spring_shared.modern.js";import*as x from"react";import{useMemo as R,useRef as j,useContext as V}from"react";import{getAnimatedType as M,setAnimated as z,getAnimated as A,getPayload as Q,AnimatedValue as T,AnimatedString as O}from"../../animated/dist/react-spring_animated.modern.js";import{raf as q}from"../../rafz/dist/react-spring_rafz.modern.js";function D(e,...s){return t.fun(e)?e(...s):e}var N=(e,s)=>!0===e||!!(s&&e&&(t.fun(e)?e(s):n(e).includes(s))),E=(e,s)=>t.obj(e)?s&&e[s]:e,U=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,F=t=>t,G=(e,s=F)=>{let i=$;e.default&&!0!==e.default&&(e=e.default,i=Object.keys(e));const n={};for(const o of i){const i=s(e[o],o);t.und(i)||(n[o]=i)}return n},$=["config","onProps","onStart","onChange","onPause","onResume","onRest"],B={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function J(t){const e=function(t){const e={};let s=0;if(h(t,(t,i)=>{B[i]||(e[i]=t,s++)}),s)return e}(t);if(e){const s={to:e};return h(t,(t,i)=>i in e||(s[i]=t)),s}return{...t}}function Y(e){return e=f(e),t.arr(e)?e.map(Y):k(e)?u.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function H(e){return t.fun(e)||t.arr(e)&&t.obj(e[0])}function K(t,e){t.ref?.delete(t),e?.delete(t)}var L={default:{tension:170,friction:26}},W={...L.default,mass:1,damping:1,easing:C.linear,clamp:!1},X=class{constructor(){this.velocity=0,Object.assign(this,W)}};function Z(e,s){if(t.und(s.decay)){const i=!t.und(s.tension)||!t.und(s.friction);!i&&t.und(s.frequency)&&t.und(s.damping)&&t.und(s.mass)||(e.duration=void 0,e.decay=void 0),i&&(e.frequency=void 0)}else e.duration=void 0}var tt=[],et=class{constructor(){this.changed=!1,this.values=tt,this.toValues=null,this.fromValues=tt,this.config=new X,this.immediate=!1}};function st(e,{key:s,props:i,defaultProps:n,state:o,actions:a}){return new Promise((r,c)=>{let h,d,l=N(i.cancel??n?.cancel,s);if(l)m();else{t.und(i.pause)||(o.paused=N(i.pause,s));let e=n?.pause;!0!==e&&(e=o.paused||N(e,s)),h=D(i.delay||0,s),e?(o.resumeQueue.add(f),a.pause()):(a.resume(),f())}function p(){o.resumeQueue.add(f),o.timeouts.delete(d),d.cancel(),h=d.time-q.now()}function f(){h>0&&!u.skipAnimation?(o.delayed=!0,d=q.setTimeout(m,h),o.pauseQueue.add(p),o.timeouts.add(d)):m()}function m(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(p),o.timeouts.delete(d),e<=(o.cancelId||0)&&(l=!0);try{a.start({...i,callId:e,cancel:l},r)}catch(t){c(t)}}})}var it=(t,e)=>1==e.length?e[0]:e.some(t=>t.cancelled)?at(t.get()):e.every(t=>t.noop)?nt(t.get()):ot(t.get(),e.every(t=>t.finished)),nt=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),ot=(t,e,s=!1)=>({value:t,finished:e,cancelled:s}),at=t=>({value:t,cancelled:!0,finished:!1});function rt(e,s,i,n){const{callId:o,parentId:a,onRest:r}=s,{asyncTo:c,promise:d}=i;return a||e!==c||s.reset?i.promise=(async()=>{i.asyncId=o,i.asyncTo=e;const l=G(s,(t,e)=>"onRest"===e?void 0:t);let p,f;const m=new Promise((t,e)=>(p=t,f=e)),g=t=>{const e=o<=(i.cancelId||0)&&at(n)||o!==i.asyncId&&ot(n,!1);if(e)throw t.result=e,f(t),t},y=(e,s)=>{const a=new ct,r=new ht;return(async()=>{if(u.skipAnimation)throw ut(i),r.result=ot(n,!1),f(r),r;g(a);const c=t.obj(e)?{...e}:{...s,to:e};c.parentId=o,h(l,(e,s)=>{t.und(c[s])&&(c[s]=e)});const d=await n.start(c);return g(a),i.paused&&await new Promise(t=>{i.resumeQueue.add(t)}),d})()};let _;if(u.skipAnimation)return ut(i),ot(n,!1);try{let s;s=t.arr(e)?(async t=>{for(const e of t)await y(e)})(e):Promise.resolve(e(y,n.stop.bind(n))),await Promise.all([s.then(p),m]),_=ot(n.get(),!0,!1)}catch(t){if(t instanceof ct)_=t.result;else{if(!(t instanceof ht))throw t;_=t.result}}finally{o==i.asyncId&&(i.asyncId=a,i.asyncTo=a?c:void 0,i.promise=a?d:void 0)}return t.fun(r)&&q.batchedUpdates(()=>{r(_,n,n.item)}),_})():d}function ut(t,e){d(t.timeouts,t=>t.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}var ct=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ht=class extends Error{constructor(){super("SkipAnimationSignal")}},dt=t=>t instanceof pt,lt=1,pt=class extends v{constructor(){super(...arguments),this.id=lt++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=A(this);return t&&t.getValue()}to(...t){return u.to(this,t)}interpolate(...t){return b(),u.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){w(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||m.sort(this),w(this,{type:"priority",parent:this,priority:t})}},ft=Symbol.for("SpringPhase"),mt=t=>(1&t[ft])>0,gt=t=>(2&t[ft])>0,yt=t=>(4&t[ft])>0,_t=(t,e)=>e?t[ft]|=3:t[ft]&=-3,vt=(t,e)=>e?t[ft]|=4:t[ft]&=-5,bt=class extends pt{constructor(e,s){if(super(),this.animation=new et,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!t.und(e)||!t.und(s)){const i=t.obj(e)?{...e}:{...s,from:e};t.und(i.default)&&(i.default=!0),this.start(i)}}get idle(){return!(gt(this)||this._state.asyncTo)||yt(this)}get goal(){return f(this.animation.to)}get velocity(){const t=A(this);return t instanceof T?t.lastVelocity||0:t.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return mt(this)}get isAnimating(){return gt(this)}get isPaused(){return yt(this)}get isDelayed(){return this._state.delayed}advance(e){let s=!0,i=!1;const o=this.animation;let{toValues:a}=o;const{config:r}=o,u=Q(o.to);!u&&g(o.to)&&(a=n(f(o.to))),o.values.forEach((n,c)=>{if(n.done)return;const h=n.constructor==O?1:u?u[c].lastPosition:a[c];let d=o.immediate,l=h;if(!d){if(l=n.lastPosition,r.tension<=0)return void(n.done=!0);let s=n.elapsedTime+=e;const i=o.fromValues[c],a=null!=n.v0?n.v0:n.v0=t.arr(r.velocity)?r.velocity[c]:r.velocity;let u;const p=r.precision||(i==h?.005:Math.min(1,.001*Math.abs(h-i)));if(t.und(r.duration))if(r.decay){const t=!0===r.decay?.998:r.decay,e=Math.exp(-(1-t)*s);l=i+a/(1-t)*(1-e),d=Math.abs(n.lastPosition-l)<=p,u=a*e}else{u=null==n.lastVelocity?a:n.lastVelocity;const s=r.restVelocity||p/10,o=r.clamp?0:r.bounce,c=!t.und(o),f=i==h?n.v0>0:i<h;let m,g=!1;const y=1,_=Math.ceil(e/y);for(let t=0;t<_&&(m=Math.abs(u)>s,m||(d=Math.abs(h-l)<=p,!d));++t){c&&(g=l==h||l>h==f,g&&(u=-u*o,l=h));u+=(1e-6*-r.tension*(l-h)+.001*-r.friction*u)/r.mass*y,l+=u*y}}else{let t=1;r.duration>0&&(this._memoizedDuration!==r.duration&&(this._memoizedDuration=r.duration,n.durationProgress>0&&(n.elapsedTime=r.duration*n.durationProgress,s=n.elapsedTime+=e)),t=(r.progress||0)+s/this._memoizedDuration,t=t>1?1:t<0?0:t,n.durationProgress=t),l=i+r.easing(t)*(h-i),u=(l-n.lastPosition)/e,d=1==t}n.lastVelocity=u,Number.isNaN(l)&&(console.warn("Got NaN while animating:",this),d=!0)}u&&!u[c].done&&(d=!1),d?n.done=!0:s=!1,n.setValue(l,r.round)&&(i=!0)});const c=A(this),h=c.getValue();if(s){const t=f(o.to);h===t&&!i||r.decay?i&&r.decay&&this._onChange(h):(c.setValue(t),this._onChange(t)),this._stop()}else i&&this._onChange(h)}set(t){return q.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(gt(this)){const{to:t,config:e}=this.animation;q.batchedUpdates(()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(e,s){let i;return t.und(e)?(i=this.queue||[],this.queue=[]):i=[t.obj(e)?e:{...s,to:e}],Promise.all(i.map(t=>this._update(t))).then(t=>it(this,t))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),ut(this._state,t&&this._lastCallId),q.batchedUpdates(()=>this._stop(e,t)),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(e){const s=this.key||"";let{to:i,from:n}=e;i=t.obj(i)?i[s]:i,(null==i||H(i))&&(i=void 0),n=t.obj(n)?n[s]:n,null==n&&(n=void 0);const o={to:i,from:n};return mt(this)||(e.reverse&&([i,n]=[n,i]),n=f(n),t.und(n)?A(this)||this._set(i):this._set(n)),o}_update({...t},e){const{key:s,defaultProps:i}=this;t.default&&Object.assign(i,G(t,(t,e)=>/^on/.test(e)?E(t,s):t)),Ct(this,t,"onProps"),xt(this,"onProps",t,this);const n=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return st(++this._lastCallId,{key:s,props:t,defaultProps:i,state:o,actions:{pause:()=>{yt(this)||(vt(this,!0),P(o.pauseQueue),xt(this,"onPause",ot(this,wt(this,this.animation.to)),this))},resume:()=>{yt(this)&&(vt(this,!1),gt(this)&&this._resume(),P(o.resumeQueue),xt(this,"onResume",ot(this,wt(this,this.animation.to)),this))},start:this._merge.bind(this,n)}}).then(s=>{if(t.loop&&s.finished&&(!e||!s.noop)){const e=Pt(t);if(e)return this._update(e,!0)}return s})}_merge(e,s,o){if(s.cancel)return this.stop(!0),o(at(this));const a=!t.und(e.to),r=!t.und(e.from);if(a||r){if(!(s.callId>this._lastToId))return o(at(this));this._lastToId=s.callId}const{key:u,defaultProps:c,animation:h}=this,{to:d,from:l}=h;let{to:m=d,from:y=l}=e;!r||a||s.default&&!t.und(m)||(m=y),s.reverse&&([m,y]=[y,m]);const _=!p(y,l);_&&(h.from=y),y=f(y);const v=!p(m,d);v&&this._focus(m);const b=H(s.to),{config:w}=h,{decay:I,velocity:S}=w;(a||r)&&(w.velocity=0),s.config&&!b&&function(e,s,i){i&&(Z(i={...i},s),s={...i,...s}),Z(e,s),Object.assign(e,s);for(const t in W)null==e[t]&&(e[t]=W[t]);let{frequency:n,damping:o}=e;const{mass:a}=e;t.und(n)||(n<.01&&(n=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/n,2)*a,e.friction=4*Math.PI*o*a/n)}(w,D(s.config,u),s.config!==c.config?D(c.config,u):void 0);let C=A(this);if(!C||t.und(m))return o(ot(this,!0));const x=t.und(s.reset)?r&&!s.default:!t.und(y)&&N(s.reset,u),R=x?y:this.get(),j=Y(m),V=t.num(j)||t.arr(j)||k(j),z=!b&&(!V||N(c.immediate||s.immediate,u));if(v){const t=M(m);if(t!==C.constructor){if(!z)throw Error(`Cannot animate between ${C.constructor.name} and ${t.name}, as the "to" prop suggests`);C=this._set(j)}}const Q=C.constructor;let T=g(m),E=!1;if(!T){const t=x||!mt(this)&&_;(v||t)&&(E=p(Y(R),j),T=!E),(p(h.immediate,z)||z)&&p(w.decay,I)&&p(w.velocity,S)||(T=!0)}if(E&>(this)&&(h.changed&&!x?T=!0:T||this._stop(d)),!b&&((T||g(d))&&(h.values=C.getPayload(),h.toValues=g(m)?null:Q==O?[1]:n(j)),h.immediate!=z&&(h.immediate=z,z||x||this._set(d)),T)){const{onRest:t}=h;i(St,t=>Ct(this,s,t));const e=ot(this,wt(this,d));P(this._pendingCalls,e),this._pendingCalls.add(o),h.changed&&q.batchedUpdates(()=>{h.changed=!x,t?.(e,this),x?D(c.onRest,e):h.onStart?.(e,this)})}x&&this._set(R),b?o(rt(s.to,s,this._state,this)):T?this._start():gt(this)&&!v?this._pendingCalls.add(o):o(nt(R))}_focus(t){const e=this.animation;t!==e.to&&(S(this)&&this._detach(),e.to=t,S(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;g(e)&&(y(e,this),dt(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;g(t)&&_(t,this)}_set(e,s=!0){const i=f(e);if(!t.und(i)){const t=A(this);if(!t||!p(i,t.getValue())){const e=M(i);t&&t.constructor==e?t.setValue(i):z(this,e.create(i)),t&&q.batchedUpdates(()=>{this._onChange(i,s)})}}return A(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,xt(this,"onStart",ot(this,wt(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),D(this.animation.onChange,t,this)),D(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;A(this).reset(f(t.to)),t.immediate||(t.fromValues=t.values.map(t=>t.lastPosition)),gt(this)||(_t(this,!0),yt(this)||this._resume())}_resume(){u.skipAnimation?this.finish():m.start(this)}_stop(t,e){if(gt(this)){_t(this,!1);const s=this.animation;i(s.values,t=>{t.done=!0}),s.toValues&&(s.onChange=s.onPause=s.onResume=void 0),w(this,{type:"idle",parent:this});const n=e?at(this.get()):ot(this.get(),wt(this,t??s.to));P(this._pendingCalls,n),s.changed&&(s.changed=!1,xt(this,"onRest",n,this))}}};function wt(t,e){const s=Y(e),i=Y(t.get());return p(i,s)}function Pt(t,e=t.loop,s=t.to){const i=D(e);if(i){const n=!0!==i&&J(i),o=(n||t).reverse,a=!n||n.reset;return It({...t,loop:e,default:!1,pause:void 0,to:!o||H(s)?s:void 0,from:a?t.from:void 0,reset:a,...n})}}function It(e){const{to:s,from:i}=e=J(e),n=new Set;return t.obj(s)&&kt(s,n),t.obj(i)&&kt(i,n),e.keys=n.size?Array.from(n):null,e}function kt(t,e){h(t,(t,s)=>null!=t&&e.add(s))}var St=["onStart","onRest","onChange","onPause","onResume"];function Ct(t,e,s){t.animation[s]=e[s]!==U(e,s)?E(e[s],t.key):void 0}function xt(t,e,...s){t.animation[e]?.(...s),t.defaultProps[e]?.(...s)}var Rt=["onStart","onChange","onRest"],jt=1,Vt=class{constructor(t,e){this.id=jt++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((e,s)=>t[s]=e.get()),t}set(e){for(const s in e){const i=e[s];t.und(i)||this.springs[s].set(i)}}update(t){return t&&this.queue.push(It(t)),this}start(t){let{queue:e}=this;return t?e=n(t).map(It):this.queue=[],this._flush?this._flush(this,e):(Tt(this,e),function(t,e){return Promise.all(e.map(e=>Mt(t,e))).then(e=>it(t,e))}(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const s=this.springs;i(n(e),e=>s[e].stop(!!t))}else ut(this._state,this._lastAsyncId),this.each(e=>e.stop(!!t));return this}pause(e){if(t.und(e))this.start({pause:!0});else{const t=this.springs;i(n(e),e=>t[e].pause())}return this}resume(e){if(t.und(e))this.start({pause:!1});else{const t=this.springs;i(n(e),e=>t[e].resume())}return this}each(t){h(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:s}=this._events,i=this._active.size>0,n=this._changed.size>0;(i&&!this._started||n&&!this._started)&&(this._started=!0,d(t,([t,e])=>{e.value=this.get(),t(e,this,this._item)}));const o=!i&&this._started,a=n||o&&s.size?this.get():null;n&&e.size&&d(e,([t,e])=>{e.value=a,t(e,this,this._item)}),o&&(this._started=!1,d(s,([t,e])=>{e.value=a,t(e,this,this._item)}))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}q.onFrame(this._onFrame)}};async function Mt(e,s,n){const{keys:o,to:a,from:r,loop:u,onRest:c,onResolve:h}=s,d=t.obj(s.default)&&s.default;u&&(s.loop=!1),!1===a&&(s.to=null),!1===r&&(s.from=null);const l=t.arr(a)||t.fun(a)?a:void 0;l?(s.to=void 0,s.onRest=void 0,d&&(d.onRest=void 0)):i(Rt,i=>{const n=s[i];if(t.fun(n)){const t=e._events[i];s[i]=({finished:e,cancelled:s})=>{const i=t.get(n);i?(e||(i.finished=!1),s&&(i.cancelled=!0)):t.set(n,{value:null,finished:e||!1,cancelled:s||!1})},d&&(d[i]=s[i])}});const p=e._state;s.pause===!p.paused?(p.paused=s.pause,P(s.pause?p.pauseQueue:p.resumeQueue)):p.paused&&(s.pause=!0);const f=(o||Object.keys(e.springs)).map(t=>e.springs[t].start(s)),m=!0===s.cancel||!0===U(s,"cancel");(l||m&&p.asyncId)&&f.push(st(++e._lastAsyncId,{props:s,state:p,actions:{pause:I,resume:I,start(t,s){m?(ut(p,e._lastAsyncId),s(at(e))):(t.onRest=c,s(rt(l,t,p,e)))}}})),p.paused&&await new Promise(t=>{p.resumeQueue.add(t)});const g=it(e,await Promise.all(f));if(u&&g.finished&&(!n||!g.noop)){const t=Pt(s,u,a);if(t)return Tt(e,[t]),Mt(e,t,!0)}return h&&q.batchedUpdates(()=>h(g,e,e.item)),g}function zt(e,s){const o={...e.springs};return s&&i(n(s),e=>{t.und(e.keys)&&(e=It(e)),t.obj(e.to)||(e={...e,to:void 0}),Qt(o,e,t=>At(t))}),function(t,e){h(e,(e,s)=>{t.springs[s]||(t.springs[s]=e,y(e,t))})}(e,o),o}function At(t,e){const s=new bt;return s.key=t,e&&y(s,e),s}function Qt(t,e,s){e.keys&&i(e.keys,i=>{(t[i]||(t[i]=s(i)))._prepareNode(e)})}function Tt(t,e){i(e,e=>{Qt(t.springs,e,e=>At(e,t))})}var Ot=x.createContext({pause:!1,immediate:!1}),qt=()=>{const e=[],s=function(s){r();const o=[];return i(e,(e,i)=>{if(t.und(s))o.push(e.start());else{const t=n(s,e,i);t&&o.push(e.start(t))}}),o};s.current=e,s.add=function(t){e.includes(t)||e.push(t)},s.delete=function(t){const s=e.indexOf(t);~s&&e.splice(s,1)},s.pause=function(){return i(e,t=>t.pause(...arguments)),this},s.resume=function(){return i(e,t=>t.resume(...arguments)),this},s.set=function(s){i(e,(e,i)=>{const n=t.fun(s)?s(i,e):s;n&&e.set(n)})},s.start=function(s){const n=[];return i(e,(e,i)=>{if(t.und(s))n.push(e.start());else{const t=this._getProps(s,e,i);t&&n.push(e.start(t))}}),n},s.stop=function(){return i(e,t=>t.stop(...arguments)),this},s.update=function(t){return i(e,(e,s)=>e.update(this._getProps(t,e,s))),this};const n=function(e,s,i){return t.fun(e)?e(i,s):e};return s._getProps=n,s};function Dt(r,u,c){const h=t.fun(u)&&u,{reset:d,sort:l,trail:p=0,expires:f=!0,exitBeforeEnter:m=!1,onDestroyed:g,ref:y,config:_}=h?h():u,v=R(()=>h||3==arguments.length?qt():void 0,[]),b=n(r),w=[],P=j(null),I=d?null:P.current;e(()=>{P.current=w}),s(()=>(i(w,t=>{v?.add(t.ctrl),t.ctrl.ref=v}),()=>{i(P.current,t=>{t.expired&&clearTimeout(t.expirationId),K(t.ctrl,v),t.ctrl.stop(!0)})}));const k=function(e,{key:s,keys:i=s},o){if(null===i){const t=new Set;return e.map(e=>{const s=o&&o.find(s=>s.item===e&&"leave"!==s.phase&&!t.has(s));return s?(t.add(s),s.key):Nt++})}return t.und(i)?e:t.fun(i)?e.map(i):n(i)}(b,h?h():u,I),S=d&&P.current||[];e(()=>i(S,({ctrl:t,item:e,key:s})=>{K(t,v),D(g,e,s)}));const C=[];if(I&&i(I,(t,e)=>{t.expired?(clearTimeout(t.expirationId),S.push(t)):~(e=C[e]=k.indexOf(t.key))&&(w[e]=t)}),i(b,(t,e)=>{w[e]||(w[e]={key:k[e],item:t,phase:"mount",ctrl:new Vt},w[e].ctrl.item=t)}),C.length){let t=-1;const{leave:e}=h?h():u;i(C,(s,i)=>{const n=I[i];~s?(t=w.indexOf(n),w[t]={...n,item:b[s]}):e&&w.splice(++t,0,n)})}t.fun(l)&&w.sort((t,e)=>l(t.item,e.item));let M=-p;const z=o(),A=G(u),Q=new Map,T=j(new Map),O=j(!1);i(w,(e,s)=>{const i=e.key,n=e.phase,o=h?h():u;let a,r;const c=D(o.delay||0,i);if("mount"==n)a=o.enter,r="enter";else{const t=k.indexOf(i)<0;if("leave"!=n)if(t)a=o.leave,r="leave";else{if(!(a=o.update))return;r="update"}else{if(t)return;a=o.enter,r="enter"}}if(a=D(a,e.item,s),a=t.obj(a)?J(a):{to:a},!a.config){const t=_||A.config;a.config=D(t,e.item,s,r)}M+=p;const d={...A,delay:c+M,ref:y,immediate:o.immediate,reset:!1,...a};if("enter"==r&&t.und(d.from)){const i=h?h():u,n=t.und(i.initial)||I?i.from:i.initial;d.from=D(n,e.item,s)}const{onResolve:l}=d;d.onResolve=t=>{D(l,t);const e=P.current,s=e.find(t=>t.key===i);if(s&&(!t.cancelled||"update"==s.phase)&&s.ctrl.idle){const t=e.every(t=>t.ctrl.idle);if("leave"==s.phase){const e=D(f,s.item);if(!1!==e){const i=!0===e?0:e;if(s.expired=!0,!t&&i>0)return void(i<=2147483647&&(s.expirationId=setTimeout(z,i)))}}t&&e.some(t=>t.expired)&&(T.current.delete(s),m&&(O.current=!0),z())}};const g=zt(e.ctrl,d);"leave"===r&&m?T.current.set(e,{phase:r,springs:g,payload:d}):Q.set(e,{phase:r,springs:g,payload:d})});const q=V(Ot),N=a(q),E=q!==N&&function(t){for(const e in t)return!0;return!1}(q);e(()=>{E&&i(w,t=>{t.ctrl.start({default:q})})},[q]),i(Q,(t,e)=>{if(T.current.size){const t=w.findIndex(t=>t.key===e.key);w.splice(t,1)}}),e(()=>{i(T.current.size?T.current:Q,({phase:t,payload:e},s)=>{const{ctrl:i}=s;s.phase=t,v?.add(i),E&&"enter"==t&&i.start({default:q}),e&&(!function(t,e){e&&t.ref!==e&&(t.ref?.delete(t),e.add(t),t.ref=e)}(i,e.ref),!i.ref&&!v||O.current?(i.start(e),O.current&&(O.current=!1)):i.update(e))})},d?void 0:c);const U=e=>x.createElement(x.Fragment,null,w.map((s,i)=>{const{springs:n}=Q.get(s)||s.ctrl,o=e({...n},s.item,s,i);return o&&o.type?x.createElement(o.type,{...o.props,key:t.str(s.key)||t.num(s.key)?s.key:s.ctrl.id,ref:o.ref}):o}));return v?[U,v]:U}var Nt=1;var Et=class extends pt{constructor(t,e){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=l(...e);const s=this._get(),i=M(s);z(this,i.create(s))}advance(t){const e=this._get(),s=this.get();p(e,s)||(A(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&Ft(this._active)&&Gt(this)}_get(){const e=t.arr(this.source)?this.source.map(f):n(f(this.source));return this.calc(...e)}_start(){this.idle&&!Ft(this._active)&&(this.idle=!1,i(Q(this),t=>{t.done=!1}),u.skipAnimation?(q.batchedUpdates(()=>this.advance()),Gt(this)):m.start(this))}_attach(){let t=1;i(n(this.source),e=>{g(e)&&y(e,this),dt(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))}),this.priority=t,this._start()}_detach(){i(n(this.source),t=>{g(t)&&_(t,this)}),this._active.clear(),Gt(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=n(this.source).reduce((t,e)=>Math.max(t,(dt(e)?e.priority:0)+1),0))}};function Ut(t){return!1!==t.idle}function Ft(t){return!t.size||Array.from(t).every(Ut)}function Gt(t){t.idle||(t.idle=!0,i(Q(t),t=>{t.done=!0}),w(t,{type:"idle",parent:t}))}u.assign({createStringInterpolator:c,to:(t,e)=>new Et(t,e)});export{ct as BailSignal,Vt as Controller,pt as FrameValue,u as Globals,Et as Interpolation,Ot as SpringContext,qt as SpringRef,bt as SpringValue,L as config,l as createInterpolator,C as easings,J as inferTo,e as useIsomorphicLayoutEffect,Dt as useTransition};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=w(),n=n=>u(n,e),t=w();n.write=e=>u(e,t);var a=w();n.onStart=e=>u(e,a);var o=w();n.onFrame=e=>u(e,o);var d=w();n.onFinish=e=>u(e,d);var l=[];n.setTimeout=(e,t)=>{const a=n.now()+t,o=()=>{const e=l.findIndex(e=>e.cancel==o);~e&&l.splice(e,1),i-=~e?1:0},d={time:a,handler:e,cancel:o};return l.splice(c(a),0,d),i+=1,h(),d};var c=e=>~(~l.findIndex(n=>n.time>e)||~l.length);n.cancel=n=>{a.delete(n),o.delete(n),d.delete(n),e.delete(n),t.delete(n)},n.sync=e=>{f=!0,n.batchedUpdates(e),f=!1},n.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function d(...e){t=e,n.onStart(o)}return d.handler=e,d.cancel=()=>{a.delete(o),t=null},d};var r="undefined"!=typeof window?window.requestAnimationFrame:()=>{};n.use=e=>r=e,n.now="undefined"!=typeof performance?()=>performance.now():Date.now,n.batchedUpdates=e=>e(),n.catch=console.error,n.frameLoop="always",n.advance=()=>{"demand"!==n.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):p()};var s=-1,i=0,f=!1;function u(e,n){f?(n.delete(e),e(0)):(n.add(e),h())}function h(){s<0&&(s=0,"demand"!==n.frameLoop&&r(m))}function m(){~s&&(r(m),n.batchedUpdates(p))}function p(){const r=s;s=n.now();const f=c(s);f&&(v(l.splice(0,f),e=>e.handler()),i-=f),i?(a.flush(),e.flush(r?Math.min(64,s-r):16.667),o.flush(),t.flush(),d.flush()):s=-1}function w(){let e=new Set,n=e;return{add(t){i+=n!=e||e.has(t)?0:1,e.add(t)},delete:t=>(i-=n==e&&e.has(t)?1:0,e.delete(t)),flush(t){n.size&&(e=new Set,i-=n.size,v(n,n=>n(t)&&e.add(n)),i+=e.size,n=e)}}}function v(e,t){e.forEach(e=>{try{t(e)}catch(e){n.catch(e)}})}export{n as raf};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{raf as e}from"../../rafz/dist/react-spring_rafz.modern.js";import{useEffect as r,useLayoutEffect as t,useState as n,useRef as a}from"react";var o=Object.defineProperty,i={};function l(){}((e,r)=>{for(var t in r)o(e,t,{get:r[t],enumerable:!0})})(i,{assign:()=>x,colors:()=>v,createStringInterpolator:()=>m,skipAnimation:()=>w,to:()=>h,willAdvance:()=>k});var u=(e,r,t)=>Object.defineProperty(e,r,{value:t,writable:!0,configurable:!0}),s={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function c(e,r){if(s.arr(e)){if(!s.arr(r)||e.length!==r.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0}return e===r}var d=(e,r)=>e.forEach(r);function f(e,r,t){if(s.arr(e))for(let n=0;n<e.length;n++)r.call(t,e[n],`${n}`);else for(const n in e)e.hasOwnProperty(n)&&r.call(t,e[n],n)}var g=e=>s.und(e)?[]:s.arr(e)?e:[e];function p(e,r){if(e.size){const t=Array.from(e);e.clear(),d(t,r)}}var m,h,b=(e,...r)=>p(e,e=>e(...r)),y=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),v=null,w=!1,k=l,x=r=>{r.to&&(h=r.to),r.now&&(e.now=r.now),void 0!==r.colors&&(v=r.colors),null!=r.skipAnimation&&(w=r.skipAnimation),r.createStringInterpolator&&(m=r.createStringInterpolator),r.requestAnimationFrame&&e.use(r.requestAnimationFrame),r.batchedUpdates&&(e.batchedUpdates=r.batchedUpdates),r.willAdvance&&(k=r.willAdvance),r.frameLoop&&(e.frameLoop=r.frameLoop)},A=new Set,$=[],F=[],E=0,q={get idle(){return!A.size&&!$.length},start(r){E>r.priority?(A.add(r),e.onStart(S)):(j(r),e(I))},advance:I,sort(r){if(E)e.onFrame(()=>q.sort(r));else{const e=$.indexOf(r);~e&&($.splice(e,1),z(r))}},clear(){$=[],A.clear()}};function S(){A.forEach(j),A.clear(),e(I)}function j(e){$.includes(e)||z(e)}function z(e){$.splice(function(e,r){const t=e.findIndex(r);return t<0?e.length:t}($,r=>r.priority>e.priority),0,e)}function I(e){const r=F;for(let t=0;t<$.length;t++){const n=$[t];E=n.priority,n.idle||(k(n),n.advance(e),n.idle||r.push(n))}return E=0,(F=$).length=0,($=r).length>0}var R={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},O="[-+]?\\d*\\.?\\d+",M=O+"%";function P(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var L=new RegExp("rgb"+P(O,O,O)),U=new RegExp("rgba"+P(O,O,O,O)),V=new RegExp("hsl"+P(O,M,M)),T=new RegExp("hsla"+P(O,M,M,O)),C=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,D=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Z=/^#([0-9a-fA-F]{6})$/,_=/^#([0-9a-fA-F]{8})$/;function B(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function G(e,r,t){const n=t<.5?t*(1+r):t+r-t*r,a=2*t-n,o=B(a,n,e+1/3),i=B(a,n,e),l=B(a,n,e-1/3);return Math.round(255*o)<<24|Math.round(255*i)<<16|Math.round(255*l)<<8}function N(e){const r=parseInt(e,10);return r<0?0:r>255?255:r}function W(e){return(parseFloat(e)%360+360)%360/360}function X(e){const r=parseFloat(e);return r<0?0:r>1?255:Math.round(255*r)}function H(e){const r=parseFloat(e);return r<0?0:r>100?1:r/100}function J(e){let r=function(e){let r;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(r=Z.exec(e))?parseInt(r[1]+"ff",16)>>>0:v&&void 0!==v[e]?v[e]:(r=L.exec(e))?(N(r[1])<<24|N(r[2])<<16|N(r[3])<<8|255)>>>0:(r=U.exec(e))?(N(r[1])<<24|N(r[2])<<16|N(r[3])<<8|X(r[4]))>>>0:(r=C.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=_.exec(e))?parseInt(r[1],16)>>>0:(r=D.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=V.exec(e))?(255|G(W(r[1]),H(r[2]),H(r[3])))>>>0:(r=T.exec(e))?(G(W(r[1]),H(r[2]),H(r[3]))|X(r[4]))>>>0:null}(e);if(null===r)return e;r=r||0;return`rgba(${(4278190080&r)>>>24}, ${(16711680&r)>>>16}, ${(65280&r)>>>8}, ${(255&r)/255})`}var K=(e,r,t)=>{if(s.fun(e))return e;if(s.arr(e))return K({range:e,output:r,extrapolate:t});if(s.str(e.output[0]))return m(e);const n=e,a=n.output,o=n.range||[0,1],i=n.extrapolateLeft||n.extrapolate||"extend",l=n.extrapolateRight||n.extrapolate||"extend",u=n.easing||(e=>e);return e=>{const r=function(e,r){for(var t=1;t<r.length-1&&!(r[t]>=e);++t);return t-1}(e,o);return function(e,r,t,n,a,o,i,l,u){let s=u?u(e):e;if(s<r){if("identity"===i)return s;"clamp"===i&&(s=r)}if(s>t){if("identity"===l)return s;"clamp"===l&&(s=t)}if(n===a)return n;if(r===t)return e<=r?n:a;r===-1/0?s=-s:t===1/0?s-=r:s=(s-r)/(t-r);s=o(s),n===-1/0?s=-s:a===1/0?s+=n:s=s*(a-n)+n;return s}(e,o[r],o[r+1],a[r],a[r+1],u,i,l,n.map)}};var Q={linear:e=>e},Y=Symbol.for("FluidValue.get"),ee=Symbol.for("FluidValue.observers"),re=e=>Boolean(e&&e[Y]),te=e=>e&&e[Y]?e[Y]():e,ne=e=>e[ee]||null;function ae(e,r){e.eventObserved?e.eventObserved(r):e(r)}function oe(e,r){const t=e[ee];t&&t.forEach(e=>{ae(e,r)})}var ie=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");le(this,e)}},le=(e,r)=>de(e,Y,r);function ue(e,r){if(e[Y]){let t=e[ee];t||de(e,ee,t=new Set),t.has(r)||(t.add(r),e.observerAdded&&e.observerAdded(t.size,r))}return r}function se(e,r){const t=e[ee];if(t&&t.has(r)){const n=t.size-1;n?t.delete(r):e[ee]=null,e.observerRemoved&&e.observerRemoved(n,r)}}var ce,de=(e,r,t)=>Object.defineProperty(e,r,{value:t,writable:!0,configurable:!0}),fe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ge=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pe=new RegExp(`(${fe.source})(%|[a-z]+)`,"i"),me=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,he=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,be=e=>{const[r,t]=ye(e);if(!r||y())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(r);if(n)return n.trim();if(t&&t.startsWith("--")){const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r||e}return t&&he.test(t)?be(t):t||e},ye=e=>{const r=he.exec(e);if(!r)return[,];const[,t,n]=r;return[t,n]},ve=(e,r,t,n,a)=>`rgba(${Math.round(r)}, ${Math.round(t)}, ${Math.round(n)}, ${a})`,we=e=>{ce||(ce=v?new RegExp(`(${Object.keys(v).join("|")})(?!\\w)`,"g"):/^\b$/);const r=e.output.map(e=>te(e).replace(he,be).replace(ge,J).replace(ce,J)),t=r.map(e=>e.match(fe).map(Number)),n=t[0].map((e,r)=>t.map(e=>{if(!(r in e))throw Error('The arity of each "output" value must be equal');return e[r]})).map(r=>K({...e,output:r}));return e=>{const t=!pe.test(r[0])&&r.find(e=>pe.test(e))?.replace(fe,"");let a=0;return r[0].replace(fe,()=>`${n[a++](e)}${t||""}`).replace(me,ve)}},ke="react-spring: ",xe=e=>{const r=e;let t=!1;if("function"!=typeof r)throw new TypeError(`${ke}once requires a function parameter`);return(...e)=>{t||(r(...e),t=!0)}},Ae=xe(console.warn);function $e(){Ae(`${ke}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Fe=xe(console.warn);function Ee(){Fe(`${ke}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function qe(e){return s.str(e)&&("#"==e[0]||/\d/.test(e)||!y()&&he.test(e)||e in(v||{}))}var Se=y()?r:t;function je(){const e=n()[1],r=(()=>{const e=a(!1);return Se(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{r.current&&e(Math.random())}}var ze=e=>r(e,Ie),Ie=[];function Re(e){const t=a(void 0);return r(()=>{t.current=e}),t.current}export{ie as FluidValue,i as Globals,ue as addFluidObserver,ae as callFluidObserver,oe as callFluidObservers,J as colorToRgba,R as colors,K as createInterpolator,we as createStringInterpolator,u as defineHidden,Ee as deprecateDirectCall,$e as deprecateInterpolate,d as each,f as eachProp,Q as easings,p as flush,b as flushCalls,q as frameLoop,ne as getFluidObservers,te as getFluidValue,re as hasFluidValue,C as hex3,D as hex4,Z as hex6,_ as hex8,V as hsl,T as hsla,s as is,qe as isAnimatedString,c as isEqual,y as isSSR,l as noop,xe as once,ke as prefix,e as raf,se as removeFluidObserver,L as rgb,U as rgba,le as setFluidGetter,g as toArray,je as useForceUpdate,Se as useIsomorphicLayoutEffect,ze as useOnce,Re as usePrev};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{BailSignal,Controller,FrameValue,Interpolation,SpringContext,SpringRef,SpringValue,config,inferTo,useTransition}from"../../core/dist/react-spring_core.modern.js";import{unstable_batchedUpdates as e}from"react-dom";import{Globals as t,colors as r,createStringInterpolator as o,eachProp as a,is as s,toArray as i,FluidValue as n,each as l,getFluidValue as d,hasFluidValue as p,addFluidObserver as c,removeFluidObserver as u,callFluidObservers as m}from"../../shared/dist/react-spring_shared.modern.js";export{createInterpolator,easings,useIsomorphicLayoutEffect}from"../../shared/dist/react-spring_shared.modern.js";import{createHost as h,AnimatedObject as g}from"../../animated/dist/react-spring_animated.modern.js";var f=/^--/;function b(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||f.test(e)||y.hasOwnProperty(e)&&y[e]?(""+t).trim():t+"px"}var v={};var y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},x=["Webkit","Ms","Moz","O"];y=Object.keys(y).reduce((e,t)=>(x.forEach(r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t]),e),y);var k=/^(matrix|translate|scale|rotate|skew)/,w=/^(translate)/,O=/^(rotate|skew)/,S=(e,t)=>s.num(e)&&0!==e?e+t:e,C=(e,t)=>s.arr(e)?e.every(e=>C(e,t)):s.num(e)?e===t:parseFloat(e)===t,j=class extends g{constructor({x:e,y:t,z:r,...o}){const n=[],l=[];(e||t||r)&&(n.push([e||0,t||0,r||0]),l.push(e=>[`translate3d(${e.map(e=>S(e,"px")).join(",")})`,C(e,0)])),a(o,(e,t)=>{if("transform"===t)n.push([e||""]),l.push(e=>[e,""===e]);else if(k.test(t)){if(delete o[t],s.und(e))return;const r=w.test(t)?"px":O.test(t)?"deg":"";n.push(i(e)),l.push("rotate3d"===t?([e,t,o,a])=>[`rotate3d(${e},${t},${o},${S(a,r)})`,C(a,0)]:e=>[`${t}(${e.map(e=>S(e,r)).join(",")})`,C(e,t.startsWith("scale")?1:0)])}}),n.length&&(o.transform=new I(n,l)),super(o)}},I=class extends n{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return l(this.inputs,(r,o)=>{const a=d(r[0]),[i,n]=this.transforms[o](s.arr(a)?a:r.map(d));e+=" "+i,t=t&&n}),t?"none":e}observerAdded(e){1==e&&l(this.inputs,e=>l(e,e=>p(e)&&c(e,this)))}observerRemoved(e){0==e&&l(this.inputs,e=>l(e,e=>p(e)&&u(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),m(this,e)}};t.assign({batchedUpdates:e,createStringInterpolator:o,colors:r});var _=h(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:o,style:a,children:s,scrollTop:i,scrollLeft:n,viewBox:l,...d}=t,p=Object.values(d),c=Object.keys(d).map(t=>r||e.hasAttribute(t)?t:v[t]||(v[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==s&&(e.textContent=s);for(const t in a)if(a.hasOwnProperty(t)){const r=b(t,a[t]);f.test(t)?e.style.setProperty(t,r):e.style[t]=r}c.forEach((t,r)=>{e.setAttribute(t,p[r])}),void 0!==o&&(e.className=o),void 0!==i&&(e.scrollTop=i),void 0!==n&&(e.scrollLeft=n),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new j(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}).animated;export{t as Globals,_ as a,_ as animated};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__module as t}from"../../_virtual/dayjs.min2.js";var e;t.exports;function r(){return e||(e=1,t.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",s="second",i="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},v=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},y={s:v,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),s=r%60;return(e<=0?"+":"-")+v(n,2,"0")+":"+v(s,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),s=e.clone().add(n,c),i=r-s<0,u=e.clone().add(n+(i?-1:1),c);return+(-(n+(r-s)/(i?s-u:u-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:i,s:s,ms:n,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",g={};g[D]=M;var p="$isDayjsObject",S=function(t){return t instanceof b||!(!t||!t[p])},w=function t(e,r,n){var s;if(!e)return D;if("string"==typeof e){var i=e.toLowerCase();g[i]&&(s=i),r&&(g[i]=r,s=i);var u=e.split("-");if(!s&&u.length>1)return t(u[0])}else{var a=e.name;g[a]=e,s=a}return!n&&s&&(D=s),s||!n&&D},_=function(t,e){if(S(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new b(r)},O=y;O.l=w,O.i=S,O.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var v=M.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(l);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return O},v.isValid=function(){return!(this.$d.toString()===$)},v.isSame=function(t,e){var r=_(t);return this.startOf(e)<=r&&r<=this.endOf(e)},v.isAfter=function(t,e){return _(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<_(t)},v.$g=function(t,e,r){return O.u(t)?this[e]:this.set(r,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var r=this,n=!!O.u(e)||e,f=O.p(t),$=function(t,e){var s=O.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?s:s.endOf(a)},l=function(t,e){return O.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,M=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case h:return n?$(1,0):$(31,11);case c:return n?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,g=(m<D?m+7:m)-D;return $(n?v-g:v+(6-g),M);case a:case d:return l(y+"Hours",0);case u:return l(y+"Minutes",1);case i:return l(y+"Seconds",2);case s:return l(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var r,o=O.p(t),f="set"+(this.$u?"UTC":""),$=(r={},r[a]=f+"Date",r[d]=f+"Date",r[c]=f+"Month",r[h]=f+"FullYear",r[u]=f+"Hours",r[i]=f+"Minutes",r[s]=f+"Seconds",r[n]=f+"Milliseconds",r)[o],l=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var m=this.clone().set(d,1);m.$d[$](l),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else $&&this.$d[$](l);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[O.p(t)]()},v.add=function(n,f){var d,$=this;n=Number(n);var l=O.p(f),m=function(t){var e=_($);return O.w(e.date(e.date()+Math.round(t*n)),$)};if(l===c)return this.set(c,this.$M+n);if(l===h)return this.set(h,this.$y+n);if(l===a)return m(1);if(l===o)return m(7);var M=(d={},d[i]=e,d[u]=r,d[s]=t,d)[l]||1,v=this.$d.getTime()+n*M;return O.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||$;var n=t||"YYYY-MM-DDTHH:mm:ssZ",s=O.z(this),i=this.$H,u=this.$m,a=this.$M,o=r.weekdays,c=r.months,f=r.meridiem,h=function(t,r,s,i){return t&&(t[r]||t(e,n))||s[r].slice(0,i)},d=function(t){return O.s(i%12||12,t,"0")},l=f||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return O.s(e.$y,4,"0");case"M":return a+1;case"MM":return O.s(a+1,2,"0");case"MMM":return h(r.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return O.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(r.weekdaysMin,e.$W,o,2);case"ddd":return h(r.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(i);case"HH":return O.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(i,u,!0);case"A":return l(i,u,!1);case"m":return String(u);case"mm":return O.s(u,2,"0");case"s":return String(e.$s);case"ss":return O.s(e.$s,2,"0");case"SSS":return O.s(e.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(n,d,$){var l,m=this,M=O.p(d),v=_(n),y=(v.utcOffset()-this.utcOffset())*e,D=this-v,g=function(){return O.m(m,v)};switch(M){case h:l=g()/12;break;case c:l=g();break;case f:l=g()/3;break;case o:l=(D-y)/6048e5;break;case a:l=(D-y)/864e5;break;case u:l=D/r;break;case i:l=D/e;break;case s:l=D/t;break;default:l=D}return $?l:O.a(l)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return g[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=w(t,e,!0);return n&&(r.$L=n),r},v.clone=function(){return O.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},M}(),k=b.prototype;return _.prototype=k,[["$ms",n],["$s",s],["$m",i],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach(function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),_.extend=function(t,e){return t.$i||(t(e,b,_),t.$i=!0),_},_.locale=w,_.isDayjs=S,_.unix=function(t){return _(1e3*t)},_.en=g[D],_.Ls=g,_.p={},_}()),t.exports}export{r as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__module as t}from"../../../_virtual/customParseFormat2.js";var e;t.exports;function r(){return e||(e=1,t.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,n=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},a=function(t){return(t=+t)+(t>68?1900:2e3)},f=function(t){return function(e){this[t]=+e}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),r=60*e[1]+(+e[2]||0);return 0===r?0:"+"===e[0]?-r:r}(t)}],u=function(t){var e=s[t];return e&&(e.indexOf?e:e.s.concat(e.f))},c=function(t,e){var r,n=s.meridiem;if(n){for(var i=1;i<=24;i+=1)if(t.indexOf(n(i,0,e))>-1){r=i>12;break}}else r=t===(e?"pm":"PM");return r},d={A:[o,function(t){this.afternoon=c(t,!1)}],a:[o,function(t){this.afternoon=c(t,!0)}],Q:[r,function(t){this.month=3*(t-1)+1}],S:[r,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,f("seconds")],ss:[i,f("seconds")],m:[i,f("minutes")],mm:[i,f("minutes")],H:[i,f("hours")],h:[i,f("hours")],HH:[i,f("hours")],hh:[i,f("hours")],D:[i,f("day")],DD:[n,f("day")],Do:[o,function(t){var e=s.ordinal,r=t.match(/\d+/);if(this.day=r[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],w:[i,f("week")],ww:[n,f("week")],M:[i,f("month")],MM:[n,f("month")],MMM:[o,function(t){var e=u("months"),r=(u("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[o,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,f("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,f("year")],Z:h,ZZ:h};function m(r){var n,i;n=r,i=s&&s.formats;for(var o=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,r,n){var o=n&&n.toUpperCase();return r||i[n]||t[n]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,r){return e||r.slice(1)})})).match(e),a=o.length,f=0;f<a;f+=1){var h=o[f],u=d[h],c=u&&u[0],m=u&&u[1];o[f]=m?{regex:c,parser:m}:h.replace(/^\[|\]$/g,"")}return function(t){for(var e={},r=0,n=0;r<a;r+=1){var i=o[r];if("string"==typeof i)n+=i.length;else{var s=i.regex,f=i.parser,h=t.slice(n),u=s.exec(h)[0];f.call(e,u),t=t.replace(u,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var r=t.hours;e?r<12&&(t.hours+=12):12===r&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,r){r.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(a=t.parseTwoDigitYear);var n=e.prototype,i=n.parse;n.parse=function(t){var e=t.date,n=t.utc,o=t.args;this.$u=n;var a=o[1];if("string"==typeof a){var f=!0===o[2],h=!0===o[3],u=f||h,c=o[2];h&&(c=o[2]),s=this.$locale(),!f&&c&&(s=r.Ls[c]),this.$d=function(t,e,r,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=m(e)(t),o=i.year,s=i.month,a=i.day,f=i.hours,h=i.minutes,u=i.seconds,c=i.milliseconds,d=i.zone,l=i.week,M=new Date,Y=a||(o||s?1:M.getDate()),v=o||M.getFullYear(),D=0;o&&!s||(D=s>0?s-1:M.getMonth());var p,w=f||0,g=h||0,L=u||0,y=c||0;return d?new Date(Date.UTC(v,D,Y,w,g,L,y+60*d.offset*1e3)):r?new Date(Date.UTC(v,D,Y,w,g,L,y)):(p=new Date(v,D,Y,w,g,L,y),l&&(p=n(p).week(l).toDate()),p)}catch(t){return new Date("")}}(e,a,n,r),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),u&&e!=this.format(a)&&(this.$d=new Date("")),s={}}else if(a instanceof Array)for(var d=a.length,l=1;l<=d;l+=1){o[1]=a[l-1];var M=r.apply(this,o);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}l===d&&(this.$d=new Date(""))}else i.call(this,t)}}}()),t.exports}export{r as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__module as r}from"../../../_virtual/localizedFormat2.js";var t;r.exports;function o(){return t||(t=1,r.exports=(o={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},function(r,t,e){var M=t.prototype,Y=M.format;e.en.formats=o,M.format=function(r){void 0===r&&(r="YYYY-MM-DDTHH:mm:ssZ");var t=this.$locale().formats,e=function(r,t){return r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(r,e,M){var Y=M&&M.toUpperCase();return e||t[M]||o[M]||t[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(r,t,o){return t||o.slice(1)})})}(r,void 0===t?{}:t);return Y.call(this,e)}})),r.exports;var o}export{o as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r,t;function e(){return t?r:(t=1,r=function r(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var n,o,f;if(Array.isArray(t)){if((n=t.length)!=e.length)return!1;for(o=n;0!==o--;)if(!r(t[o],e[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if((n=(f=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(e,f[o]))return!1;for(o=n;0!==o--;){var u=f[o];if(("_owner"!==u||!t.$$typeof)&&!r(t[u],e[u]))return!1}return!0}return t!=t&&e!=e})}export{e as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./_root.js";var r=o.Symbol;export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(r,n){for(var t=-1,a=null==r?0:r.length,e=Array(a);++t<a;)e[t]=n(r[t],t,r);return e}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./_Symbol.js";import t from"./_getRawTag.js";import r from"./_objectToString.js";var e=o?o.toStringTag:void 0;function i(o){return null==o?void 0===o?"[object Undefined]":"[object Null]":e&&e in Object(o)?t(o):r(o)}export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./_Symbol.js";import o from"./_arrayMap.js";import t from"./isArray.js";import i from"./isSymbol.js";var f=r?r.prototype:void 0,m=f?f.toString:void 0;function a(r){if("string"==typeof r)return r;if(t(r))return o(r,a)+"";if(i(r))return m?m.call(r):"";var f=r+"";return"0"==f&&1/r==-1/0?"-0":f}export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"../rollup-plugin-node-globals/src/global.js";var l="object"==typeof o&&o&&o.Object===Object&&o;export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"./_Symbol.js";var r=Object.prototype,o=r.hasOwnProperty,a=r.toString,e=t?t.toStringTag:void 0;function l(t){var r=o.call(t,e),l=t[e];try{t[e]=void 0;var c=!0}catch(t){}var i=a.call(t);return c&&(r?t[e]=l:delete t[e]),i}export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=Object.prototype.toString;function r(r){return t.call(r)}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./_freeGlobal.js";var t="object"==typeof self&&self&&self.Object===Object&&self,f=e||t||Function("return this")();export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=Array.isArray;export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){return null!=t&&"object"==typeof t}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./_baseGetTag.js";import t from"./isObjectLike.js";function e(e){return"symbol"==typeof e||t(e)&&"[object Symbol]"==o(e)}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./_baseToString.js";function t(t){return null==t?"":r(t)}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./toString.js";var t=0;function o(o){var a=++t;return r(o)+a}export{o as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{forwardRef as r,createElement as e}from"react";import t from"./defaultAttributes.js";import{mergeClasses as o,hasA11yProp as s}from"./shared/src/utils.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const i=r(({color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:d,className:m="",children:c,iconNode:l,...u},h)=>e("svg",{ref:h,...t,width:i,height:i,stroke:r,strokeWidth:d?24*Number(a)/Number(i):a,className:o("lucide",m),...!c&&!s(u)&&{"aria-hidden":"true"},...u},[...l.map(([r,t])=>e(r,t)),...Array.isArray(c)?c:[c]]));export{i as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{forwardRef as r,createElement as s}from"react";import{mergeClasses as e,toKebabCase as o,toPascalCase as a}from"./shared/src/utils.js";import c from"./Icon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const t=(t,m)=>{const i=r(({className:r,...i},l)=>s(c,{ref:l,iconNode:m,className:e(`lucide-${o(a(t))}`,`lucide-${t}`,r),...i}));return i.displayName=a(t),i};export{t as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license lucide-react v0.546.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};export{o as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const t=[["path",{d:"M11 14h1v4",key:"fy54vd"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],a=e("calendar-1",t);export{t as __iconNode,a as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const o=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],r=e("chevron-down",o);export{o as __iconNode,r as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import c from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],r=c("circle-x",e);export{e as __iconNode,r as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import c from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const e=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],r=c("eye",e);export{e as __iconNode,r as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const c=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],t=e("info",c);export{c as __iconNode,t as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import a from"../createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.546.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const t=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],e=a("trash",t);export{t as __iconNode,e as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license lucide-react v0.546.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
const e=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),t=e=>{const t=r(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=(...e)=>e.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),a=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};export{a as hasA11yProp,o as mergeClasses,r as toCamelCase,e as toKebabCase,t as toPascalCase};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OverlayScrollbars
|
|
3
|
+
* Version: 2.11.4
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Rene Haas | KingSora.
|
|
6
|
+
* https://github.com/KingSora
|
|
7
|
+
*
|
|
8
|
+
* Released under the MIT license.
|
|
9
|
+
*/
|
|
10
|
+
const t=(t,e)=>{const{o:n,i:r,u:o}=t;let s,i=n;const c=(t,e)=>{const n=i,c=t,l=e||(r?!r(n,c):n!==c);return(l||o)&&(i=c,s=n),[i,l,s]};return[e?t=>c(e(i,s),t):c,t=>[i,!!t,s]]},e="undefined"!=typeof window&&"undefined"!=typeof HTMLElement&&!!window.document?window:{},n=Math.max,r=Math.min,o=Math.round,s=Math.abs,i=Math.sign,c=e.cancelAnimationFrame,l=e.requestAnimationFrame,a=e.setTimeout,u=e.clearTimeout,d=t=>void 0!==e[t]?e[t]:void 0,p=d("MutationObserver"),y=d("IntersectionObserver"),f=d("ResizeObserver"),h=d("ScrollTimeline"),v=t=>void 0===t,b=t=>null===t,x=t=>"number"==typeof t,g=t=>"string"==typeof t,w=t=>"boolean"==typeof t,m=t=>"function"==typeof t,$=t=>Array.isArray(t),S=t=>"object"==typeof t&&!$(t)&&!b(t),M=t=>{const e=!!t&&t.length,n=x(e)&&e>-1&&e%1==0;return!!($(t)||!m(t)&&n)&&(!(e>0&&S(t))||e-1 in t)},O=t=>!!t&&t.constructor===Object,L=t=>t instanceof HTMLElement,D=t=>t instanceof Element;function C(t,e){if(M(t))for(let n=0;n<t.length&&!1!==e(t[n],n,t);n++);else t&&C(Object.keys(t),n=>e(t[n],n,t));return t}const T=(t,e)=>t.indexOf(e)>=0,k=(t,e)=>t.concat(e),A=(t,e,n)=>(!g(e)&&M(e)?Array.prototype.push.apply(t,e):t.push(e),t),I=t=>Array.from(t||[]),H=t=>$(t)?t:!g(t)&&M(t)?I(t):[t],E=t=>!!t&&!t.length,R=t=>I(new Set(t)),z=(t,e,n)=>{C(t,t=>!t||t.apply(void 0,e||[])),n||(t.length=0)},P="paddingTop",_="paddingRight",V="paddingLeft",j="paddingBottom",B="marginLeft",U="marginRight",F="marginBottom",N="overflowX",K="overflowY",Y="width",X="height",Q="visible",W="hidden",q="scroll",Z=(t,e,n,r)=>{if(t&&e){let r=!0;return C(n,n=>{t[n]!==e[n]&&(r=!1)}),r}return!1},J=(t,e)=>Z(t,e,["w","h"]),G=(t,e)=>Z(t,e,["x","y"]),tt=(t,e)=>Z(t,e,["t","r","b","l"]),et=(t,...e)=>t.bind(0,...e),nt=t=>{let e;const n=t?a:l,r=t?u:c;return[o=>{r(e),e=n(()=>o(),m(t)?t():t)},()=>r(e)]},rt=t=>{const e=m(t)?t():t;if(x(e)){const t=e?a:l,n=e?u:c;return r=>{const o=t(()=>r(),e);return()=>{n(o)}}}return e&&e._},ot=(t,e)=>{const{p:n,v:r,S:o,m:s}=e||{};let i,c,l,a,u;const d=function(e){c&&c(),i&&i(),u=c=i=l=void 0,t.apply(this,e)},p=t=>s&&l?s(l,t):t,y=()=>{c&&d(p(a)||a)},f=function(){const t=I(arguments),e=rt(n);if(e){const n=rt(r),s=p(t)||t,f=d.bind(0,s);c&&c(),o&&!u?(f(),u=!0,c=e(()=>u=void 0)):(c=e(f),n&&!i&&(i=n(y))),l=a=s}else d(t)};return f.O=y,f},st=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),it=t=>t?Object.keys(t):[],ct=(t,e,n,r,o,s,i)=>{const c=[e,n,r,o,s,i];return"object"==typeof t&&!b(t)||m(t)||(t={}),C(c,e=>{C(e,(n,r)=>{const o=e[r];if(t===o)return!0;const s=$(o);if(o&&O(o)){const e=t[r];let n=e;s&&!$(e)?n=[]:s||O(e)||(n={}),t[r]=ct(n,o)}else t[r]=s?o.slice():o})}),t},lt=(t,e)=>C(ct({},t),(t,e,n)=>{void 0===t?delete n[e]:t&&O(t)&&(n[e]=lt(t))}),at=t=>!it(t).length,ut=()=>{},dt=(t,e,o)=>n(t,r(e,o)),pt=t=>R(($(t)?t:(t||"").split(" ")).filter(t=>t)),yt=(t,e)=>t&&t.getAttribute(e),ft=(t,e)=>t&&t.hasAttribute(e),ht=(t,e,n)=>{C(pt(e),e=>{t&&t.setAttribute(e,String(n||""))})},vt=(t,e)=>{C(pt(e),e=>t&&t.removeAttribute(e))},bt=(t,e)=>{const n=pt(yt(t,e)),r=et(ht,t,e),o=(t,e)=>{const r=new Set(n);return C(pt(t),t=>{r[e](t)}),I(r).join(" ")};return{$:t=>r(o(t,"delete")),C:t=>r(o(t,"add")),H:t=>{const e=pt(t);return e.reduce((t,e)=>t&&n.includes(e),e.length>0)}}},xt=(t,e,n)=>(bt(t,e).$(n),et(gt,t,e,n)),gt=(t,e,n)=>(bt(t,e).C(n),et(xt,t,e,n)),wt=(t,e,n,r)=>(r?gt:xt)(t,e,n),mt=(t,e,n)=>bt(t,e).H(n),$t=t=>bt(t,"class"),St=(t,e)=>{$t(t).$(e)},Mt=(t,e)=>($t(t).C(e),et(St,t,e)),Ot=(t,e)=>{const n=e?D(e)&&e:document;return n?I(n.querySelectorAll(t)):[]},Lt=(t,e)=>D(t)&&t.matches(e),Dt=t=>Lt(t,"body"),Ct=t=>t?I(t.childNodes):[],Tt=t=>t&&t.parentElement,kt=(t,e)=>D(t)&&t.closest(e),At=t=>document.activeElement,It=(t,e,n)=>{const r=kt(t,e),o=t&&((t,e)=>{const n=e?D(e)&&e:document;return n&&n.querySelector(t)})(n,r),s=kt(o,e)===r;return!(!r||!o)&&(r===t||o===t||s&&kt(kt(t,n),e)!==r)},Ht=t=>{C(H(t),t=>{const e=Tt(t);t&&e&&e.removeChild(t)})},Et=(t,e)=>et(Ht,t&&e&&C(H(e),e=>{e&&t.appendChild(e)}));let Rt;const zt=t=>{const e=document.createElement("div");return ht(e,"class",t),e},Pt=t=>{const e=zt(),n=Rt,r=t.trim();return e.innerHTML=n?n.createHTML(r):r,C(Ct(e),t=>Ht(t))},_t=(t,e)=>t.getPropertyValue(e)||t[e]||"",Vt=t=>{const e=t||0;return isFinite(e)?e:0},jt=t=>Vt(parseFloat(t||"")),Bt=t=>Math.round(1e4*t)/1e4,Ut=t=>`${Bt(Vt(t))}px`;function Ft(t,e){t&&e&&C(e,(e,n)=>{try{const r=t.style,o=b(e)||w(e)?"":x(e)?Ut(e):e;0===n.indexOf("--")?r.setProperty(n,o):r[n]=o}catch(t){}})}function Nt(t,n,r){const o=g(n);let s=o?"":{};if(t){const i=e.getComputedStyle(t,r)||t.style;s=o?_t(i,n):I(n).reduce((t,e)=>(t[e]=_t(i,e),t),s)}return s}const Kt=(t,e,n)=>{const r=e?`${e}-`:"",o=n?`-${n}`:"",s=`${r}top${o}`,i=`${r}right${o}`,c=`${r}bottom${o}`,l=`${r}left${o}`,a=Nt(t,[s,i,c,l]);return{t:jt(a[s]),r:jt(a[i]),b:jt(a[c]),l:jt(a[l])}},Yt=(t,e)=>"translate"+(S(t)?`(${t.x},${t.y})`:`${e?"X":"Y"}(${t})`),Xt={w:0,h:0},Qt=(t,e)=>e?{w:e[`${t}Width`],h:e[`${t}Height`]}:Xt,Wt=t=>Qt("inner",t||e),qt=et(Qt,"offset"),Zt=et(Qt,"client"),Jt=et(Qt,"scroll"),Gt=t=>{const e=parseFloat(Nt(t,Y))||0,n=parseFloat(Nt(t,X))||0;return{w:e-o(e),h:n-o(n)}},te=t=>t.getBoundingClientRect(),ee=t=>!(!t||!t[X]&&!t[Y]),ne=(t,e)=>{const n=ee(t);return!ee(e)&&n},re=(t,e,n,r)=>{C(pt(e),e=>{t&&t.removeEventListener(e,n,r)})},oe=(t,e,n,r)=>{var o;const s=null==(o=r&&r.T)||o,i=r&&r.I||!1,c=r&&r.A||!1,l={passive:s,capture:i};return et(z,pt(e).map(e=>{const r=c?o=>{re(t,e,r,i),n&&n(o)}:n;return t&&t.addEventListener(e,r,l),et(re,t,e,r,i)}))},se=t=>t.stopPropagation(),ie=t=>t.preventDefault(),ce=t=>se(t)||ie(t),le=(t,e)=>{const{x:n,y:r}=x(e)?{x:e,y:e}:e||{};x(n)&&(t.scrollLeft=n),x(r)&&(t.scrollTop=r)},ae=t=>({x:t.scrollLeft,y:t.scrollTop}),ue=(t,e)=>{const{D:n,M:r}=t,{w:o,h:c}=e,l=(t,e,n)=>{let r=i(t)*n,o=i(e)*n;if(r===o){const n=s(t),i=s(e);o=n>i?0:o,r=n<i?0:r}return r=r===o?0:r,[r+0,o+0]},[a,u]=l(n.x,r.x,o),[d,p]=l(n.y,r.y,c);return{D:{x:a,y:d},M:{x:u,y:p}}},de=({D:t,M:e})=>{const n=(t,e)=>0===t&&t<=e;return{x:n(t.x,e.x),y:n(t.y,e.y)}},pe=({D:t,M:e},n)=>{const r=(t,e,n)=>dt(0,1,(t-n)/(t-e)||0);return{x:r(t.x,e.x,n.x),y:r(t.y,e.y,n.y)}},ye=t=>{t&&t.focus&&t.focus({preventScroll:!0})},fe=(t,e)=>{C(H(e),t)},he=t=>{const e=new Map,n=(t,n)=>{if(t){const r=e.get(t);fe(t=>{r&&r[t?"delete":"clear"](t)},n)}else e.forEach(t=>{t.clear()}),e.clear()},r=(t,o)=>{if(g(t)){const r=e.get(t)||new Set;return e.set(t,r),fe(t=>{m(t)&&r.add(t)},o),et(n,t,o)}w(o)&&o&&n();const s=it(t),i=[];return C(s,e=>{const n=t[e];n&&A(i,r(e,n))}),et(z,i)};return r(t||{}),[r,n,(t,n)=>{C(I(e.get(t)),t=>{n&&!E(n)?t.apply(0,n):t()})}]},ve={},be={},xe=(t,e,n)=>it(t).map(r=>{const{static:o,instance:s}=t[r],[i,c,l]=n||[],a=n?s:o;if(a){const t=n?a(i,c,e):a(e);return(l||be)[r]=t}}),ge=t=>be[t],we="data-overlayscrollbars",me="os-environment",$e=`${me}-scrollbar-hidden`,Se=`${we}-initialize`,Me="noClipping",Oe=`${we}-body`,Le=we,De=`${we}-viewport`,Ce=N,Te=K,ke="measuring",Ae="scrollbarHidden",Ie=`${we}-padding`,He=`${we}-content`,Ee="os-size-observer",Re=`${Ee}-appear`,ze=`${Ee}-listener`,Pe="os-scrollbar",_e=`${Pe}-rtl`,Ve=`${Pe}-horizontal`,je=`${Pe}-vertical`,Be=`${Pe}-track`,Ue=`${Pe}-handle`,Fe=`${Pe}-visible`,Ne=`${Pe}-cornerless`,Ke=`${Pe}-interaction`,Ye=`${Pe}-unusable`,Xe=`${Pe}-auto-hide`,Qe=`${Xe}-hidden`,We=`${Pe}-wheel`,qe=`${Be}-interactive`,Ze=`${Ue}-interactive`,Je=t=>0===t.indexOf(Q),Ge=(t,e)=>{if("auto"===t)return e?q:W;const n=t||W;return[W,q,Q].includes(n)?n:W},tn=(t,e)=>{const{overflowX:n,overflowY:r}=Nt(t,[N,K]);return{x:Ge(n,e.x),y:Ge(r,e.y)}},en="__osScrollbarsHidingPlugin",nn=t=>JSON.stringify(t,(t,e)=>{if(m(e))throw 0;return e}),rn=(t,e)=>t?`${e}`.split(".").reduce((t,e)=>t&&st(t,e)?t[e]:void 0,t):void 0,on={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},sn=(t,e)=>{const n={};return C(k(it(e),it(t)),r=>{const o=t[r],s=e[r];if(S(o)&&S(s))ct(n[r]={},sn(o,s)),at(n[r])&&delete n[r];else if(st(e,r)&&s!==o){let t=!0;if($(o)||$(s))try{nn(o)===nn(s)&&(t=!1)}catch(t){}t&&(n[r]=s)}}),n},cn=(t,e,n)=>r=>[rn(t,r),n||void 0!==rn(e,r)];let ln;let an;const un=()=>{const n=(t,e,n)=>{Et(document.body,t),Et(document.body,t);const r=Zt(t),o=qt(t),s=Gt(e);return n&&Ht(t),{x:o.h-r.h+s.h,y:o.w-r.w+s.w}},r=Pt(`<div class="${me}"><div></div><style>${`.${me}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${me} div{width:200%;height:200%;margin:10px 0}.${$e}{scrollbar-width:none!important}.${$e}::-webkit-scrollbar,.${$e}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0],o=r.firstChild,s=r.lastChild,i=ln;i&&(s.nonce=i);const[c,,l]=he(),[a,u]=t({o:n(r,o),i:G},et(n,r,o,!0)),[d]=u(),p=(t=>{let e=!1;const n=Mt(t,$e);try{e="none"===Nt(t,"scrollbar-width")||"none"===Nt(t,"display","::-webkit-scrollbar")}catch(t){}return n(),e})(r),y={x:0===d.x,y:0===d.y},f={elements:{host:null,padding:!p,viewport:t=>p&&Dt(t)&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},v=ct({},on),b=et(ct,{},v),x=et(ct,{},f),g={P:d,k:y,U:p,J:!!h,G:et(c,"r"),K:x,Z:t=>ct(f,t)&&x(),tt:b,nt:t=>ct(v,t)&&b(),ot:ct({},f),st:ct({},v)};if(vt(r,"style"),Ht(r),oe(e,"resize",()=>{l("r",[])}),m(e.matchMedia)&&!p&&(!y.x||!y.y)){const t=n=>{const r=e.matchMedia(`(resolution: ${e.devicePixelRatio}dppx)`);oe(r,"change",()=>{n(),t(n)},{A:!0})};t(()=>{const[t,e]=a();ct(g.P,t),l("r",[e])})}return g},dn=()=>(an||(an=un()),an),pn=(t,e,n,r)=>{let o=!1;const{et:s,ct:i,rt:c,it:l,lt:a,ut:u}=r||{},d=ot(()=>o&&n(!0),{p:33,v:99}),[y,f]=((t,e,n)=>{let r=!1;const o=!!n&&new WeakMap,s=s=>{if(o&&n){const i=n.map(e=>{const[n,r]=e||[];return[r&&n?(s||Ot)(n,t):[],r]});C(i,n=>C(n[0],s=>{const i=n[1],c=o.get(s)||[];if(t.contains(s)&&i){const t=oe(s,i,n=>{r?(t(),o.delete(s)):e(n)});o.set(s,A(c,t))}else z(c),o.delete(s)}))}};return s(),[()=>{r=!0},s]})(t,d,c),h=i||[],v=k(s||[],h),b=(o,s)=>{if(!E(s)){const i=a||ut,c=u||ut,d=[],p=[];let y=!1,v=!1;if(C(s,n=>{const{attributeName:o,target:s,type:a,oldValue:u,addedNodes:f,removedNodes:b}=n,x="attributes"===a,w="childList"===a,m=t===s,$=x&&o,S=$&&yt(s,o||""),M=g(S)?S:null,O=$&&u!==M,L=T(h,o)&&O;if(e&&(w||!m)){const e=x&&O,a=e&&l&&Lt(s,l),p=(a?!i(s,o,u,M):!x||e)&&!c(n,!!a,t,r);C(f,t=>A(d,t)),C(b,t=>A(d,t)),v=v||p}!e&&m&&O&&!i(s,o,u,M)&&(A(p,o),y=y||L)}),f(t=>R(d).reduce((e,n)=>(A(e,Ot(t,n)),Lt(n,t)?A(e,n):e),[])),e)return!o&&v&&n(!1),[!1];if(!E(p)||y){const t=[R(p),y];return o||n.apply(0,t),t}}},x=new p(et(b,!1));return[()=>(x.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:v,subtree:e,childList:e,characterData:e}),o=!0,()=>{o&&(y(),x.disconnect(),o=!1)}),()=>{if(o)return d.O(),b(!0,x.takeRecords())}]};let yn=null;const fn=(e,n,r)=>{const{ft:o}=r||{},s=ge("__osSizeObserverPlugin"),[i]=t({o:!1,u:!0});return()=>{const t=[],r=Pt(`<div class="${Ee}"><div class="${ze}"></div></div>`)[0],c=r.firstChild,l=t=>{let e=!1,r=!1;if($(t)&&!E(t)){const n=t[0],[o,,s]=i(n.contentRect),c=ee(o);r=ne(o,s),e=!r&&!c}else r=!0===t;e||n({_t:!0,ft:r})};if(f){if(!w(yn)){const t=new f(ut);t.observe(e,{get box(){yn=!0}}),yn=yn||!1,t.disconnect()}const n=ot(l,{p:0,v:0}),o=t=>n(t),s=new f(o);if(s.observe(yn?e:c),A(t,[()=>{s.disconnect()},!yn&&Et(e,r)]),yn){const n=new f(o);n.observe(e,{box:"border-box"}),A(t,()=>n.disconnect())}}else{if(!s)return ut;{const[n,i]=s(c,l,o);A(t,k([Mt(r,Re),oe(r,"animationstart",n),Et(e,r)],i))}}return et(z,t)}},hn=(e,n)=>{let r;const o=zt("os-trinsic-observer"),[s]=t({o:!1}),i=(t,e)=>{if(t){const r=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,o]=r;return o&&!e&&n(r)&&[r]}},c=(t,e)=>i(e.pop(),t);return[()=>{const t=[];if(y)r=new y(et(c,!1),{root:e}),r.observe(o),A(t,()=>{r.disconnect()});else{const e=()=>{const t=qt(o);i(t)};A(t,fn(o,e)()),e()}return et(z,A(t,Et(e,o)))},()=>r&&c(!0,r.takeRecords())]},vn=(e,n,r,o)=>{let s,i,c,l,a,u;const d=`[${Le}]`,p=`[${De}]`,y=["id","class","style","open","wrap","cols","rows"],{dt:h,vt:v,L:b,gt:g,ht:w,V:S,bt:M,wt:O,yt:L,St:D}=e,C=t=>"rtl"===Nt(t,"direction"),T={Ot:!1,B:C(h)},A=dn(),I=ge(en),[H]=t({i:J,o:{w:0,h:0}},()=>{const t=I&&I.R(e,n,T,A,r).Y,o=!(M&&S)&&mt(v,Le,Me),s=!S&&O("arrange"),i=s&&ae(g),c=i&&D(),l=L(ke,o),a=s&&t&&t(),u=Jt(b),d=Gt(b);return a&&a(),le(g,i),c&&c(),o&&l(),{w:u.w+d.w,h:u.h+d.h}}),E=ot(o,{p:()=>s,v:()=>i,m(t,e){const[n]=t,[r]=e;return[k(it(n),it(r)).reduce((t,e)=>(t[e]=n[e]||r[e],t),{})]}}),R=t=>{const e=C(h);ct(t,{$t:u!==e}),ct(T,{B:e}),u=e},z=(t,e)=>{const[n,r]=t,s={Ct:r};return ct(T,{Ot:n}),e||o(s),s},P=({_t:t,ft:e})=>{const n=!(t&&!e)&&A.U?E:o,r={_t:t||e,ft:e};R(r),n(r)},_=(t,e)=>{const[,n]=H(),r={xt:n};R(r);return n&&!e&&(t?o:E)(r),r},V=(t,e,n)=>{const r={Ht:e};return R(r),e&&!n&&E(r),r},[j,B]=w?hn(v,z):[],U=!S&&fn(v,P,{ft:!0}),[F,N]=pn(v,!1,V,{ct:y,et:y}),K=S&&f&&new f(t=>{const e=t[t.length-1].contentRect;P({_t:!0,ft:ne(e,a)}),a=e}),Y=ot(()=>{const[,t]=H();o({xt:t})},{p:222,S:!0});return[()=>{K&&K.observe(v);const t=U&&U(),e=j&&j(),n=F(),r=A.G(t=>{t?E({Et:t}):Y()});return()=>{K&&K.disconnect(),t&&t(),e&&e(),l&&l(),n(),r()}},({zt:t,Tt:e,It:n})=>{const r={},[o]=t("update.ignoreMutation"),[a,u]=t("update.attributes"),[f,h]=t("update.elementEvents"),[v,g]=t("update.debounce"),M=e||n;if(h||u){c&&c(),l&&l();const[t,e]=pn(w||b,!0,_,{et:k(y,a||[]),rt:f,it:d,ut:(t,e)=>{const{target:n,attributeName:r}=t;return!(e||!r||S)&&It(n,d,p)||!!kt(n,`.${Pe}`)||!!(t=>m(o)&&o(t))(t)}});l=t(),c=e}if(g)if(E.O(),$(v)){const t=v[0],e=v[1];s=x(t)&&t,i=x(e)&&e}else x(v)?(s=v,i=!1):(s=!1,i=!1);if(M){const t=N(),e=B&&B(),n=c&&c();t&&ct(r,V(t[0],t[1],M)),e&&ct(r,z(e[0],M)),n&&ct(r,_(n[0],M))}return R(r),r},T]},bn=(t,e)=>m(e)?e.apply(0,t):e,xn=(t,e,n,r)=>{const o=v(r)?n:r;return bn(t,o)||e.apply(0,t)},gn=(t,e,n,r)=>{const o=v(r)?n:r,s=bn(t,o);return!!s&&(L(s)?s:e.apply(0,t))},wn=(t,e,n,r)=>{const o="--os-viewport-percent",s="--os-scroll-percent",i="--os-scroll-direction",{K:c}=dn(),{scrollbars:l}=c(),{slot:a}=l,{dt:u,vt:d,L:p,At:y,gt:f,bt:v,V:b}=e,{scrollbars:x}=y?{}:t,{slot:g}=x||{},m=[],$=[],S=[],M=gn([u,d,p],()=>b&&v?u:d,a,g),O=t=>{if(h){let e=null,r=[];const o=new h({source:f,axis:t}),s=()=>{e&&e.cancel(),e=null},i=i=>{const{Dt:c}=n,l=de(c)[t],a="x"===t,u=[Yt(0,a),Yt(`calc(100cq${a?"w":"h"} + -100%)`,a)],d=l?u:u.reverse();return r[0]===d[0]&&r[1]===d[1]||(s(),r=d,e=i.Mt.animate({clear:["left"],transform:d},{timeline:o})),s};return{kt:i}}},L={x:O("x"),y:O("y")},D=(t,e,n)=>{const r=n?Mt:St;C(t,t=>{r(t.Lt,e)})},T=(t,e)=>{C(t,t=>{const[n,r]=e(t);Ft(n,r)})},k=(t,e,n)=>{const r=w(n),o=!r||!n;(!r||n)&&D($,t,e),o&&D(S,t,e)},I=t=>{const e=t?"x":"y",n=zt(`${Pe} ${t?Ve:je}`),o=zt(Be),s=zt(Ue),i={Lt:n,Ut:o,Mt:s},c=L[e];return A(t?$:S,i),A(m,[Et(n,o),Et(o,s),et(Ht,n),c&&c.kt(i),r(i,k,t)]),i},H=et(I,!0),E=et(I,!1);return H(),E(),[{Pt:()=>{const t=(()=>{const{Rt:t,Vt:e}=n,r=(t,e)=>dt(0,1,t/(t+e)||0);return{x:r(e.x,t.x),y:r(e.y,t.y)}})(),e=t=>e=>[e.Lt,{[o]:Bt(t)+""}];T($,e(t.x)),T(S,e(t.y))},Nt:()=>{if(!h){const{Dt:t}=n,e=pe(t,ae(f)),r=t=>e=>[e.Lt,{[s]:Bt(t)+""}];T($,r(e.x)),T(S,r(e.y))}},qt:()=>{const{Dt:t}=n,e=de(t),r=t=>e=>[e.Lt,{[i]:t?"0":"1"}];T($,r(e.x)),T(S,r(e.y)),h&&($.forEach(L.x.kt),S.forEach(L.y.kt))},Bt:()=>{if(b&&!v){const{Rt:t,Dt:e}=n,r=de(e),o=pe(e,ae(f)),s=e=>{const{Lt:n}=e,s=Tt(n)===p&&n,i=(t,e,n)=>{const r=e*t;return Ut(n?r:-r)};return[s,s&&{transform:Yt({x:i(o.x,t.x,r.x),y:i(o.y,t.y,r.y)})}]};T($,s),T(S,s)}},Ft:k,jt:{Xt:$,Yt:H,Wt:et(T,$)},Jt:{Xt:S,Yt:E,Wt:et(T,S)}},()=>(Et(M,$[0].Lt),Et(M,S[0].Lt),et(z,m))]},mn=(t,e,n,r)=>(i,c,l)=>{const{vt:u,L:d,V:p,gt:y,Gt:f,St:h}=e,{Lt:v,Ut:b,Mt:x}=i,[g,w]=nt(333),[$,S]=nt(444),M=t=>{m(y.scrollBy)&&y.scrollBy({behavior:"smooth",left:t.x,top:t.y})};let O=!0;return et(z,[oe(x,"pointermove pointerleave",r),oe(v,"pointerenter",()=>{c(Ke,!0)}),oe(v,"pointerleave pointercancel",()=>{c(Ke,!1)}),!p&&oe(v,"mousedown",()=>{const t=At();(ft(t,De)||ft(t,Le)||t===document.body)&&a(et(ye,d),25)}),oe(v,"wheel",t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;O&&0===r&&Tt(v)===u&&M({x:e,y:n}),O=!1,c(We,!0),g(()=>{O=!0,c(We)}),ie(t)},{T:!1,I:!0}),oe(v,"pointerdown",()=>{const t=oe(f,"click",t=>{e(),ce(t)},{A:!0,I:!0,T:!1}),e=oe(f,"pointerup pointercancel",()=>{e(),setTimeout(t,150)},{I:!0,T:!0})},{I:!0,T:!0}),(()=>{const e="pointerup pointercancel lostpointercapture",r="client"+(l?"X":"Y"),i=l?Y:X,c=l?"left":"top",a=l?"w":"h",u=l?"x":"y",d=(t,e)=>r=>{const{Rt:o}=n,s=qt(b)[a]-qt(x)[a],i=e*r/s*o[u];le(y,{[u]:t+i})},p=[];return oe(b,"pointerdown",n=>{const l=kt(n.target,`.${Ue}`)===x,v=l?x:b,g=t.scrollbars,w=g[l?"dragScroll":"clickScroll"],{button:m,isPrimary:O,pointerType:L}=n,{pointers:D}=g;if(0===m&&O&&w&&(D||[]).includes(L)){z(p),S();const t=!l&&(n.shiftKey||"instant"===w),g=et(te,x),m=et(te,b),O=(t,e)=>(t||g())[c]-(e||m())[c],L=o(te(y)[i])/qt(y)[a]||1,D=d(ae(y)[u],1/L),C=n[r],T=g(),k=m(),I=T[i],H=O(T,k)+I/2,E=C-k[c],R=l?0:E-H,P=t=>{z(j),v.releasePointerCapture(t.pointerId)},_=l||t,V=h(),j=[oe(f,e,P),oe(f,"selectstart",t=>ie(t),{T:!1}),oe(b,e,P),_&&oe(b,"pointermove",t=>D(R+(t[r]-C))),_&&(()=>{const t=ae(y);V();const e=ae(y),n={x:e.x-t.x,y:e.y-t.y};(s(n.x)>3||s(n.y)>3)&&(h(),le(y,t),M(n),$(V))})];if(v.setPointerCapture(n.pointerId),t)D(R);else if(!l){const t=ge("__osClickScrollPlugin");if(t){const e=t(D,R,I,t=>{t?V():A(j,V)});A(j,e),A(p,et(e,!0))}}}})})(),w,S])},$n=t=>{const n=dn(),{K:r,U:o}=n,{elements:s}=r(),{padding:i,viewport:c,content:l}=s,a=L(t),u=a?{}:t,{elements:d}=u,{padding:p,viewport:y,content:f}=d||{},h=a?t:u.target,v=Dt(h),b=h.ownerDocument,x=b.documentElement,g=()=>b.defaultView||e,w=et(xn,[h]),m=et(gn,[h]),$=et(zt,""),S=et(w,$,c),M=et(m,$,l),O=S(y),D=O===h,C=D&&v,k=!D&&M(f),I=!D&&O===k,H=C?x:O,E=C?H:h,R=!D&&m($,i,p),P=!I&&k,_=[P,H,R,E].map(t=>L(t)&&!Tt(t)&&t),V=t=>t&&T(_,t),j=!V(H)&&(t=>{const e=qt(t),n=Jt(t),r=Nt(t,N),o=Nt(t,K);return n.w-e.w>0&&!Je(r)||n.h-e.h>0&&!Je(o)})(H)?H:h,B=C?x:H,U={dt:h,vt:E,L:H,rn:R,ht:P,gt:B,Kt:C?b:H,ln:v?x:j,Gt:b,bt:v,At:a,V:D,an:g,wt:t=>mt(H,De,t),yt:(t,e)=>wt(H,De,t,e),St:()=>wt(B,De,"scrolling",!0)},{dt:F,vt:Y,rn:X,L:Q,ht:W}=U,q=[()=>{vt(Y,[Le,Se]),vt(F,Se),v&&vt(x,[Se,Le])}];let Z=Ct([W,Q,X,Y,F].find(t=>t&&!V(t)));const J=C?F:W||Q,G=et(z,q);return[U,()=>{const t=g(),e=At(),n=t=>{Et(Tt(t),Ct(t)),Ht(t)},r=t=>oe(t,"focusin focusout focus blur",ce,{I:!0,T:!1}),s="tabindex",i=yt(Q,s),c=r(e);return ht(Y,Le,D?"":"host"),ht(X,Ie,""),ht(Q,De,""),ht(W,He,""),D||(ht(Q,s,i||"-1"),v&&ht(x,Oe,"")),Et(J,Z),Et(Y,X),Et(X||Y,!D&&Q),Et(Q,W),A(q,[c,()=>{const t=At(),e=V(Q),o=e&&t===Q?F:t,c=r(o);vt(X,Ie),vt(W,He),vt(Q,De),v&&vt(x,Oe),i?ht(Q,s,i):vt(Q,s),V(W)&&n(W),e&&n(Q),V(X)&&n(X),ye(o),c()}]),o&&!D&&(gt(Q,De,Ae),A(q,et(vt,Q,De))),ye(!D&&v&&e===F&&t.top===t?Q:e),c(),Z=0,G},G]},Sn=({ht:t})=>({Qt:e,un:n,It:r})=>{const{Ct:o}=e||{},{Ot:s}=n;t&&(o||r)&&Ft(t,{[X]:s&&"100%"})},Mn=({vt:e,rn:n,L:r,V:o},s)=>{const[i,c]=t({i:tt,o:Kt()},et(Kt,e,"padding",""));return({zt:t,Qt:e,un:l,It:a})=>{let[u,d]=c(a);const{U:p}=dn(),{_t:y,xt:f,$t:h}=e||{},{B:v}=l,[b,x]=t("paddingAbsolute");(y||d||(a||f))&&([u,d]=i(a));const g=!o&&(x||h||d);if(g){const t=!b||!n&&!p,e=u.r+u.l,o=u.t+u.b,i={[U]:t&&!v?-e:0,[F]:t?-o:0,[B]:t&&v?-e:0,top:t?-u.t:0,right:t?v?-u.r:"auto":0,left:t?v?"auto":-u.l:0,[Y]:t&&`calc(100% + ${e}px)`},c={[P]:t?u.t:0,[_]:t?u.r:0,[j]:t?u.b:0,[V]:t?u.l:0};Ft(n||r,i),Ft(r,c),ct(s,{rn:u,fn:!t,F:n?c:ct({},i,c)})}return{_n:g}}},On=(r,o)=>{const s=dn(),{vt:i,rn:c,L:a,V:u,Kt:d,gt:p,bt:y,yt:f,an:h}=r,{U:v}=s,b=y&&u,x=et(n,0),g={display:()=>!1,direction:t=>"ltr"!==t,flexDirection:t=>t.endsWith("-reverse"),writingMode:t=>"horizontal-tb"!==t},w=it(g),m={i:J,o:{w:0,h:0}},$={i:G,o:{}},S=t=>{f(ke,!b&&t)},M=t=>{const e=w.some(e=>{const n=t[e];return n&&g[e](n)});if(!e)return{D:{x:0,y:0},M:{x:1,y:1}};S(!0);const n=ae(p),r=f("noContent",!0),o=oe(d,q,t=>{const e=ae(p);t.isTrusted&&e.x===n.x&&e.y===n.y&&se(t)},{I:!0,A:!0});le(p,{x:0,y:0}),r();const s=ae(p),i=Jt(p);le(p,{x:i.w,y:i.h});const c=ae(p);le(p,{x:c.x-s.x<1&&-i.w,y:c.y-s.y<1&&-i.h});const a=ae(p);return le(p,n),l(()=>o()),{D:s,M:a}},O=(t,n)=>{const r=e.devicePixelRatio%1!=0?1:0,o={w:x(t.w-n.w),h:x(t.h-n.h)};return{w:o.w>r?o.w:0,h:o.h>r?o.h:0}},L=(t,e)=>{const n=(t,e,n,r)=>{const o=t===Q?W:(t=>t.replace(`${Q}-`,""))(t),s=Je(t),i=Je(n);if(!e&&!r)return W;if(s&&i)return Q;if(s){return e&&r?o:e?Q:W}return e?o:i&&r?Q:W};return{x:n(e.x,t.x,e.y,t.y),y:n(e.y,t.y,e.x,t.x)}},D=t=>{const e=t=>[Q,W,q].map(e=>U(Ge(e),t)),n=e(!0).concat(e()).join(" ");f(n),f(it(t).map(e=>U(t[e],"x"===e)).join(" "),!0)},[C,T]=t(m,et(Gt,a)),[k,A]=t(m,et(Jt,a)),[I,H]=t(m),[E]=t($),[R,z]=t(m),[P]=t($),[_]=t({i:(t,e)=>Z(t,e,w),o:{}},()=>(t=>!!t&&(t=>!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))(t))(a)?Nt(a,w):{}),[V,j]=t({i:(t,e)=>G(t.D,e.D)&&G(t.M,e.M),o:{D:{x:0,y:0},M:{x:0,y:0}}}),B=ge(en),U=(t,e)=>`${e?Ce:Te}${(t=>{const e=String(t||"");return e?e[0].toUpperCase()+e.slice(1):""})(t)}`;return({zt:t,Qt:e,un:n,It:l},{_n:u})=>{const{_t:d,Ht:p,xt:y,$t:g,ft:w,Et:m}=e||{},$=B&&B.R(r,o,n,s,t),{X:U,Y:F,W:N}=$||{},[K,Y]=((t,e)=>{const{k:n}=e,[r,o]=t("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,o]})(t,s),[X,Q]=t("overflow"),W=Je(X.x),q=Je(X.y),Z=d||u||y||g||m||Y;let J=T(l),G=A(l),tt=H(l),et=z(l);if(Y&&v&&f(Ae,!K),Z){mt(i,Le,Me)&&S(!0);const t=F&&F(),[e]=J=C(l),[n]=G=k(l),r=Zt(a),o=b&&Wt(h()),s={w:x(n.w+e.w),h:x(n.h+e.h)},c={w:x((o?o.w:r.w+x(r.w-n.w))+e.w),h:x((o?o.h:r.h+x(r.h-n.h))+e.h)};t&&t(),et=R(c),tt=I(O(s,c),l)}const[nt,rt]=et,[ot,st]=tt,[it,lt]=G,[at,ut]=J,[dt,pt]=E({x:ot.w>0,y:ot.h>0}),yt=W&&q&&(dt.x||dt.y)||W&&dt.x&&!dt.y||q&&dt.y&&!dt.x,ft=u||g||m||ut||lt||rt||st||Q||Y||Z||p&&b,[ht,vt]=_(l),bt=g||w||vt||pt||l,[xt,gt]=bt?V(M(ht),l):j();let $t=L(dt,X);S(!1),ft&&(D($t),$t=tn(a,dt),N&&U&&(U($t,it,at),Ft(a,N($t))));const[St,Mt]=P($t);return wt(i,Le,Me,yt),wt(c,Ie,Me,yt),ct(o,{cn:St,Vt:{x:nt.w,y:nt.h},Rt:{x:ot.w,y:ot.h},j:dt,Dt:ue(xt,ot)}),{sn:Mt,tn:rt,nn:st,en:gt||st,dn:bt}}},Ln=t=>{const[e,n,r]=$n(t),o={rn:{t:0,r:0,b:0,l:0},fn:!1,F:{[U]:0,[F]:0,[B]:0,[P]:0,[_]:0,[j]:0,[V]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},cn:{x:W,y:W},j:{x:!1,y:!1},Dt:{D:{x:0,y:0},M:{x:0,y:0}}},{dt:s,gt:i,V:c,St:l}=e,{U:a,k:u}=dn(),d=!a&&(u.x||u.y),p=[Sn(e),Mn(e,o),On(e,o)];return[n,t=>{const e={},n=d&&ae(i),r=n&&l();return C(p,n=>{ct(e,n(t,e)||{})}),le(i,n),r&&r(),c||le(s,0),e},o,e,r]},Dn=(t,e,n,r,o)=>{let s=!1;const i=cn(e,{}),[c,l,a,u,d]=Ln(t),[p,y,f]=vn(u,a,i,t=>{g({},t)}),[h,v,,b]=((t,e,n,r,o,s)=>{let i,c,l,a,u,d=ut,p=0;const y=["mouse","pen"],f=t=>y.includes(t.pointerType),[h,v]=nt(),[b,x]=nt(100),[g,w]=nt(100),[m,$]=nt(()=>p),[S,M]=wn(t,o,r,mn(e,o,r,t=>f(t)&&R())),{vt:O,Kt:L,bt:D}=o,{Ft:C,Pt:T,Nt:k,qt:I,Bt:H}=S,E=(t,e)=>{if($(),t)C(Qe);else{const t=et(C,Qe,!0);p>0&&!e?m(t):t()}},R=()=>{(l?i:a)||(E(!0),b(()=>{E(!1)}))},P=t=>{C(Xe,t,!0),C(Xe,t,!1)},_=t=>{f(t)&&(i=l,l&&E(!0))},V=[$,x,w,v,()=>d(),oe(O,"pointerover",_,{A:!0}),oe(O,"pointerenter",_),oe(O,"pointerleave",t=>{f(t)&&(i=!1,l&&E(!1))}),oe(O,"pointermove",t=>{f(t)&&c&&R()}),oe(L,"scroll",t=>{h(()=>{k(),R()}),s(t),H()})];return[()=>et(z,A(V,M())),({zt:t,It:e,Qt:o,Zt:s})=>{const{tn:i,nn:y,sn:f,en:h}=s||{},{$t:v,ft:b}=o||{},{B:x}=n,{k:w}=dn(),{cn:m,j:$}=r,[S,M]=t("showNativeOverlaidScrollbars"),[O,A]=t("scrollbars.theme"),[R,z]=t("scrollbars.visibility"),[_,V]=t("scrollbars.autoHide"),[j,B]=t("scrollbars.autoHideSuspend"),[U]=t("scrollbars.autoHideDelay"),[F,N]=t("scrollbars.dragScroll"),[K,Y]=t("scrollbars.clickScroll"),[X,W]=t("overflow"),Z=b&&!e,J=$.x||$.y,G=i||y||h||v||e,tt=f||z||W,nt=S&&w.x&&w.y,rt=(t,e,n)=>{const r=t.includes(q)&&(R===Q||"auto"===R&&e===q);return C(Fe,r,n),r};if(p=U,Z&&(j&&J?(P(!1),d(),g(()=>{d=oe(L,"scroll",et(P,!0),{A:!0})})):P(!0)),M&&C("os-theme-none",nt),A&&(C(u),C(O,!0),u=O),B&&!j&&P(!0),V&&(c="move"===_,l="leave"===_,a="never"===_,E(a,!0)),N&&C(Ze,F),Y&&C(qe,!!K),tt){const t=rt(X.x,m.x,!0),e=rt(X.y,m.y,!1);C(Ne,!(t&&e))}G&&(k(),T(),H(),h&&I(),C(Ye,!$.x,!0),C(Ye,!$.y,!1),C(_e,x&&!D))},{},S]})(t,e,f,a,u,o),x=t=>it(t).some(e=>!!t[e]),g=(t,o)=>{if(n())return!1;const{pn:i,It:c,Tt:a,vn:u}=t,d=i||{},p=!!c||!s,h={zt:cn(e,d,p),pn:d,It:p};if(u)return v(h),!1;const b=o||y(ct({},h,{Tt:a})),g=l(ct({},h,{un:f,Qt:b}));v(ct({},h,{Qt:b,Zt:g}));const w=x(b),m=x(g),$=w||m||!at(d)||p;return s=!0,$&&r(t,{Qt:b,Zt:g}),$};return[()=>{const{ln:t,gt:e,St:n}=u,r=ae(t),o=[p(),c(),h()],s=n();return le(e,r),s(),et(z,o)},g,()=>({gn:f,hn:a}),{bn:u,wn:b},d]},Cn=new WeakMap,Tn=t=>Cn.get(t),kn=(t,e,n)=>{const{tt:r}=dn(),o=L(t),s=o?t:t.target,i=Tn(s);if(e&&!i){let i=!1;const c=[],l={},a=t=>{const e=lt(t),n=ge("__osOptionsValidationPlugin");return n?n(e,!0):e},u=ct({},r(),a(e)),[d,p,y]=he(),[f,h,x]=he(n),g=(t,e)=>{x(t,e),y(t,e)},[w,m,$,S,M]=Dn(t,u,()=>i,({pn:t,It:e},{Qt:n,Zt:r})=>{const{_t:o,$t:s,Ct:i,xt:c,Ht:l,ft:a}=n,{tn:u,nn:d,sn:p,en:y}=r;g("updated",[L,{updateHints:{sizeChanged:!!o,directionChanged:!!s,heightIntrinsicChanged:!!i,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,scrollCoordinatesChanged:!!y,contentMutation:!!c,hostMutation:!!l,appear:!!a},changedOptions:t||{},force:!!e}])},t=>g("scroll",[L,t])),O=t=>{(t=>{Cn.delete(t)})(s),z(c),i=!0,g("destroyed",[L,t]),p(),h()},L={options(t,e){if(t){const n=e?r():{},o=sn(u,ct(n,a(t)));at(o)||(ct(u,o),m({pn:o}))}return ct({},u)},on:f,off:(t,e)=>{t&&e&&h(t,e)},state(){const{gn:t,hn:e}=$(),{B:n}=t,{Vt:r,Rt:o,cn:s,j:c,rn:l,fn:a,Dt:u}=e;return ct({},{overflowEdge:r,overflowAmount:o,overflowStyle:s,hasOverflow:c,scrollCoordinates:{start:u.D,end:u.M},padding:l,paddingAbsolute:a,directionRTL:n,destroyed:i})},elements(){const{dt:t,vt:e,rn:n,L:r,ht:o,gt:s,Kt:i}=S.bn,{jt:c,Jt:l}=S.wn,a=t=>{const{Mt:e,Ut:n,Lt:r}=t;return{scrollbar:r,track:n,handle:e}},u=t=>{const{Xt:e,Yt:n}=t,r=a(e[0]);return ct({},r,{clone:()=>{const t=a(n());return m({vn:!0}),t}})};return ct({},{target:t,host:e,padding:n||r,viewport:r,content:o||r,scrollOffsetElement:s,scrollEventElement:i,scrollbarHorizontal:u(c),scrollbarVertical:u(l)})},update:t=>m({It:t,Tt:!0}),destroy:et(O,!1),plugin:t=>l[it(t)[0]]};return A(c,[M]),((t,e)=>{Cn.set(t,e)})(s,L),xe(ve,kn,[L,d,l]),((t,e)=>{const{nativeScrollbarsOverlaid:n,body:r}=e||{},{k:o,U:s,K:i}=dn(),{nativeScrollbarsOverlaid:c,body:l}=i().cancel,a=null!=n?n:c,u=v(r)?l:r,d=(o.x||o.y)&&a,p=t&&(b(u)?!s:u);return!!d||!!p})(S.bn.bt,!o&&t.cancel)?(O(!0),L):(A(c,w()),g("initialized",[L]),L.update(),L)}return i};kn.plugin=t=>{const e=$(t),n=e?t:[t],r=n.map(t=>xe(t,kn)[0]);return(t=>{C(t,t=>C(t,(e,n)=>{ve[n]=t[n]}))})(n),e?r:r[0]},kn.valid=t=>{const e=t&&t.elements,n=m(e)&&e();return O(n)&&!!Tn(n.target)},kn.env=()=>{const{P:t,k:e,U:n,J:r,ot:o,st:s,K:i,Z:c,tt:l,nt:a}=dn();return ct({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:o,staticDefaultOptions:s,getDefaultInitialization:i,setDefaultInitialization:c,getDefaultOptions:l,setDefaultOptions:a})},kn.nonce=t=>{ln=t},kn.trustedTypePolicy=t=>{Rt=t};export{kn as OverlayScrollbars};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"../../rollup-plugin-styles/dist/runtime/inject-css.js";var o='/*! \n * OverlayScrollbars\n * Version: 2.11.4\n * \n * Copyright (c) Rene Haas | KingSora.\n * https://github.com/KingSora\n * \n * Released under the MIT license.\n */.itd__osSizeObserverListener__4325d942,.itd__osSizeObserver__4325d942{box-sizing:border-box;direction:inherit;overflow:hidden;pointer-events:none;scroll-behavior:auto!important;visibility:hidden}.itd__osSizeObserverListenerItemFinal__4325d942,.itd__osSizeObserverListenerItem__4325d942,.itd__osSizeObserverListener__4325d942,.itd__osSizeObserver__4325d942{left:0;position:absolute;top:0;writing-mode:horizontal-tb}.itd__osSizeObserver__4325d942{border:inherit;bottom:0;box-sizing:inherit;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;left:0;margin:-133px;padding:inherit;right:0;top:0;transform:scale(.1);z-index:-1}.itd__osSizeObserver__4325d942:before{box-sizing:inherit;content:"";flex:none;height:10px;padding:10px;width:10px}.itd__osSizeObserverAppear__4325d942{animation:itd__osSizeObserverAppearAnimation__4325d942 1ms forwards}.itd__osSizeObserverListener__4325d942{border:inherit;box-sizing:border-box;flex:auto;margin:-133px;padding:inherit;position:relative;transform:scale(10)}.itd__osSizeObserverListener__4325d942.itd__ltr__4325d942{margin-left:0;margin-right:-266px}.itd__osSizeObserverListener__4325d942.itd__rtl__4325d942{margin-left:-266px;margin-right:0}.itd__osSizeObserverListener__4325d942:empty:before{content:"";height:100%;width:100%}.itd__osSizeObserverListener__4325d942:empty:before,.itd__osSizeObserverListener__4325d942>.itd__osSizeObserverListenerItem__4325d942{border:inherit;box-sizing:initial;display:block;flex:auto;padding:inherit;position:relative}.itd__osSizeObserverListenerScroll__4325d942{box-sizing:border-box;display:flex}.itd__osSizeObserverListenerItem__4325d942{bottom:0;direction:ltr;flex:none;overflow:hidden;right:0}.itd__osSizeObserverListenerItemFinal__4325d942{transition:none}@keyframes itd__osSizeObserverAppearAnimation__4325d942{0%{cursor:auto}to{cursor:none}}.itd__osTrinsicObserver__4325d942{border:none;box-sizing:border-box;contain:strict;flex:none;height:0;margin:0;max-height:1px;max-width:0;overflow:hidden;padding:0;position:relative;top:calc(100% + 1px);z-index:-1}.itd__osTrinsicObserver__4325d942:not(:empty){height:calc(100% + 1px);top:-1px}.itd__osTrinsicObserver__4325d942:not(:empty)>.itd__osSizeObserver__4325d942{height:1000%;min-height:1px;min-width:1px;width:1000%}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),[data-overlayscrollbars-viewport~=scrollbarHidden]{scrollbar-width:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;height:0!important;width:0!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}html[data-overlayscrollbars-body]{overflow:hidden}html[data-overlayscrollbars-body],html[data-overlayscrollbars-body]>body{height:100%;margin:0;width:100%}html[data-overlayscrollbars-body]>body{margin:0;overflow:visible}[data-overlayscrollbars]{position:relative}[data-overlayscrollbars-padding],[data-overlayscrollbars~=host]{align-items:stretch!important;display:flex;flex-direction:row!important;flex-wrap:nowrap!important;scroll-behavior:auto!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){border:none;box-sizing:inherit;flex:auto;height:auto;margin:0;min-width:0;padding:0;position:relative;width:100%;z-index:0}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){--os-vaw:0;--os-vah:0;outline:none}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus{outline:none}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";height:var(--os-vah);min-height:1px;min-width:1px;pointer-events:none;position:absolute;width:var(--os-vaw);z-index:-1}[data-overlayscrollbars-padding],[data-overlayscrollbars~=host]{overflow:hidden!important}[data-overlayscrollbars-padding~=noClipping],[data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping]{overflow:visible!important}[data-overlayscrollbars-viewport]{--os-viewport-overflow-x:hidden;--os-viewport-overflow-y:hidden;overflow-x:var(--os-viewport-overflow-x);overflow-y:var(--os-viewport-overflow-y)}[data-overlayscrollbars-viewport~=overflowXVisible]{--os-viewport-overflow-x:visible}[data-overlayscrollbars-viewport~=overflowXHidden]{--os-viewport-overflow-x:hidden}[data-overlayscrollbars-viewport~=overflowXScroll]{--os-viewport-overflow-x:scroll}[data-overlayscrollbars-viewport~=overflowYVisible]{--os-viewport-overflow-y:visible}[data-overlayscrollbars-viewport~=overflowYHidden]{--os-viewport-overflow-y:hidden}[data-overlayscrollbars-viewport~=overflowYScroll]{--os-viewport-overflow-y:scroll}[data-overlayscrollbars-viewport~=overflowImportant]{overflow-x:var(--os-viewport-overflow-x)!important;overflow-y:var(--os-viewport-overflow-y)!important}[data-overlayscrollbars-viewport~=noContent]:not(#itd__osFakeId__4325d942){font-size:0!important;line-height:0!important}[data-overlayscrollbars-viewport~=noContent]:not(#itd__osFakeId__4325d942):after,[data-overlayscrollbars-viewport~=noContent]:not(#itd__osFakeId__4325d942):before,[data-overlayscrollbars-viewport~=noContent]:not(#itd__osFakeId__4325d942)>*{clip:rect(0,0,0,0)!important;border-width:0!important;display:none!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}[data-overlayscrollbars-viewport~=measuring],[data-overlayscrollbars-viewport~=scrolling]{scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible]{overflow-x:hidden!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible]{overflow-y:hidden!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]:not(#itd__osFakeId__4325d942):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport]{height:auto!important;width:auto!important}@property --os-scroll-percent{syntax:"<number>";inherits:true;initial-value:0}@property --os-viewport-percent{syntax:"<number>";inherits:true;initial-value:0}.itd__osScrollbar__4325d942{--os-viewport-percent:0;--os-scroll-percent:0;--os-scroll-direction:0;--os-scroll-percent-directional:calc(var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent))*-1)*var(--os-scroll-direction));contain:size layout;contain:size layout style;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;visibility:hidden}body>.itd__osScrollbar__4325d942{position:fixed;z-index:99999}.itd__osScrollbarTransitionless__4325d942{transition:none!important}.itd__osScrollbarTrack__4325d942{border:none!important;padding:0!important;position:relative}.itd__osScrollbarHandle__4325d942{position:absolute}.itd__osScrollbarHandle__4325d942,.itd__osScrollbarTrack__4325d942{height:100%;pointer-events:none;width:100%}.itd__osScrollbar__4325d942.itd__osScrollbarHandleInteractive__4325d942 .itd__osScrollbarHandle__4325d942,.itd__osScrollbar__4325d942.itd__osScrollbarTrackInteractive__4325d942 .itd__osScrollbarTrack__4325d942{pointer-events:auto;touch-action:none}.itd__osScrollbarHorizontal__4325d942{bottom:0;left:0}.itd__osScrollbarVertical__4325d942{right:0;top:0}.itd__osScrollbarRtl__4325d942.itd__osScrollbarHorizontal__4325d942{right:0}.itd__osScrollbarRtl__4325d942.itd__osScrollbarVertical__4325d942{left:0;right:auto}.itd__osScrollbarVisible__4325d942{opacity:1;visibility:visible}.itd__osScrollbarAutoHide__4325d942.itd__osScrollbarAutoHideHidden__4325d942{opacity:0;visibility:hidden}.itd__osScrollbarInteraction__4325d942.itd__osScrollbarVisible__4325d942{opacity:1;visibility:visible}.itd__osScrollbarUnusable__4325d942,.itd__osScrollbarUnusable__4325d942 *,.itd__osScrollbarWheel__4325d942,.itd__osScrollbarWheel__4325d942 *{pointer-events:none!important}.itd__osScrollbarUnusable__4325d942 .itd__osScrollbarHandle__4325d942{opacity:0!important;transition:none!important}.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarHandle__4325d942{bottom:0;left:calc(var(--os-scroll-percent-directional)*100%);transform:translateX(calc(var(--os-scroll-percent-directional)*-100%));width:calc(var(--os-viewport-percent)*100%)}.itd__osScrollbarVertical__4325d942 .itd__osScrollbarHandle__4325d942{height:calc(var(--os-viewport-percent)*100%);right:0;top:calc(var(--os-scroll-percent-directional)*100%);transform:translateY(calc(var(--os-scroll-percent-directional)*-100%))}@supports (container-type:size){.itd__osScrollbarTrack__4325d942{container-type:size}.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarHandle__4325d942{left:auto;transform:translateX(calc(var(--os-scroll-percent-directional)*100cqw + var(--os-scroll-percent-directional)*-100%))}.itd__osScrollbarVertical__4325d942 .itd__osScrollbarHandle__4325d942{top:auto;transform:translateY(calc(var(--os-scroll-percent-directional)*100cqh + var(--os-scroll-percent-directional)*-100%))}.itd__osScrollbarRtl__4325d942.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarHandle__4325d942{left:0;right:auto}}.itd__osScrollbarRtl__4325d942.itd__osScrollbarVertical__4325d942 .itd__osScrollbarHandle__4325d942{left:0;right:auto}.itd__osScrollbar__4325d942.itd__osScrollbarHorizontal__4325d942.itd__osScrollbarCornerless__4325d942,.itd__osScrollbar__4325d942.itd__osScrollbarHorizontal__4325d942.itd__osScrollbarCornerless__4325d942.itd__osScrollbarRtl__4325d942{left:0;right:0}.itd__osScrollbar__4325d942.itd__osScrollbarVertical__4325d942.itd__osScrollbarCornerless__4325d942,.itd__osScrollbar__4325d942.itd__osScrollbarVertical__4325d942.itd__osScrollbarCornerless__4325d942.itd__osScrollbarRtl__4325d942{bottom:0;top:0}@media print{.itd__osScrollbar__4325d942{display:none}}.itd__osScrollbar__4325d942{--os-size:0;--os-padding-perpendicular:0;--os-padding-axis:0;--os-track-border-radius:0;--os-track-bg:none;--os-track-bg-hover:none;--os-track-bg-active:none;--os-track-border:none;--os-track-border-hover:none;--os-track-border-active:none;--os-handle-border-radius:0;--os-handle-bg:none;--os-handle-bg-hover:none;--os-handle-bg-active:none;--os-handle-border:none;--os-handle-border-hover:none;--os-handle-border-active:none;--os-handle-min-size:33px;--os-handle-max-size:none;--os-handle-perpendicular-size:100%;--os-handle-perpendicular-size-hover:100%;--os-handle-perpendicular-size-active:100%;--os-handle-interactive-area-offset:0}.itd__osScrollbarTrack__4325d942{background:var(--os-track-bg);border:var(--os-track-border);border-radius:var(--os-track-border-radius);transition:opacity .15s,background-color .15s,border-color .15s}.itd__osScrollbarTrack__4325d942:hover{background:var(--os-track-bg-hover);border:var(--os-track-border-hover)}.itd__osScrollbarTrack__4325d942:active{background:var(--os-track-bg-active);border:var(--os-track-border-active)}.itd__osScrollbarHandle__4325d942{background:var(--os-handle-bg);border:var(--os-handle-border);border-radius:var(--os-handle-border-radius)}.itd__osScrollbarHandle__4325d942:hover{background:var(--os-handle-bg-hover);border:var(--os-handle-border-hover)}.itd__osScrollbarHandle__4325d942:active{background:var(--os-handle-bg-active);border:var(--os-handle-border-active)}.itd__osScrollbarHandle__4325d942:before,.itd__osScrollbarTrack__4325d942:before{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0}.itd__osScrollbarHorizontal__4325d942{height:var(--os-size);padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size)}.itd__osScrollbarHorizontal__4325d942.itd__osScrollbarRtl__4325d942{left:var(--os-size);right:0}.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarTrack__4325d942:before{bottom:calc(var(--os-padding-perpendicular)*-1);top:calc(var(--os-padding-perpendicular)*-1)}.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarHandle__4325d942{height:var(--os-handle-perpendicular-size);max-width:var(--os-handle-max-size);min-width:var(--os-handle-min-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.itd__osScrollbarHorizontal__4325d942 .itd__osScrollbarHandle__4325d942:before{bottom:calc(var(--os-padding-perpendicular)*-1);top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1)}.itd__osScrollbarHorizontal__4325d942:hover .itd__osScrollbarHandle__4325d942{height:var(--os-handle-perpendicular-size-hover)}.itd__osScrollbarHorizontal__4325d942:active .itd__osScrollbarHandle__4325d942{height:var(--os-handle-perpendicular-size-active)}.itd__osScrollbarVertical__4325d942{bottom:var(--os-size);padding:var(--os-padding-axis) var(--os-padding-perpendicular);width:var(--os-size)}.itd__osScrollbarVertical__4325d942 .itd__osScrollbarTrack__4325d942:before{left:calc(var(--os-padding-perpendicular)*-1);right:calc(var(--os-padding-perpendicular)*-1)}.itd__osScrollbarVertical__4325d942 .itd__osScrollbarHandle__4325d942{max-height:var(--os-handle-max-size);min-height:var(--os-handle-min-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s;width:var(--os-handle-perpendicular-size)}.itd__osScrollbarVertical__4325d942 .itd__osScrollbarHandle__4325d942:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1);right:calc(var(--os-padding-perpendicular)*-1)}.itd__osScrollbarVertical__4325d942.itd__osScrollbarRtl__4325d942 .itd__osScrollbarHandle__4325d942:before{left:calc(var(--os-padding-perpendicular)*-1);right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1)}.itd__osScrollbarVertical__4325d942:hover .itd__osScrollbarHandle__4325d942{width:var(--os-handle-perpendicular-size-hover)}.itd__osScrollbarVertical__4325d942:active .itd__osScrollbarHandle__4325d942{width:var(--os-handle-perpendicular-size-active)}.itd__osThemeNone__4325d942.itd__osScrollbar__4325d942,[data-overlayscrollbars-viewport~=measuring]>.itd__osScrollbar__4325d942{display:none!important}.itd__osThemeDark__4325d942,.itd__osThemeLight__4325d942{--os-size:10px;--os-padding-perpendicular:2px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-handle-interactive-area-offset:4px;--os-handle-border-radius:10px;box-sizing:border-box}.itd__osThemeDark__4325d942{--os-handle-bg:#00000070;--os-handle-bg-hover:#0000008c;--os-handle-bg-active:#000000a8}.itd__osThemeLight__4325d942{--os-handle-bg:#ffffff70;--os-handle-bg-hover:#ffffff8c;--os-handle-bg-active:#ffffffa8}';r(o,{});export{o as css};
|