@pfct/purple 1.5.0-npm-next.7 → 1.5.0-npm-next.8
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/Icon/utils/svgr-cli.template.d.ts +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/chunks/index.4M0spsbp.js +13 -0
- package/dist/chunks/{index.CKdg_c8_.js → index.B1f1TmJo.js} +3 -3
- package/dist/chunks/{index.CzX283JL.js → index.BBvMzEkn.js} +1 -1
- package/dist/chunks/{index.Ibth5ADB.js → index.BCzFyP67.js} +15 -15
- package/dist/chunks/index.BGfHe7LA.js +71 -0
- package/dist/chunks/{index.mFaQzo4n.js → index.BKwOnmIv.js} +1 -1
- package/dist/chunks/index.BZPx6jYI.js +8 -0
- package/dist/chunks/{index.CqzduzUN.js → index.BarRvPVS.js} +13 -13
- package/dist/chunks/{index.CiFVe164.js → index.BiYcAxU7.js} +1 -1
- package/dist/chunks/{index.cLNSO_n0.js → index.BmpKbNvp.js} +1 -1
- package/dist/chunks/index.ByATMvf3.js +161 -0
- package/dist/chunks/index.CFXaphxE.js +5 -0
- package/dist/chunks/{index.CQiaoKjj.js → index.Cg1ETQne.js} +1 -1
- package/dist/chunks/{index.BqdzwVah.js → index.DAZ7Rqfw.js} +1 -1
- package/dist/chunks/index.DIN2VJFB.js +1 -0
- package/dist/chunks/{index.Ca2_YDeQ.js → index.DSzDrqih.js} +1 -1
- package/dist/chunks/index.Dp6n8vyp.js +1 -0
- package/dist/chunks/index.Zd9j6m3g.js +1 -0
- package/dist/chunks/{index.Cg0AsUJe.js → index.mqd1GOb5.js} +1 -1
- package/dist/chunks/{index.CIq9yakG.js → index.z1-FwbyF.js} +23 -22
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.es.js +24 -23
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +14 -14
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +1 -1
- package/dist/components/BottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/index.es.js +1 -1
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +1 -1
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +1 -1
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +1 -1
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.es.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +16 -16
- package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.styled.es.js +14 -14
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +13 -13
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +14 -14
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +1 -1
- package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.styled.es.js +14 -14
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.d.ts +37 -9
- package/dist/components/Control/Switch/index.es.js +189 -83
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +14 -14
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +14 -14
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +14 -14
- package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.util.es.js +14 -14
- package/dist/components/Input/TextField/index.cjs.js +1 -1
- package/dist/components/Input/TextField/index.es.js +12 -12
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +14 -14
- package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.es.js +1 -1
- package/dist/components/LegacyModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/index.es.js +1 -1
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +1 -1
- package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.styled.es.js +14 -14
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +1 -1
- package/dist/components/Loading/index.cjs.js +1 -1
- package/dist/components/Loading/index.es.js +1 -1
- package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
- package/dist/components/MiniButton/common/index.styled.es.js +14 -14
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.es.js +12 -12
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +15 -15
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +14 -14
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +14 -14
- package/dist/components/SelectBox/index.styled.cjs.js +1 -1
- package/dist/components/SelectBox/index.styled.es.js +14 -14
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +14 -14
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +14 -14
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +1 -1
- package/dist/components/Tag/index.styled.cjs.js +1 -1
- package/dist/components/Tag/index.styled.es.js +14 -14
- package/dist/components/Terms/index.cjs.js +1 -1
- package/dist/components/Terms/index.es.js +14 -14
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +1 -1
- package/dist/components/Title/index.styled.cjs.js +1 -1
- package/dist/components/Title/index.styled.es.js +14 -14
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +53 -52
- package/dist/components/ui/bottomSheet.cjs.js +6 -6
- package/dist/components/ui/bottomSheet.es.js +6 -6
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.es.js +1 -1
- package/dist/components/ui/checkbox.cjs.js +1 -1
- package/dist/components/ui/checkbox.es.js +115 -117
- package/dist/components/ui/dialog.cjs.js +1 -1
- package/dist/components/ui/dialog.es.js +1 -1
- package/dist/components/ui/drawer.cjs.js +1 -1
- package/dist/components/ui/drawer.es.js +1 -1
- package/dist/components/ui/impact-tooltip.cjs.js +1 -1
- package/dist/components/ui/impact-tooltip.d.ts +2 -2
- package/dist/components/ui/impact-tooltip.es.js +132 -118
- package/dist/components/ui/tooltip.cjs.js +1 -1
- package/dist/components/ui/tooltip.d.ts +2 -1
- package/dist/components/ui/tooltip.es.js +63 -60
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +1 -1
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +1 -1
- package/dist/core/Display/index.styled.cjs.js +1 -1
- package/dist/core/Display/index.styled.es.js +14 -14
- package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
- package/dist/hooks/useLayoutIsMobile.es.js +14 -14
- package/dist/icons/src/aliases/aliases.cjs.js +1 -1
- package/dist/icons/src/aliases/aliases.d.ts +12 -12
- package/dist/icons/src/aliases/aliases.es.js +48 -48
- package/dist/icons/src/aliases/index.cjs.js +1 -1
- package/dist/icons/src/aliases/index.es.js +96 -96
- package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
- package/dist/icons/src/aliases/prefixed.d.ts +14 -14
- package/dist/icons/src/aliases/prefixed.es.js +50 -50
- package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
- package/dist/icons/src/aliases/suffixed.d.ts +15 -15
- package/dist/icons/src/aliases/suffixed.es.js +46 -46
- package/dist/icons/src/icons/index.cjs.js +1 -1
- package/dist/icons/src/icons/index.d.ts +13 -13
- package/dist/icons/src/icons/index.es.js +44 -44
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +201 -200
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.es.js +14 -14
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.es.js +14 -14
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.es.js +14 -14
- package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/chip.es.js +1 -1
- package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/index.es.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +14 -14
- package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +14 -14
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +1 -1
- package/package.json +9 -7
- package/dist/chunks/index.BhKv87PH.js +0 -1
- package/dist/chunks/index.CRSD6wuV.js +0 -227
- package/dist/chunks/index.DYkYoCrb.js +0 -13
- package/dist/chunks/index.Tc55yzvH.js +0 -5
- package/dist/components/Control/Switch/index.styled.cjs.js +0 -32
- package/dist/components/Control/Switch/index.styled.d.ts +0 -15
- package/dist/components/Control/Switch/index.styled.es.js +0 -42
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import { u as
|
|
4
|
-
import { c as L, P as
|
|
5
|
-
import { u as
|
|
1
|
+
import { j as r } from "../../chunks/jsx-runtime.OVHDjVDe.js";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { u as _ } from "../../chunks/index.6ZBAQokh.js";
|
|
4
|
+
import { c as L, P as w, u as O, a as P } from "../../chunks/index.ByATMvf3.js";
|
|
5
|
+
import { u as H } from "../../chunks/index.BZPx6jYI.js";
|
|
6
|
+
import { u as V } from "../../chunks/index.Cg1ETQne.js";
|
|
7
|
+
import { P as G } from "../../chunks/index.BGfHe7LA.js";
|
|
6
8
|
import "../../icons/src/icons/Alarm_fill.es.js";
|
|
7
|
-
import "../../icons/src/icons/Cancel.es.js";
|
|
8
9
|
import "../../icons/src/icons/Cancel_circle.es.js";
|
|
9
|
-
import "../../icons/src/icons/
|
|
10
|
-
import "../../icons/src/icons/Cart_fill.es.js";
|
|
11
|
-
import G from "../../icons/src/icons/Check.es.js";
|
|
12
|
-
import "../../icons/src/icons/Chevron_down.es.js";
|
|
10
|
+
import K from "../../icons/src/icons/Check.es.js";
|
|
13
11
|
import "../../icons/src/icons/Chevron_left.es.js";
|
|
14
12
|
import "../../icons/src/icons/Chevron_right.es.js";
|
|
13
|
+
import "../../icons/src/icons/Chevron_down.es.js";
|
|
14
|
+
import "../../icons/src/icons/Cart_fill.es.js";
|
|
15
15
|
import "../../icons/src/icons/Chevron_up.es.js";
|
|
16
16
|
import "../../icons/src/icons/Double_Chevron_right.es.js";
|
|
17
|
-
import "../../icons/src/icons/Double_Chevron_left.es.js";
|
|
18
|
-
import "../../icons/src/icons/Eye_fill.es.js";
|
|
19
17
|
import "../../icons/src/icons/Eye_slash_fill.es.js";
|
|
20
18
|
import "../../icons/src/icons/Filter.es.js";
|
|
21
|
-
import "../../icons/src/icons/
|
|
22
|
-
import "../../icons/src/icons/
|
|
23
|
-
import "../../icons/src/icons/
|
|
19
|
+
import "../../icons/src/icons/Double_Chevron_left.es.js";
|
|
20
|
+
import "../../icons/src/icons/Calendar.es.js";
|
|
21
|
+
import "../../icons/src/icons/Eye_fill.es.js";
|
|
24
22
|
import "../../icons/src/icons/Person_fill.es.js";
|
|
25
|
-
import "../../icons/src/icons/
|
|
23
|
+
import "../../icons/src/icons/More.es.js";
|
|
26
24
|
import "../../icons/src/icons/Question_circle.es.js";
|
|
27
|
-
import "../../icons/src/icons/Re.es.js";
|
|
28
25
|
import "../../icons/src/icons/Search.es.js";
|
|
26
|
+
import "../../icons/src/icons/Plus.es.js";
|
|
29
27
|
import "../../icons/src/icons/Setting_fill.es.js";
|
|
30
|
-
import "../../icons/src/icons/Store.es.js";
|
|
31
28
|
import "../../icons/src/icons/Share.es.js";
|
|
32
|
-
import
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
import "../../icons/src/icons/Information.es.js";
|
|
30
|
+
import "../../icons/src/icons/Re.es.js";
|
|
31
|
+
import "../../icons/src/icons/Menu.es.js";
|
|
32
|
+
import "../../icons/src/icons/Cancel.es.js";
|
|
33
|
+
import "../../icons/src/icons/Store.es.js";
|
|
34
|
+
import { c as U } from "../../chunks/index.Cc-miKAT.js";
|
|
35
|
+
var C = "Checkbox", [X, je] = L(C), [$, R] = X(C);
|
|
36
|
+
function J(t) {
|
|
39
37
|
const {
|
|
40
|
-
__scopeCheckbox:
|
|
41
|
-
checked:
|
|
42
|
-
children:
|
|
38
|
+
__scopeCheckbox: c,
|
|
39
|
+
checked: a,
|
|
40
|
+
children: i,
|
|
43
41
|
defaultChecked: o,
|
|
44
|
-
disabled:
|
|
42
|
+
disabled: e,
|
|
45
43
|
form: u,
|
|
46
44
|
name: k,
|
|
47
45
|
onCheckedChange: n,
|
|
@@ -49,43 +47,43 @@ function J(e) {
|
|
|
49
47
|
value: y = "on",
|
|
50
48
|
// @ts-expect-error
|
|
51
49
|
internal_do_not_use_render: p
|
|
52
|
-
} =
|
|
53
|
-
prop:
|
|
50
|
+
} = t, [b, x] = O({
|
|
51
|
+
prop: a,
|
|
54
52
|
defaultProp: o ?? !1,
|
|
55
53
|
onChange: n,
|
|
56
54
|
caller: C
|
|
57
|
-
}), [f, g] =
|
|
55
|
+
}), [f, g] = l.useState(null), [T, d] = l.useState(null), s = l.useRef(!1), v = f ? !!u || !!f.closest("form") : (
|
|
58
56
|
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
59
57
|
!0
|
|
60
58
|
), N = {
|
|
61
59
|
checked: b,
|
|
62
|
-
disabled:
|
|
60
|
+
disabled: e,
|
|
63
61
|
setChecked: x,
|
|
64
62
|
control: f,
|
|
65
63
|
setControl: g,
|
|
66
64
|
name: k,
|
|
67
65
|
form: u,
|
|
68
66
|
value: y,
|
|
69
|
-
hasConsumerStoppedPropagationRef:
|
|
67
|
+
hasConsumerStoppedPropagationRef: s,
|
|
70
68
|
required: m,
|
|
71
69
|
defaultChecked: h(o) ? !1 : o,
|
|
72
70
|
isFormControl: v,
|
|
73
71
|
bubbleInput: T,
|
|
74
|
-
setBubbleInput:
|
|
72
|
+
setBubbleInput: d
|
|
75
73
|
};
|
|
76
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ r.jsx(
|
|
77
75
|
$,
|
|
78
76
|
{
|
|
79
|
-
scope:
|
|
77
|
+
scope: c,
|
|
80
78
|
...N,
|
|
81
|
-
children: Q(p) ? p(N) :
|
|
79
|
+
children: Q(p) ? p(N) : i
|
|
82
80
|
}
|
|
83
81
|
);
|
|
84
82
|
}
|
|
85
|
-
var I = "CheckboxTrigger", j =
|
|
86
|
-
({ __scopeCheckbox:
|
|
83
|
+
var I = "CheckboxTrigger", j = l.forwardRef(
|
|
84
|
+
({ __scopeCheckbox: t, onKeyDown: c, onClick: a, ...i }, o) => {
|
|
87
85
|
const {
|
|
88
|
-
control:
|
|
86
|
+
control: e,
|
|
89
87
|
value: u,
|
|
90
88
|
disabled: k,
|
|
91
89
|
checked: n,
|
|
@@ -95,14 +93,14 @@ var I = "CheckboxTrigger", j = s.forwardRef(
|
|
|
95
93
|
hasConsumerStoppedPropagationRef: b,
|
|
96
94
|
isFormControl: x,
|
|
97
95
|
bubbleInput: f
|
|
98
|
-
} = R(I,
|
|
99
|
-
return
|
|
100
|
-
const
|
|
101
|
-
if (
|
|
102
|
-
const
|
|
103
|
-
return
|
|
96
|
+
} = R(I, t), g = _(o, y), T = l.useRef(n);
|
|
97
|
+
return l.useEffect(() => {
|
|
98
|
+
const d = e == null ? void 0 : e.form;
|
|
99
|
+
if (d) {
|
|
100
|
+
const s = () => p(T.current);
|
|
101
|
+
return d.addEventListener("reset", s), () => d.removeEventListener("reset", s);
|
|
104
102
|
}
|
|
105
|
-
}, [
|
|
103
|
+
}, [e, p]), /* @__PURE__ */ r.jsx(
|
|
106
104
|
w.button,
|
|
107
105
|
{
|
|
108
106
|
type: "button",
|
|
@@ -113,58 +111,58 @@ var I = "CheckboxTrigger", j = s.forwardRef(
|
|
|
113
111
|
"data-disabled": k ? "" : void 0,
|
|
114
112
|
disabled: k,
|
|
115
113
|
value: u,
|
|
116
|
-
...
|
|
114
|
+
...i,
|
|
117
115
|
ref: g,
|
|
118
|
-
onKeyDown:
|
|
119
|
-
|
|
116
|
+
onKeyDown: P(c, (d) => {
|
|
117
|
+
d.key === "Enter" && d.preventDefault();
|
|
120
118
|
}),
|
|
121
|
-
onClick:
|
|
122
|
-
p((
|
|
119
|
+
onClick: P(a, (d) => {
|
|
120
|
+
p((s) => h(s) ? !0 : !s), f && x && (b.current = d.isPropagationStopped(), b.current || d.stopPropagation());
|
|
123
121
|
})
|
|
124
122
|
}
|
|
125
123
|
);
|
|
126
124
|
}
|
|
127
125
|
);
|
|
128
126
|
j.displayName = I;
|
|
129
|
-
var S =
|
|
130
|
-
(
|
|
127
|
+
var S = l.forwardRef(
|
|
128
|
+
(t, c) => {
|
|
131
129
|
const {
|
|
132
|
-
__scopeCheckbox:
|
|
133
|
-
name:
|
|
130
|
+
__scopeCheckbox: a,
|
|
131
|
+
name: i,
|
|
134
132
|
checked: o,
|
|
135
|
-
defaultChecked:
|
|
133
|
+
defaultChecked: e,
|
|
136
134
|
required: u,
|
|
137
135
|
disabled: k,
|
|
138
136
|
value: n,
|
|
139
137
|
onCheckedChange: m,
|
|
140
138
|
form: y,
|
|
141
139
|
...p
|
|
142
|
-
} =
|
|
143
|
-
return /* @__PURE__ */
|
|
140
|
+
} = t;
|
|
141
|
+
return /* @__PURE__ */ r.jsx(
|
|
144
142
|
J,
|
|
145
143
|
{
|
|
146
|
-
__scopeCheckbox:
|
|
144
|
+
__scopeCheckbox: a,
|
|
147
145
|
checked: o,
|
|
148
|
-
defaultChecked:
|
|
146
|
+
defaultChecked: e,
|
|
149
147
|
disabled: k,
|
|
150
148
|
required: u,
|
|
151
149
|
onCheckedChange: m,
|
|
152
|
-
name:
|
|
150
|
+
name: i,
|
|
153
151
|
form: y,
|
|
154
152
|
value: n,
|
|
155
|
-
internal_do_not_use_render: ({ isFormControl: b }) => /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
153
|
+
internal_do_not_use_render: ({ isFormControl: b }) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
154
|
+
/* @__PURE__ */ r.jsx(
|
|
157
155
|
j,
|
|
158
156
|
{
|
|
159
157
|
...p,
|
|
160
|
-
ref:
|
|
161
|
-
__scopeCheckbox:
|
|
158
|
+
ref: c,
|
|
159
|
+
__scopeCheckbox: a
|
|
162
160
|
}
|
|
163
161
|
),
|
|
164
|
-
b && /* @__PURE__ */
|
|
162
|
+
b && /* @__PURE__ */ r.jsx(
|
|
165
163
|
A,
|
|
166
164
|
{
|
|
167
|
-
__scopeCheckbox:
|
|
165
|
+
__scopeCheckbox: a
|
|
168
166
|
}
|
|
169
167
|
)
|
|
170
168
|
] })
|
|
@@ -173,21 +171,21 @@ var S = s.forwardRef(
|
|
|
173
171
|
}
|
|
174
172
|
);
|
|
175
173
|
S.displayName = C;
|
|
176
|
-
var B = "CheckboxIndicator", M =
|
|
177
|
-
(
|
|
178
|
-
const { __scopeCheckbox:
|
|
179
|
-
return /* @__PURE__ */
|
|
180
|
-
|
|
174
|
+
var B = "CheckboxIndicator", M = l.forwardRef(
|
|
175
|
+
(t, c) => {
|
|
176
|
+
const { __scopeCheckbox: a, forceMount: i, ...o } = t, e = R(B, a);
|
|
177
|
+
return /* @__PURE__ */ r.jsx(
|
|
178
|
+
G,
|
|
181
179
|
{
|
|
182
|
-
present:
|
|
183
|
-
children: /* @__PURE__ */
|
|
180
|
+
present: i || h(e.checked) || e.checked === !0,
|
|
181
|
+
children: /* @__PURE__ */ r.jsx(
|
|
184
182
|
w.span,
|
|
185
183
|
{
|
|
186
|
-
"data-state": z(
|
|
187
|
-
"data-disabled":
|
|
184
|
+
"data-state": z(e.checked),
|
|
185
|
+
"data-disabled": e.disabled ? "" : void 0,
|
|
188
186
|
...o,
|
|
189
|
-
ref:
|
|
190
|
-
style: { pointerEvents: "none", ...
|
|
187
|
+
ref: c,
|
|
188
|
+
style: { pointerEvents: "none", ...t.style }
|
|
191
189
|
}
|
|
192
190
|
)
|
|
193
191
|
}
|
|
@@ -195,12 +193,12 @@ var B = "CheckboxIndicator", M = s.forwardRef(
|
|
|
195
193
|
}
|
|
196
194
|
);
|
|
197
195
|
M.displayName = B;
|
|
198
|
-
var q = "CheckboxBubbleInput", A =
|
|
199
|
-
({ __scopeCheckbox:
|
|
196
|
+
var q = "CheckboxBubbleInput", A = l.forwardRef(
|
|
197
|
+
({ __scopeCheckbox: t, ...c }, a) => {
|
|
200
198
|
const {
|
|
201
|
-
control:
|
|
199
|
+
control: i,
|
|
202
200
|
hasConsumerStoppedPropagationRef: o,
|
|
203
|
-
checked:
|
|
201
|
+
checked: e,
|
|
204
202
|
defaultChecked: u,
|
|
205
203
|
required: k,
|
|
206
204
|
disabled: n,
|
|
@@ -209,36 +207,36 @@ var q = "CheckboxBubbleInput", A = s.forwardRef(
|
|
|
209
207
|
form: p,
|
|
210
208
|
bubbleInput: b,
|
|
211
209
|
setBubbleInput: x
|
|
212
|
-
} = R(q,
|
|
213
|
-
|
|
214
|
-
const
|
|
215
|
-
if (!
|
|
210
|
+
} = R(q, t), f = _(a, x), g = H(e), T = V(i);
|
|
211
|
+
l.useEffect(() => {
|
|
212
|
+
const s = b;
|
|
213
|
+
if (!s) return;
|
|
216
214
|
const v = window.HTMLInputElement.prototype, E = Object.getOwnPropertyDescriptor(
|
|
217
215
|
v,
|
|
218
216
|
"checked"
|
|
219
217
|
).set, D = !o.current;
|
|
220
|
-
if (g !==
|
|
218
|
+
if (g !== e && E) {
|
|
221
219
|
const F = new Event("click", { bubbles: D });
|
|
222
|
-
|
|
220
|
+
s.indeterminate = h(e), E.call(s, h(e) ? !1 : e), s.dispatchEvent(F);
|
|
223
221
|
}
|
|
224
|
-
}, [b, g,
|
|
225
|
-
const
|
|
226
|
-
return /* @__PURE__ */
|
|
222
|
+
}, [b, g, e, o]);
|
|
223
|
+
const d = l.useRef(h(e) ? !1 : e);
|
|
224
|
+
return /* @__PURE__ */ r.jsx(
|
|
227
225
|
w.input,
|
|
228
226
|
{
|
|
229
227
|
type: "checkbox",
|
|
230
228
|
"aria-hidden": !0,
|
|
231
|
-
defaultChecked: u ??
|
|
229
|
+
defaultChecked: u ?? d.current,
|
|
232
230
|
required: k,
|
|
233
231
|
disabled: n,
|
|
234
232
|
name: m,
|
|
235
233
|
value: y,
|
|
236
234
|
form: p,
|
|
237
|
-
...
|
|
235
|
+
...c,
|
|
238
236
|
tabIndex: -1,
|
|
239
237
|
ref: f,
|
|
240
238
|
style: {
|
|
241
|
-
...
|
|
239
|
+
...c.style,
|
|
242
240
|
...T,
|
|
243
241
|
position: "absolute",
|
|
244
242
|
pointerEvents: "none",
|
|
@@ -254,16 +252,16 @@ var q = "CheckboxBubbleInput", A = s.forwardRef(
|
|
|
254
252
|
}
|
|
255
253
|
);
|
|
256
254
|
A.displayName = q;
|
|
257
|
-
function Q(
|
|
258
|
-
return typeof
|
|
255
|
+
function Q(t) {
|
|
256
|
+
return typeof t == "function";
|
|
259
257
|
}
|
|
260
|
-
function h(
|
|
261
|
-
return
|
|
258
|
+
function h(t) {
|
|
259
|
+
return t === "indeterminate";
|
|
262
260
|
}
|
|
263
|
-
function z(
|
|
264
|
-
return h(
|
|
261
|
+
function z(t) {
|
|
262
|
+
return h(t) ? "indeterminate" : t ? "checked" : "unchecked";
|
|
265
263
|
}
|
|
266
|
-
const W =
|
|
264
|
+
const W = U(
|
|
267
265
|
"peer dark:bg-input/30 size-5.25 shrink-0 rounded-[2px] outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive disabled:cursor-not-allowed shadow-none",
|
|
268
266
|
{
|
|
269
267
|
variants: {
|
|
@@ -414,34 +412,34 @@ const W = K(
|
|
|
414
412
|
}
|
|
415
413
|
}
|
|
416
414
|
);
|
|
417
|
-
function
|
|
418
|
-
className:
|
|
419
|
-
colorType:
|
|
420
|
-
uiType:
|
|
421
|
-
...
|
|
415
|
+
function Se({
|
|
416
|
+
className: t,
|
|
417
|
+
colorType: c,
|
|
418
|
+
uiType: a,
|
|
419
|
+
...i
|
|
422
420
|
}) {
|
|
423
|
-
return /* @__PURE__ */
|
|
421
|
+
return /* @__PURE__ */ r.jsx(
|
|
424
422
|
S,
|
|
425
423
|
{
|
|
426
424
|
"data-slot": "checkbox",
|
|
427
425
|
className: W({
|
|
428
|
-
colorType:
|
|
429
|
-
uiType:
|
|
430
|
-
className:
|
|
426
|
+
colorType: c,
|
|
427
|
+
uiType: a,
|
|
428
|
+
className: t
|
|
431
429
|
}),
|
|
432
|
-
...
|
|
433
|
-
children: /* @__PURE__ */
|
|
430
|
+
...i,
|
|
431
|
+
children: /* @__PURE__ */ r.jsx(
|
|
434
432
|
M,
|
|
435
433
|
{
|
|
436
434
|
"data-slot": "checkbox-indicator",
|
|
437
435
|
className: "flex items-center justify-center text-current transition-none",
|
|
438
|
-
forceMount:
|
|
439
|
-
children: /* @__PURE__ */
|
|
436
|
+
forceMount: a === "line" ? !0 : void 0,
|
|
437
|
+
children: /* @__PURE__ */ r.jsx(K, { className: "size-4.25" })
|
|
440
438
|
}
|
|
441
439
|
)
|
|
442
440
|
}
|
|
443
441
|
);
|
|
444
442
|
}
|
|
445
443
|
export {
|
|
446
|
-
|
|
444
|
+
Se as Checkbox
|
|
447
445
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/jsx-runtime.CrDL12FN.js"),o=require("../../chunks/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/jsx-runtime.CrDL12FN.js"),o=require("../../chunks/index.CFXaphxE.js"),s=require("../../lib/utils.cjs.js");function r({...t}){return e.jsxRuntimeExports.jsx(o.Root,{"data-slot":"dialog",...t})}function d({...t}){return e.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"dialog-trigger",...t})}function i({...t}){return e.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"dialog-portal",...t})}function x({...t}){return e.jsxRuntimeExports.jsx(o.Close,{"data-slot":"dialog-close",...t})}function l({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"dialog-overlay",className:s.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1000 bg-black/50",t),...a})}function u({className:t,children:a,...n}){return e.jsxRuntimeExports.jsxs(i,{"data-slot":"dialog-portal",children:[e.jsxRuntimeExports.jsx(l,{}),e.jsxRuntimeExports.jsx(o.Content,{"data-slot":"dialog-content",className:s.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-1000 grid max-h-150 w-full max-w-90 translate-x-[-50%] translate-y-[-50%] gap-4 overflow-hidden rounded-lg border bg-white px-5 shadow-lg duration-200",t),...n,children:a})]})}function g({className:t,...a}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:s.cn("flex flex-col gap-2 text-center sm:text-left",t),...a})}function c({className:t,...a}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:s.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function m({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Title,{"data-slot":"dialog-title",className:s.cn(t),...a})}function f({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Description,{"data-slot":"dialog-description",className:s.cn("text-muted-foreground text-sm",t),...a})}exports.Dialog=r;exports.DialogClose=x;exports.DialogContent=u;exports.DialogDescription=f;exports.DialogFooter=c;exports.DialogHeader=g;exports.DialogOverlay=l;exports.DialogPortal=i;exports.DialogTitle=m;exports.DialogTrigger=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as a } from "../../chunks/jsx-runtime.OVHDjVDe.js";
|
|
2
|
-
import { R as l, C as i, a as n, D as r, O as d, P as g, T as c, b as u } from "../../chunks/index.
|
|
2
|
+
import { R as l, C as i, a as n, D as r, O as d, P as g, T as c, b as u } from "../../chunks/index.z1-FwbyF.js";
|
|
3
3
|
import { cn as e } from "../../lib/utils.es.js";
|
|
4
4
|
function D({ ...t }) {
|
|
5
5
|
return /* @__PURE__ */ a.jsx(l, { "data-slot": "dialog", ...t });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("../../chunks/jsx-runtime.CrDL12FN.js"),Q=require("../../chunks/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("../../chunks/jsx-runtime.CrDL12FN.js"),Q=require("../../chunks/index.CFXaphxE.js"),bt=require("react"),it=require("../../lib/utils.cjs.js");function be(t){if(t&&typeof t=="object"&&"default"in t)return t;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const a=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,a.get?a:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const r=be(bt);function xe(t){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style");e.type="text/css",n.appendChild(e),e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}const Yt=r.default.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),wt=()=>{const t=r.default.useContext(Yt);if(!t)throw new Error("useDrawerContext must be used within a Drawer.Root");return t};xe(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
|
|
2
2
|
[data-state=closed]
|
|
3
3
|
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function Se(){const t=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(t)&&/Mobile/.test(t)||/FxiOS/.test(t))}function Re(){return Pt(/^Mac/)}function De(){return Pt(/^iPhone/)}function zt(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Te(){return Pt(/^iPad/)||Re()&&navigator.maxTouchPoints>1}function Xt(){return De()||Te()}function Pt(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):void 0}const Ee=24,Oe=typeof window<"u"?bt.useLayoutEffect:bt.useEffect;function Wt(...t){return(...n)=>{for(let e of t)typeof e=="function"&&e(...n)}}const Et=typeof document<"u"&&window.visualViewport;function Vt(t){let n=window.getComputedStyle(t);return/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY)}function Kt(t){for(Vt(t)&&(t=t.parentElement);t&&!Vt(t);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const Ce=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let vt=0,Ot;function $e(t={}){let{isDisabled:n}=t;Oe(()=>{if(!n)return vt++,vt===1&&Xt()&&(Ot=Ae()),()=>{vt--,vt===0&&(Ot==null||Ot())}},[n])}function Ae(){let t,n=0,e=f=>{t=Kt(f.target),!(t===document.documentElement&&t===document.body)&&(n=f.changedTouches[0].pageY)},a=f=>{if(!t||t===document.documentElement||t===document.body){f.preventDefault();return}let m=f.changedTouches[0].pageY,k=t.scrollTop,H=t.scrollHeight-t.clientHeight;H!==0&&((k<=0&&m>n||k>=H&&m<n)&&f.preventDefault(),n=m)},i=f=>{let m=f.target;At(m)&&m!==document.activeElement&&(f.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},o=f=>{let m=f.target;At(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",Et&&(Et.height<window.innerHeight?requestAnimationFrame(()=>{qt(m)}):Et.addEventListener("resize",()=>qt(m),{once:!0}))}))},v=()=>{window.scrollTo(0,0)},p=window.pageXOffset,S=window.pageYOffset,D=Wt(Me(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let h=Wt(ft(document,"touchstart",e,{passive:!1,capture:!0}),ft(document,"touchmove",a,{passive:!1,capture:!0}),ft(document,"touchend",i,{passive:!1,capture:!0}),ft(document,"focus",o,!0),ft(window,"scroll",v));return()=>{D(),h(),window.scrollTo(p,S)}}function Me(t,n,e){let a=t.style[n];return t.style[n]=e,()=>{t.style[n]=a}}function ft(t,n,e,a){return t.addEventListener(n,e,a),()=>{t.removeEventListener(n,e,a)}}function qt(t){let n=document.scrollingElement||document.documentElement;for(;t&&t!==n;){let e=Kt(t);if(e!==document.documentElement&&e!==document.body&&e!==t){let a=e.getBoundingClientRect().top,i=t.getBoundingClientRect().top,o=t.getBoundingClientRect().bottom;const v=e.getBoundingClientRect().bottom+Ee;o>v&&(e.scrollTop+=i-a)}t=e.parentElement}}function At(t){return t instanceof HTMLInputElement&&!Ce.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}function Pe(t,n){typeof t=="function"?t(n):t!=null&&(t.current=n)}function Ie(...t){return n=>t.forEach(e=>Pe(e,n))}function Gt(...t){return r.useCallback(Ie(...t),t)}const Jt=new WeakMap;function $(t,n,e=!1){if(!t||!(t instanceof HTMLElement))return;let a={};Object.entries(n).forEach(([i,o])=>{if(i.startsWith("--")){t.style.setProperty(i,o);return}a[i]=t.style[i],t.style[i]=o}),!e&&Jt.set(t,a)}function Ne(t,n){if(!t||!(t instanceof HTMLElement))return;let e=Jt.get(t);e&&(t.style[n]=e[n])}const C=t=>{switch(t){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return t}};function yt(t,n){if(!t)return null;const e=window.getComputedStyle(t),a=e.transform||e.webkitTransform||e.mozTransform;let i=a.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[C(n)?13:12]):(i=a.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[C(n)?5:4]):null)}function _e(t){return 8*(Math.log(t+1)-2)}function Ct(t,n){if(!t)return()=>{};const e=t.style.cssText;return Object.assign(t.style,n),()=>{t.style.cssText=e}}function je(...t){return(...n)=>{for(const e of t)typeof e=="function"&&e(...n)}}const E={DURATION:.5,EASE:[.32,.72,0,1]},Qt=.4,He=.25,Le=100,Zt=8,nt=16,Mt=26,$t="vaul-dragging";function te(t){const n=r.default.useRef(t);return r.default.useEffect(()=>{n.current=t}),r.default.useMemo(()=>(...e)=>n.current==null?void 0:n.current.call(n,...e),[])}function ke({defaultProp:t,onChange:n}){const e=r.default.useState(t),[a]=e,i=r.default.useRef(a),o=te(n);return r.default.useEffect(()=>{i.current!==a&&(o(a),i.current=a)},[a,i,o]),e}function ee({prop:t,defaultProp:n,onChange:e=()=>{}}){const[a,i]=ke({defaultProp:n,onChange:e}),o=t!==void 0,v=o?t:a,p=te(e),S=r.default.useCallback(D=>{if(o){const f=typeof D=="function"?D(t):D;f!==t&&p(f)}else i(D)},[o,t,i,p]);return[v,S]}function Be({activeSnapPointProp:t,setActiveSnapPointProp:n,snapPoints:e,drawerRef:a,overlayRef:i,fadeFromIndex:o,onSnapPointChange:v,direction:p="bottom",container:S,snapToSequentialPoint:D}){const[h,f]=ee({prop:t,defaultProp:e==null?void 0:e[0],onChange:n}),[m,k]=r.default.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);r.default.useEffect(()=>{function s(){k({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]);const H=r.default.useMemo(()=>h===(e==null?void 0:e[e.length-1])||null,[e,h]),T=r.default.useMemo(()=>{var s;return(s=e==null?void 0:e.findIndex(b=>b===h))!=null?s:null},[e,h]),B=e&&e.length>0&&(o||o===0)&&!Number.isNaN(o)&&e[o]===h||!e,w=r.default.useMemo(()=>{const s=S?{width:S.getBoundingClientRect().width,height:S.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var b;return(b=e==null?void 0:e.map(y=>{const N=typeof y=="string";let P=0;if(N&&(P=parseInt(y,10)),C(p)){const u=N?P:m?y*s.height:0;return m?p==="bottom"?s.height-u:-s.height+u:u}const U=N?P:m?y*s.width:0;return m?p==="right"?s.width-U:-s.width+U:U}))!=null?b:[]},[e,m,S]),M=r.default.useMemo(()=>T!==null?w==null?void 0:w[T]:null,[w,T]),A=r.default.useCallback(s=>{var b;const y=(b=w==null?void 0:w.findIndex(N=>N===s))!=null?b:null;v(y),$(a.current,{transition:`transform ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,transform:C(p)?`translate3d(0, ${s}px, 0)`:`translate3d(${s}px, 0, 0)`}),w&&y!==w.length-1&&o!==void 0&&y!==o&&y<o?$(i.current,{transition:`opacity ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,opacity:"0"}):$(i.current,{transition:`opacity ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,opacity:"1"}),f(e==null?void 0:e[Math.max(y,0)])},[a.current,e,w,o,i,f]);r.default.useEffect(()=>{if(h||t){var s;const b=(s=e==null?void 0:e.findIndex(y=>y===t||y===h))!=null?s:-1;w&&b!==-1&&typeof w[b]=="number"&&A(w[b])}},[h,t,e,w,A]);function d({draggedDistance:s,closeDrawer:b,velocity:y,dismissible:N}){if(o===void 0)return;const P=p==="bottom"||p==="right"?(M??0)-s:(M??0)+s,U=T===o-1,u=T===0,F=s>0;if(U&&$(i.current,{transition:`opacity ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`}),!D&&y>2&&!F){N?b():A(w[0]);return}if(!D&&y>2&&F&&w&&e){A(w[e.length-1]);return}const _=w==null?void 0:w.reduce((I,X)=>typeof I!="number"||typeof X!="number"?I:Math.abs(X-P)<Math.abs(I-P)?X:I),z=C(p)?window.innerHeight:window.innerWidth;if(y>Qt&&Math.abs(s)<z*.4){const I=F?1:-1;if(I>0&&H&&e){A(w[e.length-1]);return}if(u&&I<0&&N&&b(),T===null)return;A(w[T+I]);return}A(_)}function q({draggedDistance:s}){if(M===null)return;const b=p==="bottom"||p==="right"?M-s:M+s;(p==="bottom"||p==="right")&&b<w[w.length-1]||(p==="top"||p==="left")&&b>w[w.length-1]||$(a.current,{transform:C(p)?`translate3d(0, ${b}px, 0)`:`translate3d(${b}px, 0, 0)`})}function tt(s,b){if(!e||typeof T!="number"||!w||o===void 0)return null;const y=T===o-1;if(T>=o&&b)return 0;if(y&&!b)return 1;if(!B&&!y)return null;const P=y?T+1:T-1,U=y?w[P]-w[P-1]:w[P+1]-w[P],u=s/Math.abs(U);return y?1-u:u}return{isLastSnapPoint:H,activeSnapPoint:h,shouldFade:B,getPercentageDragged:tt,setActiveSnapPoint:f,activeSnapPointIndex:T,onRelease:d,onDrag:q,snapPointsOffset:w}}const Fe=()=>()=>{};function Ue(){const{direction:t,isOpen:n,shouldScaleBackground:e,setBackgroundColorOnScale:a,noBodyStyles:i}=wt(),o=r.default.useRef(null),v=bt.useMemo(()=>document.body.style.backgroundColor,[]);function p(){return(window.innerWidth-Mt)/window.innerWidth}r.default.useEffect(()=>{if(n&&e){o.current&&clearTimeout(o.current);const S=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!S)return;je(a&&!i?Ct(document.body,{background:"black"}):Fe,Ct(S,{transformOrigin:C(t)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${E.DURATION}s`,transitionTimingFunction:`cubic-bezier(${E.EASE.join(",")})`}));const D=Ct(S,{borderRadius:`${Zt}px`,overflow:"hidden",...C(t)?{transform:`scale(${p()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${p()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{D(),o.current=window.setTimeout(()=>{v?document.body.style.background=v:document.body.style.removeProperty("background")},E.DURATION*1e3)}}},[n,e,v])}let mt=null;function ze({isOpen:t,modal:n,nested:e,hasBeenOpened:a,preventScrollRestoration:i,noBodyStyles:o}){const[v,p]=r.default.useState(()=>typeof window<"u"?window.location.href:""),S=r.default.useRef(0),D=r.default.useCallback(()=>{if(zt()&&mt===null&&t&&!o){mt={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:f,innerHeight:m}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-S.current}px`,left:`${-f}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const k=m-window.innerHeight;k&&S.current>=m&&(document.body.style.top=`${-(S.current+k)}px`)}),300)}},[t]),h=r.default.useCallback(()=>{if(zt()&&mt!==null&&!o){const f=-parseInt(document.body.style.top,10),m=-parseInt(document.body.style.left,10);Object.assign(document.body.style,mt),window.requestAnimationFrame(()=>{if(i&&v!==window.location.href){p(window.location.href);return}window.scrollTo(m,f)}),mt=null}},[v]);return r.default.useEffect(()=>{function f(){S.current=window.scrollY}return f(),window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)}},[]),r.default.useEffect(()=>{if(n)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||h()}},[n,h]),r.default.useEffect(()=>{e||!a||(t?(!window.matchMedia("(display-mode: standalone)").matches&&D(),n||window.setTimeout(()=>{h()},500)):h())},[t,a,v,n,e,D,h]),{restorePositionSetting:h}}function We({open:t,onOpenChange:n,children:e,onDrag:a,onRelease:i,snapPoints:o,shouldScaleBackground:v=!1,setBackgroundColorOnScale:p=!0,closeThreshold:S=He,scrollLockTimeout:D=Le,dismissible:h=!0,handleOnly:f=!1,fadeFromIndex:m=o&&o.length-1,activeSnapPoint:k,setActiveSnapPoint:H,fixed:T,modal:B=!0,onClose:w,nested:M,noBodyStyles:A=!1,direction:d="bottom",defaultOpen:q=!1,disablePreventScroll:tt=!0,snapToSequentialPoint:s=!1,preventScrollRestoration:b=!1,repositionInputs:y=!0,onAnimationEnd:N,container:P,autoFocus:U=!1}){var u,F;const[_=!1,z]=ee({defaultProp:q,prop:t,onChange:l=>{n==null||n(l),!l&&!M&&fe(),setTimeout(()=>{N==null||N(l)},E.DURATION*1e3),l&&!B&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),l||(document.body.style.pointerEvents="auto")}}),[I,X]=r.default.useState(!1),[K,lt]=r.default.useState(!1),[ie,It]=r.default.useState(!1),rt=r.default.useRef(null),pt=r.default.useRef(null),xt=r.default.useRef(null),St=r.default.useRef(null),ut=r.default.useRef(null),st=r.default.useRef(!1),Rt=r.default.useRef(null),Dt=r.default.useRef(0),at=r.default.useRef(!1),Nt=r.default.useRef(!q),_t=r.default.useRef(0),c=r.default.useRef(null),jt=r.default.useRef(((u=c.current)==null?void 0:u.getBoundingClientRect().height)||0),Ht=r.default.useRef(((F=c.current)==null?void 0:F.getBoundingClientRect().width)||0),Tt=r.default.useRef(0),le=r.default.useCallback(l=>{o&&l===dt.length-1&&(pt.current=new Date)},[]),{activeSnapPoint:ue,activeSnapPointIndex:ot,setActiveSnapPoint:Lt,onRelease:se,snapPointsOffset:dt,onDrag:de,shouldFade:kt,getPercentageDragged:ce}=Be({snapPoints:o,activeSnapPointProp:k,setActiveSnapPointProp:H,drawerRef:c,fadeFromIndex:m,overlayRef:rt,onSnapPointChange:le,direction:d,container:P,snapToSequentialPoint:s});$e({isDisabled:!_||K||!B||ie||!I||!y||!tt});const{restorePositionSetting:fe}=ze({isOpen:_,modal:B,nested:M??!1,hasBeenOpened:I,preventScrollRestoration:b,noBodyStyles:A});function ht(){return(window.innerWidth-Mt)/window.innerWidth}function me(l){var x,R;!h&&!o||c.current&&!c.current.contains(l.target)||(jt.current=((x=c.current)==null?void 0:x.getBoundingClientRect().height)||0,Ht.current=((R=c.current)==null?void 0:R.getBoundingClientRect().width)||0,lt(!0),xt.current=new Date,Xt()&&window.addEventListener("touchend",()=>st.current=!1,{once:!0}),l.target.setPointerCapture(l.pointerId),Dt.current=C(d)?l.pageY:l.pageX)}function Bt(l,x){var R;let g=l;const O=(R=window.getSelection())==null?void 0:R.toString(),L=c.current?yt(c.current,d):null,j=new Date;if(g.tagName==="SELECT"||g.hasAttribute("data-vaul-no-drag")||g.closest("[data-vaul-no-drag]"))return!1;if(d==="right"||d==="left")return!0;if(pt.current&&j.getTime()-pt.current.getTime()<500)return!1;if(L!==null&&(d==="bottom"?L>0:L<0))return!0;if(O&&O.length>0)return!1;if(ut.current&&j.getTime()-ut.current.getTime()<D&&L===0||x)return ut.current=j,!1;for(;g;){if(g.scrollHeight>g.clientHeight){if(g.scrollTop!==0)return ut.current=new Date,!1;if(g.getAttribute("role")==="dialog")return!0}g=g.parentNode}return!0}function we(l){if(c.current&&K){const x=d==="bottom"||d==="right"?1:-1,R=(Dt.current-(C(d)?l.pageY:l.pageX))*x,g=R>0,O=o&&!h&&!g;if(O&&ot===0)return;const L=Math.abs(R),j=document.querySelector("[data-vaul-drawer-wrapper]"),G=d==="bottom"||d==="top"?jt.current:Ht.current;let V=L/G;const et=ce(L,g);if(et!==null&&(V=et),O&&V>=1||!st.current&&!Bt(l.target,g))return;if(c.current.classList.add($t),st.current=!0,$(c.current,{transition:"none"}),$(rt.current,{transition:"none"}),o&&de({draggedDistance:R}),g&&!o){const Y=_e(R),gt=Math.min(Y*-1,0)*x;$(c.current,{transform:C(d)?`translate3d(0, ${gt}px, 0)`:`translate3d(${gt}px, 0, 0)`});return}const J=1-V;if((kt||m&&ot===m-1)&&(a==null||a(l,V),$(rt.current,{opacity:`${J}`,transition:"none"},!0)),j&&rt.current&&v){const Y=Math.min(ht()+V*(1-ht()),1),gt=8-V*8,Ut=Math.max(0,14-V*14);$(j,{borderRadius:`${gt}px`,transform:C(d)?`scale(${Y}) translate3d(0, ${Ut}px, 0)`:`scale(${Y}) translate3d(${Ut}px, 0, 0)`,transition:"none"},!0)}if(!o){const Y=L*x;$(c.current,{transform:C(d)?`translate3d(0, ${Y}px, 0)`:`translate3d(${Y}px, 0, 0)`})}}}r.default.useEffect(()=>{window.requestAnimationFrame(()=>{Nt.current=!0})},[]),r.default.useEffect(()=>{var l;function x(){if(!c.current||!y)return;const R=document.activeElement;if(At(R)||at.current){var g;const O=((g=window.visualViewport)==null?void 0:g.height)||0,L=window.innerHeight;let j=L-O;const G=c.current.getBoundingClientRect().height||0,V=G>L*.8;Tt.current||(Tt.current=G);const et=c.current.getBoundingClientRect().top;if(Math.abs(_t.current-j)>60&&(at.current=!at.current),o&&o.length>0&&dt&&ot){const J=dt[ot]||0;j+=J}if(_t.current=j,G>O||at.current){const J=c.current.getBoundingClientRect().height;let Y=J;J>O&&(Y=O-(V?et:Mt)),T?c.current.style.height=`${J-Math.max(j,0)}px`:c.current.style.height=`${Math.max(Y,O-et)}px`}else Se()||(c.current.style.height=`${Tt.current}px`);o&&o.length>0&&!at.current?c.current.style.bottom="0px":c.current.style.bottom=`${Math.max(j,0)}px`}}return(l=window.visualViewport)==null||l.addEventListener("resize",x),()=>{var R;return(R=window.visualViewport)==null?void 0:R.removeEventListener("resize",x)}},[ot,o,dt]);function ct(l){pe(),w==null||w(),l||z(!1),setTimeout(()=>{o&&Lt(o[0])},E.DURATION*1e3)}function Ft(){if(!c.current)return;const l=document.querySelector("[data-vaul-drawer-wrapper]"),x=yt(c.current,d);$(c.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`}),$(rt.current,{transition:`opacity ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,opacity:"1"}),v&&x&&x>0&&_&&$(l,{borderRadius:`${Zt}px`,overflow:"hidden",...C(d)?{transform:`scale(${ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${E.DURATION}s`,transitionTimingFunction:`cubic-bezier(${E.EASE.join(",")})`},!0)}function pe(){!K||!c.current||(c.current.classList.remove($t),st.current=!1,lt(!1),St.current=new Date)}function he(l){if(!K||!c.current)return;c.current.classList.remove($t),st.current=!1,lt(!1),St.current=new Date;const x=yt(c.current,d);if(!l||!Bt(l.target,!1)||!x||Number.isNaN(x)||xt.current===null)return;const R=St.current.getTime()-xt.current.getTime(),g=Dt.current-(C(d)?l.pageY:l.pageX),O=Math.abs(g)/R;if(O>.05&&(It(!0),setTimeout(()=>{It(!1)},200)),o){se({draggedDistance:g*(d==="bottom"||d==="right"?1:-1),closeDrawer:ct,velocity:O,dismissible:h}),i==null||i(l,!0);return}if(d==="bottom"||d==="right"?g>0:g<0){Ft(),i==null||i(l,!0);return}if(O>Qt){ct(),i==null||i(l,!1);return}var L;const j=Math.min((L=c.current.getBoundingClientRect().height)!=null?L:0,window.innerHeight);var G;const V=Math.min((G=c.current.getBoundingClientRect().width)!=null?G:0,window.innerWidth),et=d==="left"||d==="right";if(Math.abs(x)>=(et?V:j)*S){ct(),i==null||i(l,!1);return}i==null||i(l,!0),Ft()}r.default.useEffect(()=>(_&&($(document.documentElement,{scrollBehavior:"auto"}),pt.current=new Date),()=>{Ne(document.documentElement,"scrollBehavior")}),[_]);function ge(l){const x=l?(window.innerWidth-nt)/window.innerWidth:1,R=l?-nt:0;Rt.current&&window.clearTimeout(Rt.current),$(c.current,{transition:`transform ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,transform:C(d)?`scale(${x}) translate3d(0, ${R}px, 0)`:`scale(${x}) translate3d(${R}px, 0, 0)`}),!l&&c.current&&(Rt.current=setTimeout(()=>{const g=yt(c.current,d);$(c.current,{transition:"none",transform:C(d)?`translate3d(0, ${g}px, 0)`:`translate3d(${g}px, 0, 0)`})},500))}function ve(l,x){if(x<0)return;const R=(window.innerWidth-nt)/window.innerWidth,g=R+x*(1-R),O=-nt+x*nt;$(c.current,{transform:C(d)?`scale(${g}) translate3d(0, ${O}px, 0)`:`scale(${g}) translate3d(${O}px, 0, 0)`,transition:"none"})}function ye(l,x){const R=C(d)?window.innerHeight:window.innerWidth,g=x?(R-nt)/R:1,O=x?-nt:0;x&&$(c.current,{transition:`transform ${E.DURATION}s cubic-bezier(${E.EASE.join(",")})`,transform:C(d)?`scale(${g}) translate3d(0, ${O}px, 0)`:`scale(${g}) translate3d(${O}px, 0, 0)`})}return r.default.useEffect(()=>{B||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[B]),r.default.createElement(Q.Root,{defaultOpen:q,onOpenChange:l=>{!h&&!l||(l?X(!0):ct(!0),z(l))},open:_},r.default.createElement(Yt.Provider,{value:{activeSnapPoint:ue,snapPoints:o,setActiveSnapPoint:Lt,drawerRef:c,overlayRef:rt,onOpenChange:n,onPress:me,onRelease:he,onDrag:we,dismissible:h,shouldAnimate:Nt,handleOnly:f,isOpen:_,isDragging:K,shouldFade:kt,closeDrawer:ct,onNestedDrag:ve,onNestedOpenChange:ge,onNestedRelease:ye,keyboardIsOpen:at,modal:B,snapPointsOffset:dt,activeSnapPointIndex:ot,direction:d,shouldScaleBackground:v,setBackgroundColorOnScale:p,noBodyStyles:A,container:P,autoFocus:U}},e))}const ne=r.default.forwardRef(function({...t},n){const{overlayRef:e,snapPoints:a,onRelease:i,shouldFade:o,isOpen:v,modal:p,shouldAnimate:S}=wt(),D=Gt(n,e),h=a&&a.length>0;if(!p)return null;const f=r.default.useCallback(m=>i(m),[i]);return r.default.createElement(Q.Overlay,{onMouseUp:f,ref:D,"data-vaul-overlay":"","data-vaul-snap-points":v&&h?"true":"false","data-vaul-snap-points-overlay":v&&o?"true":"false","data-vaul-animate":S!=null&&S.current?"true":"false",...t})});ne.displayName="Drawer.Overlay";const re=r.default.forwardRef(function({onPointerDownOutside:t,style:n,onOpenAutoFocus:e,...a},i){const{drawerRef:o,onPress:v,onRelease:p,onDrag:S,keyboardIsOpen:D,snapPointsOffset:h,activeSnapPointIndex:f,modal:m,isOpen:k,direction:H,snapPoints:T,container:B,handleOnly:w,shouldAnimate:M,autoFocus:A}=wt(),[d,q]=r.default.useState(!1),tt=Gt(i,o),s=r.default.useRef(null),b=r.default.useRef(null),y=r.default.useRef(!1),N=T&&T.length>0;Ue();const P=(u,F,_=0)=>{if(y.current)return!0;const z=Math.abs(u.y),I=Math.abs(u.x),X=I>z,K=["bottom","right"].includes(F)?1:-1;if(F==="left"||F==="right"){if(!(u.x*K<0)&&I>=0&&I<=_)return X}else if(!(u.y*K<0)&&z>=0&&z<=_)return!X;return y.current=!0,!0};r.default.useEffect(()=>{N&&window.requestAnimationFrame(()=>{q(!0)})},[]);function U(u){s.current=null,y.current=!1,p(u)}return r.default.createElement(Q.Content,{"data-vaul-drawer-direction":H,"data-vaul-drawer":"","data-vaul-delayed-snap-points":d?"true":"false","data-vaul-snap-points":k&&N?"true":"false","data-vaul-custom-container":B?"true":"false","data-vaul-animate":M!=null&&M.current?"true":"false",...a,ref:tt,style:h&&h.length>0?{"--snap-point-height":`${h[f??0]}px`,...n}:n,onPointerDown:u=>{w||(a.onPointerDown==null||a.onPointerDown.call(a,u),s.current={x:u.pageX,y:u.pageY},v(u))},onOpenAutoFocus:u=>{e==null||e(u),A||u.preventDefault()},onPointerDownOutside:u=>{if(t==null||t(u),!m||u.defaultPrevented){u.preventDefault();return}D.current&&(D.current=!1)},onFocusOutside:u=>{if(!m){u.preventDefault();return}},onPointerMove:u=>{if(b.current=u,w||(a.onPointerMove==null||a.onPointerMove.call(a,u),!s.current))return;const F=u.pageY-s.current.y,_=u.pageX-s.current.x,z=u.pointerType==="touch"?10:2;P({x:_,y:F},H,z)?S(u):(Math.abs(_)>z||Math.abs(F)>z)&&(s.current=null)},onPointerUp:u=>{a.onPointerUp==null||a.onPointerUp.call(a,u),s.current=null,y.current=!1,p(u)},onPointerOut:u=>{a.onPointerOut==null||a.onPointerOut.call(a,u),U(b.current)},onContextMenu:u=>{a.onContextMenu==null||a.onContextMenu.call(a,u),b.current&&U(b.current)}})});re.displayName="Drawer.Content";const Ve=250,qe=120,Ye=r.default.forwardRef(function({preventCycle:t=!1,children:n,...e},a){const{closeDrawer:i,isDragging:o,snapPoints:v,activeSnapPoint:p,setActiveSnapPoint:S,dismissible:D,handleOnly:h,isOpen:f,onPress:m,onDrag:k}=wt(),H=r.default.useRef(null),T=r.default.useRef(!1);function B(){if(T.current){A();return}window.setTimeout(()=>{w()},qe)}function w(){if(o||t||T.current){A();return}if(A(),!v||v.length===0){D||i();return}if(p===v[v.length-1]&&D){i();return}const q=v.findIndex(s=>s===p);if(q===-1)return;const tt=v[q+1];S(tt)}function M(){H.current=window.setTimeout(()=>{T.current=!0},Ve)}function A(){H.current&&window.clearTimeout(H.current),T.current=!1}return r.default.createElement("div",{onClick:B,onPointerCancel:A,onPointerDown:d=>{h&&m(d),M()},onPointerMove:d=>{h&&k(d)},ref:a,"data-vaul-drawer-visible":f?"true":"false","data-vaul-handle":"","aria-hidden":"true",...e},r.default.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},n))});Ye.displayName="Drawer.Handle";function Xe(t){const n=wt(),{container:e=n.container,...a}=t;return r.default.createElement(Q.Portal,{container:e,...a})}const Z={Root:We,Content:re,Overlay:ne,Trigger:Q.Trigger,Portal:Xe,Close:Q.Close,Title:Q.Title,Description:Q.Description};function Ke({...t}){return W.jsxRuntimeExports.jsx(Z.Root,{"data-slot":"drawer",...t})}function Ge({...t}){return W.jsxRuntimeExports.jsx(Z.Trigger,{"data-slot":"drawer-trigger",...t})}function ae({...t}){return W.jsxRuntimeExports.jsx(Z.Portal,{"data-slot":"drawer-portal",...t})}function Je({...t}){return W.jsxRuntimeExports.jsx(Z.Close,{"data-slot":"drawer-close",...t})}function oe({className:t,...n}){return W.jsxRuntimeExports.jsx(Z.Overlay,{"data-slot":"drawer-overlay",className:it.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-1000 bg-black/50",t),...n})}function Qe({className:t,children:n,...e}){return W.jsxRuntimeExports.jsxs(ae,{"data-slot":"drawer-portal",children:[W.jsxRuntimeExports.jsx(oe,{}),W.jsxRuntimeExports.jsx(Z.Content,{"data-slot":"drawer-content",className:it.cn("group/drawer-content fixed z-1000 flex h-auto flex-col bg-white","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-0","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...e,children:n})]})}function Ze({className:t,...n}){return W.jsxRuntimeExports.jsx("div",{"data-slot":"drawer-header",className:it.cn("flex flex-col gap-2 p-5",t),...n})}function tn({className:t,...n}){return W.jsxRuntimeExports.jsx("div",{"data-slot":"drawer-footer",className:it.cn("mt-auto flex flex-col gap-2 p-5",t),...n})}function en({className:t,...n}){return W.jsxRuntimeExports.jsx(Z.Title,{"data-slot":"drawer-title",className:it.cn("text-foreground font-semibold",t),...n})}function nn({className:t,...n}){return W.jsxRuntimeExports.jsx(Z.Description,{"data-slot":"drawer-description",className:it.cn("text-muted-foreground text-sm",t),...n})}exports.Drawer=Ke;exports.DrawerClose=Je;exports.DrawerContent=Qe;exports.DrawerDescription=nn;exports.DrawerFooter=tn;exports.DrawerHeader=Ze;exports.DrawerOverlay=oe;exports.DrawerPortal=ae;exports.DrawerTitle=en;exports.DrawerTrigger=Ge;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as z } from "../../chunks/jsx-runtime.OVHDjVDe.js";
|
|
2
|
-
import { O as he, a as ge, b as ve, C as ye, T as be, D as Se, R as Te, P as Re } from "../../chunks/index.
|
|
2
|
+
import { O as he, a as ge, b as ve, C as ye, T as be, D as Se, R as Te, P as Re } from "../../chunks/index.z1-FwbyF.js";
|
|
3
3
|
import * as De from "react";
|
|
4
4
|
import r, { useMemo as Ee, useLayoutEffect as xe, useEffect as Oe } from "react";
|
|
5
5
|
import { cn as ot } from "../../lib/utils.es.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../chunks/jsx-runtime.CrDL12FN.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../chunks/jsx-runtime.CrDL12FN.js"),V=require("react"),x=require("../../chunks/index.DIN2VJFB.js"),E=require("../../chunks/index.CKKuhuuw.js"),A=require("../../chunks/index.DSzDrqih.js"),h=require("../../chunks/index.BmpKbNvp.js"),L=require("../../chunks/index.BKwOnmIv.js"),m=require("../../chunks/index.DAZ7Rqfw.js"),y=require("../../chunks/index.Dp6n8vyp.js"),G=require("../../lib/utils.cjs.js"),O=require("../../chunks/index.DMhXgOEz.js");require("../../icons/src/icons/Alarm_fill.cjs.js");require("../../icons/src/icons/Cancel_circle.cjs.js");require("../../icons/src/icons/Check.cjs.js");require("../../icons/src/icons/Chevron_left.cjs.js");require("../../icons/src/icons/Chevron_right.cjs.js");require("../../icons/src/icons/Chevron_down.cjs.js");require("../../icons/src/icons/Cart_fill.cjs.js");require("../../icons/src/icons/Chevron_up.cjs.js");require("../../icons/src/icons/Double_Chevron_right.cjs.js");require("../../icons/src/icons/Eye_slash_fill.cjs.js");require("../../icons/src/icons/Filter.cjs.js");require("../../icons/src/icons/Double_Chevron_left.cjs.js");require("../../icons/src/icons/Calendar.cjs.js");require("../../icons/src/icons/Eye_fill.cjs.js");require("../../icons/src/icons/Person_fill.cjs.js");require("../../icons/src/icons/More.cjs.js");require("../../icons/src/icons/Question_circle.cjs.js");require("../../icons/src/icons/Search.cjs.js");require("../../icons/src/icons/Plus.cjs.js");require("../../icons/src/icons/Setting_fill.cjs.js");require("../../icons/src/icons/Share.cjs.js");require("../../icons/src/icons/Information.cjs.js");require("../../icons/src/icons/Re.cjs.js");require("../../icons/src/icons/Menu.cjs.js");const B=require("../../icons/src/icons/Cancel.cjs.js");require("../../icons/src/icons/Store.cjs.js");function K(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const u=K(V);var j="Popover",[q,xe]=x.createContextScope(j,[m.createPopperScope]),R=m.createPopperScope(),[U,f]=q(j),_=e=>{const{__scopePopover:t,children:o,open:i,defaultOpen:r,onOpenChange:n,modal:a=!1}=e,c=R(t),p=u.useRef(null),[l,v]=u.useState(!1),[g,d]=x.useControllableState({prop:i,defaultProp:r??!1,onChange:n,caller:j});return s.jsxRuntimeExports.jsx(m.Root2,{...c,children:s.jsxRuntimeExports.jsx(U,{scope:t,contentId:L.useId(),triggerRef:p,open:g,onOpenChange:d,onOpenToggle:u.useCallback(()=>d(C=>!C),[d]),hasCustomAnchor:l,onCustomAnchorAdd:u.useCallback(()=>v(!0),[]),onCustomAnchorRemove:u.useCallback(()=>v(!1),[]),modal:a,children:o})})};_.displayName=j;var w="PopoverAnchor",T=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=f(w,o),n=R(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:c}=r;return u.useEffect(()=>(a(),()=>c()),[a,c]),s.jsxRuntimeExports.jsx(m.Anchor,{...n,...i,ref:t})});T.displayName=w;var S="PopoverTrigger",I=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=f(S,o),n=R(o),a=E.useComposedRefs(t,r.triggerRef),c=s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":$(r.open),...i,ref:a,onClick:x.composeEventHandlers(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?c:s.jsxRuntimeExports.jsx(m.Anchor,{asChild:!0,...n,children:c})});I.displayName=S;var b="PopoverPortal",[W,Z]=q(b,{forceMount:void 0}),N=e=>{const{__scopePopover:t,forceMount:o,children:i,container:r}=e,n=f(b,t);return s.jsxRuntimeExports.jsx(W,{scope:t,forceMount:o,children:s.jsxRuntimeExports.jsx(y.Presence,{present:o||n.open,children:s.jsxRuntimeExports.jsx(A.Portal,{asChild:!0,container:r,children:i})})})};N.displayName=b;var P="PopoverContent",F=u.forwardRef((e,t)=>{const o=Z(P,e.__scopePopover),{forceMount:i=o.forceMount,...r}=e,n=f(P,e.__scopePopover);return s.jsxRuntimeExports.jsx(y.Presence,{present:i||n.open,children:n.modal?s.jsxRuntimeExports.jsx(Q,{...r,ref:t}):s.jsxRuntimeExports.jsx(X,{...r,ref:t})})});F.displayName=P;var J=E.createSlot("PopoverContent.RemoveScroll"),Q=u.forwardRef((e,t)=>{const o=f(P,e.__scopePopover),i=u.useRef(null),r=E.useComposedRefs(t,i),n=u.useRef(!1);return u.useEffect(()=>{const a=i.current;if(a)return h.hideOthers(a)},[]),s.jsxRuntimeExports.jsx(h.ReactRemoveScroll,{as:J,allowPinchZoom:!0,children:s.jsxRuntimeExports.jsx(M,{...e,ref:r,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:x.composeEventHandlers(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),n.current||(c=o.triggerRef.current)==null||c.focus()}),onPointerDownOutside:x.composeEventHandlers(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,p=c.button===0&&c.ctrlKey===!0,l=c.button===2||p;n.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:x.composeEventHandlers(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),X=u.forwardRef((e,t)=>{const o=f(P,e.__scopePopover),i=u.useRef(!1),r=u.useRef(!1);return s.jsxRuntimeExports.jsx(M,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var a,c;(a=e.onCloseAutoFocus)==null||a.call(e,n),n.defaultPrevented||(i.current||(c=o.triggerRef.current)==null||c.focus(),n.preventDefault()),i.current=!1,r.current=!1},onInteractOutside:n=>{var p,l;(p=e.onInteractOutside)==null||p.call(e,n),n.defaultPrevented||(i.current=!0,n.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const a=n.target;((l=o.triggerRef.current)==null?void 0:l.contains(a))&&n.preventDefault(),n.detail.originalEvent.type==="focusin"&&r.current&&n.preventDefault()}})}),M=u.forwardRef((e,t)=>{const{__scopePopover:o,trapFocus:i,onOpenAutoFocus:r,onCloseAutoFocus:n,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:l,onInteractOutside:v,...g}=e,d=f(P,o),C=R(o);return h.useFocusGuards(),s.jsxRuntimeExports.jsx(h.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:r,onUnmountAutoFocus:n,children:s.jsxRuntimeExports.jsx(A.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:v,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:l,onDismiss:()=>d.onOpenChange(!1),children:s.jsxRuntimeExports.jsx(m.Content,{"data-state":$(d.open),role:"dialog",id:d.contentId,...C,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",D=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=f(k,o);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...i,ref:t,onClick:x.composeEventHandlers(e.onClick,()=>r.onOpenChange(!1))})});D.displayName=k;var Y="PopoverArrow",H=u.forwardRef((e,t)=>{const{__scopePopover:o,...i}=e,r=R(o);return s.jsxRuntimeExports.jsx(m.Arrow,{...r,...i,ref:t})});H.displayName=Y;function $(e){return e?"open":"closed"}var ee=_,te=T,oe=I,re=N,ne=F,se=D,ie=H;const ae=O.cva("z-50 overflow-visible rounded-[8px] px-[15px] py-[12.5px] animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border-0 typo-b2",{variants:{color:{pink:"bg-pink-400 text-gray-25",blue:"bg-blue-400 text-gray-25",gray:"bg-gray-700 text-gray-25",lime:"bg-lime-400 text-gray-25"}},defaultVariants:{color:"gray"}}),ce=O.cva("-my-px border-none",{variants:{color:{pink:"fill-pink-400",gray:"fill-gray-700",blue:"fill-blue-400",lime:"fill-lime-400"}},defaultVariants:{color:"gray"}});function ue({defaultOpen:e=!0,...t}){return s.jsxRuntimeExports.jsx(ee,{"data-slot":"impact-tooltip",defaultOpen:e,...t})}function pe({...e}){return s.jsxRuntimeExports.jsx(oe,{"data-slot":"impact-tooltip-trigger",...e})}function le({className:e,...t}){return s.jsxRuntimeExports.jsx(te,{"data-slot":"impact-tooltip-anchor",className:e,...t})}function de({color:e,className:t,align:o="center",side:i="top",sideOffset:r=8,collisionPadding:n=20,arrowPadding:a=8.8,children:c,closeButton:p=!1,avoidCollisions:l=!0,hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",...d}){return s.jsxRuntimeExports.jsx(re,{forceMount:d.forceMount,children:s.jsxRuntimeExports.jsxs(ne,{"data-slot":"impact-tooltip-content",side:i,align:o,sideOffset:r,collisionPadding:n,arrowPadding:a,className:G.cn(ae({color:e,className:t})),avoidCollisions:l,hideWhenDetached:v,updatePositionStrategy:g,...d,children:[s.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-1.25",children:[c,p&&s.jsxRuntimeExports.jsx(z,{children:s.jsxRuntimeExports.jsx(B.default,{size:15})})]}),s.jsxRuntimeExports.jsx(ie,{className:ce({color:e}),width:12,height:6,style:{visibility:"visible"}})]})})}function z({...e}){return s.jsxRuntimeExports.jsx(se,{"data-slot":"impact-tooltip-close",...e})}exports.ImpactTooltip=ue;exports.ImpactTooltipAnchor=le;exports.ImpactTooltipCloseButton=z;exports.ImpactTooltipContent=de;exports.ImpactTooltipTrigger=pe;
|
|
@@ -6,11 +6,11 @@ declare const impactTooltipVariants: (props?: ({
|
|
|
6
6
|
} & import('../../../node_modules/class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function ImpactTooltip({ defaultOpen, ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
|
|
8
8
|
declare function ImpactTooltipTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
|
|
9
|
+
declare function ImpactTooltipAnchor({ className, ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
|
|
9
10
|
type ImpactTooltipContentProps = React.ComponentProps<typeof PopoverPrimitive.Content> & VariantProps<typeof impactTooltipVariants> & {
|
|
10
11
|
closeButton?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare function ImpactTooltipContent({ color, className, align, sideOffset, collisionPadding, arrowPadding, children, closeButton, ...props }: ImpactTooltipContentProps): React.JSX.Element;
|
|
13
|
-
declare function ImpactTooltipAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
|
|
13
|
+
declare function ImpactTooltipContent({ color, className, align, side, sideOffset, collisionPadding, arrowPadding, children, closeButton, avoidCollisions, hideWhenDetached, updatePositionStrategy, ...props }: ImpactTooltipContentProps): React.JSX.Element;
|
|
14
14
|
declare function ImpactTooltipCloseButton({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Close>): React.JSX.Element;
|
|
15
15
|
export { ImpactTooltip, ImpactTooltipTrigger, ImpactTooltipContent, ImpactTooltipAnchor, ImpactTooltipCloseButton };
|
|
16
16
|
export type { ImpactTooltipContentProps };
|