laif-ds 0.2.20 → 0.2.22
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/_virtual/index.js +5 -3
- package/dist/_virtual/index3.js +2 -5
- package/dist/_virtual/index4.js +3 -5
- package/dist/_virtual/index6.js +5 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/components/ui/app-select.js +92 -109
- package/dist/components/ui/app-stepper.js +212 -0
- package/dist/components/ui/gantt/constants/DimensionsSettings.js +6 -6
- package/dist/components/ui/gantt/constants/DragStepOptions.js +9 -9
- package/dist/components/ui/message-input.js +23 -23
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/stepper.js +387 -0
- package/dist/index.d.ts +55 -6
- package/dist/index.js +30 -28
- package/dist/lib/audio-utils.js +2 -2
- package/dist/node_modules/@date-fns/tz/date/index.js +2 -7
- package/dist/node_modules/@date-fns/tz/date/mini.js +32 -27
- package/dist/node_modules/@date-fns/tz/tzName/index.js +12 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +11 -12
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +137 -139
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +70 -69
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +70 -69
- package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +13 -13
- package/dist/node_modules/@lexical/code/LexicalCode.prod.js +3 -3
- package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.js +2 -2
- package/dist/node_modules/@lexical/history/LexicalHistory.prod.js +9 -9
- package/dist/node_modules/@lexical/html/LexicalHtml.prod.js +6 -6
- package/dist/node_modules/@lexical/list/LexicalList.prod.js +48 -48
- package/dist/node_modules/@lexical/markdown/LexicalMarkdown.prod.js +29 -29
- package/dist/node_modules/@lexical/react/LexicalCheckListPlugin.prod.js +1 -1
- package/dist/node_modules/@lexical/react/LexicalClearEditorPlugin.prod.js +2 -2
- package/dist/node_modules/@lexical/react/LexicalComposer.prod.js +10 -10
- package/dist/node_modules/@lexical/react/LexicalComposerContext.prod.js +2 -2
- package/dist/node_modules/@lexical/react/LexicalContentEditable.prod.js +17 -17
- package/dist/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalListPlugin.prod.js +5 -5
- package/dist/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +20 -20
- package/dist/node_modules/@lexical/react/useLexicalEditable.prod.js +7 -7
- package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.js +43 -43
- package/dist/node_modules/@lexical/table/LexicalTable.prod.js +16 -16
- package/dist/node_modules/@lexical/utils/LexicalUtils.prod.js +3 -3
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +24 -25
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +22 -23
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +28 -29
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +1 -2
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +49 -50
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +22 -23
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +6 -7
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +31 -32
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +56 -57
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +6 -7
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +43 -42
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +20 -21
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +12 -13
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +7 -8
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +19 -20
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +39 -40
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +12 -13
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +13 -14
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +20 -21
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +8 -9
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +183 -175
- package/dist/node_modules/@shikijs/core/dist/index.js +195 -175
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/go.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/julia.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/latex.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/lean.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/marko.js +5 -5
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/r.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/sql.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/tex.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +21 -0
- package/dist/node_modules/@shikijs/langs/dist/vue.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/zig.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +215 -208
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +1 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +1 -1
- package/dist/node_modules/classnames/index.js +2 -2
- package/dist/node_modules/cmdk/dist/index.js +2 -2
- package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
- package/dist/node_modules/dayjs/dayjs.min.js +14 -14
- package/dist/node_modules/dayjs/locale/it.js +4 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -4
- package/dist/node_modules/dayjs/plugin/localizedFormat.js +10 -10
- package/dist/node_modules/decimal.js-light/decimal.js +2 -2
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +2 -2
- package/dist/node_modules/es-toolkit/dist/array/flatten.js +2 -2
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -15
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +11 -11
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +2 -2
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +15 -15
- package/dist/node_modules/es-toolkit/dist/function/identity.js +2 -2
- package/dist/node_modules/es-toolkit/dist/function/noop.js +2 -10
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +2 -2
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +3 -3
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +2 -2
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +2 -2
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +2 -2
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/eventemitter3/index2.js +3 -3
- package/dist/node_modules/immer/dist/immer.js +213 -216
- package/dist/node_modules/lexical/Lexical.prod.js +212 -212
- package/dist/node_modules/lodash/_baseCreate.js +2 -2
- package/dist/node_modules/lodash/_cloneBuffer.js +2 -2
- package/dist/node_modules/lodash/_defineProperty.js +2 -2
- package/dist/node_modules/lodash/_isMasked.js +2 -2
- package/dist/node_modules/lodash/_nodeUtil.js +4 -4
- package/dist/node_modules/lodash/isArguments.js +2 -2
- package/dist/node_modules/lodash/isBuffer.js +2 -2
- package/dist/node_modules/lodash/lodash.js +16 -16
- package/dist/node_modules/prismjs/components/prism-cpp.js +2 -2
- package/dist/node_modules/prismjs/components/prism-java.js +2 -2
- package/dist/node_modules/prismjs/components/prism-rust.js +2 -2
- package/dist/node_modules/prismjs/components/prism-typescript.js +2 -2
- package/dist/node_modules/prismjs/prism.js +8 -8
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +183 -164
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +14 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +10 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +6 -6
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +30 -30
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +5 -5
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +9 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +11 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +12 -12
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +19 -19
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +9 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +10 -10
- package/dist/node_modules/react-hook-form/dist/index.esm.js +150 -117
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +48 -48
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +9 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +43 -39
- package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +95 -94
- package/dist/node_modules/react-window/dist/index.esm.js +2 -2
- package/dist/node_modules/recharts/es6/animation/AnimationManager.js +14 -14
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +49 -0
- package/dist/node_modules/recharts/es6/animation/createDefaultAnimationManager.js +9 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationManager.js +12 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +5 -5
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +55 -58
- package/dist/node_modules/recharts/es6/component/Legend.js +32 -27
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +44 -40
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +15 -23
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +8 -7
- package/dist/node_modules/recharts/es6/shape/Curve.js +10 -10
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +136 -99
- package/dist/node_modules/recharts/es6/shape/Symbols.js +55 -53
- package/dist/node_modules/recharts/es6/state/legendSlice.js +5 -4
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +352 -307
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +9 -9
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +26 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +117 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +4 -4
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +10 -4
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +33 -32
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +108 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxis.js +13 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +5 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +9 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js +40 -143
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +68 -63
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +7 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +58 -57
- package/dist/node_modules/recharts/es6/util/DataUtils.js +34 -26
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +20 -15
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js +11 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js +7 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +44 -44
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +7 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +328 -0
- package/dist/node_modules/recharts/es6/util/types.js +22 -332
- package/dist/node_modules/recharts/es6/util/useAnimationId.js +10 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js +20 -16
- package/dist/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js +9 -0
- package/dist/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js +8 -0
- package/dist/node_modules/remeda/dist/omit-HZOiLuMO.js +19 -0
- package/dist/node_modules/remeda/dist/purry-DH9cw9sy.js +11 -0
- package/dist/node_modules/shiki/dist/langs.js +225 -220
- package/dist/node_modules/shiki/dist/themes.js +60 -60
- package/dist/node_modules/sonner/dist/index.js +309 -305
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +169 -168
- package/dist/node_modules/unified/lib/callable-instance.js +2 -2
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/unist-util-is/lib/index.js +2 -2
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +2 -2
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +2 -2
- package/dist/node_modules/vaul/dist/index.js +1 -1
- package/dist/node_modules/vfile-message/lib/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +3 -2
- package/dist/_virtual/isEqual.js +0 -8
- package/dist/_virtual/isEqual2.js +0 -5
- package/dist/_virtual/isEqualWith.js +0 -5
- package/dist/_virtual/isPlainObject.js +0 -5
- package/dist/_virtual/noop.js +0 -5
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
- package/dist/node_modules/es-toolkit/compat/isEqual.js +0 -9
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -18
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -139
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -18
- package/dist/node_modules/recharts/es6/animation/Animate.js +0 -270
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +0 -98
- package/dist/node_modules/remeda/dist/chunk-AIG3BDKO.js +0 -9
- package/dist/node_modules/remeda/dist/chunk-D6FCK2GA.js +0 -8
- package/dist/node_modules/remeda/dist/chunk-KI5X74E2.js +0 -19
- package/dist/node_modules/remeda/dist/chunk-WIMGWYZL.js +0 -11
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-dialog/dist/index.js +0 -258
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -128
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -137
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-primitive/dist/index.js +0 -37
- package/dist/node_modules/vaul/node_modules/@radix-ui/react-slot/dist/index.js +0 -50
|
@@ -1,400 +1,403 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { offset as
|
|
3
|
-
import { createCoords as
|
|
4
|
-
import { isElement as v, getDocumentElement as
|
|
2
|
+
import { offset as st, shift as rt, flip as ct, size as lt, hide as ft, limitShift as ut, computePosition as ht, arrow as at } from "../../core/dist/floating-ui.core.js";
|
|
3
|
+
import { createCoords as y, round as D, max as E, min as N, rectToClientRect as J, floor as A } from "../../utils/dist/floating-ui.utils.js";
|
|
4
|
+
import { isElement as v, getDocumentElement as R, getOverflowAncestors as $, getComputedStyle as b, isHTMLElement as C, getWindow as L, isTopLayer as V, getParentNode as S, isLastTraversableNode as z, isTableElement as dt, isContainingBlock as Q, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H, getFrameElement as U, isWebKit as Y } from "../../utils/dist/floating-ui.utils.dom.js";
|
|
5
5
|
function Z(t) {
|
|
6
|
-
const e =
|
|
7
|
-
let
|
|
8
|
-
const
|
|
9
|
-
return c && (
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
6
|
+
const e = b(t);
|
|
7
|
+
let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
8
|
+
const n = C(t), r = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, c = D(o) !== r || D(i) !== s;
|
|
9
|
+
return c && (o = r, i = s), {
|
|
10
|
+
width: o,
|
|
11
|
+
height: i,
|
|
12
12
|
$: c
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function X(t) {
|
|
16
16
|
return v(t) ? t : t.contextElement;
|
|
17
17
|
}
|
|
18
18
|
function F(t) {
|
|
19
|
-
const e =
|
|
20
|
-
if (!
|
|
21
|
-
return
|
|
22
|
-
const
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
19
|
+
const e = X(t);
|
|
20
|
+
if (!C(e))
|
|
21
|
+
return y(1);
|
|
22
|
+
const o = e.getBoundingClientRect(), {
|
|
23
|
+
width: i,
|
|
24
|
+
height: n,
|
|
25
25
|
$: r
|
|
26
26
|
} = Z(e);
|
|
27
|
-
let s = (r ?
|
|
27
|
+
let s = (r ? D(o.width) : o.width) / i, c = (r ? D(o.height) : o.height) / n;
|
|
28
28
|
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
29
29
|
x: s,
|
|
30
30
|
y: c
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
function
|
|
33
|
+
const pt = /* @__PURE__ */ y(0);
|
|
34
|
+
function tt(t) {
|
|
35
35
|
const e = L(t);
|
|
36
|
-
return !Y() || !e.visualViewport ?
|
|
36
|
+
return !Y() || !e.visualViewport ? pt : {
|
|
37
37
|
x: e.visualViewport.offsetLeft,
|
|
38
38
|
y: e.visualViewport.offsetTop
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return e === void 0 && (e = !1), !
|
|
41
|
+
function mt(t, e, o) {
|
|
42
|
+
return e === void 0 && (e = !1), !o || e && o !== L(t) ? !1 : e;
|
|
43
43
|
}
|
|
44
|
-
function T(t, e,
|
|
45
|
-
e === void 0 && (e = !1),
|
|
46
|
-
const
|
|
47
|
-
let s =
|
|
48
|
-
e && (
|
|
49
|
-
const c =
|
|
50
|
-
let
|
|
44
|
+
function T(t, e, o, i) {
|
|
45
|
+
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
46
|
+
const n = t.getBoundingClientRect(), r = X(t);
|
|
47
|
+
let s = y(1);
|
|
48
|
+
e && (i ? v(i) && (s = F(i)) : s = F(t));
|
|
49
|
+
const c = mt(r, o, i) ? tt(r) : y(0);
|
|
50
|
+
let f = (n.left + c.x) / s.x, l = (n.top + c.y) / s.y, u = n.width / s.x, h = n.height / s.y;
|
|
51
51
|
if (r) {
|
|
52
|
-
const
|
|
53
|
-
let
|
|
54
|
-
for (;
|
|
55
|
-
const w = F(
|
|
56
|
-
|
|
52
|
+
const d = L(r), a = i && v(i) ? L(i) : i;
|
|
53
|
+
let m = d, p = U(m);
|
|
54
|
+
for (; p && i && a !== m; ) {
|
|
55
|
+
const w = F(p), g = p.getBoundingClientRect(), x = b(p), O = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * w.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * w.y;
|
|
56
|
+
f *= w.x, l *= w.y, u *= w.x, h *= w.y, f += O, l += W, m = L(p), p = U(m);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
return J({
|
|
60
60
|
width: u,
|
|
61
61
|
height: h,
|
|
62
|
-
x:
|
|
63
|
-
y:
|
|
62
|
+
x: f,
|
|
63
|
+
y: l
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const
|
|
68
|
-
return e ? e.left +
|
|
66
|
+
function I(t, e) {
|
|
67
|
+
const o = H(t).scrollLeft;
|
|
68
|
+
return e ? e.left + o : T(R(t)).left + o;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
i
|
|
72
|
-
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - (i ? 0 : (
|
|
73
|
-
// RTL <body> scrollbar.
|
|
74
|
-
k(t, n)
|
|
75
|
-
)), r = n.top + e.scrollTop;
|
|
70
|
+
function et(t, e) {
|
|
71
|
+
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - I(t, o), n = o.top + e.scrollTop;
|
|
76
72
|
return {
|
|
77
|
-
x:
|
|
78
|
-
y:
|
|
73
|
+
x: i,
|
|
74
|
+
y: n
|
|
79
75
|
};
|
|
80
76
|
}
|
|
81
77
|
function wt(t) {
|
|
82
78
|
let {
|
|
83
79
|
elements: e,
|
|
84
|
-
rect:
|
|
85
|
-
offsetParent:
|
|
86
|
-
strategy:
|
|
80
|
+
rect: o,
|
|
81
|
+
offsetParent: i,
|
|
82
|
+
strategy: n
|
|
87
83
|
} = t;
|
|
88
|
-
const r =
|
|
89
|
-
if (
|
|
90
|
-
return
|
|
91
|
-
let
|
|
84
|
+
const r = n === "fixed", s = R(i), c = e ? V(e.floating) : !1;
|
|
85
|
+
if (i === s || c && r)
|
|
86
|
+
return o;
|
|
87
|
+
let f = {
|
|
92
88
|
scrollLeft: 0,
|
|
93
89
|
scrollTop: 0
|
|
94
|
-
},
|
|
95
|
-
const u =
|
|
96
|
-
if ((h || !h && !r) && ((
|
|
97
|
-
const a = T(
|
|
98
|
-
|
|
90
|
+
}, l = y(1);
|
|
91
|
+
const u = y(0), h = C(i);
|
|
92
|
+
if ((h || !h && !r) && ((_(i) !== "body" || q(s)) && (f = H(i)), C(i))) {
|
|
93
|
+
const a = T(i);
|
|
94
|
+
l = F(i), u.x = a.x + i.clientLeft, u.y = a.y + i.clientTop;
|
|
99
95
|
}
|
|
100
|
-
const
|
|
96
|
+
const d = s && !h && !r ? et(s, f) : y(0);
|
|
101
97
|
return {
|
|
102
|
-
width:
|
|
103
|
-
height:
|
|
104
|
-
x:
|
|
105
|
-
y:
|
|
98
|
+
width: o.width * l.x,
|
|
99
|
+
height: o.height * l.y,
|
|
100
|
+
x: o.x * l.x - f.scrollLeft * l.x + u.x + d.x,
|
|
101
|
+
y: o.y * l.y - f.scrollTop * l.y + u.y + d.y
|
|
106
102
|
};
|
|
107
103
|
}
|
|
108
|
-
function
|
|
104
|
+
function yt(t) {
|
|
109
105
|
return Array.from(t.getClientRects());
|
|
110
106
|
}
|
|
111
|
-
function
|
|
112
|
-
const e =
|
|
113
|
-
let s = -
|
|
114
|
-
const c = -
|
|
115
|
-
return
|
|
116
|
-
width:
|
|
107
|
+
function xt(t) {
|
|
108
|
+
const e = R(t), o = H(t), i = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
109
|
+
let s = -o.scrollLeft + I(t);
|
|
110
|
+
const c = -o.scrollTop;
|
|
111
|
+
return b(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - n), {
|
|
112
|
+
width: n,
|
|
117
113
|
height: r,
|
|
118
114
|
x: s,
|
|
119
115
|
y: c
|
|
120
116
|
};
|
|
121
117
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
118
|
+
const K = 25;
|
|
119
|
+
function vt(t, e) {
|
|
120
|
+
const o = L(t), i = R(t), n = o.visualViewport;
|
|
121
|
+
let r = i.clientWidth, s = i.clientHeight, c = 0, f = 0;
|
|
122
|
+
if (n) {
|
|
123
|
+
r = n.width, s = n.height;
|
|
124
|
+
const u = Y();
|
|
125
|
+
(!u || u && e === "fixed") && (c = n.offsetLeft, f = n.offsetTop);
|
|
129
126
|
}
|
|
127
|
+
const l = I(i);
|
|
128
|
+
if (l <= 0) {
|
|
129
|
+
const u = i.ownerDocument, h = u.body, d = getComputedStyle(h), a = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, m = Math.abs(i.clientWidth - h.clientWidth - a);
|
|
130
|
+
m <= K && (r -= m);
|
|
131
|
+
} else l <= K && (r += l);
|
|
130
132
|
return {
|
|
131
133
|
width: r,
|
|
132
134
|
height: s,
|
|
133
135
|
x: c,
|
|
134
|
-
y:
|
|
136
|
+
y: f
|
|
135
137
|
};
|
|
136
138
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
const bt = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
140
|
+
function Rt(t, e) {
|
|
141
|
+
const o = T(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = C(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = n * r.x, l = i * r.y;
|
|
139
142
|
return {
|
|
140
143
|
width: s,
|
|
141
144
|
height: c,
|
|
142
|
-
x:
|
|
143
|
-
y:
|
|
145
|
+
x: f,
|
|
146
|
+
y: l
|
|
144
147
|
};
|
|
145
148
|
}
|
|
146
|
-
function j(t, e,
|
|
147
|
-
let
|
|
149
|
+
function j(t, e, o) {
|
|
150
|
+
let i;
|
|
148
151
|
if (e === "viewport")
|
|
149
|
-
|
|
152
|
+
i = vt(t, o);
|
|
150
153
|
else if (e === "document")
|
|
151
|
-
|
|
154
|
+
i = xt(R(t));
|
|
152
155
|
else if (v(e))
|
|
153
|
-
|
|
156
|
+
i = Rt(e, o);
|
|
154
157
|
else {
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
x: e.x -
|
|
158
|
-
y: e.y -
|
|
158
|
+
const n = tt(t);
|
|
159
|
+
i = {
|
|
160
|
+
x: e.x - n.x,
|
|
161
|
+
y: e.y - n.y,
|
|
159
162
|
width: e.width,
|
|
160
163
|
height: e.height
|
|
161
164
|
};
|
|
162
165
|
}
|
|
163
|
-
return J(
|
|
166
|
+
return J(i);
|
|
164
167
|
}
|
|
165
|
-
function
|
|
166
|
-
const
|
|
167
|
-
return
|
|
168
|
+
function it(t, e) {
|
|
169
|
+
const o = S(t);
|
|
170
|
+
return o === e || !v(o) || z(o) ? !1 : b(o).position === "fixed" || it(o, e);
|
|
168
171
|
}
|
|
169
|
-
function
|
|
170
|
-
const
|
|
171
|
-
if (
|
|
172
|
-
return
|
|
173
|
-
let
|
|
174
|
-
const r =
|
|
175
|
-
let s = r ?
|
|
176
|
-
for (; v(s) && !
|
|
177
|
-
const c =
|
|
178
|
-
!
|
|
172
|
+
function Ct(t, e) {
|
|
173
|
+
const o = e.get(t);
|
|
174
|
+
if (o)
|
|
175
|
+
return o;
|
|
176
|
+
let i = $(t, [], !1).filter((c) => v(c) && _(c) !== "body"), n = null;
|
|
177
|
+
const r = b(t).position === "fixed";
|
|
178
|
+
let s = r ? S(t) : t;
|
|
179
|
+
for (; v(s) && !z(s); ) {
|
|
180
|
+
const c = b(s), f = Q(s);
|
|
181
|
+
!f && c.position === "fixed" && (n = null), (r ? !f && !n : !f && c.position === "static" && !!n && bt.has(n.position) || q(s) && !f && it(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = S(s);
|
|
179
182
|
}
|
|
180
|
-
return e.set(t,
|
|
183
|
+
return e.set(t, i), i;
|
|
181
184
|
}
|
|
182
185
|
function Ot(t) {
|
|
183
186
|
let {
|
|
184
187
|
element: e,
|
|
185
|
-
boundary:
|
|
186
|
-
rootBoundary:
|
|
187
|
-
strategy:
|
|
188
|
+
boundary: o,
|
|
189
|
+
rootBoundary: i,
|
|
190
|
+
strategy: n
|
|
188
191
|
} = t;
|
|
189
|
-
const s = [...
|
|
190
|
-
const h = j(e, u,
|
|
191
|
-
return
|
|
192
|
-
}, j(e, c,
|
|
192
|
+
const s = [...o === "clippingAncestors" ? V(e) ? [] : Ct(e, this._c) : [].concat(o), i], c = s[0], f = s.reduce((l, u) => {
|
|
193
|
+
const h = j(e, u, n);
|
|
194
|
+
return l.top = E(h.top, l.top), l.right = N(h.right, l.right), l.bottom = N(h.bottom, l.bottom), l.left = E(h.left, l.left), l;
|
|
195
|
+
}, j(e, c, n));
|
|
193
196
|
return {
|
|
194
|
-
width:
|
|
195
|
-
height:
|
|
196
|
-
x:
|
|
197
|
-
y:
|
|
197
|
+
width: f.right - f.left,
|
|
198
|
+
height: f.bottom - f.top,
|
|
199
|
+
x: f.left,
|
|
200
|
+
y: f.top
|
|
198
201
|
};
|
|
199
202
|
}
|
|
200
|
-
function
|
|
203
|
+
function Lt(t) {
|
|
201
204
|
const {
|
|
202
205
|
width: e,
|
|
203
|
-
height:
|
|
206
|
+
height: o
|
|
204
207
|
} = Z(t);
|
|
205
208
|
return {
|
|
206
209
|
width: e,
|
|
207
|
-
height:
|
|
210
|
+
height: o
|
|
208
211
|
};
|
|
209
212
|
}
|
|
210
|
-
function
|
|
211
|
-
const
|
|
213
|
+
function Tt(t, e, o) {
|
|
214
|
+
const i = C(e), n = R(e), r = o === "fixed", s = T(t, !0, r, e);
|
|
212
215
|
let c = {
|
|
213
216
|
scrollLeft: 0,
|
|
214
217
|
scrollTop: 0
|
|
215
218
|
};
|
|
216
|
-
const
|
|
217
|
-
function
|
|
218
|
-
|
|
219
|
+
const f = y(0);
|
|
220
|
+
function l() {
|
|
221
|
+
f.x = I(n);
|
|
219
222
|
}
|
|
220
|
-
if (
|
|
221
|
-
if ((
|
|
223
|
+
if (i || !i && !r)
|
|
224
|
+
if ((_(e) !== "body" || q(n)) && (c = H(e)), i) {
|
|
222
225
|
const a = T(e, !0, r, e);
|
|
223
|
-
|
|
224
|
-
} else
|
|
225
|
-
r && !
|
|
226
|
-
const u =
|
|
226
|
+
f.x = a.x + e.clientLeft, f.y = a.y + e.clientTop;
|
|
227
|
+
} else n && l();
|
|
228
|
+
r && !i && n && l();
|
|
229
|
+
const u = n && !i && !r ? et(n, c) : y(0), h = s.left + c.scrollLeft - f.x - u.x, d = s.top + c.scrollTop - f.y - u.y;
|
|
227
230
|
return {
|
|
228
231
|
x: h,
|
|
229
|
-
y:
|
|
232
|
+
y: d,
|
|
230
233
|
width: s.width,
|
|
231
234
|
height: s.height
|
|
232
235
|
};
|
|
233
236
|
}
|
|
234
|
-
function
|
|
235
|
-
return
|
|
237
|
+
function M(t) {
|
|
238
|
+
return b(t).position === "static";
|
|
236
239
|
}
|
|
237
240
|
function G(t, e) {
|
|
238
|
-
if (!
|
|
241
|
+
if (!C(t) || b(t).position === "fixed")
|
|
239
242
|
return null;
|
|
240
243
|
if (e)
|
|
241
244
|
return e(t);
|
|
242
|
-
let
|
|
243
|
-
return
|
|
245
|
+
let o = t.offsetParent;
|
|
246
|
+
return R(t) === o && (o = o.ownerDocument.body), o;
|
|
244
247
|
}
|
|
245
|
-
function
|
|
246
|
-
const
|
|
247
|
-
if (
|
|
248
|
-
return
|
|
249
|
-
if (!
|
|
250
|
-
let
|
|
251
|
-
for (;
|
|
252
|
-
if (v(
|
|
253
|
-
return
|
|
254
|
-
|
|
248
|
+
function ot(t, e) {
|
|
249
|
+
const o = L(t);
|
|
250
|
+
if (V(t))
|
|
251
|
+
return o;
|
|
252
|
+
if (!C(t)) {
|
|
253
|
+
let n = S(t);
|
|
254
|
+
for (; n && !z(n); ) {
|
|
255
|
+
if (v(n) && !M(n))
|
|
256
|
+
return n;
|
|
257
|
+
n = S(n);
|
|
255
258
|
}
|
|
256
|
-
return
|
|
259
|
+
return o;
|
|
257
260
|
}
|
|
258
|
-
let
|
|
259
|
-
for (;
|
|
260
|
-
|
|
261
|
-
return
|
|
261
|
+
let i = G(t, e);
|
|
262
|
+
for (; i && dt(i) && M(i); )
|
|
263
|
+
i = G(i, e);
|
|
264
|
+
return i && z(i) && M(i) && !Q(i) ? o : i || gt(t) || o;
|
|
262
265
|
}
|
|
263
|
-
const
|
|
264
|
-
const e = this.getOffsetParent ||
|
|
266
|
+
const Et = async function(t) {
|
|
267
|
+
const e = this.getOffsetParent || ot, o = this.getDimensions, i = await o(t.floating);
|
|
265
268
|
return {
|
|
266
|
-
reference:
|
|
269
|
+
reference: Tt(t.reference, await e(t.floating), t.strategy),
|
|
267
270
|
floating: {
|
|
268
271
|
x: 0,
|
|
269
272
|
y: 0,
|
|
270
|
-
width:
|
|
271
|
-
height:
|
|
273
|
+
width: i.width,
|
|
274
|
+
height: i.height
|
|
272
275
|
}
|
|
273
276
|
};
|
|
274
277
|
};
|
|
275
|
-
function
|
|
276
|
-
return
|
|
278
|
+
function Ft(t) {
|
|
279
|
+
return b(t).direction === "rtl";
|
|
277
280
|
}
|
|
278
|
-
const
|
|
281
|
+
const St = {
|
|
279
282
|
convertOffsetParentRelativeRectToViewportRelativeRect: wt,
|
|
280
|
-
getDocumentElement:
|
|
283
|
+
getDocumentElement: R,
|
|
281
284
|
getClippingRect: Ot,
|
|
282
|
-
getOffsetParent:
|
|
283
|
-
getElementRects:
|
|
284
|
-
getClientRects:
|
|
285
|
-
getDimensions:
|
|
285
|
+
getOffsetParent: ot,
|
|
286
|
+
getElementRects: Et,
|
|
287
|
+
getClientRects: yt,
|
|
288
|
+
getDimensions: Lt,
|
|
286
289
|
getScale: F,
|
|
287
290
|
isElement: v,
|
|
288
|
-
isRTL:
|
|
291
|
+
isRTL: Ft
|
|
289
292
|
};
|
|
290
293
|
function nt(t, e) {
|
|
291
294
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
292
295
|
}
|
|
293
|
-
function
|
|
294
|
-
let
|
|
295
|
-
const
|
|
296
|
+
function Wt(t, e) {
|
|
297
|
+
let o = null, i;
|
|
298
|
+
const n = R(t);
|
|
296
299
|
function r() {
|
|
297
300
|
var c;
|
|
298
|
-
clearTimeout(
|
|
301
|
+
clearTimeout(i), (c = o) == null || c.disconnect(), o = null;
|
|
299
302
|
}
|
|
300
|
-
function s(c,
|
|
301
|
-
c === void 0 && (c = !1),
|
|
302
|
-
const
|
|
303
|
+
function s(c, f) {
|
|
304
|
+
c === void 0 && (c = !1), f === void 0 && (f = 1), r();
|
|
305
|
+
const l = t.getBoundingClientRect(), {
|
|
303
306
|
left: u,
|
|
304
307
|
top: h,
|
|
305
|
-
width:
|
|
308
|
+
width: d,
|
|
306
309
|
height: a
|
|
307
|
-
} =
|
|
308
|
-
if (c || e(), !
|
|
310
|
+
} = l;
|
|
311
|
+
if (c || e(), !d || !a)
|
|
309
312
|
return;
|
|
310
|
-
const
|
|
311
|
-
rootMargin: -
|
|
312
|
-
threshold: E(0,
|
|
313
|
+
const m = A(h), p = A(n.clientWidth - (u + d)), w = A(n.clientHeight - (h + a)), g = A(u), O = {
|
|
314
|
+
rootMargin: -m + "px " + -p + "px " + -w + "px " + -g + "px",
|
|
315
|
+
threshold: E(0, N(1, f)) || 1
|
|
313
316
|
};
|
|
314
|
-
let
|
|
315
|
-
function P
|
|
316
|
-
const
|
|
317
|
-
if (
|
|
318
|
-
if (!
|
|
317
|
+
let W = !0;
|
|
318
|
+
function k(P) {
|
|
319
|
+
const B = P[0].intersectionRatio;
|
|
320
|
+
if (B !== f) {
|
|
321
|
+
if (!W)
|
|
319
322
|
return s();
|
|
320
|
-
|
|
323
|
+
B ? s(!1, B) : i = setTimeout(() => {
|
|
321
324
|
s(!1, 1e-7);
|
|
322
325
|
}, 1e3);
|
|
323
326
|
}
|
|
324
|
-
|
|
327
|
+
B === 1 && !nt(l, t.getBoundingClientRect()) && s(), W = !1;
|
|
325
328
|
}
|
|
326
329
|
try {
|
|
327
|
-
|
|
328
|
-
...
|
|
330
|
+
o = new IntersectionObserver(k, {
|
|
331
|
+
...O,
|
|
329
332
|
// Handle <iframe>s
|
|
330
|
-
root:
|
|
333
|
+
root: n.ownerDocument
|
|
331
334
|
});
|
|
332
335
|
} catch {
|
|
333
|
-
|
|
336
|
+
o = new IntersectionObserver(k, O);
|
|
334
337
|
}
|
|
335
|
-
|
|
338
|
+
o.observe(t);
|
|
336
339
|
}
|
|
337
340
|
return s(!0), r;
|
|
338
341
|
}
|
|
339
|
-
function
|
|
340
|
-
|
|
342
|
+
function zt(t, e, o, i) {
|
|
343
|
+
i === void 0 && (i = {});
|
|
341
344
|
const {
|
|
342
|
-
ancestorScroll:
|
|
345
|
+
ancestorScroll: n = !0,
|
|
343
346
|
ancestorResize: r = !0,
|
|
344
347
|
elementResize: s = typeof ResizeObserver == "function",
|
|
345
348
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
346
|
-
animationFrame:
|
|
347
|
-
} =
|
|
348
|
-
u.forEach((
|
|
349
|
-
|
|
349
|
+
animationFrame: f = !1
|
|
350
|
+
} = i, l = X(t), u = n || r ? [...l ? $(l) : [], ...$(e)] : [];
|
|
351
|
+
u.forEach((g) => {
|
|
352
|
+
n && g.addEventListener("scroll", o, {
|
|
350
353
|
passive: !0
|
|
351
|
-
}), r &&
|
|
354
|
+
}), r && g.addEventListener("resize", o);
|
|
352
355
|
});
|
|
353
|
-
const h =
|
|
354
|
-
let
|
|
355
|
-
s && (a = new ResizeObserver((
|
|
356
|
-
let [x] =
|
|
357
|
-
x && x.target ===
|
|
358
|
-
var
|
|
359
|
-
(
|
|
360
|
-
})),
|
|
361
|
-
}),
|
|
362
|
-
let
|
|
363
|
-
|
|
356
|
+
const h = l && c ? Wt(l, o) : null;
|
|
357
|
+
let d = -1, a = null;
|
|
358
|
+
s && (a = new ResizeObserver((g) => {
|
|
359
|
+
let [x] = g;
|
|
360
|
+
x && x.target === l && a && (a.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
361
|
+
var O;
|
|
362
|
+
(O = a) == null || O.observe(e);
|
|
363
|
+
})), o();
|
|
364
|
+
}), l && !f && a.observe(l), a.observe(e));
|
|
365
|
+
let m, p = f ? T(t) : null;
|
|
366
|
+
f && w();
|
|
364
367
|
function w() {
|
|
365
|
-
const
|
|
366
|
-
|
|
368
|
+
const g = T(t);
|
|
369
|
+
p && !nt(p, g) && o(), p = g, m = requestAnimationFrame(w);
|
|
367
370
|
}
|
|
368
|
-
return
|
|
369
|
-
var
|
|
371
|
+
return o(), () => {
|
|
372
|
+
var g;
|
|
370
373
|
u.forEach((x) => {
|
|
371
|
-
|
|
372
|
-
}), h?.(), (
|
|
374
|
+
n && x.removeEventListener("scroll", o), r && x.removeEventListener("resize", o);
|
|
375
|
+
}), h?.(), (g = a) == null || g.disconnect(), a = null, f && cancelAnimationFrame(m);
|
|
373
376
|
};
|
|
374
377
|
}
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
platform:
|
|
378
|
-
...
|
|
378
|
+
const Ht = st, It = rt, Mt = ct, Nt = lt, $t = ft, Vt = at, _t = ut, qt = (t, e, o) => {
|
|
379
|
+
const i = /* @__PURE__ */ new Map(), n = {
|
|
380
|
+
platform: St,
|
|
381
|
+
...o
|
|
379
382
|
}, r = {
|
|
380
|
-
...
|
|
381
|
-
_c:
|
|
383
|
+
...n.platform,
|
|
384
|
+
_c: i
|
|
382
385
|
};
|
|
383
|
-
return
|
|
384
|
-
...
|
|
386
|
+
return ht(t, e, {
|
|
387
|
+
...n,
|
|
385
388
|
platform: r
|
|
386
389
|
});
|
|
387
390
|
};
|
|
388
391
|
export {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
392
|
+
Vt as arrow,
|
|
393
|
+
zt as autoUpdate,
|
|
394
|
+
qt as computePosition,
|
|
395
|
+
Mt as flip,
|
|
393
396
|
$ as getOverflowAncestors,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
$t as hide,
|
|
398
|
+
_t as limitShift,
|
|
399
|
+
Ht as offset,
|
|
400
|
+
St as platform,
|
|
401
|
+
It as shift,
|
|
402
|
+
Nt as size
|
|
400
403
|
};
|