From d72cb3b7129dd029f01decc605b7b3bc1b7d1124 Mon Sep 17 00:00:00 2001 From: Jasenko Karovic Date: Wed, 23 Feb 2022 20:07:38 +0100 Subject: [PATCH] chore: Update documentation --- docs/404.html | 4 +- docs/api/components/index.html | 10 +- docs/api/events/index.html | 4 +- docs/api/methods/index.html | 4 +- docs/api/props/index.html | 195 ++++++++++-------- docs/api/slots/index.html | 56 ++--- .../{404.819d44fa.js => 404.1c33d600.js} | 2 +- ...p.07ec064d.js => ActionRowCmp.7ddd8168.js} | 2 +- ...263a012.js => ChevronLeftIcon.372fa3fd.js} | 2 +- ...bc751b.js => ChevronRightIcon.eeabd44a.js} | 2 +- ...78.js => CustomComponentsDemo.16db53fd.js} | 2 +- ...kDemo.dea8e553.js => DarkDemo.729ef4f2.js} | 2 +- .../{Demo.51f1970e.js => Demo.e8319be8.js} | 2 +- ...rs.ef846be7.js => DemoMarkers.3b5bf9fd.js} | 2 +- ...lots.2107dd76.js => DemoSlots.d0a31d94.js} | 2 +- ...658ae.js => DisabledDatesDemo.77c59ba6.js} | 2 +- ...Demo.314dac38.js => EmptyDemo.5e042d8b.js} | 2 +- docs/assets/FiltersDemo.84768818.js | 1 + docs/assets/FiltersDemo.e92c7f66.js | 1 - ...emo.f1530b4e.js => FormatDemo.86175ef4.js} | 2 +- ...{Layout.03bc1710.js => Layout.775e7c81.js} | 2 +- ...d8b1ffc.js => LocalizedOutput.47ed9bce.js} | 2 +- docs/assets/MinMaxDemo.1529e32d.js | 1 + docs/assets/MinMaxDemo.f68174f0.js | 1 - ...p.230f9dab.js => MonthYearCmp.907d4806.js} | 2 +- ...ge.bbc2c59c.js => PresetRange.6bbff610.js} | 2 +- ...b3469.js => PreviewFormatDemo.e4f9a976.js} | 2 +- ...o.e302d10c.js => RequiredDemo.955c5dd4.js} | 2 +- ....4dfdd665.js => TextInputDemo.2897a654.js} | 2 +- ....dd3f23ba.js => TimePickerCmp.186b88a7.js} | 2 +- docs/assets/TimezoneDemo.aa5179a9.js | 1 + .../{app.216eec89.js => app.bce967f0.js} | 10 +- .../{index.81427e26.js => index.46473391.js} | 2 +- ...tml.41aad806.js => index.html.1055a0f0.js} | 195 ++++++++++-------- docs/assets/index.html.12f71322.js | 1 + ...tml.563e6534.js => index.html.1cf36832.js} | 2 +- ...tml.2df74fe8.js => index.html.4b502edb.js} | 2 +- ...tml.703c5310.js => index.html.4f4badc1.js} | 2 +- docs/assets/index.html.79494550.js | 1 - ...tml.b5abd479.js => index.html.86ad4a51.js} | 2 +- ...tml.a2207b39.js => index.html.909ed922.js} | 2 +- ...tml.316170ee.js => index.html.94c6d9be.js} | 2 +- ...tml.9bb26c27.js => index.html.9d6ff572.js} | 6 +- ...tml.4f680e31.js => index.html.abc6c371.js} | 2 +- ...tml.601c32cc.js => index.html.ded16fc5.js} | 2 +- .../vue3-date-time-picker.esm.37fef68f.js | 3 + .../vue3-date-time-picker.esm.f6c600f4.js | 3 - docs/customization/scss/index.html | 4 +- docs/customization/theming/index.html | 4 +- docs/index.html | 4 +- docs/installation/index.html | 4 +- 51 files changed, 303 insertions(+), 268 deletions(-) rename docs/assets/{404.819d44fa.js => 404.1c33d600.js} (89%) rename docs/assets/{ActionRowCmp.07ec064d.js => ActionRowCmp.7ddd8168.js} (87%) rename docs/assets/{ChevronLeftIcon.d263a012.js => ChevronLeftIcon.372fa3fd.js} (88%) rename docs/assets/{ChevronRightIcon.89bc751b.js => ChevronRightIcon.eeabd44a.js} (88%) rename docs/assets/{CustomComponentsDemo.e6e0dc78.js => CustomComponentsDemo.16db53fd.js} (50%) rename docs/assets/{DarkDemo.dea8e553.js => DarkDemo.729ef4f2.js} (76%) rename docs/assets/{Demo.51f1970e.js => Demo.e8319be8.js} (93%) rename docs/assets/{DemoMarkers.ef846be7.js => DemoMarkers.3b5bf9fd.js} (84%) rename docs/assets/{DemoSlots.2107dd76.js => DemoSlots.d0a31d94.js} (86%) rename docs/assets/{DisabledDatesDemo.859658ae.js => DisabledDatesDemo.77c59ba6.js} (82%) rename docs/assets/{EmptyDemo.314dac38.js => EmptyDemo.5e042d8b.js} (91%) create mode 100644 docs/assets/FiltersDemo.84768818.js delete mode 100644 docs/assets/FiltersDemo.e92c7f66.js rename docs/assets/{FormatDemo.f1530b4e.js => FormatDemo.86175ef4.js} (82%) rename docs/assets/{Layout.03bc1710.js => Layout.775e7c81.js} (99%) rename docs/assets/{LocalizedOutput.cd8b1ffc.js => LocalizedOutput.47ed9bce.js} (71%) create mode 100644 docs/assets/MinMaxDemo.1529e32d.js delete mode 100644 docs/assets/MinMaxDemo.f68174f0.js rename docs/assets/{MonthYearCmp.230f9dab.js => MonthYearCmp.907d4806.js} (88%) rename docs/assets/{PresetRange.bbc2c59c.js => PresetRange.6bbff610.js} (77%) rename docs/assets/{PreviewFormatDemo.ffcb3469.js => PreviewFormatDemo.e4f9a976.js} (75%) rename docs/assets/{RequiredDemo.e302d10c.js => RequiredDemo.955c5dd4.js} (61%) rename docs/assets/{TextInputDemo.4dfdd665.js => TextInputDemo.2897a654.js} (72%) rename docs/assets/{TimePickerCmp.dd3f23ba.js => TimePickerCmp.186b88a7.js} (95%) create mode 100644 docs/assets/TimezoneDemo.aa5179a9.js rename docs/assets/{app.216eec89.js => app.bce967f0.js} (90%) rename docs/assets/{index.81427e26.js => index.46473391.js} (99%) rename docs/assets/{index.html.41aad806.js => index.html.1055a0f0.js} (96%) create mode 100644 docs/assets/index.html.12f71322.js rename docs/assets/{index.html.563e6534.js => index.html.1cf36832.js} (99%) rename docs/assets/{index.html.2df74fe8.js => index.html.4b502edb.js} (99%) rename docs/assets/{index.html.703c5310.js => index.html.4f4badc1.js} (94%) delete mode 100644 docs/assets/index.html.79494550.js rename docs/assets/{index.html.b5abd479.js => index.html.86ad4a51.js} (99%) rename docs/assets/{index.html.a2207b39.js => index.html.909ed922.js} (97%) rename docs/assets/{index.html.316170ee.js => index.html.94c6d9be.js} (94%) rename docs/assets/{index.html.9bb26c27.js => index.html.9d6ff572.js} (99%) rename docs/assets/{index.html.4f680e31.js => index.html.abc6c371.js} (98%) rename docs/assets/{index.html.601c32cc.js => index.html.ded16fc5.js} (99%) create mode 100644 docs/assets/vue3-date-time-picker.esm.37fef68f.js delete mode 100644 docs/assets/vue3-date-time-picker.esm.f6c600f4.js diff --git a/docs/404.html b/docs/404.html index d82ae49..d4f3f27 100644 --- a/docs/404.html +++ b/docs/404.html @@ -23,11 +23,11 @@ } Vue 3 Datepicker - +

404

There's nothing here.
Take me home
- + diff --git a/docs/api/components/index.html b/docs/api/components/index.html index 6ef6a2c..eb06ac4 100644 --- a/docs/api/components/index.html +++ b/docs/api/components/index.html @@ -23,11 +23,11 @@ } Components | Vue 3 Datepicker - + -

Components

Customize the datepicker with your custom components

WARNING

Make sure to properly read the documentation and check the examples on how to pass and configure a custom component. Wrong implementation may result in errors

TIP

You can use css variables inside custom components if you need to style for the theme

monthYearComponent

Create and use a custom component in the header for month/year select

The component will receive the following props:

  • months: { value: number; text: string }[] -> value: 0-11, text: name of the month
  • years: { value: number; text: string }[] -> generated array of years based on provided range, text and value are the same
  • filters: filters prop
  • monthPicker: monthPicker prop
  • month: number -> This is the value of the selected month
  • year : number -> This is the value of the selected year
  • customProps: Record<string, unknown> -> Your custom props
  • instance: number -> In case you are using multiCalendars prop, it will be 1 or 2
  • minDate: Date | string -> minDate prop
  • maxDate: Date | string -> maxDate prop

Important

To update the month and the year value make sure to emit the following:

  • Month
    • Event: update:month
    • Value: number
  • Year
    • Event: update:year
    • Value: number
  • Handler event
    • Event: updateMonthYear
    • Value: boolean (only when updating year)
Code Example
<template>
+    

Components

Customize the datepicker with your custom components

WARNING

Make sure to properly read the documentation and check the examples on how to pass and configure a custom component. Wrong implementation may result in errors

TIP

You can use css variables inside custom components if you need to style for the theme

monthYearComponent

Create and use a custom component in the header for month/year select

The component will receive the following props:

  • months: { value: number; text: string }[] -> value: 0-11, text: name of the month
  • years: { value: number; text: string }[] -> generated array of years based on provided range, text and value are the same
  • filters: filters prop
  • monthPicker: monthPicker prop
  • month: number -> This is the value of the selected month
  • year : number -> This is the value of the selected year
  • customProps: Record<string, unknown> -> Your custom props
  • instance: number -> In case you are using multiCalendars prop, it will be 1 or 2
  • minDate: Date | string -> minDate prop
  • maxDate: Date | string -> maxDate prop

Important

To update the month and the year value make sure to emit the following:

  • Month
    • Event: update:month
    • Value: number
  • Year
    • Event: update:year
    • Value: number
  • Handler event
    • Event: updateMonthYear
    • Value: boolean (only when updating year)
Code Example
<template>
     <Datepicker v-model="date" :month-year-component="monthYear" />
 </template>
 
@@ -185,7 +185,7 @@
   }
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134

timePickerComponent

Create and use a custom component for the time picker

The component will receive the following props:

Note: hours and minutes values will be arrays if range picker mode is active.

Important

To update the hours and the minutes values make sure to emit the following:

  • Hours
    • Event: update:hours
    • Value: number | [number, number]
  • Minutes
    • Event: update:minutes
    • Value: number | [number, number]

Note: Keep in mind that when you are using the range picker, both values for the time must be emitted. For example if you want to update the second date hours, you will emit something like this emit('update:hours', [firstValueSaved, newSecondValue])

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134

timePickerComponent

Create and use a custom component for the time picker

The component will receive the following props:

Note: hours and minutes values will be arrays if range picker mode is active.

Important

To update the hours and the minutes values make sure to emit the following:

  • Hours
    • Event: update:hours
    • Value: number | [number, number]
  • Minutes
    • Event: update:minutes
    • Value: number | [number, number]

Note: Keep in mind that when you are using the range picker, both values for the time must be emitted. For example if you want to update the second date hours, you will emit something like this emit('update:hours', [firstValueSaved, newSecondValue])

Code Example
<template>
     <Datepicker v-model="date" :time-picker-component="timePicker" />
 </template>
 
@@ -295,7 +295,7 @@
         outline: none;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

actionRowComponent

Create and use a custom component for action row

The component will receive the following props:

Info

Two events are available from this component to emit:

  • selectDate: Selects the current selection
  • closePicker: Closes the datepicker menu
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

actionRowComponent

Create and use a custom component for action row

The component will receive the following props:

Info

Two events are available from this component to emit:

  • selectDate: Selects the current selection
  • closePicker: Closes the datepicker menu
Code Example
<template>
     <Datepicker v-model="date" :action-row-component="actionRow" />
 </template>
 
@@ -411,6 +411,6 @@
 }
 </script>
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Last Updated:
- + diff --git a/docs/api/events/index.html b/docs/api/events/index.html index 33d171d..37045bd 100644 --- a/docs/api/events/index.html +++ b/docs/api/events/index.html @@ -23,11 +23,11 @@ } Events | Vue 3 Datepicker - +

Events

List of available events that are emitted on some action

@update:modelValue

This event is emitted when the value is selected. This is a v-model binding event

@textSubmit

When textInput prop is set to true and enterSubmit is set to true in textInputOptions, when enter button is pressed, this event will be emitted

@open

Emitted when the datepicker menu is opened

@closed

Emitted when the datepicker menu is closed

@cleared

Emitted when the value is cleared on clear button

@focus

Emitted when the datepicker menu is open

@blur

Emitted when the datepicker menu is closed

@internalModelChange

Emitted when the internal modelValue is changed before selecting this date that will be set to v-model

@recalculatePosition

Emitted when the menu position is recalculated

@flowStep

Emitted when the flow step is triggered

Will have one param

  • step: Executed flow step
Last Updated:
- + diff --git a/docs/api/methods/index.html b/docs/api/methods/index.html index 7593a63..e0bc686 100644 --- a/docs/api/methods/index.html +++ b/docs/api/methods/index.html @@ -23,11 +23,11 @@ } Methods | Vue 3 Datepicker - +

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

selectDate

When called and there is an active selection, it will select that date.

closeMenu

Closes the datepicker menu

openMenu

Opens the datepicker menu

clearValue

Clears the selected value

Last Updated:
- + diff --git a/docs/api/props/index.html b/docs/api/props/index.html index 75fd231..e92fd72 100644 --- a/docs/api/props/index.html +++ b/docs/api/props/index.html @@ -23,11 +23,11 @@ } Props | Vue 3 Datepicker - + -

Props

List of available props

Info

  • When checking examples, for boolean prop types, the example will show opposite behavior than what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, is24 as is-24 and so on

Modes

Set the default mode for the datepicker

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean
  • Default: false
Code Example
<template>
+    

Props

List of available props

Info

  • When checking examples, for boolean prop types, the example will show opposite behavior than what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, is24 as is-24 and so on

Modes

Set the default mode for the datepicker

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" range />
 </template>
 
@@ -51,7 +51,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

autoRange

Predefine range to select

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

autoRange

Predefine range to select

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" range auto-range="5" />
 </template>
 
@@ -68,7 +68,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiCalendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

range prop must be enabled

  • Type: boolean | number | string
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiCalendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

range prop must be enabled

  • Type: boolean | number | string
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" range multiCalendars />
 </template>
 
@@ -91,7 +91,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

monthPicker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false

Note: When using this mode, range picker is not available

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

monthPicker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false

Note: When using this mode, range picker is not available

Code Example
<template>
     <Datepicker v-model="month" monthPicker />
 </template>
 
@@ -111,7 +111,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

timePicker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

timePicker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="time" timePicker />
 </template>
 
@@ -131,7 +131,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

textInput

When enabled, will try to parse the date from the user input. You can also adjust the default behavior by providing text input options

Text input works with all picker modes.

  • Type: boolean
  • Default: false

Drawbacks:

  • Validation properties will not work in the text input
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

textInput

When enabled, will try to parse the date from the user input. You can also adjust the default behavior by providing text input options

Text input works with all picker modes.

  • Type: boolean
  • Default: false

Drawbacks:

  • Validation properties will not work in the text input
Code Example
<template>
     <Datepicker v-model="date" placeholder="Start Typing ..." textInput />
 </template>
 
@@ -148,7 +148,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inline

Removes the input field and places the calendar in your parent component

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inline

Removes the input field and places the calendar in your parent component

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" inline autoApply />
 </template>
 
@@ -165,7 +165,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiDates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiDates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" multiDates />
 </template>
 
@@ -182,7 +182,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
Code Example
<template>
     <Datepicker v-model="date" :flow="flow" />
 </template>
 
@@ -201,7 +201,24 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

partialRange

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

utc

Output date(s) will be in UTC timezone string. You can use this if you gather dates from different timezones and want to send the date directly to the server

  • Type: boolean
  • Default: false
Code Example
<template>
+    <Datepicker v-model="date" utc />
+</template>
+
+<script>
+import { ref } from 'vue';
+
+export default {
+    setup() {
+        const date = ref();
+        
+        return {
+          date,
+        }
+    }
+}
+</script>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

partialRange

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" range :partialRange="false" />
 </template>
 
@@ -218,7 +235,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

presetRanges

When configured, it will provide a sidebar with configured range that user can select

Info

range prop must be enabled

  • Type: { label: string; range: Date[] | string[] }[]
  • Default: []
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

presetRanges

When configured, it will provide a sidebar with configured range that user can select

Info

range prop must be enabled

  • Type: { label: string; range: Date[] | string[] }[]
  • Default: []
Code Example
<template>
     <Datepicker v-model="date" range :presetRanges="presetRanges" />
 </template>
 
@@ -247,7 +264,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Info

range prop must be enabled

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Info

range prop must be enabled

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" range minRange="3" />
 </template>
 
@@ -264,7 +281,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" range maxRange="7" />
 </template>
 
@@ -281,7 +298,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

fixedStart

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

fixedStart

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" range fixedStart :clearable="false" />
 </template>
 
@@ -305,7 +322,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

fixedEnd

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

fixedEnd

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" range fixedEnd :clearable="false" />
 </template>
 
@@ -329,7 +346,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

multiCalendarsSolo

When enabled, both calendars will be independent of each other

Info

range and multiCalendars props must be enabled

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

multiCalendarsSolo

When enabled, both calendars will be independent of each other

Info

range and multiCalendars props must be enabled

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" range multiCalendars multiCalendarsSolo />
 </template>
 
@@ -352,7 +369,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

textInputOptions

Configuration for textInput prop

  • Type: { enterSubmit?: boolean; tabSubmit?: boolean; openMenu?: boolean; format?: string; rangeSeparator?: string }
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

textInputOptions

Configuration for textInput prop

  • Type: { enterSubmit?: boolean; tabSubmit?: boolean; openMenu?: boolean; format?: string; rangeSeparator?: string }
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
Code Example
<template>
     <Datepicker 
       v-model="date"
       placeholder="Start Typing ..."
@@ -377,7 +394,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

modeHeight

If you use monthPicker and timePicker, set custom height of the picker in px

  • Type: number | string
  • Default: 255
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

modeHeight

If you use monthPicker and timePicker, set custom height of the picker in px

  • Type: number | string
  • Default: 255
Code Example
<template>
     <Datepicker v-model="time" timePicker modeHeight="120" />
 </template>
 
@@ -397,7 +414,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

inlineWithInput

Use input with the inline mode, useful if you enable textInput

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

inlineWithInput

Use input with the inline mode, useful if you enable textInput

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" inline inlineWithInput autoApply />
 </template>
 
@@ -414,7 +431,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Formatting

Format options for the value displayed in the input or preview

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | (params: Date | Date[]) => string
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'

Info

If is24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokensopen in new window

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Formatting

Format options for the value displayed in the input or preview

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | (params: Date | Date[]) => string
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'

Info

If is24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokensopen in new window

Code Example
<template>
     <Datepicker v-model="date" :format="format" />
 </template>
 
@@ -441,7 +458,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

previewFormat

Format the value of the date(s) in the action row

  • Type: string | (params: Date | Date[]) => string
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

previewFormat

Format the value of the date(s) in the action row

  • Type: string | (params: Date | Date[]) => string
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

Code Example
<template>
     <Datepicker v-model="date" :previewFormat="format" />
 </template>
 
@@ -468,7 +485,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

monthNameFormat

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

monthNameFormat

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
Code Example
<template>
     <Datepicker v-model="date" monthNameFormat="long" />
 </template>
 
@@ -485,7 +502,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Localization

Localization options and label props

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Localization

Localization options and label props

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
Code Example
<template>
     <Datepicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
@@ -502,7 +519,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

formatLocale

Specify localized format output. This prop uses Locale object from date-fns library

For more info about supported locales or adding a custom locale object, please visit date-fns documentationopen in new window

  • Type: Locale
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

formatLocale

Specify localized format output. This prop uses Locale object from date-fns library

For more info about supported locales or adding a custom locale object, please visit date-fns documentationopen in new window

  • Type: Locale
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :format-locale="ja" format="E" />
 </template>
 
@@ -521,7 +538,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

selectText

Select text label in the action row

  • Type: string
  • Default: 'Select'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

selectText

Select text label in the action row

  • Type: string
  • Default: 'Select'
Code Example
<template>
     <Datepicker v-model="date" selectText="Pick" />
 </template>
 
@@ -538,7 +555,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cancelText

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cancelText

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
Code Example
<template>
     <Datepicker v-model="date" cancelText="Close" />
 </template>
 
@@ -555,7 +572,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

nowButtonLabel

Change the text for now button

  • Type: string
  • Default: 'Now'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

nowButtonLabel

Change the text for now button

  • Type: string
  • Default: 'Now'
Code Example
<template>
     <Datepicker v-model="date" showNowButton nowButtonLabel="Current" />
 </template>
 
@@ -572,7 +589,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

weekNumName

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

weekNumName

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
Code Example
<template>
     <Datepicker v-model="date" weekNumbers weekNumName="We" />
 </template>
 
@@ -589,7 +606,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

General configuration

General behavior props configuration

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

General configuration

General behavior props configuration

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" uid="demo" />
 </template>
 
@@ -606,7 +623,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnScroll

Scrolling the mouse wheel over the calendar will change the month. Scroll up for next month and vice versa

You can also set the value to 'inverse', so that scroll up will go to the previous month and down on the next

  • Type: boolean | 'inverse'
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnScroll

Scrolling the mouse wheel over the calendar will change the month. Scroll up for next month and vice versa

You can also set the value to 'inverse', so that scroll up will go to the previous month and down on the next

  • Type: boolean | 'inverse'
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :monthChangeOnScroll="false" />
 </template>
 
@@ -648,7 +665,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :clearable="false" />
 </template>
 
@@ -665,7 +682,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnScroll

Close datepicker menu on page scroll

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnScroll

Close datepicker menu on page scroll

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" closeOnScroll />
 </template>
 
@@ -682,7 +699,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoApply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoApply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" autoApply />
 </template>
 
@@ -699,7 +716,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

placeholder

Input placeholder

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

placeholder

Input placeholder

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" placeholder="Select Date" />
 </template>
 
@@ -716,7 +733,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noToday

Hide today mark from the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noToday

Hide today mark from the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" noToday />
 </template>
 
@@ -733,7 +750,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnAutoApply

If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnAutoApply

If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" autoApply :closeOnAutoApply="false" />
 </template>
 
@@ -756,7 +773,7 @@
 tooltip?: { text: string; color?: string }[];
 color?: string;
 }[]
-
1
2
3
4
5
6
  • Default: []
Code Example
<template>
+
1
2
3
4
5
6
  • Default: []
Code Example
<template>
     <Datepicker v-model="date" :markers="markers" />
 </template>
 
@@ -795,7 +812,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

showNowButton

Enable button to select current date and time

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

showNowButton

Enable button to select current date and time

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" showNowButton />
 </template>
 
@@ -812,7 +829,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

disabled

Disables the input

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

disabled

Disables the input

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" disabled />
 </template>
 
@@ -829,7 +846,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" readonly />
 </template>
 
@@ -846,7 +863,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
Code Example
<template>
     <form @submit.prevent="submitForm">
       <Datepicker v-model="date" required />
       <button type="submit">Submit form</button>
@@ -871,7 +888,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

name

Sets the input name attribute

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

name

Sets the input name attribute

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" name="date-picker" />
 </template>
 
@@ -888,7 +905,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" autocomplete="off" />
 </template>
 
@@ -905,7 +922,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Calendar configuration

Configure calendar options such as behavior or available dates

weekNumbers

Display week numbers in the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Calendar configuration

Configure calendar options such as behavior or available dates

weekNumbers

Display week numbers in the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" weekNumbers />
 </template>
 
@@ -922,7 +939,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideOffsetDates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideOffsetDates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" hideOffsetDates />
 </template>
 
@@ -939,7 +956,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minDate

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minDate

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :minDate="new Date()" />
 </template>
 
@@ -956,7 +973,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxDate

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxDate

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :maxDate="new Date()" />
 </template>
 
@@ -973,7 +990,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

preventMinMaxNavigation

Prevent navigation after or before the minDate or mixDate

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

preventMinMaxNavigation

Prevent navigation after or before the minDate or mixDate

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" :minDate="minDate" :maxDate="maxDate" preventMinMaxNavigation />
 </template>
 
@@ -996,7 +1013,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

startDate

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

startDate

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :startDate="startDate" placeholder="Select Date" />
 </template>
 
@@ -1015,7 +1032,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

weekStart

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

weekStart

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
Code Example
<template>
     <Datepicker v-model="date" weekStart="0" />
 </template>
 
@@ -1041,7 +1058,7 @@
     seconds?: number[] // disable specific seconds
   }
 }
-
1
2
3
4
5
6
7
8
9
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :filters="filters" />
 </template>
 
@@ -1069,7 +1086,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

disableMonthYearSelect

Removes the month and year picker

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

disableMonthYearSelect

Removes the month and year picker

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" disableMonthYearSelect />
 </template>
 
@@ -1086,7 +1103,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

yearRange

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

yearRange

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
Code Example
<template>
     <Datepicker v-model="date" :yearRange="[2020, 2040]" />
 </template>
 
@@ -1103,7 +1120,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

allowedDates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

allowedDates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
Code Example
<template>
     <Datepicker v-model="date" :allowedDates="allowedDates" />
 </template>
 
@@ -1129,7 +1146,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

disabledDates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

disabledDates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

Code Example
<template>
     <Datepicker v-model="date" :disabledDates="disabledDates" />
 </template>
 
@@ -1160,7 +1177,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

disabledWeekDays

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

disabledWeekDays

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
Code Example
<template>
     <Datepicker v-model="date" :disabledWeekDays="[6, 0]" />
 </template>
 
@@ -1177,7 +1194,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Time picker configuration

Props to configure time picker, whether using it only as time picker or alongside the datepicker

enableTimePicker

Enable or disable time picker

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Time picker configuration

Props to configure time picker, whether using it only as time picker or alongside the datepicker

enableTimePicker

Enable or disable time picker

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :enableTimePicker="false" />
 </template>
 
@@ -1194,7 +1211,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

is24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

is24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :is24="false" />
 </template>
 
@@ -1211,7 +1228,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

enableSeconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

enableSeconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" enableSeconds />
 </template>
 
@@ -1228,7 +1245,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursIncrement

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursIncrement

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
     <Datepicker v-model="date" hoursIncrement="2" />
 </template>
 
@@ -1245,7 +1262,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesIncrement

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesIncrement

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
     <Datepicker v-model="date" minutesIncrement="5" />
 </template>
 
@@ -1262,7 +1279,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsIncrement

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsIncrement

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
<template>
     <Datepicker v-model="date" enableSeconds secondsIncrement="5" />
 </template>
 
@@ -1279,7 +1296,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursGridIncrement

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is24 prop

  • Type: number | string
  • Default: 1
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursGridIncrement

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is24 prop

  • Type: number | string
  • Default: 1
Code Example
<template>
     <Datepicker v-model="date" hoursGridIncrement="2" />
 </template>
 
@@ -1296,7 +1313,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesGridIncrement

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesGridIncrement

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
Code Example
<template>
     <Datepicker v-model="date" minutesGridIncrement="2" />
 </template>
 
@@ -1313,7 +1330,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsGridIncrement

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsGridIncrement

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
Code Example
<template>
     <Datepicker v-model="date" enableSeconds secondsGridIncrement="2" />
 </template>
 
@@ -1330,7 +1347,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noHoursOverlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noHoursOverlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" noHoursOverlay />
 </template>
 
@@ -1347,7 +1364,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noMinutesOverlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noMinutesOverlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" noMinutesOverlay />
 </template>
 
@@ -1364,7 +1381,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noSecondsOverlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noSecondsOverlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" noSecondsOverlay enableSeconds />
 </template>
 
@@ -1381,7 +1398,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minTime

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minTime

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :minTime="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -1398,7 +1415,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxTime

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxTime

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :maxTime="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -1415,7 +1432,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

startTime

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

startTime

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :startTime="startTime" placeholder="Select Date" />
 </template>
 
@@ -1434,7 +1451,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Positioning

Configure datepicker menu positioning

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Positioning

Configure datepicker menu positioning

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
<template>
     <Datepicker v-model="date" position="left" />
 </template>
 
@@ -1451,7 +1468,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoPosition

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoPosition

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :autoPosition="false" />
 </template>
 
@@ -1468,7 +1485,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

altPosition

If you have issues with the menu being miss-placed, you can enable this prop to use an alternative positioning method. By default, if passed true, datepicker will use an alternative function to recalculate position, but you can also pass a custom function that can position the menu to your liking.

  • Type: boolean | ((el: HTMLElement | undefined) => { top: string; left: string; transform: string })
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

altPosition

If you have issues with the menu being miss-placed, you can enable this prop to use an alternative positioning method. By default, if passed true, datepicker will use an alternative function to recalculate position, but you can also pass a custom function that can position the menu to your liking.

  • Type: boolean | ((el: HTMLElement | undefined) => { top: string; left: string; transform: string })
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" altPosition />
 </template>
 
@@ -1485,7 +1502,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

teleport

Set teleport target

  • Type: string
  • Default: 'body'

You can inspect the page and check the menu placement

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

teleport

Set teleport target

  • Type: string
  • Default: 'body'

You can inspect the page and check the menu placement

Code Example
<template>
     <Datepicker v-model="date" teleport="#app" />
 </template>
 
@@ -1502,7 +1519,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Keyboard

Configure keyboard actions

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

openMenuOnFocus

Pressing tab in the form, datepicker menu will open

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Keyboard

Configure keyboard actions

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

openMenuOnFocus

Pressing tab in the form, datepicker menu will open

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :openMenuOnFocus="false" />
 </template>
 
@@ -1519,7 +1536,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

escClose

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

escClose

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :escClose="false" />
 </template>
 
@@ -1536,7 +1553,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

spaceConfirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

spaceConfirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :spaceConfirm="false" />
 </template>
 
@@ -1553,7 +1570,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnArrows

Change months via arrow keys

  • Type: boolean
  • Default: true
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnArrows

Change months via arrow keys

  • Type: boolean
  • Default: true
Code Example
<template>
     <Datepicker v-model="date" :monthChangeOnArrows="false" />
 </template>
 
@@ -1570,7 +1587,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Look and feel

Customization options

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitionsopen in new window component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: boolean | {open?: string; close?: string; next?: string; previous?: string}
  • Default: true

open and close are added on overlays show/hide

next and previous are added when switching months in the calendar

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Look and feel

Customization options

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitionsopen in new window component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: boolean | {open?: string; close?: string; next?: string; previous?: string}
  • Default: true

open and close are added on overlays show/hide

next and previous are added when switching months in the calendar

Code Example
<template>
     <Datepicker v-model="date" :transitions="false" />
 </template>
 
@@ -1587,7 +1604,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" dark />
 </template>
 
@@ -1604,7 +1621,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideInputIcon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideInputIcon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
Code Example
<template>
     <Datepicker v-model="date" hideInputIcon />
 </template>
 
@@ -1621,7 +1638,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" :state="false" />
 </template>
 
@@ -1638,7 +1655,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inputClassName

Add a custom class to the input field

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inputClassName

Add a custom class to the input field

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" inputClassName="dp-custom-input" />
 </template>
 
@@ -1666,7 +1683,7 @@
   }
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" menuClassName="dp-custom-menu" />
 </template>
 
@@ -1689,7 +1706,7 @@
   box-shadow: 0 0 6px #1976d2;
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

calendarClassName

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

calendarClassName

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" calendarClassName="dp-custom-calendar" />
 </template>
 
@@ -1714,7 +1731,7 @@
   }
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

calendarCellClassName

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

calendarCellClassName

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
Code Example
<template>
     <Datepicker v-model="date" calendarCellClassName="dp-custom-cell" />
 </template>
 
@@ -1738,6 +1755,6 @@
 }
 </style>
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Last Updated:
- + diff --git a/docs/api/slots/index.html b/docs/api/slots/index.html index f91a267..884cdf2 100644 --- a/docs/api/slots/index.html +++ b/docs/api/slots/index.html @@ -23,11 +23,11 @@ } Slots | Vue 3 Datepicker - + -

Slots

Below is a list of available slots which you can use to change some default elements of the datepicker

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
<template>
+    

Slots

Below is a list of available slots which you can use to change some default elements of the datepicker

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
<template>
     <Datepicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
@@ -56,7 +56,7 @@
         color: red;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

day

This slot allows you to place custom content in the calendar

This slot will also provide 2 props when used

  • day: This is the day number displayed in the calendar
  • date: This is the date value from that day
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

day

This slot allows you to place custom content in the calendar

This slot will also provide 2 props when used

  • day: This is the day number displayed in the calendar
  • date: This is the date value from that day
Code Example
<template>
     <Datepicker v-model="date">
         <template #day="{ day, date }">
             <temlplate v-if="day === tomorrow">
@@ -91,7 +91,7 @@
         width: auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

action-select

This slot replaces the select and cancel button section in the action row

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

action-select

This slot replaces the select and cancel button section in the action row

Code Example
<template>
     <Datepicker v-model="date" ref="dp">
       <template #action-select>
         <p class="custom-select" @click="selectDate">Select</p>
@@ -128,7 +128,7 @@
       display: inline-block;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

action-preview

This slot replaces the date preview section in the action row

This slot will provide one prop

  • value: Current selection in the picker, this can be Date object, or in case of range, Date array
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

action-preview

This slot replaces the date preview section in the action row

This slot will provide one prop

  • value: Current selection in the picker, this can be Date object, or in case of range, Date array
Code Example
<template>
     <Datepicker v-model="date" ref="dp">
       <template #action-preview="{ value }">
         {{ getDate(value) }}
@@ -158,7 +158,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

now-button

This slot replaces the content in the now button wrapper

TIP

To use this slot, make sure that showNowButton prop is enabled

One prop is available:

  • selectCurrentDate - Function to call to select the date
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

now-button

This slot replaces the content in the now button wrapper

TIP

To use this slot, make sure that showNowButton prop is enabled

One prop is available:

  • selectCurrentDate - Function to call to select the date
Code Example
<template>
     <Datepicker v-model="date" showNowButton>
       <template #now-button="{ selectCurrentDate }">
         <span @click="selectCurrentDate()" title="Select current date">
@@ -189,7 +189,7 @@
     cursor: pointer;
   }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

am-pm-button

This slot replaces the am-pm button in the time picker when the is24 prop is set to false

Two props are available:

  • toggle - Function to call to switch AM/PM
  • value - Currently active mode, AM or PM
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

am-pm-button

This slot replaces the am-pm button in the time picker when the is24 prop is set to false

Two props are available:

  • toggle - Function to call to switch AM/PM
  • value - Currently active mode, AM or PM
Code Example
<template>
     <Datepicker v-model="date" showNowButton>
       <template #am-pm-button="{ toggle, value }">
         <button @click="toggle">{{ value }}</button>
@@ -210,7 +210,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
<template>
     <Datepicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>
@@ -238,9 +238,9 @@
         cursor: pointer;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

dp-input

This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

Available props are:

TIP

For functions to work correctly, make sure that the textInput prop is enabled

When calling onInput function, make sure to pass the input event as argument

  • value: Value displayed in the input field
    • type: string
  • onInput: Function called on the @input event
    • type: (event: Event) => void
  • onEnter: Function called on the @keydown.enter event
    • type: () => void
  • onTab: Function called on the @keydown.tab event
    • type: () => void
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

dp-input

This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

Available props are:

TIP

For functions to work correctly, make sure that the textInput prop is enabled

When calling onInput function, make sure to pass the input event as argument

  • value: Value displayed in the input field
    • type: string
  • onInput: Function called on the @input event
    • type: (event: Event) => void
  • onEnter: Function called on the @keydown.enter event
    • type: () => void
  • onTab: Function called on the @keydown.tab event
    • type: () => void
  • onClear: Function to call if you want to clear date
    • type: () => void
Code Example
<template>
     <Datepicker v-model="date">
-        <template #dp-input="{ value, onInput, onEnter, onTab }">
+        <template #dp-input="{ value, onInput, onEnter, onTab, onClear }">
           <input type="text" :value="value" />
         </template>
     </Datepicker>
@@ -259,7 +259,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

Code Example
<template>
     <Datepicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
@@ -288,7 +288,7 @@
         margin-left: 5px;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

clear-icon

This slot replaces the clear icon in the input element with your custom element

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

clear-icon

This slot replaces the clear icon in the input element with your custom element

Code Example
<template>
     <Datepicker v-model="date">
         <template #clear-icon="{ clear }">
             <img class="input-slot-image" src="/logo.png" @click="clear" />
@@ -317,7 +317,7 @@
         margin-right: 5px;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

clock-icon

This slot replaces the default clock icon used to select the time

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

clock-icon

This slot replaces the default clock icon used to select the time

Code Example
<template>
     <Datepicker v-model="date">
         <template #clock-icon>
             <img class="slot-icon" src="/logo.png"/>
@@ -345,7 +345,7 @@
         width: auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-left

This slot replaces the arrow left icon on the month/year select row

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-left

This slot replaces the arrow left icon on the month/year select row

Code Example
<template>
     <Datepicker v-model="date">
         <template #arrow-left>
             <img class="slot-icon" src="/logo.png"/>
@@ -373,7 +373,7 @@
         width: auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-right

This slot replaces the arrow right icon on the month/year select row

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-right

This slot replaces the arrow right icon on the month/year select row

Code Example
<template>
     <Datepicker v-model="date">
         <template #arrow-right>
             <img class="slot-icon" src="/logo.png"/>
@@ -401,7 +401,7 @@
         width: auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-up

This slot replaces the arrow up icon in the time picker

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

arrow-up

This slot replaces the arrow up icon in the time picker

Code Example
<template>
     <Datepicker v-model="date">
         <template #arrow-up>
             <img class="slot-icon" src="/logo.png"/>
@@ -430,7 +430,7 @@
        margin: 0 auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

arrow-down

This slot replaces the arrow down icon in the time picker

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

arrow-down

This slot replaces the arrow down icon in the time picker

Code Example
<template>
     <Datepicker v-model="date">
         <template #arrow-down>
             <img class="slot-icon" src="/logo.png"/>
@@ -459,7 +459,7 @@
         margin: 0 auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

calendar-icon

This slot replaces the back to calendar icon

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

calendar-icon

This slot replaces the back to calendar icon

Code Example
<template>
     <Datepicker v-model="date">
         <template #calendar-icon>
             <img class="slot-icon" src="/logo.png"/>
@@ -487,7 +487,7 @@
         width: auto;
     }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

If you are using range mode, make sure to pass number arrays in functions

Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

If you are using range mode, make sure to pass number arrays in functions

Code Example
<template>
     <Datepicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
@@ -541,7 +541,7 @@
   flex-direction: column;
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

hours

This slot replaces the hours text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

hours

This slot replaces the hours text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #hours="{ text, value }">
         {{ value }}
@@ -562,7 +562,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

minutes

This slot replaces the minutes text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

minutes

This slot replaces the minutes text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #minutes="{ text, value }">
         {{ value }}
@@ -583,7 +583,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

hours-overlay

This slot replaces the text in the hours overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

hours-overlay

This slot replaces the text in the hours overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #hours-overlay="{ text, value }">
         {{ value }}
@@ -604,7 +604,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

minutes-overlay

This slot replaces the text in the minutes overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

minutes-overlay

This slot replaces the text in the minutes overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #minutes-overlay="{ text, value }">
         {{ value }}
@@ -625,7 +625,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

month

This slot replaces the text in the month picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

month

This slot replaces the text in the month picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #month="{ text, value }">
         {{ value }}
@@ -646,7 +646,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

year

This slot replaces the text in the year picker

One props is available

  • year: Displayed year
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

year

This slot replaces the text in the year picker

One props is available

  • year: Displayed year
Code Example
<template>
     <Datepicker v-model="date">
       <template #year="{ year }">
         {{ year }}
@@ -667,7 +667,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

month-overlay

This slot replaces the text in the month picker overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

month-overlay

This slot replaces the text in the month picker overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #month-overlay="{ text, value }">
         {{ value }}
@@ -688,7 +688,7 @@
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

year-overlay

This slot replaces the text in the month picker overlay

2 props are available, although for the year, text and value are the same

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

year-overlay

This slot replaces the text in the month picker overlay

2 props are available, although for the year, text and value are the same

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
<template>
     <Datepicker v-model="date">
       <template #year-overlay="{ text, value }">
         {{ value }}
@@ -710,6 +710,6 @@
 }
 </script>
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Last Updated:
- + diff --git a/docs/assets/404.819d44fa.js b/docs/assets/404.1c33d600.js similarity index 89% rename from docs/assets/404.819d44fa.js rename to docs/assets/404.1c33d600.js index b540bf3..425c464 100644 --- a/docs/assets/404.819d44fa.js +++ b/docs/assets/404.1c33d600.js @@ -1 +1 @@ -import{e as i,R as _,S as p,r as k,o as f,c as v,b as o,x as c,a as L,z as x,k as l,B as g}from"./app.216eec89.js";const B={class:"theme-container"},N={class:"theme-default-content"},R=o("h1",null,"404",-1),V=i({setup(T){var a,s,n;const r=_(),e=p(),t=(a=e.value.notFound)!=null?a:["Not Found"],u=()=>t[Math.floor(Math.random()*t.length)],m=(s=e.value.home)!=null?s:r.value,h=(n=e.value.backToHome)!=null?n:"Back to home";return(b,C)=>{const d=k("RouterLink");return f(),v("div",B,[o("div",N,[R,o("blockquote",null,c(u()),1),L(d,{to:l(m)},{default:x(()=>[g(c(l(h)),1)]),_:1},8,["to"])])])}}});export{V as default}; +import{e as i,R as _,S as p,r as k,o as f,c as v,b as o,x as c,a as L,z as x,k as l,B as g}from"./app.bce967f0.js";const B={class:"theme-container"},N={class:"theme-default-content"},R=o("h1",null,"404",-1),V=i({setup(T){var a,s,n;const r=_(),e=p(),t=(a=e.value.notFound)!=null?a:["Not Found"],u=()=>t[Math.floor(Math.random()*t.length)],m=(s=e.value.home)!=null?s:r.value,h=(n=e.value.backToHome)!=null?n:"Back to home";return(b,C)=>{const d=k("RouterLink");return f(),v("div",B,[o("div",N,[R,o("blockquote",null,c(u()),1),L(d,{to:l(m)},{default:x(()=>[g(c(l(h)),1)]),_:1},8,["to"])])])}}});export{V as default}; diff --git a/docs/assets/ActionRowCmp.07ec064d.js b/docs/assets/ActionRowCmp.7ddd8168.js similarity index 87% rename from docs/assets/ActionRowCmp.07ec064d.js rename to docs/assets/ActionRowCmp.7ddd8168.js index 16d175c..d75e46c 100644 --- a/docs/assets/ActionRowCmp.07ec064d.js +++ b/docs/assets/ActionRowCmp.7ddd8168.js @@ -1 +1 @@ -import{e as c,h as i,o as u,c as d,b as r,x as f}from"./app.216eec89.js";import{_ as m}from"./plugin-vue_export-helper.21dcd24c.js";const p=c({emits:["selectDate","cancel"],props:{selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},internalModelValue:{type:[Date,Array],default:null},range:{type:Boolean,default:!1},previewFormat:{type:[String,Function],default:()=>""},monthPicker:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1}},setup(e){return{date:i(()=>{if(e.internalModelValue){const n=e.internalModelValue.getDate(),a=e.internalModelValue.getMonth()+1,l=e.internalModelValue.getFullYear(),o=e.internalModelValue.getHours(),s=e.internalModelValue.getMinutes();return`${a}/${n}/${l}, ${o}:${s}`}return""})}}}),_={class:"custom-action-row"},y={class:"current-selection"};function g(e,t,n,a,l,o){return u(),d("div",_,[r("p",y,f(e.date),1),r("button",{class:"select-button",onClick:t[0]||(t[0]=s=>e.$emit("selectDate"))},"Select Date")])}var V=m(p,[["render",g]]);export{V as default}; +import{e as c,h as i,o as u,c as d,b as r,x as f}from"./app.bce967f0.js";import{_ as m}from"./plugin-vue_export-helper.21dcd24c.js";const p=c({emits:["selectDate","cancel"],props:{selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},internalModelValue:{type:[Date,Array],default:null},range:{type:Boolean,default:!1},previewFormat:{type:[String,Function],default:()=>""},monthPicker:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1}},setup(e){return{date:i(()=>{if(e.internalModelValue){const n=e.internalModelValue.getDate(),a=e.internalModelValue.getMonth()+1,l=e.internalModelValue.getFullYear(),o=e.internalModelValue.getHours(),s=e.internalModelValue.getMinutes();return`${a}/${n}/${l}, ${o}:${s}`}return""})}}}),_={class:"custom-action-row"},y={class:"current-selection"};function g(e,t,n,a,l,o){return u(),d("div",_,[r("p",y,f(e.date),1),r("button",{class:"select-button",onClick:t[0]||(t[0]=s=>e.$emit("selectDate"))},"Select Date")])}var V=m(p,[["render",g]]);export{V as default}; diff --git a/docs/assets/ChevronLeftIcon.d263a012.js b/docs/assets/ChevronLeftIcon.372fa3fd.js similarity index 88% rename from docs/assets/ChevronLeftIcon.d263a012.js rename to docs/assets/ChevronLeftIcon.372fa3fd.js index 5c20bc0..738a6af 100644 --- a/docs/assets/ChevronLeftIcon.d263a012.js +++ b/docs/assets/ChevronLeftIcon.372fa3fd.js @@ -1 +1 @@ -import{o as e,c as o,b as s}from"./app.216eec89.js";import{_ as t}from"./plugin-vue_export-helper.21dcd24c.js";const c={},n={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},r=s("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),_=[r];function a(i,l){return e(),o("svg",n,_)}var f=t(c,[["render",a]]);export{f as default}; +import{o as e,c as o,b as s}from"./app.bce967f0.js";import{_ as t}from"./plugin-vue_export-helper.21dcd24c.js";const c={},n={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},r=s("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),_=[r];function a(i,l){return e(),o("svg",n,_)}var f=t(c,[["render",a]]);export{f as default}; diff --git a/docs/assets/ChevronRightIcon.89bc751b.js b/docs/assets/ChevronRightIcon.eeabd44a.js similarity index 88% rename from docs/assets/ChevronRightIcon.89bc751b.js rename to docs/assets/ChevronRightIcon.eeabd44a.js index c345187..3850bf9 100644 --- a/docs/assets/ChevronRightIcon.89bc751b.js +++ b/docs/assets/ChevronRightIcon.eeabd44a.js @@ -1 +1 @@ -import{o as e,c as o,b as s}from"./app.216eec89.js";import{_ as t}from"./plugin-vue_export-helper.21dcd24c.js";const c={},n={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},r=s("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),_=[r];function a(i,h){return e(),o("svg",n,_)}var p=t(c,[["render",a]]);export{p as default}; +import{o as e,c as o,b as s}from"./app.bce967f0.js";import{_ as t}from"./plugin-vue_export-helper.21dcd24c.js";const c={},n={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},r=s("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),_=[r];function a(i,h){return e(),o("svg",n,_)}var p=t(c,[["render",a]]);export{p as default}; diff --git a/docs/assets/CustomComponentsDemo.e6e0dc78.js b/docs/assets/CustomComponentsDemo.16db53fd.js similarity index 50% rename from docs/assets/CustomComponentsDemo.e6e0dc78.js rename to docs/assets/CustomComponentsDemo.16db53fd.js index 2ff607e..745aefc 100644 --- a/docs/assets/CustomComponentsDemo.e6e0dc78.js +++ b/docs/assets/CustomComponentsDemo.16db53fd.js @@ -1 +1 @@ -import{d as t,_ as r,u as a,r as c,o as i,c as p,a as u}from"./app.216eec89.js";import{T as _}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";const l=t(()=>r(()=>import("./MonthYearCmp.230f9dab.js"),["assets/MonthYearCmp.230f9dab.js","assets/ChevronLeftIcon.d263a012.js","assets/app.216eec89.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/ChevronRightIcon.89bc751b.js"])),k=t(()=>r(()=>import("./TimePickerCmp.dd3f23ba.js"),["assets/TimePickerCmp.dd3f23ba.js","assets/app.216eec89.js","assets/plugin-vue_export-helper.21dcd24c.js"])),C=t(()=>r(()=>import("./ActionRowCmp.07ec064d.js"),["assets/ActionRowCmp.07ec064d.js","assets/app.216eec89.js","assets/plugin-vue_export-helper.21dcd24c.js"])),h={components:{Datepicker:_},props:["useCustomMonthYear","useCustomTimePicker","useCustomActionRow"],data(){return{date:new Date,dark:!0}},mounted(){this.dark=a()},computed:{monthYearCmp(){return this.useCustomMonthYear?l:null},timePickerCmp(){return this.useCustomTimePicker?k:null},actionRowCmp(){return this.useCustomActionRow?C:null}}},f={class:"demo-wrap"};function w(D,n,P,R,e,o){const m=c("Datepicker");return i(),p("div",f,[u(m,{modelValue:e.date,"onUpdate:modelValue":n[0]||(n[0]=s=>e.date=s),dark:e.dark,"month-year-component":o.monthYearCmp,"time-picker-component":o.timePickerCmp,"action-row-component":o.actionRowCmp},null,8,["modelValue","dark","month-year-component","time-picker-component","action-row-component"])])}var E=d(h,[["render",w]]);export{E as default}; +import{d as t,_ as r,u as a,r as c,o as i,c as p,a as u}from"./app.bce967f0.js";import{V as _}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";const l=t(()=>r(()=>import("./MonthYearCmp.907d4806.js"),["assets/MonthYearCmp.907d4806.js","assets/ChevronLeftIcon.372fa3fd.js","assets/app.bce967f0.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/ChevronRightIcon.eeabd44a.js"])),k=t(()=>r(()=>import("./TimePickerCmp.186b88a7.js"),["assets/TimePickerCmp.186b88a7.js","assets/app.bce967f0.js","assets/plugin-vue_export-helper.21dcd24c.js"])),C=t(()=>r(()=>import("./ActionRowCmp.7ddd8168.js"),["assets/ActionRowCmp.7ddd8168.js","assets/app.bce967f0.js","assets/plugin-vue_export-helper.21dcd24c.js"])),h={components:{Datepicker:_},props:["useCustomMonthYear","useCustomTimePicker","useCustomActionRow"],data(){return{date:new Date,dark:!0}},mounted(){this.dark=a()},computed:{monthYearCmp(){return this.useCustomMonthYear?l:null},timePickerCmp(){return this.useCustomTimePicker?k:null},actionRowCmp(){return this.useCustomActionRow?C:null}}},f={class:"demo-wrap"};function w(D,n,P,V,e,o){const m=c("Datepicker");return i(),p("div",f,[u(m,{modelValue:e.date,"onUpdate:modelValue":n[0]||(n[0]=s=>e.date=s),dark:e.dark,"month-year-component":o.monthYearCmp,"time-picker-component":o.timePickerCmp,"action-row-component":o.actionRowCmp},null,8,["modelValue","dark","month-year-component","time-picker-component","action-row-component"])])}var E=d(h,[["render",w]]);export{E as default}; diff --git a/docs/assets/DarkDemo.dea8e553.js b/docs/assets/DarkDemo.729ef4f2.js similarity index 76% rename from docs/assets/DarkDemo.dea8e553.js rename to docs/assets/DarkDemo.729ef4f2.js index e3a5899..e287dd9 100644 --- a/docs/assets/DarkDemo.dea8e553.js +++ b/docs/assets/DarkDemo.729ef4f2.js @@ -1 +1 @@ -import{T as n}from"./vue3-date-time-picker.esm.f6c600f4.js";import{r as l,o as p,c,a as s}from"./app.216eec89.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";const m={components:{Datepicker:n},props:["placeholder"],data(){return{date:new Date}}},i={class:"demo-wrap"};function _(u,e,r,f,o,k){const a=l("Datepicker");return p(),c("div",i,[s(a,{modelValue:o.date,"onUpdate:modelValue":e[0]||(e[0]=t=>o.date=t),placeholder:r.placeholder,dark:""},null,8,["modelValue","placeholder"])])}var v=d(m,[["render",_]]);export{v as default}; +import{V as n}from"./vue3-date-time-picker.esm.37fef68f.js";import{r as l,o as p,c,a as s}from"./app.bce967f0.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";const m={components:{Datepicker:n},props:["placeholder"],data(){return{date:new Date}}},i={class:"demo-wrap"};function _(u,e,r,f,o,k){const a=l("Datepicker");return p(),c("div",i,[s(a,{modelValue:o.date,"onUpdate:modelValue":e[0]||(e[0]=t=>o.date=t),placeholder:r.placeholder,dark:""},null,8,["modelValue","placeholder"])])}var v=d(m,[["render",_]]);export{v as default}; diff --git a/docs/assets/Demo.51f1970e.js b/docs/assets/Demo.e8319be8.js similarity index 93% rename from docs/assets/Demo.51f1970e.js rename to docs/assets/Demo.e8319be8.js index 457265e..5e86afe 100644 --- a/docs/assets/Demo.51f1970e.js +++ b/docs/assets/Demo.e8319be8.js @@ -1 +1 @@ -import{T as o}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as i,r as l,o as m,c as d,a as u,E as c}from"./app.216eec89.js";import{_ as p}from"./plugin-vue_export-helper.21dcd24c.js";const h={components:{Datepicker:o},props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","inputClassName","menuClassName","hideInputIcon","state","clearable","closeOnScroll","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","closeOnAutoApply","calendarClassName","calendarCellClassName","teleport","startDate","startTime","monthNameFormat","autoRange","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","multiCalendarsSolo","partialRange","monthChangeOnScroll","transitions","modeHeight","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","openMenuOnFocus","escClose","spaceConfirm","monthChangeOnArrows","inlineWithInput","name","autocomplete","preventMinMaxNavigation","fixedEnd","fixedStart"],data(){return{date:null,dateReset:!1,dark:!0}},computed:{value:{get(){if(this.dateReset||this.maxTime||this.minTime||this.startDate||this.startTime)return null;if(this.date)return this.date;if(this.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(this.timePicker){const e=new Date;return{hours:e.getHours(),minutes:e.getMinutes()}}if(this.range){const e=new Date,t=new Date(new Date().setDate(e.getDate()+7));return[e,t]}return new Date},set(e){this.dateReset=!e,this.date=e}}},mounted(){this.dark=i()}},D={class:"demo-wrap"};function f(e,t,k,g,n,a){const r=l("Datepicker");return m(),d("div",D,[u(r,c({modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=s=>a.value=s)},e.$props,{dark:n.dark}),null,16,["modelValue","dark"])])}var C=p(h,[["render",f]]);export{C as default}; +import{V as o}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as i,r as l,o as m,c as d,a as u,E as c}from"./app.bce967f0.js";import{_ as p}from"./plugin-vue_export-helper.21dcd24c.js";const h={components:{Datepicker:o},props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","inputClassName","menuClassName","hideInputIcon","state","clearable","closeOnScroll","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","closeOnAutoApply","calendarClassName","calendarCellClassName","teleport","startDate","startTime","monthNameFormat","autoRange","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","multiCalendarsSolo","partialRange","monthChangeOnScroll","transitions","modeHeight","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","openMenuOnFocus","escClose","spaceConfirm","monthChangeOnArrows","inlineWithInput","name","autocomplete","preventMinMaxNavigation","fixedEnd","fixedStart"],data(){return{date:null,dateReset:!1,dark:!0}},computed:{value:{get(){if(this.dateReset||this.maxTime||this.minTime||this.startDate||this.startTime)return null;if(this.date)return this.date;if(this.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(this.timePicker){const e=new Date;return{hours:e.getHours(),minutes:e.getMinutes()}}if(this.range){const e=new Date,t=new Date(new Date().setDate(e.getDate()+7));return[e,t]}return new Date},set(e){this.dateReset=!e,this.date=e}}},mounted(){this.dark=i()}},D={class:"demo-wrap"};function f(e,t,k,g,n,a){const r=l("Datepicker");return m(),d("div",D,[u(r,c({modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=s=>a.value=s)},e.$props,{dark:n.dark}),null,16,["modelValue","dark"])])}var C=p(h,[["render",f]]);export{C as default}; diff --git a/docs/assets/DemoMarkers.ef846be7.js b/docs/assets/DemoMarkers.3b5bf9fd.js similarity index 84% rename from docs/assets/DemoMarkers.ef846be7.js rename to docs/assets/DemoMarkers.3b5bf9fd.js index 898625d..33f3f9f 100644 --- a/docs/assets/DemoMarkers.ef846be7.js +++ b/docs/assets/DemoMarkers.3b5bf9fd.js @@ -1 +1 @@ -import{T as n,a as t}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as d,r as l,o as p,c,a as m}from"./app.216eec89.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:n},data(){return{date:new Date,dark:!0}},mounted(){this.dark=d()},computed:{markers(){return[{date:t(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:t(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:t(new Date,3),type:"dot",color:"yellow"}]}}},u={class:"demo-wrap"};function D(_,o,f,w,e,r){const a=l("Datepicker");return p(),c("div",u,[m(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=s=>e.date=s),dark:e.dark,markers:r.markers},null,8,["modelValue","dark","markers"])])}var v=i(k,[["render",D]]);export{v as default}; +import{V as n,a as t}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as d,r as l,o as p,c,a as m}from"./app.bce967f0.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:n},data(){return{date:new Date,dark:!0}},mounted(){this.dark=d()},computed:{markers(){return[{date:t(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:t(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:t(new Date,3),type:"dot",color:"yellow"}]}}},u={class:"demo-wrap"};function D(_,o,f,w,e,r){const a=l("Datepicker");return p(),c("div",u,[m(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=s=>e.date=s),dark:e.dark,markers:r.markers},null,8,["modelValue","dark","markers"])])}var v=i(k,[["render",D]]);export{v as default}; diff --git a/docs/assets/DemoSlots.2107dd76.js b/docs/assets/DemoSlots.d0a31d94.js similarity index 86% rename from docs/assets/DemoSlots.2107dd76.js rename to docs/assets/DemoSlots.d0a31d94.js index e8c5e5a..8732454 100644 --- a/docs/assets/DemoSlots.2107dd76.js +++ b/docs/assets/DemoSlots.d0a31d94.js @@ -1 +1 @@ -import{T as k}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as D,r as C,o as c,c as d,a as A,D as x,z as n,b as l,F as _,B as u,x as s,n as h,y as v}from"./app.216eec89.js";import{_ as B}from"./plugin-vue_export-helper.21dcd24c.js";var i="/logo.png";const I={components:{Datepicker:k},props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useNowButtonSlot","showNowButton","is24","useAmPmButtonSlot","useTimePickerOverlay"],data(){return{date:this.showNowButton?null:new Date,dark:!0}},computed:{todayDay(){return new Date().getDate()+1},getDate(){return r=>`Selected ${new Date(r).getDate()}`},hoursArray(){const r=[];for(let o=0;o<24;o++)r.push({text:o<10?`0${o}`:o,value:o});return r},minutesArray(){const r=[];for(let o=0;o<60;o++)r.push({text:o<10?`0${o}`:o,value:o});return r}},mounted(){this.dark=D()},methods:{selectDate(){this.$refs.dpSlotDemo.selectDate()}}},O=l("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),M=["value"],T=l("img",{class:"input-slot-image",src:i},null,-1),b=["onClick"],N=l("img",{class:"slot-icon",src:i},null,-1),H=l("img",{class:"slot-icon",src:i},null,-1),P=l("img",{class:"slot-icon",src:i},null,-1),V=l("img",{class:"slot-icon-m",src:i},null,-1),Y=l("img",{class:"slot-icon-m",src:i},null,-1),L=l("img",{class:"slot-icon",src:i},null,-1),U={key:0,class:"slot-icon",src:i},p=["onClick"],z=l("img",{class:"slot-icon",src:i},null,-1),F=[z],R=["onClick"],E={class:"time-picker-overlay"},j=["value","onChange"],q=["value"],G=["value","onChange"],J=["value"];function K(r,o,t,Q,S,m){const g=C("Datepicker");return c(),d("div",{class:h(["demo-wrap",t.useDpInputSlot||t.useTriggerSlot?"demo-wrap-inline":""])},[A(g,{modelValue:S.date,"onUpdate:modelValue":o[1]||(o[1]=e=>S.date=e),placeholder:t.placeholder,dark:S.dark,position:t.position,is24:t.is24,ref:"dpSlotDemo","show-now-button":t.showNowButton},x({_:2},[t.useTriggerSlot?{name:"trigger",fn:n(()=>[O])}:void 0,t.useDpInputSlot?{name:"dp-input",fn:n(({value:e})=>[l("input",{type:"text",value:e},null,8,M)])}:void 0,t.useInputIconSlot?{name:"input-icon",fn:n(()=>[T])}:void 0,t.useClearIconSlot?{name:"clear-icon",fn:n(({clear:e})=>[l("img",{class:"input-slot-image-clear",src:i,onClick:e},null,8,b)])}:void 0,t.useClockIconSlot?{name:"clock-icon",fn:n(()=>[N])}:void 0,t.useArrowLeftSlot?{name:"arrow-left",fn:n(()=>[H])}:void 0,t.useArrowRightSlot?{name:"arrow-right",fn:n(()=>[P])}:void 0,t.useArrowUpSlot?{name:"arrow-up",fn:n(()=>[V])}:void 0,t.useArrowDownSlot?{name:"arrow-down",fn:n(()=>[Y])}:void 0,t.useCalendarIconSlot?{name:"calendar-icon",fn:n(()=>[L])}:void 0,t.useDaySlot?{name:"day",fn:n(({day:e})=>[e===m.todayDay?(c(),d("img",U)):(c(),d(_,{key:1},[u(s(e),1)],64))])}:void 0,t.useActionButtonSlot?{name:"action-select",fn:n(()=>[l("p",{class:"custom-select",onClick:o[0]||(o[0]=(...e)=>m.selectDate&&m.selectDate(...e))},"Select")])}:void 0,t.useActionPreviewSlot?{name:"action-preview",fn:n(({value:e})=>[u(s(m.getDate(e)),1)])}:void 0,t.useHoursSlot?{name:"hours",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMinutesSlot?{name:"minutes",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMonthSlot?{name:"month",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useYearSlot?{name:"year",fn:n(({year:e})=>[u(s(e),1)])}:void 0,t.useHoursOverlaySlot?{name:"hours-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMinutesOverlaySlot?{name:"minutes-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMonthOverlaySlot?{name:"month-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useYearOverlaySlot?{name:"year-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useCalendarHeaderSlot?{name:"calendar-header",fn:n(({index:e,day:f})=>[l("div",{class:h(e===5||e===6?"red-color":"")},s(f),3)])}:void 0,t.useNowButtonSlot?{name:"now-button",fn:n(({selectCurrentDate:e})=>[l("span",{onClick:f=>e(),title:"Select current date",class:"pointer"},F,8,p)])}:void 0,t.useAmPmButtonSlot?{name:"am-pm-button",fn:n(({toggle:e,value:f})=>[l("button",{onClick:e},s(f),9,R)])}:void 0,t.useTimePickerOverlay?{name:"time-picker-overlay",fn:n(({hours:e,minutes:f,setHours:w,setMinutes:y})=>[l("div",E,[l("select",{class:"select-input",value:e,onChange:a=>w(+a.target.value)},[(c(!0),d(_,null,v(m.hoursArray,a=>(c(),d("option",{key:a.value,value:a.value},s(a.text),9,q))),128))],40,j),l("select",{class:"select-input",value:f,onChange:a=>y(+a.target.value)},[(c(!0),d(_,null,v(m.minutesArray,a=>(c(),d("option",{key:a.value,value:a.value},s(a.text),9,J))),128))],40,G)])])}:void 0]),1032,["modelValue","placeholder","dark","position","is24","show-now-button"])],2)}var $=B(I,[["render",K]]);export{$ as default}; +import{V as k}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as D,r as C,o as c,c as d,a as A,D as x,z as n,b as l,F as _,B as u,x as s,n as h,y as v}from"./app.bce967f0.js";import{_ as B}from"./plugin-vue_export-helper.21dcd24c.js";var i="/logo.png";const I={components:{Datepicker:k},props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useNowButtonSlot","showNowButton","is24","useAmPmButtonSlot","useTimePickerOverlay"],data(){return{date:this.showNowButton?null:new Date,dark:!0}},computed:{todayDay(){return new Date().getDate()+1},getDate(){return r=>`Selected ${new Date(r).getDate()}`},hoursArray(){const r=[];for(let o=0;o<24;o++)r.push({text:o<10?`0${o}`:o,value:o});return r},minutesArray(){const r=[];for(let o=0;o<60;o++)r.push({text:o<10?`0${o}`:o,value:o});return r}},mounted(){this.dark=D()},methods:{selectDate(){this.$refs.dpSlotDemo.selectDate()}}},O=l("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),M=["value"],b=l("img",{class:"input-slot-image",src:i},null,-1),N=["onClick"],V=l("img",{class:"slot-icon",src:i},null,-1),T=l("img",{class:"slot-icon",src:i},null,-1),H=l("img",{class:"slot-icon",src:i},null,-1),P=l("img",{class:"slot-icon-m",src:i},null,-1),Y=l("img",{class:"slot-icon-m",src:i},null,-1),L=l("img",{class:"slot-icon",src:i},null,-1),U={key:0,class:"slot-icon",src:i},p=["onClick"],z=l("img",{class:"slot-icon",src:i},null,-1),F=[z],R=["onClick"],E={class:"time-picker-overlay"},j=["value","onChange"],q=["value"],G=["value","onChange"],J=["value"];function K(r,o,t,Q,S,m){const g=C("Datepicker");return c(),d("div",{class:h(["demo-wrap",t.useDpInputSlot||t.useTriggerSlot?"demo-wrap-inline":""])},[A(g,{modelValue:S.date,"onUpdate:modelValue":o[1]||(o[1]=e=>S.date=e),placeholder:t.placeholder,dark:S.dark,position:t.position,is24:t.is24,ref:"dpSlotDemo","show-now-button":t.showNowButton},x({_:2},[t.useTriggerSlot?{name:"trigger",fn:n(()=>[O])}:void 0,t.useDpInputSlot?{name:"dp-input",fn:n(({value:e})=>[l("input",{type:"text",value:e},null,8,M)])}:void 0,t.useInputIconSlot?{name:"input-icon",fn:n(()=>[b])}:void 0,t.useClearIconSlot?{name:"clear-icon",fn:n(({clear:e})=>[l("img",{class:"input-slot-image-clear",src:i,onClick:e},null,8,N)])}:void 0,t.useClockIconSlot?{name:"clock-icon",fn:n(()=>[V])}:void 0,t.useArrowLeftSlot?{name:"arrow-left",fn:n(()=>[T])}:void 0,t.useArrowRightSlot?{name:"arrow-right",fn:n(()=>[H])}:void 0,t.useArrowUpSlot?{name:"arrow-up",fn:n(()=>[P])}:void 0,t.useArrowDownSlot?{name:"arrow-down",fn:n(()=>[Y])}:void 0,t.useCalendarIconSlot?{name:"calendar-icon",fn:n(()=>[L])}:void 0,t.useDaySlot?{name:"day",fn:n(({day:e})=>[e===m.todayDay?(c(),d("img",U)):(c(),d(_,{key:1},[u(s(e),1)],64))])}:void 0,t.useActionButtonSlot?{name:"action-select",fn:n(()=>[l("p",{class:"custom-select",onClick:o[0]||(o[0]=(...e)=>m.selectDate&&m.selectDate(...e))},"Select")])}:void 0,t.useActionPreviewSlot?{name:"action-preview",fn:n(({value:e})=>[u(s(m.getDate(e)),1)])}:void 0,t.useHoursSlot?{name:"hours",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMinutesSlot?{name:"minutes",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMonthSlot?{name:"month",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useYearSlot?{name:"year",fn:n(({year:e})=>[u(s(e),1)])}:void 0,t.useHoursOverlaySlot?{name:"hours-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMinutesOverlaySlot?{name:"minutes-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useMonthOverlaySlot?{name:"month-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useYearOverlaySlot?{name:"year-overlay",fn:n(({value:e})=>[u(s(e),1)])}:void 0,t.useCalendarHeaderSlot?{name:"calendar-header",fn:n(({index:e,day:f})=>[l("div",{class:h(e===5||e===6?"red-color":"")},s(f),3)])}:void 0,t.useNowButtonSlot?{name:"now-button",fn:n(({selectCurrentDate:e})=>[l("span",{onClick:f=>e(),title:"Select current date",class:"pointer"},F,8,p)])}:void 0,t.useAmPmButtonSlot?{name:"am-pm-button",fn:n(({toggle:e,value:f})=>[l("button",{onClick:e},s(f),9,R)])}:void 0,t.useTimePickerOverlay?{name:"time-picker-overlay",fn:n(({hours:e,minutes:f,setHours:w,setMinutes:y})=>[l("div",E,[l("select",{class:"select-input",value:e,onChange:a=>w(+a.target.value)},[(c(!0),d(_,null,v(m.hoursArray,a=>(c(),d("option",{key:a.value,value:a.value},s(a.text),9,q))),128))],40,j),l("select",{class:"select-input",value:f,onChange:a=>y(+a.target.value)},[(c(!0),d(_,null,v(m.minutesArray,a=>(c(),d("option",{key:a.value,value:a.value},s(a.text),9,J))),128))],40,G)])])}:void 0]),1032,["modelValue","placeholder","dark","position","is24","show-now-button"])],2)}var $=B(I,[["render",K]]);export{$ as default}; diff --git a/docs/assets/DisabledDatesDemo.859658ae.js b/docs/assets/DisabledDatesDemo.77c59ba6.js similarity index 82% rename from docs/assets/DisabledDatesDemo.859658ae.js rename to docs/assets/DisabledDatesDemo.77c59ba6.js index f00def2..69c9271 100644 --- a/docs/assets/DisabledDatesDemo.859658ae.js +++ b/docs/assets/DisabledDatesDemo.77c59ba6.js @@ -1 +1 @@ -import{T as n}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as c,r as m,o as l,c as p,a as D}from"./app.216eec89.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const u={components:{Datepicker:n},data(){return{date:new Date,dark:!0}},computed:{disabledDates(){const o=new Date,e=new Date(o);e.setDate(e.getDate()+1);const t=new Date(e);return t.setDate(e.getDate()+1),[e,t]}},mounted(){this.dark=c()}},k={class:"demo-wrap"};function _(o,e,t,f,a,r){const s=m("Datepicker");return l(),p("div",k,[D(s,{modelValue:a.date,"onUpdate:modelValue":e[0]||(e[0]=d=>a.date=d),dark:a.dark,"disabled-dates":r.disabledDates},null,8,["modelValue","dark","disabled-dates"])])}var v=i(u,[["render",_]]);export{v as default}; +import{V as n}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as c,r as m,o as l,c as p,a as D}from"./app.bce967f0.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const u={components:{Datepicker:n},data(){return{date:new Date,dark:!0}},computed:{disabledDates(){const o=new Date,e=new Date(o);e.setDate(e.getDate()+1);const t=new Date(e);return t.setDate(e.getDate()+1),[e,t]}},mounted(){this.dark=c()}},k={class:"demo-wrap"};function _(o,e,t,f,a,r){const s=m("Datepicker");return l(),p("div",k,[D(s,{modelValue:a.date,"onUpdate:modelValue":e[0]||(e[0]=d=>a.date=d),dark:a.dark,"disabled-dates":r.disabledDates},null,8,["modelValue","dark","disabled-dates"])])}var v=i(u,[["render",_]]);export{v as default}; diff --git a/docs/assets/EmptyDemo.314dac38.js b/docs/assets/EmptyDemo.5e042d8b.js similarity index 91% rename from docs/assets/EmptyDemo.314dac38.js rename to docs/assets/EmptyDemo.5e042d8b.js index 1d7d752..ae4aef3 100644 --- a/docs/assets/EmptyDemo.314dac38.js +++ b/docs/assets/EmptyDemo.5e042d8b.js @@ -1 +1 @@ -import{T as d}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as m,r,o as s,c as i,a as u}from"./app.216eec89.js";import{_ as w}from"./plugin-vue_export-helper.21dcd24c.js";const c={components:{Datepicker:d},props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","showNowButton","nowButtonLabel","multiDates","flow","minRange","maxRange","range"],data(){return{date:null,dark:!0}},mounted(){this.dark=m()},computed:{hasAllowedDates(){return this.allowedDates?[new Date,new Date(new Date().setDate(new Date().getDate()+1))]:[]}}},D={class:"demo-wrap"};function k(f,t,e,g,a,n){const o=r("Datepicker");return s(),i("div",D,[u(o,{modelValue:a.date,"onUpdate:modelValue":t[0]||(t[0]=l=>a.date=l),placeholder:e.placeholder,dark:a.dark,"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":n.hasAllowedDates,"show-now-button":e.showNowButton,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,"min-range":e.minRange,"max-range":e.maxRange,range:e.range,flow:e.flow},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","show-now-button","now-button-label","multi-dates","min-range","max-range","range","flow"])])}var _=w(c,[["render",k]]);export{_ as default}; +import{V as d}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as m,r,o as s,c as i,a as u}from"./app.bce967f0.js";import{_ as w}from"./plugin-vue_export-helper.21dcd24c.js";const c={components:{Datepicker:d},props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","showNowButton","nowButtonLabel","multiDates","flow","minRange","maxRange","range"],data(){return{date:null,dark:!0}},mounted(){this.dark=m()},computed:{hasAllowedDates(){return this.allowedDates?[new Date,new Date(new Date().setDate(new Date().getDate()+1))]:[]}}},D={class:"demo-wrap"};function k(f,t,e,g,a,n){const o=r("Datepicker");return s(),i("div",D,[u(o,{modelValue:a.date,"onUpdate:modelValue":t[0]||(t[0]=l=>a.date=l),placeholder:e.placeholder,dark:a.dark,"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":n.hasAllowedDates,"show-now-button":e.showNowButton,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,"min-range":e.minRange,"max-range":e.maxRange,range:e.range,flow:e.flow},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","show-now-button","now-button-label","multi-dates","min-range","max-range","range","flow"])])}var _=w(c,[["render",k]]);export{_ as default}; diff --git a/docs/assets/FiltersDemo.84768818.js b/docs/assets/FiltersDemo.84768818.js new file mode 100644 index 0000000..ab2e01f --- /dev/null +++ b/docs/assets/FiltersDemo.84768818.js @@ -0,0 +1 @@ +import{e as d,f as l,u as p,h as m,r as c,o as i,c as f,a as u}from"./app.bce967f0.js";import{V as _,g as k,b as D}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as v}from"./plugin-vue_export-helper.21dcd24c.js";const V=d({components:{Datepicker:_},setup(){const e=l(new Date),t=p();return{filters:m(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(a=>k(D(r,a+1)))}}),date:e,dark:t}}}),h={class:"demo-wrap"};function y(e,t,o,r,a,$){const s=c("Datepicker");return i(),f("div",h,[u(s,{modelValue:e.date,"onUpdate:modelValue":t[0]||(t[0]=n=>e.date=n),dark:e.dark,placeholder:"Select Date",filters:e.filters},null,8,["modelValue","dark","filters"])])}var A=v(V,[["render",y]]);export{A as default}; diff --git a/docs/assets/FiltersDemo.e92c7f66.js b/docs/assets/FiltersDemo.e92c7f66.js deleted file mode 100644 index 54c72e2..0000000 --- a/docs/assets/FiltersDemo.e92c7f66.js +++ /dev/null @@ -1 +0,0 @@ -import{e as d,f as l,u as p,h as m,r as c,o as i,c as f,a as u}from"./app.216eec89.js";import{T as _,g as k,b as D}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_ as v}from"./plugin-vue_export-helper.21dcd24c.js";const h=d({components:{Datepicker:_},setup(){const e=l(new Date),t=p();return{filters:m(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(a=>k(D(r,a+1)))}}),date:e,dark:t}}}),y={class:"demo-wrap"};function V(e,t,o,r,a,$){const s=c("Datepicker");return i(),f("div",y,[u(s,{modelValue:e.date,"onUpdate:modelValue":t[0]||(t[0]=n=>e.date=n),dark:e.dark,placeholder:"Select Date",filters:e.filters},null,8,["modelValue","dark","filters"])])}var A=v(h,[["render",V]]);export{A as default}; diff --git a/docs/assets/FormatDemo.f1530b4e.js b/docs/assets/FormatDemo.86175ef4.js similarity index 82% rename from docs/assets/FormatDemo.f1530b4e.js rename to docs/assets/FormatDemo.86175ef4.js index e2fe562..2e44aea 100644 --- a/docs/assets/FormatDemo.f1530b4e.js +++ b/docs/assets/FormatDemo.86175ef4.js @@ -1 +1 @@ -import{T as c}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as l,r as m,o as p,c as u,a as f}from"./app.216eec89.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:c},props:["placeholder"],data(){return{date:new Date,dark:!0}},methods:{format(e){const o=e.getDate(),t=e.getMonth()+1,a=e.getFullYear();return`Selected date is ${o}/${t}/${a}`}},mounted(){this.dark=l()}},_={class:"demo-wrap"};function h(e,o,t,a,r,n){const s=m("Datepicker");return p(),u("div",_,[f(s,{modelValue:r.date,"onUpdate:modelValue":o[0]||(o[0]=d=>r.date=d),placeholder:t.placeholder,format:n.format,dark:r.dark},null,8,["modelValue","placeholder","format","dark"])])}var v=i(k,[["render",h]]);export{v as default}; +import{V as c}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as l,r as m,o as p,c as u,a as f}from"./app.bce967f0.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:c},props:["placeholder"],data(){return{date:new Date,dark:!0}},methods:{format(e){const o=e.getDate(),t=e.getMonth()+1,a=e.getFullYear();return`Selected date is ${o}/${t}/${a}`}},mounted(){this.dark=l()}},_={class:"demo-wrap"};function h(e,o,t,a,r,n){const s=m("Datepicker");return p(),u("div",_,[f(s,{modelValue:r.date,"onUpdate:modelValue":o[0]||(o[0]=d=>r.date=d),placeholder:t.placeholder,format:n.format,dark:r.dark},null,8,["modelValue","placeholder","format","dark"])])}var v=i(k,[["render",h]]);export{v as default}; diff --git a/docs/assets/Layout.03bc1710.js b/docs/assets/Layout.775e7c81.js similarity index 99% rename from docs/assets/Layout.03bc1710.js rename to docs/assets/Layout.775e7c81.js index cf6b9c6..e39b39c 100644 --- a/docs/assets/Layout.03bc1710.js +++ b/docs/assets/Layout.775e7c81.js @@ -1 +1 @@ -var Be=Object.defineProperty,Me=Object.defineProperties;var De=Object.getOwnPropertyDescriptors;var de=Object.getOwnPropertySymbols;var Ee=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var ve=(l,t,e)=>t in l?Be(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,X=(l,t)=>{for(var e in t||(t={}))Ee.call(t,e)&&ve(l,e,t[e]);if(de)for(var e of de(t))Ne.call(t,e)&&ve(l,e,t[e]);return l},Y=(l,t)=>Me(l,De(t));import{r as R,o as a,c,a as $,e as x,U as I,h as p,V as _e,k as n,F as D,y as A,b as g,x as T,i as w,W as G,X as Q,l as C,z as B,E as pe,j as y,B as U,Y as q,Z as Ie,$ as Pe,a0 as Re,a1 as Z,u as J,n as P,a2 as V,a3 as fe,a4 as me,R as be,S as M,T as ge,f as O,s as Ae,a5 as j,a6 as K,a7 as He,a8 as Oe,a9 as ee,aa as ke,ab as $e,Q as ze,q as Le,A as Fe,ac as W,ad as te,ae as We,w as Ue,H as Ve,af as je}from"./app.216eec89.js";import{_ as Ke}from"./plugin-vue_export-helper.21dcd24c.js";const Ge={},qe={class:"theme-default-content custom"};function Xe(l,t){const e=R("Content");return a(),c("div",qe,[$(e)])}var Ye=Ke(Ge,[["render",Xe]]);const Qe={key:0,class:"features"},Ze=x({setup(l){const t=I(),e=p(()=>_e(t.value.features)?t.value.features:[]);return(i,r)=>n(e).length?(a(),c("div",Qe,[(a(!0),c(D,null,A(n(e),_=>(a(),c("div",{key:_.title,class:"feature"},[g("h2",null,T(_.title),1),g("p",null,T(_.details),1)]))),128))])):w("",!0)}}),Je=["innerHTML"],et=["textContent"],tt=x({setup(l){const t=I(),e=p(()=>t.value.footer),i=p(()=>t.value.footerHtml);return(r,_)=>n(e)?(a(),c(D,{key:0},[n(i)?(a(),c("div",{key:0,class:"footer",innerHTML:n(e)},null,8,Je)):(a(),c("div",{key:1,class:"footer",textContent:T(n(e))},null,8,et))],64)):w("",!0)}}),nt=["href","rel","target","aria-label"],at=x({inheritAttrs:!1}),N=x(Y(X({},at),{props:{item:{type:Object,required:!0}},setup(l){const t=l,e=G(),i=Re(),{item:r}=Q(t),_=p(()=>q(r.value.link)),f=p(()=>Ie(r.value.link)||Pe(r.value.link)),h=p(()=>{if(!f.value){if(r.value.target)return r.value.target;if(_.value)return"_blank"}}),s=p(()=>h.value==="_blank"),o=p(()=>!_.value&&!f.value&&!s.value),u=p(()=>{if(!f.value){if(r.value.rel)return r.value.rel;if(s.value)return"noopener noreferrer"}}),d=p(()=>r.value.ariaLabel||r.value.text),v=p(()=>{const L=Object.keys(i.value.locales);return L.length?!L.some(m=>m===r.value.link):r.value.link!=="/"}),b=p(()=>v.value?e.path.startsWith(r.value.link):!1),k=p(()=>o.value?r.value.activeMatch?new RegExp(r.value.activeMatch).test(e.path):b.value:!1);return(L,m)=>{const S=R("RouterLink"),E=R("ExternalLinkIcon");return n(o)?(a(),C(S,pe({key:0,class:{"router-link-active":n(k)},to:n(r).link,"aria-label":n(d)},L.$attrs),{default:B(()=>[y(L.$slots,"before"),U(" "+T(n(r).text)+" ",1),y(L.$slots,"after")]),_:3},16,["class","to","aria-label"])):(a(),c("a",pe({key:1,class:"external-link",href:n(r).link,rel:n(u),target:n(h),"aria-label":n(d)},L.$attrs),[y(L.$slots,"before"),U(" "+T(n(r).text)+" ",1),n(s)?(a(),C(E,{key:0})):w("",!0),y(L.$slots,"after")],16,nt))}}})),st={class:"hero"},rt={key:0,id:"main-title"},ot={key:1,class:"description"},lt={key:2,class:"actions"},ut=x({setup(l){const t=I(),e=Z(),i=J(),r=p(()=>i.value&&t.value.heroImageDark!==void 0?t.value.heroImageDark:t.value.heroImage),_=p(()=>t.value.heroText===null?null:t.value.heroText||e.value.title||"Hello"),f=p(()=>t.value.heroAlt||_.value||"hero"),h=p(()=>t.value.tagline===null?null:t.value.tagline||e.value.description||"Welcome to your VuePress site"),s=p(()=>_e(t.value.actions)?t.value.actions.map(({text:u,link:d,type:v="primary"})=>({text:u,link:d,type:v})):[]),o=()=>{if(!r.value)return null;const u=V("img",{src:fe(r.value),alt:f.value});return t.value.heroImageDark===void 0?u:V(me,u)};return(u,d)=>(a(),c("header",st,[$(o),n(_)?(a(),c("h1",rt,T(n(_)),1)):w("",!0),n(h)?(a(),c("p",ot,T(n(h)),1)):w("",!0),n(s).length?(a(),c("p",lt,[(a(!0),c(D,null,A(n(s),v=>(a(),C(N,{key:v.text,class:P(["action-button",[v.type]]),item:v},null,8,["class","item"]))),128))])):w("",!0)]))}}),it={class:"home"},ct=x({setup(l){return(t,e)=>(a(),c("main",it,[$(ut),$(Ze),$(Ye),$(tt)]))}}),dt=x({setup(l){const t=be(),e=Z(),i=M(),r=J(),_=p(()=>i.value.home||t.value),f=p(()=>e.value.title),h=p(()=>r.value&&i.value.logoDark!==void 0?i.value.logoDark:i.value.logo),s=()=>{if(!h.value)return null;const o=V("img",{class:"logo",src:fe(h.value),alt:f.value});return i.value.logoDark===void 0?o:V(me,o)};return(o,u)=>{const d=R("RouterLink");return a(),C(d,{to:n(_)},{default:B(()=>[$(s),n(f)?(a(),c("span",{key:0,class:P(["site-name",{"can-hide":n(h)}])},T(n(f)),3)):w("",!0)]),_:1},8,["to"])}}}),ye=x({setup(l){const t=i=>{i.style.height=i.scrollHeight+"px"},e=i=>{i.style.height=""};return(i,r)=>(a(),C(ge,{name:"dropdown",onEnter:t,onAfterEnter:e,onBeforeLeave:t},{default:B(()=>[y(i.$slots,"default")]),_:3}))}}),vt=["aria-label"],pt={class:"title"},ht=g("span",{class:"arrow down"},null,-1),_t=["aria-label"],ft={class:"title"},mt={class:"navbar-dropdown"},bt={class:"navbar-dropdown-subtitle"},gt={key:1},kt={class:"navbar-dropdown-subitem-wrapper"},$t=x({props:{item:{type:Object,required:!0}},setup(l){const t=l,{item:e}=Q(t),i=p(()=>e.value.ariaLabel||e.value.text),r=O(!1),_=G();Ae(()=>_.path,()=>{r.value=!1});const f=s=>{s.detail===0?r.value=!r.value:r.value=!1},h=(s,o)=>o[o.length-1]===s;return(s,o)=>(a(),c("div",{class:P(["navbar-dropdown-wrapper",{open:r.value}])},[g("button",{class:"navbar-dropdown-title",type:"button","aria-label":n(i),onClick:f},[g("span",pt,T(n(e).text),1),ht],8,vt),g("button",{class:"navbar-dropdown-title-mobile",type:"button","aria-label":n(i),onClick:o[0]||(o[0]=u=>r.value=!r.value)},[g("span",ft,T(n(e).text),1),g("span",{class:P(["arrow",r.value?"down":"right"])},null,2)],8,_t),$(ye,null,{default:B(()=>[j(g("ul",mt,[(a(!0),c(D,null,A(n(e).children,u=>(a(),c("li",{key:u.text,class:"navbar-dropdown-item"},[u.children?(a(),c(D,{key:0},[g("h4",bt,[u.link?(a(),C(N,{key:0,item:u,onFocusout:d=>h(u,n(e).children)&&u.children.length===0&&(r.value=!1)},null,8,["item","onFocusout"])):(a(),c("span",gt,T(u.text),1))]),g("ul",kt,[(a(!0),c(D,null,A(u.children,d=>(a(),c("li",{key:d.link,class:"navbar-dropdown-subitem"},[$(N,{item:d,onFocusout:v=>h(d,u.children)&&h(u,n(e).children)&&(r.value=!1)},null,8,["item","onFocusout"])]))),128))])],64)):(a(),C(N,{key:1,item:u,onFocusout:d=>h(u,n(e).children)&&(r.value=!1)},null,8,["item","onFocusout"]))]))),128))],512),[[K,r.value]])]),_:1})],2))}}),he=l=>decodeURI(l).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),Lt=(l,t)=>{if(t.hash===l)return!0;const e=he(t.path),i=he(l);return e===i},we=(l,t)=>l.link&&Lt(l.link,t)?!0:l.children?l.children.some(e=>we(e,t)):!1,xe=l=>!q(l)||/github\.com/.test(l)?"GitHub":/bitbucket\.org/.test(l)?"Bitbucket":/gitlab\.com/.test(l)?"GitLab":/gitee\.com/.test(l)?"Gitee":null,yt={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},wt=({docsRepo:l,editLinkPattern:t})=>{if(t)return t;const e=xe(l);return e!==null?yt[e]:null},xt=({docsRepo:l,docsBranch:t,docsDir:e,filePathRelative:i,editLinkPattern:r})=>{if(!i)return null;const _=wt({docsRepo:l,editLinkPattern:r});return _?_.replace(/:repo/,q(l)?l:`https://github.com/${l}`).replace(/:branch/,t).replace(/:path/,He(`${Oe(e)}/${i}`)):null},Ct={key:0,class:"navbar-items"},Ce=x({setup(l){const t=()=>{const o=ee(),u=be(),d=Z(),v=M();return p(()=>{var S,E;const b=Object.keys(d.value.locales);if(b.length<2)return[];const k=o.currentRoute.value.path,L=o.currentRoute.value.fullPath;return[{text:(S=v.value.selectLanguageText)!=null?S:"unknown language",ariaLabel:(E=v.value.selectLanguageAriaLabel)!=null?E:"unkown language",children:b.map(H=>{var se,re,oe,le,ue,ie;const z=(re=(se=d.value.locales)==null?void 0:se[H])!=null?re:{},ne=(le=(oe=v.value.locales)==null?void 0:oe[H])!=null?le:{},ae=`${z.lang}`,Te=(ue=ne.selectLanguageName)!=null?ue:ae;let F;if(ae===d.value.lang)F=L;else{const ce=k.replace(u.value,H);o.getRoutes().some(Se=>Se.path===ce)?F=ce:F=(ie=ne.home)!=null?ie:H}return{text:Te,link:F}})}]})},e=()=>{const o=M(),u=p(()=>o.value.repo),d=p(()=>u.value?xe(u.value):null),v=p(()=>u.value&&!q(u.value)?`https://github.com/${u.value}`:u.value),b=p(()=>v.value?o.value.repoLabel?o.value.repoLabel:d.value===null?"Source":d.value:null);return p(()=>!v.value||!b.value?[]:[{text:b.value,link:v.value}])},i=o=>ke(o)?$e(o):o.children?Y(X({},o),{children:o.children.map(i)}):o,_=(()=>{const o=M();return p(()=>(o.value.navbar||[]).map(i))})(),f=t(),h=e(),s=p(()=>[..._.value,...f.value,...h.value]);return(o,u)=>n(s).length?(a(),c("nav",Ct,[(a(!0),c(D,null,A(n(s),d=>(a(),c("div",{key:d.text,class:"navbar-item"},[d.children?(a(),C($t,{key:0,item:d},null,8,["item"])):(a(),C(N,{key:1,item:d},null,8,["item"]))]))),128))])):w("",!0)}}),Tt=["title"],St={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Bt=ze('',9),Mt=[Bt],Dt={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Et=g("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1),Nt=[Et],It=x({setup(l){const t=M(),e=J(),i=()=>{e.value=!e.value};return(r,_)=>(a(),c("button",{class:"toggle-dark-button",title:n(t).toggleDarkMode,onClick:i},[j((a(),c("svg",St,Mt,512)),[[K,!n(e)]]),j((a(),c("svg",Dt,Nt,512)),[[K,n(e)]])],8,Tt))}}),Pt=["title"],Rt=g("div",{class:"icon","aria-hidden":"true"},[g("span"),g("span"),g("span")],-1),At=[Rt],Ht=x({emits:["toggle"],setup(l){const t=M();return(e,i)=>(a(),c("div",{class:"toggle-sidebar-button",title:n(t).toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:i[0]||(i[0]=r=>e.$emit("toggle"))},At,8,Pt))}}),Ot=x({emits:["toggle-sidebar"],setup(l){const t=M(),e=O(null),i=O(null),r=O(0),_=p(()=>r.value?{maxWidth:r.value+"px"}:{}),f=p(()=>t.value.darkMode);Le(()=>{const o=h(e.value,"paddingLeft")+h(e.value,"paddingRight"),u=()=>{var d;window.innerWidth<=719?r.value=0:r.value=e.value.offsetWidth-o-(((d=i.value)==null?void 0:d.offsetWidth)||0)};u(),window.addEventListener("resize",u,!1),window.addEventListener("orientationchange",u,!1)});function h(s,o){var v,b,k;const u=(k=(b=(v=s==null?void 0:s.ownerDocument)==null?void 0:v.defaultView)==null?void 0:b.getComputedStyle(s,null))==null?void 0:k[o],d=Number.parseInt(u,10);return Number.isNaN(d)?0:d}return(s,o)=>{const u=R("NavbarSearch");return a(),c("header",{ref_key:"navbar",ref:e,class:"navbar"},[$(Ht,{onToggle:o[0]||(o[0]=d=>s.$emit("toggle-sidebar"))}),g("span",{ref_key:"navbarBrand",ref:i},[$(dt)],512),g("div",{class:"navbar-items-wrapper",style:Fe(n(_))},[y(s.$slots,"before"),$(Ce,{class:"can-hide"}),y(s.$slots,"after"),n(f)?(a(),C(It,{key:0})):w("",!0),$(u)],4)],512)}}}),zt={class:"page-meta"},Ft={key:0,class:"meta-item edit-link"},Wt={key:1,class:"meta-item last-updated"},Ut={class:"meta-item-label"},Vt={class:"meta-item-info"},jt={key:2,class:"meta-item contributors"},Kt={class:"meta-item-label"},Gt={class:"meta-item-info"},qt=["title"],Xt=U(", "),Yt=x({setup(l){const t=()=>{const s=M(),o=W(),u=I();return p(()=>{var E,H,z;if(!((H=(E=u.value.editLink)!=null?E:s.value.editLink)!=null?H:!0))return null;const{repo:v,docsRepo:b=v,docsBranch:k="main",docsDir:L="",editLinkText:m}=s.value;if(!b)return null;const S=xt({docsRepo:b,docsBranch:k,docsDir:L,filePathRelative:o.value.filePathRelative,editLinkPattern:(z=u.value.editLinkPattern)!=null?z:s.value.editLinkPattern});return S?{text:m!=null?m:"Edit this page",link:S}:null})},e=()=>{const s=M(),o=W(),u=I();return p(()=>{var b,k,L,m;return!((k=(b=u.value.lastUpdated)!=null?b:s.value.lastUpdated)!=null?k:!0)||!((L=o.value.git)==null?void 0:L.updatedTime)?null:new Date((m=o.value.git)==null?void 0:m.updatedTime).toLocaleString()})},i=()=>{const s=M(),o=W(),u=I();return p(()=>{var v,b,k,L;return((b=(v=u.value.contributors)!=null?v:s.value.contributors)!=null?b:!0)&&(L=(k=o.value.git)==null?void 0:k.contributors)!=null?L:null})},r=M(),_=t(),f=e(),h=i();return(s,o)=>{const u=R("ClientOnly");return a(),c("footer",zt,[n(_)?(a(),c("div",Ft,[$(N,{class:"meta-item-label",item:n(_)},null,8,["item"])])):w("",!0),n(f)?(a(),c("div",Wt,[g("span",Ut,T(n(r).lastUpdatedText)+": ",1),$(u,null,{default:B(()=>[g("span",Vt,T(n(f)),1)]),_:1})])):w("",!0),n(h)&&n(h).length?(a(),c("div",jt,[g("span",Kt,T(n(r).contributorsText)+": ",1),g("span",Gt,[(a(!0),c(D,null,A(n(h),(d,v)=>(a(),c(D,{key:v},[g("span",{class:"contributor",title:`email: ${d.email}`},T(d.name),9,qt),v!==n(h).length-1?(a(),c(D,{key:0},[Xt],64)):w("",!0)],64))),128))])])):w("",!0)])}}}),Qt={key:0,class:"page-nav"},Zt={class:"inner"},Jt={key:0,class:"prev"},en={key:1,class:"next"},tn=x({setup(l){const t=s=>s===!1?null:ke(s)?$e(s):We(s)?s:!1,e=(s,o,u)=>{const d=s.findIndex(v=>v.link===o);if(d!==-1){const v=s[d+u];return(v==null?void 0:v.link)?v:null}for(const v of s)if(v.children){const b=e(v.children,o,u);if(b)return b}return null},i=I(),r=te(),_=G(),f=p(()=>{const s=t(i.value.prev);return s!==!1?s:e(r.value,_.path,-1)}),h=p(()=>{const s=t(i.value.next);return s!==!1?s:e(r.value,_.path,1)});return(s,o)=>n(f)||n(h)?(a(),c("nav",Qt,[g("p",Zt,[n(f)?(a(),c("span",Jt,[$(N,{item:n(f)},null,8,["item"])])):w("",!0),n(h)?(a(),c("span",en,[$(N,{item:n(h)},null,8,["item"])])):w("",!0)])])):w("",!0)}}),nn={class:"page"},an={class:"theme-default-content"},sn=x({setup(l){return(t,e)=>{const i=R("Content");return a(),c("main",nn,[y(t.$slots,"top"),g("div",an,[$(i)]),$(Yt),$(tn),y(t.$slots,"bottom")])}}}),rn={class:"sidebar-item-children"},on=x({props:{item:{type:Object,required:!0},depth:{type:Number,required:!1,default:0}},setup(l){const t=l,{item:e,depth:i}=Q(t),r=G(),_=ee(),f=p(()=>we(e.value,r)),h=p(()=>({"sidebar-item":!0,"sidebar-heading":i.value===0,active:f.value,collapsible:e.value.collapsible})),s=O(!0),o=O(void 0);return e.value.collapsible&&(s.value=f.value,o.value=()=>{s.value=!s.value},_.afterEach(()=>{s.value=f.value})),(u,d)=>{var b;const v=R("SidebarItem",!0);return a(),c("li",null,[n(e).link?(a(),C(N,{key:0,class:P(n(h)),item:n(e)},null,8,["class","item"])):(a(),c("p",{key:1,tabindex:"0",class:P(n(h)),onClick:d[0]||(d[0]=(...k)=>o.value&&o.value(...k)),onKeydown:d[1]||(d[1]=Ue((...k)=>o.value&&o.value(...k),["enter"]))},[U(T(n(e).text)+" ",1),n(e).collapsible?(a(),c("span",{key:0,class:P(["arrow",s.value?"down":"right"])},null,2)):w("",!0)],34)),((b=n(e).children)==null?void 0:b.length)?(a(),C(ye,{key:2},{default:B(()=>[j(g("ul",rn,[(a(!0),c(D,null,A(n(e).children,k=>(a(),C(v,{key:`${n(i)}${k.text}${k.link}`,item:k,depth:n(i)+1},null,8,["item","depth"]))),128))],512),[[K,s.value]])]),_:1})):w("",!0)])}}}),ln={key:0,class:"sidebar-items"},un=x({setup(l){const t=te();return(e,i)=>n(t).length?(a(),c("ul",ln,[(a(!0),c(D,null,A(n(t),r=>(a(),C(on,{key:r.link||r.text,item:r},null,8,["item"]))),128))])):w("",!0)}}),cn={class:"sidebar"},dn=x({setup(l){return(t,e)=>(a(),c("aside",cn,[$(Ce),y(t.$slots,"top"),$(un),y(t.$slots,"bottom")]))}}),_n=x({setup(l){const t=W(),e=I(),i=M(),r=p(()=>e.value.navbar!==!1&&i.value.navbar!==!1),_=te(),f=O(!1),h=m=>{f.value=typeof m=="boolean"?m:!f.value},s={x:0,y:0},o=m=>{s.x=m.changedTouches[0].clientX,s.y=m.changedTouches[0].clientY},u=m=>{const S=m.changedTouches[0].clientX-s.x,E=m.changedTouches[0].clientY-s.y;Math.abs(S)>Math.abs(E)&&Math.abs(S)>40&&(S>0&&s.x<=80?h(!0):h(!1))},d=p(()=>[{"no-navbar":!r.value,"no-sidebar":!_.value.length,"sidebar-open":f.value},e.value.pageClass]);let v;Le(()=>{v=ee().afterEach(()=>{h(!1)})}),Ve(()=>{v()});const b=je(),k=b.resolve,L=b.pending;return(m,S)=>(a(),c("div",{class:P(["theme-container",n(d)]),onTouchstart:o,onTouchend:u},[y(m.$slots,"navbar",{},()=>[n(r)?(a(),C(Ot,{key:0,onToggleSidebar:h},{before:B(()=>[y(m.$slots,"navbar-before")]),after:B(()=>[y(m.$slots,"navbar-after")]),_:3})):w("",!0)]),g("div",{class:"sidebar-mask",onClick:S[0]||(S[0]=E=>h(!1))}),y(m.$slots,"sidebar",{},()=>[$(dn,null,{top:B(()=>[y(m.$slots,"sidebar-top")]),bottom:B(()=>[y(m.$slots,"sidebar-bottom")]),_:3})]),y(m.$slots,"page",{},()=>[n(e).home?(a(),C(ct,{key:0})):(a(),C(ge,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:n(k),onBeforeLeave:n(L)},{default:B(()=>[(a(),C(sn,{key:n(t).path},{top:B(()=>[y(m.$slots,"page-top")]),bottom:B(()=>[y(m.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34))}});export{_n as default}; +var Be=Object.defineProperty,Me=Object.defineProperties;var De=Object.getOwnPropertyDescriptors;var de=Object.getOwnPropertySymbols;var Ee=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var ve=(l,t,e)=>t in l?Be(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,X=(l,t)=>{for(var e in t||(t={}))Ee.call(t,e)&&ve(l,e,t[e]);if(de)for(var e of de(t))Ne.call(t,e)&&ve(l,e,t[e]);return l},Y=(l,t)=>Me(l,De(t));import{r as R,o as a,c,a as $,e as x,U as I,h as p,V as _e,k as n,F as D,y as A,b as g,x as T,i as w,W as G,X as Q,l as C,z as B,E as pe,j as y,B as U,Y as q,Z as Ie,$ as Pe,a0 as Re,a1 as Z,u as J,n as P,a2 as V,a3 as fe,a4 as me,R as be,S as M,T as ge,f as O,s as Ae,a5 as j,a6 as K,a7 as He,a8 as Oe,a9 as ee,aa as ke,ab as $e,Q as ze,q as Le,A as Fe,ac as W,ad as te,ae as We,w as Ue,H as Ve,af as je}from"./app.bce967f0.js";import{_ as Ke}from"./plugin-vue_export-helper.21dcd24c.js";const Ge={},qe={class:"theme-default-content custom"};function Xe(l,t){const e=R("Content");return a(),c("div",qe,[$(e)])}var Ye=Ke(Ge,[["render",Xe]]);const Qe={key:0,class:"features"},Ze=x({setup(l){const t=I(),e=p(()=>_e(t.value.features)?t.value.features:[]);return(i,r)=>n(e).length?(a(),c("div",Qe,[(a(!0),c(D,null,A(n(e),_=>(a(),c("div",{key:_.title,class:"feature"},[g("h2",null,T(_.title),1),g("p",null,T(_.details),1)]))),128))])):w("",!0)}}),Je=["innerHTML"],et=["textContent"],tt=x({setup(l){const t=I(),e=p(()=>t.value.footer),i=p(()=>t.value.footerHtml);return(r,_)=>n(e)?(a(),c(D,{key:0},[n(i)?(a(),c("div",{key:0,class:"footer",innerHTML:n(e)},null,8,Je)):(a(),c("div",{key:1,class:"footer",textContent:T(n(e))},null,8,et))],64)):w("",!0)}}),nt=["href","rel","target","aria-label"],at=x({inheritAttrs:!1}),N=x(Y(X({},at),{props:{item:{type:Object,required:!0}},setup(l){const t=l,e=G(),i=Re(),{item:r}=Q(t),_=p(()=>q(r.value.link)),f=p(()=>Ie(r.value.link)||Pe(r.value.link)),h=p(()=>{if(!f.value){if(r.value.target)return r.value.target;if(_.value)return"_blank"}}),s=p(()=>h.value==="_blank"),o=p(()=>!_.value&&!f.value&&!s.value),u=p(()=>{if(!f.value){if(r.value.rel)return r.value.rel;if(s.value)return"noopener noreferrer"}}),d=p(()=>r.value.ariaLabel||r.value.text),v=p(()=>{const L=Object.keys(i.value.locales);return L.length?!L.some(m=>m===r.value.link):r.value.link!=="/"}),b=p(()=>v.value?e.path.startsWith(r.value.link):!1),k=p(()=>o.value?r.value.activeMatch?new RegExp(r.value.activeMatch).test(e.path):b.value:!1);return(L,m)=>{const S=R("RouterLink"),E=R("ExternalLinkIcon");return n(o)?(a(),C(S,pe({key:0,class:{"router-link-active":n(k)},to:n(r).link,"aria-label":n(d)},L.$attrs),{default:B(()=>[y(L.$slots,"before"),U(" "+T(n(r).text)+" ",1),y(L.$slots,"after")]),_:3},16,["class","to","aria-label"])):(a(),c("a",pe({key:1,class:"external-link",href:n(r).link,rel:n(u),target:n(h),"aria-label":n(d)},L.$attrs),[y(L.$slots,"before"),U(" "+T(n(r).text)+" ",1),n(s)?(a(),C(E,{key:0})):w("",!0),y(L.$slots,"after")],16,nt))}}})),st={class:"hero"},rt={key:0,id:"main-title"},ot={key:1,class:"description"},lt={key:2,class:"actions"},ut=x({setup(l){const t=I(),e=Z(),i=J(),r=p(()=>i.value&&t.value.heroImageDark!==void 0?t.value.heroImageDark:t.value.heroImage),_=p(()=>t.value.heroText===null?null:t.value.heroText||e.value.title||"Hello"),f=p(()=>t.value.heroAlt||_.value||"hero"),h=p(()=>t.value.tagline===null?null:t.value.tagline||e.value.description||"Welcome to your VuePress site"),s=p(()=>_e(t.value.actions)?t.value.actions.map(({text:u,link:d,type:v="primary"})=>({text:u,link:d,type:v})):[]),o=()=>{if(!r.value)return null;const u=V("img",{src:fe(r.value),alt:f.value});return t.value.heroImageDark===void 0?u:V(me,u)};return(u,d)=>(a(),c("header",st,[$(o),n(_)?(a(),c("h1",rt,T(n(_)),1)):w("",!0),n(h)?(a(),c("p",ot,T(n(h)),1)):w("",!0),n(s).length?(a(),c("p",lt,[(a(!0),c(D,null,A(n(s),v=>(a(),C(N,{key:v.text,class:P(["action-button",[v.type]]),item:v},null,8,["class","item"]))),128))])):w("",!0)]))}}),it={class:"home"},ct=x({setup(l){return(t,e)=>(a(),c("main",it,[$(ut),$(Ze),$(Ye),$(tt)]))}}),dt=x({setup(l){const t=be(),e=Z(),i=M(),r=J(),_=p(()=>i.value.home||t.value),f=p(()=>e.value.title),h=p(()=>r.value&&i.value.logoDark!==void 0?i.value.logoDark:i.value.logo),s=()=>{if(!h.value)return null;const o=V("img",{class:"logo",src:fe(h.value),alt:f.value});return i.value.logoDark===void 0?o:V(me,o)};return(o,u)=>{const d=R("RouterLink");return a(),C(d,{to:n(_)},{default:B(()=>[$(s),n(f)?(a(),c("span",{key:0,class:P(["site-name",{"can-hide":n(h)}])},T(n(f)),3)):w("",!0)]),_:1},8,["to"])}}}),ye=x({setup(l){const t=i=>{i.style.height=i.scrollHeight+"px"},e=i=>{i.style.height=""};return(i,r)=>(a(),C(ge,{name:"dropdown",onEnter:t,onAfterEnter:e,onBeforeLeave:t},{default:B(()=>[y(i.$slots,"default")]),_:3}))}}),vt=["aria-label"],pt={class:"title"},ht=g("span",{class:"arrow down"},null,-1),_t=["aria-label"],ft={class:"title"},mt={class:"navbar-dropdown"},bt={class:"navbar-dropdown-subtitle"},gt={key:1},kt={class:"navbar-dropdown-subitem-wrapper"},$t=x({props:{item:{type:Object,required:!0}},setup(l){const t=l,{item:e}=Q(t),i=p(()=>e.value.ariaLabel||e.value.text),r=O(!1),_=G();Ae(()=>_.path,()=>{r.value=!1});const f=s=>{s.detail===0?r.value=!r.value:r.value=!1},h=(s,o)=>o[o.length-1]===s;return(s,o)=>(a(),c("div",{class:P(["navbar-dropdown-wrapper",{open:r.value}])},[g("button",{class:"navbar-dropdown-title",type:"button","aria-label":n(i),onClick:f},[g("span",pt,T(n(e).text),1),ht],8,vt),g("button",{class:"navbar-dropdown-title-mobile",type:"button","aria-label":n(i),onClick:o[0]||(o[0]=u=>r.value=!r.value)},[g("span",ft,T(n(e).text),1),g("span",{class:P(["arrow",r.value?"down":"right"])},null,2)],8,_t),$(ye,null,{default:B(()=>[j(g("ul",mt,[(a(!0),c(D,null,A(n(e).children,u=>(a(),c("li",{key:u.text,class:"navbar-dropdown-item"},[u.children?(a(),c(D,{key:0},[g("h4",bt,[u.link?(a(),C(N,{key:0,item:u,onFocusout:d=>h(u,n(e).children)&&u.children.length===0&&(r.value=!1)},null,8,["item","onFocusout"])):(a(),c("span",gt,T(u.text),1))]),g("ul",kt,[(a(!0),c(D,null,A(u.children,d=>(a(),c("li",{key:d.link,class:"navbar-dropdown-subitem"},[$(N,{item:d,onFocusout:v=>h(d,u.children)&&h(u,n(e).children)&&(r.value=!1)},null,8,["item","onFocusout"])]))),128))])],64)):(a(),C(N,{key:1,item:u,onFocusout:d=>h(u,n(e).children)&&(r.value=!1)},null,8,["item","onFocusout"]))]))),128))],512),[[K,r.value]])]),_:1})],2))}}),he=l=>decodeURI(l).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),Lt=(l,t)=>{if(t.hash===l)return!0;const e=he(t.path),i=he(l);return e===i},we=(l,t)=>l.link&&Lt(l.link,t)?!0:l.children?l.children.some(e=>we(e,t)):!1,xe=l=>!q(l)||/github\.com/.test(l)?"GitHub":/bitbucket\.org/.test(l)?"Bitbucket":/gitlab\.com/.test(l)?"GitLab":/gitee\.com/.test(l)?"Gitee":null,yt={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},wt=({docsRepo:l,editLinkPattern:t})=>{if(t)return t;const e=xe(l);return e!==null?yt[e]:null},xt=({docsRepo:l,docsBranch:t,docsDir:e,filePathRelative:i,editLinkPattern:r})=>{if(!i)return null;const _=wt({docsRepo:l,editLinkPattern:r});return _?_.replace(/:repo/,q(l)?l:`https://github.com/${l}`).replace(/:branch/,t).replace(/:path/,He(`${Oe(e)}/${i}`)):null},Ct={key:0,class:"navbar-items"},Ce=x({setup(l){const t=()=>{const o=ee(),u=be(),d=Z(),v=M();return p(()=>{var S,E;const b=Object.keys(d.value.locales);if(b.length<2)return[];const k=o.currentRoute.value.path,L=o.currentRoute.value.fullPath;return[{text:(S=v.value.selectLanguageText)!=null?S:"unknown language",ariaLabel:(E=v.value.selectLanguageAriaLabel)!=null?E:"unkown language",children:b.map(H=>{var se,re,oe,le,ue,ie;const z=(re=(se=d.value.locales)==null?void 0:se[H])!=null?re:{},ne=(le=(oe=v.value.locales)==null?void 0:oe[H])!=null?le:{},ae=`${z.lang}`,Te=(ue=ne.selectLanguageName)!=null?ue:ae;let F;if(ae===d.value.lang)F=L;else{const ce=k.replace(u.value,H);o.getRoutes().some(Se=>Se.path===ce)?F=ce:F=(ie=ne.home)!=null?ie:H}return{text:Te,link:F}})}]})},e=()=>{const o=M(),u=p(()=>o.value.repo),d=p(()=>u.value?xe(u.value):null),v=p(()=>u.value&&!q(u.value)?`https://github.com/${u.value}`:u.value),b=p(()=>v.value?o.value.repoLabel?o.value.repoLabel:d.value===null?"Source":d.value:null);return p(()=>!v.value||!b.value?[]:[{text:b.value,link:v.value}])},i=o=>ke(o)?$e(o):o.children?Y(X({},o),{children:o.children.map(i)}):o,_=(()=>{const o=M();return p(()=>(o.value.navbar||[]).map(i))})(),f=t(),h=e(),s=p(()=>[..._.value,...f.value,...h.value]);return(o,u)=>n(s).length?(a(),c("nav",Ct,[(a(!0),c(D,null,A(n(s),d=>(a(),c("div",{key:d.text,class:"navbar-item"},[d.children?(a(),C($t,{key:0,item:d},null,8,["item"])):(a(),C(N,{key:1,item:d},null,8,["item"]))]))),128))])):w("",!0)}}),Tt=["title"],St={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Bt=ze('',9),Mt=[Bt],Dt={class:"icon",focusable:"false",viewBox:"0 0 32 32"},Et=g("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1),Nt=[Et],It=x({setup(l){const t=M(),e=J(),i=()=>{e.value=!e.value};return(r,_)=>(a(),c("button",{class:"toggle-dark-button",title:n(t).toggleDarkMode,onClick:i},[j((a(),c("svg",St,Mt,512)),[[K,!n(e)]]),j((a(),c("svg",Dt,Nt,512)),[[K,n(e)]])],8,Tt))}}),Pt=["title"],Rt=g("div",{class:"icon","aria-hidden":"true"},[g("span"),g("span"),g("span")],-1),At=[Rt],Ht=x({emits:["toggle"],setup(l){const t=M();return(e,i)=>(a(),c("div",{class:"toggle-sidebar-button",title:n(t).toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:i[0]||(i[0]=r=>e.$emit("toggle"))},At,8,Pt))}}),Ot=x({emits:["toggle-sidebar"],setup(l){const t=M(),e=O(null),i=O(null),r=O(0),_=p(()=>r.value?{maxWidth:r.value+"px"}:{}),f=p(()=>t.value.darkMode);Le(()=>{const o=h(e.value,"paddingLeft")+h(e.value,"paddingRight"),u=()=>{var d;window.innerWidth<=719?r.value=0:r.value=e.value.offsetWidth-o-(((d=i.value)==null?void 0:d.offsetWidth)||0)};u(),window.addEventListener("resize",u,!1),window.addEventListener("orientationchange",u,!1)});function h(s,o){var v,b,k;const u=(k=(b=(v=s==null?void 0:s.ownerDocument)==null?void 0:v.defaultView)==null?void 0:b.getComputedStyle(s,null))==null?void 0:k[o],d=Number.parseInt(u,10);return Number.isNaN(d)?0:d}return(s,o)=>{const u=R("NavbarSearch");return a(),c("header",{ref_key:"navbar",ref:e,class:"navbar"},[$(Ht,{onToggle:o[0]||(o[0]=d=>s.$emit("toggle-sidebar"))}),g("span",{ref_key:"navbarBrand",ref:i},[$(dt)],512),g("div",{class:"navbar-items-wrapper",style:Fe(n(_))},[y(s.$slots,"before"),$(Ce,{class:"can-hide"}),y(s.$slots,"after"),n(f)?(a(),C(It,{key:0})):w("",!0),$(u)],4)],512)}}}),zt={class:"page-meta"},Ft={key:0,class:"meta-item edit-link"},Wt={key:1,class:"meta-item last-updated"},Ut={class:"meta-item-label"},Vt={class:"meta-item-info"},jt={key:2,class:"meta-item contributors"},Kt={class:"meta-item-label"},Gt={class:"meta-item-info"},qt=["title"],Xt=U(", "),Yt=x({setup(l){const t=()=>{const s=M(),o=W(),u=I();return p(()=>{var E,H,z;if(!((H=(E=u.value.editLink)!=null?E:s.value.editLink)!=null?H:!0))return null;const{repo:v,docsRepo:b=v,docsBranch:k="main",docsDir:L="",editLinkText:m}=s.value;if(!b)return null;const S=xt({docsRepo:b,docsBranch:k,docsDir:L,filePathRelative:o.value.filePathRelative,editLinkPattern:(z=u.value.editLinkPattern)!=null?z:s.value.editLinkPattern});return S?{text:m!=null?m:"Edit this page",link:S}:null})},e=()=>{const s=M(),o=W(),u=I();return p(()=>{var b,k,L,m;return!((k=(b=u.value.lastUpdated)!=null?b:s.value.lastUpdated)!=null?k:!0)||!((L=o.value.git)==null?void 0:L.updatedTime)?null:new Date((m=o.value.git)==null?void 0:m.updatedTime).toLocaleString()})},i=()=>{const s=M(),o=W(),u=I();return p(()=>{var v,b,k,L;return((b=(v=u.value.contributors)!=null?v:s.value.contributors)!=null?b:!0)&&(L=(k=o.value.git)==null?void 0:k.contributors)!=null?L:null})},r=M(),_=t(),f=e(),h=i();return(s,o)=>{const u=R("ClientOnly");return a(),c("footer",zt,[n(_)?(a(),c("div",Ft,[$(N,{class:"meta-item-label",item:n(_)},null,8,["item"])])):w("",!0),n(f)?(a(),c("div",Wt,[g("span",Ut,T(n(r).lastUpdatedText)+": ",1),$(u,null,{default:B(()=>[g("span",Vt,T(n(f)),1)]),_:1})])):w("",!0),n(h)&&n(h).length?(a(),c("div",jt,[g("span",Kt,T(n(r).contributorsText)+": ",1),g("span",Gt,[(a(!0),c(D,null,A(n(h),(d,v)=>(a(),c(D,{key:v},[g("span",{class:"contributor",title:`email: ${d.email}`},T(d.name),9,qt),v!==n(h).length-1?(a(),c(D,{key:0},[Xt],64)):w("",!0)],64))),128))])])):w("",!0)])}}}),Qt={key:0,class:"page-nav"},Zt={class:"inner"},Jt={key:0,class:"prev"},en={key:1,class:"next"},tn=x({setup(l){const t=s=>s===!1?null:ke(s)?$e(s):We(s)?s:!1,e=(s,o,u)=>{const d=s.findIndex(v=>v.link===o);if(d!==-1){const v=s[d+u];return(v==null?void 0:v.link)?v:null}for(const v of s)if(v.children){const b=e(v.children,o,u);if(b)return b}return null},i=I(),r=te(),_=G(),f=p(()=>{const s=t(i.value.prev);return s!==!1?s:e(r.value,_.path,-1)}),h=p(()=>{const s=t(i.value.next);return s!==!1?s:e(r.value,_.path,1)});return(s,o)=>n(f)||n(h)?(a(),c("nav",Qt,[g("p",Zt,[n(f)?(a(),c("span",Jt,[$(N,{item:n(f)},null,8,["item"])])):w("",!0),n(h)?(a(),c("span",en,[$(N,{item:n(h)},null,8,["item"])])):w("",!0)])])):w("",!0)}}),nn={class:"page"},an={class:"theme-default-content"},sn=x({setup(l){return(t,e)=>{const i=R("Content");return a(),c("main",nn,[y(t.$slots,"top"),g("div",an,[$(i)]),$(Yt),$(tn),y(t.$slots,"bottom")])}}}),rn={class:"sidebar-item-children"},on=x({props:{item:{type:Object,required:!0},depth:{type:Number,required:!1,default:0}},setup(l){const t=l,{item:e,depth:i}=Q(t),r=G(),_=ee(),f=p(()=>we(e.value,r)),h=p(()=>({"sidebar-item":!0,"sidebar-heading":i.value===0,active:f.value,collapsible:e.value.collapsible})),s=O(!0),o=O(void 0);return e.value.collapsible&&(s.value=f.value,o.value=()=>{s.value=!s.value},_.afterEach(()=>{s.value=f.value})),(u,d)=>{var b;const v=R("SidebarItem",!0);return a(),c("li",null,[n(e).link?(a(),C(N,{key:0,class:P(n(h)),item:n(e)},null,8,["class","item"])):(a(),c("p",{key:1,tabindex:"0",class:P(n(h)),onClick:d[0]||(d[0]=(...k)=>o.value&&o.value(...k)),onKeydown:d[1]||(d[1]=Ue((...k)=>o.value&&o.value(...k),["enter"]))},[U(T(n(e).text)+" ",1),n(e).collapsible?(a(),c("span",{key:0,class:P(["arrow",s.value?"down":"right"])},null,2)):w("",!0)],34)),((b=n(e).children)==null?void 0:b.length)?(a(),C(ye,{key:2},{default:B(()=>[j(g("ul",rn,[(a(!0),c(D,null,A(n(e).children,k=>(a(),C(v,{key:`${n(i)}${k.text}${k.link}`,item:k,depth:n(i)+1},null,8,["item","depth"]))),128))],512),[[K,s.value]])]),_:1})):w("",!0)])}}}),ln={key:0,class:"sidebar-items"},un=x({setup(l){const t=te();return(e,i)=>n(t).length?(a(),c("ul",ln,[(a(!0),c(D,null,A(n(t),r=>(a(),C(on,{key:r.link||r.text,item:r},null,8,["item"]))),128))])):w("",!0)}}),cn={class:"sidebar"},dn=x({setup(l){return(t,e)=>(a(),c("aside",cn,[$(Ce),y(t.$slots,"top"),$(un),y(t.$slots,"bottom")]))}}),_n=x({setup(l){const t=W(),e=I(),i=M(),r=p(()=>e.value.navbar!==!1&&i.value.navbar!==!1),_=te(),f=O(!1),h=m=>{f.value=typeof m=="boolean"?m:!f.value},s={x:0,y:0},o=m=>{s.x=m.changedTouches[0].clientX,s.y=m.changedTouches[0].clientY},u=m=>{const S=m.changedTouches[0].clientX-s.x,E=m.changedTouches[0].clientY-s.y;Math.abs(S)>Math.abs(E)&&Math.abs(S)>40&&(S>0&&s.x<=80?h(!0):h(!1))},d=p(()=>[{"no-navbar":!r.value,"no-sidebar":!_.value.length,"sidebar-open":f.value},e.value.pageClass]);let v;Le(()=>{v=ee().afterEach(()=>{h(!1)})}),Ve(()=>{v()});const b=je(),k=b.resolve,L=b.pending;return(m,S)=>(a(),c("div",{class:P(["theme-container",n(d)]),onTouchstart:o,onTouchend:u},[y(m.$slots,"navbar",{},()=>[n(r)?(a(),C(Ot,{key:0,onToggleSidebar:h},{before:B(()=>[y(m.$slots,"navbar-before")]),after:B(()=>[y(m.$slots,"navbar-after")]),_:3})):w("",!0)]),g("div",{class:"sidebar-mask",onClick:S[0]||(S[0]=E=>h(!1))}),y(m.$slots,"sidebar",{},()=>[$(dn,null,{top:B(()=>[y(m.$slots,"sidebar-top")]),bottom:B(()=>[y(m.$slots,"sidebar-bottom")]),_:3})]),y(m.$slots,"page",{},()=>[n(e).home?(a(),C(ct,{key:0})):(a(),C(ge,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:n(k),onBeforeLeave:n(L)},{default:B(()=>[(a(),C(sn,{key:n(t).path},{top:B(()=>[y(m.$slots,"page-top")]),bottom:B(()=>[y(m.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34))}});export{_n as default}; diff --git a/docs/assets/LocalizedOutput.cd8b1ffc.js b/docs/assets/LocalizedOutput.47ed9bce.js similarity index 71% rename from docs/assets/LocalizedOutput.cd8b1ffc.js rename to docs/assets/LocalizedOutput.47ed9bce.js index 0f758c0..f0d8872 100644 --- a/docs/assets/LocalizedOutput.cd8b1ffc.js +++ b/docs/assets/LocalizedOutput.47ed9bce.js @@ -1 +1 @@ -import{e as r,f as s,u as n,r as d,o as p,c as l,a as m}from"./app.216eec89.js";import{T as c}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_ as f}from"./plugin-vue_export-helper.21dcd24c.js";import{j as i}from"./index.81427e26.js";const u=r({components:{Datepicker:c},setup(){const e=s(new Date),o=n();return{date:e,dark:o,ja:i}}}),k={class:"demo-wrap"};function _(e,o,D,V,$,j){const a=d("Datepicker");return p(),l("div",k,[m(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=t=>e.date=t),dark:e.dark,placeholder:"Select Date","format-locale":e.ja,format:"E"},null,8,["modelValue","dark","format-locale"])])}var E=f(u,[["render",_]]);export{E as default}; +import{e as r,f as s,u as n,r as d,o as p,c as l,a as m}from"./app.bce967f0.js";import{V as c}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as f}from"./plugin-vue_export-helper.21dcd24c.js";import{j as i}from"./index.46473391.js";const u=r({components:{Datepicker:c},setup(){const e=s(new Date),o=n();return{date:e,dark:o,ja:i}}}),k={class:"demo-wrap"};function _(e,o,D,V,$,j){const a=d("Datepicker");return p(),l("div",k,[m(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=t=>e.date=t),dark:e.dark,placeholder:"Select Date","format-locale":e.ja,format:"E"},null,8,["modelValue","dark","format-locale"])])}var E=f(u,[["render",_]]);export{E as default}; diff --git a/docs/assets/MinMaxDemo.1529e32d.js b/docs/assets/MinMaxDemo.1529e32d.js new file mode 100644 index 0000000..65d8f5c --- /dev/null +++ b/docs/assets/MinMaxDemo.1529e32d.js @@ -0,0 +1 @@ +import{e as p,f as i,u as c,h as o,r as l,o as D,c as u,a as f}from"./app.bce967f0.js";import{V as k,s as w,h as s,g as r,b as h}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as M}from"./plugin-vue_export-helper.21dcd24c.js";const V=p({components:{Datepicker:k},setup(){const e=i(new Date),a=c(),t=o(()=>w(new Date(s(new Date),r(new Date)),2)),n=o(()=>h(new Date(s(new Date),r(new Date)),2));return{date:e,dark:a,minDate:t,maxDate:n}}}),_={class:"demo-wrap"};function v(e,a,t,n,g,x){const d=l("Datepicker");return D(),u("div",_,[f(d,{modelValue:e.date,"onUpdate:modelValue":a[0]||(a[0]=m=>e.date=m),placeholder:"Select Date",dark:e.dark,"min-date":e.minDate,"max-date":e.maxDate,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])])}var C=M(V,[["render",v]]);export{C as default}; diff --git a/docs/assets/MinMaxDemo.f68174f0.js b/docs/assets/MinMaxDemo.f68174f0.js deleted file mode 100644 index 9eb78bf..0000000 --- a/docs/assets/MinMaxDemo.f68174f0.js +++ /dev/null @@ -1 +0,0 @@ -import{e as p,f as i,u as c,h as o,r as l,o as D,c as u,a as f}from"./app.216eec89.js";import{T as k,s as w,h as s,g as r,b as h}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_ as M}from"./plugin-vue_export-helper.21dcd24c.js";const _=p({components:{Datepicker:k},setup(){const e=i(new Date),a=c(),t=o(()=>w(new Date(s(new Date),r(new Date)),2)),n=o(()=>h(new Date(s(new Date),r(new Date)),2));return{date:e,dark:a,minDate:t,maxDate:n}}}),v={class:"demo-wrap"};function g(e,a,t,n,x,V){const d=l("Datepicker");return D(),u("div",v,[f(d,{modelValue:e.date,"onUpdate:modelValue":a[0]||(a[0]=m=>e.date=m),placeholder:"Select Date",dark:e.dark,"min-date":e.minDate,"max-date":e.maxDate,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])])}var C=M(_,[["render",g]]);export{C as default}; diff --git a/docs/assets/MonthYearCmp.230f9dab.js b/docs/assets/MonthYearCmp.907d4806.js similarity index 88% rename from docs/assets/MonthYearCmp.230f9dab.js rename to docs/assets/MonthYearCmp.907d4806.js index c4b5a57..a0f776d 100644 --- a/docs/assets/MonthYearCmp.230f9dab.js +++ b/docs/assets/MonthYearCmp.907d4806.js @@ -1 +1 @@ -import f from"./ChevronLeftIcon.d263a012.js";import _ from"./ChevronRightIcon.89bc751b.js";import{e as C,r as i,o as r,c as l,b as s,F as m,y as d,a as v,x as c}from"./app.216eec89.js";import{_ as g}from"./plugin-vue_export-helper.21dcd24c.js";const N=C({components:{ChevronLeftIcon:f,ChevronRightIcon:_},emits:["update:month","update:year"],props:{months:{type:Array,default:()=>[]},years:{type:Array,default:()=>[]},filters:{type:Object,default:null},monthPicker:{type:Boolean,default:!1},month:{type:Number,default:0},year:{type:Number,default:0}},setup(e,{emit:o}){const u=(n,a)=>{o("update:month",n),o("update:year",a)};return{onNext:()=>{let n=e.month,a=e.year;e.month===11?(n=0,a=e.year+1):n+=1,u(n,a)},onPrev:()=>{let n=e.month,a=e.year;e.month===0?(n=11,a=e.year-1):n-=1,u(n,a)}}}}),k={class:"month-year-wrapper"},I={class:"custom-month-year-component"},$=["value"],P=["value"],b=["value"],B=["value"],L={class:"icons"};function M(e,o,u,p,h,n){const a=i("ChevronLeftIcon"),y=i("ChevronRightIcon");return r(),l("div",k,[s("div",I,[s("select",{class:"select-input",value:e.month,onChange:o[0]||(o[0]=t=>e.$emit("update:month",+t.target.value))},[(r(!0),l(m,null,d(e.months,t=>(r(),l("option",{key:t.value,value:t.value},c(t.text),9,P))),128))],40,$),s("select",{class:"select-input",value:e.year,onChange:o[1]||(o[1]=t=>e.$emit("update:year",+t.target.value))},[(r(!0),l(m,null,d(e.years,t=>(r(),l("option",{key:t.value,value:t.value},c(t.text),9,B))),128))],40,b)]),s("div",L,[s("span",{class:"custom-icon",onClick:o[2]||(o[2]=(...t)=>e.onPrev&&e.onPrev(...t))},[v(a)]),s("span",{class:"custom-icon",onClick:o[3]||(o[3]=(...t)=>e.onNext&&e.onNext(...t))},[v(y)])])])}var V=g(N,[["render",M]]);export{V as default}; +import f from"./ChevronLeftIcon.372fa3fd.js";import _ from"./ChevronRightIcon.eeabd44a.js";import{e as C,r as i,o as r,c as l,b as s,F as m,y as d,a as v,x as c}from"./app.bce967f0.js";import{_ as g}from"./plugin-vue_export-helper.21dcd24c.js";const N=C({components:{ChevronLeftIcon:f,ChevronRightIcon:_},emits:["update:month","update:year"],props:{months:{type:Array,default:()=>[]},years:{type:Array,default:()=>[]},filters:{type:Object,default:null},monthPicker:{type:Boolean,default:!1},month:{type:Number,default:0},year:{type:Number,default:0}},setup(e,{emit:o}){const u=(n,a)=>{o("update:month",n),o("update:year",a)};return{onNext:()=>{let n=e.month,a=e.year;e.month===11?(n=0,a=e.year+1):n+=1,u(n,a)},onPrev:()=>{let n=e.month,a=e.year;e.month===0?(n=11,a=e.year-1):n-=1,u(n,a)}}}}),k={class:"month-year-wrapper"},I={class:"custom-month-year-component"},$=["value"],P=["value"],b=["value"],B=["value"],L={class:"icons"};function M(e,o,u,p,h,n){const a=i("ChevronLeftIcon"),y=i("ChevronRightIcon");return r(),l("div",k,[s("div",I,[s("select",{class:"select-input",value:e.month,onChange:o[0]||(o[0]=t=>e.$emit("update:month",+t.target.value))},[(r(!0),l(m,null,d(e.months,t=>(r(),l("option",{key:t.value,value:t.value},c(t.text),9,P))),128))],40,$),s("select",{class:"select-input",value:e.year,onChange:o[1]||(o[1]=t=>e.$emit("update:year",+t.target.value))},[(r(!0),l(m,null,d(e.years,t=>(r(),l("option",{key:t.value,value:t.value},c(t.text),9,B))),128))],40,b)]),s("div",L,[s("span",{class:"custom-icon",onClick:o[2]||(o[2]=(...t)=>e.onPrev&&e.onPrev(...t))},[v(a)]),s("span",{class:"custom-icon",onClick:o[3]||(o[3]=(...t)=>e.onNext&&e.onNext(...t))},[v(y)])])])}var V=g(N,[["render",M]]);export{V as default}; diff --git a/docs/assets/PresetRange.bbc2c59c.js b/docs/assets/PresetRange.6bbff610.js similarity index 77% rename from docs/assets/PresetRange.bbc2c59c.js rename to docs/assets/PresetRange.6bbff610.js index 3dc8e9e..61ac43f 100644 --- a/docs/assets/PresetRange.bbc2c59c.js +++ b/docs/assets/PresetRange.6bbff610.js @@ -1 +1 @@ -import{e as c,f as s,u as m,r as f,o as g,c as i,a as D}from"./app.216eec89.js";import{r,t as n,T as h,s as o}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_ as k}from"./plugin-vue_export-helper.21dcd24c.js";function l(a){r(1,arguments);var e=n(a),t=e.getMonth();return e.setFullYear(e.getFullYear(),t+1,0),e.setHours(23,59,59,999),e}function u(a){r(1,arguments);var e=n(a);return e.setDate(1),e.setHours(0,0,0,0),e}function v(a){r(1,arguments);var e=n(a),t=new Date(0);return t.setFullYear(e.getFullYear(),0,1),t.setHours(0,0,0,0),t}function w(a){r(1,arguments);var e=n(a),t=e.getFullYear();return e.setFullYear(t+1,0,0),e.setHours(23,59,59,999),e}const Y=c({components:{Datepicker:h},setup(){const a=s(),e=m(),t=s([{label:"Today",range:[new Date,new Date]},{label:"This month",range:[u(new Date),l(new Date)]},{label:"Last month",range:[u(o(new Date,1)),l(o(new Date,1))]},{label:"This year",range:[v(new Date),w(new Date)]}]);return{date:a,dark:e,presetRanges:t}}}),_={class:"demo-wrap"};function F(a,e,t,b,M,T){const d=f("Datepicker");return g(),i("div",_,[D(d,{modelValue:a.date,"onUpdate:modelValue":e[0]||(e[0]=p=>a.date=p),placeholder:"Select Date",dark:a.dark,range:"","preset-ranges":a.presetRanges},null,8,["modelValue","dark","preset-ranges"])])}var $=k(Y,[["render",F]]);export{$ as default}; +import{e as c,f as s,u as m,r as f,o as g,c as i,a as D}from"./app.bce967f0.js";import{r,t as n,V as h,s as o}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as k}from"./plugin-vue_export-helper.21dcd24c.js";function l(a){r(1,arguments);var e=n(a),t=e.getMonth();return e.setFullYear(e.getFullYear(),t+1,0),e.setHours(23,59,59,999),e}function u(a){r(1,arguments);var e=n(a);return e.setDate(1),e.setHours(0,0,0,0),e}function v(a){r(1,arguments);var e=n(a),t=new Date(0);return t.setFullYear(e.getFullYear(),0,1),t.setHours(0,0,0,0),t}function w(a){r(1,arguments);var e=n(a),t=e.getFullYear();return e.setFullYear(t+1,0,0),e.setHours(23,59,59,999),e}const Y=c({components:{Datepicker:h},setup(){const a=s(),e=m(),t=s([{label:"Today",range:[new Date,new Date]},{label:"This month",range:[u(new Date),l(new Date)]},{label:"Last month",range:[u(o(new Date,1)),l(o(new Date,1))]},{label:"This year",range:[v(new Date),w(new Date)]}]);return{date:a,dark:e,presetRanges:t}}}),_={class:"demo-wrap"};function F(a,e,t,V,b,M){const d=f("Datepicker");return g(),i("div",_,[D(d,{modelValue:a.date,"onUpdate:modelValue":e[0]||(e[0]=p=>a.date=p),placeholder:"Select Date",dark:a.dark,range:"","preset-ranges":a.presetRanges},null,8,["modelValue","dark","preset-ranges"])])}var y=k(Y,[["render",F]]);export{y as default}; diff --git a/docs/assets/PreviewFormatDemo.ffcb3469.js b/docs/assets/PreviewFormatDemo.e4f9a976.js similarity index 75% rename from docs/assets/PreviewFormatDemo.ffcb3469.js rename to docs/assets/PreviewFormatDemo.e4f9a976.js index dd75545..bb9915d 100644 --- a/docs/assets/PreviewFormatDemo.ffcb3469.js +++ b/docs/assets/PreviewFormatDemo.e4f9a976.js @@ -1 +1 @@ -import{T as c}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as l,r as m,o as p,c as i,a as u}from"./app.216eec89.js";import{_ as f}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:c},props:["placeholder"],data(){return{date:new Date,dark:!0}},methods:{format(e){const o=e.getDate(),r=e.getMonth()+1,a=e.getFullYear();return`Selected date is ${o}/${r}/${a}`}},mounted(){this.dark=l()}},_={class:"demo-wrap"};function h(e,o,r,a,t,n){const s=m("Datepicker");return p(),i("div",_,[u(s,{modelValue:t.date,"onUpdate:modelValue":o[0]||(o[0]=d=>t.date=d),placeholder:r.placeholder,"preview-format":n.format,dark:t.dark},null,8,["modelValue","placeholder","preview-format","dark"])])}var V=f(k,[["render",h]]);export{V as default}; +import{V as c}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as l,r as m,o as p,c as i,a as u}from"./app.bce967f0.js";import{_ as f}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:c},props:["placeholder"],data(){return{date:new Date,dark:!0}},methods:{format(e){const o=e.getDate(),r=e.getMonth()+1,a=e.getFullYear();return`Selected date is ${o}/${r}/${a}`}},mounted(){this.dark=l()}},_={class:"demo-wrap"};function h(e,o,r,a,t,n){const s=m("Datepicker");return p(),i("div",_,[u(s,{modelValue:t.date,"onUpdate:modelValue":o[0]||(o[0]=d=>t.date=d),placeholder:r.placeholder,"preview-format":n.format,dark:t.dark},null,8,["modelValue","placeholder","preview-format","dark"])])}var w=f(k,[["render",h]]);export{w as default}; diff --git a/docs/assets/RequiredDemo.e302d10c.js b/docs/assets/RequiredDemo.955c5dd4.js similarity index 61% rename from docs/assets/RequiredDemo.e302d10c.js rename to docs/assets/RequiredDemo.955c5dd4.js index 7f1c0a5..bfbb4eb 100644 --- a/docs/assets/RequiredDemo.e302d10c.js +++ b/docs/assets/RequiredDemo.955c5dd4.js @@ -1 +1 @@ -import{e as m,f as n,u as d,r as i,o as u,c as p,b as r,a as l,m as c}from"./app.216eec89.js";import{T as f}from"./vue3-date-time-picker.esm.f6c600f4.js";import{_}from"./plugin-vue_export-helper.21dcd24c.js";import{j as b}from"./index.81427e26.js";const k=m({components:{Datepicker:f},setup(){const e=n(),o=d();return{submitForm:()=>{alert("Form submitted")},date:e,dark:o,ja:b}}}),v={class:"demo-wrap"},D=r("button",{class:"submit-btn",type:"submit"},"Submit form",-1);function F(e,o,s,V,$,q){const a=i("Datepicker");return u(),p("div",v,[r("form",{onSubmit:o[1]||(o[1]=c((...t)=>e.submitForm&&e.submitForm(...t),["prevent"]))},[l(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=t=>e.date=t),dark:e.dark,placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),D],32)])}var w=_(k,[["render",F]]);export{w as default}; +import{e as m,f as n,u as d,r as i,o as u,c as p,b as r,a as l,m as c}from"./app.bce967f0.js";import{V as f}from"./vue3-date-time-picker.esm.37fef68f.js";import{_}from"./plugin-vue_export-helper.21dcd24c.js";import{j as b}from"./index.46473391.js";const k=m({components:{Datepicker:f},setup(){const e=n(),o=d();return{submitForm:()=>{alert("Form submitted")},date:e,dark:o,ja:b}}}),v={class:"demo-wrap"},D=r("button",{class:"submit-btn",type:"submit"},"Submit form",-1);function V(e,o,s,F,$,q){const a=i("Datepicker");return u(),p("div",v,[r("form",{onSubmit:o[1]||(o[1]=c((...t)=>e.submitForm&&e.submitForm(...t),["prevent"]))},[l(a,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=t=>e.date=t),dark:e.dark,placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),D],32)])}var w=_(k,[["render",V]]);export{w as default}; diff --git a/docs/assets/TextInputDemo.4dfdd665.js b/docs/assets/TextInputDemo.2897a654.js similarity index 72% rename from docs/assets/TextInputDemo.4dfdd665.js rename to docs/assets/TextInputDemo.2897a654.js index f43b139..a952869 100644 --- a/docs/assets/TextInputDemo.4dfdd665.js +++ b/docs/assets/TextInputDemo.2897a654.js @@ -1 +1 @@ -import{T as a}from"./vue3-date-time-picker.esm.f6c600f4.js";import{u as p,r as s,o as u,c as d,a as i}from"./app.216eec89.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const l={components:{Datepicker:a},props:["textInput","textInputOptions"],data(){return{date:null,dark:!0}},mounted(){this.dark=p()}},m={class:"demo-wrap"};function x(k,e,o,_,t,f){const n=s("Datepicker");return u(),d("div",m,[i(n,{modelValue:t.date,"onUpdate:modelValue":e[0]||(e[0]=r=>t.date=r),dark:t.dark,"text-input":o.textInput,"text-input-options":o.textInputOptions,placeholder:"Start Typing ..."},null,8,["modelValue","dark","text-input","text-input-options"])])}var V=c(l,[["render",x]]);export{V as default}; +import{V as a}from"./vue3-date-time-picker.esm.37fef68f.js";import{u as p,r as s,o as u,c as d,a as i}from"./app.bce967f0.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const l={components:{Datepicker:a},props:["textInput","textInputOptions"],data(){return{date:null,dark:!0}},mounted(){this.dark=p()}},m={class:"demo-wrap"};function x(k,e,o,_,t,f){const n=s("Datepicker");return u(),d("div",m,[i(n,{modelValue:t.date,"onUpdate:modelValue":e[0]||(e[0]=r=>t.date=r),dark:t.dark,"text-input":o.textInput,"text-input-options":o.textInputOptions,placeholder:"Start Typing ..."},null,8,["modelValue","dark","text-input","text-input-options"])])}var v=c(l,[["render",x]]);export{v as default}; diff --git a/docs/assets/TimePickerCmp.dd3f23ba.js b/docs/assets/TimePickerCmp.186b88a7.js similarity index 95% rename from docs/assets/TimePickerCmp.dd3f23ba.js rename to docs/assets/TimePickerCmp.186b88a7.js index edaf3b5..e67e05f 100644 --- a/docs/assets/TimePickerCmp.dd3f23ba.js +++ b/docs/assets/TimePickerCmp.186b88a7.js @@ -1 +1 @@ -import{e as d,h as o,o as s,c as n,b as l,F as i,y as p,x as m}from"./app.216eec89.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const f=d({emits:["update:hours","update:minutes"],props:{hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},range:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},minTime:{type:Object,default:()=>({})},maxTime:{type:Object,default:()=>({})},timePicker:{type:Boolean,default:!1},hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0}},setup(){const r=o(()=>{const a=[];for(let e=0;e<24;e++)a.push({text:e<10?`0${e}`:e,value:e});return a}),u=o(()=>{const a=[];for(let e=0;e<60;e++)a.push({text:e<10?`0${e}`:e,value:e});return a});return{hoursArray:r,minutesArray:u}}}),y={class:"custom-time-picker-component"},v=["value"],_=["value"],h=["value"],g=["value"];function b(r,u,a,e,k,$){return s(),n("div",y,[l("select",{class:"select-input",value:r.hours,onChange:u[0]||(u[0]=t=>r.$emit("update:hours",+t.target.value))},[(s(!0),n(i,null,p(r.hoursArray,t=>(s(),n("option",{key:t.value,value:t.value},m(t.text),9,_))),128))],40,v),l("select",{class:"select-input",value:r.minutes,onChange:u[1]||(u[1]=t=>r.$emit("update:minutes",+t.target.value))},[(s(!0),n(i,null,p(r.minutesArray,t=>(s(),n("option",{key:t.value,value:t.value},m(t.text),9,g))),128))],40,h)])}var B=c(f,[["render",b]]);export{B as default}; +import{e as d,h as o,o as s,c as n,b as l,F as i,y as p,x as m}from"./app.bce967f0.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const f=d({emits:["update:hours","update:minutes"],props:{hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},range:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},minTime:{type:Object,default:()=>({})},maxTime:{type:Object,default:()=>({})},timePicker:{type:Boolean,default:!1},hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0}},setup(){const r=o(()=>{const a=[];for(let e=0;e<24;e++)a.push({text:e<10?`0${e}`:e,value:e});return a}),u=o(()=>{const a=[];for(let e=0;e<60;e++)a.push({text:e<10?`0${e}`:e,value:e});return a});return{hoursArray:r,minutesArray:u}}}),y={class:"custom-time-picker-component"},v=["value"],_=["value"],h=["value"],g=["value"];function b(r,u,a,e,k,$){return s(),n("div",y,[l("select",{class:"select-input",value:r.hours,onChange:u[0]||(u[0]=t=>r.$emit("update:hours",+t.target.value))},[(s(!0),n(i,null,p(r.hoursArray,t=>(s(),n("option",{key:t.value,value:t.value},m(t.text),9,_))),128))],40,v),l("select",{class:"select-input",value:r.minutes,onChange:u[1]||(u[1]=t=>r.$emit("update:minutes",+t.target.value))},[(s(!0),n(i,null,p(r.minutesArray,t=>(s(),n("option",{key:t.value,value:t.value},m(t.text),9,g))),128))],40,h)])}var B=c(f,[["render",b]]);export{B as default}; diff --git a/docs/assets/TimezoneDemo.aa5179a9.js b/docs/assets/TimezoneDemo.aa5179a9.js new file mode 100644 index 0000000..4a6cbc3 --- /dev/null +++ b/docs/assets/TimezoneDemo.aa5179a9.js @@ -0,0 +1 @@ +import{f as s,u as c,r as m,o as t,c as r,a as l,x as i,i as p}from"./app.bce967f0.js";import{V as _}from"./vue3-date-time-picker.esm.37fef68f.js";import{_ as f}from"./plugin-vue_export-helper.21dcd24c.js";const k={components:{Datepicker:_},setup(){const a=s(),o=c();return{date:a,dark:o}}},u={class:"demo-wrap"},D={key:0};function V(a,o,x,e,v,C){const n=m("Datepicker");return t(),r("div",u,[l(n,{modelValue:e.date,"onUpdate:modelValue":o[0]||(o[0]=d=>e.date=d),dark:e.dark,utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),e.date?(t(),r("p",D,"Selected date in UTC format: "+i(e.date),1)):p("",!0)])}var B=f(k,[["render",V]]);export{B as default}; diff --git a/docs/assets/app.216eec89.js b/docs/assets/app.bce967f0.js similarity index 90% rename from docs/assets/app.216eec89.js rename to docs/assets/app.bce967f0.js index c61532a..e309473 100644 --- a/docs/assets/app.216eec89.js +++ b/docs/assets/app.bce967f0.js @@ -1,10 +1,10 @@ -var Cu=Object.defineProperty,Au=Object.defineProperties;var Iu=Object.getOwnPropertyDescriptors;var Yi=Object.getOwnPropertySymbols;var xu=Object.prototype.hasOwnProperty,ju=Object.prototype.propertyIsEnumerable;var Zi=(e,t,n)=>t in e?Cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Re=(e,t)=>{for(var n in t||(t={}))xu.call(t,n)&&Zi(e,n,t[n]);if(Yi)for(var n of Yi(t))ju.call(t,n)&&Zi(e,n,t[n]);return e},At=(e,t)=>Au(e,Iu(t));const Ki={};function li(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Tu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ku=li(Tu);function sl(e){return!!e||e===""}function er(e){if(G(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ru);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mn(e){let t="";if(me(e))t=e;else if(G(e))for(let n=0;nme(e)?e:e==null?"":G(e)||Ce(e)&&(e.toString===ul||!oe(e.toString))?JSON.stringify(e,al,2):String(e),al=(e,t)=>t&&t.__v_isRef?al(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:ll(t)?{[`Set(${t.size})`]:[...t.values()]}:Ce(t)&&!G(t)&&!fl(t)?String(t):t,ge={},on=[],Xe=()=>{},Mu=()=>!1,Hu=/^on[^a-z]/,tr=e=>Hu.test(e),ci=e=>e.startsWith("onUpdate:"),ke=Object.assign,ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fu=Object.prototype.hasOwnProperty,ue=(e,t)=>Fu.call(e,t),G=Array.isArray,sn=e=>Qr(e)==="[object Map]",ll=e=>Qr(e)==="[object Set]",oe=e=>typeof e=="function",me=e=>typeof e=="string",fi=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",cl=e=>Ce(e)&&oe(e.then)&&oe(e.catch),ul=Object.prototype.toString,Qr=e=>ul.call(e),zu=e=>Qr(e).slice(8,-1),fl=e=>Qr(e)==="[object Object]",di=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=li(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bu=/-(\w)/g,st=Yr(e=>e.replace(Bu,(t,n)=>n?n.toUpperCase():"")),$u=/\B([A-Z])/g,qt=Yr(e=>e.replace($u,"-$1").toLowerCase()),Zr=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ao=Yr(e=>e?`on${Zr(e)}`:""),Un=(e,t)=>!Object.is(e,t),lo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gi;const Uu=()=>Gi||(Gi=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let We;class qu{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&We&&(this.parent=We,this.index=(We.scopes||(We.scopes=[])).push(this)-1)}run(t){if(this.active)try{return We=this,t()}finally{We=this.parent}}on(){We=this}off(){We=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},pl=e=>(e.w&Pt)>0,ml=e=>(e.n&Pt)>0,Ju=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(s.get(n)),t){case"add":G(e)?di(n)&&a.push(s.get("length")):(a.push(s.get(Ft)),sn(e)&&a.push(s.get(jo)));break;case"delete":G(e)||(a.push(s.get(Ft)),sn(e)&&a.push(s.get(jo)));break;case"set":sn(e)&&a.push(s.get(Ft));break}if(a.length===1)a[0]&&To(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);To(pi(l))}}function To(e,t){for(const n of G(e)?e:[...e])(n!==rt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Yu=li("__proto__,__v_isRef,__isVue"),gl=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(fi)),Zu=hi(),Gu=hi(!1,!0),Xu=hi(!0),es=ef();function ef(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=de(this);for(let i=0,s=this.length;i{e[t]=function(...n){hn();const r=de(this)[t].apply(this,n);return vn(),r}}),e}function hi(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?gf:Ol:t?El:bl).get(r))return r;const s=G(r);if(!e&&s&&ue(es,o))return Reflect.get(es,o,i);const a=Reflect.get(r,o,i);return(fi(o)?gl.has(o):Yu(o))||(e||qe(r,"get",o),t)?a:xe(a)?!s||!di(o)?a.value:a:Ce(a)?e?_i(a):gn(a):a}}const tf=_l(),nf=_l(!0);function _l(e=!1){return function(n,r,o,i){let s=n[r];if(qn(s)&&xe(s)&&!xe(o))return!1;if(!e&&!qn(o)&&(wl(o)||(o=de(o),s=de(s)),!G(n)&&xe(s)&&!xe(o)))return s.value=o,!0;const a=G(n)&&di(r)?Number(r)e,Gr=e=>Reflect.getPrototypeOf(e);function sr(e,t,n=!1,r=!1){e=e.__v_raw;const o=de(e),i=de(t);t!==i&&!n&&qe(o,"get",t),!n&&qe(o,"get",i);const{has:s}=Gr(o),a=r?vi:n?bi:Vn;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function ar(e,t=!1){const n=this.__v_raw,r=de(n),o=de(e);return e!==o&&!t&&qe(r,"has",e),!t&&qe(r,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function lr(e,t=!1){return e=e.__v_raw,!t&&qe(de(e),"iterate",Ft),Reflect.get(e,"size",e)}function ts(e){e=de(e);const t=de(this);return Gr(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function ns(e,t){t=de(t);const n=de(this),{has:r,get:o}=Gr(n);let i=r.call(n,e);i||(e=de(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Un(t,s)&&pt(n,"set",e,t):pt(n,"add",e,t),this}function rs(e){const t=de(this),{has:n,get:r}=Gr(t);let o=n.call(t,e);o||(e=de(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&pt(t,"delete",e,void 0),i}function os(){const e=de(this),t=e.size!==0,n=e.clear();return t&&pt(e,"clear",void 0,void 0),n}function cr(e,t){return function(r,o){const i=this,s=i.__v_raw,a=de(s),l=t?vi:e?bi:Vn;return!e&&qe(a,"iterate",Ft),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function ur(e,t,n){return function(...r){const o=this.__v_raw,i=de(o),s=sn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?vi:t?bi:Vn;return!t&&qe(i,"iterate",l?jo:Ft),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ht(e){return function(...t){return e==="delete"?!1:this}}function cf(){const e={get(i){return sr(this,i)},get size(){return lr(this)},has:ar,add:ts,set:ns,delete:rs,clear:os,forEach:cr(!1,!1)},t={get(i){return sr(this,i,!1,!0)},get size(){return lr(this)},has:ar,add:ts,set:ns,delete:rs,clear:os,forEach:cr(!1,!0)},n={get(i){return sr(this,i,!0)},get size(){return lr(this,!0)},has(i){return ar.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:cr(!0,!1)},r={get(i){return sr(this,i,!0,!0)},get size(){return lr(this,!0)},has(i){return ar.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:cr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ur(i,!1,!1),n[i]=ur(i,!0,!1),t[i]=ur(i,!1,!0),r[i]=ur(i,!0,!0)}),[e,n,t,r]}const[uf,ff,df,pf]=cf();function gi(e,t){const n=t?e?pf:df:e?ff:uf;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,i)}const mf={get:gi(!1,!1)},hf={get:gi(!1,!0)},vf={get:gi(!0,!1)},bl=new WeakMap,El=new WeakMap,Ol=new WeakMap,gf=new WeakMap;function _f(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yf(e){return e.__v_skip||!Object.isExtensible(e)?0:_f(zu(e))}function gn(e){return qn(e)?e:yi(e,!1,yl,mf,bl)}function bf(e){return yi(e,!1,lf,hf,El)}function _i(e){return yi(e,!0,af,vf,Ol)}function yi(e,t,n,r,o){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=yf(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function an(e){return qn(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Sl(e){return an(e)||qn(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function Pl(e){return Ir(e,"__v_skip",!0),e}const Vn=e=>Ce(e)?gn(e):e,bi=e=>Ce(e)?_i(e):e;function Cl(e){wt&&rt&&(e=de(e),vl(e.dep||(e.dep=pi())))}function Al(e,t){e=de(e),e.dep&&To(e.dep)}function xe(e){return!!(e&&e.__v_isRef===!0)}function Ne(e){return xl(e,!1)}function Il(e){return xl(e,!0)}function xl(e,t){return xe(e)?e:new Ef(e,t)}class Ef{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:Vn(t)}get value(){return Cl(this),this._value}set value(t){t=this.__v_isShallow?t:de(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Vn(t),Al(this))}}function zt(e){return xe(e)?e.value:e}const Of={get:(e,t,n)=>zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return xe(o)&&!xe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function jl(e){return an(e)?e:new Proxy(e,Of)}function P0(e){const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=Sf(e,n);return t}class wf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Sf(e,t,n){const r=e[t];return xe(r)?r:new wf(e,t,n)}class Pf{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new mi(t,()=>{this._dirty||(this._dirty=!0,Al(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=de(this);return Cl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Cf(e,t,n=!1){let r,o;const i=oe(e);return i?(r=e,o=Xe):(r=e.get,o=e.set),new Pf(r,o,i||!o,n)}Promise.resolve();function St(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){nr(i,t,n)}return o}function Je(e,t,n,r){if(oe(e)){const i=St(e,t,n,r);return i&&cl(i)&&i.catch(s=>{nr(s,t,n)}),i}const o=[];for(let i=0;i>>1;Kn($e[r])ct&&$e.splice(t,1)}function Dl(e,t,n,r){G(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),kl()}function jf(e){Dl(e,xn,Dn,Zt)}function Tf(e){Dl(e,yt,Rn,Gt)}function Si(e,t=null){if(Dn.length){for(Do=t,xn=[...new Set(Dn)],Dn.length=0,Zt=0;ZtKn(n)-Kn(r)),Gt=0;Gte.id==null?1/0:e.id;function Rl(e){ko=!1,xr=!0,Si(e),$e.sort((n,r)=>Kn(n)-Kn(r));const t=Xe;try{for(ct=0;ct<$e.length;ct++){const n=$e[ct];n&&n.active!==!1&&St(n,null,14)}}finally{ct=0,$e.length=0,jr(),xr=!1,Ei=null,($e.length||Dn.length||Rn.length)&&Rl(e)}}function kf(e,t,...n){const r=e.vnode.props||ge;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:f}=r[u]||ge;f?o=n.map(h=>h.trim()):d&&(o=n.map(dl))}let a,l=r[a=ao(t)]||r[a=ao(st(t))];!l&&i&&(l=r[a=ao(qt(t))]),l&&Je(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Je(c,e,6,o)}}function Ll(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!oe(e)){const l=c=>{const u=Ll(c,t,!0);u&&(a=!0,ke(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(r.set(e,null),null):(G(i)?i.forEach(l=>s[l]=null):ke(s,i),r.set(e,s),s)}function Pi(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,qt(t))||ue(e,t))}let Ue=null,Nl=null;function Tr(e){const t=Ue;return Ue=e,Nl=e&&e.type.__scopeId||null,t}function Df(e,t=Ue,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&vs(-1);const i=Tr(t),s=e(...o);return Tr(i),r._d&&vs(1),s};return r._n=!0,r._c=!0,r._d=!0,r}function co(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:m,inheritAttrs:g}=e;let v,_;const E=Tr(e);try{if(n.shapeFlag&4){const S=o||r;v=Ge(u.call(S,S,d,i,h,f,m)),_=l}else{const S=t;v=Ge(S.length>1?S(i,{attrs:l,slots:a,emit:c}):S(i,null)),_=t.props?l:Rf(l)}}catch(S){Mn.length=0,nr(S,e,1),v=Se(Qe)}let O=v;if(_&&g!==!1){const S=Object.keys(_),{shapeFlag:I}=O;S.length&&I&7&&(s&&S.some(ci)&&(_=Lf(_,s)),O=ln(O,_))}return n.dirs&&(O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),v=O,Tr(E),v}const Rf=e=>{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},Lf=(e,t)=>{const n={};for(const r in e)(!ci(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Nf(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?is(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Ml(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Tf(e)}function Bt(e,t){if(Ie){let n=Ie.provides;const r=Ie.parent&&Ie.parent.provides;r===n&&(n=Ie.provides=Object.create(r)),n[e]=t}}function je(e,t,n=!1){const r=Ie||Ue;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&oe(t)?t.call(r.proxy):t}}const ss={};function et(e,t,n){return Hl(e,t,n)}function Hl(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=ge){const a=Ie;let l,c=!1,u=!1;if(xe(e)?(l=()=>e.value,c=wl(e)):an(e)?(l=()=>e,r=!0):G(e)?(u=!0,c=e.some(an),l=()=>e.map(_=>{if(xe(_))return _.value;if(an(_))return Ht(_);if(oe(_))return St(_,a,2)})):oe(e)?t?l=()=>St(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),Je(e,a,3,[f])}:l=Xe,t&&r){const _=l;l=()=>Ht(_())}let d,f=_=>{d=v.onStop=()=>{St(_,a,4)}};if(un)return f=Xe,t?n&&Je(t,a,3,[l(),u?[]:void 0,f]):l(),Xe;let h=u?[]:ss;const m=()=>{if(!!v.active)if(t){const _=v.run();(r||c||(u?_.some((E,O)=>Un(E,h[O])):Un(_,h)))&&(d&&d(),Je(t,a,3,[_,h===ss?void 0:h,f]),h=_)}else v.run()};m.allowRecurse=!!t;let g;o==="sync"?g=m:o==="post"?g=()=>He(m,a&&a.suspense):g=()=>{!a||a.isMounted?jf(m):m()};const v=new mi(l,g);return t?n?m():h=v.run():o==="post"?He(v.run.bind(v),a&&a.suspense):v.run(),()=>{v.stop(),a&&a.scope&&ui(a.scope.effects,v)}}function Ff(e,t,n){const r=this.proxy,o=me(e)?e.includes(".")?Fl(r,e):()=>r[e]:e.bind(r,r);let i;oe(t)?i=t:(i=t.handler,n=t);const s=Ie;cn(this);const a=Hl(o,i.bind(r),n);return s?cn(s):Ut(),a}function Fl(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ht(n,t)});else if(fl(e))for(const n in e)Ht(e[n],t);return e}function zf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return at(()=>{e.isMounted=!0}),Ci(()=>{e.isUnmounting=!0}),e}const Ve=[Function,Array],Bf={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ve,onEnter:Ve,onAfterEnter:Ve,onEnterCancelled:Ve,onBeforeLeave:Ve,onLeave:Ve,onAfterLeave:Ve,onLeaveCancelled:Ve,onBeforeAppear:Ve,onAppear:Ve,onAfterAppear:Ve,onAppearCancelled:Ve},setup(e,{slots:t}){const n=Di(),r=zf();let o;return()=>{const i=t.default&&$l(t.default(),!0);if(!i||!i.length)return;const s=de(e),{mode:a}=s,l=i[0];if(r.isLeaving)return uo(l);const c=as(l);if(!c)return uo(l);const u=Ro(c,s,r,n);Lo(c,u);const d=n.subTree,f=d&&as(d);let h=!1;const{getTransitionKey:m}=c.type;if(m){const g=m();o===void 0?o=g:g!==o&&(o=g,h=!0)}if(f&&f.type!==Qe&&(!Nt(c,f)||h)){const g=Ro(f,s,r,n);if(Lo(f,g),a==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update()},uo(l);a==="in-out"&&c.type!==Qe&&(g.delayLeave=(v,_,E)=>{const O=Bl(r,f);O[String(f.key)]=f,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=E})}return l}}},zl=Bf;function Bl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ro(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:_,onAppearCancelled:E}=t,O=String(e.key),S=Bl(n,e),I=(C,P)=>{C&&Je(C,r,9,P)},L={mode:i,persisted:s,beforeEnter(C){let P=a;if(!n.isMounted)if(o)P=g||a;else return;C._leaveCb&&C._leaveCb(!0);const B=S[O];B&&Nt(e,B)&&B.el._leaveCb&&B.el._leaveCb(),I(P,[C])},enter(C){let P=l,B=c,z=u;if(!n.isMounted)if(o)P=v||l,B=_||c,z=E||u;else return;let $=!1;const A=C._enterCb=F=>{$||($=!0,F?I(z,[C]):I(B,[C]),L.delayedLeave&&L.delayedLeave(),C._enterCb=void 0)};P?(P(C,A),P.length<=1&&A()):A()},leave(C,P){const B=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return P();I(d,[C]);let z=!1;const $=C._leaveCb=A=>{z||(z=!0,P(),A?I(m,[C]):I(h,[C]),C._leaveCb=void 0,S[B]===e&&delete S[B])};S[B]=e,f?(f(C,$),f.length<=1&&$()):$()},clone(C){return Ro(C,t,n,r)}};return L}function uo(e){if(rr(e))return e=ln(e),e.children=null,e}function as(e){return rr(e)?e.children?e.children[0]:void 0:e}function Lo(e,t){e.shapeFlag&6&&e.component?Lo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $l(e,t=!1){let n=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;function ce(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=e;let l=null,c,u=0;const d=()=>(u++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((g,v)=>{a(m,()=>g(d()),()=>v(m),u+1)});throw m}).then(m=>h!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return Ye({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=Ie;if(c)return()=>fo(c,h);const m=E=>{l=null,nr(E,h,13,!r)};if(s&&h.suspense||un)return f().then(E=>()=>fo(E,h)).catch(E=>(m(E),()=>r?Se(r,{error:E}):null));const g=Ne(!1),v=Ne(),_=Ne(!!o);return o&&setTimeout(()=>{_.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!v.value){const E=new Error(`Async component timed out after ${i}ms.`);m(E),v.value=E}},i),f().then(()=>{g.value=!0,h.parent&&rr(h.parent.vnode)&&wi(h.parent.update)}).catch(E=>{m(E),v.value=E}),()=>{if(g.value&&c)return fo(c,h);if(v.value&&r)return Se(r,{error:v.value});if(n&&!_.value)return Se(n)}}})}function fo(e,{vnode:{ref:t,props:n,children:r}}){const o=Se(e,n,r);return o.ref=t,o}const rr=e=>e.type.__isKeepAlive;function $f(e,t){Ul(e,"a",t)}function Uf(e,t){Ul(e,"da",t)}function Ul(e,t,n=Ie){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Xr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rr(o.parent.vnode)&&qf(r,t,n,o),o=o.parent}}function qf(e,t,n,r){const o=Xr(t,e,r,!0);Ai(()=>{ui(r[t],o)},n)}function Xr(e,t,n=Ie,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn(),cn(n);const a=Je(t,n,e,s);return Ut(),vn(),a});return r?o.unshift(i):o.push(i),i}}const mt=e=>(t,n=Ie)=>(!un||e==="sp")&&Xr(e,t,n),Vf=mt("bm"),at=mt("m"),Kf=mt("bu"),Wf=mt("u"),Ci=mt("bum"),Ai=mt("um"),Jf=mt("sp"),Qf=mt("rtg"),Yf=mt("rtc");function Zf(e,t=Ie){Xr("ec",e,t)}let No=!0;function Gf(e){const t=Vl(e),n=e.proxy,r=e.ctx;No=!1,t.beforeCreate&&ls(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:g,deactivated:v,beforeDestroy:_,beforeUnmount:E,destroyed:O,unmounted:S,render:I,renderTracked:L,renderTriggered:C,errorCaptured:P,serverPrefetch:B,expose:z,inheritAttrs:$,components:A,directives:F,filters:Q}=t;if(c&&Xf(c,r,null,e.appContext.config.unwrapInjectedRef),s)for(const ee in s){const te=s[ee];oe(te)&&(r[ee]=te.bind(n))}if(o){const ee=o.call(n,n);Ce(ee)&&(e.data=gn(ee))}if(No=!0,i)for(const ee in i){const te=i[ee],Oe=oe(te)?te.bind(n,n):oe(te.get)?te.get.bind(n,n):Xe,Pe=!oe(te)&&oe(te.set)?te.set.bind(n):Xe,Ae=Ee({get:Oe,set:Pe});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:we=>Ae.value=we})}if(a)for(const ee in a)ql(a[ee],r,n,ee);if(l){const ee=oe(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(te=>{Bt(te,ee[te])})}u&&ls(u,e,"c");function W(ee,te){G(te)?te.forEach(Oe=>ee(Oe.bind(n))):te&&ee(te.bind(n))}if(W(Vf,d),W(at,f),W(Kf,h),W(Wf,m),W($f,g),W(Uf,v),W(Zf,P),W(Yf,L),W(Qf,C),W(Ci,E),W(Ai,S),W(Jf,B),G(z))if(z.length){const ee=e.exposed||(e.exposed={});z.forEach(te=>{Object.defineProperty(ee,te,{get:()=>n[te],set:Oe=>n[te]=Oe})})}else e.exposed||(e.exposed={});I&&e.render===Xe&&(e.render=I),$!=null&&(e.inheritAttrs=$),A&&(e.components=A),F&&(e.directives=F)}function Xf(e,t,n=Xe,r=!1){G(e)&&(e=Mo(e));for(const o in e){const i=e[o];let s;Ce(i)?"default"in i?s=je(i.from||o,i.default,!0):s=je(i.from||o):s=je(i),xe(s)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function ls(e,t,n){Je(G(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ql(e,t,n,r){const o=r.includes(".")?Fl(n,r):()=>n[r];if(me(e)){const i=t[e];oe(i)&&et(o,i)}else if(oe(e))et(o,e.bind(n));else if(Ce(e))if(G(e))e.forEach(i=>ql(i,t,n,r));else{const i=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(i)&&et(o,i,e)}}function Vl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Dr(l,c,s,!0)),Dr(l,t,s)),i.set(t,l),l}function Dr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Dr(e,i,n,!0),o&&o.forEach(s=>Dr(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=ed[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const ed={data:cs,props:Dt,emits:Dt,methods:Dt,computed:Dt,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Dt,directives:Dt,watch:nd,provide:cs,inject:td};function cs(e,t){return t?e?function(){return ke(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function td(e,t){return Dt(Mo(e),Mo(t))}function Mo(e){if(G(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=Wl(d,t,!0);ke(s,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return r.set(e,on),on;if(G(i))for(let u=0;u-1,h[1]=g<0||m-1||ue(h,"default"))&&a.push(d)}}}const c=[s,a];return r.set(e,c),c}function us(e){return e[0]!=="$"}function fs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ds(e,t){return fs(e)===fs(t)}function ps(e,t){return G(t)?t.findIndex(n=>ds(n,e)):oe(t)&&ds(t,e)?0:-1}const Jl=e=>e[0]==="_"||e==="$stable",Ii=e=>G(e)?e.map(Ge):[Ge(e)],id=(e,t,n)=>{const r=Df((...o)=>Ii(t(...o)),n);return r._c=!1,r},Ql=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Jl(o))continue;const i=e[o];if(oe(i))t[o]=id(o,i,r);else if(i!=null){const s=Ii(i);t[o]=()=>s}}},Yl=(e,t)=>{const n=Ii(t);e.slots.default=()=>n},sd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),Ir(t,"_",n)):Ql(t,e.slots={})}else e.slots={},t&&Yl(e,t);Ir(e.slots,to,1)},ad=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ge;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(ke(o,t),!n&&a===1&&delete o._):(i=!t.$stable,Ql(t,o)),s=t}else t&&(Yl(e,t),s={default:1});if(i)for(const a in o)!Jl(a)&&!(a in s)&&delete o[a]};function C0(e,t){const n=Ue;if(n===null)return e;const r=n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;iRr(f,t&&(G(t)?t[h]:t),n,r,o));return}if(kr(r)&&!o)return;const i=r.shapeFlag&4?Ri(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ge?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(me(c)?(u[c]=null,ue(d,c)&&(d[c]=null)):xe(c)&&(c.value=null)),oe(l))St(l,a,12,[s,u]);else{const f=me(l),h=xe(l);if(f||h){const m=()=>{if(e.f){const g=f?u[l]:l.value;o?G(g)&&ui(g,i):G(g)?g.includes(i)||g.push(i):f?u[l]=[i]:(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=s,ue(d,l)&&(d[l]=s)):xe(l)&&(l.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,He(m,n)):m()}}}let vt=!1;const fr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",po=e=>e.nodeType===8;function ud(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:o,parentNode:i,remove:s,insert:a,createComment:l}}=e,c=(v,_)=>{if(!_.hasChildNodes()){n(null,v,_),jr();return}vt=!1,u(_.firstChild,v,null,null,null),jr(),vt&&console.error("Hydration completed but contains mismatches.")},u=(v,_,E,O,S,I=!1)=>{const L=po(v)&&v.data==="[",C=()=>m(v,_,E,O,S,L),{type:P,ref:B,shapeFlag:z}=_,$=v.nodeType;_.el=v;let A=null;switch(P){case Wn:$!==3?A=C():(v.data!==_.children&&(vt=!0,v.data=_.children),A=o(v));break;case Qe:$!==8||L?A=C():A=o(v);break;case Nn:if($!==1)A=C();else{A=v;const F=!_.children.length;for(let Q=0;Q<_.staticCount;Q++)F&&(_.children+=A.outerHTML),Q===_.staticCount-1&&(_.anchor=A),A=o(A);return A}break;case Fe:L?A=h(v,_,E,O,S,I):A=C();break;default:if(z&1)$!==1||_.type.toLowerCase()!==v.tagName.toLowerCase()?A=C():A=d(v,_,E,O,S,I);else if(z&6){_.slotScopeIds=S;const F=i(v);if(t(_,F,null,E,O,fr(F),I),A=L?g(v):o(v),kr(_)){let Q;L?(Q=Se(Fe),Q.anchor=A?A.previousSibling:F.lastChild):Q=v.nodeType===3?Ti(""):Se("div"),Q.el=v,_.component.subTree=Q}}else z&64?$!==8?A=C():A=_.type.hydrate(v,_,E,O,S,I,e,f):z&128&&(A=_.type.hydrate(v,_,E,O,fr(i(v)),S,I,e,u))}return B!=null&&Rr(B,null,O,_),A},d=(v,_,E,O,S,I)=>{I=I||!!_.dynamicChildren;const{type:L,props:C,patchFlag:P,shapeFlag:B,dirs:z}=_,$=L==="input"&&z||L==="option";if($||P!==-1){if(z&&nt(_,null,E,"created"),C)if($||!I||P&48)for(const F in C)($&&F.endsWith("value")||tr(F)&&!kn(F))&&r(v,F,null,C[F],!1,void 0,E);else C.onClick&&r(v,"onClick",null,C.onClick,!1,void 0,E);let A;if((A=C&&C.onVnodeBeforeMount)&&Ke(A,E,_),z&&nt(_,null,E,"beforeMount"),((A=C&&C.onVnodeMounted)||z)&&Ml(()=>{A&&Ke(A,E,_),z&&nt(_,null,E,"mounted")},O),B&16&&!(C&&(C.innerHTML||C.textContent))){let F=f(v.firstChild,_,v,E,O,S,I);for(;F;){vt=!0;const Q=F;F=F.nextSibling,s(Q)}}else B&8&&v.textContent!==_.children&&(vt=!0,v.textContent=_.children)}return v.nextSibling},f=(v,_,E,O,S,I,L)=>{L=L||!!_.dynamicChildren;const C=_.children,P=C.length;for(let B=0;B{const{slotScopeIds:L}=_;L&&(S=S?S.concat(L):L);const C=i(v),P=f(o(v),_,C,E,O,S,I);return P&&po(P)&&P.data==="]"?o(_.anchor=P):(vt=!0,a(_.anchor=l("]"),C,P),P)},m=(v,_,E,O,S,I)=>{if(vt=!0,_.el=null,I){const P=g(v);for(;;){const B=o(v);if(B&&B!==P)s(B);else break}}const L=o(v),C=i(v);return s(v),n(null,_,C,L,E,O,fr(C),S),L},g=v=>{let _=0;for(;v;)if(v=o(v),v&&po(v)&&(v.data==="["&&_++,v.data==="]")){if(_===0)return o(v);_--}return v};return[c,u]}const He=Ml;function fd(e){return dd(e,ud)}function dd(e,t){const n=Uu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Xe,cloneNode:m,insertStaticContent:g}=e,v=(p,y,w,x=null,T=null,k=null,M=!1,D=null,H=!!y.dynamicChildren)=>{if(p===y)return;p&&!Nt(p,y)&&(x=q(p),Te(p,T,k,!0),p=null),y.patchFlag===-2&&(H=!1,y.dynamicChildren=null);const{type:R,ref:J,shapeFlag:K}=y;switch(R){case Wn:_(p,y,w,x);break;case Qe:E(p,y,w,x);break;case Nn:p==null&&O(y,w,x,M);break;case Fe:F(p,y,w,x,T,k,M,D,H);break;default:K&1?L(p,y,w,x,T,k,M,D,H):K&6?Q(p,y,w,x,T,k,M,D,H):(K&64||K&128)&&R.process(p,y,w,x,T,k,M,D,H,pe)}J!=null&&T&&Rr(J,p&&p.ref,k,y||p,!y)},_=(p,y,w,x)=>{if(p==null)r(y.el=a(y.children),w,x);else{const T=y.el=p.el;y.children!==p.children&&c(T,y.children)}},E=(p,y,w,x)=>{p==null?r(y.el=l(y.children||""),w,x):y.el=p.el},O=(p,y,w,x)=>{[p.el,p.anchor]=g(p.children,y,w,x,p.el,p.anchor)},S=({el:p,anchor:y},w,x)=>{let T;for(;p&&p!==y;)T=f(p),r(p,w,x),p=T;r(y,w,x)},I=({el:p,anchor:y})=>{let w;for(;p&&p!==y;)w=f(p),o(p),p=w;o(y)},L=(p,y,w,x,T,k,M,D,H)=>{M=M||y.type==="svg",p==null?C(y,w,x,T,k,M,D,H):z(p,y,T,k,M,D,H)},C=(p,y,w,x,T,k,M,D)=>{let H,R;const{type:J,props:K,shapeFlag:V,transition:Z,patchFlag:ie,dirs:ye}=p;if(p.el&&m!==void 0&&ie===-1)H=p.el=m(p.el);else{if(H=p.el=s(p.type,k,K&&K.is,K),V&8?u(H,p.children):V&16&&B(p.children,H,null,x,T,k&&J!=="foreignObject",M,D),ye&&nt(p,null,x,"created"),K){for(const _e in K)_e!=="value"&&!kn(_e)&&i(H,_e,null,K[_e],k,p.children,x,T,N);"value"in K&&i(H,"value",null,K.value),(R=K.onVnodeBeforeMount)&&Ke(R,x,p)}P(H,p,p.scopeId,M,x)}ye&&nt(p,null,x,"beforeMount");const he=(!T||T&&!T.pendingBranch)&&Z&&!Z.persisted;he&&Z.beforeEnter(H),r(H,y,w),((R=K&&K.onVnodeMounted)||he||ye)&&He(()=>{R&&Ke(R,x,p),he&&Z.enter(H),ye&&nt(p,null,x,"mounted")},T)},P=(p,y,w,x,T)=>{if(w&&h(p,w),x)for(let k=0;k{for(let R=H;R{const D=y.el=p.el;let{patchFlag:H,dynamicChildren:R,dirs:J}=y;H|=p.patchFlag&16;const K=p.props||ge,V=y.props||ge;let Z;w&&It(w,!1),(Z=V.onVnodeBeforeUpdate)&&Ke(Z,w,y,p),J&&nt(y,p,w,"beforeUpdate"),w&&It(w,!0);const ie=T&&y.type!=="foreignObject";if(R?$(p.dynamicChildren,R,D,w,x,ie,k):M||Oe(p,y,D,null,w,x,ie,k,!1),H>0){if(H&16)A(D,y,K,V,w,x,T);else if(H&2&&K.class!==V.class&&i(D,"class",null,V.class,T),H&4&&i(D,"style",K.style,V.style,T),H&8){const ye=y.dynamicProps;for(let he=0;he{Z&&Ke(Z,w,y,p),J&&nt(y,p,w,"updated")},x)},$=(p,y,w,x,T,k,M)=>{for(let D=0;D{if(w!==x){for(const D in x){if(kn(D))continue;const H=x[D],R=w[D];H!==R&&D!=="value"&&i(p,D,R,H,M,y.children,T,k,N)}if(w!==ge)for(const D in w)!kn(D)&&!(D in x)&&i(p,D,w[D],null,M,y.children,T,k,N);"value"in x&&i(p,"value",w.value,x.value)}},F=(p,y,w,x,T,k,M,D,H)=>{const R=y.el=p?p.el:a(""),J=y.anchor=p?p.anchor:a("");let{patchFlag:K,dynamicChildren:V,slotScopeIds:Z}=y;Z&&(D=D?D.concat(Z):Z),p==null?(r(R,w,x),r(J,w,x),B(y.children,w,J,T,k,M,D,H)):K>0&&K&64&&V&&p.dynamicChildren?($(p.dynamicChildren,V,w,T,k,M,D),(y.key!=null||T&&y===T.subTree)&&xi(p,y,!0)):Oe(p,y,w,J,T,k,M,D,H)},Q=(p,y,w,x,T,k,M,D,H)=>{y.slotScopeIds=D,p==null?y.shapeFlag&512?T.ctx.activate(y,w,x,M,H):se(y,w,x,T,k,M,H):W(p,y,H)},se=(p,y,w,x,T,k,M)=>{const D=p.component=Pd(p,x,T);if(rr(p)&&(D.ctx.renderer=pe),Cd(D),D.asyncDep){if(T&&T.registerDep(D,ee),!p.el){const H=D.subTree=Se(Qe);E(null,H,y,w)}return}ee(D,p,y,w,T,k,M)},W=(p,y,w)=>{const x=y.component=p.component;if(Nf(p,y,w))if(x.asyncDep&&!x.asyncResolved){te(x,y,w);return}else x.next=y,xf(x.update),x.update();else y.component=p.component,y.el=p.el,x.vnode=y},ee=(p,y,w,x,T,k,M)=>{const D=()=>{if(p.isMounted){let{next:J,bu:K,u:V,parent:Z,vnode:ie}=p,ye=J,he;It(p,!1),J?(J.el=ie.el,te(p,J,M)):J=ie,K&&lo(K),(he=J.props&&J.props.onVnodeBeforeUpdate)&&Ke(he,Z,J,ie),It(p,!0);const _e=co(p),Ze=p.subTree;p.subTree=_e,v(Ze,_e,d(Ze.el),q(Ze),p,T,k),J.el=_e.el,ye===null&&Mf(p,_e.el),V&&He(V,T),(he=J.props&&J.props.onVnodeUpdated)&&He(()=>Ke(he,Z,J,ie),T)}else{let J;const{el:K,props:V}=y,{bm:Z,m:ie,parent:ye}=p,he=kr(y);if(It(p,!1),Z&&lo(Z),!he&&(J=V&&V.onVnodeBeforeMount)&&Ke(J,ye,y),It(p,!0),K&&X){const _e=()=>{p.subTree=co(p),X(K,p.subTree,p,T,null)};he?y.type.__asyncLoader().then(()=>!p.isUnmounted&&_e()):_e()}else{const _e=p.subTree=co(p);v(null,_e,w,x,p,T,k),y.el=_e.el}if(ie&&He(ie,T),!he&&(J=V&&V.onVnodeMounted)){const _e=y;He(()=>Ke(J,ye,_e),T)}y.shapeFlag&256&&p.a&&He(p.a,T),p.isMounted=!0,y=w=x=null}},H=p.effect=new mi(D,()=>wi(p.update),p.scope),R=p.update=H.run.bind(H);R.id=p.uid,It(p,!0),R()},te=(p,y,w)=>{y.component=p;const x=p.vnode.props;p.vnode=y,p.next=null,od(p,y.props,x,w),ad(p,y.children,w),hn(),Si(void 0,p.update),vn()},Oe=(p,y,w,x,T,k,M,D,H=!1)=>{const R=p&&p.children,J=p?p.shapeFlag:0,K=y.children,{patchFlag:V,shapeFlag:Z}=y;if(V>0){if(V&128){Ae(R,K,w,x,T,k,M,D,H);return}else if(V&256){Pe(R,K,w,x,T,k,M,D,H);return}}Z&8?(J&16&&N(R,T,k),K!==R&&u(w,K)):J&16?Z&16?Ae(R,K,w,x,T,k,M,D,H):N(R,T,k,!0):(J&8&&u(w,""),Z&16&&B(K,w,x,T,k,M,D,H))},Pe=(p,y,w,x,T,k,M,D,H)=>{p=p||on,y=y||on;const R=p.length,J=y.length,K=Math.min(R,J);let V;for(V=0;VJ?N(p,T,k,!0,!1,K):B(y,w,x,T,k,M,D,H,K)},Ae=(p,y,w,x,T,k,M,D,H)=>{let R=0;const J=y.length;let K=p.length-1,V=J-1;for(;R<=K&&R<=V;){const Z=p[R],ie=y[R]=H?bt(y[R]):Ge(y[R]);if(Nt(Z,ie))v(Z,ie,w,null,T,k,M,D,H);else break;R++}for(;R<=K&&R<=V;){const Z=p[K],ie=y[V]=H?bt(y[V]):Ge(y[V]);if(Nt(Z,ie))v(Z,ie,w,null,T,k,M,D,H);else break;K--,V--}if(R>K){if(R<=V){const Z=V+1,ie=ZV)for(;R<=K;)Te(p[R],T,k,!0),R++;else{const Z=R,ie=R,ye=new Map;for(R=ie;R<=V;R++){const Be=y[R]=H?bt(y[R]):Ge(y[R]);Be.key!=null&&ye.set(Be.key,R)}let he,_e=0;const Ze=V-ie+1;let Vt=!1,Wi=0;const bn=new Array(Ze);for(R=0;R=Ze){Te(Be,T,k,!0);continue}let tt;if(Be.key!=null)tt=ye.get(Be.key);else for(he=ie;he<=V;he++)if(bn[he-ie]===0&&Nt(Be,y[he])){tt=he;break}tt===void 0?Te(Be,T,k,!0):(bn[tt-ie]=R+1,tt>=Wi?Wi=tt:Vt=!0,v(Be,y[tt],w,null,T,k,M,D,H),_e++)}const Ji=Vt?pd(bn):on;for(he=Ji.length-1,R=Ze-1;R>=0;R--){const Be=ie+R,tt=y[Be],Qi=Be+1{const{el:k,type:M,transition:D,children:H,shapeFlag:R}=p;if(R&6){we(p.component.subTree,y,w,x);return}if(R&128){p.suspense.move(y,w,x);return}if(R&64){M.move(p,y,w,pe);return}if(M===Fe){r(k,y,w);for(let K=0;KD.enter(k),T);else{const{leave:K,delayLeave:V,afterLeave:Z}=D,ie=()=>r(k,y,w),ye=()=>{K(k,()=>{ie(),Z&&Z()})};V?V(k,ie,ye):ye()}else r(k,y,w)},Te=(p,y,w,x=!1,T=!1)=>{const{type:k,props:M,ref:D,children:H,dynamicChildren:R,shapeFlag:J,patchFlag:K,dirs:V}=p;if(D!=null&&Rr(D,null,w,p,!0),J&256){y.ctx.deactivate(p);return}const Z=J&1&&V,ie=!kr(p);let ye;if(ie&&(ye=M&&M.onVnodeBeforeUnmount)&&Ke(ye,y,p),J&6)U(p.component,w,x);else{if(J&128){p.suspense.unmount(w,x);return}Z&&nt(p,null,y,"beforeUnmount"),J&64?p.type.remove(p,y,w,T,pe,x):R&&(k!==Fe||K>0&&K&64)?N(R,y,w,!1,!0):(k===Fe&&K&384||!T&&J&16)&&N(H,y,w),x&&ze(p)}(ie&&(ye=M&&M.onVnodeUnmounted)||Z)&&He(()=>{ye&&Ke(ye,y,p),Z&&nt(p,null,y,"unmounted")},w)},ze=p=>{const{type:y,el:w,anchor:x,transition:T}=p;if(y===Fe){j(w,x);return}if(y===Nn){I(p);return}const k=()=>{o(w),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(p.shapeFlag&1&&T&&!T.persisted){const{leave:M,delayLeave:D}=T,H=()=>M(w,k);D?D(p.el,k,H):H()}else k()},j=(p,y)=>{let w;for(;p!==y;)w=f(p),o(p),p=w;o(y)},U=(p,y,w)=>{const{bum:x,scope:T,update:k,subTree:M,um:D}=p;x&&lo(x),T.stop(),k&&(k.active=!1,Te(M,p,y,w)),D&&He(D,y),He(()=>{p.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},N=(p,y,w,x=!1,T=!1,k=0)=>{for(let M=k;Mp.shapeFlag&6?q(p.component.subTree):p.shapeFlag&128?p.suspense.next():f(p.anchor||p.el),le=(p,y,w)=>{p==null?y._vnode&&Te(y._vnode,null,null,!0):v(y._vnode||null,p,y,null,null,null,w),jr(),y._vnode=p},pe={p:v,um:Te,m:we,r:ze,mt:se,mc:B,pc:Oe,pbc:$,n:q,o:e};let ne,X;return t&&([ne,X]=t(pe)),{render:le,hydrate:ne,createApp:cd(le,ne)}}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xi(e,t,n=!1){const r=e.children,o=t.children;if(G(r)&&G(o))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}const md=e=>e.__isTeleport,Ln=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Fo=(e,t)=>{const n=e&&e.to;return me(n)?t?t(n):null:n},hd={__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:g,createComment:v}}=c,_=Ln(t.props);let{shapeFlag:E,children:O,dynamicChildren:S}=t;if(e==null){const I=t.el=g(""),L=t.anchor=g("");h(I,n,r),h(L,n,r);const C=t.target=Fo(t.props,m),P=t.targetAnchor=g("");C&&(h(P,C),s=s||ms(C));const B=(z,$)=>{E&16&&u(O,z,$,o,i,s,a,l)};_?B(n,L):C&&B(C,P)}else{t.el=e.el;const I=t.anchor=e.anchor,L=t.target=e.target,C=t.targetAnchor=e.targetAnchor,P=Ln(e.props),B=P?n:L,z=P?I:C;if(s=s||ms(L),S?(f(e.dynamicChildren,S,B,o,i,s,a),xi(e,t,!0)):l||d(e,t,B,z,o,i,s,a,!1),_)P||dr(t,n,I,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Fo(t.props,m);$&&dr(t,$,null,c,0)}else P&&dr(t,L,C,c,1)}},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),(s||!Ln(f))&&(i(c),a&16))for(let h=0;h0?$t||on:null,_d(),Lr>0&&$t&&$t.push(e),e}function tc(e,t,n,r,o,i){return ec(oc(e,t,n,r,o,i,!0))}function nc(e,t,n,r,o){return ec(Se(e,t,n,r,o,!0))}function Nr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const to="__vInternal",rc=({key:e})=>e!=null?e:null,Er=({ref:e,ref_key:t,ref_for:n})=>e!=null?me(e)||xe(e)||oe(e)?{i:Ue,r:e,k:t,f:!!n}:e:null;function oc(e,t=null,n=null,r=0,o=null,i=e===Fe?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rc(t),ref:t&&Er(t),scopeId:Nl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(ki(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=me(n)?8:16),Lr>0&&!s&&$t&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&$t.push(l),l}const Se=yd;function yd(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Gl)&&(e=Qe),Nr(e)){const a=ln(e,t,!0);return n&&ki(a,n),a}if(jd(e)&&(e=e.__vccOpts),t){t=bd(t);let{class:a,style:l}=t;a&&!me(a)&&(t.class=mn(a)),Ce(l)&&(Sl(l)&&!G(l)&&(l=ke({},l)),t.style=er(l))}const s=me(e)?1:Hf(e)?128:md(e)?64:Ce(e)?4:oe(e)?2:0;return oc(e,t,n,r,o,s,i,!0)}function bd(e){return e?Sl(e)||to in e?ke({},e):e:null}function ln(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?Ed(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&rc(a),ref:t&&t.ref?n&&o?G(o)?o.concat(Er(t)):[o,Er(t)]:Er(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),el:e.el,anchor:e.anchor}}function Ti(e=" ",t=0){return Se(Wn,null,e,t)}function x0(e,t){const n=Se(Nn,null,e);return n.staticCount=t,n}function j0(e="",t=!1){return t?(eo(),nc(Qe,null,e)):Se(Qe,null,e)}function Ge(e){return e==null||typeof e=="boolean"?Se(Qe):G(e)?Se(Fe,null,e.slice()):typeof e=="object"?bt(e):Se(Wn,null,String(e))}function bt(e){return e.el===null||e.memo?e:ln(e)}function ki(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ki(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(to in t)?t._ctx=Ue:o===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Ue},n=32):(t=String(t),r&64?(n=16,t=[Ti(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ed(...e){const t={};for(let n=0;nt(s,a,void 0,i&&i[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;aNr(t)?!(t.type===Qe||t.type===Fe&&!sc(t.children)):!0)?e:null}const zo=e=>e?ac(e)?Ri(e)||e.proxy:zo(e.parent):null,Mr=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>zo(e.parent),$root:e=>zo(e.root),$emit:e=>e.emit,$options:e=>Vl(e),$forceUpdate:e=>()=>wi(e.update),$nextTick:e=>Oi.bind(e.proxy),$watch:e=>Ff.bind(e)}),Od={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(r!==ge&&ue(r,t))return s[t]=1,r[t];if(o!==ge&&ue(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ue(c,t))return s[t]=3,i[t];if(n!==ge&&ue(n,t))return s[t]=4,n[t];No&&(s[t]=0)}}const u=Mr[t];let d,f;if(u)return t==="$attrs"&&qe(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ge&&ue(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,ue(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;if(o!==ge&&ue(o,t))o[t]=n;else if(r!==ge&&ue(r,t))r[t]=n;else if(ue(e.props,t))return!1;return t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==ge&&ue(e,s)||t!==ge&&ue(t,s)||(a=i[0])&&ue(a,s)||ue(r,s)||ue(Mr,s)||ue(o.config.globalProperties,s)}},wd=Zl();let Sd=0;function Pd(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||wd,i={uid:Sd++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wl(r,o),emitsOptions:Ll(r,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:r.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=kf.bind(null,i),e.ce&&e.ce(i),i}let Ie=null;const Di=()=>Ie||Ue,cn=e=>{Ie=e,e.scope.on()},Ut=()=>{Ie&&Ie.scope.off(),Ie=null};function ac(e){return e.vnode.shapeFlag&4}let un=!1;function Cd(e,t=!1){un=t;const{props:n,children:r}=e.vnode,o=ac(e);rd(e,n,o,t),sd(e,r);const i=o?Ad(e,t):void 0;return un=!1,i}function Ad(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pl(new Proxy(e.ctx,Od));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?cc(e):null;cn(e),hn();const i=St(r,e,0,[e.props,o]);if(vn(),Ut(),cl(i)){if(i.then(Ut,Ut),t)return i.then(s=>{gs(e,s,t)}).catch(s=>{nr(s,e,0)});e.asyncDep=i}else gs(e,i,t)}else lc(e,t)}function gs(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=jl(t)),lc(e,n)}let _s;function lc(e,t,n){const r=e.type;if(!e.render){if(!t&&_s&&!r.render){const o=r.template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=ke(ke({isCustomElement:i,delimiters:a},s),l);r.render=_s(o,c)}}e.render=r.render||Xe}cn(e),hn(),Gf(e),vn(),Ut()}function Id(e){return new Proxy(e.attrs,{get(t,n){return qe(e,"get","$attrs"),t[n]}})}function cc(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Id(e))},slots:e.slots,emit:e.emit,expose:t}}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jl(Pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mr)return Mr[n](e)}}))}function xd(e){return oe(e)&&e.displayName||e.name}function jd(e){return oe(e)&&"__vccOpts"in e}const Ee=(e,t)=>Cf(e,t,un);function D0(){return Td().slots}function Td(){const e=Di();return e.setupContext||(e.setupContext=cc(e))}function be(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!G(t)?Nr(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nr(n)&&(n=[n]),Se(e,t,n))}const kd="3.2.30",Dd="http://www.w3.org/2000/svg",Mt=typeof document!="undefined"?document:null,ys=Mt&&Mt.createElement("template"),Rd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Mt.createElementNS(Dd,e):Mt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ys.innerHTML=r?`${e}`:e;const a=ys.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ld(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Nd(e,t,n){const r=e.style,o=me(n);if(n&&!o){for(const i in n)Bo(r,i,n[i]);if(t&&!me(t))for(const i in t)n[i]==null&&Bo(r,i,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const bs=/\s*!important$/;function Bo(e,t,n){if(G(n))n.forEach(r=>Bo(e,t,r));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=Md(e,t);bs.test(n)?e.setProperty(qt(r),n.replace(bs,""),"important"):e[r]=n}}const Es=["Webkit","Moz","ms"],mo={};function Md(e,t){const n=mo[t];if(n)return n;let r=st(t);if(r!=="filter"&&r in e)return mo[t]=r;r=Zr(r);for(let o=0;odocument.createEvent("Event").timeStamp&&(Hr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);uc=!!(e&&Number(e[1])<=53)}let $o=0;const zd=Promise.resolve(),Bd=()=>{$o=0},$d=()=>$o||(zd.then(Bd),$o=Hr());function Ud(e,t,n,r){e.addEventListener(t,n,r)}function qd(e,t,n,r){e.removeEventListener(t,n,r)}function Vd(e,t,n,r,o=null){const i=e._vei||(e._vei={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=Kd(t);if(r){const c=i[t]=Wd(r,o);Ud(e,a,c,l)}else s&&(qd(e,a,s,l),i[t]=void 0)}}const ws=/(?:Once|Passive|Capture)$/;function Kd(e){let t;if(ws.test(e)){t={};let n;for(;n=e.match(ws);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[qt(e.slice(2)),t]}function Wd(e,t){const n=r=>{const o=r.timeStamp||Hr();(uc||o>=n.attached-1)&&Je(Jd(r,n.value),t,5,[r])};return n.value=e,n.attached=$d(),n}function Jd(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ss=/^on[a-z]/,Qd=(e,t,n,r,o=!1,i,s,a,l)=>{t==="class"?Ld(e,r,o):t==="style"?Nd(e,n,r):tr(t)?ci(t)||Vd(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yd(e,t,r,o))?Fd(e,t,r,i,s,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hd(e,t,r,o))};function Yd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ss.test(t)&&oe(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ss.test(t)&&me(n)?!1:t in e}const gt="transition",En="animation",Li=(e,{slots:t})=>be(zl,Zd(e),t);Li.displayName="Transition";const fc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Li.props=ke({},zl.props,fc);const xt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ps=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Zd(e){const t={};for(const A in e)A in fc||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Gd(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:_,onEnter:E,onEnterCancelled:O,onLeave:S,onLeaveCancelled:I,onBeforeAppear:L=_,onAppear:C=E,onAppearCancelled:P=O}=t,B=(A,F,Q)=>{Kt(A,F?u:a),Kt(A,F?c:s),Q&&Q()},z=(A,F)=>{Kt(A,h),Kt(A,f),F&&F()},$=A=>(F,Q)=>{const se=A?C:E,W=()=>B(F,A,Q);xt(se,[F,W]),Cs(()=>{Kt(F,A?l:i),_t(F,A?u:a),Ps(se)||As(F,r,g,W)})};return ke(t,{onBeforeEnter(A){xt(_,[A]),_t(A,i),_t(A,s)},onBeforeAppear(A){xt(L,[A]),_t(A,l),_t(A,c)},onEnter:$(!1),onAppear:$(!0),onLeave(A,F){const Q=()=>z(A,F);_t(A,d),tp(),_t(A,f),Cs(()=>{Kt(A,d),_t(A,h),Ps(S)||As(A,r,v,Q)}),xt(S,[A,Q])},onEnterCancelled(A){B(A,!1),xt(O,[A])},onAppearCancelled(A){B(A,!0),xt(P,[A])},onLeaveCancelled(A){z(A),xt(I,[A])}})}function Gd(e){if(e==null)return null;if(Ce(e))return[ho(e.enter),ho(e.leave)];{const t=ho(e);return[t,t]}}function ho(e){return dl(e)}function _t(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Kt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Cs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xd=0;function As(e,t,n,r){const o=e._endId=++Xd,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=ep(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[m]||"").split(", "),o=r(gt+"Delay"),i=r(gt+"Duration"),s=Is(o,i),a=r(En+"Delay"),l=r(En+"Duration"),c=Is(a,l);let u=null,d=0,f=0;t===gt?s>0&&(u=gt,d=s,f=i.length):t===En?c>0&&(u=En,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?gt:En:null,f=u?u===gt?i.length:l.length:0);const h=u===gt&&/\b(transform|all)(,|$)/.test(n[gt+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function Is(e,t){for(;e.lengthxs(n)+xs(e[r])))}function xs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function tp(){return document.body.offsetHeight}const np=["ctrl","shift","alt","meta"],rp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>np.some(n=>e[`${n}Key`]&&!t.includes(n))},R0=(e,t)=>(n,...r)=>{for(let o=0;on=>{if(!("key"in n))return;const r=qt(n.key);if(t.some(o=>o===r||op[o]===r))return e(n)},N0={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):On(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),On(e,!0),r.enter(e)):r.leave(e,()=>{On(e,!1)}):On(e,t))},beforeUnmount(e,{value:t}){On(e,t)}};function On(e,t){e.style.display=t?e._vod:"none"}const ip=ke({patchProp:Qd},Rd);let vo,js=!1;function sp(){return vo=js?vo:fd(ip),js=!0,vo}const ap=(...e)=>{const t=sp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=lp(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function lp(e){return me(e)?document.querySelector(e):e}/*! +var Cu=Object.defineProperty,Au=Object.defineProperties;var Iu=Object.getOwnPropertyDescriptors;var Yi=Object.getOwnPropertySymbols;var xu=Object.prototype.hasOwnProperty,ju=Object.prototype.propertyIsEnumerable;var Zi=(e,t,n)=>t in e?Cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Re=(e,t)=>{for(var n in t||(t={}))xu.call(t,n)&&Zi(e,n,t[n]);if(Yi)for(var n of Yi(t))ju.call(t,n)&&Zi(e,n,t[n]);return e},At=(e,t)=>Au(e,Iu(t));const Ki={};function li(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Tu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ku=li(Tu);function sl(e){return!!e||e===""}function er(e){if(G(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ru);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mn(e){let t="";if(me(e))t=e;else if(G(e))for(let n=0;nme(e)?e:e==null?"":G(e)||Ce(e)&&(e.toString===ul||!oe(e.toString))?JSON.stringify(e,al,2):String(e),al=(e,t)=>t&&t.__v_isRef?al(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:ll(t)?{[`Set(${t.size})`]:[...t.values()]}:Ce(t)&&!G(t)&&!fl(t)?String(t):t,ge={},on=[],Xe=()=>{},Mu=()=>!1,Hu=/^on[^a-z]/,tr=e=>Hu.test(e),ci=e=>e.startsWith("onUpdate:"),ke=Object.assign,ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fu=Object.prototype.hasOwnProperty,ue=(e,t)=>Fu.call(e,t),G=Array.isArray,sn=e=>Qr(e)==="[object Map]",ll=e=>Qr(e)==="[object Set]",oe=e=>typeof e=="function",me=e=>typeof e=="string",fi=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",cl=e=>Ce(e)&&oe(e.then)&&oe(e.catch),ul=Object.prototype.toString,Qr=e=>ul.call(e),zu=e=>Qr(e).slice(8,-1),fl=e=>Qr(e)==="[object Object]",di=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=li(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bu=/-(\w)/g,st=Yr(e=>e.replace(Bu,(t,n)=>n?n.toUpperCase():"")),$u=/\B([A-Z])/g,qt=Yr(e=>e.replace($u,"-$1").toLowerCase()),Zr=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ao=Yr(e=>e?`on${Zr(e)}`:""),Un=(e,t)=>!Object.is(e,t),lo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gi;const Uu=()=>Gi||(Gi=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let We;class qu{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&We&&(this.parent=We,this.index=(We.scopes||(We.scopes=[])).push(this)-1)}run(t){if(this.active)try{return We=this,t()}finally{We=this.parent}}on(){We=this}off(){We=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},pl=e=>(e.w&Pt)>0,ml=e=>(e.n&Pt)>0,Ju=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(s.get(n)),t){case"add":G(e)?di(n)&&a.push(s.get("length")):(a.push(s.get(Ft)),sn(e)&&a.push(s.get(jo)));break;case"delete":G(e)||(a.push(s.get(Ft)),sn(e)&&a.push(s.get(jo)));break;case"set":sn(e)&&a.push(s.get(Ft));break}if(a.length===1)a[0]&&To(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);To(pi(l))}}function To(e,t){for(const n of G(e)?e:[...e])(n!==rt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Yu=li("__proto__,__v_isRef,__isVue"),gl=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(fi)),Zu=hi(),Gu=hi(!1,!0),Xu=hi(!0),es=ef();function ef(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=de(this);for(let i=0,s=this.length;i{e[t]=function(...n){hn();const r=de(this)[t].apply(this,n);return vn(),r}}),e}function hi(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?gf:Ol:t?El:bl).get(r))return r;const s=G(r);if(!e&&s&&ue(es,o))return Reflect.get(es,o,i);const a=Reflect.get(r,o,i);return(fi(o)?gl.has(o):Yu(o))||(e||qe(r,"get",o),t)?a:xe(a)?!s||!di(o)?a.value:a:Ce(a)?e?_i(a):gn(a):a}}const tf=_l(),nf=_l(!0);function _l(e=!1){return function(n,r,o,i){let s=n[r];if(qn(s)&&xe(s)&&!xe(o))return!1;if(!e&&!qn(o)&&(wl(o)||(o=de(o),s=de(s)),!G(n)&&xe(s)&&!xe(o)))return s.value=o,!0;const a=G(n)&&di(r)?Number(r)e,Gr=e=>Reflect.getPrototypeOf(e);function sr(e,t,n=!1,r=!1){e=e.__v_raw;const o=de(e),i=de(t);t!==i&&!n&&qe(o,"get",t),!n&&qe(o,"get",i);const{has:s}=Gr(o),a=r?vi:n?bi:Vn;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function ar(e,t=!1){const n=this.__v_raw,r=de(n),o=de(e);return e!==o&&!t&&qe(r,"has",e),!t&&qe(r,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function lr(e,t=!1){return e=e.__v_raw,!t&&qe(de(e),"iterate",Ft),Reflect.get(e,"size",e)}function ts(e){e=de(e);const t=de(this);return Gr(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function ns(e,t){t=de(t);const n=de(this),{has:r,get:o}=Gr(n);let i=r.call(n,e);i||(e=de(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Un(t,s)&&pt(n,"set",e,t):pt(n,"add",e,t),this}function rs(e){const t=de(this),{has:n,get:r}=Gr(t);let o=n.call(t,e);o||(e=de(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&pt(t,"delete",e,void 0),i}function os(){const e=de(this),t=e.size!==0,n=e.clear();return t&&pt(e,"clear",void 0,void 0),n}function cr(e,t){return function(r,o){const i=this,s=i.__v_raw,a=de(s),l=t?vi:e?bi:Vn;return!e&&qe(a,"iterate",Ft),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function ur(e,t,n){return function(...r){const o=this.__v_raw,i=de(o),s=sn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?vi:t?bi:Vn;return!t&&qe(i,"iterate",l?jo:Ft),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ht(e){return function(...t){return e==="delete"?!1:this}}function cf(){const e={get(i){return sr(this,i)},get size(){return lr(this)},has:ar,add:ts,set:ns,delete:rs,clear:os,forEach:cr(!1,!1)},t={get(i){return sr(this,i,!1,!0)},get size(){return lr(this)},has:ar,add:ts,set:ns,delete:rs,clear:os,forEach:cr(!1,!0)},n={get(i){return sr(this,i,!0)},get size(){return lr(this,!0)},has(i){return ar.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:cr(!0,!1)},r={get(i){return sr(this,i,!0,!0)},get size(){return lr(this,!0)},has(i){return ar.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:cr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ur(i,!1,!1),n[i]=ur(i,!0,!1),t[i]=ur(i,!1,!0),r[i]=ur(i,!0,!0)}),[e,n,t,r]}const[uf,ff,df,pf]=cf();function gi(e,t){const n=t?e?pf:df:e?ff:uf;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,i)}const mf={get:gi(!1,!1)},hf={get:gi(!1,!0)},vf={get:gi(!0,!1)},bl=new WeakMap,El=new WeakMap,Ol=new WeakMap,gf=new WeakMap;function _f(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yf(e){return e.__v_skip||!Object.isExtensible(e)?0:_f(zu(e))}function gn(e){return qn(e)?e:yi(e,!1,yl,mf,bl)}function bf(e){return yi(e,!1,lf,hf,El)}function _i(e){return yi(e,!0,af,vf,Ol)}function yi(e,t,n,r,o){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=yf(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function an(e){return qn(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Sl(e){return an(e)||qn(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function Pl(e){return Ir(e,"__v_skip",!0),e}const Vn=e=>Ce(e)?gn(e):e,bi=e=>Ce(e)?_i(e):e;function Cl(e){wt&&rt&&(e=de(e),vl(e.dep||(e.dep=pi())))}function Al(e,t){e=de(e),e.dep&&To(e.dep)}function xe(e){return!!(e&&e.__v_isRef===!0)}function Ne(e){return xl(e,!1)}function Il(e){return xl(e,!0)}function xl(e,t){return xe(e)?e:new Ef(e,t)}class Ef{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:Vn(t)}get value(){return Cl(this),this._value}set value(t){t=this.__v_isShallow?t:de(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Vn(t),Al(this))}}function zt(e){return xe(e)?e.value:e}const Of={get:(e,t,n)=>zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return xe(o)&&!xe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function jl(e){return an(e)?e:new Proxy(e,Of)}function P0(e){const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=Sf(e,n);return t}class wf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Sf(e,t,n){const r=e[t];return xe(r)?r:new wf(e,t,n)}class Pf{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new mi(t,()=>{this._dirty||(this._dirty=!0,Al(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=de(this);return Cl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Cf(e,t,n=!1){let r,o;const i=oe(e);return i?(r=e,o=Xe):(r=e.get,o=e.set),new Pf(r,o,i||!o,n)}Promise.resolve();function St(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){nr(i,t,n)}return o}function Je(e,t,n,r){if(oe(e)){const i=St(e,t,n,r);return i&&cl(i)&&i.catch(s=>{nr(s,t,n)}),i}const o=[];for(let i=0;i>>1;Kn($e[r])ct&&$e.splice(t,1)}function Dl(e,t,n,r){G(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),kl()}function jf(e){Dl(e,xn,Dn,Zt)}function Tf(e){Dl(e,yt,Rn,Gt)}function Si(e,t=null){if(Dn.length){for(Do=t,xn=[...new Set(Dn)],Dn.length=0,Zt=0;ZtKn(n)-Kn(r)),Gt=0;Gte.id==null?1/0:e.id;function Rl(e){ko=!1,xr=!0,Si(e),$e.sort((n,r)=>Kn(n)-Kn(r));const t=Xe;try{for(ct=0;ct<$e.length;ct++){const n=$e[ct];n&&n.active!==!1&&St(n,null,14)}}finally{ct=0,$e.length=0,jr(),xr=!1,Ei=null,($e.length||Dn.length||Rn.length)&&Rl(e)}}function kf(e,t,...n){const r=e.vnode.props||ge;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:f}=r[u]||ge;f?o=n.map(h=>h.trim()):d&&(o=n.map(dl))}let a,l=r[a=ao(t)]||r[a=ao(st(t))];!l&&i&&(l=r[a=ao(qt(t))]),l&&Je(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Je(c,e,6,o)}}function Ll(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!oe(e)){const l=c=>{const u=Ll(c,t,!0);u&&(a=!0,ke(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(r.set(e,null),null):(G(i)?i.forEach(l=>s[l]=null):ke(s,i),r.set(e,s),s)}function Pi(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,qt(t))||ue(e,t))}let Ue=null,Nl=null;function Tr(e){const t=Ue;return Ue=e,Nl=e&&e.type.__scopeId||null,t}function Df(e,t=Ue,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&vs(-1);const i=Tr(t),s=e(...o);return Tr(i),r._d&&vs(1),s};return r._n=!0,r._c=!0,r._d=!0,r}function co(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:m,inheritAttrs:g}=e;let v,_;const E=Tr(e);try{if(n.shapeFlag&4){const S=o||r;v=Ge(u.call(S,S,d,i,h,f,m)),_=l}else{const S=t;v=Ge(S.length>1?S(i,{attrs:l,slots:a,emit:c}):S(i,null)),_=t.props?l:Rf(l)}}catch(S){Mn.length=0,nr(S,e,1),v=Se(Qe)}let O=v;if(_&&g!==!1){const S=Object.keys(_),{shapeFlag:I}=O;S.length&&I&7&&(s&&S.some(ci)&&(_=Lf(_,s)),O=ln(O,_))}return n.dirs&&(O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),v=O,Tr(E),v}const Rf=e=>{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},Lf=(e,t)=>{const n={};for(const r in e)(!ci(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Nf(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?is(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Ml(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Tf(e)}function Bt(e,t){if(Ie){let n=Ie.provides;const r=Ie.parent&&Ie.parent.provides;r===n&&(n=Ie.provides=Object.create(r)),n[e]=t}}function je(e,t,n=!1){const r=Ie||Ue;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&oe(t)?t.call(r.proxy):t}}const ss={};function et(e,t,n){return Hl(e,t,n)}function Hl(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=ge){const a=Ie;let l,c=!1,u=!1;if(xe(e)?(l=()=>e.value,c=wl(e)):an(e)?(l=()=>e,r=!0):G(e)?(u=!0,c=e.some(an),l=()=>e.map(_=>{if(xe(_))return _.value;if(an(_))return Ht(_);if(oe(_))return St(_,a,2)})):oe(e)?t?l=()=>St(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),Je(e,a,3,[f])}:l=Xe,t&&r){const _=l;l=()=>Ht(_())}let d,f=_=>{d=v.onStop=()=>{St(_,a,4)}};if(un)return f=Xe,t?n&&Je(t,a,3,[l(),u?[]:void 0,f]):l(),Xe;let h=u?[]:ss;const m=()=>{if(!!v.active)if(t){const _=v.run();(r||c||(u?_.some((E,O)=>Un(E,h[O])):Un(_,h)))&&(d&&d(),Je(t,a,3,[_,h===ss?void 0:h,f]),h=_)}else v.run()};m.allowRecurse=!!t;let g;o==="sync"?g=m:o==="post"?g=()=>He(m,a&&a.suspense):g=()=>{!a||a.isMounted?jf(m):m()};const v=new mi(l,g);return t?n?m():h=v.run():o==="post"?He(v.run.bind(v),a&&a.suspense):v.run(),()=>{v.stop(),a&&a.scope&&ui(a.scope.effects,v)}}function Ff(e,t,n){const r=this.proxy,o=me(e)?e.includes(".")?Fl(r,e):()=>r[e]:e.bind(r,r);let i;oe(t)?i=t:(i=t.handler,n=t);const s=Ie;cn(this);const a=Hl(o,i.bind(r),n);return s?cn(s):Ut(),a}function Fl(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ht(n,t)});else if(fl(e))for(const n in e)Ht(e[n],t);return e}function zf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return at(()=>{e.isMounted=!0}),Ci(()=>{e.isUnmounting=!0}),e}const Ve=[Function,Array],Bf={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ve,onEnter:Ve,onAfterEnter:Ve,onEnterCancelled:Ve,onBeforeLeave:Ve,onLeave:Ve,onAfterLeave:Ve,onLeaveCancelled:Ve,onBeforeAppear:Ve,onAppear:Ve,onAfterAppear:Ve,onAppearCancelled:Ve},setup(e,{slots:t}){const n=Di(),r=zf();let o;return()=>{const i=t.default&&$l(t.default(),!0);if(!i||!i.length)return;const s=de(e),{mode:a}=s,l=i[0];if(r.isLeaving)return uo(l);const c=as(l);if(!c)return uo(l);const u=Ro(c,s,r,n);Lo(c,u);const d=n.subTree,f=d&&as(d);let h=!1;const{getTransitionKey:m}=c.type;if(m){const g=m();o===void 0?o=g:g!==o&&(o=g,h=!0)}if(f&&f.type!==Qe&&(!Nt(c,f)||h)){const g=Ro(f,s,r,n);if(Lo(f,g),a==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update()},uo(l);a==="in-out"&&c.type!==Qe&&(g.delayLeave=(v,_,E)=>{const O=Bl(r,f);O[String(f.key)]=f,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=E})}return l}}},zl=Bf;function Bl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ro(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:_,onAppearCancelled:E}=t,O=String(e.key),S=Bl(n,e),I=(C,P)=>{C&&Je(C,r,9,P)},L={mode:i,persisted:s,beforeEnter(C){let P=a;if(!n.isMounted)if(o)P=g||a;else return;C._leaveCb&&C._leaveCb(!0);const B=S[O];B&&Nt(e,B)&&B.el._leaveCb&&B.el._leaveCb(),I(P,[C])},enter(C){let P=l,B=c,z=u;if(!n.isMounted)if(o)P=v||l,B=_||c,z=E||u;else return;let $=!1;const A=C._enterCb=F=>{$||($=!0,F?I(z,[C]):I(B,[C]),L.delayedLeave&&L.delayedLeave(),C._enterCb=void 0)};P?(P(C,A),P.length<=1&&A()):A()},leave(C,P){const B=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return P();I(d,[C]);let z=!1;const $=C._leaveCb=A=>{z||(z=!0,P(),A?I(m,[C]):I(h,[C]),C._leaveCb=void 0,S[B]===e&&delete S[B])};S[B]=e,f?(f(C,$),f.length<=1&&$()):$()},clone(C){return Ro(C,t,n,r)}};return L}function uo(e){if(rr(e))return e=ln(e),e.children=null,e}function as(e){return rr(e)?e.children?e.children[0]:void 0:e}function Lo(e,t){e.shapeFlag&6&&e.component?Lo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $l(e,t=!1){let n=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;function ce(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=e;let l=null,c,u=0;const d=()=>(u++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((g,v)=>{a(m,()=>g(d()),()=>v(m),u+1)});throw m}).then(m=>h!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return Ye({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=Ie;if(c)return()=>fo(c,h);const m=E=>{l=null,nr(E,h,13,!r)};if(s&&h.suspense||un)return f().then(E=>()=>fo(E,h)).catch(E=>(m(E),()=>r?Se(r,{error:E}):null));const g=Ne(!1),v=Ne(),_=Ne(!!o);return o&&setTimeout(()=>{_.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!v.value){const E=new Error(`Async component timed out after ${i}ms.`);m(E),v.value=E}},i),f().then(()=>{g.value=!0,h.parent&&rr(h.parent.vnode)&&wi(h.parent.update)}).catch(E=>{m(E),v.value=E}),()=>{if(g.value&&c)return fo(c,h);if(v.value&&r)return Se(r,{error:v.value});if(n&&!_.value)return Se(n)}}})}function fo(e,{vnode:{ref:t,props:n,children:r}}){const o=Se(e,n,r);return o.ref=t,o}const rr=e=>e.type.__isKeepAlive;function $f(e,t){Ul(e,"a",t)}function Uf(e,t){Ul(e,"da",t)}function Ul(e,t,n=Ie){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Xr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rr(o.parent.vnode)&&qf(r,t,n,o),o=o.parent}}function qf(e,t,n,r){const o=Xr(t,e,r,!0);Ai(()=>{ui(r[t],o)},n)}function Xr(e,t,n=Ie,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn(),cn(n);const a=Je(t,n,e,s);return Ut(),vn(),a});return r?o.unshift(i):o.push(i),i}}const mt=e=>(t,n=Ie)=>(!un||e==="sp")&&Xr(e,t,n),Vf=mt("bm"),at=mt("m"),Kf=mt("bu"),Wf=mt("u"),Ci=mt("bum"),Ai=mt("um"),Jf=mt("sp"),Qf=mt("rtg"),Yf=mt("rtc");function Zf(e,t=Ie){Xr("ec",e,t)}let No=!0;function Gf(e){const t=Vl(e),n=e.proxy,r=e.ctx;No=!1,t.beforeCreate&&ls(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:g,deactivated:v,beforeDestroy:_,beforeUnmount:E,destroyed:O,unmounted:S,render:I,renderTracked:L,renderTriggered:C,errorCaptured:P,serverPrefetch:B,expose:z,inheritAttrs:$,components:A,directives:F,filters:Q}=t;if(c&&Xf(c,r,null,e.appContext.config.unwrapInjectedRef),s)for(const ee in s){const te=s[ee];oe(te)&&(r[ee]=te.bind(n))}if(o){const ee=o.call(n,n);Ce(ee)&&(e.data=gn(ee))}if(No=!0,i)for(const ee in i){const te=i[ee],Oe=oe(te)?te.bind(n,n):oe(te.get)?te.get.bind(n,n):Xe,Pe=!oe(te)&&oe(te.set)?te.set.bind(n):Xe,Ae=Ee({get:Oe,set:Pe});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:we=>Ae.value=we})}if(a)for(const ee in a)ql(a[ee],r,n,ee);if(l){const ee=oe(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(te=>{Bt(te,ee[te])})}u&&ls(u,e,"c");function W(ee,te){G(te)?te.forEach(Oe=>ee(Oe.bind(n))):te&&ee(te.bind(n))}if(W(Vf,d),W(at,f),W(Kf,h),W(Wf,m),W($f,g),W(Uf,v),W(Zf,P),W(Yf,L),W(Qf,C),W(Ci,E),W(Ai,S),W(Jf,B),G(z))if(z.length){const ee=e.exposed||(e.exposed={});z.forEach(te=>{Object.defineProperty(ee,te,{get:()=>n[te],set:Oe=>n[te]=Oe})})}else e.exposed||(e.exposed={});I&&e.render===Xe&&(e.render=I),$!=null&&(e.inheritAttrs=$),A&&(e.components=A),F&&(e.directives=F)}function Xf(e,t,n=Xe,r=!1){G(e)&&(e=Mo(e));for(const o in e){const i=e[o];let s;Ce(i)?"default"in i?s=je(i.from||o,i.default,!0):s=je(i.from||o):s=je(i),xe(s)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function ls(e,t,n){Je(G(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ql(e,t,n,r){const o=r.includes(".")?Fl(n,r):()=>n[r];if(me(e)){const i=t[e];oe(i)&&et(o,i)}else if(oe(e))et(o,e.bind(n));else if(Ce(e))if(G(e))e.forEach(i=>ql(i,t,n,r));else{const i=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(i)&&et(o,i,e)}}function Vl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Dr(l,c,s,!0)),Dr(l,t,s)),i.set(t,l),l}function Dr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Dr(e,i,n,!0),o&&o.forEach(s=>Dr(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=ed[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const ed={data:cs,props:Dt,emits:Dt,methods:Dt,computed:Dt,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Dt,directives:Dt,watch:nd,provide:cs,inject:td};function cs(e,t){return t?e?function(){return ke(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function td(e,t){return Dt(Mo(e),Mo(t))}function Mo(e){if(G(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=Wl(d,t,!0);ke(s,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return r.set(e,on),on;if(G(i))for(let u=0;u-1,h[1]=g<0||m-1||ue(h,"default"))&&a.push(d)}}}const c=[s,a];return r.set(e,c),c}function us(e){return e[0]!=="$"}function fs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ds(e,t){return fs(e)===fs(t)}function ps(e,t){return G(t)?t.findIndex(n=>ds(n,e)):oe(t)&&ds(t,e)?0:-1}const Jl=e=>e[0]==="_"||e==="$stable",Ii=e=>G(e)?e.map(Ge):[Ge(e)],id=(e,t,n)=>{const r=Df((...o)=>Ii(t(...o)),n);return r._c=!1,r},Ql=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Jl(o))continue;const i=e[o];if(oe(i))t[o]=id(o,i,r);else if(i!=null){const s=Ii(i);t[o]=()=>s}}},Yl=(e,t)=>{const n=Ii(t);e.slots.default=()=>n},sd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),Ir(t,"_",n)):Ql(t,e.slots={})}else e.slots={},t&&Yl(e,t);Ir(e.slots,to,1)},ad=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ge;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(ke(o,t),!n&&a===1&&delete o._):(i=!t.$stable,Ql(t,o)),s=t}else t&&(Yl(e,t),s={default:1});if(i)for(const a in o)!Jl(a)&&!(a in s)&&delete o[a]};function C0(e,t){const n=Ue;if(n===null)return e;const r=n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;iRr(f,t&&(G(t)?t[h]:t),n,r,o));return}if(kr(r)&&!o)return;const i=r.shapeFlag&4?Ri(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ge?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(me(c)?(u[c]=null,ue(d,c)&&(d[c]=null)):xe(c)&&(c.value=null)),oe(l))St(l,a,12,[s,u]);else{const f=me(l),h=xe(l);if(f||h){const m=()=>{if(e.f){const g=f?u[l]:l.value;o?G(g)&&ui(g,i):G(g)?g.includes(i)||g.push(i):f?u[l]=[i]:(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=s,ue(d,l)&&(d[l]=s)):xe(l)&&(l.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,He(m,n)):m()}}}let vt=!1;const fr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",po=e=>e.nodeType===8;function ud(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:o,parentNode:i,remove:s,insert:a,createComment:l}}=e,c=(v,_)=>{if(!_.hasChildNodes()){n(null,v,_),jr();return}vt=!1,u(_.firstChild,v,null,null,null),jr(),vt&&console.error("Hydration completed but contains mismatches.")},u=(v,_,E,O,S,I=!1)=>{const L=po(v)&&v.data==="[",C=()=>m(v,_,E,O,S,L),{type:P,ref:B,shapeFlag:z}=_,$=v.nodeType;_.el=v;let A=null;switch(P){case Wn:$!==3?A=C():(v.data!==_.children&&(vt=!0,v.data=_.children),A=o(v));break;case Qe:$!==8||L?A=C():A=o(v);break;case Nn:if($!==1)A=C();else{A=v;const F=!_.children.length;for(let Q=0;Q<_.staticCount;Q++)F&&(_.children+=A.outerHTML),Q===_.staticCount-1&&(_.anchor=A),A=o(A);return A}break;case Fe:L?A=h(v,_,E,O,S,I):A=C();break;default:if(z&1)$!==1||_.type.toLowerCase()!==v.tagName.toLowerCase()?A=C():A=d(v,_,E,O,S,I);else if(z&6){_.slotScopeIds=S;const F=i(v);if(t(_,F,null,E,O,fr(F),I),A=L?g(v):o(v),kr(_)){let Q;L?(Q=Se(Fe),Q.anchor=A?A.previousSibling:F.lastChild):Q=v.nodeType===3?Ti(""):Se("div"),Q.el=v,_.component.subTree=Q}}else z&64?$!==8?A=C():A=_.type.hydrate(v,_,E,O,S,I,e,f):z&128&&(A=_.type.hydrate(v,_,E,O,fr(i(v)),S,I,e,u))}return B!=null&&Rr(B,null,O,_),A},d=(v,_,E,O,S,I)=>{I=I||!!_.dynamicChildren;const{type:L,props:C,patchFlag:P,shapeFlag:B,dirs:z}=_,$=L==="input"&&z||L==="option";if($||P!==-1){if(z&&nt(_,null,E,"created"),C)if($||!I||P&48)for(const F in C)($&&F.endsWith("value")||tr(F)&&!kn(F))&&r(v,F,null,C[F],!1,void 0,E);else C.onClick&&r(v,"onClick",null,C.onClick,!1,void 0,E);let A;if((A=C&&C.onVnodeBeforeMount)&&Ke(A,E,_),z&&nt(_,null,E,"beforeMount"),((A=C&&C.onVnodeMounted)||z)&&Ml(()=>{A&&Ke(A,E,_),z&&nt(_,null,E,"mounted")},O),B&16&&!(C&&(C.innerHTML||C.textContent))){let F=f(v.firstChild,_,v,E,O,S,I);for(;F;){vt=!0;const Q=F;F=F.nextSibling,s(Q)}}else B&8&&v.textContent!==_.children&&(vt=!0,v.textContent=_.children)}return v.nextSibling},f=(v,_,E,O,S,I,L)=>{L=L||!!_.dynamicChildren;const C=_.children,P=C.length;for(let B=0;B{const{slotScopeIds:L}=_;L&&(S=S?S.concat(L):L);const C=i(v),P=f(o(v),_,C,E,O,S,I);return P&&po(P)&&P.data==="]"?o(_.anchor=P):(vt=!0,a(_.anchor=l("]"),C,P),P)},m=(v,_,E,O,S,I)=>{if(vt=!0,_.el=null,I){const P=g(v);for(;;){const B=o(v);if(B&&B!==P)s(B);else break}}const L=o(v),C=i(v);return s(v),n(null,_,C,L,E,O,fr(C),S),L},g=v=>{let _=0;for(;v;)if(v=o(v),v&&po(v)&&(v.data==="["&&_++,v.data==="]")){if(_===0)return o(v);_--}return v};return[c,u]}const He=Ml;function fd(e){return dd(e,ud)}function dd(e,t){const n=Uu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Xe,cloneNode:m,insertStaticContent:g}=e,v=(p,y,w,x=null,T=null,k=null,M=!1,D=null,H=!!y.dynamicChildren)=>{if(p===y)return;p&&!Nt(p,y)&&(x=q(p),Te(p,T,k,!0),p=null),y.patchFlag===-2&&(H=!1,y.dynamicChildren=null);const{type:R,ref:J,shapeFlag:K}=y;switch(R){case Wn:_(p,y,w,x);break;case Qe:E(p,y,w,x);break;case Nn:p==null&&O(y,w,x,M);break;case Fe:F(p,y,w,x,T,k,M,D,H);break;default:K&1?L(p,y,w,x,T,k,M,D,H):K&6?Q(p,y,w,x,T,k,M,D,H):(K&64||K&128)&&R.process(p,y,w,x,T,k,M,D,H,pe)}J!=null&&T&&Rr(J,p&&p.ref,k,y||p,!y)},_=(p,y,w,x)=>{if(p==null)r(y.el=a(y.children),w,x);else{const T=y.el=p.el;y.children!==p.children&&c(T,y.children)}},E=(p,y,w,x)=>{p==null?r(y.el=l(y.children||""),w,x):y.el=p.el},O=(p,y,w,x)=>{[p.el,p.anchor]=g(p.children,y,w,x,p.el,p.anchor)},S=({el:p,anchor:y},w,x)=>{let T;for(;p&&p!==y;)T=f(p),r(p,w,x),p=T;r(y,w,x)},I=({el:p,anchor:y})=>{let w;for(;p&&p!==y;)w=f(p),o(p),p=w;o(y)},L=(p,y,w,x,T,k,M,D,H)=>{M=M||y.type==="svg",p==null?C(y,w,x,T,k,M,D,H):z(p,y,T,k,M,D,H)},C=(p,y,w,x,T,k,M,D)=>{let H,R;const{type:J,props:K,shapeFlag:V,transition:Z,patchFlag:ie,dirs:ye}=p;if(p.el&&m!==void 0&&ie===-1)H=p.el=m(p.el);else{if(H=p.el=s(p.type,k,K&&K.is,K),V&8?u(H,p.children):V&16&&B(p.children,H,null,x,T,k&&J!=="foreignObject",M,D),ye&&nt(p,null,x,"created"),K){for(const _e in K)_e!=="value"&&!kn(_e)&&i(H,_e,null,K[_e],k,p.children,x,T,N);"value"in K&&i(H,"value",null,K.value),(R=K.onVnodeBeforeMount)&&Ke(R,x,p)}P(H,p,p.scopeId,M,x)}ye&&nt(p,null,x,"beforeMount");const he=(!T||T&&!T.pendingBranch)&&Z&&!Z.persisted;he&&Z.beforeEnter(H),r(H,y,w),((R=K&&K.onVnodeMounted)||he||ye)&&He(()=>{R&&Ke(R,x,p),he&&Z.enter(H),ye&&nt(p,null,x,"mounted")},T)},P=(p,y,w,x,T)=>{if(w&&h(p,w),x)for(let k=0;k{for(let R=H;R{const D=y.el=p.el;let{patchFlag:H,dynamicChildren:R,dirs:J}=y;H|=p.patchFlag&16;const K=p.props||ge,V=y.props||ge;let Z;w&&It(w,!1),(Z=V.onVnodeBeforeUpdate)&&Ke(Z,w,y,p),J&&nt(y,p,w,"beforeUpdate"),w&&It(w,!0);const ie=T&&y.type!=="foreignObject";if(R?$(p.dynamicChildren,R,D,w,x,ie,k):M||Oe(p,y,D,null,w,x,ie,k,!1),H>0){if(H&16)A(D,y,K,V,w,x,T);else if(H&2&&K.class!==V.class&&i(D,"class",null,V.class,T),H&4&&i(D,"style",K.style,V.style,T),H&8){const ye=y.dynamicProps;for(let he=0;he{Z&&Ke(Z,w,y,p),J&&nt(y,p,w,"updated")},x)},$=(p,y,w,x,T,k,M)=>{for(let D=0;D{if(w!==x){for(const D in x){if(kn(D))continue;const H=x[D],R=w[D];H!==R&&D!=="value"&&i(p,D,R,H,M,y.children,T,k,N)}if(w!==ge)for(const D in w)!kn(D)&&!(D in x)&&i(p,D,w[D],null,M,y.children,T,k,N);"value"in x&&i(p,"value",w.value,x.value)}},F=(p,y,w,x,T,k,M,D,H)=>{const R=y.el=p?p.el:a(""),J=y.anchor=p?p.anchor:a("");let{patchFlag:K,dynamicChildren:V,slotScopeIds:Z}=y;Z&&(D=D?D.concat(Z):Z),p==null?(r(R,w,x),r(J,w,x),B(y.children,w,J,T,k,M,D,H)):K>0&&K&64&&V&&p.dynamicChildren?($(p.dynamicChildren,V,w,T,k,M,D),(y.key!=null||T&&y===T.subTree)&&xi(p,y,!0)):Oe(p,y,w,J,T,k,M,D,H)},Q=(p,y,w,x,T,k,M,D,H)=>{y.slotScopeIds=D,p==null?y.shapeFlag&512?T.ctx.activate(y,w,x,M,H):se(y,w,x,T,k,M,H):W(p,y,H)},se=(p,y,w,x,T,k,M)=>{const D=p.component=Pd(p,x,T);if(rr(p)&&(D.ctx.renderer=pe),Cd(D),D.asyncDep){if(T&&T.registerDep(D,ee),!p.el){const H=D.subTree=Se(Qe);E(null,H,y,w)}return}ee(D,p,y,w,T,k,M)},W=(p,y,w)=>{const x=y.component=p.component;if(Nf(p,y,w))if(x.asyncDep&&!x.asyncResolved){te(x,y,w);return}else x.next=y,xf(x.update),x.update();else y.component=p.component,y.el=p.el,x.vnode=y},ee=(p,y,w,x,T,k,M)=>{const D=()=>{if(p.isMounted){let{next:J,bu:K,u:V,parent:Z,vnode:ie}=p,ye=J,he;It(p,!1),J?(J.el=ie.el,te(p,J,M)):J=ie,K&&lo(K),(he=J.props&&J.props.onVnodeBeforeUpdate)&&Ke(he,Z,J,ie),It(p,!0);const _e=co(p),Ze=p.subTree;p.subTree=_e,v(Ze,_e,d(Ze.el),q(Ze),p,T,k),J.el=_e.el,ye===null&&Mf(p,_e.el),V&&He(V,T),(he=J.props&&J.props.onVnodeUpdated)&&He(()=>Ke(he,Z,J,ie),T)}else{let J;const{el:K,props:V}=y,{bm:Z,m:ie,parent:ye}=p,he=kr(y);if(It(p,!1),Z&&lo(Z),!he&&(J=V&&V.onVnodeBeforeMount)&&Ke(J,ye,y),It(p,!0),K&&X){const _e=()=>{p.subTree=co(p),X(K,p.subTree,p,T,null)};he?y.type.__asyncLoader().then(()=>!p.isUnmounted&&_e()):_e()}else{const _e=p.subTree=co(p);v(null,_e,w,x,p,T,k),y.el=_e.el}if(ie&&He(ie,T),!he&&(J=V&&V.onVnodeMounted)){const _e=y;He(()=>Ke(J,ye,_e),T)}y.shapeFlag&256&&p.a&&He(p.a,T),p.isMounted=!0,y=w=x=null}},H=p.effect=new mi(D,()=>wi(p.update),p.scope),R=p.update=H.run.bind(H);R.id=p.uid,It(p,!0),R()},te=(p,y,w)=>{y.component=p;const x=p.vnode.props;p.vnode=y,p.next=null,od(p,y.props,x,w),ad(p,y.children,w),hn(),Si(void 0,p.update),vn()},Oe=(p,y,w,x,T,k,M,D,H=!1)=>{const R=p&&p.children,J=p?p.shapeFlag:0,K=y.children,{patchFlag:V,shapeFlag:Z}=y;if(V>0){if(V&128){Ae(R,K,w,x,T,k,M,D,H);return}else if(V&256){Pe(R,K,w,x,T,k,M,D,H);return}}Z&8?(J&16&&N(R,T,k),K!==R&&u(w,K)):J&16?Z&16?Ae(R,K,w,x,T,k,M,D,H):N(R,T,k,!0):(J&8&&u(w,""),Z&16&&B(K,w,x,T,k,M,D,H))},Pe=(p,y,w,x,T,k,M,D,H)=>{p=p||on,y=y||on;const R=p.length,J=y.length,K=Math.min(R,J);let V;for(V=0;VJ?N(p,T,k,!0,!1,K):B(y,w,x,T,k,M,D,H,K)},Ae=(p,y,w,x,T,k,M,D,H)=>{let R=0;const J=y.length;let K=p.length-1,V=J-1;for(;R<=K&&R<=V;){const Z=p[R],ie=y[R]=H?bt(y[R]):Ge(y[R]);if(Nt(Z,ie))v(Z,ie,w,null,T,k,M,D,H);else break;R++}for(;R<=K&&R<=V;){const Z=p[K],ie=y[V]=H?bt(y[V]):Ge(y[V]);if(Nt(Z,ie))v(Z,ie,w,null,T,k,M,D,H);else break;K--,V--}if(R>K){if(R<=V){const Z=V+1,ie=ZV)for(;R<=K;)Te(p[R],T,k,!0),R++;else{const Z=R,ie=R,ye=new Map;for(R=ie;R<=V;R++){const Be=y[R]=H?bt(y[R]):Ge(y[R]);Be.key!=null&&ye.set(Be.key,R)}let he,_e=0;const Ze=V-ie+1;let Vt=!1,Wi=0;const bn=new Array(Ze);for(R=0;R=Ze){Te(Be,T,k,!0);continue}let tt;if(Be.key!=null)tt=ye.get(Be.key);else for(he=ie;he<=V;he++)if(bn[he-ie]===0&&Nt(Be,y[he])){tt=he;break}tt===void 0?Te(Be,T,k,!0):(bn[tt-ie]=R+1,tt>=Wi?Wi=tt:Vt=!0,v(Be,y[tt],w,null,T,k,M,D,H),_e++)}const Ji=Vt?pd(bn):on;for(he=Ji.length-1,R=Ze-1;R>=0;R--){const Be=ie+R,tt=y[Be],Qi=Be+1{const{el:k,type:M,transition:D,children:H,shapeFlag:R}=p;if(R&6){we(p.component.subTree,y,w,x);return}if(R&128){p.suspense.move(y,w,x);return}if(R&64){M.move(p,y,w,pe);return}if(M===Fe){r(k,y,w);for(let K=0;KD.enter(k),T);else{const{leave:K,delayLeave:V,afterLeave:Z}=D,ie=()=>r(k,y,w),ye=()=>{K(k,()=>{ie(),Z&&Z()})};V?V(k,ie,ye):ye()}else r(k,y,w)},Te=(p,y,w,x=!1,T=!1)=>{const{type:k,props:M,ref:D,children:H,dynamicChildren:R,shapeFlag:J,patchFlag:K,dirs:V}=p;if(D!=null&&Rr(D,null,w,p,!0),J&256){y.ctx.deactivate(p);return}const Z=J&1&&V,ie=!kr(p);let ye;if(ie&&(ye=M&&M.onVnodeBeforeUnmount)&&Ke(ye,y,p),J&6)U(p.component,w,x);else{if(J&128){p.suspense.unmount(w,x);return}Z&&nt(p,null,y,"beforeUnmount"),J&64?p.type.remove(p,y,w,T,pe,x):R&&(k!==Fe||K>0&&K&64)?N(R,y,w,!1,!0):(k===Fe&&K&384||!T&&J&16)&&N(H,y,w),x&&ze(p)}(ie&&(ye=M&&M.onVnodeUnmounted)||Z)&&He(()=>{ye&&Ke(ye,y,p),Z&&nt(p,null,y,"unmounted")},w)},ze=p=>{const{type:y,el:w,anchor:x,transition:T}=p;if(y===Fe){j(w,x);return}if(y===Nn){I(p);return}const k=()=>{o(w),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(p.shapeFlag&1&&T&&!T.persisted){const{leave:M,delayLeave:D}=T,H=()=>M(w,k);D?D(p.el,k,H):H()}else k()},j=(p,y)=>{let w;for(;p!==y;)w=f(p),o(p),p=w;o(y)},U=(p,y,w)=>{const{bum:x,scope:T,update:k,subTree:M,um:D}=p;x&&lo(x),T.stop(),k&&(k.active=!1,Te(M,p,y,w)),D&&He(D,y),He(()=>{p.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},N=(p,y,w,x=!1,T=!1,k=0)=>{for(let M=k;Mp.shapeFlag&6?q(p.component.subTree):p.shapeFlag&128?p.suspense.next():f(p.anchor||p.el),le=(p,y,w)=>{p==null?y._vnode&&Te(y._vnode,null,null,!0):v(y._vnode||null,p,y,null,null,null,w),jr(),y._vnode=p},pe={p:v,um:Te,m:we,r:ze,mt:se,mc:B,pc:Oe,pbc:$,n:q,o:e};let re,X;return t&&([re,X]=t(pe)),{render:le,hydrate:re,createApp:cd(le,re)}}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xi(e,t,n=!1){const r=e.children,o=t.children;if(G(r)&&G(o))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}const md=e=>e.__isTeleport,Ln=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Fo=(e,t)=>{const n=e&&e.to;return me(n)?t?t(n):null:n},hd={__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:g,createComment:v}}=c,_=Ln(t.props);let{shapeFlag:E,children:O,dynamicChildren:S}=t;if(e==null){const I=t.el=g(""),L=t.anchor=g("");h(I,n,r),h(L,n,r);const C=t.target=Fo(t.props,m),P=t.targetAnchor=g("");C&&(h(P,C),s=s||ms(C));const B=(z,$)=>{E&16&&u(O,z,$,o,i,s,a,l)};_?B(n,L):C&&B(C,P)}else{t.el=e.el;const I=t.anchor=e.anchor,L=t.target=e.target,C=t.targetAnchor=e.targetAnchor,P=Ln(e.props),B=P?n:L,z=P?I:C;if(s=s||ms(L),S?(f(e.dynamicChildren,S,B,o,i,s,a),xi(e,t,!0)):l||d(e,t,B,z,o,i,s,a,!1),_)P||dr(t,n,I,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Fo(t.props,m);$&&dr(t,$,null,c,0)}else P&&dr(t,L,C,c,1)}},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),(s||!Ln(f))&&(i(c),a&16))for(let h=0;h0?$t||on:null,_d(),Lr>0&&$t&&$t.push(e),e}function tc(e,t,n,r,o,i){return ec(oc(e,t,n,r,o,i,!0))}function nc(e,t,n,r,o){return ec(Se(e,t,n,r,o,!0))}function Nr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const to="__vInternal",rc=({key:e})=>e!=null?e:null,Er=({ref:e,ref_key:t,ref_for:n})=>e!=null?me(e)||xe(e)||oe(e)?{i:Ue,r:e,k:t,f:!!n}:e:null;function oc(e,t=null,n=null,r=0,o=null,i=e===Fe?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rc(t),ref:t&&Er(t),scopeId:Nl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(ki(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=me(n)?8:16),Lr>0&&!s&&$t&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&$t.push(l),l}const Se=yd;function yd(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Gl)&&(e=Qe),Nr(e)){const a=ln(e,t,!0);return n&&ki(a,n),a}if(jd(e)&&(e=e.__vccOpts),t){t=bd(t);let{class:a,style:l}=t;a&&!me(a)&&(t.class=mn(a)),Ce(l)&&(Sl(l)&&!G(l)&&(l=ke({},l)),t.style=er(l))}const s=me(e)?1:Hf(e)?128:md(e)?64:Ce(e)?4:oe(e)?2:0;return oc(e,t,n,r,o,s,i,!0)}function bd(e){return e?Sl(e)||to in e?ke({},e):e:null}function ln(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?Ed(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&rc(a),ref:t&&t.ref?n&&o?G(o)?o.concat(Er(t)):[o,Er(t)]:Er(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),el:e.el,anchor:e.anchor}}function Ti(e=" ",t=0){return Se(Wn,null,e,t)}function x0(e,t){const n=Se(Nn,null,e);return n.staticCount=t,n}function j0(e="",t=!1){return t?(eo(),nc(Qe,null,e)):Se(Qe,null,e)}function Ge(e){return e==null||typeof e=="boolean"?Se(Qe):G(e)?Se(Fe,null,e.slice()):typeof e=="object"?bt(e):Se(Wn,null,String(e))}function bt(e){return e.el===null||e.memo?e:ln(e)}function ki(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ki(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(to in t)?t._ctx=Ue:o===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Ue},n=32):(t=String(t),r&64?(n=16,t=[Ti(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ed(...e){const t={};for(let n=0;nt(s,a,void 0,i&&i[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;aNr(t)?!(t.type===Qe||t.type===Fe&&!sc(t.children)):!0)?e:null}const zo=e=>e?ac(e)?Ri(e)||e.proxy:zo(e.parent):null,Mr=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>zo(e.parent),$root:e=>zo(e.root),$emit:e=>e.emit,$options:e=>Vl(e),$forceUpdate:e=>()=>wi(e.update),$nextTick:e=>Oi.bind(e.proxy),$watch:e=>Ff.bind(e)}),Od={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(r!==ge&&ue(r,t))return s[t]=1,r[t];if(o!==ge&&ue(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ue(c,t))return s[t]=3,i[t];if(n!==ge&&ue(n,t))return s[t]=4,n[t];No&&(s[t]=0)}}const u=Mr[t];let d,f;if(u)return t==="$attrs"&&qe(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ge&&ue(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,ue(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return o!==ge&&ue(o,t)?(o[t]=n,!0):r!==ge&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==ge&&ue(e,s)||t!==ge&&ue(t,s)||(a=i[0])&&ue(a,s)||ue(r,s)||ue(Mr,s)||ue(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},wd=Zl();let Sd=0;function Pd(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||wd,i={uid:Sd++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wl(r,o),emitsOptions:Ll(r,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:r.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=kf.bind(null,i),e.ce&&e.ce(i),i}let Ie=null;const Di=()=>Ie||Ue,cn=e=>{Ie=e,e.scope.on()},Ut=()=>{Ie&&Ie.scope.off(),Ie=null};function ac(e){return e.vnode.shapeFlag&4}let un=!1;function Cd(e,t=!1){un=t;const{props:n,children:r}=e.vnode,o=ac(e);rd(e,n,o,t),sd(e,r);const i=o?Ad(e,t):void 0;return un=!1,i}function Ad(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pl(new Proxy(e.ctx,Od));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?cc(e):null;cn(e),hn();const i=St(r,e,0,[e.props,o]);if(vn(),Ut(),cl(i)){if(i.then(Ut,Ut),t)return i.then(s=>{gs(e,s,t)}).catch(s=>{nr(s,e,0)});e.asyncDep=i}else gs(e,i,t)}else lc(e,t)}function gs(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=jl(t)),lc(e,n)}let _s;function lc(e,t,n){const r=e.type;if(!e.render){if(!t&&_s&&!r.render){const o=r.template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=ke(ke({isCustomElement:i,delimiters:a},s),l);r.render=_s(o,c)}}e.render=r.render||Xe}cn(e),hn(),Gf(e),vn(),Ut()}function Id(e){return new Proxy(e.attrs,{get(t,n){return qe(e,"get","$attrs"),t[n]}})}function cc(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Id(e))},slots:e.slots,emit:e.emit,expose:t}}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jl(Pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mr)return Mr[n](e)}}))}function xd(e){return oe(e)&&e.displayName||e.name}function jd(e){return oe(e)&&"__vccOpts"in e}const Ee=(e,t)=>Cf(e,t,un);function D0(){return Td().slots}function Td(){const e=Di();return e.setupContext||(e.setupContext=cc(e))}function be(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!G(t)?Nr(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nr(n)&&(n=[n]),Se(e,t,n))}const kd="3.2.31",Dd="http://www.w3.org/2000/svg",Mt=typeof document!="undefined"?document:null,ys=Mt&&Mt.createElement("template"),Rd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Mt.createElementNS(Dd,e):Mt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ys.innerHTML=r?`${e}`:e;const a=ys.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ld(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Nd(e,t,n){const r=e.style,o=me(n);if(n&&!o){for(const i in n)Bo(r,i,n[i]);if(t&&!me(t))for(const i in t)n[i]==null&&Bo(r,i,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const bs=/\s*!important$/;function Bo(e,t,n){if(G(n))n.forEach(r=>Bo(e,t,r));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=Md(e,t);bs.test(n)?e.setProperty(qt(r),n.replace(bs,""),"important"):e[r]=n}}const Es=["Webkit","Moz","ms"],mo={};function Md(e,t){const n=mo[t];if(n)return n;let r=st(t);if(r!=="filter"&&r in e)return mo[t]=r;r=Zr(r);for(let o=0;odocument.createEvent("Event").timeStamp&&(Hr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);uc=!!(e&&Number(e[1])<=53)}let $o=0;const zd=Promise.resolve(),Bd=()=>{$o=0},$d=()=>$o||(zd.then(Bd),$o=Hr());function Ud(e,t,n,r){e.addEventListener(t,n,r)}function qd(e,t,n,r){e.removeEventListener(t,n,r)}function Vd(e,t,n,r,o=null){const i=e._vei||(e._vei={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=Kd(t);if(r){const c=i[t]=Wd(r,o);Ud(e,a,c,l)}else s&&(qd(e,a,s,l),i[t]=void 0)}}const ws=/(?:Once|Passive|Capture)$/;function Kd(e){let t;if(ws.test(e)){t={};let n;for(;n=e.match(ws);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[qt(e.slice(2)),t]}function Wd(e,t){const n=r=>{const o=r.timeStamp||Hr();(uc||o>=n.attached-1)&&Je(Jd(r,n.value),t,5,[r])};return n.value=e,n.attached=$d(),n}function Jd(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ss=/^on[a-z]/,Qd=(e,t,n,r,o=!1,i,s,a,l)=>{t==="class"?Ld(e,r,o):t==="style"?Nd(e,n,r):tr(t)?ci(t)||Vd(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yd(e,t,r,o))?Fd(e,t,r,i,s,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hd(e,t,r,o))};function Yd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ss.test(t)&&oe(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ss.test(t)&&me(n)?!1:t in e}const gt="transition",En="animation",Li=(e,{slots:t})=>be(zl,Zd(e),t);Li.displayName="Transition";const fc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Li.props=ke({},zl.props,fc);const xt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ps=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Zd(e){const t={};for(const A in e)A in fc||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Gd(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:_,onEnter:E,onEnterCancelled:O,onLeave:S,onLeaveCancelled:I,onBeforeAppear:L=_,onAppear:C=E,onAppearCancelled:P=O}=t,B=(A,F,Q)=>{Kt(A,F?u:a),Kt(A,F?c:s),Q&&Q()},z=(A,F)=>{Kt(A,h),Kt(A,f),F&&F()},$=A=>(F,Q)=>{const se=A?C:E,W=()=>B(F,A,Q);xt(se,[F,W]),Cs(()=>{Kt(F,A?l:i),_t(F,A?u:a),Ps(se)||As(F,r,g,W)})};return ke(t,{onBeforeEnter(A){xt(_,[A]),_t(A,i),_t(A,s)},onBeforeAppear(A){xt(L,[A]),_t(A,l),_t(A,c)},onEnter:$(!1),onAppear:$(!0),onLeave(A,F){const Q=()=>z(A,F);_t(A,d),tp(),_t(A,f),Cs(()=>{Kt(A,d),_t(A,h),Ps(S)||As(A,r,v,Q)}),xt(S,[A,Q])},onEnterCancelled(A){B(A,!1),xt(O,[A])},onAppearCancelled(A){B(A,!0),xt(P,[A])},onLeaveCancelled(A){z(A),xt(I,[A])}})}function Gd(e){if(e==null)return null;if(Ce(e))return[ho(e.enter),ho(e.leave)];{const t=ho(e);return[t,t]}}function ho(e){return dl(e)}function _t(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Kt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Cs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xd=0;function As(e,t,n,r){const o=e._endId=++Xd,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=ep(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[m]||"").split(", "),o=r(gt+"Delay"),i=r(gt+"Duration"),s=Is(o,i),a=r(En+"Delay"),l=r(En+"Duration"),c=Is(a,l);let u=null,d=0,f=0;t===gt?s>0&&(u=gt,d=s,f=i.length):t===En?c>0&&(u=En,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?gt:En:null,f=u?u===gt?i.length:l.length:0);const h=u===gt&&/\b(transform|all)(,|$)/.test(n[gt+"Property"]);return{type:u,timeout:d,propCount:f,hasTransform:h}}function Is(e,t){for(;e.lengthxs(n)+xs(e[r])))}function xs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function tp(){return document.body.offsetHeight}const np=["ctrl","shift","alt","meta"],rp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>np.some(n=>e[`${n}Key`]&&!t.includes(n))},R0=(e,t)=>(n,...r)=>{for(let o=0;on=>{if(!("key"in n))return;const r=qt(n.key);if(t.some(o=>o===r||op[o]===r))return e(n)},N0={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):On(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),On(e,!0),r.enter(e)):r.leave(e,()=>{On(e,!1)}):On(e,t))},beforeUnmount(e,{value:t}){On(e,t)}};function On(e,t){e.style.display=t?e._vod:"none"}const ip=ke({patchProp:Qd},Rd);let vo,js=!1;function sp(){return vo=js?vo:fd(ip),js=!0,vo}const ap=(...e)=>{const t=sp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=lp(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function lp(e){return me(e)?document.querySelector(e):e}/*! * vue-router v4.0.12 * (c) 2021 Eduardo San Martin Morote * @license MIT - */const dc=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",_n=e=>dc?Symbol(e):"_vr_"+e,cp=_n("rvlm"),Ts=_n("rvd"),no=_n("r"),Ni=_n("rl"),Uo=_n("rvl"),Xt=typeof window!="undefined";function up(e){return e.__esModule||dc&&e[Symbol.toStringTag]==="Module"}const ve=Object.assign;function go(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const Hn=()=>{},fp=/\/$/,dp=e=>e.replace(fp,"");function _o(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=vp(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function pp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ks(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&fn(t.matched[r],n.matched[o])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hp(e[n],t[n]))return!1;return!0}function hp(e,t){return Array.isArray(e)?Ds(e,t):Array.isArray(t)?Ds(t,e):e===t}function Ds(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,i,s;for(i=0;i({left:window.pageXOffset,top:window.pageYOffset});function Ep(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=bp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Rs(e,t){return(history.state?history.state.position-t:-1)+e}const qo=new Map;function Op(e,t){qo.set(e,t)}function wp(e){const t=qo.get(e);return qo.delete(e),t}let Sp=()=>location.protocol+"//"+location.host;function mc(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),ks(l,"")}return ks(n,e)+r+o}function Pp(e,t,n,r){let o=[],i=[],s=null;const a=({state:f})=>{const h=mc(e,location),m=n.value,g=t.value;let v=0;if(f){if(n.value=h,t.value=f,s&&s===m){s=null;return}v=g?f.position-g.position:0}else r(h);o.forEach(_=>{_(n.value,m,{delta:v,type:Jn.pop,direction:v?v>0?Fn.forward:Fn.back:Fn.unknown})})};function l(){s=n.value}function c(f){o.push(f);const h=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return i.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(ve({},f.state,{scroll:ro()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Ls(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ro():null}}function Cp(e){const{history:t,location:n}=window,r={value:mc(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Sp()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function s(l,c){const u=ve({},t.state,Ls(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=ve({},o.value,t.state,{forward:l,scroll:ro()});i(u.current,u,!0);const d=ve({},Ls(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Ap(e){e=gp(e);const t=Cp(e),n=Pp(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=ve({location:"",base:e,go:r,createHref:yp.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Ip(e){return typeof e=="string"||e&&typeof e=="object"}function hc(e){return typeof e=="string"||typeof e=="symbol"}const lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vc=_n("nf");var Ns;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ns||(Ns={}));function dn(e,t){return ve(new Error,{type:e,[vc]:!0},t)}function jt(e,t){return e instanceof Error&&vc in e&&(t==null||!!(e.type&t))}const Ms="[^/]+?",xp={sensitive:!1,strict:!1,start:!0,end:!0},jp=/[.+*?^${}()[\]/\\]/g;function Tp(e,t){const n=ve({},xp,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Dp(e,t){let n=0;const r=e.score,o=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{s(E)}:Hn}function s(u){if(hc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){let d=0;for(;d=0;)d++;n.splice(d,0,u),u.record.name&&!Hs(u)&&r.set(u.record.name,u)}function c(u,d){let f,h={},m,g;if("name"in u&&u.name){if(f=r.get(u.name),!f)throw dn(1,{location:u});g=f.record.name,h=ve(Fp(d.params,f.keys.filter(E=>!E.optional).map(E=>E.name)),u.params),m=f.stringify(h)}else if("path"in u)m=u.path,f=n.find(E=>E.re.test(m)),f&&(h=f.parse(m),g=f.record.name);else{if(f=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!f)throw dn(1,{location:u,currentLocation:d});g=f.record.name,h=ve({},d.params,u.params),m=f.stringify(h)}const v=[];let _=f;for(;_;)v.unshift(_.record),_=_.parent;return{name:g,path:m,params:h,matched:v,meta:$p(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function Fp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Bp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Hs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $p(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function Fs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const gc=/#/g,Up=/&/g,qp=/\//g,Vp=/=/g,Kp=/\?/g,_c=/\+/g,Wp=/%5B/g,Jp=/%5D/g,yc=/%5E/g,Qp=/%60/g,bc=/%7B/g,Yp=/%7C/g,Ec=/%7D/g,Zp=/%20/g;function Mi(e){return encodeURI(""+e).replace(Yp,"|").replace(Wp,"[").replace(Jp,"]")}function Gp(e){return Mi(e).replace(bc,"{").replace(Ec,"}").replace(yc,"^")}function Vo(e){return Mi(e).replace(_c,"%2B").replace(Zp,"+").replace(gc,"%23").replace(Up,"%26").replace(Qp,"`").replace(bc,"{").replace(Ec,"}").replace(yc,"^")}function Xp(e){return Vo(e).replace(Vp,"%3D")}function em(e){return Mi(e).replace(gc,"%23").replace(Kp,"%3F")}function tm(e){return e==null?"":em(e).replace(qp,"%2F")}function Fr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function nm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Vo(i)):[r&&Vo(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function rm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function wn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Et(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const l=d=>{d===!1?a(dn(4,{from:n,to:t})):d instanceof Error?a(d):Ip(d)?a(dn(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),s())},c=e.call(r&&r.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function yo(e,t,n,r){const o=[];for(const i of e)for(const s in i.components){let a=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(om(a)){const c=(a.__vccOpts||a)[t];c&&o.push(Et(c,n,r,i,s))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const u=up(c)?c.default:c;i.components[s]=u;const f=(u.__vccOpts||u)[t];return f&&Et(f,n,r,i,s)()}))}}return o}function om(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bs(e){const t=je(no),n=je(Ni),r=Ee(()=>t.resolve(zt(e.to))),o=Ee(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(fn.bind(null,u));if(f>-1)return f;const h=$s(l[c-2]);return c>1&&$s(u)===h&&d[d.length-1].path!==h?d.findIndex(fn.bind(null,l[c-2])):f}),i=Ee(()=>o.value>-1&&lm(n.params,r.value.params)),s=Ee(()=>o.value>-1&&o.value===n.matched.length-1&&pc(n.params,r.value.params));function a(l={}){return am(l)?t[zt(e.replace)?"replace":"push"](zt(e.to)).catch(Hn):Promise.resolve()}return{route:r,href:Ee(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}const im=Ye({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Bs,setup(e,{slots:t}){const n=gn(Bs(e)),{options:r}=je(no),o=Ee(()=>({[Us(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Us(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:be("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),sm=im;function am(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function lm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function $s(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Us=(e,t,n)=>e!=null?e:t!=null?t:n,cm=Ye({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=je(Uo),o=Ee(()=>e.route||r.value),i=je(Ts,0),s=Ee(()=>o.value.matched[i]);Bt(Ts,i+1),Bt(cp,s),Bt(Uo,o);const a=Ne();return et(()=>[a.value,s.value,e.name],([l,c,u],[d,f,h])=>{c&&(c.instances[u]=l,f&&f!==c&&l&&l===d&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!fn(c,f)||!d)&&(c.enterCallbacks[u]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=o.value,c=s.value,u=c&&c.components[e.name],d=e.name;if(!u)return qs(n.default,{Component:u,route:l});const f=c.props[e.name],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,g=be(u,ve({},h,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(c.instances[d]=null)},ref:a}));return qs(n.default,{Component:g,route:l})||g}}});function qs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Oc=cm;function um(e){const t=Hp(e.routes,e),n=e.parseQuery||nm,r=e.stringifyQuery||zs,o=e.history,i=wn(),s=wn(),a=wn(),l=Il(lt);let c=lt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=go.bind(null,j=>""+j),d=go.bind(null,tm),f=go.bind(null,Fr);function h(j,U){let N,q;return hc(j)?(N=t.getRecordMatcher(j),q=U):q=j,t.addRoute(q,N)}function m(j){const U=t.getRecordMatcher(j);U&&t.removeRoute(U)}function g(){return t.getRoutes().map(j=>j.record)}function v(j){return!!t.getRecordMatcher(j)}function _(j,U){if(U=ve({},U||l.value),typeof j=="string"){const X=_o(n,j,U.path),p=t.resolve({path:X.path},U),y=o.createHref(X.fullPath);return ve(X,p,{params:f(p.params),hash:Fr(X.hash),redirectedFrom:void 0,href:y})}let N;if("path"in j)N=ve({},j,{path:_o(n,j.path,U.path).path});else{const X=ve({},j.params);for(const p in X)X[p]==null&&delete X[p];N=ve({},j,{params:d(j.params)}),U.params=d(U.params)}const q=t.resolve(N,U),le=j.hash||"";q.params=u(f(q.params));const pe=pp(r,ve({},j,{hash:Gp(le),path:q.path})),ne=o.createHref(pe);return ve({fullPath:pe,hash:le,query:r===zs?rm(j.query):j.query||{}},q,{redirectedFrom:void 0,href:ne})}function E(j){return typeof j=="string"?_o(n,j,l.value.path):ve({},j)}function O(j,U){if(c!==j)return dn(8,{from:U,to:j})}function S(j){return C(j)}function I(j){return S(ve(E(j),{replace:!0}))}function L(j){const U=j.matched[j.matched.length-1];if(U&&U.redirect){const{redirect:N}=U;let q=typeof N=="function"?N(j):N;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=E(q):{path:q},q.params={}),ve({query:j.query,hash:j.hash,params:j.params},q)}}function C(j,U){const N=c=_(j),q=l.value,le=j.state,pe=j.force,ne=j.replace===!0,X=L(N);if(X)return C(ve(E(X),{state:le,force:pe,replace:ne}),U||N);const p=N;p.redirectedFrom=U;let y;return!pe&&mp(r,q,N)&&(y=dn(16,{to:p,from:q}),Pe(q,q,!0,!1)),(y?Promise.resolve(y):B(p,q)).catch(w=>jt(w)?w:ee(w,p,q)).then(w=>{if(w){if(jt(w,2))return C(ve(E(w.to),{state:le,force:pe,replace:ne}),U||p)}else w=$(p,q,!0,ne,le);return z(p,q,w),w})}function P(j,U){const N=O(j,U);return N?Promise.reject(N):Promise.resolve()}function B(j,U){let N;const[q,le,pe]=fm(j,U);N=yo(q.reverse(),"beforeRouteLeave",j,U);for(const X of q)X.leaveGuards.forEach(p=>{N.push(Et(p,j,U))});const ne=P.bind(null,j,U);return N.push(ne),Wt(N).then(()=>{N=[];for(const X of i.list())N.push(Et(X,j,U));return N.push(ne),Wt(N)}).then(()=>{N=yo(le,"beforeRouteUpdate",j,U);for(const X of le)X.updateGuards.forEach(p=>{N.push(Et(p,j,U))});return N.push(ne),Wt(N)}).then(()=>{N=[];for(const X of j.matched)if(X.beforeEnter&&!U.matched.includes(X))if(Array.isArray(X.beforeEnter))for(const p of X.beforeEnter)N.push(Et(p,j,U));else N.push(Et(X.beforeEnter,j,U));return N.push(ne),Wt(N)}).then(()=>(j.matched.forEach(X=>X.enterCallbacks={}),N=yo(pe,"beforeRouteEnter",j,U),N.push(ne),Wt(N))).then(()=>{N=[];for(const X of s.list())N.push(Et(X,j,U));return N.push(ne),Wt(N)}).catch(X=>jt(X,8)?X:Promise.reject(X))}function z(j,U,N){for(const q of a.list())q(j,U,N)}function $(j,U,N,q,le){const pe=O(j,U);if(pe)return pe;const ne=U===lt,X=Xt?history.state:{};N&&(q||ne?o.replace(j.fullPath,ve({scroll:ne&&X&&X.scroll},le)):o.push(j.fullPath,le)),l.value=j,Pe(j,U,N,ne),Oe()}let A;function F(){A=o.listen((j,U,N)=>{const q=_(j),le=L(q);if(le){C(ve(le,{replace:!0}),q).catch(Hn);return}c=q;const pe=l.value;Xt&&Op(Rs(pe.fullPath,N.delta),ro()),B(q,pe).catch(ne=>jt(ne,12)?ne:jt(ne,2)?(C(ne.to,q).then(X=>{jt(X,20)&&!N.delta&&N.type===Jn.pop&&o.go(-1,!1)}).catch(Hn),Promise.reject()):(N.delta&&o.go(-N.delta,!1),ee(ne,q,pe))).then(ne=>{ne=ne||$(q,pe,!1),ne&&(N.delta?o.go(-N.delta,!1):N.type===Jn.pop&&jt(ne,20)&&o.go(-1,!1)),z(q,pe,ne)}).catch(Hn)})}let Q=wn(),se=wn(),W;function ee(j,U,N){Oe(j);const q=se.list();return q.length?q.forEach(le=>le(j,U,N)):console.error(j),Promise.reject(j)}function te(){return W&&l.value!==lt?Promise.resolve():new Promise((j,U)=>{Q.add([j,U])})}function Oe(j){W||(W=!0,F(),Q.list().forEach(([U,N])=>j?N(j):U()),Q.reset())}function Pe(j,U,N,q){const{scrollBehavior:le}=e;if(!Xt||!le)return Promise.resolve();const pe=!N&&wp(Rs(j.fullPath,0))||(q||!N)&&history.state&&history.state.scroll||null;return Oi().then(()=>le(j,U,pe)).then(ne=>ne&&Ep(ne)).catch(ne=>ee(ne,j,U))}const Ae=j=>o.go(j);let we;const Te=new Set;return{currentRoute:l,addRoute:h,removeRoute:m,hasRoute:v,getRoutes:g,resolve:_,options:e,push:S,replace:I,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:se.add,isReady:te,install(j){const U=this;j.component("RouterLink",sm),j.component("RouterView",Oc),j.config.globalProperties.$router=U,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>zt(l)}),Xt&&!we&&l.value===lt&&(we=!0,S(o.location).catch(le=>{}));const N={};for(const le in lt)N[le]=Ee(()=>l.value[le]);j.provide(no,U),j.provide(Ni,gn(N)),j.provide(Uo,l);const q=j.unmount;Te.add(j),j.unmount=function(){Te.delete(j),Te.size<1&&(c=lt,A&&A(),l.value=lt,we=!1,W=!1),q()}}}}function Wt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function fm(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sfn(c,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>fn(c,l))||o.push(l))}return[n,r,o]}function oo(){return je(no)}function Hi(){return je(Ni)}const dm=Ye({setup(e,t){const n=Ne(!1);return at(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)===null||o===void 0?void 0:o.call(r):null}}}),pm="modulepreload",Vs={},mm="/",re=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${mm}${r}`,r in Vs)return;Vs[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":pm,o||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),o)return new Promise((a,l)=>{s.addEventListener("load",a),s.addEventListener("error",l)})})).then(()=>t())},wc={"v-8daa1a0e":ce(()=>re(()=>import("./index.html.4f680e31.js"),["assets/index.html.4f680e31.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-08a5d2dc":ce(()=>re(()=>import("./index.html.601c32cc.js"),["assets/index.html.601c32cc.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-9014096a":ce(()=>re(()=>import("./index.html.2df74fe8.js"),["assets/index.html.2df74fe8.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-0dd9e6a8":ce(()=>re(()=>import("./index.html.a2207b39.js"),["assets/index.html.a2207b39.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-fb37d6ea":ce(()=>re(()=>import("./index.html.703c5310.js"),["assets/index.html.703c5310.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-55146a0d":ce(()=>re(()=>import("./index.html.41aad806.js"),["assets/index.html.41aad806.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-59de75e8":ce(()=>re(()=>import("./index.html.9bb26c27.js"),["assets/index.html.9bb26c27.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-d446beac":ce(()=>re(()=>import("./index.html.563e6534.js"),["assets/index.html.563e6534.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-241ec4c4":ce(()=>re(()=>import("./index.html.b5abd479.js"),["assets/index.html.b5abd479.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-3706649a":ce(()=>re(()=>import("./404.html.bee13de6.js"),["assets/404.html.bee13de6.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},hm={"v-8daa1a0e":()=>re(()=>import("./index.html.cced2d39.js"),[]).then(({data:e})=>e),"v-08a5d2dc":()=>re(()=>import("./index.html.fe653992.js"),[]).then(({data:e})=>e),"v-9014096a":()=>re(()=>import("./index.html.d53513ec.js"),[]).then(({data:e})=>e),"v-0dd9e6a8":()=>re(()=>import("./index.html.8175fd28.js"),[]).then(({data:e})=>e),"v-fb37d6ea":()=>re(()=>import("./index.html.1b6f9115.js"),[]).then(({data:e})=>e),"v-55146a0d":()=>re(()=>import("./index.html.79494550.js"),[]).then(({data:e})=>e),"v-59de75e8":()=>re(()=>import("./index.html.316170ee.js"),[]).then(({data:e})=>e),"v-d446beac":()=>re(()=>import("./index.html.2a9ea9e2.js"),[]).then(({data:e})=>e),"v-241ec4c4":()=>re(()=>import("./index.html.61d313f8.js"),[]).then(({data:e})=>e),"v-3706649a":()=>re(()=>import("./404.html.f166316b.js"),[]).then(({data:e})=>e)},Sc=Ne(hm),Pc=_i({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),ut=Ne(Pc),or=()=>ut;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updatePageData=e=>{Sc.value[e.key]=()=>Promise.resolve(e),e.key===ut.value.key&&(ut.value=e)});const Cc=Symbol(""),vm=()=>{const e=je(Cc);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},Ac=Symbol(""),gm=()=>{const e=je(Ac);if(!e)throw new Error("usePageHead() is called without provider.");return e},_m=Symbol(""),Ic=Symbol(""),xc=()=>{const e=je(Ic);if(!e)throw new Error("usePageLang() is called without provider.");return e},Fi=Symbol(""),jc=()=>{const e=je(Fi);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},ym={base:"/",lang:"en-US",title:"Vue 3 Datepicker",description:"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available",head:[["link",{rel:"icon",href:"/logo.png"}],["meta",{name:"description",content:"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available"}]],locales:{}},Ot=Ne(ym),Tc=()=>Ot;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updateSiteData=e=>{Ot.value=e});const kc=Symbol(""),M0=()=>{const e=je(kc);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},bm=Symbol(""),zi=e=>{let t;e.pageKey?t=e.pageKey:t=or().value.key;const n=wc[t];return n?be(n):be("div","404 Not Found")};zi.displayName="Content";zi.props={pageKey:{type:String,required:!1}};const Em={"404":ce(()=>re(()=>import("./404.819d44fa.js"),[])),Layout:ce(()=>re(()=>import("./Layout.03bc1710.js"),["assets/Layout.03bc1710.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},Om=([e,t,n])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]),wm=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Om(r);t.has(o)||(t.add(o),n.push(r))}),n},Sm=e=>/^(https?:)?\/\//.test(e),H0=e=>/^mailto:/.test(e),F0=e=>/^tel:/.test(e),Dc=e=>Object.prototype.toString.call(e)==="[object Object]",Pm=e=>e.replace(/\/$/,""),Cm=e=>e.replace(/^\//,""),Rc=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const i=o.split("/").length-r.split("/").length;return i!==0?i:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Am=(e,t="/")=>e.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${t}`),"/"),Ks=Ye({name:"Vuepress",setup(){const e=or(),t=Ee(()=>{let n;if(e.value.path){const r=e.value.frontmatter.layout;me(r)?n=r:n="Layout"}else n="404";return Em[n]||gd(n,!1)});return()=>be(t.value)}}),yn=e=>e,Bi=e=>e,Im=e=>Sm(e)?e:`${Tc().value.base}${Cm(e)}`,Rt=gn({resolvePageData:async e=>{const t=Sc.value[e],n=await(t==null?void 0:t());return n!=null?n:Pc},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const r=me(t.description)?t.description:n.description,o=[...G(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return wm(o)},resolvePageHeadTitle:(e,t)=>`${e.title?`${e.title} | `:""}${t.title}`,resolvePageLang:e=>e.lang||"en",resolveRouteLocale:(e,t)=>Rc(e,t),resolveSiteLocaleData:(e,t)=>Re(Re({},e),e.locales[t])});const xm=be("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[be("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),be("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),jm=Ye({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=jc(),n=Ee(()=>{var r;return(r=e.locales[t.value])!==null&&r!==void 0?r:{openInNewWindow:"open in new window"}});return()=>be("span",[xm,be("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}}),Tm={"/":{openInNewWindow:"open in new window"}};var km=yn(({app:e})=>{e.component("ExternalLinkIcon",be(jm,{locales:Tm}))});/*! medium-zoom 1.0.6 | MIT License | https://github.com/francoischalifour/medium-zoom */var Lt=Object.assign||function(e){for(var t=1;tdc?Symbol(e):"_vr_"+e,cp=_n("rvlm"),Ts=_n("rvd"),no=_n("r"),Ni=_n("rl"),Uo=_n("rvl"),Xt=typeof window!="undefined";function up(e){return e.__esModule||dc&&e[Symbol.toStringTag]==="Module"}const ve=Object.assign;function go(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const Hn=()=>{},fp=/\/$/,dp=e=>e.replace(fp,"");function _o(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=vp(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function pp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ks(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&fn(t.matched[r],n.matched[o])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hp(e[n],t[n]))return!1;return!0}function hp(e,t){return Array.isArray(e)?Ds(e,t):Array.isArray(t)?Ds(t,e):e===t}function Ds(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,i,s;for(i=0;i({left:window.pageXOffset,top:window.pageYOffset});function Ep(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=bp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Rs(e,t){return(history.state?history.state.position-t:-1)+e}const qo=new Map;function Op(e,t){qo.set(e,t)}function wp(e){const t=qo.get(e);return qo.delete(e),t}let Sp=()=>location.protocol+"//"+location.host;function mc(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),ks(l,"")}return ks(n,e)+r+o}function Pp(e,t,n,r){let o=[],i=[],s=null;const a=({state:f})=>{const h=mc(e,location),m=n.value,g=t.value;let v=0;if(f){if(n.value=h,t.value=f,s&&s===m){s=null;return}v=g?f.position-g.position:0}else r(h);o.forEach(_=>{_(n.value,m,{delta:v,type:Jn.pop,direction:v?v>0?Fn.forward:Fn.back:Fn.unknown})})};function l(){s=n.value}function c(f){o.push(f);const h=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return i.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(ve({},f.state,{scroll:ro()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Ls(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ro():null}}function Cp(e){const{history:t,location:n}=window,r={value:mc(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Sp()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function s(l,c){const u=ve({},t.state,Ls(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=ve({},o.value,t.state,{forward:l,scroll:ro()});i(u.current,u,!0);const d=ve({},Ls(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Ap(e){e=gp(e);const t=Cp(e),n=Pp(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=ve({location:"",base:e,go:r,createHref:yp.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Ip(e){return typeof e=="string"||e&&typeof e=="object"}function hc(e){return typeof e=="string"||typeof e=="symbol"}const lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vc=_n("nf");var Ns;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ns||(Ns={}));function dn(e,t){return ve(new Error,{type:e,[vc]:!0},t)}function jt(e,t){return e instanceof Error&&vc in e&&(t==null||!!(e.type&t))}const Ms="[^/]+?",xp={sensitive:!1,strict:!1,start:!0,end:!0},jp=/[.+*?^${}()[\]/\\]/g;function Tp(e,t){const n=ve({},xp,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Dp(e,t){let n=0;const r=e.score,o=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{s(E)}:Hn}function s(u){if(hc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){let d=0;for(;d=0;)d++;n.splice(d,0,u),u.record.name&&!Hs(u)&&r.set(u.record.name,u)}function c(u,d){let f,h={},m,g;if("name"in u&&u.name){if(f=r.get(u.name),!f)throw dn(1,{location:u});g=f.record.name,h=ve(Fp(d.params,f.keys.filter(E=>!E.optional).map(E=>E.name)),u.params),m=f.stringify(h)}else if("path"in u)m=u.path,f=n.find(E=>E.re.test(m)),f&&(h=f.parse(m),g=f.record.name);else{if(f=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!f)throw dn(1,{location:u,currentLocation:d});g=f.record.name,h=ve({},d.params,u.params),m=f.stringify(h)}const v=[];let _=f;for(;_;)v.unshift(_.record),_=_.parent;return{name:g,path:m,params:h,matched:v,meta:$p(v)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function Fp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Bp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Hs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $p(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function Fs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const gc=/#/g,Up=/&/g,qp=/\//g,Vp=/=/g,Kp=/\?/g,_c=/\+/g,Wp=/%5B/g,Jp=/%5D/g,yc=/%5E/g,Qp=/%60/g,bc=/%7B/g,Yp=/%7C/g,Ec=/%7D/g,Zp=/%20/g;function Mi(e){return encodeURI(""+e).replace(Yp,"|").replace(Wp,"[").replace(Jp,"]")}function Gp(e){return Mi(e).replace(bc,"{").replace(Ec,"}").replace(yc,"^")}function Vo(e){return Mi(e).replace(_c,"%2B").replace(Zp,"+").replace(gc,"%23").replace(Up,"%26").replace(Qp,"`").replace(bc,"{").replace(Ec,"}").replace(yc,"^")}function Xp(e){return Vo(e).replace(Vp,"%3D")}function em(e){return Mi(e).replace(gc,"%23").replace(Kp,"%3F")}function tm(e){return e==null?"":em(e).replace(qp,"%2F")}function Fr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function nm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Vo(i)):[r&&Vo(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function rm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function wn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Et(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const l=d=>{d===!1?a(dn(4,{from:n,to:t})):d instanceof Error?a(d):Ip(d)?a(dn(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),s())},c=e.call(r&&r.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function yo(e,t,n,r){const o=[];for(const i of e)for(const s in i.components){let a=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(om(a)){const c=(a.__vccOpts||a)[t];c&&o.push(Et(c,n,r,i,s))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const u=up(c)?c.default:c;i.components[s]=u;const f=(u.__vccOpts||u)[t];return f&&Et(f,n,r,i,s)()}))}}return o}function om(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bs(e){const t=je(no),n=je(Ni),r=Ee(()=>t.resolve(zt(e.to))),o=Ee(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(fn.bind(null,u));if(f>-1)return f;const h=$s(l[c-2]);return c>1&&$s(u)===h&&d[d.length-1].path!==h?d.findIndex(fn.bind(null,l[c-2])):f}),i=Ee(()=>o.value>-1&&lm(n.params,r.value.params)),s=Ee(()=>o.value>-1&&o.value===n.matched.length-1&&pc(n.params,r.value.params));function a(l={}){return am(l)?t[zt(e.replace)?"replace":"push"](zt(e.to)).catch(Hn):Promise.resolve()}return{route:r,href:Ee(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}const im=Ye({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Bs,setup(e,{slots:t}){const n=gn(Bs(e)),{options:r}=je(no),o=Ee(()=>({[Us(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Us(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:be("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),sm=im;function am(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function lm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function $s(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Us=(e,t,n)=>e!=null?e:t!=null?t:n,cm=Ye({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=je(Uo),o=Ee(()=>e.route||r.value),i=je(Ts,0),s=Ee(()=>o.value.matched[i]);Bt(Ts,i+1),Bt(cp,s),Bt(Uo,o);const a=Ne();return et(()=>[a.value,s.value,e.name],([l,c,u],[d,f,h])=>{c&&(c.instances[u]=l,f&&f!==c&&l&&l===d&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!fn(c,f)||!d)&&(c.enterCallbacks[u]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=o.value,c=s.value,u=c&&c.components[e.name],d=e.name;if(!u)return qs(n.default,{Component:u,route:l});const f=c.props[e.name],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,g=be(u,ve({},h,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(c.instances[d]=null)},ref:a}));return qs(n.default,{Component:g,route:l})||g}}});function qs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Oc=cm;function um(e){const t=Hp(e.routes,e),n=e.parseQuery||nm,r=e.stringifyQuery||zs,o=e.history,i=wn(),s=wn(),a=wn(),l=Il(lt);let c=lt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=go.bind(null,j=>""+j),d=go.bind(null,tm),f=go.bind(null,Fr);function h(j,U){let N,q;return hc(j)?(N=t.getRecordMatcher(j),q=U):q=j,t.addRoute(q,N)}function m(j){const U=t.getRecordMatcher(j);U&&t.removeRoute(U)}function g(){return t.getRoutes().map(j=>j.record)}function v(j){return!!t.getRecordMatcher(j)}function _(j,U){if(U=ve({},U||l.value),typeof j=="string"){const X=_o(n,j,U.path),p=t.resolve({path:X.path},U),y=o.createHref(X.fullPath);return ve(X,p,{params:f(p.params),hash:Fr(X.hash),redirectedFrom:void 0,href:y})}let N;if("path"in j)N=ve({},j,{path:_o(n,j.path,U.path).path});else{const X=ve({},j.params);for(const p in X)X[p]==null&&delete X[p];N=ve({},j,{params:d(j.params)}),U.params=d(U.params)}const q=t.resolve(N,U),le=j.hash||"";q.params=u(f(q.params));const pe=pp(r,ve({},j,{hash:Gp(le),path:q.path})),re=o.createHref(pe);return ve({fullPath:pe,hash:le,query:r===zs?rm(j.query):j.query||{}},q,{redirectedFrom:void 0,href:re})}function E(j){return typeof j=="string"?_o(n,j,l.value.path):ve({},j)}function O(j,U){if(c!==j)return dn(8,{from:U,to:j})}function S(j){return C(j)}function I(j){return S(ve(E(j),{replace:!0}))}function L(j){const U=j.matched[j.matched.length-1];if(U&&U.redirect){const{redirect:N}=U;let q=typeof N=="function"?N(j):N;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=E(q):{path:q},q.params={}),ve({query:j.query,hash:j.hash,params:j.params},q)}}function C(j,U){const N=c=_(j),q=l.value,le=j.state,pe=j.force,re=j.replace===!0,X=L(N);if(X)return C(ve(E(X),{state:le,force:pe,replace:re}),U||N);const p=N;p.redirectedFrom=U;let y;return!pe&&mp(r,q,N)&&(y=dn(16,{to:p,from:q}),Pe(q,q,!0,!1)),(y?Promise.resolve(y):B(p,q)).catch(w=>jt(w)?w:ee(w,p,q)).then(w=>{if(w){if(jt(w,2))return C(ve(E(w.to),{state:le,force:pe,replace:re}),U||p)}else w=$(p,q,!0,re,le);return z(p,q,w),w})}function P(j,U){const N=O(j,U);return N?Promise.reject(N):Promise.resolve()}function B(j,U){let N;const[q,le,pe]=fm(j,U);N=yo(q.reverse(),"beforeRouteLeave",j,U);for(const X of q)X.leaveGuards.forEach(p=>{N.push(Et(p,j,U))});const re=P.bind(null,j,U);return N.push(re),Wt(N).then(()=>{N=[];for(const X of i.list())N.push(Et(X,j,U));return N.push(re),Wt(N)}).then(()=>{N=yo(le,"beforeRouteUpdate",j,U);for(const X of le)X.updateGuards.forEach(p=>{N.push(Et(p,j,U))});return N.push(re),Wt(N)}).then(()=>{N=[];for(const X of j.matched)if(X.beforeEnter&&!U.matched.includes(X))if(Array.isArray(X.beforeEnter))for(const p of X.beforeEnter)N.push(Et(p,j,U));else N.push(Et(X.beforeEnter,j,U));return N.push(re),Wt(N)}).then(()=>(j.matched.forEach(X=>X.enterCallbacks={}),N=yo(pe,"beforeRouteEnter",j,U),N.push(re),Wt(N))).then(()=>{N=[];for(const X of s.list())N.push(Et(X,j,U));return N.push(re),Wt(N)}).catch(X=>jt(X,8)?X:Promise.reject(X))}function z(j,U,N){for(const q of a.list())q(j,U,N)}function $(j,U,N,q,le){const pe=O(j,U);if(pe)return pe;const re=U===lt,X=Xt?history.state:{};N&&(q||re?o.replace(j.fullPath,ve({scroll:re&&X&&X.scroll},le)):o.push(j.fullPath,le)),l.value=j,Pe(j,U,N,re),Oe()}let A;function F(){A=o.listen((j,U,N)=>{const q=_(j),le=L(q);if(le){C(ve(le,{replace:!0}),q).catch(Hn);return}c=q;const pe=l.value;Xt&&Op(Rs(pe.fullPath,N.delta),ro()),B(q,pe).catch(re=>jt(re,12)?re:jt(re,2)?(C(re.to,q).then(X=>{jt(X,20)&&!N.delta&&N.type===Jn.pop&&o.go(-1,!1)}).catch(Hn),Promise.reject()):(N.delta&&o.go(-N.delta,!1),ee(re,q,pe))).then(re=>{re=re||$(q,pe,!1),re&&(N.delta?o.go(-N.delta,!1):N.type===Jn.pop&&jt(re,20)&&o.go(-1,!1)),z(q,pe,re)}).catch(Hn)})}let Q=wn(),se=wn(),W;function ee(j,U,N){Oe(j);const q=se.list();return q.length?q.forEach(le=>le(j,U,N)):console.error(j),Promise.reject(j)}function te(){return W&&l.value!==lt?Promise.resolve():new Promise((j,U)=>{Q.add([j,U])})}function Oe(j){W||(W=!0,F(),Q.list().forEach(([U,N])=>j?N(j):U()),Q.reset())}function Pe(j,U,N,q){const{scrollBehavior:le}=e;if(!Xt||!le)return Promise.resolve();const pe=!N&&wp(Rs(j.fullPath,0))||(q||!N)&&history.state&&history.state.scroll||null;return Oi().then(()=>le(j,U,pe)).then(re=>re&&Ep(re)).catch(re=>ee(re,j,U))}const Ae=j=>o.go(j);let we;const Te=new Set;return{currentRoute:l,addRoute:h,removeRoute:m,hasRoute:v,getRoutes:g,resolve:_,options:e,push:S,replace:I,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:se.add,isReady:te,install(j){const U=this;j.component("RouterLink",sm),j.component("RouterView",Oc),j.config.globalProperties.$router=U,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>zt(l)}),Xt&&!we&&l.value===lt&&(we=!0,S(o.location).catch(le=>{}));const N={};for(const le in lt)N[le]=Ee(()=>l.value[le]);j.provide(no,U),j.provide(Ni,gn(N)),j.provide(Uo,l);const q=j.unmount;Te.add(j),j.unmount=function(){Te.delete(j),Te.size<1&&(c=lt,A&&A(),l.value=lt,we=!1,W=!1),q()}}}}function Wt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function fm(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sfn(c,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>fn(c,l))||o.push(l))}return[n,r,o]}function oo(){return je(no)}function Hi(){return je(Ni)}const dm=Ye({setup(e,t){const n=Ne(!1);return at(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)===null||o===void 0?void 0:o.call(r):null}}}),pm="modulepreload",Vs={},mm="/",ne=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${mm}${r}`,r in Vs)return;Vs[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":pm,o||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),o)return new Promise((a,l)=>{s.addEventListener("load",a),s.addEventListener("error",l)})})).then(()=>t())},wc={"v-8daa1a0e":ce(()=>ne(()=>import("./index.html.abc6c371.js"),["assets/index.html.abc6c371.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-08a5d2dc":ce(()=>ne(()=>import("./index.html.ded16fc5.js"),["assets/index.html.ded16fc5.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-9014096a":ce(()=>ne(()=>import("./index.html.4b502edb.js"),["assets/index.html.4b502edb.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-0dd9e6a8":ce(()=>ne(()=>import("./index.html.909ed922.js"),["assets/index.html.909ed922.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-fb37d6ea":ce(()=>ne(()=>import("./index.html.4f4badc1.js"),["assets/index.html.4f4badc1.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-55146a0d":ce(()=>ne(()=>import("./index.html.1055a0f0.js"),["assets/index.html.1055a0f0.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-59de75e8":ce(()=>ne(()=>import("./index.html.9d6ff572.js"),["assets/index.html.9d6ff572.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-d446beac":ce(()=>ne(()=>import("./index.html.1cf36832.js"),["assets/index.html.1cf36832.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-241ec4c4":ce(()=>ne(()=>import("./index.html.86ad4a51.js"),["assets/index.html.86ad4a51.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-3706649a":ce(()=>ne(()=>import("./404.html.bee13de6.js"),["assets/404.html.bee13de6.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},hm={"v-8daa1a0e":()=>ne(()=>import("./index.html.cced2d39.js"),[]).then(({data:e})=>e),"v-08a5d2dc":()=>ne(()=>import("./index.html.fe653992.js"),[]).then(({data:e})=>e),"v-9014096a":()=>ne(()=>import("./index.html.d53513ec.js"),[]).then(({data:e})=>e),"v-0dd9e6a8":()=>ne(()=>import("./index.html.8175fd28.js"),[]).then(({data:e})=>e),"v-fb37d6ea":()=>ne(()=>import("./index.html.1b6f9115.js"),[]).then(({data:e})=>e),"v-55146a0d":()=>ne(()=>import("./index.html.12f71322.js"),[]).then(({data:e})=>e),"v-59de75e8":()=>ne(()=>import("./index.html.94c6d9be.js"),[]).then(({data:e})=>e),"v-d446beac":()=>ne(()=>import("./index.html.2a9ea9e2.js"),[]).then(({data:e})=>e),"v-241ec4c4":()=>ne(()=>import("./index.html.61d313f8.js"),[]).then(({data:e})=>e),"v-3706649a":()=>ne(()=>import("./404.html.f166316b.js"),[]).then(({data:e})=>e)},Sc=Ne(hm),Pc=_i({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),ut=Ne(Pc),or=()=>ut;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updatePageData=e=>{Sc.value[e.key]=()=>Promise.resolve(e),e.key===ut.value.key&&(ut.value=e)});const Cc=Symbol(""),vm=()=>{const e=je(Cc);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},Ac=Symbol(""),gm=()=>{const e=je(Ac);if(!e)throw new Error("usePageHead() is called without provider.");return e},_m=Symbol(""),Ic=Symbol(""),xc=()=>{const e=je(Ic);if(!e)throw new Error("usePageLang() is called without provider.");return e},Fi=Symbol(""),jc=()=>{const e=je(Fi);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},ym={base:"/",lang:"en-US",title:"Vue 3 Datepicker",description:"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available",head:[["link",{rel:"icon",href:"/logo.png"}],["meta",{name:"description",content:"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available"}]],locales:{}},Ot=Ne(ym),Tc=()=>Ot;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updateSiteData=e=>{Ot.value=e});const kc=Symbol(""),M0=()=>{const e=je(kc);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},bm=Symbol(""),zi=e=>{let t;e.pageKey?t=e.pageKey:t=or().value.key;const n=wc[t];return n?be(n):be("div","404 Not Found")};zi.displayName="Content";zi.props={pageKey:{type:String,required:!1}};const Em={"404":ce(()=>ne(()=>import("./404.1c33d600.js"),[])),Layout:ce(()=>ne(()=>import("./Layout.775e7c81.js"),["assets/Layout.775e7c81.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},Om=([e,t,n])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]),wm=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Om(r);t.has(o)||(t.add(o),n.push(r))}),n},Sm=e=>/^(https?:)?\/\//.test(e),H0=e=>/^mailto:/.test(e),F0=e=>/^tel:/.test(e),Dc=e=>Object.prototype.toString.call(e)==="[object Object]",Pm=e=>e.replace(/\/$/,""),Cm=e=>e.replace(/^\//,""),Rc=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const i=o.split("/").length-r.split("/").length;return i!==0?i:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Am=(e,t="/")=>e.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${t}`),"/"),Ks=Ye({name:"Vuepress",setup(){const e=or(),t=Ee(()=>{let n;if(e.value.path){const r=e.value.frontmatter.layout;me(r)?n=r:n="Layout"}else n="404";return Em[n]||gd(n,!1)});return()=>be(t.value)}}),yn=e=>e,Bi=e=>e,Im=e=>Sm(e)?e:`${Tc().value.base}${Cm(e)}`,Rt=gn({resolvePageData:async e=>{const t=Sc.value[e],n=await(t==null?void 0:t());return n!=null?n:Pc},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const r=me(t.description)?t.description:n.description,o=[...G(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return wm(o)},resolvePageHeadTitle:(e,t)=>`${e.title?`${e.title} | `:""}${t.title}`,resolvePageLang:e=>e.lang||"en",resolveRouteLocale:(e,t)=>Rc(e,t),resolveSiteLocaleData:(e,t)=>Re(Re({},e),e.locales[t])});const xm=be("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[be("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),be("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),jm=Ye({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=jc(),n=Ee(()=>{var r;return(r=e.locales[t.value])!==null&&r!==void 0?r:{openInNewWindow:"open in new window"}});return()=>be("span",[xm,be("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}}),Tm={"/":{openInNewWindow:"open in new window"}};var km=yn(({app:e})=>{e.component("ExternalLinkIcon",be(jm,{locales:Tm}))});/*! medium-zoom 1.0.6 | MIT License | https://github.com/francoischalifour/medium-zoom */var Lt=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(A){function F(){}A(F,F)},o=function(A){var F=A.target;if(F===B){m();return}O.indexOf(F)!==-1&&g({target:F})},i=function(){if(!(I||!P.original)){var A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(L-A)>C.scrollOffset&&setTimeout(m,150)}},s=function(A){var F=A.key||A.keyCode;(F==="Escape"||F==="Esc"||F===27)&&m()},a=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A;if(A.background&&(B.style.background=A.background),A.container&&A.container instanceof Object&&(F.container=Lt({},C.container,A.container)),A.template){var Q=Or(A.template)?A.template:document.querySelector(A.template);F.template=Q}return C=Lt({},C,F),O.forEach(function(se){se.dispatchEvent(Jt("medium-zoom:update",{detail:{zoom:z}}))}),z},l=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Lt({},C,A))},c=function(){for(var A=arguments.length,F=Array(A),Q=0;Q0?F.reduce(function(W,ee){return[].concat(W,Js(ee))},[]):O;return se.forEach(function(W){W.classList.remove("medium-zoom-image"),W.dispatchEvent(Jt("medium-zoom:detach",{detail:{zoom:z}}))}),O=O.filter(function(W){return se.indexOf(W)===-1}),z},d=function(A,F){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O.forEach(function(se){se.addEventListener("medium-zoom:"+A,F,Q)}),S.push({type:"medium-zoom:"+A,listener:F,options:Q}),z},f=function(A,F){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O.forEach(function(se){se.removeEventListener("medium-zoom:"+A,F,Q)}),S=S.filter(function(se){return!(se.type==="medium-zoom:"+A&&se.listener.toString()===F.toString())}),z},h=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A.target,Q=function(){var W={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)W=Lt({},W,C.container),ee=W.width-W.left-W.right-C.margin*2,te=W.height-W.top-W.bottom-C.margin*2;else{var Oe=Or(C.container)?C.container:document.querySelector(C.container),Pe=Oe.getBoundingClientRect(),Ae=Pe.width,we=Pe.height,Te=Pe.left,ze=Pe.top;W=Lt({},W,{width:Ae,height:we,left:Te,top:ze})}ee=ee||W.width-C.margin*2,te=te||W.height-C.margin*2;var j=P.zoomedHd||P.original,U=Ws(j)?ee:j.naturalWidth||ee,N=Ws(j)?te:j.naturalHeight||te,q=j.getBoundingClientRect(),le=q.top,pe=q.left,ne=q.width,X=q.height,p=Math.min(U,ee)/ne,y=Math.min(N,te)/X,w=Math.min(p,y),x=(-pe+(ee-ne)/2+C.margin+W.left)/w,T=(-le+(te-X)/2+C.margin+W.top)/w,k="scale("+w+") translate3d("+x+"px, "+T+"px, 0)";P.zoomed.style.transform=k,P.zoomedHd&&(P.zoomedHd.style.transform=k)};return new r(function(se){if(F&&O.indexOf(F)===-1){se(z);return}var W=function Ae(){I=!1,P.zoomed.removeEventListener("transitionend",Ae),P.original.dispatchEvent(Jt("medium-zoom:opened",{detail:{zoom:z}})),se(z)};if(P.zoomed){se(z);return}if(F)P.original=F;else if(O.length>0){var ee=O;P.original=ee[0]}else{se(z);return}if(P.original.dispatchEvent(Jt("medium-zoom:open",{detail:{zoom:z}})),L=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,I=!0,P.zoomed=Lm(P.original),document.body.appendChild(B),C.template){var te=Or(C.template)?C.template:document.querySelector(C.template);P.template=document.createElement("div"),P.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild(P.template)}if(document.body.appendChild(P.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),P.original.classList.add("medium-zoom-image--hidden"),P.zoomed.classList.add("medium-zoom-image--opened"),P.zoomed.addEventListener("click",m),P.zoomed.addEventListener("transitionend",W),P.original.getAttribute("data-zoom-src")){P.zoomedHd=P.zoomed.cloneNode(),P.zoomedHd.removeAttribute("srcset"),P.zoomedHd.removeAttribute("sizes"),P.zoomedHd.src=P.zoomed.getAttribute("data-zoom-src"),P.zoomedHd.onerror=function(){clearInterval(Oe),console.warn("Unable to reach the zoom image target "+P.zoomedHd.src),P.zoomedHd=null,Q()};var Oe=setInterval(function(){P.zoomedHd.complete&&(clearInterval(Oe),P.zoomedHd.classList.add("medium-zoom-image--opened"),P.zoomedHd.addEventListener("click",m),document.body.appendChild(P.zoomedHd),Q())},10)}else if(P.original.hasAttribute("srcset")){P.zoomedHd=P.zoomed.cloneNode(),P.zoomedHd.removeAttribute("sizes"),P.zoomedHd.removeAttribute("loading");var Pe=P.zoomedHd.addEventListener("load",function(){P.zoomedHd.removeEventListener("load",Pe),P.zoomedHd.classList.add("medium-zoom-image--opened"),P.zoomedHd.addEventListener("click",m),document.body.appendChild(P.zoomedHd),Q()})}else Q()})},m=function(){return new r(function(A){if(I||!P.original){A(z);return}var F=function Q(){P.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(P.zoomed),P.zoomedHd&&document.body.removeChild(P.zoomedHd),document.body.removeChild(B),P.zoomed.classList.remove("medium-zoom-image--opened"),P.template&&document.body.removeChild(P.template),I=!1,P.zoomed.removeEventListener("transitionend",Q),P.original.dispatchEvent(Jt("medium-zoom:closed",{detail:{zoom:z}})),P.original=null,P.zoomed=null,P.zoomedHd=null,P.template=null,A(z)};I=!0,document.body.classList.remove("medium-zoom--opened"),P.zoomed.style.transform="",P.zoomedHd&&(P.zoomedHd.style.transform=""),P.template&&(P.template.style.transition="opacity 150ms",P.template.style.opacity=0),P.original.dispatchEvent(Jt("medium-zoom:close",{detail:{zoom:z}})),P.zoomed.addEventListener("transitionend",F)})},g=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A.target;return P.original?m():h({target:F})},v=function(){return C},_=function(){return O},E=function(){return P.original},O=[],S=[],I=!1,L=0,C=n,P={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?C=t:(t||typeof t=="string")&&c(t),C=Lt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var B=Rm(C.background);document.addEventListener("click",o),document.addEventListener("keyup",s),document.addEventListener("scroll",i),window.addEventListener("resize",m);var z={open:h,close:m,toggle:g,update:a,clone:l,attach:c,detach:u,on:d,off:f,getOptions:v,getImages:_,getZoomedImage:E};return z};function Mm(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document=="undefined")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Hm=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Mm(Hm);var Fm=Nm;const zm=Symbol("mediumZoom");const Bm=".theme-default-content > img, .theme-default-content :not(a) > img",$m={},Um=300;var qm=yn(({app:e,router:t})=>{const n=Fm($m);n.refresh=(r=Bm)=>{n.detach(),n.attach(r)},e.provide(zm,n),t.afterEach(()=>{setTimeout(()=>n.refresh(),Um)})});const Vm={logo:"/logo.png",contributors:!1,navbar:[{text:"Home",link:"/"},{text:"GitHub",link:"https://github.com/Vuepic/vue3-date-time-picker"},{text:"Changelog",link:"https://github.com/Vuepic/vue3-date-time-picker/releases"}],sidebar:[{text:"Getting Started",children:[{text:"Installation",link:"/installation/"}]},{text:"API",children:[{text:"Props",link:"/api/props/"},{text:"Slots",link:"/api/slots/"},{text:"Components",link:"/api/components/"},{text:"Events",link:"/api/events/"},{text:"Methods",link:"/api/methods/"}]},{text:"Customization",children:[{text:"Theming",link:"/customization/theming/"},{text:"Scss",link:"/customization/scss/"}]}],locales:{"/":{selectLanguageName:"English"}},darkMode:!0,repo:null,selectLanguageText:"Languages",selectLanguageAriaLabel:"Select language",sidebarDepth:2,editLink:!0,editLinkText:"Edit this page",lastUpdated:!0,lastUpdatedText:"Last Updated",contributorsText:"Contributors",notFound:["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],backToHome:"Take me home",openInNewWindow:"open in new window",toggleDarkMode:"toggle dark mode",toggleSidebar:"toggle sidebar"},Lc=Ne(Vm),Km=()=>Lc;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updateThemeData=e=>{Lc.value=e});const Nc=Symbol(""),Wm=()=>{const e=je(Nc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Jm=(e,t)=>{var n;return Re(Re({},e),(n=e.locales)===null||n===void 0?void 0:n[t])};var Qm=yn(({app:e})=>{const t=Km(),n=e._context.provides[Fi],r=Ee(()=>Jm(t.value,n.value));e.provide(Nc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})});const Ym=Ye({props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup(e){return(t,n)=>(eo(),tc("span",{class:mn(["badge",e.type]),style:er({verticalAlign:e.vertical})},[ic(t.$slots,"default",{},()=>[Ti(Nu(e.text),1)])],6))}});var Zm=Ye({name:"CodeGroup",setup(e,{slots:t}){const n=Ne(-1),r=Ne([]),o=(a=n.value)=>{a{a>0?n.value=a-1:n.value=r.value.length-1,r.value[n.value].focus()},s=(a,l)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=l):a.key==="ArrowRight"?(a.preventDefault(),o(l)):a.key==="ArrowLeft"&&(a.preventDefault(),i(l))};return()=>{var a;const l=(((a=t.default)===null||a===void 0?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return l.length===0?null:(n.value<0||n.value>l.length-1?(n.value=l.findIndex(c=>c.props.active===""||c.props.active===!0),n.value===-1&&(n.value=0)):l.forEach((c,u)=>{c.props.active=u===n.value}),be("div",{class:"code-group"},[be("div",{class:"code-group__nav"},be("ul",{class:"code-group__ul"},l.map((c,u)=>{const d=u===n.value;return be("li",{class:"code-group__li"},be("button",{ref:f=>{f&&(r.value[u]=f)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":d},ariaPressed:d,ariaExpanded:d,onClick:()=>n.value=u,onKeydown:f=>s(f,u)},c.props.title))}))),l]))}}});const Gm=["aria-selected"],Xm=Ye({name:"CodeGroupItem"}),eh=Ye(At(Re({},Xm),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(eo(),tc("div",{class:mn(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[ic(t.$slots,"default")],10,Gm))}}));function Mc(e){return Ku()?(Wu(e),!0):!1}const ir=typeof window!="undefined",th=e=>typeof e=="string",bo=()=>{};function nh(e,t){function n(...r){e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})}return n}const rh=e=>e();var Qs=Object.getOwnPropertySymbols,oh=Object.prototype.hasOwnProperty,ih=Object.prototype.propertyIsEnumerable,sh=(e,t)=>{var n={};for(var r in e)oh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qs)for(var r of Qs(e))t.indexOf(r)<0&&ih.call(e,r)&&(n[r]=e[r]);return n};function ah(e,t,n={}){const r=n,{eventFilter:o=rh}=r,i=sh(r,["eventFilter"]);return et(e,nh(o,t),i)}function lh(e,t=!0){Di()?at(e):t?e():Oi(e)}const zr=ir?window:void 0;ir&&window.document;ir&&window.navigator;ir&&window.location;function ch(...e){let t,n,r,o;if(th(e[0])?([n,r,o]=e,t=zr):[t,n,r,o]=e,!t)return bo;let i=bo;const s=et(()=>zt(t),l=>{i(),!!l&&(l.addEventListener(n,r,o),i=()=>{l.removeEventListener(n,r,o),i=bo})},{immediate:!0,flush:"post"}),a=()=>{s(),i()};return Mc(a),a}function uh(e,t={}){const{window:n=zr}=t;let r;const o=Ne(!1),i=()=>{!n||(r||(r=n.matchMedia(e)),o.value=r.matches)};return lh(()=>{i(),!!r&&("addEventListener"in r?r.addEventListener("change",i):r.addListener(i),Mc(()=>{"removeEventListener"in i?r.removeEventListener("change",i):r.removeListener(i)}))}),o}const Ko=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wo="__vueuse_ssr_handlers__";Ko[Wo]=Ko[Wo]||{};const fh=Ko[Wo];function dh(e,t){return fh[e]||t}function ph(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const mh={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))}};function hh(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,shallow:c,window:u=zr,eventFilter:d,onError:f=E=>{console.error(E)}}=r,h=zt(t),m=ph(h),g=(c?Il:Ne)(t),v=(o=r.serializer)!=null?o:mh[m];if(!n)try{n=dh("getDefaultStorage",()=>{var E;return(E=zr)==null?void 0:E.localStorage})()}catch(E){f(E)}function _(E){if(!(!n||E&&E.key!==e))try{const O=E?E.newValue:n.getItem(e);O==null?(g.value=h,l&&h!==null&&n.setItem(e,v.write(h))):typeof O!="string"?g.value=O:g.value=v.read(O)}catch(O){f(O)}}return _(),u&&a&&ch(u,"storage",E=>setTimeout(()=>_(E),0)),n&&ah(g,()=>{try{g.value==null?n.removeItem(e):n.setItem(e,v.write(g.value))}catch(E){f(E)}},{flush:i,deep:s,eventFilter:d}),g}function vh(e){return uh("(prefers-color-scheme: dark)",e)}var Ys,Zs;ir&&(window==null?void 0:window.navigator)&&((Ys=window==null?void 0:window.navigator)==null?void 0:Ys.platform)&&/iP(ad|hone|od)/.test((Zs=window==null?void 0:window.navigator)==null?void 0:Zs.platform);var gh=Object.defineProperty,Gs=Object.getOwnPropertySymbols,_h=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable,Xs=(e,t,n)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bh=(e,t)=>{for(var n in t||(t={}))_h.call(t,n)&&Xs(e,n,t[n]);if(Gs)for(var n of Gs(t))yh.call(t,n)&&Xs(e,n,t[n]);return e};const Eh={top:0,left:0,bottom:0,right:0,height:0,width:0};bh({text:""},Eh);const Hc=Symbol(""),z0=()=>{const e=je(Hc);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Oh=()=>{const e=$c(),t=vh(),n=hh("vuepress-color-scheme","auto"),r=Ee({get(){return e.value.darkMode?n.value==="auto"?t.value:n.value==="dark":!1},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});Bt(Hc,r),wh(r)},wh=e=>{const t=(n=e.value)=>{const r=window==null?void 0:window.document.querySelector("html");r==null||r.classList.toggle("dark",n)};at(()=>{et(e,t,{immediate:!0})}),Ai(()=>t())},Fc=(...e)=>{const n=oo().resolve(...e),r=n.matched[n.matched.length-1];if(!(r==null?void 0:r.redirect))return n;const{redirect:o}=r,i=oe(o)?o(n):o,s=me(i)?{path:i}:i;return Fc(Re({hash:n.hash,query:n.query,params:n.params},s))},Sh=e=>{const t=Fc(e);return{text:t.meta.title||e,link:t.name==="404"?e:t.fullPath}};let Eo=null,Sn=null;const Ph={wait:()=>Eo,pending:()=>{Eo=new Promise(e=>Sn=e)},resolve:()=>{Sn==null||Sn(),Eo=null,Sn=null}},Ch=()=>Ph,zc=Symbol("sidebarItems"),B0=()=>{const e=je(zc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},Ah=()=>{const e=$c(),t=vm(),n=Ee(()=>Ih(t.value,e.value));Bt(zc,n)},Ih=(e,t)=>{var n,r,o,i;const s=(r=(n=e.sidebar)!==null&&n!==void 0?n:t.sidebar)!==null&&r!==void 0?r:"auto",a=(i=(o=e.sidebarDepth)!==null&&o!==void 0?o:t.sidebarDepth)!==null&&i!==void 0?i:2;return e.home||s===!1?[]:s==="auto"?jh(a):G(s)?Bc(s,a):Dc(s)?Th(s,a):[]},xh=(e,t)=>({text:e.title,link:`#${e.slug}`,children:$i(e.children,t)}),$i=(e,t)=>t>0?e.map(n=>xh(n,t-1)):[],jh=e=>{const t=or();return[{text:t.value.title,children:$i(t.value.headers,e)}]},Bc=(e,t)=>{const n=Hi(),r=or(),o=i=>{var s;let a;if(me(i)?a=Sh(i):a=i,a.children)return At(Re({},a),{children:a.children.map(l=>o(l))});if(a.link===n.path){const l=((s=r.value.headers[0])===null||s===void 0?void 0:s.level)===1?r.value.headers[0].children:r.value.headers;return At(Re({},a),{children:$i(l,t)})}return a};return e.map(i=>o(i))},Th=(e,t)=>{var n;const r=Hi(),o=Rc(e,r.path),i=(n=e[o])!==null&&n!==void 0?n:[];return Bc(i,t)},$c=()=>Wm();var kh=yn(({app:e,router:t})=>{e.component("Badge",Ym),e.component("CodeGroup",Zm),e.component("CodeGroupItem",eh),e.component("NavbarSearch",()=>{const r=e.component("Docsearch")||e.component("SearchBox");return r?be(r):null});const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await Ch().wait(),n(...r))}),Dh=({app:e})=>{e.component("CustomComponentsDemo",ce(()=>re(()=>import("./CustomComponentsDemo.e6e0dc78.js"),["assets/CustomComponentsDemo.e6e0dc78.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DarkDemo",ce(()=>re(()=>import("./DarkDemo.dea8e553.js"),["assets/DarkDemo.dea8e553.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("Demo",ce(()=>re(()=>import("./Demo.51f1970e.js"),["assets/Demo.51f1970e.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DemoMarkers",ce(()=>re(()=>import("./DemoMarkers.ef846be7.js"),["assets/DemoMarkers.ef846be7.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DemoSlots",ce(()=>re(()=>import("./DemoSlots.2107dd76.js"),["assets/DemoSlots.2107dd76.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DisabledDatesDemo",ce(()=>re(()=>import("./DisabledDatesDemo.859658ae.js"),["assets/DisabledDatesDemo.859658ae.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("EmptyDemo",ce(()=>re(()=>import("./EmptyDemo.314dac38.js"),["assets/EmptyDemo.314dac38.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("FiltersDemo",ce(()=>re(()=>import("./FiltersDemo.e92c7f66.js"),["assets/FiltersDemo.e92c7f66.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("FormatDemo",ce(()=>re(()=>import("./FormatDemo.f1530b4e.js"),["assets/FormatDemo.f1530b4e.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("LocalizedOutput",ce(()=>re(()=>import("./LocalizedOutput.cd8b1ffc.js"),["assets/LocalizedOutput.cd8b1ffc.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/index.81427e26.js"]))),e.component("MinMaxDemo",ce(()=>re(()=>import("./MinMaxDemo.f68174f0.js"),["assets/MinMaxDemo.f68174f0.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("PresetRange",ce(()=>re(()=>import("./PresetRange.bbc2c59c.js"),["assets/PresetRange.bbc2c59c.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("PreviewFormatDemo",ce(()=>re(()=>import("./PreviewFormatDemo.ffcb3469.js"),["assets/PreviewFormatDemo.ffcb3469.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("RequiredDemo",ce(()=>re(()=>import("./RequiredDemo.e302d10c.js"),["assets/RequiredDemo.e302d10c.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/index.81427e26.js"]))),e.component("TextInputDemo",ce(()=>re(()=>import("./TextInputDemo.4dfdd665.js"),["assets/TextInputDemo.4dfdd665.js","assets/vue3-date-time-picker.esm.f6c600f4.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ActionRowCmp",ce(()=>re(()=>import("./ActionRowCmp.07ec064d.js"),["assets/ActionRowCmp.07ec064d.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ChevronLeftIcon",ce(()=>re(()=>import("./ChevronLeftIcon.d263a012.js"),["assets/ChevronLeftIcon.d263a012.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ChevronRightIcon",ce(()=>re(()=>import("./ChevronRightIcon.89bc751b.js"),["assets/ChevronRightIcon.89bc751b.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-MonthYearCmp",ce(()=>re(()=>import("./MonthYearCmp.230f9dab.js"),["assets/MonthYearCmp.230f9dab.js","assets/ChevronLeftIcon.d263a012.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/ChevronRightIcon.89bc751b.js"]))),e.component("customComponents-TimePickerCmp",ce(()=>re(()=>import("./TimePickerCmp.dd3f23ba.js"),["assets/TimePickerCmp.dd3f23ba.js","assets/plugin-vue_export-helper.21dcd24c.js"])))};const Rh=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",e)},Lh="G-MZXYGY1ZVV";var Nh=yn(()=>{Rh(Lh)});/*! @docsearch/js 3.0.0-alpha.42 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Qn(e){return Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qn(e)}function Mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(){return Jo=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Br(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(n)))){var o=[],i=!0,s=!1,a=void 0;try{for(var l,c=n[Symbol.iterator]();!(i=(l=c.next()).done)&&(o.push(l.value),!r||o.length!==r);i=!0);}catch(u){s=!0,a=u}finally{try{i||c.return==null||c.return()}finally{if(s)throw a}}return o}}(e,t)||Uc(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +See: https://github.com/francoischalifour/medium-zoom`)}},Rm=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},Lm=function(t){var n=t.getBoundingClientRect(),r=n.top,o=n.left,i=n.width,s=n.height,a=t.cloneNode(),l=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=r+l+"px",a.style.left=o+c+"px",a.style.width=i+"px",a.style.height=s+"px",a.style.transform="",a},Jt=function(t,n){var r=Lt({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,r);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,r.bubbles,r.cancelable,r.detail),o},Nm=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(A){function F(){}A(F,F)},o=function(A){var F=A.target;if(F===B){m();return}O.indexOf(F)!==-1&&g({target:F})},i=function(){if(!(I||!P.original)){var A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(L-A)>C.scrollOffset&&setTimeout(m,150)}},s=function(A){var F=A.key||A.keyCode;(F==="Escape"||F==="Esc"||F===27)&&m()},a=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A;if(A.background&&(B.style.background=A.background),A.container&&A.container instanceof Object&&(F.container=Lt({},C.container,A.container)),A.template){var Q=Or(A.template)?A.template:document.querySelector(A.template);F.template=Q}return C=Lt({},C,F),O.forEach(function(se){se.dispatchEvent(Jt("medium-zoom:update",{detail:{zoom:z}}))}),z},l=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Lt({},C,A))},c=function(){for(var A=arguments.length,F=Array(A),Q=0;Q0?F.reduce(function(W,ee){return[].concat(W,Js(ee))},[]):O;return se.forEach(function(W){W.classList.remove("medium-zoom-image"),W.dispatchEvent(Jt("medium-zoom:detach",{detail:{zoom:z}}))}),O=O.filter(function(W){return se.indexOf(W)===-1}),z},d=function(A,F){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O.forEach(function(se){se.addEventListener("medium-zoom:"+A,F,Q)}),S.push({type:"medium-zoom:"+A,listener:F,options:Q}),z},f=function(A,F){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O.forEach(function(se){se.removeEventListener("medium-zoom:"+A,F,Q)}),S=S.filter(function(se){return!(se.type==="medium-zoom:"+A&&se.listener.toString()===F.toString())}),z},h=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A.target,Q=function(){var W={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)W=Lt({},W,C.container),ee=W.width-W.left-W.right-C.margin*2,te=W.height-W.top-W.bottom-C.margin*2;else{var Oe=Or(C.container)?C.container:document.querySelector(C.container),Pe=Oe.getBoundingClientRect(),Ae=Pe.width,we=Pe.height,Te=Pe.left,ze=Pe.top;W=Lt({},W,{width:Ae,height:we,left:Te,top:ze})}ee=ee||W.width-C.margin*2,te=te||W.height-C.margin*2;var j=P.zoomedHd||P.original,U=Ws(j)?ee:j.naturalWidth||ee,N=Ws(j)?te:j.naturalHeight||te,q=j.getBoundingClientRect(),le=q.top,pe=q.left,re=q.width,X=q.height,p=Math.min(U,ee)/re,y=Math.min(N,te)/X,w=Math.min(p,y),x=(-pe+(ee-re)/2+C.margin+W.left)/w,T=(-le+(te-X)/2+C.margin+W.top)/w,k="scale("+w+") translate3d("+x+"px, "+T+"px, 0)";P.zoomed.style.transform=k,P.zoomedHd&&(P.zoomedHd.style.transform=k)};return new r(function(se){if(F&&O.indexOf(F)===-1){se(z);return}var W=function Ae(){I=!1,P.zoomed.removeEventListener("transitionend",Ae),P.original.dispatchEvent(Jt("medium-zoom:opened",{detail:{zoom:z}})),se(z)};if(P.zoomed){se(z);return}if(F)P.original=F;else if(O.length>0){var ee=O;P.original=ee[0]}else{se(z);return}if(P.original.dispatchEvent(Jt("medium-zoom:open",{detail:{zoom:z}})),L=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,I=!0,P.zoomed=Lm(P.original),document.body.appendChild(B),C.template){var te=Or(C.template)?C.template:document.querySelector(C.template);P.template=document.createElement("div"),P.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild(P.template)}if(document.body.appendChild(P.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),P.original.classList.add("medium-zoom-image--hidden"),P.zoomed.classList.add("medium-zoom-image--opened"),P.zoomed.addEventListener("click",m),P.zoomed.addEventListener("transitionend",W),P.original.getAttribute("data-zoom-src")){P.zoomedHd=P.zoomed.cloneNode(),P.zoomedHd.removeAttribute("srcset"),P.zoomedHd.removeAttribute("sizes"),P.zoomedHd.src=P.zoomed.getAttribute("data-zoom-src"),P.zoomedHd.onerror=function(){clearInterval(Oe),console.warn("Unable to reach the zoom image target "+P.zoomedHd.src),P.zoomedHd=null,Q()};var Oe=setInterval(function(){P.zoomedHd.complete&&(clearInterval(Oe),P.zoomedHd.classList.add("medium-zoom-image--opened"),P.zoomedHd.addEventListener("click",m),document.body.appendChild(P.zoomedHd),Q())},10)}else if(P.original.hasAttribute("srcset")){P.zoomedHd=P.zoomed.cloneNode(),P.zoomedHd.removeAttribute("sizes"),P.zoomedHd.removeAttribute("loading");var Pe=P.zoomedHd.addEventListener("load",function(){P.zoomedHd.removeEventListener("load",Pe),P.zoomedHd.classList.add("medium-zoom-image--opened"),P.zoomedHd.addEventListener("click",m),document.body.appendChild(P.zoomedHd),Q()})}else Q()})},m=function(){return new r(function(A){if(I||!P.original){A(z);return}var F=function Q(){P.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(P.zoomed),P.zoomedHd&&document.body.removeChild(P.zoomedHd),document.body.removeChild(B),P.zoomed.classList.remove("medium-zoom-image--opened"),P.template&&document.body.removeChild(P.template),I=!1,P.zoomed.removeEventListener("transitionend",Q),P.original.dispatchEvent(Jt("medium-zoom:closed",{detail:{zoom:z}})),P.original=null,P.zoomed=null,P.zoomedHd=null,P.template=null,A(z)};I=!0,document.body.classList.remove("medium-zoom--opened"),P.zoomed.style.transform="",P.zoomedHd&&(P.zoomedHd.style.transform=""),P.template&&(P.template.style.transition="opacity 150ms",P.template.style.opacity=0),P.original.dispatchEvent(Jt("medium-zoom:close",{detail:{zoom:z}})),P.zoomed.addEventListener("transitionend",F)})},g=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=A.target;return P.original?m():h({target:F})},v=function(){return C},_=function(){return O},E=function(){return P.original},O=[],S=[],I=!1,L=0,C=n,P={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?C=t:(t||typeof t=="string")&&c(t),C=Lt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var B=Rm(C.background);document.addEventListener("click",o),document.addEventListener("keyup",s),document.addEventListener("scroll",i),window.addEventListener("resize",m);var z={open:h,close:m,toggle:g,update:a,clone:l,attach:c,detach:u,on:d,off:f,getOptions:v,getImages:_,getZoomedImage:E};return z};function Mm(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document=="undefined")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Hm=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Mm(Hm);var Fm=Nm;const zm=Symbol("mediumZoom");const Bm=".theme-default-content > img, .theme-default-content :not(a) > img",$m={},Um=300;var qm=yn(({app:e,router:t})=>{const n=Fm($m);n.refresh=(r=Bm)=>{n.detach(),n.attach(r)},e.provide(zm,n),t.afterEach(()=>{setTimeout(()=>n.refresh(),Um)})});const Vm={logo:"/logo.png",contributors:!1,navbar:[{text:"Home",link:"/"},{text:"GitHub",link:"https://github.com/Vuepic/vue3-date-time-picker"},{text:"Changelog",link:"https://github.com/Vuepic/vue3-date-time-picker/releases"}],sidebar:[{text:"Getting Started",children:[{text:"Installation",link:"/installation/"}]},{text:"API",children:[{text:"Props",link:"/api/props/"},{text:"Slots",link:"/api/slots/"},{text:"Components",link:"/api/components/"},{text:"Events",link:"/api/events/"},{text:"Methods",link:"/api/methods/"}]},{text:"Customization",children:[{text:"Theming",link:"/customization/theming/"},{text:"Scss",link:"/customization/scss/"}]}],locales:{"/":{selectLanguageName:"English"}},darkMode:!0,repo:null,selectLanguageText:"Languages",selectLanguageAriaLabel:"Select language",sidebarDepth:2,editLink:!0,editLinkText:"Edit this page",lastUpdated:!0,lastUpdatedText:"Last Updated",contributorsText:"Contributors",notFound:["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],backToHome:"Take me home",openInNewWindow:"open in new window",toggleDarkMode:"toggle dark mode",toggleSidebar:"toggle sidebar"},Lc=Ne(Vm),Km=()=>Lc;Ki.webpackHot&&(__VUE_HMR_RUNTIME__.updateThemeData=e=>{Lc.value=e});const Nc=Symbol(""),Wm=()=>{const e=je(Nc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Jm=(e,t)=>{var n;return Re(Re({},e),(n=e.locales)===null||n===void 0?void 0:n[t])};var Qm=yn(({app:e})=>{const t=Km(),n=e._context.provides[Fi],r=Ee(()=>Jm(t.value,n.value));e.provide(Nc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})});const Ym=Ye({props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup(e){return(t,n)=>(eo(),tc("span",{class:mn(["badge",e.type]),style:er({verticalAlign:e.vertical})},[ic(t.$slots,"default",{},()=>[Ti(Nu(e.text),1)])],6))}});var Zm=Ye({name:"CodeGroup",setup(e,{slots:t}){const n=Ne(-1),r=Ne([]),o=(a=n.value)=>{a{a>0?n.value=a-1:n.value=r.value.length-1,r.value[n.value].focus()},s=(a,l)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=l):a.key==="ArrowRight"?(a.preventDefault(),o(l)):a.key==="ArrowLeft"&&(a.preventDefault(),i(l))};return()=>{var a;const l=(((a=t.default)===null||a===void 0?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return l.length===0?null:(n.value<0||n.value>l.length-1?(n.value=l.findIndex(c=>c.props.active===""||c.props.active===!0),n.value===-1&&(n.value=0)):l.forEach((c,u)=>{c.props.active=u===n.value}),be("div",{class:"code-group"},[be("div",{class:"code-group__nav"},be("ul",{class:"code-group__ul"},l.map((c,u)=>{const d=u===n.value;return be("li",{class:"code-group__li"},be("button",{ref:f=>{f&&(r.value[u]=f)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":d},ariaPressed:d,ariaExpanded:d,onClick:()=>n.value=u,onKeydown:f=>s(f,u)},c.props.title))}))),l]))}}});const Gm=["aria-selected"],Xm=Ye({name:"CodeGroupItem"}),eh=Ye(At(Re({},Xm),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(eo(),tc("div",{class:mn(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[ic(t.$slots,"default")],10,Gm))}}));function Mc(e){return Ku()?(Wu(e),!0):!1}const ir=typeof window!="undefined",th=e=>typeof e=="string",bo=()=>{};function nh(e,t){function n(...r){e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})}return n}const rh=e=>e();var Qs=Object.getOwnPropertySymbols,oh=Object.prototype.hasOwnProperty,ih=Object.prototype.propertyIsEnumerable,sh=(e,t)=>{var n={};for(var r in e)oh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qs)for(var r of Qs(e))t.indexOf(r)<0&&ih.call(e,r)&&(n[r]=e[r]);return n};function ah(e,t,n={}){const r=n,{eventFilter:o=rh}=r,i=sh(r,["eventFilter"]);return et(e,nh(o,t),i)}function lh(e,t=!0){Di()?at(e):t?e():Oi(e)}const zr=ir?window:void 0;ir&&window.document;ir&&window.navigator;ir&&window.location;function ch(...e){let t,n,r,o;if(th(e[0])?([n,r,o]=e,t=zr):[t,n,r,o]=e,!t)return bo;let i=bo;const s=et(()=>zt(t),l=>{i(),!!l&&(l.addEventListener(n,r,o),i=()=>{l.removeEventListener(n,r,o),i=bo})},{immediate:!0,flush:"post"}),a=()=>{s(),i()};return Mc(a),a}function uh(e,t={}){const{window:n=zr}=t;let r;const o=Ne(!1),i=()=>{!n||(r||(r=n.matchMedia(e)),o.value=r.matches)};return lh(()=>{i(),!!r&&("addEventListener"in r?r.addEventListener("change",i):r.addListener(i),Mc(()=>{"removeEventListener"in i?r.removeEventListener("change",i):r.removeListener(i)}))}),o}const Ko=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wo="__vueuse_ssr_handlers__";Ko[Wo]=Ko[Wo]||{};const fh=Ko[Wo];function dh(e,t){return fh[e]||t}function ph(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const mh={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))}};function hh(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,shallow:c,window:u=zr,eventFilter:d,onError:f=E=>{console.error(E)}}=r,h=zt(t),m=ph(h),g=(c?Il:Ne)(t),v=(o=r.serializer)!=null?o:mh[m];if(!n)try{n=dh("getDefaultStorage",()=>{var E;return(E=zr)==null?void 0:E.localStorage})()}catch(E){f(E)}function _(E){if(!(!n||E&&E.key!==e))try{const O=E?E.newValue:n.getItem(e);O==null?(g.value=h,l&&h!==null&&n.setItem(e,v.write(h))):typeof O!="string"?g.value=O:g.value=v.read(O)}catch(O){f(O)}}return _(),u&&a&&ch(u,"storage",E=>setTimeout(()=>_(E),0)),n&&ah(g,()=>{try{g.value==null?n.removeItem(e):n.setItem(e,v.write(g.value))}catch(E){f(E)}},{flush:i,deep:s,eventFilter:d}),g}function vh(e){return uh("(prefers-color-scheme: dark)",e)}var Ys,Zs;ir&&(window==null?void 0:window.navigator)&&((Ys=window==null?void 0:window.navigator)==null?void 0:Ys.platform)&&/iP(ad|hone|od)/.test((Zs=window==null?void 0:window.navigator)==null?void 0:Zs.platform);var gh=Object.defineProperty,Gs=Object.getOwnPropertySymbols,_h=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable,Xs=(e,t,n)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bh=(e,t)=>{for(var n in t||(t={}))_h.call(t,n)&&Xs(e,n,t[n]);if(Gs)for(var n of Gs(t))yh.call(t,n)&&Xs(e,n,t[n]);return e};const Eh={top:0,left:0,bottom:0,right:0,height:0,width:0};bh({text:""},Eh);const Hc=Symbol(""),z0=()=>{const e=je(Hc);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Oh=()=>{const e=$c(),t=vh(),n=hh("vuepress-color-scheme","auto"),r=Ee({get(){return e.value.darkMode?n.value==="auto"?t.value:n.value==="dark":!1},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});Bt(Hc,r),wh(r)},wh=e=>{const t=(n=e.value)=>{const r=window==null?void 0:window.document.querySelector("html");r==null||r.classList.toggle("dark",n)};at(()=>{et(e,t,{immediate:!0})}),Ai(()=>t())},Fc=(...e)=>{const n=oo().resolve(...e),r=n.matched[n.matched.length-1];if(!(r==null?void 0:r.redirect))return n;const{redirect:o}=r,i=oe(o)?o(n):o,s=me(i)?{path:i}:i;return Fc(Re({hash:n.hash,query:n.query,params:n.params},s))},Sh=e=>{const t=Fc(e);return{text:t.meta.title||e,link:t.name==="404"?e:t.fullPath}};let Eo=null,Sn=null;const Ph={wait:()=>Eo,pending:()=>{Eo=new Promise(e=>Sn=e)},resolve:()=>{Sn==null||Sn(),Eo=null,Sn=null}},Ch=()=>Ph,zc=Symbol("sidebarItems"),B0=()=>{const e=je(zc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},Ah=()=>{const e=$c(),t=vm(),n=Ee(()=>Ih(t.value,e.value));Bt(zc,n)},Ih=(e,t)=>{var n,r,o,i;const s=(r=(n=e.sidebar)!==null&&n!==void 0?n:t.sidebar)!==null&&r!==void 0?r:"auto",a=(i=(o=e.sidebarDepth)!==null&&o!==void 0?o:t.sidebarDepth)!==null&&i!==void 0?i:2;return e.home||s===!1?[]:s==="auto"?jh(a):G(s)?Bc(s,a):Dc(s)?Th(s,a):[]},xh=(e,t)=>({text:e.title,link:`#${e.slug}`,children:$i(e.children,t)}),$i=(e,t)=>t>0?e.map(n=>xh(n,t-1)):[],jh=e=>{const t=or();return[{text:t.value.title,children:$i(t.value.headers,e)}]},Bc=(e,t)=>{const n=Hi(),r=or(),o=i=>{var s;let a;if(me(i)?a=Sh(i):a=i,a.children)return At(Re({},a),{children:a.children.map(l=>o(l))});if(a.link===n.path){const l=((s=r.value.headers[0])===null||s===void 0?void 0:s.level)===1?r.value.headers[0].children:r.value.headers;return At(Re({},a),{children:$i(l,t)})}return a};return e.map(i=>o(i))},Th=(e,t)=>{var n;const r=Hi(),o=Rc(e,r.path),i=(n=e[o])!==null&&n!==void 0?n:[];return Bc(i,t)},$c=()=>Wm();var kh=yn(({app:e,router:t})=>{e.component("Badge",Ym),e.component("CodeGroup",Zm),e.component("CodeGroupItem",eh),e.component("NavbarSearch",()=>{const r=e.component("Docsearch")||e.component("SearchBox");return r?be(r):null});const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await Ch().wait(),n(...r))}),Dh=({app:e})=>{e.component("CustomComponentsDemo",ce(()=>ne(()=>import("./CustomComponentsDemo.16db53fd.js"),["assets/CustomComponentsDemo.16db53fd.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DarkDemo",ce(()=>ne(()=>import("./DarkDemo.729ef4f2.js"),["assets/DarkDemo.729ef4f2.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("Demo",ce(()=>ne(()=>import("./Demo.e8319be8.js"),["assets/Demo.e8319be8.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DemoMarkers",ce(()=>ne(()=>import("./DemoMarkers.3b5bf9fd.js"),["assets/DemoMarkers.3b5bf9fd.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DemoSlots",ce(()=>ne(()=>import("./DemoSlots.d0a31d94.js"),["assets/DemoSlots.d0a31d94.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DisabledDatesDemo",ce(()=>ne(()=>import("./DisabledDatesDemo.77c59ba6.js"),["assets/DisabledDatesDemo.77c59ba6.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("EmptyDemo",ce(()=>ne(()=>import("./EmptyDemo.5e042d8b.js"),["assets/EmptyDemo.5e042d8b.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("FiltersDemo",ce(()=>ne(()=>import("./FiltersDemo.84768818.js"),["assets/FiltersDemo.84768818.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("FormatDemo",ce(()=>ne(()=>import("./FormatDemo.86175ef4.js"),["assets/FormatDemo.86175ef4.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("LocalizedOutput",ce(()=>ne(()=>import("./LocalizedOutput.47ed9bce.js"),["assets/LocalizedOutput.47ed9bce.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/index.46473391.js"]))),e.component("MinMaxDemo",ce(()=>ne(()=>import("./MinMaxDemo.1529e32d.js"),["assets/MinMaxDemo.1529e32d.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("PresetRange",ce(()=>ne(()=>import("./PresetRange.6bbff610.js"),["assets/PresetRange.6bbff610.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("PreviewFormatDemo",ce(()=>ne(()=>import("./PreviewFormatDemo.e4f9a976.js"),["assets/PreviewFormatDemo.e4f9a976.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("RequiredDemo",ce(()=>ne(()=>import("./RequiredDemo.955c5dd4.js"),["assets/RequiredDemo.955c5dd4.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/index.46473391.js"]))),e.component("TextInputDemo",ce(()=>ne(()=>import("./TextInputDemo.2897a654.js"),["assets/TextInputDemo.2897a654.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("TimezoneDemo",ce(()=>ne(()=>import("./TimezoneDemo.aa5179a9.js"),["assets/TimezoneDemo.aa5179a9.js","assets/vue3-date-time-picker.esm.37fef68f.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ActionRowCmp",ce(()=>ne(()=>import("./ActionRowCmp.7ddd8168.js"),["assets/ActionRowCmp.7ddd8168.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ChevronLeftIcon",ce(()=>ne(()=>import("./ChevronLeftIcon.372fa3fd.js"),["assets/ChevronLeftIcon.372fa3fd.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-ChevronRightIcon",ce(()=>ne(()=>import("./ChevronRightIcon.eeabd44a.js"),["assets/ChevronRightIcon.eeabd44a.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("customComponents-MonthYearCmp",ce(()=>ne(()=>import("./MonthYearCmp.907d4806.js"),["assets/MonthYearCmp.907d4806.js","assets/ChevronLeftIcon.372fa3fd.js","assets/plugin-vue_export-helper.21dcd24c.js","assets/ChevronRightIcon.eeabd44a.js"]))),e.component("customComponents-TimePickerCmp",ce(()=>ne(()=>import("./TimePickerCmp.186b88a7.js"),["assets/TimePickerCmp.186b88a7.js","assets/plugin-vue_export-helper.21dcd24c.js"])))};const Rh=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",e)},Lh="G-MZXYGY1ZVV";var Nh=yn(()=>{Rh(Lh)});/*! @docsearch/js 3.0.0-alpha.42 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Qn(e){return Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qn(e)}function Mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(){return Jo=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Br(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(n)))){var o=[],i=!0,s=!1,a=void 0;try{for(var l,c=n[Symbol.iterator]();!(i=(l=c.next()).done)&&(o.push(l.value),!r||o.length!==r);i=!0);}catch(u){s=!0,a=u}finally{try{i||c.return==null||c.return()}finally{if(s)throw a}}return o}}(e,t)||Uc(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function $r(e){return function(t){if(Array.isArray(t))return Qo(t)}(e)||function(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}(e)||Uc(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Uc(e,t){if(e){if(typeof e=="string")return Qo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qo(e,t):void 0}}function Qo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3)for(n=[n],i=3;i0?Bn(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=n,h.__b=n.__b+1,(f=_[u])===null||f&&h.key==f.key&&h.type===f.type)_[u]=void 0;else for(d=0;d3)for(n=[n],i=3;i=n.__.length&&n.__.push({}),n.__[e]}function fa(e,t,n){var r=Gn(pn++,2);return r.t=e,r.__c||(r.__=[n?n(t):tu(void 0,t),function(o){var i=r.t(r.__[0],o);r.__[0]!==i&&(r.__=[i,r.__[1]],r.__c.setState({}))}],r.__c=Me),r.__}function da(e,t){var n=Gn(pn++,4);!Y.__s&&Vi(n.__H,t)&&(n.__=e,n.__H=t,Me.__h.push(n))}function wr(e,t){var n=Gn(pn++,7);return Vi(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Uh(){Zo.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Sr),e.__H.__h.forEach(Go),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}),Zo=[]}Y.__b=function(e){Me=null,sa&&sa(e)},Y.__r=function(e){aa&&aa(e),pn=0;var t=(Me=e.__c).__H;t&&(t.__h.forEach(Sr),t.__h.forEach(Go),t.__h=[])},Y.diffed=function(e){la&&la(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(Zo.push(t)!==1&&ia===Y.requestAnimationFrame||((ia=Y.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(i),pa&&cancelAnimationFrame(r),setTimeout(n)},i=setTimeout(o,100);pa&&(r=requestAnimationFrame(o))})(Uh)),Me=void 0},Y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Sr),n.__h=n.__h.filter(function(r){return!r.__||Go(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Y.__e(r,n.__v)}}),ca&&ca(e,t)},Y.unmount=function(e){ua&&ua(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Sr)}catch(n){Y.__e(n,t.__v)}};var pa=typeof requestAnimationFrame=="function";function Sr(e){var t=Me;typeof e.__c=="function"&&e.__c(),Me=t}function Go(e){var t=Me;e.__c=e.__(),Me=t}function Vi(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function tu(e,t){return typeof t=="function"?t(e):t}function nu(e,t){for(var n in t)e[n]=t[n];return e}function Xo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function ei(e){this.props=e}(ei.prototype=new it).isPureReactComponent=!0,ei.prototype.shouldComponentUpdate=function(e,t){return Xo(this.props,e)||Xo(this.state,t)};var ma=Y.__b;Y.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ma&&ma(e)};var qh=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ha=function(e,t){return e==null?null:dt(dt(e).map(t))},Vh={map:ha,forEach:ha,count:function(e){return e?dt(e).length:0},only:function(e){var t=dt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:dt},Kh=Y.__e;function Pr(){this.__u=0,this.t=null,this.__b=null}function ru(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function jn(){this.u=null,this.o=null}Y.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Kh(e,t,n)},(Pr.prototype=new it).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=ru(r.__v),i=!1,s=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(a):a())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){s(),n.__c&&n.__c()};var a=function(){if(!--r.__u){if(r.state.__e){var c=r.state.__e;r.__v.__k[0]=function d(f,h,m){return f&&(f.__v=null,f.__k=f.__k&&f.__k.map(function(g){return d(g,h,m)}),f.__c&&f.__c.__P===h&&(f.__e&&m.insertBefore(f.__e,f.__d),f.__c.__e=!0,f.__c.__P=m)),f}(c,c.__c.__P,c.__c.__O)}var u;for(r.setState({__e:r.__b=null});u=r.t.pop();)u.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},Pr.prototype.componentWillUnmount=function(){this.t=[]},Pr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function i(s,a,l){return s&&(s.__c&&s.__c.__H&&(s.__c.__H.__.forEach(function(c){typeof c.__c=="function"&&c.__c()}),s.__c.__H=null),(s=nu({},s)).__c!=null&&(s.__c.__P===l&&(s.__c.__P=a),s.__c=null),s.__k=s.__k&&s.__k.map(function(c){return i(c,a,l)})),s}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&ot(Ct,null,e.fallback);return o&&(o.__h=null),[ot(Ct,null,t.__e?null:e.children),o]};var va=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Zn(ot(Wh,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ou(e,t){return ot(Jh,{__v:e,i:t})}(jn.prototype=new it).__e=function(e){var t=this,n=ru(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),va(t,e,r)):o()};n?n(i):i()}},jn.prototype.render=function(e){this.u=null,this.o=new Map;var t=dt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},jn.prototype.componentDidUpdate=jn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){va(e,n,t)})};var iu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Qh=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Yh=function(e){return(typeof Symbol!="undefined"&&Qn(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function su(e,t,n){return t.__k==null&&(t.textContent=""),Zn(e,t),typeof n=="function"&&n(),e?e.__c:null}it.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(it.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ga=Y.event;function Zh(){}function Gh(){return this.cancelBubble}function Xh(){return this.defaultPrevented}Y.event=function(e){return ga&&(e=ga(e)),e.persist=Zh,e.isPropagationStopped=Gh,e.isDefaultPrevented=Xh,e.nativeEvent=e};var au,_a={configurable:!0,get:function(){return this.class}},ya=Y.vnode;Y.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var i=n[o];o==="value"&&"defaultValue"in n&&i==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&i===!0?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Yh(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():Qh.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():i===null&&(i=void 0),r[o]=i)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=dt(n.children).forEach(function(s){s.props.selected=r.value.indexOf(s.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=dt(n.children).forEach(function(s){s.props.selected=r.multiple?r.defaultValue.indexOf(s.props.value)!=-1:r.defaultValue==s.props.value})),e.props=r}t&&n.class!=n.className&&(_a.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",_a)),e.$$typeof=iu,ya&&ya(e)};var ba=Y.__r;Y.__r=function(e){ba&&ba(e),au=e.__c};var ev={ReactCurrentDispatcher:{current:{readContext:function(e){return au.__n[e.__c].props.value}}}};(typeof performance=="undefined"?"undefined":Qn(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function Ea(e){return!!e&&e.$$typeof===iu}var b={useState:function(e){return tn=1,fa(tu,e)},useReducer:fa,useEffect:function(e,t){var n=Gn(pn++,3);!Y.__s&&Vi(n.__H,t)&&(n.__=e,n.__H=t,Me.__H.__h.push(n))},useLayoutEffect:da,useRef:function(e){return tn=5,wr(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){tn=6,da(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:wr,useCallback:function(e,t){return tn=8,wr(function(){return e},t)},useContext:function(e){var t=Me.context[e.__c],n=Gn(pn++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(Me)),t.props.value):e.__},useDebugValue:function(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)},version:"16.8.0",Children:Vh,render:su,hydrate:function(e,t,n){return eu(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Zn(null,e),!0)},createPortal:ou,createElement:ot,createContext:function(e,t){var n={__c:t="__cC"+Vc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(Yo)},this.sub=function(s){o.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return ot.bind(null,e)},cloneElement:function(e){return Ea(e)?$h.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Ct,isValidElement:Ea,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:it,PureComponent:ei,memo:function(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:Xo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,ot(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=nu({},n);return delete o.ref,e(o,(r=n.ref||r)&&(Qn(r)!="object"||"current"in r)?r:null)}return t.$$typeof=qh,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Ct,Suspense:Pr,SuspenseList:jn,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return ot(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ev};function tv(){return b.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},b.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function lu(){return b.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},b.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var nv=["translations"];function ti(){return ti=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ov=b.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=rv(e,nv),i=r.buttonText,s=i===void 0?"Search":i,a=r.buttonAriaLabel,l=a===void 0?"Search":a,c=wr(function(){return typeof navigator!="undefined"?/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl":null},[]);return b.createElement("button",ti({type:"button",className:"DocSearch DocSearch-Button","aria-label":l},o,{ref:t}),b.createElement("span",{className:"DocSearch-Button-Container"},b.createElement(lu,null),b.createElement("span",{className:"DocSearch-Button-Placeholder"},s)),b.createElement("span",{className:"DocSearch-Button-Keys"},c!==null&&b.createElement(b.Fragment,null,b.createElement("span",{className:"DocSearch-Button-Key"},c==="Ctrl"?b.createElement(tv,null):c),b.createElement("span",{className:"DocSearch-Button-Key"},"K"))))});function Xn(e){return e.reduce(function(t,n){return t.concat(n)},[])}var iv=0;function ni(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}var sv=function(){},av=[{segment:"autocomplete-core",version:"1.5.0"}];function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cv(e,t,n){var r=t.initialState;return{getState:function(){return r},dispatch:function(o,i){var s=function(a){for(var l=1;l=n?r===null?null:0:o}function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dv(e,t){var n=[];return Promise.resolve(e(t)).then(function(r){return Promise.all(r.filter(function(o){return Boolean(o)}).map(function(o){if(o.sourceId,n.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));n.push(o.sourceId);var i=function(s){for(var a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ka,So,yr,Cn=null,Da=(ka=-1,So=-1,yr=void 0,function(e){var t=++ka;return Promise.resolve(e).then(function(n){return yr&&t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Av=["props","refresh","store"],Iv=["inputElement","formElement","panelElement"],xv=["inputElement"],jv=["inputElement","maxLength"],Tv=["item","source"];function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function De(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Dv(e){var t=e.props,n=e.refresh,r=e.store,o=An(e,Av);return{getEnvironmentProps:function(i){var s=i.inputElement,a=i.formElement,l=i.panelElement;return De({onTouchStart:function(c){r.getState().isOpen!==!1&&c.target!==s&&[a,l].some(function(u){return d=u,f=c.target,d===f||d.contains(f);var d,f})===!1&&r.dispatch("blur",null)},onTouchMove:function(c){r.getState().isOpen!==!1&&s===t.environment.document.activeElement&&c.target!==s&&s.blur()}},An(i,Iv))},getRootProps:function(i){return De({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},i)},getFormProps:function(i){return i.inputElement,De({action:"",noValidate:!0,role:"search",onSubmit:function(s){var a;s.preventDefault(),t.onSubmit(De({event:s,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(a=i.inputElement)===null||a===void 0||a.blur()},onReset:function(s){var a;s.preventDefault(),t.onReset(De({event:s,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(a=i.inputElement)===null||a===void 0||a.focus()}},An(i,xv))},getLabelProps:function(i){return De({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},i)},getInputProps:function(i){function s(h){(t.openOnFocus||Boolean(r.getState().query))&&en(De({event:h,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var a="ontouchstart"in t.environment,l=i||{},c=(l.inputElement,l.maxLength),u=c===void 0?512:c,d=An(l,jv),f=nn(r.getState());return De({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:f!=null&&f.itemUrl?"go":"search",spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(h){en(De({event:h,props:t,query:h.currentTarget.value.slice(0,u),refresh:n,store:r},o))},onKeyDown:function(h){(function(m){var g=m.event,v=m.props,_=m.refresh,E=m.store,O=Cv(m,Sv);if(g.key==="ArrowUp"||g.key==="ArrowDown"){var S=function(){var $=v.environment.document.getElementById("".concat(v.id,"-item-").concat(E.getState().activeItemId));$&&($.scrollIntoViewIfNeeded?$.scrollIntoViewIfNeeded(!1):$.scrollIntoView(!1))},I=function(){var $=nn(E.getState());if(E.getState().activeItemId!==null&&$){var A=$.item,F=$.itemInputValue,Q=$.itemUrl,se=$.source;se.onActive(Tt({event:g,item:A,itemInputValue:F,itemUrl:Q,refresh:_,source:se,state:E.getState()},O))}};g.preventDefault(),E.getState().isOpen===!1&&(v.openOnFocus||Boolean(E.getState().query))?en(Tt({event:g,props:v,query:E.getState().query,refresh:_,store:E},O)).then(function(){E.dispatch(g.key,{nextActiveItemId:v.defaultActiveItemId}),I(),setTimeout(S,0)}):(E.dispatch(g.key,{}),I(),S())}else if(g.key==="Escape")g.preventDefault(),E.dispatch(g.key,null);else if(g.key==="Enter"){if(E.getState().activeItemId===null||E.getState().collections.every(function($){return $.items.length===0}))return;g.preventDefault();var L=nn(E.getState()),C=L.item,P=L.itemInputValue,B=L.itemUrl,z=L.source;if(g.metaKey||g.ctrlKey)B!==void 0&&(z.onSelect(Tt({event:g,item:C,itemInputValue:P,itemUrl:B,refresh:_,source:z,state:E.getState()},O)),v.navigator.navigateNewTab({itemUrl:B,item:C,state:E.getState()}));else if(g.shiftKey)B!==void 0&&(z.onSelect(Tt({event:g,item:C,itemInputValue:P,itemUrl:B,refresh:_,source:z,state:E.getState()},O)),v.navigator.navigateNewWindow({itemUrl:B,item:C,state:E.getState()}));else if(!g.altKey){if(B!==void 0)return z.onSelect(Tt({event:g,item:C,itemInputValue:P,itemUrl:B,refresh:_,source:z,state:E.getState()},O)),void v.navigator.navigate({itemUrl:B,item:C,state:E.getState()});en(Tt({event:g,nextState:{isOpen:!1},props:v,query:P,refresh:_,store:E},O)).then(function(){z.onSelect(Tt({event:g,item:C,itemInputValue:P,itemUrl:B,refresh:_,source:z,state:E.getState()},O))})}}})(De({event:h,props:t,refresh:n,store:r},o))},onFocus:s,onBlur:function(){a||r.dispatch("blur",null)},onClick:function(h){i.inputElement!==t.environment.document.activeElement||r.getState().isOpen||s(h)}},d)},getPanelProps:function(i){return De({onMouseDown:function(s){s.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},i)},getListProps:function(i){return De({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},i)},getItemProps:function(i){var s=i.item,a=i.source,l=An(i,Tv);return De({id:"".concat(t.id,"-item-").concat(s.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===s.__autocomplete_id,onMouseMove:function(c){if(s.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",s.__autocomplete_id);var u=nn(r.getState());if(r.getState().activeItemId!==null&&u){var d=u.item,f=u.itemInputValue,h=u.itemUrl,m=u.source;m.onActive(De({event:c,item:d,itemInputValue:f,itemUrl:h,refresh:n,source:m,state:r.getState()},o))}}},onMouseDown:function(c){c.preventDefault()},onClick:function(c){var u=a.getItemInputValue({item:s,state:r.getState()}),d=a.getItemUrl({item:s,state:r.getState()});(d?Promise.resolve():en(De({event:c,nextState:{isOpen:!1},props:t,query:u,refresh:n,store:r},o))).then(function(){a.onSelect(De({event:c,item:s,itemInputValue:u,itemUrl:d,refresh:n,source:a,state:r.getState()},o))})}},l)}}}function Na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Rv(e){for(var t=1;t0},reshape:function(f){return f.sources}},a),{},{id:(c=a.id)!==null&&c!==void 0?c:"autocomplete-".concat(iv++),plugins:d,initialState:Qt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},a.initialState),onStateChange:function(f){var h;(h=a.onStateChange)===null||h===void 0||h.call(a,f),d.forEach(function(m){var g;return(g=m.onStateChange)===null||g===void 0?void 0:g.call(m,f)})},onSubmit:function(f){var h;(h=a.onSubmit)===null||h===void 0||h.call(a,f),d.forEach(function(m){var g;return(g=m.onSubmit)===null||g===void 0?void 0:g.call(m,f)})},onReset:function(f){var h;(h=a.onReset)===null||h===void 0||h.call(a,f),d.forEach(function(m){var g;return(g=m.onReset)===null||g===void 0?void 0:g.call(m,f)})},getSources:function(f){return Promise.all([].concat(mv(d.map(function(h){return h.getSources})),[a.getSources]).filter(Boolean).map(function(h){return dv(h,f)})).then(function(h){return Xn(h)}).then(function(h){return h.map(function(m){return Qt(Qt({},m),{},{onSelect:function(g){m.onSelect(g),l.forEach(function(v){var _;return(_=v.onSelect)===null||_===void 0?void 0:_.call(v,g)})},onActive:function(g){m.onActive(g),l.forEach(function(v){var _;return(_=v.onActive)===null||_===void 0?void 0:_.call(v,g)})}})})})},navigator:Qt({navigate:function(f){var h=f.itemUrl;u.location.assign(h)},navigateNewTab:function(f){var h=f.itemUrl,m=u.open(h,"_blank","noopener");m==null||m.focus()},navigateNewWindow:function(f){var h=f.itemUrl;u.open(h,"_blank","noopener")}},a.navigator)})}(e,t),r=cv(Mv,n,function(a){var l=a.prevState,c=a.state;n.onStateChange(kt({prevState:l,state:c,refresh:s},o))}),o=function(a){var l=a.store;return{setActiveItemId:function(c){l.dispatch("setActiveItemId",c)},setQuery:function(c){l.dispatch("setQuery",c)},setCollections:function(c){var u=0,d=c.map(function(f){return hr(hr({},f),{},{items:Xn(f.items).map(function(h){return hr(hr({},h),{},{__autocomplete_id:u++})})})});l.dispatch("setCollections",d)},setIsOpen:function(c){l.dispatch("setIsOpen",c)},setStatus:function(c){l.dispatch("setStatus",c)},setContext:function(c){l.dispatch("setContext",c)}}}({store:r}),i=Dv(kt({props:n,refresh:s,store:r},o));function s(){return en(kt({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:s,store:r},o))}return n.plugins.forEach(function(a){var l;return(l=a.subscribe)===null||l===void 0?void 0:l.call(a,kt(kt({},o),{},{refresh:s,onSelect:function(c){t.push({onSelect:c})},onActive:function(c){t.push({onActive:c})}}))}),function(a){var l,c=a.metadata,u=a.environment;if((l=u.navigator)===null||l===void 0?void 0:l.userAgent.includes("Algolia Crawler")){var d=u.document.createElement("meta"),f=u.document.querySelector("head");d.name="algolia:metadata",setTimeout(function(){d.content=JSON.stringify(c),f.appendChild(d)},0)}}({metadata:Lv({plugins:n.plugins,options:e}),environment:n.environment}),kt(kt({refresh:s},i),o)}function zv(e){var t=e.translations,n=(t===void 0?{}:t).searchByText,r=n===void 0?"Search by":n;return b.createElement("a",{href:"https://www.algolia.com/docsearch",target:"_blank",rel:"noopener noreferrer"},b.createElement("span",{className:"DocSearch-Label"},r),b.createElement("svg",{width:"77",height:"19"},b.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function br(e){return b.createElement("svg",{width:"15",height:"15"},b.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function Bv(e){var t=e.translations,n=t===void 0?{}:t,r=n.selectText,o=r===void 0?"to select":r,i=n.navigateText,s=i===void 0?"to navigate":i,a=n.closeText,l=a===void 0?"to close":a,c=n.searchByText,u=c===void 0?"Search by":c;return b.createElement(b.Fragment,null,b.createElement("div",{className:"DocSearch-Logo"},b.createElement(zv,{translations:{searchByText:u}})),b.createElement("ul",{className:"DocSearch-Commands"},b.createElement("li",null,b.createElement("span",{className:"DocSearch-Commands-Key"},b.createElement(br,null,b.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),b.createElement("span",{className:"DocSearch-Label"},o)),b.createElement("li",null,b.createElement("span",{className:"DocSearch-Commands-Key"},b.createElement(br,null,b.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),b.createElement("span",{className:"DocSearch-Commands-Key"},b.createElement(br,null,b.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),b.createElement("span",{className:"DocSearch-Label"},s)),b.createElement("li",null,b.createElement("span",{className:"DocSearch-Commands-Key"},b.createElement(br,null,b.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),b.createElement("span",{className:"DocSearch-Label"},l))))}function $v(e){var t=e.hit,n=e.children;return b.createElement("a",{href:t.url},n)}function Uv(){return b.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},b.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),b.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},b.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function qv(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),b.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ri(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Vv(){return b.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),b.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Kv=function(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Wv(e){switch(e.type){case"lvl1":return b.createElement(Kv,null);case"content":return b.createElement(Qv,null);default:return b.createElement(Jv,null)}}function Jv(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Qv(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function za(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Yv(){return b.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function Zv(){return b.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function Gv(e){var t=e.translations,n=t===void 0?{}:t,r=n.titleText,o=r===void 0?"Unable to fetch results":r,i=n.helpText,s=i===void 0?"You might want to check your network connection.":i;return b.createElement("div",{className:"DocSearch-ErrorScreen"},b.createElement("div",{className:"DocSearch-Screen-Icon"},b.createElement(Yv,null)),b.createElement("p",{className:"DocSearch-Title"},o),b.createElement("p",{className:"DocSearch-Help"},s))}var Xv=["translations"];function eg(e){return function(t){if(Array.isArray(t))return Po(t)}(e)||function(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return Po(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Po(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Po(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ng(e){var t=e.translations,n=t===void 0?{}:t,r=tg(e,Xv),o=n.noResultsText,i=o===void 0?"No results for":o,s=n.suggestedQueryText,a=s===void 0?"Try searching for":s,l=n.openIssueText,c=l===void 0?"Believe this query should return results?":l,u=n.openIssueLinkText,d=u===void 0?"Let us know":u,f=r.state.context.searchSuggestions;return b.createElement("div",{className:"DocSearch-NoResults"},b.createElement("div",{className:"DocSearch-Screen-Icon"},b.createElement(Zv,null)),b.createElement("p",{className:"DocSearch-Title"},i,' "',b.createElement("strong",null,r.state.query),'"'),f&&f.length>0&&b.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},b.createElement("p",{className:"DocSearch-Help"},a,":"),b.createElement("ul",null,f.slice(0,3).reduce(function(h,m){return[].concat(eg(h),[b.createElement("li",{key:m},b.createElement("button",{className:"DocSearch-Prefill",key:m,type:"button",onClick:function(){r.setQuery(m.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},m))])},[]))),b.createElement("p",{className:"DocSearch-Help"},"".concat(c," "),b.createElement("a",{href:"https://github.com/algolia/docsearch-configs/issues/new?template=Missing_results.md&title=[".concat(r.indexName,']+Missing+results+for+query+"').concat(r.state.query,'"'),target:"_blank",rel:"noopener noreferrer"},d),"."))}var rg=["hit","attribute","tagName"];function Ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ua(e,t){return t.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},e)}function Yt(e){var t=e.hit,n=e.attribute,r=e.tagName;return ot(r===void 0?"span":r,$a($a({},ig(e,rg)),{},{dangerouslySetInnerHTML:{__html:Ua(t,"_snippetResult.".concat(n,".value"))||Ua(t,n)}}))}function qa(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(n)))){var o=[],i=!0,s=!1,a=void 0;try{for(var l,c=n[Symbol.iterator]();!(i=(l=c.next()).done)&&(o.push(l.value),!r||o.length!==r);i=!0);}catch(u){s=!0,a=u}finally{try{i||c.return==null||c.return()}finally{if(s)throw a}}return o}}(e,t)||function(n,r){if(!!n){if(typeof n=="string")return Va(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Va(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Va(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n|<\/mark>)/g,lg=RegExp(fu.source);function du(e){var t,n,r,o,i,s=e;if(!s.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var a=((s.__docsearch_parent?(t=s.__docsearch_parent)===null||t===void 0||(n=t._highlightResult)===null||n===void 0||(r=n.hierarchy)===null||r===void 0?void 0:r.lvl0:(o=e._highlightResult)===null||o===void 0||(i=o.hierarchy)===null||i===void 0?void 0:i.lvl0)||{}).value;return a&&lg.test(a)?a.replace(fu,""):a}function ii(){return ii=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dg(e){var t=e.translations,n=t===void 0?{}:t,r=fg(e,ug),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,s=n.noRecentSearchesText,a=s===void 0?"No recent searches":s,l=n.saveRecentSearchButtonTitle,c=l===void 0?"Save this search":l,u=n.removeRecentSearchButtonTitle,d=u===void 0?"Remove this search from history":u,f=n.favoriteSearchesTitle,h=f===void 0?"Favorite":f,m=n.removeFavoriteSearchButtonTitle,g=m===void 0?"Remove this search from favorites":m;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:b.createElement("div",{className:"DocSearch-StartScreen"},b.createElement("p",{className:"DocSearch-Help"},a)):r.hasCollections===!1?null:b.createElement("div",{className:"DocSearch-Dropdown-Container"},b.createElement(oi,Kr({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(qv,null))},renderAction:function(v){var _=v.item,E=v.runFavoriteTransition,O=v.runDeleteTransition;return b.createElement(b.Fragment,null,b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:c,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),E(function(){r.favoriteSearches.add(_),r.recentSearches.remove(_),r.refresh()})}},b.createElement(za,null))),b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:d,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),O(function(){r.recentSearches.remove(_),r.refresh()})}},b.createElement(ri,null))))}})),b.createElement(oi,Kr({},r,{title:h,collection:r.state.collections[1],renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(za,null))},renderAction:function(v){var _=v.item,E=v.runDeleteTransition;return b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:g,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),E(function(){r.favoriteSearches.remove(_),r.refresh()})}},b.createElement(ri,null)))}})))}var pg=["translations"];function Wr(){return Wr=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var hg=b.memo(function(e){var t=e.translations,n=t===void 0?{}:t,r=mg(e,pg);if(r.state.status==="error")return b.createElement(Gv,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(i){return i.items.length>0});return r.state.query?o===!1?b.createElement(ng,Wr({},r,{translations:n==null?void 0:n.noResultsScreen})):b.createElement(cg,r):b.createElement(dg,Wr({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"}),vg=["translations"];function Jr(){return Jr=Object.assign||function(e){for(var t=1;t=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _g(e){var t=e.translations,n=t===void 0?{}:t,r=gg(e,vg),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,s=n.resetButtonAriaLabel,a=s===void 0?"Clear the query":s,l=n.cancelButtonText,c=l===void 0?"Cancel":l,u=n.cancelButtonAriaLabel,d=u===void 0?"Cancel":u,f=r.getFormProps({inputElement:r.inputRef.current}).onReset;return b.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),b.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),b.createElement(b.Fragment,null,b.createElement("form",{className:"DocSearch-Form",onSubmit:function(h){h.preventDefault()},onReset:f},b.createElement("label",Jr({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),b.createElement(lu,null)),b.createElement("div",{className:"DocSearch-LoadingIndicator"},b.createElement(Uv,null)),b.createElement("input",Jr({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),b.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":a,hidden:!r.state.query},b.createElement(ri,null))),b.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":d,onClick:r.onClose},c))}var yg=["_highlightResult","_snippetResult"];function bg(e,t){if(e==null)return{};var n,r,o=function(s,a){if(s==null)return{};var l,c,u={},d=Object.keys(s);for(c=0;c=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Eg(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function Ja(e){var t=e.key,n=e.limit,r=n===void 0?5:n,o=Eg(t),i=o.getItem().slice(0,r);return{add:function(s){var a=s,l=(a._highlightResult,a._snippetResult,bg(a,yg)),c=i.findIndex(function(u){return u.objectID===l.objectID});c>-1&&i.splice(c,1),i.unshift(l),i=i.slice(0,r),o.setItem(i)},remove:function(s){i=i.filter(function(a){return a.objectID!==s.objectID}),o.setItem(i)},getAll:function(){return i}}}var Og=["facetName","facetQuery"];function wg(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(i,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var l=JSON.stringify(i),c=o()[l];return Promise.all([c||s(),c!==void 0])}).then(function(l){var c=Br(l,2),u=c[0],d=c[1];return Promise.all([u,d||a.miss(u)])}).then(function(l){return Br(l,1)[0]})},set:function(i,s){return Promise.resolve().then(function(){var a=o();return a[JSON.stringify(i)]=s,r().setItem(n,JSON.stringify(a)),s})},delete:function(i){return Promise.resolve().then(function(){var s=o();delete s[JSON.stringify(i)],r().setItem(n,JSON.stringify(s))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function Tn(e){var t=$r(e.caches),n=t.shift();return n===void 0?{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(s){return Promise.all([s,i.miss(s)])}).then(function(s){return Br(s,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,i).catch(function(){return Tn({caches:t}).get(r,o,i)})},set:function(r,o){return n.set(r,o).catch(function(){return Tn({caches:t}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return Tn({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return Tn({caches:t}).clear()})}}}function Co(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var s=r(),a=o&&o.miss||function(){return Promise.resolve()};return s.then(function(l){return a(l)}).then(function(){return s})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Sg(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function pu(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function io(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var rn={Read:1,Write:2,Any:3},mu=1,Pg=2,hu=3;function vu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mu;return fe(fe({},e),{},{status:t,lastUpdate:Date.now()})}function gu(e){return typeof e=="string"?{protocol:"https",url:e,accept:rn.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||rn.Any}}var Ya="GET",so="POST";function Cg(e,t){return Promise.all(t.map(function(n){return e.get(n,function(){return Promise.resolve(vu(n))})})).then(function(n){var r=n.filter(function(s){return function(a){return a.status===mu||Date.now()-a.lastUpdate>12e4}(s)}),o=n.filter(function(s){return function(a){return a.status===hu&&Date.now()-a.lastUpdate<=12e4}(s)}),i=[].concat($r(r),$r(o));return{getTimeout:function(s,a){return(o.length===0&&s===0?1:o.length+3+s)*a},statelessHosts:i.length>0?i.map(function(s){return gu(s)}):t}})}function Za(e,t,n,r){var o=[],i=function(f,h){if(!(f.method===Ya||f.data===void 0&&h.data===void 0)){var m=Array.isArray(f.data)?f.data:fe(fe({},f.data),h.data);return JSON.stringify(m)}}(n,r),s=function(f,h){var m=fe(fe({},f.headers),h.headers),g={};return Object.keys(m).forEach(function(v){var _=m[v];g[v.toLowerCase()]=_}),g}(e,r),a=n.method,l=n.method!==Ya?{}:fe(fe({},n.data),r.data),c=fe(fe(fe({"x-algolia-agent":e.userAgent.value},e.queryParameters),l),r.queryParameters),u=0,d=function f(h,m){var g=h.pop();if(g===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:Ga(o)};var v={data:i,headers:s,method:a,url:Ig(g,n.path,c),connectTimeout:m(u,e.timeouts.connect),responseTimeout:m(u,r.timeout)},_=function(O){var S={request:v,response:O,host:g,triesLeft:h.length};return o.push(S),S},E={onSucess:function(O){return function(S){try{return JSON.parse(S.content)}catch(I){throw function(L,C){return{name:"DeserializationError",message:L,response:C}}(I.message,S)}}(O)},onRetry:function(O){var S=_(O);return O.isTimedOut&&u++,Promise.all([e.logger.info("Retryable failure",yu(S)),e.hostsCache.set(g,vu(g,O.isTimedOut?hu:Pg))]).then(function(){return f(h,m)})},onFail:function(O){throw _(O),function(S,I){var L=S.content,C=S.status,P=L;try{P=JSON.parse(L).message}catch{}return function(B,z,$){return{name:"ApiError",message:B,status:z,transporterStackTrace:$}}(P,C,I)}(O,Ga(o))}};return e.requester.send(v).then(function(O){return function(S,I){return function(L){var C=L.status;return L.isTimedOut||function(P){var B=P.isTimedOut,z=P.status;return!B&&~~z==0}(L)||~~(C/100)!=2&&~~(C/100)!=4}(S)?I.onRetry(S):~~(S.status/100)==2?I.onSucess(S):I.onFail(S)}(O,E)})};return Cg(e.hostsCache,t).then(function(f){return d($r(f.statelessHosts).reverse(),f.getTimeout)})}function Ag(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return t.value.indexOf(r)===-1&&(t.value="".concat(t.value).concat(r)),t}};return t}function Ig(e,t,n){var r=_u(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function _u(e){return Object.keys(e).map(function(t){return io("%s=%s",t,(n=e[t],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(e[t]):e[t]));var n}).join("&")}function Ga(e){return e.map(function(t){return yu(t)})}function yu(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return fe(fe({},e),{},{request:fe(fe({},e.request),{},{headers:fe(fe({},e.request.headers),t)})})}var xg=function(e){var t=e.appId,n=function(i,s,a){var l={"x-algolia-api-key":a,"x-algolia-application-id":s};return{headers:function(){return i===Cr.WithinHeaders?l:{}},queryParameters:function(){return i===Cr.WithinQueryParameters?l:{}}}}(e.authMode!==void 0?e.authMode:Cr.WithinHeaders,t,e.apiKey),r=function(i){var s=i.hostsCache,a=i.logger,l=i.requester,c=i.requestsCache,u=i.responsesCache,d=i.timeouts,f=i.userAgent,h=i.hosts,m=i.queryParameters,g={hostsCache:s,logger:a,requester:l,requestsCache:c,responsesCache:u,timeouts:d,userAgent:f,headers:i.headers,queryParameters:m,hosts:h.map(function(v){return gu(v)}),read:function(v,_){var E=Qa(_,g.timeouts.read),O=function(){return Za(g,g.hosts.filter(function(I){return(I.accept&rn.Read)!=0}),v,E)};if((E.cacheable!==void 0?E.cacheable:v.cacheable)!==!0)return O();var S={request:v,mappedRequestOptions:E,transporter:{queryParameters:g.queryParameters,headers:g.headers}};return g.responsesCache.get(S,function(){return g.requestsCache.get(S,function(){return g.requestsCache.set(S,O()).then(function(I){return Promise.all([g.requestsCache.delete(S),I])},function(I){return Promise.all([g.requestsCache.delete(S),Promise.reject(I)])}).then(function(I){var L=Br(I,2);return L[0],L[1]})})},{miss:function(I){return g.responsesCache.set(S,I)}})},write:function(v,_){return Za(g,g.hosts.filter(function(E){return(E.accept&rn.Write)!=0}),v,Qa(_,g.timeouts.write))}};return g}(fe(fe({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:rn.Read},{url:"".concat(t,".algolia.net"),accept:rn.Write}].concat(Sg([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:fe(fe(fe({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:fe(fe({},n.queryParameters()),e.queryParameters)})),o={transporter:r,appId:t,addAlgoliaAgent:function(i,s){r.userAgent.add({segment:i,version:s})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}};return pu(o,e.methods)},bu=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return pu(r,n.methods)}},Xa=function(e){return function(t,n){var r=t.map(function(o){return fe(fe({},o),{},{params:_u(o.params||{})})});return e.transporter.read({method:so,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},el=function(e){return function(t,n){return Promise.all(t.map(function(r){var o=r.params,i=o.facetName,s=o.facetQuery,a=Hh(o,Og);return bu(e)(r.indexName,{methods:{searchForFacetValues:Eu}}).searchForFacetValues(i,s,fe(fe({},n),a))}))}},jg=function(e){return function(t,n,r){return e.transporter.read({method:so,path:io("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},Tg=function(e){return function(t,n){return e.transporter.read({method:so,path:io("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},Eu=function(e){return function(t,n,r){return e.transporter.read({method:so,path:io("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},kg=1,Dg=2,Rg=3;function Ou(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(i){return new Promise(function(s){var a=new XMLHttpRequest;a.open(i.method,i.url,!0),Object.keys(i.headers).forEach(function(d){return a.setRequestHeader(d,i.headers[d])});var l,c=function(d,f){return setTimeout(function(){a.abort(),s({status:0,content:f,isTimedOut:!0})},1e3*d)},u=c(i.connectTimeout,"Connection timeout");a.onreadystatechange=function(){a.readyState>a.OPENED&&l===void 0&&(clearTimeout(u),l=c(i.responseTimeout,"Socket timeout"))},a.onerror=function(){a.status===0&&(clearTimeout(u),clearTimeout(l),s({content:a.responseText||"Network request failed",status:a.status,isTimedOut:!1}))},a.onload=function(){clearTimeout(u),clearTimeout(l),s({content:a.responseText,status:a.status,isTimedOut:!1})},a.send(i.data)})}},logger:(r=Rg,{debug:function(i,s){return kg>=r&&console.debug(i,s),Promise.resolve()},info:function(i,s){return Dg>=r&&console.info(i,s),Promise.resolve()},error:function(i,s){return console.error(i,s),Promise.resolve()}}),responsesCache:Co(),requestsCache:Co({serializable:!1}),hostsCache:Tn({caches:[wg({key:"".concat("4.8.5","-").concat(e)}),Co()]}),userAgent:Ag("4.8.5").add({segment:"Browser",version:"lite"}),authMode:Cr.WithinQueryParameters};return xg(fe(fe(fe({},o),n),{},{methods:{search:Xa,searchForFacetValues:el,multipleQueries:Xa,multipleSearchForFacetValues:el,initIndex:function(i){return function(s){return bu(i)(s,{methods:{search:Tg,searchForFacetValues:Eu,findAnswers:jg}})}}}}))}Ou.version="4.8.5";var Lg=["footer","searchBox"];function $n(){return $n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fg(e){var t=e.appId,n=t===void 0?"BH4D9OD16A":t,r=e.apiKey,o=e.indexName,i=e.placeholder,s=i===void 0?"Search docs":i,a=e.searchParameters,l=e.onClose,c=l===void 0?ag:l,u=e.transformItems,d=u===void 0?Wa:u,f=e.hitComponent,h=f===void 0?$v:f,m=e.resultsFooterComponent,g=m===void 0?function(){return null}:m,v=e.navigator,_=e.initialScrollY,E=_===void 0?0:_,O=e.transformSearchClient,S=O===void 0?Wa:O,I=e.disableUserPersonalization,L=I!==void 0&&I,C=e.initialQuery,P=C===void 0?"":C,B=e.translations,z=B===void 0?{}:B,$=z.footer,A=z.searchBox,F=Hg(z,Lg),Q=Mg(b.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),se=Q[0],W=Q[1],ee=b.useRef(null),te=b.useRef(null),Oe=b.useRef(null),Pe=b.useRef(null),Ae=b.useRef(null),we=b.useRef(10),Te=b.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,ze=b.useRef(P||Te).current,j=function(p,y,w){return b.useMemo(function(){var x=Ou(p,y);return x.addAlgoliaAgent("docsearch","3.0.0-alpha.42"),/docsearch.js \(.*\)/.test(x.transporter.userAgent.value)===!1&&x.addAlgoliaAgent("docsearch-react","3.0.0-alpha.42"),w(x)},[p,y,w])}(n,r,S),U=b.useRef(Ja({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,N=b.useRef(Ja({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:U.getAll().length===0?7:4})).current,q=b.useCallback(function(p){if(!L){var y=p.type==="content"?p.__docsearch_parent:p;y&&U.getAll().findIndex(function(w){return w.objectID===y.objectID})===-1&&N.add(y)}},[U,N,L]),le=b.useMemo(function(){return Fv({id:"docsearch",defaultActiveItemId:0,placeholder:s,openOnFocus:!0,initialState:{query:ze,context:{searchSuggestions:[]}},navigator:v,onStateChange:function(p){W(p.state)},getSources:function(p){var y=p.query,w=p.state,x=p.setContext,T=p.setStatus;return y?j.search([{query:y,indexName:o,params:Ao({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(we.current),"hierarchy.lvl2:".concat(we.current),"hierarchy.lvl3:".concat(we.current),"hierarchy.lvl4:".concat(we.current),"hierarchy.lvl5:".concat(we.current),"hierarchy.lvl6:".concat(we.current),"content:".concat(we.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20},a)}]).catch(function(k){throw k.name==="RetryError"&&T("error"),k}).then(function(k){var M=k.results[0],D=M.hits,H=M.nbHits,R=Ka(D,function(J){return du(J)});return w.context.searchSuggestions.length0&&(X(),Ae.current&&Ae.current.focus())},[ze,X]),b.useEffect(function(){function p(){if(te.current){var y=.01*window.innerHeight;te.current.style.setProperty("--docsearch-vh","".concat(y,"px"))}}return p(),window.addEventListener("resize",p),function(){window.removeEventListener("resize",p)}},[]),b.createElement("div",$n({ref:ee},ne({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",se.status==="stalled"&&"DocSearch-Container--Stalled",se.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(p){p.target===p.currentTarget&&c()}}),b.createElement("div",{className:"DocSearch-Modal",ref:te},b.createElement("header",{className:"DocSearch-SearchBar",ref:Oe},b.createElement(_g,$n({},le,{state:se,autoFocus:ze.length===0,inputRef:Ae,isFromSelection:Boolean(ze)&&ze===Te,translations:A,onClose:c}))),b.createElement("div",{className:"DocSearch-Dropdown",ref:Pe},b.createElement(hg,$n({},le,{indexName:o,state:se,hitComponent:h,resultsFooterComponent:g,disableUserPersonalization:L,recentSearches:N,favoriteSearches:U,inputRef:Ae,translations:F,onItemClick:function(p){q(p),c()}}))),b.createElement("footer",{className:"DocSearch-Footer"},b.createElement(Bv,{translations:$}))))}function si(){return si=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[l]=s[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fg(e){var t=e.appId,n=t===void 0?"BH4D9OD16A":t,r=e.apiKey,o=e.indexName,i=e.placeholder,s=i===void 0?"Search docs":i,a=e.searchParameters,l=e.onClose,c=l===void 0?ag:l,u=e.transformItems,d=u===void 0?Wa:u,f=e.hitComponent,h=f===void 0?$v:f,m=e.resultsFooterComponent,g=m===void 0?function(){return null}:m,v=e.navigator,_=e.initialScrollY,E=_===void 0?0:_,O=e.transformSearchClient,S=O===void 0?Wa:O,I=e.disableUserPersonalization,L=I!==void 0&&I,C=e.initialQuery,P=C===void 0?"":C,B=e.translations,z=B===void 0?{}:B,$=z.footer,A=z.searchBox,F=Hg(z,Lg),Q=Mg(b.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),se=Q[0],W=Q[1],ee=b.useRef(null),te=b.useRef(null),Oe=b.useRef(null),Pe=b.useRef(null),Ae=b.useRef(null),we=b.useRef(10),Te=b.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,ze=b.useRef(P||Te).current,j=function(p,y,w){return b.useMemo(function(){var x=Ou(p,y);return x.addAlgoliaAgent("docsearch","3.0.0-alpha.42"),/docsearch.js \(.*\)/.test(x.transporter.userAgent.value)===!1&&x.addAlgoliaAgent("docsearch-react","3.0.0-alpha.42"),w(x)},[p,y,w])}(n,r,S),U=b.useRef(Ja({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,N=b.useRef(Ja({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:U.getAll().length===0?7:4})).current,q=b.useCallback(function(p){if(!L){var y=p.type==="content"?p.__docsearch_parent:p;y&&U.getAll().findIndex(function(w){return w.objectID===y.objectID})===-1&&N.add(y)}},[U,N,L]),le=b.useMemo(function(){return Fv({id:"docsearch",defaultActiveItemId:0,placeholder:s,openOnFocus:!0,initialState:{query:ze,context:{searchSuggestions:[]}},navigator:v,onStateChange:function(p){W(p.state)},getSources:function(p){var y=p.query,w=p.state,x=p.setContext,T=p.setStatus;return y?j.search([{query:y,indexName:o,params:Ao({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(we.current),"hierarchy.lvl2:".concat(we.current),"hierarchy.lvl3:".concat(we.current),"hierarchy.lvl4:".concat(we.current),"hierarchy.lvl5:".concat(we.current),"hierarchy.lvl6:".concat(we.current),"content:".concat(we.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20},a)}]).catch(function(k){throw k.name==="RetryError"&&T("error"),k}).then(function(k){var M=k.results[0],D=M.hits,H=M.nbHits,R=Ka(D,function(J){return du(J)});return w.context.searchSuggestions.length0&&(X(),Ae.current&&Ae.current.focus())},[ze,X]),b.useEffect(function(){function p(){if(te.current){var y=.01*window.innerHeight;te.current.style.setProperty("--docsearch-vh","".concat(y,"px"))}}return p(),window.addEventListener("resize",p),function(){window.removeEventListener("resize",p)}},[]),b.createElement("div",$n({ref:ee},re({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",se.status==="stalled"&&"DocSearch-Container--Stalled",se.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(p){p.target===p.currentTarget&&c()}}),b.createElement("div",{className:"DocSearch-Modal",ref:te},b.createElement("header",{className:"DocSearch-SearchBar",ref:Oe},b.createElement(_g,$n({},le,{state:se,autoFocus:ze.length===0,inputRef:Ae,isFromSelection:Boolean(ze)&&ze===Te,translations:A,onClose:c}))),b.createElement("div",{className:"DocSearch-Dropdown",ref:Pe},b.createElement(hg,$n({},le,{indexName:o,state:se,hitComponent:h,resultsFooterComponent:g,disableUserPersonalization:L,recentSearches:N,favoriteSearches:U,inputRef:Ae,translations:F,onItemClick:function(p){q(p),c()}}))),b.createElement("footer",{className:"DocSearch-Footer"},b.createElement(Bv,{translations:$}))))}function si(){return si=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}var wu,ai,Su,$g=[];function Ug(e,t,n){var r,o,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?wu.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return qg(e,s,r,o,null)}function qg(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++Su:o};return o==null&&ai.vnode!=null&&ai.vnode(i),i}wu=$g.slice,ai={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&r.getDerivedStateFromError!=null&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(i){e=i}throw e}},Su=0,typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());const Vg=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,Kg=()=>{const e=oo(),t=Tc();return{transformItems:n=>n.map(r=>At(Re({},r),{url:Am(r.url,t.value.base)})),hitComponent:({hit:n,children:r})=>Ug("a",{href:n.url,onClick:o=>{Vg(o)||(o.preventDefault(),e.push(n.url))}},r),navigator:{navigate:({itemUrl:n})=>{e.push(n)}}}};const Wg=Ye({name:"Docsearch",props:{options:{type:Object,required:!0}},setup(e){const t=jc(),n=xc(),r=Kg(),o=Ee(()=>{var a;return Re(Re({},e.options),(a=e.options.locales)===null||a===void 0?void 0:a[t.value])}),i=[],s=()=>{var a,l;const c=(l=(a=o.value.searchParameters)===null||a===void 0?void 0:a.facetFilters)!==null&&l!==void 0?l:[];i.splice(0,i.length,`lang:${n.value}`,...G(c)?c:[c]),Bg(At(Re(Re({},r),o.value),{container:"#docsearch-container",searchParameters:At(Re({},o.value.searchParameters),{facetFilters:i})}))};return at(()=>{s(),et([t,o],([a,l],[c,u])=>{a!==c&&JSON.stringify(l)!==JSON.stringify(u)&&s()}),et(n,(a,l)=>{if(a!==l){const c=i.findIndex(u=>u===`lang:${l}`);c>-1&&i.splice(c,1,`lang:${a}`)}})}),()=>be("div",{id:"docsearch-container"})}}),Jg={apiKey:"43f53c241d1cfae00618363083251da3",indexName:"vue3-date-time-picker",locales:{"/":{placeholder:"Search"}}};var Qg=yn(({app:e})=>{e.component("Docsearch",()=>be(Wg,{options:Jg}))});const Yg=[km,qm,Qm,kh,Dh,Nh,Qg];function Pu(e,t,n){var r,o,i;t===void 0&&(t=50),n===void 0&&(n={});var s=(r=n.isImmediate)!=null&&r,a=(o=n.callback)!=null&&o,l=n.maxWait,c=Date.now(),u=[];function d(){if(l!==void 0){var h=Date.now()-c;if(h+t>=l)return l-h}return t}var f=function(){var h=[].slice.call(arguments),m=this;return new Promise(function(g,v){var _=s&&i===void 0;if(i!==void 0&&clearTimeout(i),i=setTimeout(function(){if(i=void 0,c=Date.now(),!s){var O=e.apply(m,h);a&&a(O),u.forEach(function(S){return(0,S.resolve)(O)}),u=[]}},d()),_){var E=e.apply(m,h);return a&&a(E),g(E)}u.push({resolve:g,reject:v})})};return f.cancel=function(h){i!==void 0&&clearTimeout(i),u.forEach(function(m){return(0,m.reject)(h)}),u=[]},f}const il=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Zg=()=>window.scrollTo({top:0,behavior:"smooth"});const Gg=Ye({name:"BackToTop",setup(){const e=Ne(0),t=Ee(()=>e.value>300),n=Pu(()=>{e.value=il()},100);at(()=>{e.value=il(),window.addEventListener("scroll",()=>n())});const r=be("div",{class:"back-to-top",onClick:Zg});return()=>be(Li,{name:"back-to-top"},{default:()=>t.value?r:null})}}),Xg=[Gg],e0=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=oo(),i=or(),a=Pu(()=>{var l,c,u,d;const f=Array.from(document.querySelectorAll(e)),m=Array.from(document.querySelectorAll(t)).filter(O=>f.some(S=>S.hash===O.hash)),g=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),v=window.innerHeight+g,_=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),E=Math.abs(_-v)=((c=(l=S.parentElement)===null||l===void 0?void 0:l.offsetTop)!==null&&c!==void 0?c:0)-r,P=!I||g<((d=(u=I.parentElement)===null||u===void 0?void 0:u.offsetTop)!==null&&d!==void 0?d:0)-r;if(!(L||C&&P))continue;const z=decodeURIComponent(o.currentRoute.value.hash),$=decodeURIComponent(S.hash);if(z===$)return;if(E){for(let A=O+1;A{a(),window.addEventListener("scroll",a)}),Ci(()=>{window.removeEventListener("scroll",a)}),et(()=>i.value.path,a)},t0=async(e,...t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace(...t).finally(()=>e.options.scrollBehavior=n)},n0="a.sidebar-item",r0=".header-anchor",o0=300,i0=5;var s0=Bi(()=>{e0({headerLinkSelector:n0,headerAnchorSelector:r0,delay:o0,offset:i0})}),a0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ar={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(a0,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(m){var g,v;for(g in m)v=m[g],v!==void 0&&m.hasOwnProperty(g)&&(r[g]=v);return this},n.status=null,n.set=function(m){var g=n.isStarted();m=o(m,r.minimum,1),n.status=m===1?null:m;var v=n.render(!g),_=v.querySelector(r.barSelector),E=r.speed,O=r.easing;return v.offsetWidth,a(function(S){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(_,s(m,E,O)),m===1?(l(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){l(v,{transition:"all "+E+"ms linear",opacity:0}),setTimeout(function(){n.remove(),S()},E)},E)):setTimeout(S,E)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var m=function(){setTimeout(function(){!n.status||(n.trickle(),m())},r.trickleSpeed)};return r.trickle&&m(),this},n.done=function(m){return!m&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(m){var g=n.status;return g?(typeof m!="number"&&(m=(1-g)*o(Math.random()*g,.1,.95)),g=o(g+m,0,.994),n.set(g)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var m=0,g=0;n.promise=function(v){return!v||v.state()==="resolved"?this:(g===0&&n.start(),m++,g++,v.always(function(){g--,g===0?(m=0,n.done()):n.set((m-g)/m)}),this)}}(),n.render=function(m){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var g=document.createElement("div");g.id="nprogress",g.innerHTML=r.template;var v=g.querySelector(r.barSelector),_=m?"-100":i(n.status||0),E=document.querySelector(r.parent),O;return l(v,{transition:"all 0 linear",transform:"translate3d("+_+"%,0,0)"}),r.showSpinner||(O=g.querySelector(r.spinnerSelector),O&&h(O)),E!=document.body&&u(E,"nprogress-custom-parent"),E.appendChild(g),g},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&h(m)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var m=document.body.style,g="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return g+"Perspective"in m?"translate3d":g+"Transform"in m?"translate":"margin"};function o(m,g,v){return mv?v:m}function i(m){return(-1+m)*100}function s(m,g,v){var _;return r.positionUsing==="translate3d"?_={transform:"translate3d("+i(m)+"%,0,0)"}:r.positionUsing==="translate"?_={transform:"translate("+i(m)+"%,0)"}:_={"margin-left":i(m)+"%"},_.transition="all "+g+"ms "+v,_}var a=function(){var m=[];function g(){var v=m.shift();v&&v(g)}return function(v){m.push(v),m.length==1&&g()}}(),l=function(){var m=["Webkit","O","Moz","ms"],g={};function v(S){return S.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(I,L){return L.toUpperCase()})}function _(S){var I=document.body.style;if(S in I)return S;for(var L=m.length,C=S.charAt(0).toUpperCase()+S.slice(1),P;L--;)if(P=m[L]+C,P in I)return P;return S}function E(S){return S=v(S),g[S]||(g[S]=_(S))}function O(S,I,L){I=E(I),S.style[I]=L}return function(S,I){var L=arguments,C,P;if(L.length==2)for(C in I)P=I[C],P!==void 0&&I.hasOwnProperty(C)&&O(S,C,P);else O(S,L[1],L[2])}}();function c(m,g){var v=typeof m=="string"?m:f(m);return v.indexOf(" "+g+" ")>=0}function u(m,g){var v=f(m),_=v+g;c(v,g)||(m.className=_.substring(1))}function d(m,g){var v=f(m),_;!c(m,g)||(_=v.replace(" "+g+" "," "),m.className=_.substring(1,_.length-1))}function f(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function h(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return n})})(Ar);const l0=()=>{at(()=>{const e=oo(),t=new Set;t.add(e.currentRoute.value.path),Ar.exports.configure({showSpinner:!1}),e.beforeEach(n=>{t.has(n.path)||Ar.exports.start()}),e.afterEach(n=>{t.add(n.path),Ar.exports.done()})})};var c0=Bi(()=>{l0()}),u0=Bi(()=>{Oh(),Ah()});const f0=[s0,c0,u0],d0=[["v-8daa1a0e","/",{title:"Vue 3 Datepicker"},["/index.html","/README.md"]],["v-08a5d2dc","/installation/",{title:"Installation"},["/installation/index.html","/installation/README.md"]],["v-9014096a","/api/components/",{title:"Components"},["/api/components/index.html","/api/components/README.md"]],["v-0dd9e6a8","/api/events/",{title:"Events"},["/api/events/index.html","/api/events/README.md"]],["v-fb37d6ea","/api/methods/",{title:"Methods"},["/api/methods/index.html","/api/methods/README.md"]],["v-55146a0d","/api/props/",{title:"Props"},["/api/props/index.html","/api/props/README.md"]],["v-59de75e8","/api/slots/",{title:"Slots"},["/api/slots/index.html","/api/slots/README.md"]],["v-d446beac","/customization/scss/",{title:"SCSS"},["/customization/scss/index.html","/customization/scss/README.md"]],["v-241ec4c4","/customization/theming/",{title:"Theming"},["/customization/theming/index.html","/customization/theming/README.md"]],["v-3706649a","/404.html",{title:""},["/404"]]],p0=d0.reduce((e,[t,n,r,o])=>(e.push({name:t,path:n,component:Ks,meta:r},...o.map(i=>({path:i,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:Ks}]),m0=Ap,h0=()=>{const e=um({history:m0(Pm(Ot.value.base)),routes:p0,scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var r;(t.path!==n.path||n===lt)&&([ut.value]=await Promise.all([Rt.resolvePageData(t.name),(r=wc[t.name])===null||r===void 0?void 0:r.__asyncLoader()]))}),e},v0=e=>{e.component("ClientOnly",dm),e.component("Content",zi)},g0=(e,t)=>{const n=Ee(()=>Rt.resolveRouteLocale(Ot.value.locales,t.currentRoute.value.path)),r=Ee(()=>Rt.resolveSiteLocaleData(Ot.value,n.value)),o=Ee(()=>Rt.resolvePageFrontmatter(ut.value)),i=Ee(()=>Rt.resolvePageHeadTitle(ut.value,r.value)),s=Ee(()=>Rt.resolvePageHead(i.value,o.value,r.value)),a=Ee(()=>Rt.resolvePageLang(ut.value));return e.provide(Fi,n),e.provide(kc,r),e.provide(Cc,o),e.provide(_m,i),e.provide(Ac,s),e.provide(Ic,a),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>o.value},$head:{get:()=>s.value},$headTitle:{get:()=>i.value},$lang:{get:()=>a.value},$page:{get:()=>ut.value},$routeLocale:{get:()=>n.value},$site:{get:()=>Ot.value},$siteLocale:{get:()=>r.value},$withBase:{get:()=>Im}}),{pageData:ut,pageFrontmatter:o,pageHead:s,pageHeadTitle:i,pageLang:a,routeLocale:n,siteData:Ot,siteLocaleData:r}},_0=()=>{const e=Hi(),t=gm(),n=xc(),r=Ne([]),o=()=>{t.value.forEach(s=>{const a=y0(s);a&&r.value.push(a)})},i=()=>{document.documentElement.lang=n.value,r.value.forEach(s=>{s.parentNode===document.head&&document.head.removeChild(s)}),r.value.splice(0,r.value.length),t.value.forEach(s=>{const a=b0(s);a!==null&&(document.head.appendChild(a),r.value.push(a))})};Bt(bm,i),at(()=>{o(),i(),et(()=>e.path,()=>i())})},y0=([e,t,n=""])=>{const r=Object.entries(t).map(([a,l])=>me(l)?`[${a}="${l}"]`:l===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},b0=([e,t,n])=>{if(!me(e))return null;const r=document.createElement(e);return Dc(t)&&Object.entries(t).forEach(([o,i])=>{me(i)?r.setAttribute(o,i):i===!0&&r.setAttribute(o,"")}),me(n)&&r.appendChild(document.createTextNode(n)),r},E0=ap,O0=async()=>{const e=E0({name:"VuepressApp",setup(){_0();for(const n of f0)n();return()=>[be(Oc),...Xg.map(n=>be(n))]}}),t=h0();v0(e),g0(e,t);for(const n of Yg)await n({app:e,router:t,siteData:Ot});return e.use(t),{app:e,router:t}};O0().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{F0 as $,er as A,Ti as B,Kf as C,k0 as D,Ed as E,Fe as F,gn as G,Ai as H,I0 as I,Bt as J,xe as K,A0 as L,S0 as M,bd as N,Ku as O,Wu as P,x0 as Q,jc as R,$c as S,Li as T,vm as U,G as V,Hi as W,P0 as X,Sm as Y,H0 as Z,re as _,Se as a,Tc as a0,M0 as a1,be as a2,Im as a3,dm as a4,C0 as a5,N0 as a6,Cm as a7,Pm as a8,oo as a9,me as aa,Sh as ab,or as ac,B0 as ad,Dc as ae,Ch as af,oc as b,tc as c,O0 as createVueApp,ce as d,Ye as e,Ne as f,D0 as g,Ee as h,j0 as i,ic as j,zt as k,nc as l,R0 as m,mn as n,eo as o,je as p,at as q,gd as r,et as s,Sf as t,z0 as u,Oi as v,L0 as w,Nu as x,T0 as y,Df as z}; + * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(a0,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(m){var g,v;for(g in m)v=m[g],v!==void 0&&m.hasOwnProperty(g)&&(r[g]=v);return this},n.status=null,n.set=function(m){var g=n.isStarted();m=o(m,r.minimum,1),n.status=m===1?null:m;var v=n.render(!g),_=v.querySelector(r.barSelector),E=r.speed,O=r.easing;return v.offsetWidth,a(function(S){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(_,s(m,E,O)),m===1?(l(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){l(v,{transition:"all "+E+"ms linear",opacity:0}),setTimeout(function(){n.remove(),S()},E)},E)):setTimeout(S,E)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var m=function(){setTimeout(function(){!n.status||(n.trickle(),m())},r.trickleSpeed)};return r.trickle&&m(),this},n.done=function(m){return!m&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(m){var g=n.status;return g?(typeof m!="number"&&(m=(1-g)*o(Math.random()*g,.1,.95)),g=o(g+m,0,.994),n.set(g)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var m=0,g=0;n.promise=function(v){return!v||v.state()==="resolved"?this:(g===0&&n.start(),m++,g++,v.always(function(){g--,g===0?(m=0,n.done()):n.set((m-g)/m)}),this)}}(),n.render=function(m){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var g=document.createElement("div");g.id="nprogress",g.innerHTML=r.template;var v=g.querySelector(r.barSelector),_=m?"-100":i(n.status||0),E=document.querySelector(r.parent),O;return l(v,{transition:"all 0 linear",transform:"translate3d("+_+"%,0,0)"}),r.showSpinner||(O=g.querySelector(r.spinnerSelector),O&&h(O)),E!=document.body&&u(E,"nprogress-custom-parent"),E.appendChild(g),g},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&h(m)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var m=document.body.style,g="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return g+"Perspective"in m?"translate3d":g+"Transform"in m?"translate":"margin"};function o(m,g,v){return mv?v:m}function i(m){return(-1+m)*100}function s(m,g,v){var _;return r.positionUsing==="translate3d"?_={transform:"translate3d("+i(m)+"%,0,0)"}:r.positionUsing==="translate"?_={transform:"translate("+i(m)+"%,0)"}:_={"margin-left":i(m)+"%"},_.transition="all "+g+"ms "+v,_}var a=function(){var m=[];function g(){var v=m.shift();v&&v(g)}return function(v){m.push(v),m.length==1&&g()}}(),l=function(){var m=["Webkit","O","Moz","ms"],g={};function v(S){return S.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(I,L){return L.toUpperCase()})}function _(S){var I=document.body.style;if(S in I)return S;for(var L=m.length,C=S.charAt(0).toUpperCase()+S.slice(1),P;L--;)if(P=m[L]+C,P in I)return P;return S}function E(S){return S=v(S),g[S]||(g[S]=_(S))}function O(S,I,L){I=E(I),S.style[I]=L}return function(S,I){var L=arguments,C,P;if(L.length==2)for(C in I)P=I[C],P!==void 0&&I.hasOwnProperty(C)&&O(S,C,P);else O(S,L[1],L[2])}}();function c(m,g){var v=typeof m=="string"?m:f(m);return v.indexOf(" "+g+" ")>=0}function u(m,g){var v=f(m),_=v+g;c(v,g)||(m.className=_.substring(1))}function d(m,g){var v=f(m),_;!c(m,g)||(_=v.replace(" "+g+" "," "),m.className=_.substring(1,_.length-1))}function f(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function h(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return n})})(Ar);const l0=()=>{at(()=>{const e=oo(),t=new Set;t.add(e.currentRoute.value.path),Ar.exports.configure({showSpinner:!1}),e.beforeEach(n=>{t.has(n.path)||Ar.exports.start()}),e.afterEach(n=>{t.add(n.path),Ar.exports.done()})})};var c0=Bi(()=>{l0()}),u0=Bi(()=>{Oh(),Ah()});const f0=[s0,c0,u0],d0=[["v-8daa1a0e","/",{title:"Vue 3 Datepicker"},["/index.html","/README.md"]],["v-08a5d2dc","/installation/",{title:"Installation"},["/installation/index.html","/installation/README.md"]],["v-9014096a","/api/components/",{title:"Components"},["/api/components/index.html","/api/components/README.md"]],["v-0dd9e6a8","/api/events/",{title:"Events"},["/api/events/index.html","/api/events/README.md"]],["v-fb37d6ea","/api/methods/",{title:"Methods"},["/api/methods/index.html","/api/methods/README.md"]],["v-55146a0d","/api/props/",{title:"Props"},["/api/props/index.html","/api/props/README.md"]],["v-59de75e8","/api/slots/",{title:"Slots"},["/api/slots/index.html","/api/slots/README.md"]],["v-d446beac","/customization/scss/",{title:"SCSS"},["/customization/scss/index.html","/customization/scss/README.md"]],["v-241ec4c4","/customization/theming/",{title:"Theming"},["/customization/theming/index.html","/customization/theming/README.md"]],["v-3706649a","/404.html",{title:""},["/404"]]],p0=d0.reduce((e,[t,n,r,o])=>(e.push({name:t,path:n,component:Ks,meta:r},...o.map(i=>({path:i,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:Ks}]),m0=Ap,h0=()=>{const e=um({history:m0(Pm(Ot.value.base)),routes:p0,scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var r;(t.path!==n.path||n===lt)&&([ut.value]=await Promise.all([Rt.resolvePageData(t.name),(r=wc[t.name])===null||r===void 0?void 0:r.__asyncLoader()]))}),e},v0=e=>{e.component("ClientOnly",dm),e.component("Content",zi)},g0=(e,t)=>{const n=Ee(()=>Rt.resolveRouteLocale(Ot.value.locales,t.currentRoute.value.path)),r=Ee(()=>Rt.resolveSiteLocaleData(Ot.value,n.value)),o=Ee(()=>Rt.resolvePageFrontmatter(ut.value)),i=Ee(()=>Rt.resolvePageHeadTitle(ut.value,r.value)),s=Ee(()=>Rt.resolvePageHead(i.value,o.value,r.value)),a=Ee(()=>Rt.resolvePageLang(ut.value));return e.provide(Fi,n),e.provide(kc,r),e.provide(Cc,o),e.provide(_m,i),e.provide(Ac,s),e.provide(Ic,a),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>o.value},$head:{get:()=>s.value},$headTitle:{get:()=>i.value},$lang:{get:()=>a.value},$page:{get:()=>ut.value},$routeLocale:{get:()=>n.value},$site:{get:()=>Ot.value},$siteLocale:{get:()=>r.value},$withBase:{get:()=>Im}}),{pageData:ut,pageFrontmatter:o,pageHead:s,pageHeadTitle:i,pageLang:a,routeLocale:n,siteData:Ot,siteLocaleData:r}},_0=()=>{const e=Hi(),t=gm(),n=xc(),r=Ne([]),o=()=>{t.value.forEach(s=>{const a=y0(s);a&&r.value.push(a)})},i=()=>{document.documentElement.lang=n.value,r.value.forEach(s=>{s.parentNode===document.head&&document.head.removeChild(s)}),r.value.splice(0,r.value.length),t.value.forEach(s=>{const a=b0(s);a!==null&&(document.head.appendChild(a),r.value.push(a))})};Bt(bm,i),at(()=>{o(),i(),et(()=>e.path,()=>i())})},y0=([e,t,n=""])=>{const r=Object.entries(t).map(([a,l])=>me(l)?`[${a}="${l}"]`:l===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},b0=([e,t,n])=>{if(!me(e))return null;const r=document.createElement(e);return Dc(t)&&Object.entries(t).forEach(([o,i])=>{me(i)?r.setAttribute(o,i):i===!0&&r.setAttribute(o,"")}),me(n)&&r.appendChild(document.createTextNode(n)),r},E0=ap,O0=async()=>{const e=E0({name:"VuepressApp",setup(){_0();for(const n of f0)n();return()=>[be(Oc),...Xg.map(n=>be(n))]}}),t=h0();v0(e),g0(e,t);for(const n of Yg)await n({app:e,router:t,siteData:Ot});return e.use(t),{app:e,router:t}};O0().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{F0 as $,er as A,Ti as B,Kf as C,k0 as D,Ed as E,Fe as F,gn as G,Ai as H,I0 as I,Bt as J,xe as K,A0 as L,S0 as M,bd as N,Ku as O,Wu as P,x0 as Q,jc as R,$c as S,Li as T,vm as U,G as V,Hi as W,P0 as X,Sm as Y,H0 as Z,ne as _,Se as a,Tc as a0,M0 as a1,be as a2,Im as a3,dm as a4,C0 as a5,N0 as a6,Cm as a7,Pm as a8,oo as a9,me as aa,Sh as ab,or as ac,B0 as ad,Dc as ae,Ch as af,oc as b,tc as c,O0 as createVueApp,ce as d,Ye as e,Ne as f,D0 as g,Ee as h,j0 as i,ic as j,zt as k,nc as l,R0 as m,mn as n,eo as o,je as p,at as q,gd as r,et as s,Sf as t,z0 as u,Oi as v,L0 as w,Nu as x,T0 as y,Df as z}; diff --git a/docs/assets/index.81427e26.js b/docs/assets/index.46473391.js similarity index 99% rename from docs/assets/index.81427e26.js rename to docs/assets/index.46473391.js index dc2c6cc..722c62c 100644 --- a/docs/assets/index.81427e26.js +++ b/docs/assets/index.46473391.js @@ -1 +1 @@ -import{c as u,d as o,e as d,f as i}from"./vue3-date-time-picker.esm.f6c600f4.js";var s={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},m=function(e,n,a){a=a||{};var t,r=s[e];return typeof r=="string"?t=r:n===1?a.addSuffix&&r.oneWithSuffix?t=r.oneWithSuffix:t=r.one:a.addSuffix&&r.otherWithSuffix?t=r.otherWithSuffix.replace("{{count}}",String(n)):t=r.other.replace("{{count}}",String(n)),a.addSuffix?a.comparison&&a.comparison>0?t+"\u5F8C":t+"\u524D":t},h=m,c={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},l={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},f={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:u({formats:c,defaultWidth:"full"}),time:u({formats:l,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},g=v,b={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},P=function(e,n,a,t){return b[e]},w=P,y={narrow:["BC","AC"],abbreviated:["\u7D00\u5143\u524D","\u897F\u66A6"],wide:["\u7D00\u5143\u524D","\u897F\u66A6"]},W={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7B2C1\u56DB\u534A\u671F","\u7B2C2\u56DB\u534A\u671F","\u7B2C3\u56DB\u534A\u671F","\u7B2C4\u56DB\u534A\u671F"]},p={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},M={narrow:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],short:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],abbreviated:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],wide:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},x={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},S={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},D=function(e,n){var a=Number(e),t=n||{},r=String(t.unit);switch(r){case"year":return"".concat(a,"\u5E74");case"quarter":return"\u7B2C".concat(a,"\u56DB\u534A\u671F");case"month":return"".concat(a,"\u6708");case"week":return"\u7B2C".concat(a,"\u9031");case"date":return"".concat(a,"\u65E5");case"hour":return"".concat(a,"\u6642");case"minute":return"".concat(a,"\u5206");case"second":return"".concat(a,"\u79D2");default:return"".concat(a)}},k={ordinalNumber:D,era:o({values:y,defaultWidth:"wide"}),quarter:o({values:W,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:p,defaultWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:x,defaultWidth:"wide",formattingValues:S,defaultFormattingWidth:"wide"})},F=k,z=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,C=/\d+/i,E={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},V={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},X={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},A={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},L={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},N={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Q={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},B={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},H={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},$={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},q={ordinalNumber:d({matchPattern:z,parsePattern:C,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:Q,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:H,defaultMatchWidth:"any",parsePatterns:$,defaultParseWidth:"any"})},R=q,T={code:"ja",formatDistance:h,formatLong:g,formatRelative:w,localize:F,match:R,options:{weekStartsOn:0,firstWeekContainsDate:1}},j=T;export{j}; +import{c as u,d as o,e as d,f as i}from"./vue3-date-time-picker.esm.37fef68f.js";var s={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},m=function(e,n,a){a=a||{};var t,r=s[e];return typeof r=="string"?t=r:n===1?a.addSuffix&&r.oneWithSuffix?t=r.oneWithSuffix:t=r.one:a.addSuffix&&r.otherWithSuffix?t=r.otherWithSuffix.replace("{{count}}",String(n)):t=r.other.replace("{{count}}",String(n)),a.addSuffix?a.comparison&&a.comparison>0?t+"\u5F8C":t+"\u524D":t},h=m,c={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},l={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},f={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:u({formats:c,defaultWidth:"full"}),time:u({formats:l,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},g=v,b={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},P=function(e,n,a,t){return b[e]},w=P,y={narrow:["BC","AC"],abbreviated:["\u7D00\u5143\u524D","\u897F\u66A6"],wide:["\u7D00\u5143\u524D","\u897F\u66A6"]},W={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7B2C1\u56DB\u534A\u671F","\u7B2C2\u56DB\u534A\u671F","\u7B2C3\u56DB\u534A\u671F","\u7B2C4\u56DB\u534A\u671F"]},p={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},M={narrow:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],short:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],abbreviated:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],wide:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},x={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},S={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},D=function(e,n){var a=Number(e),t=n||{},r=String(t.unit);switch(r){case"year":return"".concat(a,"\u5E74");case"quarter":return"\u7B2C".concat(a,"\u56DB\u534A\u671F");case"month":return"".concat(a,"\u6708");case"week":return"\u7B2C".concat(a,"\u9031");case"date":return"".concat(a,"\u65E5");case"hour":return"".concat(a,"\u6642");case"minute":return"".concat(a,"\u5206");case"second":return"".concat(a,"\u79D2");default:return"".concat(a)}},k={ordinalNumber:D,era:o({values:y,defaultWidth:"wide"}),quarter:o({values:W,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:p,defaultWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:x,defaultWidth:"wide",formattingValues:S,defaultFormattingWidth:"wide"})},F=k,z=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,C=/\d+/i,E={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},V={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},X={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},A={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},L={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},N={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Q={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},B={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},H={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},$={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},q={ordinalNumber:d({matchPattern:z,parsePattern:C,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:Q,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:H,defaultMatchWidth:"any",parsePatterns:$,defaultParseWidth:"any"})},R=q,T={code:"ja",formatDistance:h,formatLong:g,formatRelative:w,localize:F,match:R,options:{weekStartsOn:0,firstWeekContainsDate:1}},j=T;export{j}; diff --git a/docs/assets/index.html.41aad806.js b/docs/assets/index.html.1055a0f0.js similarity index 96% rename from docs/assets/index.html.41aad806.js rename to docs/assets/index.html.1055a0f0.js index aaf77e7..0b3519d 100644 --- a/docs/assets/index.html.41aad806.js +++ b/docs/assets/index.html.1055a0f0.js @@ -1,4 +1,4 @@ -import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec89.js";import{_ as x}from"./plugin-vue_export-helper.21dcd24c.js";const D={},_=s('

Props

List of available props

Info

  • When checking examples, for boolean prop types, the example will show opposite behavior than what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, is24 as is-24 and so on

Modes

Set the default mode for the datepicker

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean
  • Default: false
',9),T=s(`
Code Example
<template>
+import{r as t,o as w,c as q,a as n,b as e,F as x,Q as s,B as o}from"./app.bce967f0.js";import{_ as D}from"./plugin-vue_export-helper.21dcd24c.js";const _={},T=s('

Props

List of available props

Info

  • When checking examples, for boolean prop types, the example will show opposite behavior than what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, is24 as is-24 and so on

Modes

Set the default mode for the datepicker

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean
  • Default: false
',9),C=s(`
Code Example
<template>
     <Datepicker v-model="date" range />
 </template>
 
@@ -22,7 +22,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

autoRange

Predefine range to select

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,5),C=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

autoRange

Predefine range to select

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,5),E=s(`
Code Example
<template>
     <Datepicker v-model="date" range auto-range="5" />
 </template>
 
@@ -39,7 +39,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiCalendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

range prop must be enabled

  • Type: boolean | number | string
  • Default: false
`,5),E=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiCalendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

range prop must be enabled

  • Type: boolean | number | string
  • Default: false
`,5),j=s(`
Code Example
<template>
     <Datepicker v-model="date" range multiCalendars />
 </template>
 
@@ -62,7 +62,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

monthPicker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false

Note: When using this mode, range picker is not available

`,5),j=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

monthPicker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false

Note: When using this mode, range picker is not available

`,5),S=s(`
Code Example
<template>
     <Datepicker v-model="month" monthPicker />
 </template>
 
@@ -82,7 +82,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

timePicker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
`,4),S=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

timePicker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
`,4),I=s(`
Code Example
<template>
     <Datepicker v-model="time" timePicker />
 </template>
 
@@ -102,7 +102,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

textInput

When enabled, will try to parse the date from the user input. You can also adjust the default behavior by providing text input options

Text input works with all picker modes.

  • Type: boolean
  • Default: false

Drawbacks:

  • Validation properties will not work in the text input
`,7),I=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

textInput

When enabled, will try to parse the date from the user input. You can also adjust the default behavior by providing text input options

Text input works with all picker modes.

  • Type: boolean
  • Default: false

Drawbacks:

  • Validation properties will not work in the text input
`,7),M=s(`
Code Example
<template>
     <Datepicker v-model="date" placeholder="Start Typing ..." textInput />
 </template>
 
@@ -119,7 +119,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inline

Removes the input field and places the calendar in your parent component

  • Type: boolean
  • Default: false
`,4),M=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inline

Removes the input field and places the calendar in your parent component

  • Type: boolean
  • Default: false
`,4),O=s(`
Code Example
<template>
     <Datepicker v-model="date" inline autoApply />
 </template>
 
@@ -136,7 +136,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiDates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean
  • Default: false
`,4),O=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

multiDates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean
  • Default: false
`,4),N=s(`
Code Example
<template>
     <Datepicker v-model="date" multiDates />
 </template>
 
@@ -153,7 +153,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
`,4),N=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
`,4),A=s(`
Code Example
<template>
     <Datepicker v-model="date" :flow="flow" />
 </template>
 
@@ -172,7 +172,24 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

partialRange

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
`,6),A=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

utc

Output date(s) will be in UTC timezone string. You can use this if you gather dates from different timezones and want to send the date directly to the server

  • Type: boolean
  • Default: false
`,4),F=s(`
Code Example
<template>
+    <Datepicker v-model="date" utc />
+</template>
+
+<script>
+import { ref } from 'vue';
+
+export default {
+    setup() {
+        const date = ref();
+        
+        return {
+          date,
+        }
+    }
+}
+</script>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

partialRange

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
`,6),P=s(`
Code Example
<template>
     <Datepicker v-model="date" range :partialRange="false" />
 </template>
 
@@ -189,7 +206,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

presetRanges

When configured, it will provide a sidebar with configured range that user can select

Info

range prop must be enabled

  • Type: { label: string; range: Date[] | string[] }[]
  • Default: []
`,5),F=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

presetRanges

When configured, it will provide a sidebar with configured range that user can select

Info

range prop must be enabled

  • Type: { label: string; range: Date[] | string[] }[]
  • Default: []
`,5),R=s(`
Code Example
<template>
     <Datepicker v-model="date" range :presetRanges="presetRanges" />
 </template>
 
@@ -218,7 +235,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Info

range prop must be enabled

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,6),P=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Info

range prop must be enabled

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,6),H=s(`
Code Example
<template>
     <Datepicker v-model="date" range minRange="3" />
 </template>
 
@@ -235,7 +252,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,5),R=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
`,5),W=s(`
Code Example
<template>
     <Datepicker v-model="date" range maxRange="7" />
 </template>
 
@@ -252,7 +269,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

fixedStart

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Type: boolean
  • Default: false
`,6),H=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

fixedStart

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Type: boolean
  • Default: false
`,6),Y=s(`
Code Example
<template>
     <Datepicker v-model="date" range fixedStart :clearable="false" />
 </template>
 
@@ -276,7 +293,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

fixedEnd

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Type: boolean
  • Default: false
`,6),W=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

fixedEnd

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Type: boolean
  • Default: false
`,6),L=s(`
Code Example
<template>
     <Datepicker v-model="date" range fixedEnd :clearable="false" />
 </template>
 
@@ -300,7 +317,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

multiCalendarsSolo

When enabled, both calendars will be independent of each other

Info

range and multiCalendars props must be enabled

  • Type: boolean
  • Default: false
`,5),Y=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

multiCalendarsSolo

When enabled, both calendars will be independent of each other

Info

range and multiCalendars props must be enabled

  • Type: boolean
  • Default: false
`,5),B=s(`
Code Example
<template>
     <Datepicker v-model="date" range multiCalendars multiCalendarsSolo />
 </template>
 
@@ -323,7 +340,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

textInputOptions

Configuration for textInput prop

  • Type: { enterSubmit?: boolean; tabSubmit?: boolean; openMenu?: boolean; format?: string; rangeSeparator?: string }
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
`,6),L=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

textInputOptions

Configuration for textInput prop

  • Type: { enterSubmit?: boolean; tabSubmit?: boolean; openMenu?: boolean; format?: string; rangeSeparator?: string }
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
`,6),G=s(`
Code Example
<template>
     <Datepicker 
       v-model="date"
       placeholder="Start Typing ..."
@@ -348,7 +365,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

modeHeight

If you use monthPicker and timePicker, set custom height of the picker in px

  • Type: number | string
  • Default: 255
`,4),B=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

modeHeight

If you use monthPicker and timePicker, set custom height of the picker in px

  • Type: number | string
  • Default: 255
`,4),z=s(`
Code Example
<template>
     <Datepicker v-model="time" timePicker modeHeight="120" />
 </template>
 
@@ -368,7 +385,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

inlineWithInput

Use input with the inline mode, useful if you enable textInput

  • Type: boolean
  • Default: false
`,4),G=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

inlineWithInput

Use input with the inline mode, useful if you enable textInput

  • Type: boolean
  • Default: false
`,4),V=s(`
Code Example
<template>
     <Datepicker v-model="date" inline inlineWithInput autoApply />
 </template>
 
@@ -385,7 +402,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Formatting

Format options for the value displayed in the input or preview

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | (params: Date | Date[]) => string
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'

Info

If is24 prop is set to false, hours format will be changed to 'hh:mm aa'

`,7),V=o("For additional information on how to pass custom string format you can check "),z={href:"https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table",target:"_blank",rel:"noopener noreferrer"},$=o("Unicode tokens"),U=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Formatting

Format options for the value displayed in the input or preview

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | (params: Date | Date[]) => string
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'

Info

If is24 prop is set to false, hours format will be changed to 'hh:mm aa'

`,7),$=o("For additional information on how to pass custom string format you can check "),U={href:"https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table",target:"_blank",rel:"noopener noreferrer"},J=o("Unicode tokens"),K=s(`
Code Example
<template>
     <Datepicker v-model="date" :format="format" />
 </template>
 
@@ -412,7 +429,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

previewFormat

Format the value of the date(s) in the action row

  • Type: string | (params: Date | Date[]) => string
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

`,6),J=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

previewFormat

Format the value of the date(s) in the action row

  • Type: string | (params: Date | Date[]) => string
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

`,6),Q=s(`
Code Example
<template>
     <Datepicker v-model="date" :previewFormat="format" />
 </template>
 
@@ -439,7 +456,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

monthNameFormat

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
`,4),K=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

monthNameFormat

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
`,4),X=s(`
Code Example
<template>
     <Datepicker v-model="date" monthNameFormat="long" />
 </template>
 
@@ -456,7 +473,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Localization

Localization options and label props

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
`,6),Q=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Localization

Localization options and label props

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
`,6),Z=s(`
Code Example
<template>
     <Datepicker v-model="date" locale="de" cancelText="abbrechen" selectText="ausw\xE4hlen" />
 </template>
 
@@ -473,7 +490,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

formatLocale

Specify localized format output. This prop uses Locale object from date-fns library

`,3),X=o("For more info about supported locales or adding a custom locale object, please visit "),Z={href:"https://date-fns.org/v2.27.0/docs/I18n",target:"_blank",rel:"noopener noreferrer"},nn=e("code",null,"date-fns documentation",-1),sn=e("ul",null,[e("li",null,[o("Type: "),e("code",null,"Locale")]),e("li",null,[o("Default: "),e("code",null,"null")])],-1),an=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

formatLocale

Specify localized format output. This prop uses Locale object from date-fns library

`,3),nn=o("For more info about supported locales or adding a custom locale object, please visit "),sn={href:"https://date-fns.org/v2.27.0/docs/I18n",target:"_blank",rel:"noopener noreferrer"},an=e("code",null,"date-fns documentation",-1),tn=e("ul",null,[e("li",null,[o("Type: "),e("code",null,"Locale")]),e("li",null,[o("Default: "),e("code",null,"null")])],-1),pn=s(`
Code Example
<template>
     <Datepicker v-model="date" :format-locale="ja" format="E" />
 </template>
 
@@ -492,7 +509,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

selectText

Select text label in the action row

  • Type: string
  • Default: 'Select'
`,4),tn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

selectText

Select text label in the action row

  • Type: string
  • Default: 'Select'
`,4),en=s(`
Code Example
<template>
     <Datepicker v-model="date" selectText="Pick" />
 </template>
 
@@ -509,7 +526,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cancelText

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
`,4),pn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cancelText

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
`,4),on=s(`
Code Example
<template>
     <Datepicker v-model="date" cancelText="Close" />
 </template>
 
@@ -526,7 +543,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

nowButtonLabel

Change the text for now button

  • Type: string
  • Default: 'Now'
`,4),en=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

nowButtonLabel

Change the text for now button

  • Type: string
  • Default: 'Now'
`,4),cn=s(`
Code Example
<template>
     <Datepicker v-model="date" showNowButton nowButtonLabel="Current" />
 </template>
 
@@ -543,7 +560,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

weekNumName

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
`,4),on=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

weekNumName

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
`,4),ln=s(`
Code Example
<template>
     <Datepicker v-model="date" weekNumbers weekNumName="We" />
 </template>
 
@@ -560,7 +577,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

General configuration

General behavior props configuration

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-\${uid} and input id as dp-input-\${uid}

  • Type: string
  • Default: null
`,6),cn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

General configuration

General behavior props configuration

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-\${uid} and input id as dp-input-\${uid}

  • Type: string
  • Default: null
`,6),un=s(`
Code Example
<template>
     <Datepicker v-model="date" uid="demo" />
 </template>
 
@@ -577,7 +594,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnScroll

Scrolling the mouse wheel over the calendar will change the month. Scroll up for next month and vice versa

You can also set the value to 'inverse', so that scroll up will go to the previous month and down on the next

  • Type: boolean | 'inverse'
  • Default: true
`,5),ln=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnScroll

Scrolling the mouse wheel over the calendar will change the month. Scroll up for next month and vice versa

You can also set the value to 'inverse', so that scroll up will go to the previous month and down on the next

  • Type: boolean | 'inverse'
  • Default: true
`,5),rn=s(`
Code Example
<template>
     <Datepicker v-model="date" :monthChangeOnScroll="false" />
 </template>
 
@@ -594,7 +611,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
`,1),un={id:"modelvalue",tabindex:"-1"},rn=e("a",{class:"header-anchor",href:"#modelvalue","aria-hidden":"true"},"#",-1),kn=o(" modelValue "),mn=s(`

v-model binding

  • Type:
    • Single picker: Date | string
      • In case of multiDates it will be Date[] | string[]
    • Month picker: { month: number | string; year: number | string }
    • Time picker: { hours: number | string; minutes: number | string; seconds?: number | string }
    • Range picker: [Date, Date] | [string | string]
      • If you use time picker, it will be { hours: number | string; minutes: number | string; seconds?: number | string }[]
  • Default: null
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
`,1),kn={id:"modelvalue",tabindex:"-1"},mn=e("a",{class:"header-anchor",href:"#modelvalue","aria-hidden":"true"},"#",-1),bn=o(" modelValue "),dn=s(`

v-model binding

  • Type:
    • Single picker: Date | string
      • In case of multiDates it will be Date[] | string[]
    • Month picker: { month: number | string; year: number | string }
    • Time picker: { hours: number | string; minutes: number | string; seconds?: number | string }
    • Range picker: [Date, Date] | [string | string]
      • If you use time picker, it will be { hours: number | string; minutes: number | string; seconds?: number | string }[]
  • Default: null
Code Example
<template>
    <div>
        <Datepicker id="manual" :modelValue="date" @update:modelValue="setDate" />
        <Datepicker id="auto" v-model="date" />
@@ -619,7 +636,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
`,6),bn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
`,6),gn=s(`
Code Example
<template>
     <Datepicker v-model="date" :clearable="false" />
 </template>
 
@@ -636,7 +653,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnScroll

Close datepicker menu on page scroll

  • Type: boolean
  • Default: false
`,4),dn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnScroll

Close datepicker menu on page scroll

  • Type: boolean
  • Default: false
`,4),yn=s(`
Code Example
<template>
     <Datepicker v-model="date" closeOnScroll />
 </template>
 
@@ -653,7 +670,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoApply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false
`,4),gn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoApply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false
`,4),vn=s(`
Code Example
<template>
     <Datepicker v-model="date" autoApply />
 </template>
 
@@ -670,7 +687,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4),yn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4),fn=s(`
Code Example
<template>
     <Datepicker v-model="date" placeholder="Select Date" />
 </template>
 
@@ -687,7 +704,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noToday

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4),vn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noToday

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4),hn=s(`
Code Example
<template>
     <Datepicker v-model="date" noToday />
 </template>
 
@@ -704,7 +721,7 @@ import{r as t,o as h,c as w,a as n,b as e,F as q,Q as s,B as o}from"./app.216eec
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnAutoApply

If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again

  • Type: boolean
  • Default: true
`,4),fn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

closeOnAutoApply

If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again

  • Type: boolean
  • Default: true
`,4),wn=s(`
Code Example
<template>
     <Datepicker v-model="date" autoApply :closeOnAutoApply="false" />
 </template>
 
@@ -727,7 +744,7 @@ type?: <
 tooltip?: { text: string; color?: string }[];
 color?: string;
 }[]
-
1
2
3
4
5
6
  • Default: []
`,6),hn=s(`
Code Example
<template>
+
1
2
3
4
5
6
  • Default: []
`,6),qn=s(`
Code Example
<template>
     <Datepicker v-model="date" :markers="markers" />
 </template>
 
@@ -766,7 +783,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

showNowButton

Enable button to select current date and time

  • Type: boolean
  • Default: false
`,4),wn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

showNowButton

Enable button to select current date and time

  • Type: boolean
  • Default: false
`,4),xn=s(`
Code Example
<template>
     <Datepicker v-model="date" showNowButton />
 </template>
 
@@ -783,7 +800,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4),qn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4),Dn=s(`
Code Example
<template>
     <Datepicker v-model="date" disabled />
 </template>
 
@@ -800,7 +817,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4),xn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4),_n=s(`
Code Example
<template>
     <Datepicker v-model="date" readonly />
 </template>
 
@@ -817,7 +834,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
`,4),Dn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
`,4),Tn=s(`
Code Example
<template>
     <form @submit.prevent="submitForm">
       <Datepicker v-model="date" required />
       <button type="submit">Submit form</button>
@@ -842,7 +859,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4),_n=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4),Cn=s(`
Code Example
<template>
     <Datepicker v-model="date" name="date-picker" />
 </template>
 
@@ -859,7 +876,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4),Tn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4),En=s(`
Code Example
<template>
     <Datepicker v-model="date" autocomplete="off" />
 </template>
 
@@ -876,7 +893,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Calendar configuration

Configure calendar options such as behavior or available dates

weekNumbers

Display week numbers in the calendar

  • Type: boolean
  • Default: false
`,6),Cn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Calendar configuration

Configure calendar options such as behavior or available dates

weekNumbers

Display week numbers in the calendar

  • Type: boolean
  • Default: false
`,6),jn=s(`
Code Example
<template>
     <Datepicker v-model="date" weekNumbers />
 </template>
 
@@ -893,7 +910,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideOffsetDates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
`,4),En=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideOffsetDates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
`,4),Sn=s(`
Code Example
<template>
     <Datepicker v-model="date" hideOffsetDates />
 </template>
 
@@ -910,7 +927,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minDate

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
`,4),jn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minDate

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
`,4),In=s(`
Code Example
<template>
     <Datepicker v-model="date" :minDate="new Date()" />
 </template>
 
@@ -927,7 +944,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxDate

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
`,4),Sn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxDate

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
`,4),Mn=s(`
Code Example
<template>
     <Datepicker v-model="date" :maxDate="new Date()" />
 </template>
 
@@ -944,7 +961,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

preventMinMaxNavigation

Prevent navigation after or before the minDate or mixDate

  • Type: boolean
  • Default: false
`,4),In=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

preventMinMaxNavigation

Prevent navigation after or before the minDate or mixDate

  • Type: boolean
  • Default: false
`,4),On=s(`
Code Example
<template>
     <Datepicker v-model="date" :minDate="minDate" :maxDate="maxDate" preventMinMaxNavigation />
 </template>
 
@@ -967,7 +984,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

startDate

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
`,4),Mn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

startDate

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
`,4),Nn=s(`
Code Example
<template>
     <Datepicker v-model="date" :startDate="startDate" placeholder="Select Date" />
 </template>
 
@@ -986,7 +1003,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

weekStart

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
`,4),On=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

weekStart

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
`,4),An=s(`
Code Example
<template>
     <Datepicker v-model="date" weekStart="0" />
 </template>
 
@@ -1012,7 +1029,7 @@ color?:
     seconds?: number[] // disable specific seconds
   }
 }
-
1
2
3
4
5
6
7
8
9
  • Default: null
`,6),Nn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
  • Default: null
`,6),Fn=s(`
Code Example
<template>
     <Datepicker v-model="date" :filters="filters" />
 </template>
 
@@ -1040,7 +1057,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

disableMonthYearSelect

Removes the month and year picker

  • Type: boolean
  • Default: false
`,4),An=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

disableMonthYearSelect

Removes the month and year picker

  • Type: boolean
  • Default: false
`,4),Pn=s(`
Code Example
<template>
     <Datepicker v-model="date" disableMonthYearSelect />
 </template>
 
@@ -1057,7 +1074,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

yearRange

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
`,4),Fn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

yearRange

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
`,4),Rn=s(`
Code Example
<template>
     <Datepicker v-model="date" :yearRange="[2020, 2040]" />
 </template>
 
@@ -1074,7 +1091,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

allowedDates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
`,4),Pn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

allowedDates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
`,4),Hn=s(`
Code Example
<template>
     <Datepicker v-model="date" :allowedDates="allowedDates" />
 </template>
 
@@ -1100,7 +1117,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

disabledDates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

`,5),Rn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

disabledDates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

`,5),Wn=s(`
Code Example
<template>
     <Datepicker v-model="date" :disabledDates="disabledDates" />
 </template>
 
@@ -1131,7 +1148,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

disabledWeekDays

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
`,4),Hn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

disabledWeekDays

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
`,4),Yn=s(`
Code Example
<template>
     <Datepicker v-model="date" :disabledWeekDays="[6, 0]" />
 </template>
 
@@ -1148,7 +1165,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Time picker configuration

Props to configure time picker, whether using it only as time picker or alongside the datepicker

enableTimePicker

Enable or disable time picker

  • Type: boolean
  • Default: true
`,6),Wn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Time picker configuration

Props to configure time picker, whether using it only as time picker or alongside the datepicker

enableTimePicker

Enable or disable time picker

  • Type: boolean
  • Default: true
`,6),Ln=s(`
Code Example
<template>
     <Datepicker v-model="date" :enableTimePicker="false" />
 </template>
 
@@ -1165,7 +1182,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

is24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
`,4),Yn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

is24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
`,4),Bn=s(`
Code Example
<template>
     <Datepicker v-model="date" :is24="false" />
 </template>
 
@@ -1182,7 +1199,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

enableSeconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
`,4),Ln=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

enableSeconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
`,4),Gn=s(`
Code Example
<template>
     <Datepicker v-model="date" enableSeconds />
 </template>
 
@@ -1199,7 +1216,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursIncrement

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),Bn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursIncrement

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),zn=s(`
Code Example
<template>
     <Datepicker v-model="date" hoursIncrement="2" />
 </template>
 
@@ -1216,7 +1233,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesIncrement

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),Gn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesIncrement

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),Vn=s(`
Code Example
<template>
     <Datepicker v-model="date" minutesIncrement="5" />
 </template>
 
@@ -1233,7 +1250,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsIncrement

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),Vn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsIncrement

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
`,4),$n=s(`
Code Example
<template>
     <Datepicker v-model="date" enableSeconds secondsIncrement="5" />
 </template>
 
@@ -1250,7 +1267,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursGridIncrement

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is24 prop

  • Type: number | string
  • Default: 1
`,5),zn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hoursGridIncrement

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is24 prop

  • Type: number | string
  • Default: 1
`,5),Un=s(`
Code Example
<template>
     <Datepicker v-model="date" hoursGridIncrement="2" />
 </template>
 
@@ -1267,7 +1284,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesGridIncrement

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
`,5),$n=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minutesGridIncrement

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
`,5),Jn=s(`
Code Example
<template>
     <Datepicker v-model="date" minutesGridIncrement="2" />
 </template>
 
@@ -1284,7 +1301,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsGridIncrement

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
`,4),Un=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

secondsGridIncrement

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
`,4),Kn=s(`
Code Example
<template>
     <Datepicker v-model="date" enableSeconds secondsGridIncrement="2" />
 </template>
 
@@ -1301,7 +1318,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noHoursOverlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Jn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noHoursOverlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Qn=s(`
Code Example
<template>
     <Datepicker v-model="date" noHoursOverlay />
 </template>
 
@@ -1318,7 +1335,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noMinutesOverlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Kn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noMinutesOverlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Xn=s(`
Code Example
<template>
     <Datepicker v-model="date" noMinutesOverlay />
 </template>
 
@@ -1335,7 +1352,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noSecondsOverlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Qn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

noSecondsOverlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
`,4),Zn=s(`
Code Example
<template>
     <Datepicker v-model="date" noSecondsOverlay enableSeconds />
 </template>
 
@@ -1352,7 +1369,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minTime

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
`,4),Xn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

minTime

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
`,4),ns=s(`
Code Example
<template>
     <Datepicker v-model="date" :minTime="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -1369,7 +1386,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxTime

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
`,4),Zn=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

maxTime

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
`,4),ss=s(`
Code Example
<template>
     <Datepicker v-model="date" :maxTime="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -1386,7 +1403,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

startTime

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
`,4),ns=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

startTime

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
`,4),as=s(`
Code Example
<template>
     <Datepicker v-model="date" :startTime="startTime" placeholder="Select Date" />
 </template>
 
@@ -1405,7 +1422,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Positioning

Configure datepicker menu positioning

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
`,6),ss=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Positioning

Configure datepicker menu positioning

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
`,6),ts=s(`
Code Example
<template>
     <Datepicker v-model="date" position="left" />
 </template>
 
@@ -1422,7 +1439,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoPosition

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
`,4),as=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

autoPosition

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
`,4),ps=s(`
Code Example
<template>
     <Datepicker v-model="date" :autoPosition="false" />
 </template>
 
@@ -1439,7 +1456,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

altPosition

If you have issues with the menu being miss-placed, you can enable this prop to use an alternative positioning method. By default, if passed true, datepicker will use an alternative function to recalculate position, but you can also pass a custom function that can position the menu to your liking.

  • Type: boolean | ((el: HTMLElement | undefined) => { top: string; left: string; transform: string })
  • Default: false
`,4),ts=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

altPosition

If you have issues with the menu being miss-placed, you can enable this prop to use an alternative positioning method. By default, if passed true, datepicker will use an alternative function to recalculate position, but you can also pass a custom function that can position the menu to your liking.

  • Type: boolean | ((el: HTMLElement | undefined) => { top: string; left: string; transform: string })
  • Default: false
`,4),es=s(`
Code Example
<template>
     <Datepicker v-model="date" altPosition />
 </template>
 
@@ -1456,7 +1473,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

teleport

Set teleport target

  • Type: string
  • Default: 'body'

You can inspect the page and check the menu placement

`,5),ps=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

teleport

Set teleport target

  • Type: string
  • Default: 'body'

You can inspect the page and check the menu placement

`,5),os=s(`
Code Example
<template>
     <Datepicker v-model="date" teleport="#app" />
 </template>
 
@@ -1473,7 +1490,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Keyboard

Configure keyboard actions

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

openMenuOnFocus

Pressing tab in the form, datepicker menu will open

  • Type: boolean
  • Default: true
`,7),es=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Keyboard

Configure keyboard actions

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

openMenuOnFocus

Pressing tab in the form, datepicker menu will open

  • Type: boolean
  • Default: true
`,7),cs=s(`
Code Example
<template>
     <Datepicker v-model="date" :openMenuOnFocus="false" />
 </template>
 
@@ -1490,7 +1507,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

escClose

Esc key closes the menu

  • Type: boolean
  • Default: true
`,4),os=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

escClose

Esc key closes the menu

  • Type: boolean
  • Default: true
`,4),ls=s(`
Code Example
<template>
     <Datepicker v-model="date" :escClose="false" />
 </template>
 
@@ -1507,7 +1524,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

spaceConfirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
`,4),cs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

spaceConfirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
`,4),us=s(`
Code Example
<template>
     <Datepicker v-model="date" :spaceConfirm="false" />
 </template>
 
@@ -1524,7 +1541,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnArrows

Change months via arrow keys

  • Type: boolean
  • Default: true
`,4),ls=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

monthChangeOnArrows

Change months via arrow keys

  • Type: boolean
  • Default: true
`,4),is=s(`
Code Example
<template>
     <Datepicker v-model="date" :monthChangeOnArrows="false" />
 </template>
 
@@ -1541,7 +1558,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Look and feel

Customization options

transitions

`,4),us=o("Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in "),is={href:"https://v3.vuejs.org/guide/transitions-overview.html",target:"_blank",rel:"noopener noreferrer"},rs=o("transitions"),ks=o(" component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop"),ms=s("
  • Type: boolean | {open?: string; close?: string; next?: string; previous?: string}
  • Default: true

open and close are added on overlays show/hide

next and previous are added when switching months in the calendar

",3),bs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Look and feel

Customization options

transitions

`,4),rs=o("Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in "),ks={href:"https://v3.vuejs.org/guide/transitions-overview.html",target:"_blank",rel:"noopener noreferrer"},ms=o("transitions"),bs=o(" component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop"),ds=s("
  • Type: boolean | {open?: string; close?: string; next?: string; previous?: string}
  • Default: true

open and close are added on overlays show/hide

next and previous are added when switching months in the calendar

",3),gs=s(`
Code Example
<template>
     <Datepicker v-model="date" :transitions="false" />
 </template>
 
@@ -1558,7 +1575,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
`,4),ds=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
`,4),ys=s(`
Code Example
<template>
     <Datepicker v-model="date" dark />
 </template>
 
@@ -1575,7 +1592,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideInputIcon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
`,4),gs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

hideInputIcon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
`,4),vs=s(`
Code Example
<template>
     <Datepicker v-model="date" hideInputIcon />
 </template>
 
@@ -1592,7 +1609,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
`,4),ys=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
`,4),fs=s(`
Code Example
<template>
     <Datepicker v-model="date" :state="false" />
 </template>
 
@@ -1609,7 +1626,7 @@ color?:
     }
 }
 </script>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inputClassName

Add a custom class to the input field

  • Type: string
  • Default: null
`,4),vs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

inputClassName

Add a custom class to the input field

  • Type: string
  • Default: null
`,4),hs=s(`
Code Example
<template>
     <Datepicker v-model="date" inputClassName="dp-custom-input" />
 </template>
 
@@ -1637,7 +1654,7 @@ color?:
   }
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
`,4),fs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
`,4),ws=s(`
Code Example
<template>
     <Datepicker v-model="date" menuClassName="dp-custom-menu" />
 </template>
 
@@ -1660,7 +1677,7 @@ color?:
   box-shadow: 0 0 6px #1976d2;
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

calendarClassName

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
`,4),hs=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

calendarClassName

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
`,4),qs=s(`
Code Example
<template>
     <Datepicker v-model="date" calendarClassName="dp-custom-calendar" />
 </template>
 
@@ -1685,7 +1702,7 @@ color?:
   }
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

calendarCellClassName

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
`,4),ws=s(`
Code Example
<template>
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

calendarCellClassName

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
`,4),xs=s(`
Code Example
<template>
     <Datepicker v-model="date" calendarCellClassName="dp-custom-cell" />
 </template>
 
@@ -1708,4 +1725,4 @@ color?:
   border-radius: 50%;
 }
 </style>
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
`,1);function qs(xs,Ds){const a=t("Demo"),l=t("TextInputDemo"),p=t("EmptyDemo"),u=t("PresetRange"),c=t("ExternalLinkIcon"),i=t("FormatDemo"),r=t("PreviewFormatDemo"),k=t("LocalizedOutput"),m=t("Badge"),b=t("DemoMarkers"),d=t("RequiredDemo"),g=t("MinMaxDemo"),y=t("FiltersDemo"),v=t("DisabledDatesDemo"),f=t("DarkDemo");return h(),w(q,null,[_,n(a,{range:!0}),T,n(a,{range:"",autoRange:5,placeholder:"Select Date"}),C,n(a,{range:!0,multiCalendars:!0}),E,n(a,{monthPicker:!0}),j,n(a,{timePicker:!0}),S,n(l,{textInput:!0}),I,n(a,{inline:!0,autoApply:!0}),M,n(p,{multiDates:!0,placeholder:"Select Multiple Dates"}),O,n(p,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),N,n(a,{range:!0,partialRange:!1,placeholder:"Select Date"}),A,n(u),F,n(p,{range:!0,minRange:3,placeholder:"At least 3 days in between"}),P,n(p,{range:!0,maxRange:7,placeholder:"Can't have more than 7 days in between"}),R,n(a,{range:!0,fixedStart:!0,clearable:!1}),H,n(a,{range:!0,fixedEnd:!0,clearable:!1}),W,n(a,{range:!0,multiCalendars:!0,multiCalendarsSolo:!0}),Y,n(l,{textInput:!0,textInputOptions:{format:"MM.dd.yyyy"}},null,8,["textInputOptions"]),L,n(a,{timePicker:!0,modeHeight:120}),B,n(a,{inline:!0,inlineWithInput:!0,autoApply:!0}),G,e("p",null,[V,e("a",z,[$,n(c)])]),n(i),U,n(r),J,n(a,{monthNameFormat:"long"}),K,n(a,{locale:"de",cancelText:"abbrechen",selectText:"ausw\xE4hlen"}),Q,e("p",null,[X,e("a",Z,[nn,n(c)])]),sn,n(k),an,n(a,{selectText:"Pick"}),tn,n(a,{cancelText:"Close"}),pn,n(p,{showNowButton:!0,placeholder:"Select Date",nowButtonLabel:"Current"}),en,n(a,{weekNumbers:"",weekNumName:"We"}),on,n(a,{uid:"demo"}),cn,n(a,{monthChangeOnScroll:!1}),ln,e("h3",un,[rn,kn,n(m,{type:"tip",text:"v-model",vertical:"top"})]),mn,n(a,{clearable:!1}),bn,n(a,{closeOnScroll:!0}),dn,n(a,{autoApply:!0}),gn,n(p,{placeholder:"Select Date"}),yn,n(p,{noToday:!0,placeholder:"Select Date"}),vn,n(a,{autoApply:!0,closeOnAutoApply:!1}),fn,n(b),hn,n(p,{showNowButton:!0,placeholder:"Select Date"}),wn,n(a,{disabled:!0}),qn,n(a,{readonly:!0}),xn,n(d,{required:!0}),Dn,n(a,{name:"date-picker"}),_n,n(a,{autocomplete:"off"}),Tn,n(a,{weekNumbers:!0}),Cn,n(a,{hideOffsetDates:!0}),En,n(a,{minDate:new Date},null,8,["minDate"]),jn,n(a,{maxDate:new Date},null,8,["maxDate"]),Sn,n(g),In,n(p,{startDate:new Date(2020,1),placeholder:"Select Date"},null,8,["startDate"]),Mn,n(a,{weekStart:"0"}),On,n(y),Nn,n(a,{disableMonthYearSelect:!0}),An,n(a,{yearRange:[2020,2040]}),Fn,n(p,{allowedDates:[new Date],placeholder:"Select Date"},null,8,["allowedDates"]),Pn,n(v),Rn,n(p,{disabledWeekDays:[6,0],placeholder:"Select Date"}),Hn,n(a,{enableTimePicker:!1}),Wn,n(a,{is24:!1}),Yn,n(a,{enableSeconds:!0}),Ln,n(a,{hoursIncrement:"2"}),Bn,n(a,{minutesIncrement:"5"}),Gn,n(a,{secondsIncrement:"5",enableSeconds:!0}),Vn,n(a,{hoursGridIncrement:"2"}),zn,n(a,{minutesGridIncrement:"2"}),$n,n(a,{secondsGridIncrement:"2",enableSeconds:!0}),Un,n(a,{noHoursOverlay:!0}),Jn,n(a,{noMinutesOverlay:!0}),Kn,n(a,{noSecondsOverlay:!0,enableSeconds:!0}),Qn,n(p,{minTime:{hours:11,minutes:30},placeholder:"Select Date"}),Xn,n(p,{maxTime:{hours:11,minutes:30},placeholder:"Select Date"}),Zn,n(p,{startTime:{hours:0,minutes:0},placeholder:"Select Date"}),ns,n(a,{position:"left"}),ss,n(a,{autoPosition:!1}),as,n(a,{altPosition:!0}),ts,n(a,{teleport:"#app"}),ps,n(a,{openMenuOnFocus:!1}),es,n(a,{escClose:!1}),os,n(a,{spaceConfirm:!1}),cs,n(a,{monthChangeOnArrows:!1}),ls,e("p",null,[us,e("a",is,[rs,n(c)]),ks]),ms,n(a,{transitions:!1}),bs,n(f),ds,n(a,{hideInputIcon:!0}),gs,n(a,{state:!1}),ys,n(a,{inputClassName:"dp-custom-input"}),vs,n(a,{menuClassName:"dp-custom-menu"}),fs,n(a,{calendarClassName:"dp-custom-calendar"}),hs,n(a,{calendarCellClassName:"dp-custom-cell"}),ws],64)}var Cs=x(D,[["render",qs]]);export{Cs as default}; +
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
`,1);function Ds(_s,Ts){const a=t("Demo"),l=t("TextInputDemo"),p=t("EmptyDemo"),u=t("TimezoneDemo"),i=t("PresetRange"),c=t("ExternalLinkIcon"),r=t("FormatDemo"),k=t("PreviewFormatDemo"),m=t("LocalizedOutput"),b=t("Badge"),d=t("DemoMarkers"),g=t("RequiredDemo"),y=t("MinMaxDemo"),v=t("FiltersDemo"),f=t("DisabledDatesDemo"),h=t("DarkDemo");return w(),q(x,null,[T,n(a,{range:!0}),C,n(a,{range:"",autoRange:5,placeholder:"Select Date"}),E,n(a,{range:!0,multiCalendars:!0}),j,n(a,{monthPicker:!0}),S,n(a,{timePicker:!0}),I,n(l,{textInput:!0}),M,n(a,{inline:!0,autoApply:!0}),O,n(p,{multiDates:!0,placeholder:"Select Multiple Dates"}),N,n(p,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),A,n(u),F,n(a,{range:!0,partialRange:!1,placeholder:"Select Date"}),P,n(i),R,n(p,{range:!0,minRange:3,placeholder:"At least 3 days in between"}),H,n(p,{range:!0,maxRange:7,placeholder:"Can't have more than 7 days in between"}),W,n(a,{range:!0,fixedStart:!0,clearable:!1}),Y,n(a,{range:!0,fixedEnd:!0,clearable:!1}),L,n(a,{range:!0,multiCalendars:!0,multiCalendarsSolo:!0}),B,n(l,{textInput:!0,textInputOptions:{format:"MM.dd.yyyy"}},null,8,["textInputOptions"]),G,n(a,{timePicker:!0,modeHeight:120}),z,n(a,{inline:!0,inlineWithInput:!0,autoApply:!0}),V,e("p",null,[$,e("a",U,[J,n(c)])]),n(r),K,n(k),Q,n(a,{monthNameFormat:"long"}),X,n(a,{locale:"de",cancelText:"abbrechen",selectText:"ausw\xE4hlen"}),Z,e("p",null,[nn,e("a",sn,[an,n(c)])]),tn,n(m),pn,n(a,{selectText:"Pick"}),en,n(a,{cancelText:"Close"}),on,n(p,{showNowButton:!0,placeholder:"Select Date",nowButtonLabel:"Current"}),cn,n(a,{weekNumbers:"",weekNumName:"We"}),ln,n(a,{uid:"demo"}),un,n(a,{monthChangeOnScroll:!1}),rn,e("h3",kn,[mn,bn,n(b,{type:"tip",text:"v-model",vertical:"top"})]),dn,n(a,{clearable:!1}),gn,n(a,{closeOnScroll:!0}),yn,n(a,{autoApply:!0}),vn,n(p,{placeholder:"Select Date"}),fn,n(p,{noToday:!0,placeholder:"Select Date"}),hn,n(a,{autoApply:!0,closeOnAutoApply:!1}),wn,n(d),qn,n(p,{showNowButton:!0,placeholder:"Select Date"}),xn,n(a,{disabled:!0}),Dn,n(a,{readonly:!0}),_n,n(g,{required:!0}),Tn,n(a,{name:"date-picker"}),Cn,n(a,{autocomplete:"off"}),En,n(a,{weekNumbers:!0}),jn,n(a,{hideOffsetDates:!0}),Sn,n(a,{minDate:new Date},null,8,["minDate"]),In,n(a,{maxDate:new Date},null,8,["maxDate"]),Mn,n(y),On,n(p,{startDate:new Date(2020,1),placeholder:"Select Date"},null,8,["startDate"]),Nn,n(a,{weekStart:"0"}),An,n(v),Fn,n(a,{disableMonthYearSelect:!0}),Pn,n(a,{yearRange:[2020,2040]}),Rn,n(p,{allowedDates:[new Date],placeholder:"Select Date"},null,8,["allowedDates"]),Hn,n(f),Wn,n(p,{disabledWeekDays:[6,0],placeholder:"Select Date"}),Yn,n(a,{enableTimePicker:!1}),Ln,n(a,{is24:!1}),Bn,n(a,{enableSeconds:!0}),Gn,n(a,{hoursIncrement:"2"}),zn,n(a,{minutesIncrement:"5"}),Vn,n(a,{secondsIncrement:"5",enableSeconds:!0}),$n,n(a,{hoursGridIncrement:"2"}),Un,n(a,{minutesGridIncrement:"2"}),Jn,n(a,{secondsGridIncrement:"2",enableSeconds:!0}),Kn,n(a,{noHoursOverlay:!0}),Qn,n(a,{noMinutesOverlay:!0}),Xn,n(a,{noSecondsOverlay:!0,enableSeconds:!0}),Zn,n(p,{minTime:{hours:11,minutes:30},placeholder:"Select Date"}),ns,n(p,{maxTime:{hours:11,minutes:30},placeholder:"Select Date"}),ss,n(p,{startTime:{hours:0,minutes:0},placeholder:"Select Date"}),as,n(a,{position:"left"}),ts,n(a,{autoPosition:!1}),ps,n(a,{altPosition:!0}),es,n(a,{teleport:"#app"}),os,n(a,{openMenuOnFocus:!1}),cs,n(a,{escClose:!1}),ls,n(a,{spaceConfirm:!1}),us,n(a,{monthChangeOnArrows:!1}),is,e("p",null,[rs,e("a",ks,[ms,n(c)]),bs]),ds,n(a,{transitions:!1}),gs,n(h),ys,n(a,{hideInputIcon:!0}),vs,n(a,{state:!1}),fs,n(a,{inputClassName:"dp-custom-input"}),hs,n(a,{menuClassName:"dp-custom-menu"}),ws,n(a,{calendarClassName:"dp-custom-calendar"}),qs,n(a,{calendarCellClassName:"dp-custom-cell"}),xs],64)}var js=D(_,[["render",Ds]]);export{js as default}; diff --git a/docs/assets/index.html.12f71322.js b/docs/assets/index.html.12f71322.js new file mode 100644 index 0000000..cee4739 --- /dev/null +++ b/docs/assets/index.html.12f71322.js @@ -0,0 +1 @@ +const e={key:"v-55146a0d",path:"/api/props/",title:"Props",lang:"en-US",frontmatter:{lang:"en-US",title:"Props",description:"Datepicker props list to customize the component"},excerpt:"",headers:[{level:2,title:"Modes",slug:"modes",children:[{level:3,title:"range",slug:"range",children:[]},{level:3,title:"autoRange",slug:"autorange",children:[]},{level:3,title:"multiCalendars",slug:"multicalendars",children:[]},{level:3,title:"monthPicker",slug:"monthpicker",children:[]},{level:3,title:"timePicker",slug:"timepicker",children:[]},{level:3,title:"textInput",slug:"textinput",children:[]},{level:3,title:"inline",slug:"inline",children:[]},{level:3,title:"multiDates",slug:"multidates",children:[]},{level:3,title:"flow",slug:"flow",children:[]},{level:3,title:"utc",slug:"utc",children:[]}]},{level:2,title:"Modes configuration",slug:"modes-configuration",children:[{level:3,title:"partialRange",slug:"partialrange",children:[]},{level:3,title:"presetRanges",slug:"presetranges",children:[]},{level:3,title:"minRange",slug:"minrange",children:[]},{level:3,title:"maxRange",slug:"maxrange",children:[]},{level:3,title:"fixedStart",slug:"fixedstart",children:[]},{level:3,title:"fixedEnd",slug:"fixedend",children:[]},{level:3,title:"multiCalendarsSolo",slug:"multicalendarssolo",children:[]},{level:3,title:"textInputOptions",slug:"textinputoptions",children:[]},{level:3,title:"modeHeight",slug:"modeheight",children:[]},{level:3,title:"inlineWithInput",slug:"inlinewithinput",children:[]}]},{level:2,title:"Formatting",slug:"formatting",children:[{level:3,title:"format",slug:"format",children:[]},{level:3,title:"previewFormat",slug:"previewformat",children:[]},{level:3,title:"monthNameFormat",slug:"monthnameformat",children:[]}]},{level:2,title:"Localization",slug:"localization",children:[{level:3,title:"locale",slug:"locale",children:[]},{level:3,title:"formatLocale",slug:"formatlocale",children:[]},{level:3,title:"selectText",slug:"selecttext",children:[]},{level:3,title:"cancelText",slug:"canceltext",children:[]},{level:3,title:"nowButtonLabel",slug:"nowbuttonlabel",children:[]},{level:3,title:"weekNumName",slug:"weeknumname",children:[]}]},{level:2,title:"General configuration",slug:"general-configuration",children:[{level:3,title:"uid",slug:"uid",children:[]},{level:3,title:"monthChangeOnScroll",slug:"monthchangeonscroll",children:[]},{level:3,title:"modelValue",slug:"modelvalue",children:[]},{level:3,title:"clearable",slug:"clearable",children:[]},{level:3,title:"closeOnScroll",slug:"closeonscroll",children:[]},{level:3,title:"autoApply",slug:"autoapply",children:[]},{level:3,title:"placeholder",slug:"placeholder",children:[]},{level:3,title:"noToday",slug:"notoday",children:[]},{level:3,title:"closeOnAutoApply",slug:"closeonautoapply",children:[]},{level:3,title:"markers",slug:"markers",children:[]},{level:3,title:"showNowButton",slug:"shownowbutton",children:[]},{level:3,title:"disabled",slug:"disabled",children:[]},{level:3,title:"readonly",slug:"readonly",children:[]},{level:3,title:"required",slug:"required",children:[]},{level:3,title:"name",slug:"name",children:[]},{level:3,title:"autocomplete",slug:"autocomplete",children:[]}]},{level:2,title:"Calendar configuration",slug:"calendar-configuration",children:[{level:3,title:"weekNumbers",slug:"weeknumbers",children:[]},{level:3,title:"hideOffsetDates",slug:"hideoffsetdates",children:[]},{level:3,title:"minDate",slug:"mindate",children:[]},{level:3,title:"maxDate",slug:"maxdate",children:[]},{level:3,title:"preventMinMaxNavigation",slug:"preventminmaxnavigation",children:[]},{level:3,title:"startDate",slug:"startdate",children:[]},{level:3,title:"weekStart",slug:"weekstart",children:[]},{level:3,title:"filters",slug:"filters",children:[]},{level:3,title:"disableMonthYearSelect",slug:"disablemonthyearselect",children:[]},{level:3,title:"yearRange",slug:"yearrange",children:[]},{level:3,title:"allowedDates",slug:"alloweddates",children:[]},{level:3,title:"disabledDates",slug:"disableddates",children:[]},{level:3,title:"disabledWeekDays",slug:"disabledweekdays",children:[]}]},{level:2,title:"Time picker configuration",slug:"time-picker-configuration",children:[{level:3,title:"enableTimePicker",slug:"enabletimepicker",children:[]},{level:3,title:"is24",slug:"is24",children:[]},{level:3,title:"enableSeconds",slug:"enableseconds",children:[]},{level:3,title:"hoursIncrement",slug:"hoursincrement",children:[]},{level:3,title:"minutesIncrement",slug:"minutesincrement",children:[]},{level:3,title:"secondsIncrement",slug:"secondsincrement",children:[]},{level:3,title:"hoursGridIncrement",slug:"hoursgridincrement",children:[]},{level:3,title:"minutesGridIncrement",slug:"minutesgridincrement",children:[]},{level:3,title:"secondsGridIncrement",slug:"secondsgridincrement",children:[]},{level:3,title:"noHoursOverlay",slug:"nohoursoverlay",children:[]},{level:3,title:"noMinutesOverlay",slug:"nominutesoverlay",children:[]},{level:3,title:"noSecondsOverlay",slug:"nosecondsoverlay",children:[]},{level:3,title:"minTime",slug:"mintime",children:[]},{level:3,title:"maxTime",slug:"maxtime",children:[]},{level:3,title:"startTime",slug:"starttime",children:[]}]},{level:2,title:"Positioning",slug:"positioning",children:[{level:3,title:"position",slug:"position",children:[]},{level:3,title:"autoPosition",slug:"autoposition",children:[]},{level:3,title:"altPosition",slug:"altposition",children:[]},{level:3,title:"teleport",slug:"teleport",children:[]}]},{level:2,title:"Keyboard",slug:"keyboard",children:[{level:3,title:"openMenuOnFocus",slug:"openmenuonfocus",children:[]},{level:3,title:"escClose",slug:"escclose",children:[]},{level:3,title:"spaceConfirm",slug:"spaceconfirm",children:[]},{level:3,title:"monthChangeOnArrows",slug:"monthchangeonarrows",children:[]}]},{level:2,title:"Look and feel",slug:"look-and-feel",children:[{level:3,title:"transitions",slug:"transitions",children:[]},{level:3,title:"dark",slug:"dark",children:[]},{level:3,title:"hideInputIcon",slug:"hideinputicon",children:[]},{level:3,title:"state",slug:"state",children:[]},{level:3,title:"inputClassName",slug:"inputclassname",children:[]},{level:3,title:"menuClassName",slug:"menuclassname",children:[]},{level:3,title:"calendarClassName",slug:"calendarclassname",children:[]},{level:3,title:"calendarCellClassName",slug:"calendarcellclassname",children:[]}]}],git:{updatedTime:164510209e4},filePathRelative:"api/props/README.md"};export{e as data}; diff --git a/docs/assets/index.html.563e6534.js b/docs/assets/index.html.1cf36832.js similarity index 99% rename from docs/assets/index.html.563e6534.js rename to docs/assets/index.html.1cf36832.js index 8c3dbac..fb0e79b 100644 --- a/docs/assets/index.html.563e6534.js +++ b/docs/assets/index.html.1cf36832.js @@ -1,4 +1,4 @@ -import{Q as n}from"./app.216eec89.js";import{_ as s}from"./plugin-vue_export-helper.21dcd24c.js";const a={},e=n(`

SCSS

For easier style configuration you can import the scss file and modify the default properties

@import 'vue3-date-time-picker/src/Vue3DatePicker/style/main.scss';
+import{Q as n}from"./app.bce967f0.js";import{_ as s}from"./plugin-vue_export-helper.21dcd24c.js";const a={},e=n(`

SCSS

For easier style configuration you can import the scss file and modify the default properties

@import 'vue3-date-time-picker/src/Vue3DatePicker/style/main.scss';
 
1

Available properties are:

// General
 $dp__font_family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans",
   "Helvetica Neue", sans-serif !default; // Font size for the menu
diff --git a/docs/assets/index.html.2df74fe8.js b/docs/assets/index.html.4b502edb.js
similarity index 99%
rename from docs/assets/index.html.2df74fe8.js
rename to docs/assets/index.html.4b502edb.js
index eb20439..8a4f8fc 100644
--- a/docs/assets/index.html.2df74fe8.js
+++ b/docs/assets/index.html.4b502edb.js
@@ -1,4 +1,4 @@
-import{r as c,o as i,c as k,a,b as n,z as t,F as m,Q as o,B as s}from"./app.216eec89.js";import{_ as b}from"./plugin-vue_export-helper.21dcd24c.js";const d={},y=o('

Components

Customize the datepicker with your custom components

WARNING

Make sure to properly read the documentation and check the examples on how to pass and configure a custom component. Wrong implementation may result in errors

TIP

You can use css variables inside custom components if you need to style for the theme

monthYearComponent

Create and use a custom component in the header for month/year select

',6),h=n("p",null,[s("The component will receive the following "),n("code",null,"props"),s(":")],-1),_=n("li",null,[n("code",null,"months"),s(": "),n("code",null,"{ value: number; text: string }[]"),s(" -> value: "),n("code",null,"0-11"),s(", text: name of the month")],-1),g=n("li",null,[n("code",null,"years"),s(": "),n("code",null,"{ value: number; text: string }[]"),s(" -> generated array of years based on provided range, text and value are the same")],-1),f=n("code",null,"filters",-1),v=s(": "),w=s("filters prop"),x=n("code",null,"monthPicker",-1),C=s(": "),q=s("monthPicker prop"),P=o("
  • month: number -> This is the value of the selected month
  • year : number -> This is the value of the selected year
  • customProps: Record<string, unknown> -> Your custom props
  • ",3),I=n("code",null,"instance",-1),T=s(": "),D=n("code",null,"number",-1),A=s(" -> In case you are using "),M=s("multiCalendars prop"),R=s(", it will be 1 or 2"),j=n("code",null,"minDate",-1),Y=s(": "),N=n("code",null,"Date | string",-1),V=s(" -> "),S=s("minDate prop"),$=n("code",null,"maxDate",-1),G=s(": "),E=n("code",null,"Date | string",-1),O=s(" -> "),B=s("maxDate prop"),L=o('

    Important

    To update the month and the year value make sure to emit the following:

    • Month
      • Event: update:month
      • Value: number
    • Year
      • Event: update:year
      • Value: number
    • Handler event
      • Event: updateMonthYear
      • Value: boolean (only when updating year)
    ',1),F={class:"custom-container details"},z=n("summary",null,"Code Example",-1),H=n("div",{class:"language-vue ext-vue line-numbers-mode"},[n("pre",{class:"language-vue"},[n("code",null,[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(` +import{r as c,o as i,c as k,a,b as n,z as t,F as m,Q as o,B as s}from"./app.bce967f0.js";import{_ as b}from"./plugin-vue_export-helper.21dcd24c.js";const d={},y=o('

    Components

    Customize the datepicker with your custom components

    WARNING

    Make sure to properly read the documentation and check the examples on how to pass and configure a custom component. Wrong implementation may result in errors

    TIP

    You can use css variables inside custom components if you need to style for the theme

    monthYearComponent

    Create and use a custom component in the header for month/year select

    ',6),h=n("p",null,[s("The component will receive the following "),n("code",null,"props"),s(":")],-1),_=n("li",null,[n("code",null,"months"),s(": "),n("code",null,"{ value: number; text: string }[]"),s(" -> value: "),n("code",null,"0-11"),s(", text: name of the month")],-1),g=n("li",null,[n("code",null,"years"),s(": "),n("code",null,"{ value: number; text: string }[]"),s(" -> generated array of years based on provided range, text and value are the same")],-1),f=n("code",null,"filters",-1),v=s(": "),w=s("filters prop"),x=n("code",null,"monthPicker",-1),C=s(": "),q=s("monthPicker prop"),P=o("
  • month: number -> This is the value of the selected month
  • year : number -> This is the value of the selected year
  • customProps: Record<string, unknown> -> Your custom props
  • ",3),I=n("code",null,"instance",-1),T=s(": "),D=n("code",null,"number",-1),A=s(" -> In case you are using "),M=s("multiCalendars prop"),R=s(", it will be 1 or 2"),j=n("code",null,"minDate",-1),Y=s(": "),N=n("code",null,"Date | string",-1),V=s(" -> "),S=s("minDate prop"),$=n("code",null,"maxDate",-1),G=s(": "),E=n("code",null,"Date | string",-1),O=s(" -> "),B=s("maxDate prop"),L=o('

    Important

    To update the month and the year value make sure to emit the following:

    • Month
      • Event: update:month
      • Value: number
    • Year
      • Event: update:year
      • Value: number
    • Handler event
      • Event: updateMonthYear
      • Value: boolean (only when updating year)
    ',1),F={class:"custom-container details"},z=n("summary",null,"Code Example",-1),H=n("div",{class:"language-vue ext-vue line-numbers-mode"},[n("pre",{class:"language-vue"},[n("code",null,[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("Datepicker")]),s(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("date"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},":month-year-component"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("monthYear"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token punctuation"},"/>")]),s(` `),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"")]),s(` diff --git a/docs/assets/index.html.703c5310.js b/docs/assets/index.html.4f4badc1.js similarity index 94% rename from docs/assets/index.html.703c5310.js rename to docs/assets/index.html.4f4badc1.js index 3856b58..3d8af54 100644 --- a/docs/assets/index.html.703c5310.js +++ b/docs/assets/index.html.4f4badc1.js @@ -1 +1 @@ -import{Q as e}from"./app.216eec89.js";import{_ as a}from"./plugin-vue_export-helper.21dcd24c.js";const t={},d=e('

    Methods

    List of available methods that you can call on the datepicker from the external code

    Add a ref to the component, and call the method on that ref

    selectDate

    When called and there is an active selection, it will select that date.

    closeMenu

    Closes the datepicker menu

    openMenu

    Opens the datepicker menu

    clearValue

    Clears the selected value

    ',11);function r(h,n){return d}var s=a(t,[["render",r]]);export{s as default}; +import{Q as e}from"./app.bce967f0.js";import{_ as a}from"./plugin-vue_export-helper.21dcd24c.js";const t={},d=e('

    Methods

    List of available methods that you can call on the datepicker from the external code

    Add a ref to the component, and call the method on that ref

    selectDate

    When called and there is an active selection, it will select that date.

    closeMenu

    Closes the datepicker menu

    openMenu

    Opens the datepicker menu

    clearValue

    Clears the selected value

    ',11);function r(h,n){return d}var s=a(t,[["render",r]]);export{s as default}; diff --git a/docs/assets/index.html.79494550.js b/docs/assets/index.html.79494550.js deleted file mode 100644 index 35b441d..0000000 --- a/docs/assets/index.html.79494550.js +++ /dev/null @@ -1 +0,0 @@ -const e={key:"v-55146a0d",path:"/api/props/",title:"Props",lang:"en-US",frontmatter:{lang:"en-US",title:"Props",description:"Datepicker props list to customize the component"},excerpt:"",headers:[{level:2,title:"Modes",slug:"modes",children:[{level:3,title:"range",slug:"range",children:[]},{level:3,title:"autoRange",slug:"autorange",children:[]},{level:3,title:"multiCalendars",slug:"multicalendars",children:[]},{level:3,title:"monthPicker",slug:"monthpicker",children:[]},{level:3,title:"timePicker",slug:"timepicker",children:[]},{level:3,title:"textInput",slug:"textinput",children:[]},{level:3,title:"inline",slug:"inline",children:[]},{level:3,title:"multiDates",slug:"multidates",children:[]},{level:3,title:"flow",slug:"flow",children:[]}]},{level:2,title:"Modes configuration",slug:"modes-configuration",children:[{level:3,title:"partialRange",slug:"partialrange",children:[]},{level:3,title:"presetRanges",slug:"presetranges",children:[]},{level:3,title:"minRange",slug:"minrange",children:[]},{level:3,title:"maxRange",slug:"maxrange",children:[]},{level:3,title:"fixedStart",slug:"fixedstart",children:[]},{level:3,title:"fixedEnd",slug:"fixedend",children:[]},{level:3,title:"multiCalendarsSolo",slug:"multicalendarssolo",children:[]},{level:3,title:"textInputOptions",slug:"textinputoptions",children:[]},{level:3,title:"modeHeight",slug:"modeheight",children:[]},{level:3,title:"inlineWithInput",slug:"inlinewithinput",children:[]}]},{level:2,title:"Formatting",slug:"formatting",children:[{level:3,title:"format",slug:"format",children:[]},{level:3,title:"previewFormat",slug:"previewformat",children:[]},{level:3,title:"monthNameFormat",slug:"monthnameformat",children:[]}]},{level:2,title:"Localization",slug:"localization",children:[{level:3,title:"locale",slug:"locale",children:[]},{level:3,title:"formatLocale",slug:"formatlocale",children:[]},{level:3,title:"selectText",slug:"selecttext",children:[]},{level:3,title:"cancelText",slug:"canceltext",children:[]},{level:3,title:"nowButtonLabel",slug:"nowbuttonlabel",children:[]},{level:3,title:"weekNumName",slug:"weeknumname",children:[]}]},{level:2,title:"General configuration",slug:"general-configuration",children:[{level:3,title:"uid",slug:"uid",children:[]},{level:3,title:"monthChangeOnScroll",slug:"monthchangeonscroll",children:[]},{level:3,title:"modelValue",slug:"modelvalue",children:[]},{level:3,title:"clearable",slug:"clearable",children:[]},{level:3,title:"closeOnScroll",slug:"closeonscroll",children:[]},{level:3,title:"autoApply",slug:"autoapply",children:[]},{level:3,title:"placeholder",slug:"placeholder",children:[]},{level:3,title:"noToday",slug:"notoday",children:[]},{level:3,title:"closeOnAutoApply",slug:"closeonautoapply",children:[]},{level:3,title:"markers",slug:"markers",children:[]},{level:3,title:"showNowButton",slug:"shownowbutton",children:[]},{level:3,title:"disabled",slug:"disabled",children:[]},{level:3,title:"readonly",slug:"readonly",children:[]},{level:3,title:"required",slug:"required",children:[]},{level:3,title:"name",slug:"name",children:[]},{level:3,title:"autocomplete",slug:"autocomplete",children:[]}]},{level:2,title:"Calendar configuration",slug:"calendar-configuration",children:[{level:3,title:"weekNumbers",slug:"weeknumbers",children:[]},{level:3,title:"hideOffsetDates",slug:"hideoffsetdates",children:[]},{level:3,title:"minDate",slug:"mindate",children:[]},{level:3,title:"maxDate",slug:"maxdate",children:[]},{level:3,title:"preventMinMaxNavigation",slug:"preventminmaxnavigation",children:[]},{level:3,title:"startDate",slug:"startdate",children:[]},{level:3,title:"weekStart",slug:"weekstart",children:[]},{level:3,title:"filters",slug:"filters",children:[]},{level:3,title:"disableMonthYearSelect",slug:"disablemonthyearselect",children:[]},{level:3,title:"yearRange",slug:"yearrange",children:[]},{level:3,title:"allowedDates",slug:"alloweddates",children:[]},{level:3,title:"disabledDates",slug:"disableddates",children:[]},{level:3,title:"disabledWeekDays",slug:"disabledweekdays",children:[]}]},{level:2,title:"Time picker configuration",slug:"time-picker-configuration",children:[{level:3,title:"enableTimePicker",slug:"enabletimepicker",children:[]},{level:3,title:"is24",slug:"is24",children:[]},{level:3,title:"enableSeconds",slug:"enableseconds",children:[]},{level:3,title:"hoursIncrement",slug:"hoursincrement",children:[]},{level:3,title:"minutesIncrement",slug:"minutesincrement",children:[]},{level:3,title:"secondsIncrement",slug:"secondsincrement",children:[]},{level:3,title:"hoursGridIncrement",slug:"hoursgridincrement",children:[]},{level:3,title:"minutesGridIncrement",slug:"minutesgridincrement",children:[]},{level:3,title:"secondsGridIncrement",slug:"secondsgridincrement",children:[]},{level:3,title:"noHoursOverlay",slug:"nohoursoverlay",children:[]},{level:3,title:"noMinutesOverlay",slug:"nominutesoverlay",children:[]},{level:3,title:"noSecondsOverlay",slug:"nosecondsoverlay",children:[]},{level:3,title:"minTime",slug:"mintime",children:[]},{level:3,title:"maxTime",slug:"maxtime",children:[]},{level:3,title:"startTime",slug:"starttime",children:[]}]},{level:2,title:"Positioning",slug:"positioning",children:[{level:3,title:"position",slug:"position",children:[]},{level:3,title:"autoPosition",slug:"autoposition",children:[]},{level:3,title:"altPosition",slug:"altposition",children:[]},{level:3,title:"teleport",slug:"teleport",children:[]}]},{level:2,title:"Keyboard",slug:"keyboard",children:[{level:3,title:"openMenuOnFocus",slug:"openmenuonfocus",children:[]},{level:3,title:"escClose",slug:"escclose",children:[]},{level:3,title:"spaceConfirm",slug:"spaceconfirm",children:[]},{level:3,title:"monthChangeOnArrows",slug:"monthchangeonarrows",children:[]}]},{level:2,title:"Look and feel",slug:"look-and-feel",children:[{level:3,title:"transitions",slug:"transitions",children:[]},{level:3,title:"dark",slug:"dark",children:[]},{level:3,title:"hideInputIcon",slug:"hideinputicon",children:[]},{level:3,title:"state",slug:"state",children:[]},{level:3,title:"inputClassName",slug:"inputclassname",children:[]},{level:3,title:"menuClassName",slug:"menuclassname",children:[]},{level:3,title:"calendarClassName",slug:"calendarclassname",children:[]},{level:3,title:"calendarCellClassName",slug:"calendarcellclassname",children:[]}]}],git:{updatedTime:1644755505e3},filePathRelative:"api/props/README.md"};export{e as data}; diff --git a/docs/assets/index.html.b5abd479.js b/docs/assets/index.html.86ad4a51.js similarity index 99% rename from docs/assets/index.html.b5abd479.js rename to docs/assets/index.html.86ad4a51.js index 548383d..20c7d48 100644 --- a/docs/assets/index.html.b5abd479.js +++ b/docs/assets/index.html.86ad4a51.js @@ -1,4 +1,4 @@ -import{Q as n}from"./app.216eec89.js";import{_ as s}from"./plugin-vue_export-helper.21dcd24c.js";const a={},p=n(`

    Theming

    Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

    To change variables, simply override the classes with your custom values.

    Dark mode configuration

    .dp__theme_dark {
    +import{Q as n}from"./app.bce967f0.js";import{_ as s}from"./plugin-vue_export-helper.21dcd24c.js";const a={},p=n(`

    Theming

    Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

    To change variables, simply override the classes with your custom values.

    Dark mode configuration

    .dp__theme_dark {
         --dp-background-color: #212121;
         --dp-text-color: #ffffff;
         --dp-hover-color: #484848;
    diff --git a/docs/assets/index.html.a2207b39.js b/docs/assets/index.html.909ed922.js
    similarity index 97%
    rename from docs/assets/index.html.a2207b39.js
    rename to docs/assets/index.html.909ed922.js
    index 16bc6d4..dbec5b1 100644
    --- a/docs/assets/index.html.a2207b39.js
    +++ b/docs/assets/index.html.909ed922.js
    @@ -1 +1 @@
    -import{r as o,o as s,c as h,b as t,a as d,z as i,F as r,Q as n,B as e}from"./app.216eec89.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const l={},p=n('

    Events

    List of available events that are emitted on some action

    @update:modelValue

    This event is emitted when the value is selected. This is a v-model binding event

    @textSubmit

    ',5),u=e("When "),m=e("textInput"),_=e(" prop is set to "),f=t("code",null,"true",-1),b=e(" and "),x=t("code",null,"enterSubmit",-1),w=e(" is set to "),v=t("code",null,"true",-1),E=e(" in "),g=e("textInputOptions"),k=e(", when enter button is pressed, this event will be emitted"),V=n('

    @open

    Emitted when the datepicker menu is opened

    @closed

    Emitted when the datepicker menu is closed

    @cleared

    Emitted when the value is cleared on clear button

    @focus

    Emitted when the datepicker menu is open

    @blur

    Emitted when the datepicker menu is closed

    @internalModelChange

    Emitted when the internal modelValue is changed before selecting this date that will be set to v-model

    @recalculatePosition

    Emitted when the menu position is recalculated

    @flowStep

    Emitted when the flow step is triggered

    Will have one param

    • step: Executed flow step
    ',18);function B(N,S){const a=o("RouterLink");return s(),h(r,null,[p,t("p",null,[u,d(a,{to:"/api/props/#textinput"},{default:i(()=>[m]),_:1}),_,f,b,x,w,v,E,d(a,{to:"/api/props/#textinputoptions"},{default:i(()=>[g]),_:1}),k]),V],64)}var T=c(l,[["render",B]]);export{T as default}; +import{r as o,o as s,c as h,b as t,a as d,z as i,F as r,Q as n,B as e}from"./app.bce967f0.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const l={},p=n('

    Events

    List of available events that are emitted on some action

    @update:modelValue

    This event is emitted when the value is selected. This is a v-model binding event

    @textSubmit

    ',5),u=e("When "),m=e("textInput"),_=e(" prop is set to "),f=t("code",null,"true",-1),b=e(" and "),x=t("code",null,"enterSubmit",-1),w=e(" is set to "),v=t("code",null,"true",-1),E=e(" in "),g=e("textInputOptions"),k=e(", when enter button is pressed, this event will be emitted"),V=n('

    @open

    Emitted when the datepicker menu is opened

    @closed

    Emitted when the datepicker menu is closed

    @cleared

    Emitted when the value is cleared on clear button

    @focus

    Emitted when the datepicker menu is open

    @blur

    Emitted when the datepicker menu is closed

    @internalModelChange

    Emitted when the internal modelValue is changed before selecting this date that will be set to v-model

    @recalculatePosition

    Emitted when the menu position is recalculated

    @flowStep

    Emitted when the flow step is triggered

    Will have one param

    • step: Executed flow step
    ',18);function B(N,S){const a=o("RouterLink");return s(),h(r,null,[p,t("p",null,[u,d(a,{to:"/api/props/#textinput"},{default:i(()=>[m]),_:1}),_,f,b,x,w,v,E,d(a,{to:"/api/props/#textinputoptions"},{default:i(()=>[g]),_:1}),k]),V],64)}var T=c(l,[["render",B]]);export{T as default}; diff --git a/docs/assets/index.html.316170ee.js b/docs/assets/index.html.94c6d9be.js similarity index 94% rename from docs/assets/index.html.316170ee.js rename to docs/assets/index.html.94c6d9be.js index 9ecbe1d..7040ec5 100644 --- a/docs/assets/index.html.316170ee.js +++ b/docs/assets/index.html.94c6d9be.js @@ -1 +1 @@ -const e={key:"v-59de75e8",path:"/api/slots/",title:"Slots",lang:"en-US",frontmatter:{title:"Slots",description:"Datepicker available slots lists. Customize parts of the datepicker with custom elements"},excerpt:"",headers:[{level:2,title:"Content",slug:"content",children:[{level:3,title:"calendar-header",slug:"calendar-header",children:[]},{level:3,title:"day",slug:"day",children:[]},{level:3,title:"action-select",slug:"action-select",children:[]},{level:3,title:"action-preview",slug:"action-preview",children:[]},{level:3,title:"now-button",slug:"now-button",children:[]},{level:3,title:"am-pm-button",slug:"am-pm-button",children:[]}]},{level:2,title:"Trigger and input",slug:"trigger-and-input",children:[{level:3,title:"trigger",slug:"trigger",children:[]},{level:3,title:"dp-input",slug:"dp-input",children:[]}]},{level:2,title:"Icons",slug:"icons",children:[{level:3,title:"input-icon",slug:"input-icon",children:[]},{level:3,title:"clear-icon",slug:"clear-icon",children:[]},{level:3,title:"clock-icon",slug:"clock-icon",children:[]},{level:3,title:"arrow-left",slug:"arrow-left",children:[]},{level:3,title:"arrow-right",slug:"arrow-right",children:[]},{level:3,title:"arrow-up",slug:"arrow-up",children:[]},{level:3,title:"arrow-down",slug:"arrow-down",children:[]},{level:3,title:"calendar-icon",slug:"calendar-icon",children:[]}]},{level:2,title:"Overlay",slug:"overlay",children:[{level:3,title:"time-picker-overlay",slug:"time-picker-overlay",children:[]},{level:3,title:"hours",slug:"hours",children:[]},{level:3,title:"minutes",slug:"minutes",children:[]},{level:3,title:"hours-overlay",slug:"hours-overlay",children:[]},{level:3,title:"minutes-overlay",slug:"minutes-overlay",children:[]},{level:3,title:"month",slug:"month",children:[]},{level:3,title:"year",slug:"year",children:[]},{level:3,title:"month-overlay",slug:"month-overlay",children:[]},{level:3,title:"year-overlay",slug:"year-overlay",children:[]}]}],git:{updatedTime:1643050843e3},filePathRelative:"api/slots/README.md"};export{e as data}; +const e={key:"v-59de75e8",path:"/api/slots/",title:"Slots",lang:"en-US",frontmatter:{title:"Slots",description:"Datepicker available slots lists. Customize parts of the datepicker with custom elements"},excerpt:"",headers:[{level:2,title:"Content",slug:"content",children:[{level:3,title:"calendar-header",slug:"calendar-header",children:[]},{level:3,title:"day",slug:"day",children:[]},{level:3,title:"action-select",slug:"action-select",children:[]},{level:3,title:"action-preview",slug:"action-preview",children:[]},{level:3,title:"now-button",slug:"now-button",children:[]},{level:3,title:"am-pm-button",slug:"am-pm-button",children:[]}]},{level:2,title:"Trigger and input",slug:"trigger-and-input",children:[{level:3,title:"trigger",slug:"trigger",children:[]},{level:3,title:"dp-input",slug:"dp-input",children:[]}]},{level:2,title:"Icons",slug:"icons",children:[{level:3,title:"input-icon",slug:"input-icon",children:[]},{level:3,title:"clear-icon",slug:"clear-icon",children:[]},{level:3,title:"clock-icon",slug:"clock-icon",children:[]},{level:3,title:"arrow-left",slug:"arrow-left",children:[]},{level:3,title:"arrow-right",slug:"arrow-right",children:[]},{level:3,title:"arrow-up",slug:"arrow-up",children:[]},{level:3,title:"arrow-down",slug:"arrow-down",children:[]},{level:3,title:"calendar-icon",slug:"calendar-icon",children:[]}]},{level:2,title:"Overlay",slug:"overlay",children:[{level:3,title:"time-picker-overlay",slug:"time-picker-overlay",children:[]},{level:3,title:"hours",slug:"hours",children:[]},{level:3,title:"minutes",slug:"minutes",children:[]},{level:3,title:"hours-overlay",slug:"hours-overlay",children:[]},{level:3,title:"minutes-overlay",slug:"minutes-overlay",children:[]},{level:3,title:"month",slug:"month",children:[]},{level:3,title:"year",slug:"year",children:[]},{level:3,title:"month-overlay",slug:"month-overlay",children:[]},{level:3,title:"year-overlay",slug:"year-overlay",children:[]}]}],git:{updatedTime:164510209e4},filePathRelative:"api/slots/README.md"};export{e as data}; diff --git a/docs/assets/index.html.9bb26c27.js b/docs/assets/index.html.9d6ff572.js similarity index 99% rename from docs/assets/index.html.9bb26c27.js rename to docs/assets/index.html.9d6ff572.js index 8b5185b..12bdce5 100644 --- a/docs/assets/index.html.9bb26c27.js +++ b/docs/assets/index.html.9d6ff572.js @@ -1,4 +1,4 @@ -import{r as c,o as l,c as u,a as n,b as t,z as o,F as i,Q as s,B as p}from"./app.216eec89.js";import{_ as r}from"./plugin-vue_export-helper.21dcd24c.js";const k={},b=s('

    Slots

    Below is a list of available slots which you can use to change some default elements of the datepicker

    Content

    Customize parts in the datepicker menu

    calendar-header

    Replace the content in the calendar header cells

    Available props are:

    • day: Displayed value in the header cell
    • index: Column index it is rendered by
    ',8),m=s(`
    Code Example
    <template>
    +import{r as c,o as l,c as u,a as n,b as t,z as o,F as i,Q as s,B as p}from"./app.bce967f0.js";import{_ as r}from"./plugin-vue_export-helper.21dcd24c.js";const k={},b=s('

    Slots

    Below is a list of available slots which you can use to change some default elements of the datepicker

    Content

    Customize parts in the datepicker menu

    calendar-header

    Replace the content in the calendar header cells

    Available props are:

    • day: Displayed value in the header cell
    • index: Column index it is rendered by
    ',8),m=s(`
    Code Example
    <template>
         <Datepicker v-model="date">
           <template #calendar-header="{ index, day }">
             <div :class="index === 5 || index === 6 ? 'red-color' : ''">
    @@ -209,9 +209,9 @@ import{r as c,o as l,c as u,a as n,b as t,z as o,F as i,Q as s,B as p}from"./app
             cursor: pointer;
         }
     </style>
    -
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28

    dp-input

    This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

    Available props are:

    `,4),S={class:"custom-container tip"},E=t("p",{class:"custom-container-title"},"TIP",-1),j=p("For functions to work correctly, make sure that the "),A=p("textInput prop"),V=p(" is enabled"),I=t("p",null,[p("When calling "),t("code",null,"onInput"),p(" function, make sure to pass the "),t("code",null,"input event"),p(" as argument")],-1),B=s("
    • value: Value displayed in the input field
      • type: string
    • onInput: Function called on the @input event
      • type: (event: Event) => void
    • onEnter: Function called on the @keydown.enter event
      • type: () => void
    • onTab: Function called on the @keydown.tab event
      • type: () => void
    ",1),F=s(`
    Code Example
    <template>
    +
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28

    dp-input

    This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

    Available props are:

    `,4),S={class:"custom-container tip"},E=t("p",{class:"custom-container-title"},"TIP",-1),j=p("For functions to work correctly, make sure that the "),A=p("textInput prop"),V=p(" is enabled"),I=t("p",null,[p("When calling "),t("code",null,"onInput"),p(" function, make sure to pass the "),t("code",null,"input event"),p(" as argument")],-1),B=s("
    • value: Value displayed in the input field
      • type: string
    • onInput: Function called on the @input event
      • type: (event: Event) => void
    • onEnter: Function called on the @keydown.enter event
      • type: () => void
    • onTab: Function called on the @keydown.tab event
      • type: () => void
    • onClear: Function to call if you want to clear date
      • type: () => void
    ",1),F=s(`
    Code Example
    <template>
         <Datepicker v-model="date">
    -        <template #dp-input="{ value, onInput, onEnter, onTab }">
    +        <template #dp-input="{ value, onInput, onEnter, onTab, onClear }">
               <input type="text" :value="value" />
             </template>
         </Datepicker>
    diff --git a/docs/assets/index.html.4f680e31.js b/docs/assets/index.html.abc6c371.js
    similarity index 98%
    rename from docs/assets/index.html.4f680e31.js
    rename to docs/assets/index.html.abc6c371.js
    index 485e4f1..77347b0 100644
    --- a/docs/assets/index.html.4f680e31.js
    +++ b/docs/assets/index.html.abc6c371.js
    @@ -1 +1 @@
    -import{r as a,o,c as n,b as e,a as i,z as d,F as c,B as t}from"./app.216eec89.js";import{_ as h}from"./plugin-vue_export-helper.21dcd24c.js";const l={},p={style:{"text-align":"center"},markdown:"1"},u=t("\u2B50\uFE0F If you like the component, give it a star on "),_={href:"https://github.com/Vuepic/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},m=t("GitHub"),g=t(" and consider "),f={href:"https://github.com/sponsors/Vuepic",target:"_blank",rel:"noopener noreferrer"},k=t("sponsoring"),b=t(" its development! \u2B50"),v=e("h1",{id:"vue3-date-time-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#vue3-date-time-picker","aria-hidden":"true"},"#"),t(" vue3-date-time-picker")],-1),x=e("h3",{id:"the-most-complete-datepicker-solution-for-vue-3",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#the-most-complete-datepicker-solution-for-vue-3","aria-hidden":"true"},"#"),t(" The most complete datepicker solution for Vue 3")],-1),w={href:"https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},y=e("img",{src:"https://img.shields.io/github/license/vuepic/vue3-date-time-picker",alt:"License"},null,-1),V=t(),L={href:"https://www.npmjs.com/package/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},I=e("img",{src:"https://img.shields.io/npm/v/vue3-date-time-picker.svg",alt:"npm"},null,-1),E=t(),C=e("img",{src:"https://img.shields.io/npm/dm/vue3-date-time-picker",alt:"Downloads"},null,-1),R=t(),S={href:"https://github.com/Vuepic/vue3-date-time-picker/issues",target:"_blank",rel:"noopener noreferrer"},T=e("img",{src:"https://img.shields.io/github/issues-raw/vuepic/vue3-date-time-picker",alt:"Open issues"},null,-1),N=t(),B=e("img",{src:"https://github.com/Vuepic/vue3-date-time-picker/actions/workflows/node.js.yml/badge.svg",alt:"CI"},null,-1),j=t(),z=e("img",{src:"https://img.shields.io/github/release-date/vuepic/vue3-date-time-picker",alt:"Release date"},null,-1),D=e("p",null,"Vue 3 date time picker is a lightweight yet powerful and reusable datepicker component. It aims to provide a high level of customization to fit within any project. Offers a great range of features, slots and props, while providing a way to customize for specific needs. Written in typescript to provide a great developer experience.",-1),F=t("Getting started"),G={href:"https://codesandbox.io/s/vue3-date-time-picker-demo-5scsr?file=/src/components/Demo.vue",target:"_blank",rel:"noopener noreferrer"},H=t("CodeSandbox Playground"),M=e("h3",{id:"",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#","aria-hidden":"true"},"#")],-1),O=e("div",{style:{"text-align":"center"},markdown:"1"},[e("h2",{id:"features",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#features","aria-hidden":"true"},"#"),t(" Features")]),e("h4",{id:"single-date-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#single-date-picker","aria-hidden":"true"},"#"),t(" Single date picker")]),e("h4",{id:"range-date-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range-date-picker","aria-hidden":"true"},"#"),t(" Range date picker")]),e("h4",{id:"time-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#time-picker","aria-hidden":"true"},"#"),t(" Time picker")]),e("h4",{id:"month-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#month-picker","aria-hidden":"true"},"#"),t(" Month picker")]),e("h4",{id:"text-input",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#text-input","aria-hidden":"true"},"#"),t(" Text input")]),e("h4",{id:"locale-support",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#locale-support","aria-hidden":"true"},"#"),t(" Locale support")]),e("h4",{id:"week-numbers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#week-numbers","aria-hidden":"true"},"#"),t(" Week numbers")]),e("h4",{id:"dark-and-light-theme",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#dark-and-light-theme","aria-hidden":"true"},"#"),t(" Dark and light theme")]),e("h4",{id:"ssr-support",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ssr-support","aria-hidden":"true"},"#"),t(" SSR support")]),e("h4",{id:"highly-configurable",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#highly-configurable","aria-hidden":"true"},"#"),t(" Highly configurable")]),e("h4",{id:"accessible",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#accessible","aria-hidden":"true"},"#"),t(" Accessible")]),e("h4",{id:"types-included",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#types-included","aria-hidden":"true"},"#"),t(" Types included")])],-1),W={style:{"text-align":"center"},markdown:"1"},A=e("h2",{id:"resources",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#resources","aria-hidden":"true"},"#"),t(" Resources")],-1),P={href:"https://github.com/Vuepic/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},q=t("GitHub"),J={href:"https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},K=t("MIT License"),Q=e("div",{style:{"text-align":"center"},markdown:"1"}," \xA9 Vuepic 2021-2022 ",-1);function U(X,Y){const r=a("ExternalLinkIcon"),s=a("RouterLink");return o(),n(c,null,[e("div",p,[e("p",null,[u,e("a",_,[m,i(r)]),g,e("a",f,[k,i(r)]),b]),v,x,e("p",null,[e("a",w,[y,i(r)]),V,e("a",L,[I,i(r)]),E,C,R,e("a",S,[T,i(r)]),N,B,j,z]),D,e("p",null,[i(s,{to:"/installation/"},{default:d(()=>[F]),_:1})]),e("p",null,[e("a",G,[H,i(r)])])]),M,O,e("div",W,[A,e("p",null,[e("a",P,[q,i(r)])]),e("p",null,[e("a",J,[K,i(r)])])]),Q],64)}var ee=h(l,[["render",U]]);export{ee as default};
    +import{r as a,o,c as n,b as e,a as i,z as d,F as c,B as t}from"./app.bce967f0.js";import{_ as h}from"./plugin-vue_export-helper.21dcd24c.js";const l={},p={style:{"text-align":"center"},markdown:"1"},u=t("\u2B50\uFE0F If you like the component, give it a star on "),_={href:"https://github.com/Vuepic/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},m=t("GitHub"),g=t(" and consider "),f={href:"https://github.com/sponsors/Vuepic",target:"_blank",rel:"noopener noreferrer"},k=t("sponsoring"),b=t(" its development! \u2B50"),v=e("h1",{id:"vue3-date-time-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#vue3-date-time-picker","aria-hidden":"true"},"#"),t(" vue3-date-time-picker")],-1),x=e("h3",{id:"the-most-complete-datepicker-solution-for-vue-3",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#the-most-complete-datepicker-solution-for-vue-3","aria-hidden":"true"},"#"),t(" The most complete datepicker solution for Vue 3")],-1),w={href:"https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},y=e("img",{src:"https://img.shields.io/github/license/vuepic/vue3-date-time-picker",alt:"License"},null,-1),V=t(),L={href:"https://www.npmjs.com/package/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},I=e("img",{src:"https://img.shields.io/npm/v/vue3-date-time-picker.svg",alt:"npm"},null,-1),E=t(),C=e("img",{src:"https://img.shields.io/npm/dm/vue3-date-time-picker",alt:"Downloads"},null,-1),R=t(),S={href:"https://github.com/Vuepic/vue3-date-time-picker/issues",target:"_blank",rel:"noopener noreferrer"},T=e("img",{src:"https://img.shields.io/github/issues-raw/vuepic/vue3-date-time-picker",alt:"Open issues"},null,-1),N=t(),B=e("img",{src:"https://github.com/Vuepic/vue3-date-time-picker/actions/workflows/node.js.yml/badge.svg",alt:"CI"},null,-1),j=t(),z=e("img",{src:"https://img.shields.io/github/release-date/vuepic/vue3-date-time-picker",alt:"Release date"},null,-1),D=e("p",null,"Vue 3 date time picker is a lightweight yet powerful and reusable datepicker component. It aims to provide a high level of customization to fit within any project. Offers a great range of features, slots and props, while providing a way to customize for specific needs. Written in typescript to provide a great developer experience.",-1),F=t("Getting started"),G={href:"https://codesandbox.io/s/vue3-date-time-picker-demo-5scsr?file=/src/components/Demo.vue",target:"_blank",rel:"noopener noreferrer"},H=t("CodeSandbox Playground"),M=e("h3",{id:"",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#","aria-hidden":"true"},"#")],-1),O=e("div",{style:{"text-align":"center"},markdown:"1"},[e("h2",{id:"features",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#features","aria-hidden":"true"},"#"),t(" Features")]),e("h4",{id:"single-date-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#single-date-picker","aria-hidden":"true"},"#"),t(" Single date picker")]),e("h4",{id:"range-date-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#range-date-picker","aria-hidden":"true"},"#"),t(" Range date picker")]),e("h4",{id:"time-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#time-picker","aria-hidden":"true"},"#"),t(" Time picker")]),e("h4",{id:"month-picker",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#month-picker","aria-hidden":"true"},"#"),t(" Month picker")]),e("h4",{id:"text-input",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#text-input","aria-hidden":"true"},"#"),t(" Text input")]),e("h4",{id:"locale-support",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#locale-support","aria-hidden":"true"},"#"),t(" Locale support")]),e("h4",{id:"week-numbers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#week-numbers","aria-hidden":"true"},"#"),t(" Week numbers")]),e("h4",{id:"dark-and-light-theme",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#dark-and-light-theme","aria-hidden":"true"},"#"),t(" Dark and light theme")]),e("h4",{id:"ssr-support",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#ssr-support","aria-hidden":"true"},"#"),t(" SSR support")]),e("h4",{id:"highly-configurable",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#highly-configurable","aria-hidden":"true"},"#"),t(" Highly configurable")]),e("h4",{id:"accessible",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#accessible","aria-hidden":"true"},"#"),t(" Accessible")]),e("h4",{id:"types-included",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#types-included","aria-hidden":"true"},"#"),t(" Types included")])],-1),W={style:{"text-align":"center"},markdown:"1"},A=e("h2",{id:"resources",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#resources","aria-hidden":"true"},"#"),t(" Resources")],-1),P={href:"https://github.com/Vuepic/vue3-date-time-picker",target:"_blank",rel:"noopener noreferrer"},q=t("GitHub"),J={href:"https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE",target:"_blank",rel:"noopener noreferrer"},K=t("MIT License"),Q=e("div",{style:{"text-align":"center"},markdown:"1"}," \xA9 Vuepic 2021-2022 ",-1);function U(X,Y){const r=a("ExternalLinkIcon"),s=a("RouterLink");return o(),n(c,null,[e("div",p,[e("p",null,[u,e("a",_,[m,i(r)]),g,e("a",f,[k,i(r)]),b]),v,x,e("p",null,[e("a",w,[y,i(r)]),V,e("a",L,[I,i(r)]),E,C,R,e("a",S,[T,i(r)]),N,B,j,z]),D,e("p",null,[i(s,{to:"/installation/"},{default:d(()=>[F]),_:1})]),e("p",null,[e("a",G,[H,i(r)])])]),M,O,e("div",W,[A,e("p",null,[e("a",P,[q,i(r)])]),e("p",null,[e("a",J,[K,i(r)])])]),Q],64)}var ee=h(l,[["render",U]]);export{ee as default};
    diff --git a/docs/assets/index.html.601c32cc.js b/docs/assets/index.html.ded16fc5.js
    similarity index 99%
    rename from docs/assets/index.html.601c32cc.js
    rename to docs/assets/index.html.ded16fc5.js
    index fd84455..6f575ac 100644
    --- a/docs/assets/index.html.601c32cc.js
    +++ b/docs/assets/index.html.ded16fc5.js
    @@ -1,4 +1,4 @@
    -import{r as p,o as l,c as u,a,z as t,F as r,Q as c,b as n,B as s}from"./app.216eec89.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={},m=c(`

    Installation

    Install the component using the preferred package manager

    yarn add vue3-date-time-picker
    +import{r as p,o as l,c as u,a,z as t,F as r,Q as c,b as n,B as s}from"./app.bce967f0.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";const k={},m=c(`

    Installation

    Install the component using the preferred package manager

    yarn add vue3-date-time-picker
     
     # or
     
    diff --git a/docs/assets/vue3-date-time-picker.esm.37fef68f.js b/docs/assets/vue3-date-time-picker.esm.37fef68f.js
    new file mode 100644
    index 0000000..8f6b4a5
    --- /dev/null
    +++ b/docs/assets/vue3-date-time-picker.esm.37fef68f.js
    @@ -0,0 +1,3 @@
    +import{b as A,e as qe,f as q,g as Ft,h as N,o as p,c as S,i as v,j as U,n as ne,k as s,w as J,l as z,m as on,p as gt,t as Et,q as mt,s as wt,v as fn,x as ve,F as ae,y as he,a as We,z as ee,T as ze,A as St,B as Ve,C as ua,D as De,E as $e,G as ia,H as Yn,I as qt,J as At,K as yn,L as la,M as ot,N as ut,O as sa,P as ca}from"./app.bce967f0.js";function I(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Y(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function L(e){Y(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function ct(e,t){Y(2,arguments);var n=L(e),a=I(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}function Le(e,t){Y(2,arguments);var n=L(e),a=I(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var r=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+a+1,0);var l=o.getDate();return r>=l?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function En(e,t){if(Y(2,arguments),!t||typeof t!="object")return new Date(NaN);var n=t.years?I(t.years):0,a=t.months?I(t.months):0,r=t.weeks?I(t.weeks):0,o=t.days?I(t.days):0,l=t.hours?I(t.hours):0,c=t.minutes?I(t.minutes):0,d=t.seconds?I(t.seconds):0,h=L(e),O=a||n?Le(h,a+n*12):h,T=o||r?ct(O,o+r*7):O,_=c+l*60,M=d+_*60,m=M*1e3,F=new Date(T.getTime()+m);return F}function da(e,t){Y(2,arguments);var n=L(e).getTime(),a=I(t);return new Date(n+a)}function Rn(e,t){Y(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.weekStartsOn,o=r==null?0:I(r),l=n.weekStartsOn==null?o:I(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=L(e),d=c.getDay(),h=(d=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function ma(e){Y(1,arguments);var t=fa(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var a=Rt(n);return a}function Wt(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function hn(e){Y(1,arguments);var t=L(e);return t.setHours(0,0,0,0),t}var va=864e5;function pa(e,t){Y(2,arguments);var n=hn(e),a=hn(t),r=n.getTime()-Wt(n),o=a.getTime()-Wt(a);return Math.round((r-o)/va)}function Wn(e,t){Y(2,arguments);var n=I(t);return Le(e,n*12)}function Vn(e){return Y(1,arguments),e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ot(e){if(Y(1,arguments),!Vn(e)&&typeof e!="number")return!1;var t=L(e);return!isNaN(Number(t))}var ya={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ha=function(e,t,n){var a,r=ya[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a},ga=ha;function Gt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}var wa={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ba={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Da={date:Gt({formats:wa,defaultWidth:"full"}),time:Gt({formats:ba,defaultWidth:"full"}),dateTime:Gt({formats:_a,defaultWidth:"full"})},ka=Da,Ta={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xa=function(e,t,n,a){return Ta[e]},Ca=xa;function Tt(e){return function(t,n){var a=n||{},r=a.context?String(a.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,c=a.width?String(a.width):l;o=e.formattingValues[c]||e.formattingValues[l]}else{var d=e.defaultWidth,h=a.width?String(a.width):e.defaultWidth;o=e.values[h]||e.values[d]}var O=e.argumentCallback?e.argumentCallback(t):t;return o[O]}}var Sa={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Oa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ma={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Pa={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Na={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ia={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Aa=function(e,t){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ba={ordinalNumber:Aa,era:Tt({values:Sa,defaultWidth:"wide"}),quarter:Tt({values:Oa,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Tt({values:Ma,defaultWidth:"wide"}),day:Tt({values:Pa,defaultWidth:"wide"}),dayPeriod:Tt({values:Na,defaultWidth:"wide",formattingValues:Ia,defaultFormattingWidth:"wide"})},Ua=Ba;function xt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;var l=o[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?Ya(c,function(T){return T.test(l)}):$a(c,function(T){return T.test(l)}),h;h=e.valueCallback?e.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;var O=t.slice(l.length);return{value:h,rest:O}}}function $a(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Ya(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;var r=a[0],o=t.match(e.parsePattern);if(!o)return null;var l=e.valueCallback?e.valueCallback(o[0]):o[0];l=n.valueCallback?n.valueCallback(l):l;var c=t.slice(r.length);return{value:l,rest:c}}}var Ra=/^(\d+)(th|st|nd|rd)?/i,Wa=/\d+/i,Va={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ha={any:[/^b/i,/^(a|c)/i]},Fa={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ja={any:[/1/i,/2/i,/3/i,/4/i]},La={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},qa={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ga={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ka={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xa={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},za={ordinalNumber:Ea({matchPattern:Ra,parsePattern:Wa,valueCallback:function(e){return parseInt(e,10)}}),era:xt({matchPatterns:Va,defaultMatchWidth:"wide",parsePatterns:Ha,defaultParseWidth:"any"}),quarter:xt({matchPatterns:Fa,defaultMatchWidth:"wide",parsePatterns:ja,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:xt({matchPatterns:La,defaultMatchWidth:"wide",parsePatterns:qa,defaultParseWidth:"any"}),day:xt({matchPatterns:Ga,defaultMatchWidth:"wide",parsePatterns:Ka,defaultParseWidth:"any"}),dayPeriod:xt({matchPatterns:Qa,defaultMatchWidth:"any",parsePatterns:Xa,defaultParseWidth:"any"})},Ja=za,Za={code:"en-US",formatDistance:ga,formatLong:ka,formatRelative:Ca,localize:Ua,match:Ja,options:{weekStartsOn:0,firstWeekContainsDate:1}},Hn=Za;function Fn(e,t){Y(2,arguments);var n=I(t);return da(e,-n)}var er=864e5;function tr(e){Y(1,arguments);var t=L(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=t.getTime(),r=n-a;return Math.floor(r/er)+1}function bt(e){Y(1,arguments);var t=1,n=L(e),a=n.getUTCDay(),r=(a=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function nr(e){Y(1,arguments);var t=jn(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=bt(n);return a}var ar=6048e5;function Ln(e){Y(1,arguments);var t=L(e),n=bt(t).getTime()-nr(t).getTime();return Math.round(n/ar)+1}function dt(e,t){Y(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.weekStartsOn,o=r==null?0:I(r),l=n.weekStartsOn==null?o:I(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=L(e),d=c.getUTCDay(),h=(d=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(a+1,0,d),h.setUTCHours(0,0,0,0);var O=dt(h,t),T=new Date(0);T.setUTCFullYear(a,0,d),T.setUTCHours(0,0,0,0);var _=dt(T,t);return n.getTime()>=O.getTime()?a+1:n.getTime()>=_.getTime()?a:a-1}function rr(e,t){Y(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.firstWeekContainsDate,o=r==null?1:I(r),l=n.firstWeekContainsDate==null?o:I(n.firstWeekContainsDate),c=mn(e,t),d=new Date(0);d.setUTCFullYear(c,0,l),d.setUTCHours(0,0,0,0);var h=dt(d,t);return h}var or=6048e5;function qn(e,t){Y(1,arguments);var n=L(e),a=dt(n,t).getTime()-rr(n,t).getTime();return Math.round(a/or)+1}function Z(e,t){for(var n=e<0?"-":"",a=Math.abs(e).toString();a.length0?n:1-n;return Z(t==="yy"?a%100:a,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):Z(n+1,2)},d:function(e,t){return Z(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return Z(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Z(e.getUTCHours(),t.length)},m:function(e,t){return Z(e.getUTCMinutes(),t.length)},s:function(e,t){return Z(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,a=e.getUTCMilliseconds(),r=Math.floor(a*Math.pow(10,n-3));return Z(r,t.length)}},Qe=ur,ht={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ir={G:function(e,t,n){var a=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var a=e.getUTCFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return Qe.y(e,t)},Y:function(e,t,n,a){var r=mn(e,a),o=r>0?r:1-r;if(t==="YY"){var l=o%100;return Z(l,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):Z(o,t.length)},R:function(e,t){var n=jn(e);return Z(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return Z(n,t.length)},Q:function(e,t,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return Z(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return Z(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){var a=e.getUTCMonth();switch(t){case"M":case"MM":return Qe.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){var a=e.getUTCMonth();switch(t){case"L":return String(a+1);case"LL":return Z(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){var r=qn(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):Z(r,t.length)},I:function(e,t,n){var a=Ln(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):Z(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Qe.d(e,t)},D:function(e,t,n){var a=tr(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):Z(a,t.length)},E:function(e,t,n){var a=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){var r=e.getUTCDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Z(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){var r=e.getUTCDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Z(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var a=e.getUTCDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return Z(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){var a=e.getUTCHours(),r=a/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var a=e.getUTCHours(),r;switch(a===12?r=ht.noon:a===0?r=ht.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var a=e.getUTCHours(),r;switch(a>=17?r=ht.evening:a>=12?r=ht.afternoon:a>=4?r=ht.morning:r=ht.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var a=e.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Qe.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Qe.H(e,t)},K:function(e,t,n){var a=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):Z(a,t.length)},k:function(e,t,n){var a=e.getUTCHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):Z(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qe.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Qe.s(e,t)},S:function(e,t){return Qe.S(e,t)},X:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return wn(o);case"XXXX":case"XX":return at(o);case"XXXXX":case"XXX":default:return at(o,":")}},x:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"x":return wn(o);case"xxxx":case"xx":return at(o);case"xxxxx":case"xxx":default:return at(o,":")}},O:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+gn(o,":");case"OOOO":default:return"GMT"+at(o,":")}},z:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+gn(o,":");case"zzzz":default:return"GMT"+at(o,":")}},t:function(e,t,n,a){var r=a._originalDate||e,o=Math.floor(r.getTime()/1e3);return Z(o,t.length)},T:function(e,t,n,a){var r=a._originalDate||e,o=r.getTime();return Z(o,t.length)}};function gn(e,t){var n=e>0?"-":"+",a=Math.abs(e),r=Math.floor(a/60),o=a%60;if(o===0)return n+String(r);var l=t||"";return n+String(r)+l+Z(o,2)}function wn(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Z(Math.abs(e)/60,2)}return at(e,t)}function at(e,t){var n=t||"",a=e>0?"-":"+",r=Math.abs(e),o=Z(Math.floor(r/60),2),l=Z(r%60,2);return a+o+n+l}var lr=ir;function bn(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Gn(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function sr(e,t){var n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return bn(e,t);var o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",bn(a,t)).replace("{{time}}",Gn(r,t))}var cr={p:Gn,P:sr},Kn=cr,dr=["D","DD"],fr=["YY","YYYY"];function Qn(e){return dr.indexOf(e)!==-1}function Xn(e){return fr.indexOf(e)!==-1}function Vt(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var mr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pr=/^'([^]*?)'?$/,yr=/''/g,hr=/[a-zA-Z]/;function _n(e,t,n){Y(2,arguments);var a=String(t),r=n||{},o=r.locale||Hn,l=o.options&&o.options.firstWeekContainsDate,c=l==null?1:I(l),d=r.firstWeekContainsDate==null?c:I(r.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=o.options&&o.options.weekStartsOn,O=h==null?0:I(h),T=r.weekStartsOn==null?O:I(r.weekStartsOn);if(!(T>=0&&T<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var _=L(e);if(!Ot(_))throw new RangeError("Invalid time value");var M=Wt(_),m=Fn(_,M),F={firstWeekContainsDate:d,weekStartsOn:T,locale:o,_originalDate:_},u=a.match(vr).map(function(b){var k=b[0];if(k==="p"||k==="P"){var y=Kn[k];return y(b,o.formatLong,F)}return b}).join("").match(mr).map(function(b){if(b==="''")return"'";var k=b[0];if(k==="'")return gr(b);var y=lr[k];if(y)return!r.useAdditionalWeekYearTokens&&Xn(b)&&Vt(b,t,e),!r.useAdditionalDayOfYearTokens&&Qn(b)&&Vt(b,t,e),y(m,b,o.localize,F);if(k.match(hr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return b}).join("");return u}function gr(e){return e.match(pr)[1].replace(yr,"'")}function wr(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function br(e){Y(1,arguments);var t=L(e),n=t.getDay();return n}function _r(e){Y(1,arguments);var t=L(e),n=t.getFullYear(),a=t.getMonth(),r=new Date(0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function Ae(e){Y(1,arguments);var t=L(e),n=t.getHours();return n}var Dr=6048e5;function kr(e){Y(1,arguments);var t=L(e),n=Rt(t).getTime()-ma(t).getTime();return Math.round(n/Dr)+1}function Be(e){Y(1,arguments);var t=L(e),n=t.getMinutes();return n}function de(e){Y(1,arguments);var t=L(e),n=t.getMonth();return n}function Xe(e){Y(1,arguments);var t=L(e),n=t.getSeconds();return n}function ye(e){return Y(1,arguments),L(e).getFullYear()}function Tr(e,t){Y(2,arguments);var n=I(t);return ct(e,-n)}function It(e,t){Y(2,arguments);var n=I(t);return Le(e,-n)}function xr(e,t){if(Y(2,arguments),!t||typeof t!="object")return new Date(NaN);var n=t.years?I(t.years):0,a=t.months?I(t.months):0,r=t.weeks?I(t.weeks):0,o=t.days?I(t.days):0,l=t.hours?I(t.hours):0,c=t.minutes?I(t.minutes):0,d=t.seconds?I(t.seconds):0,h=It(e,a+n*12),O=Tr(h,o+r*7),T=c+l*60,_=d+T*60,M=_*1e3,m=new Date(O.getTime()-M);return m}function zn(e,t){Y(2,arguments);var n=L(e),a=L(t);return n.getTime()>a.getTime()}function Jn(e,t){Y(2,arguments);var n=L(e),a=L(t);return n.getTime()=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=L(e),h=I(t),O=d.getUTCDay(),T=h%7,_=(T+7)%7,M=(_0,a=n?t:1-t,r;if(a<=50)r=e||100;else{var o=a+50,l=Math.floor(o/100)*100,c=e>=o%100;r=e+l-(c?100:0)}return n?r:1-r}var Ar=[31,28,31,30,31,30,31,31,30,31,30,31],Br=[31,29,31,30,31,30,31,31,30,31,30,31];function Tn(e){return e%400===0||e%4===0&&e%100!==0}var Ur={G:{priority:140,parse:function(e,t,n,a){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,a){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,a){var r=function(o){return{year:o,isTwoDigitYear:t==="yy"}};switch(t){case"y":return ue(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return ue(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,a){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=kn(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var l=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,a){var r=function(o){return{year:o,isTwoDigitYear:t==="YY"}};switch(t){case"Y":return ue(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return ue(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,a){var r=mn(e,a);if(n.isTwoDigitYear){var o=kn(n.year,r);return e.setUTCFullYear(o,0,a.firstWeekContainsDate),e.setUTCHours(0,0,0,0),dt(e,a)}var l=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(l,0,a.firstWeekContainsDate),e.setUTCHours(0,0,0,0),dt(e,a)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,a){return Bt(t==="R"?4:t.length,e)},set:function(e,t,n,a){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),bt(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,a){return Bt(t==="u"?4:t.length,e)},set:function(e,t,n,a){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,a){switch(t){case"Q":case"QQ":return ue(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,a){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,a){switch(t){case"q":case"qq":return ue(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,a){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,a){var r=function(o){return o-1};switch(t){case"M":return re(ie.month,e,r);case"MM":return ue(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,a){var r=function(o){return o-1};switch(t){case"L":return re(ie.month,e,r);case"LL":return ue(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,a){switch(t){case"w":return re(ie.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return dt(Mr(e,n,a),a)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,a){switch(t){case"I":return re(ie.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return bt(Or(e,n,a),a)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,a){switch(t){case"d":return re(ie.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ue(t.length,e)}},validate:function(e,t,n){var a=e.getUTCFullYear(),r=Tn(a),o=e.getUTCMonth();return r?t>=1&&t<=Br[o]:t>=1&&t<=Ar[o]},set:function(e,t,n,a){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,a){switch(t){case"D":case"DD":return re(ie.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ue(t.length,e)}},validate:function(e,t,n){var a=e.getUTCFullYear(),r=Tn(a);return r?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,a){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,a){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Kt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,a){var r=function(o){var l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(t){case"e":case"ee":return ue(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Kt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,a){var r=function(o){var l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(t){case"c":case"cc":return ue(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Kt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,a){var r=function(o){return o===0?7:o};switch(t){case"i":case"ii":return ue(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,a){return e=Sr(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,a){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Qt(n),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,n,a){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Qt(n),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,n,a){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Qt(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,a){switch(t){case"h":return re(ie.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,a){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):!r&&n===12?e.setUTCHours(0,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,a){switch(t){case"H":return re(ie.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,a){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,a){switch(t){case"K":return re(ie.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,a){switch(t){case"k":return re(ie.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,a){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,a){switch(t){case"m":return re(ie.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,a){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,a){switch(t){case"s":return re(ie.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,a){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,a){var r=function(o){return Math.floor(o*Math.pow(10,-t.length+3))};return ue(t.length,e,r)},set:function(e,t,n,a){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,a){switch(t){case"X":return Ee(Ye.basicOptionalMinutes,e);case"XX":return Ee(Ye.basic,e);case"XXXX":return Ee(Ye.basicOptionalSeconds,e);case"XXXXX":return Ee(Ye.extendedOptionalSeconds,e);case"XXX":default:return Ee(Ye.extended,e)}},set:function(e,t,n,a){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,a){switch(t){case"x":return Ee(Ye.basicOptionalMinutes,e);case"xx":return Ee(Ye.basic,e);case"xxxx":return Ee(Ye.basicOptionalSeconds,e);case"xxxxx":return Ee(Ye.extendedOptionalSeconds,e);case"xxx":default:return Ee(Ye.extended,e)}},set:function(e,t,n,a){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,a){return Dn(e)},set:function(e,t,n,a){return[new Date(n*1e3),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,a){return Dn(e)},set:function(e,t,n,a){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},$r=Ur,Yr=10,Er=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Rr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wr=/^'([^]*?)'?$/,Vr=/''/g,Hr=/\S/,Fr=/[a-zA-Z]/;function jr(e,t,n,a){Y(3,arguments);var r=String(e),o=String(t),l=a||{},c=l.locale||Hn;if(!c.match)throw new RangeError("locale must contain match property");var d=c.options&&c.options.firstWeekContainsDate,h=d==null?1:I(d),O=l.firstWeekContainsDate==null?h:I(l.firstWeekContainsDate);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var T=c.options&&c.options.weekStartsOn,_=T==null?0:I(T),M=l.weekStartsOn==null?_:I(l.weekStartsOn);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(o==="")return r===""?L(n):new Date(NaN);var m={firstWeekContainsDate:O,weekStartsOn:M,locale:c},F=[{priority:Yr,subPriority:-1,set:Lr,index:0}],u,b=o.match(Rr).map(function(i){var g=i[0];if(g==="p"||g==="P"){var P=Kn[g];return P(i,c.formatLong,m)}return i}).join("").match(Er),k=[];for(u=0;u0&&Hr.test(r))return new Date(NaN);var w=F.map(function(i){return i.priority}).sort(function(i,g){return g-i}).filter(function(i,g,P){return P.indexOf(i)===g}).map(function(i){return F.filter(function(g){return g.priority===i}).sort(function(g,P){return P.subPriority-g.subPriority})}).map(function(i){return i[0]}),B=L(n);if(isNaN(B))return new Date(NaN);var W=Fn(B,Wt(B)),te={};for(u=0;ue.length)&&(t=e.length);for(var n=0,a=new Array(t);n=l.getTime())&&(!r[1]||r[1].getTime()>=l.getTime())&&a:r.getTime()>=l.getTime()&&a}return a},Mn=function(e){var t=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(t).toISOString()};function it(e){return function(t){if(Array.isArray(t))return un(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||ra(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
    +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var mo=function(e,t,n,a){var r=[],o=new Date(t,e),l=new Date(t,e+1,0);return function c(d){var h=function(O,T,_){for(var M=new Date(JSON.parse(JSON.stringify(O))),m=[],F=0;F<7;F++){var u=ct(M,F),b=de(u)!==T;m.push({text:_&&b?"":u.getDate(),value:u,current:!b})}return m}(d,e,a);r.push({days:h}),r[r.length-1].days.some(function(O){return ce(Ze(O.value),Ze(l))})||c(ct(d,7))}(Rn(o,{weekStartsOn:n})),r},vo=function(e){return function(t){for(var n="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=a.length,o=0;o0&&a.instance!==0}}),j=N(function(){return F.value?{height:"".concat(a.modeHeight,"px")}:null}),E=function(){r.value=null};return function(C,R){return p(),S("div",{class:ne(s(y))},[A("div",{style:St(s(j))},[s(F)?v("",!0):(p(),S("div",{key:0,class:ne(s(u)),role:"grid","aria-label":"Calendar wrapper",onWheel:R[1]||(R[1]=on(function(f){return C.$emit("handleScroll",f)},["prevent"]))},[A("div",bo,[e.weekNumbers?(p(),S("div",_o,ve(e.weekNumName),1)):v("",!0),(p(!0),S(ae,null,he(s(m),function(f,x){return p(),S("div",{class:"dp__calendar_header_item",role:"gridcell",key:x},[C.$slots["calendar-header"]?U(C.$slots,"calendar-header",{key:0,day:f,index:x}):v("",!0),C.$slots["calendar-header"]?v("",!0):(p(),S(ae,{key:1},[Ve(ve(f),1)],64))])}),128))]),Do,We(ze,{name:h.value,css:!!s(d)},{default:ee(function(){return[c.value?(p(),S("div",ko,[(p(!0),S(ae,null,he(e.mappedDates,function(f,x){return p(),S("div",{class:"dp__calendar_row",role:"row",key:x},[e.weekNumbers?(p(),S("div",To,[A("div",xo,ve(e.getWeekNum(f.days)),1)])):v("",!0),(p(!0),S(ae,null,he(f.days,function(D,w){return p(),S("div",{role:"gridcell",class:"dp__calendar_item",ref_for:!0,ref:function(B){B&&(l.value[w+x]=B)},key:w+x,"aria-selected":D.classData.dp__active_date||D.classData.dp__range_start||D.classData.dp__range_start,"aria-disabled":D.classData.dp__cell_disabled,tabindex:"0",onClick:function(B){return C.$emit("selectDate",D)},onKeydown:J(function(B){return C.$emit("selectDate",D)},["enter"]),onMouseover:function(B){return function(W,te){var fe,me;if(n("setHoverDate",W),(fe=W.marker)!==null&&fe!==void 0&&(me=fe.tooltip)!==null&&me!==void 0&&me.length){var i=xe(l.value[te]);if(i){var g=i.getBoundingClientRect(),P=g.width,Q=g.height;o.value={bottom:"".concat(Q,"px"),left:"".concat(P/2,"px"),transform:"translateX(-50%)"},r.value=W.value}}}(D,w+x)},onMouseleave:E},[A("div",{class:ne(["dp__cell_inner",D.classData])},[C.$slots.day?U(C.$slots,"day",{key:0,day:+D.text,date:D.value}):v("",!0),C.$slots.day?v("",!0):(p(),S(ae,{key:1},[Ve(ve(D.text),1)],64)),D.marker?(p(),S("div",{key:2,class:ne(s(b)(D.marker)),style:St(D.marker.color?{backgroundColor:D.marker.color}:{})},null,6)):v("",!0),s(k)(D.value)?(p(),S("div",{key:3,class:"dp__marker_tooltip",style:St(o.value)},[A("div",{class:"dp__tooltip_content",onClick:R[0]||(R[0]=on(function(){},["stop"]))},[(p(!0),S(ae,null,he(D.marker.tooltip,function(B,W){return p(),S("div",{key:W,class:"dp__tooltip_text"},[C.$slots["marker-tooltip"]?U(C.$slots,"marker-tooltip",{key:0,tooltop:B,day:D.value}):v("",!0),C.$slots["marker-tooltip"]?v("",!0):(p(),S(ae,{key:1},[A("div",{class:"dp__tooltip_mark",style:St(B.color?{backgroundColor:B.color}:{})},null,4),A("div",null,ve(B.text),1)],64))])}),128)),So])],4)):v("",!0)],2)],40,Co)}),128))])}),128))])):v("",!0)]}),_:3},8,["name","css"])],34))],4)],2)}}});function Pt(e){return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(e)}var Nn=function(e,t){return t},rt=function(e){return Array.isArray(e)},Ie=function(e){return Array.isArray(e)},Yt=function(e){return Array.isArray(e)&&e.length===2},In=function(e){return typeof e=="string"},Mo={class:"dp__selection_preview"},Po={class:"dp__action_buttons"},No=["onKeydown"],Io=qe({props:{selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},internalModelValue:{type:[Date,Array],default:null},range:{type:Boolean,default:!1},previewFormat:{type:[String,Function],default:function(){return""}},inline:{type:Boolean,default:!1},monthPicker:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},multiCalendars:{type:Number,default:0},calendarWidth:{type:Number,default:0},menuMount:{type:Boolean,default:!1},customProps:{type:Object,default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},enableTimePicker:{type:Boolean,default:!0},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},multiDates:{type:Boolean,default:!1}},emits:["closePicker","selectDate"],setup:function(e,t){var n=t.emit,a=e,r=gt("formatLocale"),o=N(function(){return{dp__action:!0,dp__select:!0,dp__action_disabled:!l.value||!c.value}}),l=N(function(){return!a.enableTimePicker||dn(a.internalModelValue,a.maxTime,a.minTime)}),c=N(function(){return!a.monthPicker||(T=a.internalModelValue,_=a.minDate,M=a.maxDate,m=!0,_&&M&&(m=Te(new Date(T),new Date(_))&&_e(new Date(T),new Date(M))),_&&(m=Te(new Date(T),new Date(_))),M&&(m=_e(new Date(T),new Date(M))),m);var T,_,M,m}),d=function(T){return Ht(T,a.previewFormat,r==null?void 0:r.value)},h=N(function(){return a.internalModelValue&&a.menuMount?typeof a.previewFormat=="string"?rt(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?a.multiCalendars>0?"".concat(d(a.internalModelValue[0])," - ").concat(d(a.internalModelValue[1])):[d(a.internalModelValue[0]),d(a.internalModelValue[1])]:a.multiDates?a.internalModelValue.map(function(T){return"".concat(d(T))}):"".concat(d(a.internalModelValue[0])," -"):Ht(a.internalModelValue,a.previewFormat,r==null?void 0:r.value):a.timePicker?a.previewFormat(cn(a.internalModelValue)):a.monthPicker?a.previewFormat(sn(a.internalModelValue)):a.previewFormat(a.internalModelValue):""}),O=function(){l.value&&c.value&&n("selectDate")};return function(T,_){return p(),S("div",{class:"dp__action_row",style:St(e.calendarWidth?{width:"".concat(e.calendarWidth,"px")}:{})},[A("div",Mo,[T.$slots["action-preview"]?U(T.$slots,"action-preview",{key:0,value:e.internalModelValue}):v("",!0),T.$slots["action-preview"]?v("",!0):(p(),S(ae,{key:1},[Array.isArray(s(h))?v("",!0):(p(),S(ae,{key:0},[Ve(ve(s(h)),1)],64)),Array.isArray(s(h))?(p(!0),S(ae,{key:1},he(s(h),function(M,m){return p(),S("div",{key:m},ve(M),1)}),128)):v("",!0)],64))]),A("div",Po,[T.$slots["action-select"]?U(T.$slots,"action-select",{key:0,value:e.internalModelValue}):v("",!0),T.$slots["action-select"]?v("",!0):(p(),S(ae,{key:1},[e.inline?v("",!0):(p(),S("span",{key:0,class:"dp__action dp__cancel",tabindex:"0",onClick:_[0]||(_[0]=function(M){return T.$emit("closePicker")}),onKeydown:_[1]||(_[1]=J(function(M){return T.$emit("closePicker")},["enter"]))},ve(e.cancelText),33)),A("span",{class:ne(s(o)),tabindex:"0",onKeydown:J(O,["enter"]),onClick:O},ve(e.selectText),43,No)],64))])],4)}}});function An(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function Bn(e){for(var t=1;t+a.maxValue,y=!!a.minValue&&+b<+a.minValue;return k||y},m=function(){var b=xe(o);if(b){var k=xe(l);k&&(k.scrollTop=b.offsetTop-k.offsetTop-(k.getBoundingClientRect().height/2-b.getBoundingClientRect().height))}},F=function(b){a.disabledValues.some(function(k){return k===b})||a.minValue&&!(+a.minValue<=b)||a.maxValue&&!(+a.maxValue>=b)||(n("update:modelValue",b),n("selected"))},u=function(){n("toggle"),n("reset-flow")};return function(b,k){return p(),S("div",{ref_key:"gridWrapRef",ref:l,class:ne(s(h)),role:"dialog",tabindex:"0"},[A("div",Ao,[A("div",Bo,[U(b.$slots,"header")]),(p(!0),S(ae,null,he(s(T),function(y,j){return p(),S("div",{class:"dp__overlay_row",key:s(vo)(j),role:"row"},[(p(!0),S(ae,null,he(y,function(E){return p(),S("div",{role:"gridcell",class:ne(s(O)),key:E.value,"aria-selected":E.value===e.modelValue&&!e.disabledValues.includes(E.value),"aria-disabled":E.className.dp__overlay_cell_disabled,ref_for:!0,ref:function(C){E.value!==e.modelValue||e.disabledValues.includes(E.value)||(o.value=C)},tabindex:"0",onClick:function(C){return F(E.value)},onKeydown:J(function(C){return F(E.value)},["enter"])},[A("div",{class:ne(E.className)},[b.$slots.item?U(b.$slots,"item",{key:0,item:E}):v("",!0),b.$slots.item?v("",!0):(p(),S(ae,{key:1},[Ve(ve(E.text),1)],64))],2)],42,Uo)}),128))])}),128)),b.$slots["button-icon"]?(p(),S("div",{key:0,role:"button","aria-label":"Toggle overlay",class:ne(s(_)),tabindex:"0",onClick:u,onKeydown:J(u,["enter"])},[U(b.$slots,"button-icon")],42,$o)):v("",!0)])],2)}}}),vn=function(){var e=gt("transitions");return{transitionName:N(function(){return function(t){return e!=null&&e.value?t?e.value.open:e.value.close:""}}),showTransition:!(e==null||!e.value)}},Yo={key:0,class:"dp__time_input"},Eo=["onKeydown"],Ro=["onKeydown"],Wo=["onKeydown"],Vo={key:2},Ho=["onKeydown"],Fo=qe({props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},filters:{type:Object,default:function(){return{}}},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["setHours","setMinutes","update:hours","update:minutes","update:seconds","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=q(!1),l=q(!1),c=q(!1),d=q("AM"),h=vn(),O=h.transitionName,T=h.showTransition,_=N(function(){return{dp__time_col:!0,dp__time_col_reg:!r.enableSeconds&&r.is24,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24}}),M=N(function(){var f=C(r.hours);return{text:f<10?"0".concat(f):"".concat(f),value:f}}),m=N(function(){return{text:r.minutes<10?"0".concat(r.minutes):"".concat(r.minutes),value:r.minutes}}),F=N(function(){return{text:r.seconds<10?"0".concat(r.seconds):"".concat(r.seconds),value:r.seconds}}),u=function(f,x){return function(D,w){for(var B=[],W=0;W1&&arguments[1]!==void 0?arguments[1]:3,me=[],i=0;i1&&arguments[1]!==void 0)||arguments[1],D=j(f,x),w=D[f];a("update:".concat(f),w)},C=function(f){return r.is24?f:(d.value=f>=12?"PM":"AM",[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][f])},R=function(){d.value==="PM"?(d.value="AM",a("update:hours",r.hours-12)):(d.value="PM",a("update:hours",r.hours+12))};return n({openChildCmp:function(f){switch(f){case"hours":o.value=!0;break;case"minutes":l.value=!0;break;case"seconds":c.value=!0}}}),function(f,x){return e.disabled?v("",!0):(p(),S("div",Yo,[A("div",{class:ne(s(_))},[A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment hours",tabindex:"0",onKeydown:x[0]||(x[0]=J(function(D){return E("hours")},["enter"])),onClick:x[1]||(x[1]=function(D){return E("hours")})},[f.$slots["arrow-up"]?U(f.$slots,"arrow-up",{key:0}):v("",!0),f.$slots["arrow-up"]?v("",!0):(p(),z(s(Xt),{key:1}))],32),A("div",{role:"button","aria-label":"Open hours overlay",class:ne(e.noHoursOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:J(b,["enter"]),onClick:b},[f.$slots.hours?U(f.$slots,"hours",{key:0,text:s(M).text,value:s(M).value}):v("",!0),f.$slots.hours?v("",!0):(p(),S(ae,{key:1},[Ve(ve(s(M).text),1)],64))],42,Eo),A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement hours",tabindex:"0",onKeydown:x[2]||(x[2]=J(function(D){return E("hours",!1)},["enter"])),onClick:x[3]||(x[3]=function(D){return E("hours",!1)})},[f.$slots["arrow-down"]?U(f.$slots,"arrow-down",{key:0}):v("",!0),f.$slots["arrow-down"]?v("",!0):(p(),z(s(zt),{key:1}))],32)],2),A("div",{class:ne(s(_))},":",2),A("div",{class:ne(s(_))},[A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment minutes",tabindex:"0",onKeydown:x[4]||(x[4]=J(function(D){return E("minutes")},["enter"])),onClick:x[5]||(x[5]=function(D){return E("minutes")})},[f.$slots["arrow-up"]?U(f.$slots,"arrow-up",{key:0}):v("",!0),f.$slots["arrow-up"]?v("",!0):(p(),z(s(Xt),{key:1}))],32),A("div",{"aria-label":"Open minutes overlay",role:"button",class:ne(e.noMinutesOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:J(k,["enter"]),onClick:k},[f.$slots.minutes?U(f.$slots,"minutes",{key:0,text:s(m).text,value:s(m).value}):v("",!0),f.$slots.minutes?v("",!0):(p(),S(ae,{key:1},[Ve(ve(s(m).text),1)],64))],42,Ro),A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement minutes",tabindex:"0",onKeydown:x[6]||(x[6]=J(function(D){return E("minutes",!1)},["enter"])),onClick:x[7]||(x[7]=function(D){return E("minutes",!1)})},[f.$slots["arrow-down"]?U(f.$slots,"arrow-down",{key:0}):v("",!0),f.$slots["arrow-down"]?v("",!0):(p(),z(s(zt),{key:1}))],32)],2),e.enableSeconds?(p(),S("div",{key:0,class:ne(s(_))},":",2)):v("",!0),e.enableSeconds?(p(),S("div",{key:1,class:ne(s(_))},[A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment seconds",tabindex:"0",onKeydown:x[8]||(x[8]=J(function(D){return E("seconds")},["enter"])),onClick:x[9]||(x[9]=function(D){return E("seconds")})},[f.$slots["arrow-up"]?U(f.$slots,"arrow-up",{key:0}):v("",!0),f.$slots["arrow-up"]?v("",!0):(p(),z(s(Xt),{key:1}))],32),A("div",{role:"button","aria-label":"Open seconds overlay",class:ne(e.noSecondsOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:J(y,["enter"]),onClick:y},[f.$slots.seconds?U(f.$slots,"hours",{key:0,text:s(F).text,value:s(F).value}):v("",!0),f.$slots.seconds?v("",!0):(p(),S(ae,{key:1},[Ve(ve(s(F).text),1)],64))],42,Wo),A("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement seconds",tabindex:"0",onKeydown:x[10]||(x[10]=J(function(D){return E("seconds",!1)},["enter"])),onClick:x[11]||(x[11]=function(D){return E("seconds",!1)})},[f.$slots["arrow-down"]?U(f.$slots,"arrow-down",{key:0}):v("",!0),f.$slots["arrow-down"]?v("",!0):(p(),z(s(zt),{key:1}))],32)],2)):v("",!0),e.is24?v("",!0):(p(),S("div",Vo,[f.$slots["am-pm-button"]?U(f.$slots,"am-pm-button",{key:0,toggle:R,value:d.value}):v("",!0),f.$slots["am-pm-button"]?v("",!0):(p(),S("button",{key:1,class:"dp__pm_am_button",role:"button","aria-label":"Switch AM/PM mode",tabindex:"0",onClick:R,onKeydown:J(R,["enter"])},ve(d.value),41,Ho))])),We(ze,{name:s(O)(o.value),css:s(T)},{default:ee(function(){return[o.value?(p(),z(lt,{key:0,items:u(e.is24?24:12,e.hoursGridIncrement),"disabled-values":e.filters.times.hours,"onUpdate:modelValue":x[12]||(x[12]=function(D){return f.$emit("update:hours",D)}),onSelected:b,onToggle:b,onResetFlow:x[13]||(x[13]=function(D){return f.$emit("reset-flow")})},De({"button-icon":ee(function(){return[f.$slots["clock-icon"]?U(f.$slots,"clock-icon",{key:0}):v("",!0),f.$slots["clock-icon"]?v("",!0):(p(),z(s($t),{key:1}))]}),_:2},[f.$slots["hours-overlay"]?{name:"item",fn:ee(function(D){var w=D.item;return[U(f.$slots,"hours-overlay",{text:w.text,value:w.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"]),We(ze,{name:s(O)(l.value),css:s(T)},{default:ee(function(){return[l.value?(p(),z(lt,{key:0,items:u(60,e.minutesGridIncrement),"disabled-values":e.filters.times.minutes,"onUpdate:modelValue":x[14]||(x[14]=function(D){return f.$emit("update:minutes",D)}),onSelected:k,onToggle:k,onResetFlow:x[15]||(x[15]=function(D){return f.$emit("reset-flow")})},De({"button-icon":ee(function(){return[f.$slots["clock-icon"]?U(f.$slots,"clock-icon",{key:0}):v("",!0),f.$slots["clock-icon"]?v("",!0):(p(),z(s($t),{key:1}))]}),_:2},[f.$slots["minutes-overlay"]?{name:"item",fn:ee(function(D){var w=D.item;return[U(f.$slots,"minutes-overlay",{text:w.text,value:w.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"]),We(ze,{name:s(O)(c.value),css:s(T)},{default:ee(function(){return[c.value?(p(),z(lt,{key:0,items:u(60,e.secondsGridIncrement),"disabled-values":e.filters.times.seconds,"onUpdate:modelValue":x[16]||(x[16]=function(D){return f.$emit("update:seconds",D)}),onSelected:y,onToggle:y,onResetFlow:x[17]||(x[17]=function(D){return f.$emit("reset-flow")})},De({"button-icon":ee(function(){return[f.$slots["clock-icon"]?U(f.$slots,"clock-icon",{key:0}):v("",!0),f.$slots["clock-icon"]?v("",!0):(p(),z(s($t),{key:1}))]}),_:2},[f.$slots["seconds-overlay"]?{name:"item",fn:ee(function(D){var w=D.item;return[U(f.$slots,"seconds-overlay",{text:w.text,value:w.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"])]))}}}),Ct=[{name:"clock-icon",use:["time","calendar"]},{name:"arrow-left",use:["month-year","calendar"]},{name:"arrow-right",use:["month-year","calendar"]},{name:"arrow-up",use:["time","calendar"]},{name:"arrow-down",use:["time","calendar"]},{name:"calendar-icon",use:["month-year","time","calendar"]},{name:"day",use:["calendar"]},{name:"month-overlay",use:["calendar","month-year"]},{name:"year-overlay",use:["calendar","month-year"]},{name:"hours-overlay",use:["calendar","time"]},{name:"minutes-overlay",use:["calendar","time"]},{name:"seconds-overlay",use:["calendar","time"]},{name:"hours",use:["calendar","time"]},{name:"minutes",use:["calendar","time"]},{name:"month",use:["calendar","month-year"]},{name:"year",use:["calendar","month-year"]},{name:"action-select",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar"]},{name:"marker-tooltip",use:["calendar"]},{name:"now-button",use:[]},{name:"time-picker-overlay",use:["calendar","time"]},{name:"am-pm-button",use:["calendar","time"]}],jo=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Lo={all:function(){return Ct},monthYear:function(){return Ct.filter(function(e){return e.use.includes("month-year")})},input:function(){return jo},timePicker:function(){return Ct.filter(function(e){return e.use.includes("time")})},action:function(){return Ct.filter(function(e){return e.use.includes("action")})},calendar:function(){return Ct.filter(function(e){return e.use.includes("calendar")})}},st=function(e,t){var n=[];return Lo[t]().forEach(function(a){e[a.name]&&n.push(a.name)}),n},qo={key:0,class:"dp__overlay"},Go={class:"dp__overlay_container"},Ko={key:1,class:"dp__overlay_row"},Qo=qe({props:{hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},range:{type:Boolean,default:!1},filters:{type:Object,default:function(){return{}}},timePicker:{type:Boolean,default:!1},hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},customProps:{type:Object,default:null},enableSeconds:{type:Boolean,default:!1},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1}},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=Ft(),l=gt("autoApply",!1),c=q(null),d=vn(),h=d.transitionName,O=d.showTransition;mt(function(){a("mount")});var T=q(!1),_=function(C){return{hours:Array.isArray(r.hours)?r.hours[C]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[C]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[C]:r.seconds}},M=N(function(){var C=[];if(r.range)for(var R=0;R<2;R++)C.push(_(R));else C.push(_(0));return C}),m=function(C){var R=arguments.length>1&&arguments[1]!==void 0&&arguments[1],f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";R||a("reset-flow"),T.value=C,fn(function(){f!==""&&c.value&&c.value.openChildCmp(f)})},F=N(function(){return{dp__button:!0,dp__button_bottom:l}}),u=st(o,"timePicker"),b=N(function(){return{is24:r.is24,hoursGridIncrement:r.hoursGridIncrement,minutesGridIncrement:r.minutesGridIncrement,secondsGridIncrement:r.secondsGridIncrement,hoursIncrement:r.hoursIncrement,minutesIncrement:r.minutesIncrement,secondsIncrement:r.secondsIncrement,filters:r.filters,noHoursOverlay:r.noHoursOverlay,noMinutesOverlay:r.noMinutesOverlay,noSecondsOverlay:r.noSecondsOverlay,enableSeconds:r.enableSeconds}}),k=function(C,R,f){return r.range?R===0?[C,M.value[1][f]]:[M.value[0][f],C]:C},y=function(C){a("update:hours",C)},j=function(C){a("update:minutes",C)},E=function(C){a("update:seconds",C)};return n({toggleTimePicker:m}),function(C,R){return p(),S("div",null,[e.timePicker?v("",!0):(p(),S("div",{key:0,class:ne(s(F)),role:"button","aria-label":"Open time picker",tabindex:"0",onKeydown:R[0]||(R[0]=J(function(f){return m(!0)},["enter"])),onClick:R[1]||(R[1]=function(f){return m(!0)})},[C.$slots["clock-icon"]?U(C.$slots,"clock-icon",{key:0}):v("",!0),C.$slots["clock-icon"]?v("",!0):(p(),z(s($t),{key:1}))],34)),We(ze,{name:s(h)(T.value),css:s(O)},{default:ee(function(){return[T.value||e.timePicker?(p(),S("div",qo,[A("div",Go,[C.$slots["time-picker-overlay"]?U(C.$slots,"time-picker-overlay",{key:0,range:e.range,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:y,setMinutes:j,setSeconds:E}):v("",!0),C.$slots["time-picker-overlay"]?v("",!0):(p(),S("div",Ko,[(p(!0),S(ae,null,he(s(M),function(f,x){return p(),z(Fo,$e({key:x,disabled:x===0?e.fixedStart:e.fixedEnd,hours:f.hours,minutes:f.minutes,seconds:f.seconds},s(b),{"onUpdate:hours":function(D){return y(k(D,x,"hours"))},"onUpdate:minutes":function(D){return j(k(D,x,"minutes"))},"onUpdate:seconds":function(D){return E(k(D,x,"seconds"))}}),De({_:2},[he(s(u),function(D,w){return{name:D,fn:ee(function(B){return[U(C.$slots,D,ot(ut(B)))]})}})]),1040,["disabled","hours","minutes","seconds","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])}),128))])),e.timePicker?v("",!0):(p(),S("div",{key:2,class:ne(s(F)),role:"button","aria-label":"Close time picker",tabindex:"0",onKeydown:R[2]||(R[2]=J(function(f){return m(!1)},["enter"])),onClick:R[3]||(R[3]=function(f){return m(!1)})},[C.$slots["calendar-icon"]?U(C.$slots,"calendar-icon",{key:0}):v("",!0),C.$slots["calendar-icon"]?v("",!0):(p(),z(s(Mt),{key:1}))],34))])])):v("",!0)]}),_:3},8,["name","css"])])}}}),Xo=function(e,t){var n=function l(c,d){var h=c;return e.filters.months.includes(de(h))?l(h=d?Le(c,1):It(c,1),d):h},a=function l(c,d){var h=c;return e.filters.years.includes(ye(h))?l(h=d?Wn(c,1):Kr(c,1),d):h},r=function(l,c,d){return[new Date(e[l]),Ue(new Date,{month:c,year:d})]},o=function(l,c){t("update:month",l),t("update:year",c)};return{handleMonthYearChange:function(l){var c=Ue(new Date,{month:e.month,year:e.year}),d=l?Le(c,1):It(c,1),h=de(d),O=ye(d);e.filters.months.includes(h)&&(d=n(d,l),h=de(d),O=ye(d)),e.filters.years.includes(O)&&(d=a(d,l),O=ye(d)),function(T,_){e.preventMinMaxNavigation&&(e.minDate||e.maxDate)?(e.maxDate&&(Te.apply(void 0,it(r("maxDate",T,_)))||ce.apply(void 0,it(r("maxDate",T,_))))&&o(T,_),(e.minDate&&_e.apply(void 0,it(r("minDate",T,_)))||ce.apply(void 0,it(r("minDate",T,_))))&&o(T,_)):o(T,_)}(h,O)}}},zo={class:"dp__month_year_row"},Jo={class:"dp__inner_nav",role:"button","aria-label":"Previous month"},Zo=["onKeydown"],eu=["onKeydown"],tu={class:"dp__inner_nav",role:"button","aria-label":"Next month"},nu={class:"dp__month_picker_header"},au={class:"dp__inner_nav",role:"button","aria-label":"Previous month"},ru=["onKeydown"],ou={class:"dp__inner_nav",role:"button","aria-label":"Next month"},uu=qe({props:{months:{type:Array,default:function(){return[]}},years:{type:Array,default:function(){return[]}},year:{type:Number,default:0},month:{type:Number,default:0},filters:{type:Object,default:function(){return{}}},monthPicker:{type:Boolean,default:!1},instance:{type:Number,default:1},customProps:{type:Object,default:null},multiCalendars:{type:Number,default:0},multiCalendarsSolo:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},preventMinMaxNavigation:{type:Boolean,default:!1}},emits:["update:month","update:year","monthYearSelect","mount","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=vn(),l=o.transitionName,c=o.showTransition,d=q(!1),h=q(!1),O=Xo(r,a).handleMonthYearChange;mt(function(){a("mount")});var T=function(w){a("update:month",w),a("monthYearSelect"),R(!0)},_=function(w){a("update:year",w),a("monthYearSelect",!0),f(!0)},M=N(function(){return r.minDate?ye(new Date(r.minDate)):null}),m=N(function(){return r.maxDate?ye(new Date(r.maxDate)):null}),F=N(function(){if(r.minDate&&M.value){if(M.value>r.year)return 12;if(M.value===r.year)return de(new Date(r.minDate))}return null}),u=N(function(){if(r.maxDate&&m.value){if(m.value0&&arguments[0]!==void 0&&arguments[0];x(w),d.value=!d.value},f=function(){var w=arguments.length>0&&arguments[0]!==void 0&&arguments[0];x(w),h.value=!h.value},x=function(w){w||a("reset-flow")},D=function(){var w=arguments.length>0&&arguments[0]!==void 0&&arguments[0];a("update:year",w?r.year+1:r.year-1)};return n({toggleMonthPicker:R,toggleYearPicker:f}),function(w,B){return p(),S("div",zo,[e.monthPicker?v("",!0):(p(),S(ae,{key:0},[s(E)?(p(),S("div",{key:0,class:"dp__month_year_col_nav",onClick:B[0]||(B[0]=function(W){return s(O)(!1)}),onKeydown:B[1]||(B[1]=J(function(W){return s(O)(!1)},["enter"])),tabindex:"0"},[A("div",Jo,[w.$slots["arrow-left"]?U(w.$slots,"arrow-left",{key:0}):v("",!0),w.$slots["arrow-left"]?v("",!0):(p(),z(s(xn),{key:1}))])],32)):v("",!0),A("div",{class:"dp__month_year_select",onClick:R,onKeydown:J(R,["enter"]),role:"button","aria-label":"Open months overlay",tabindex:"0"},[w.$slots.month?U(w.$slots,"month",{key:0,value:s(k).value,text:s(k).text}):v("",!0),w.$slots.month?v("",!0):(p(),S(ae,{key:1},[Ve(ve(s(k).text),1)],64))],40,Zo),A("div",{class:"dp__month_year_select",onClick:f,onKeydown:J(f,["enter"]),role:"button","aria-label":"Open years overlay",tabindex:"0"},[w.$slots.year?U(w.$slots,"year",{key:0,year:e.year}):v("",!0),w.$slots.year?v("",!0):(p(),S(ae,{key:1},[Ve(ve(e.year),1)],64))],40,eu),We(ze,{name:s(l)(d.value),css:s(c)},{default:ee(function(){return[d.value?(p(),z(lt,$e({key:0},{modelValue:e.month,items:s(y),disabledValues:e.filters.months,minValue:s(F),maxValue:s(u)},{"onUpdate:modelValue":T,onToggle:R}),De({"button-icon":ee(function(){return[w.$slots["calendar-icon"]?U(w.$slots,"calendar-icon",{key:0}):v("",!0),w.$slots["calendar-icon"]?v("",!0):(p(),z(s(Mt),{key:1}))]}),_:2},[w.$slots["month-overlay"]?{name:"item",fn:ee(function(W){var te=W.item;return[U(w.$slots,"month-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"]),We(ze,{name:s(l)(h.value),css:s(c)},{default:ee(function(){return[h.value?(p(),z(lt,$e({key:0},{modelValue:e.year,items:s(j),disabledValues:e.filters.years,minValue:s(M),maxValue:s(m)},{"onUpdate:modelValue":_,onToggle:f}),De({"button-icon":ee(function(){return[w.$slots["calendar-icon"]?U(w.$slots,"calendar-icon",{key:0}):v("",!0),w.$slots["calendar-icon"]?v("",!0):(p(),z(s(Mt),{key:1}))]}),_:2},[w.$slots["year-overlay"]?{name:"item",fn:ee(function(W){var te=W.item;return[U(w.$slots,"year-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"]),s(C)?(p(),S("div",{key:1,class:"dp__month_year_col_nav",onClick:B[2]||(B[2]=function(W){return s(O)(!0)}),onKeydown:B[3]||(B[3]=J(function(W){return s(O)(!0)},["enter"])),tabindex:"0"},[A("div",tu,[w.$slots["arrow-right"]?U(w.$slots,"arrow-right",{key:0}):v("",!0),w.$slots["arrow-right"]?v("",!0):(p(),z(s(Cn),{key:1}))])],32)):v("",!0)],64)),e.monthPicker?(p(),z(lt,$e({key:1},{modelValue:e.month,items:s(y),disabledValues:e.filters.months,minValue:s(F),maxValue:s(u)},{"onUpdate:modelValue":T,onToggle:R}),De({header:ee(function(){return[A("div",nu,[A("div",{class:"dp__month_year_col_nav",tabindex:"0",onClick:B[4]||(B[4]=function(W){return D(!1)}),onKeydown:B[5]||(B[5]=J(function(W){return D(!1)},["enter"]))},[A("div",au,[w.$slots["arrow-left"]?U(w.$slots,"arrow-left",{key:0}):v("",!0),w.$slots["arrow-left"]?v("",!0):(p(),z(s(xn),{key:1}))])],32),A("div",{class:"dp__pointer",role:"button","aria-label":"Open years overlay",tabindex:"0",onClick:f,onKeydown:J(f,["enter"])},[w.$slots.year?U(w.$slots,"year",{key:0,year:e.year}):v("",!0),w.$slots.year?v("",!0):(p(),S(ae,{key:1},[Ve(ve(e.year),1)],64))],40,ru),A("div",{class:"dp__month_year_col_nav",tabindex:"0",onClick:B[6]||(B[6]=function(W){return D(!0)}),onKeydown:B[7]||(B[7]=J(function(W){return D(!0)},["enter"]))},[A("div",ou,[w.$slots["arrow-right"]?U(w.$slots,"arrow-right",{key:0}):v("",!0),w.$slots["arrow-right"]?v("",!0):(p(),z(s(Cn),{key:1}))])],32)]),We(ze,{name:s(l)(h.value),css:s(c)},{default:ee(function(){return[h.value?(p(),z(lt,$e({key:0},{modelValue:e.year,items:s(j),disabledValues:e.filters.years,minValue:s(M),maxValue:s(m)},{"onUpdate:modelValue":_,onToggle:f}),De({"button-icon":ee(function(){return[w.$slots["calendar-icon"]?U(w.$slots,"calendar-icon",{key:0}):v("",!0),w.$slots["calendar-icon"]?v("",!0):(p(),z(s(Mt),{key:1}))]}),_:2},[w.$slots["year-overlay"]?{name:"item",fn:ee(function(W){var te=W.item;return[U(w.$slots,"year-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"])]}),_:2},[w.$slots["month-overlay"]?{name:"item",fn:ee(function(W){var te=W.item;return[U(w.$slots,"month-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)])}}}),iu=function(e,t,n){var a=q(new Date),r=q(),o=q([{month:de(new Date),year:ye(new Date)}]),l=q(e.range?[Ae(new Date),Ae(new Date)]:Ae(new Date)),c=q(e.range?[Be(new Date),Be(new Date)]:Be(new Date)),d=q(e.range?[0,0]:0);wt(o,function(){setTimeout(function(){e.openOnTop&&t("dpOpen")},0)},{deep:!0}),mt(function(){C(),u.value||(e.startDate&&(o.value[0].month=de(new Date(e.startDate)),o.value[0].year=ye(new Date(e.startDate)),e.multiCalendars&&w(0)),e.startTime&&F())});var h=N(function(){return function(i){return o.value[i]?o.value[i].month:0}}),O=N(function(){return function(i){return o.value[i]?o.value[i].year:0}}),T=function(i,g,P){o.value[i].month=g,o.value[i].year=P},_=function(i,g){return o.value[i].month=g},M=function(i,g){return o.value[i].year=g},m=function(){var i=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return e.enableSeconds?Array.isArray(d.value)?i?d.value[0]:d.value[1]:d.value:0},F=function(){var i;e.startTime&&(i=e.startTime,Array.isArray(i)?(l.value=[+e.startTime[0].hours,+e.startTime[1].hours],c.value=[+e.startTime[0].minutes,+e.startTime[1].minutes],e.enableSeconds&&(d.value=[+e.startTime[0].seconds,+e.startTime[1].seconds])):(l.value=+e.startTime.hours,c.value=+e.startTime.minutes,e.enableSeconds&&(d.value=+e.startTime.seconds)))},u=N({get:function(){return e.internalModelValue},set:function(i){e.readonly||e.disabled||t("update:internalModelValue",i)}});wt(u,function(){return C()});var b=function(i){var g=!!e.maxDate&&Te(Re(i),Re(new Date(e.maxDate))),P=!!e.minDate&&_e(Re(i),Re(new Date(e.minDate))),Q=typeof e.disabledDates=="function"?e.disabledDates(i):e.disabledDates.some(function(X){return ce(Re(new Date(X)),Re(i))}),pe=e.filters.months.length?e.filters.months.map(function(X){return+X}):[],Ce=pe.includes(de(i)),Se=!!e.disabledWeekDays.length&&e.disabledWeekDays.some(function(X){return+X===br(i)}),we=!!e.allowedDates.length&&!e.allowedDates.some(function(X){return ce(Re(new Date(X)),Re(i))}),Oe=ye(i),_t=Oe<+e.yearRange[0]||Oe>+e.yearRange[1];return g||P||Q||Ce||_t||Se||we},k=function(i){return!!u.value&&!(e.hideOffsetDates&&!i.current)&&!e.range&&(e.multiDates&&Array.isArray(u.value)?u.value.some(function(g){return ce(g,i.value)}):ce(i.value,u.value?u.value:a.value))},y=function(i){if(_(0,de(i)),M(0,ye(i)),e.multiCalendars)for(var g=1;g0)for(var Q=1;Q=+e.minRange&&P<=+e.maxRange;if(e.minRange)return P>=+e.minRange;if(e.maxRange)return P<=+e.maxRange}return!0},D=function(i){return Array.isArray(u.value)&&u.value.length===2?e.fixedStart&&(Te(i,u.value[0])||ce(i,u.value[0]))?[u.value[0],i]:e.fixedEnd&&(_e(i,u.value[1])||ce(i,u.value[1]))?[i,u.value[1]]:u.value:[]},w=function(i){for(var g=i-1;g>=0;g--){var P=It(Ue(new Date,{month:h.value(g+1),year:O.value(g+1)}),1);T(g,de(P),ye(P))}for(var Q=i+1;Q<=e.multiCalendars-1;Q++){var pe=Le(Ue(new Date,{month:h.value(Q-1),year:O.value(Q-1)}),1);T(Q,de(pe),ye(pe))}},B=function(i){return be(i,l.value,c.value,m())},W=function(i){rt(i)&&rt(u.value)&&Ie(l.value)&&Ie(c.value)?(i[0]&&u.value[0]&&(u.value[0]=be(i[0],l.value[0],c.value[0],m())),i[1]&&u.value[1]&&(u.value[1]=be(i[1],l.value[1],c.value[1],m(!1)))):e.multiDates&&Array.isArray(u.value)?u.value[u.value.length-1]=B(i):e.range||Yt(i)||(u.value=B(i)),t("timeUpdate")},te=function(i){return!(Nn(u.value,e.range)&&u.value[0]&&r.value)||(i?Te(r.value,u.value[0]):_e(r.value,u.value[0]))},fe=function(i){var g=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return e.range&&Yt(u.value)?!(e.hideOffsetDates&&!i.current)&&ce(new Date(i.value),u.value[g?0:1]):!!e.range&&(ce(new Date(i.value),u.value&&Array.isArray(u.value)?g?u.value[0]||null:u.value[1]:null)&&(!g||!_e(r.value||null,Array.isArray(u.value)?u.value[0]:null))||ce(i.value,Array.isArray(u.value)?u.value[0]:null)&&te(g))},me=function(i,g){var P=Ue(new Date,{month:h.value(g),year:O.value(g)}),Q=i<0?Le(P,1):It(P,1);T(g,de(Q),ye(Q)),e.multiCalendars&&!e.multiCalendarsSolo&&w(g)};return{today:a,hours:l,minutes:c,seconds:d,month:h,year:O,monthYearSelect:function(){var i=arguments.length>0&&arguments[0]!==void 0&&arguments[0];e.autoApply&&e.monthPicker&&t("autoApply",i)},isDisabled:b,updateTime:function(i){var g=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],P=arguments.length>2&&arguments[2]!==void 0&&arguments[2],Q=g?i:l.value,pe=g||P?c.value:i,Ce=P?i:d.value;if(e.range&&Yt(u.value)&&Ie(Q)&&Ie(pe)&&Ie(Ce)){var Se=function(Oe){return be(u.value[Oe],Q[Oe],pe[Oe],Ce[Oe])};if(ce(u.value[0],u.value[1])&&(zn(Se(0),u.value[1])||Jn(Se(1),u.value[0])))return}if(l.value=Q,c.value=pe,d.value=Ce,u.value)if(e.multiDates){var we=E();we&&W(we)}else W(u.value);else e.timePicker&&W(e.range?[new Date,new Date]:new Date);n()},setHoverDate:function(i){!i.current&&e.hideOffsetDates||(r.value=i.value)},getWeekNum:function(i){var g=i.find(function(P){return P.current});return g?kr(g.value):""},selectDate:function(i){var g=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!b(i.value)&&(i.current||!e.hideOffsetDates))if(e.range||Ie(l.value)||Ie(c.value)){if(Ie(l.value)&&Ie(c.value)&&!e.multiDates){var P=u.value?u.value.slice():[];P.length!==2||e.fixedStart||e.fixedEnd||(P=[]),e.autoRange?(g&&R(i.value),P=[new Date(i.value),ct(new Date(i.value),+e.autoRange)]):e.fixedStart||e.fixedEnd?P=D(new Date(i.value)):P[0]?x(new Date(i.value))&&(_e(new Date(i.value),new Date(P[0]))?P.unshift(new Date(i.value)):P[1]=new Date(i.value)):P[0]=new Date(i.value),P[0]&&!P[1]?P[0]=be(P[0],l.value[0],c.value[0],m()):(P[0]=be(P[0],l.value[0],c.value[0],m()),P[1]=be(P[1],l.value[1],c.value[1],m(!1)),n()),u.value=P,P[0]&&P[1]&&e.autoApply&&t("autoApply")}}else{var Q=be(new Date(i.value),l.value,c.value,m());e.multiDates?f(Q):u.value=Q,n(),e.autoApply&&t("autoApply")}},rangeActive:function(i){return rt(u.value)&&u.value[0]&&u.value[1]?Te(i.value,u.value[0])&&_e(i.value,u.value[1]):!!(rt(u.value)&&u.value[0]&&r.value)&&(Te(i.value,u.value[0])&&_e(i.value,r.value)||_e(i.value,u.value[0])&&Te(i.value,r.value))},isActiveDate:k,updateMonthYear:function(i,g){var P=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];P?_(i,g):M(i,g),e.multiCalendars&&!e.multiCalendarsSolo&&w(i),e.monthPicker&&(u.value?u.value=ft(u.value,h.value(0),O.value(0)):u.value=ft(new Date,h.value(0),O.value(0))),n()},isHoverRangeEnd:function(i){if(e.autoRange){if(r.value){if(e.hideOffsetDates&&!i.current)return!1;var g=ct(r.value,+e.autoRange);return ce(g,new Date(i.value))}return!1}return!1},isAutoRangeInBetween:function(i){if(e.autoRange){if(r.value){var g=ct(r.value,+e.autoRange);return!(e.hideOffsetDates&&!i.current)&&Te(i.value,r.value)&&_e(i.value,g)}return!1}return!1},isAutoRangeStart:function(i){return!!e.autoRange&&!!r.value&&!(e.hideOffsetDates&&!i.current)&&ce(r.value,i.value)},clearHoverDate:function(){r.value=null},rangeActiveStartEnd:fe,handleScroll:function(i,g){e.monthChangeOnScroll&&me(e.monthChangeOnScroll==="inverse"?-i.deltaY:i.deltaY,g)},getMarker:function(i){return e.markers.find(function(g){return ce(Re(new Date(i.value)),Re(new Date(g.date)))})},handleArrow:function(i,g){e.monthChangeOnArrows&&me(i==="right"?-1:1,g)},selectCurrentDate:function(){e.range?Nn(u.value,e.range)&&(u.value&&u.value[0]?u.value=_e(new Date,u.value[0])?[new Date,u.value[0]]:[u.value[0],new Date]:u.value=[new Date]):t("update:internalModelValue",new Date),e.autoApply&&t("selectDate")},isHoverDate:function(i,g){return(!Array.isArray(e.internalModelValue)||!e.internalModelValue.length)&&!(i||k(g)||!g.current&&e.hideOffsetDates||e.range&&(fe(g)||fe(g,!1)))},isHoverDateStartEnd:function(i,g,P){return!(!Array.isArray(e.internalModelValue)||!e.internalModelValue[0]||e.internalModelValue.length!==1)&&!i&&(P?Te(e.internalModelValue[0],g.value):_e(e.internalModelValue[0],g.value))},presetDateRange:function(i){i.length&&i.length<=2&&e.range&&(u.value=i.map(function(g){return new Date(g)}),e.autoApply&&t("selectDate"))}}};function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function Ut(e){for(var t=1;t0&&a.range?it(Array(a.multiCalendars).keys()):[0]}),He=N(function(){return function($){return $===1}}),Fe=N(function(){return a.monthPicker||a.timePicker}),tt=N(function(){return{dp__flex_display:a.multiCalendars>0}}),se=N(function(){return{dp__instance_calendar:a.multiCalendars>0}}),ge=N(function(){return{dp__menu_disabled:a.disabled,dp__menu_readonly:a.readonly}}),Pe=N(function(){return function($){return nt(Ke,$)}}),je=N(function(){return{locale:a.locale,weekNumName:a.weekNumName,weekStart:a.weekStart,weekNumbers:a.weekNumbers,enableTimePicker:a.enableTimePicker,disableMonthYearSelect:a.disableMonthYearSelect,monthPicker:a.monthPicker,timePicker:a.timePicker,range:a.range,filters:a.filters,minTime:a.minTime,maxTime:a.maxTime,minDate:a.minDate,maxDate:a.maxDate,customProps:a.customProps,calendarClassName:a.calendarClassName,specificMode:Fe.value,getWeekNum:D,multiCalendars:a.multiCalendars,months:et.value,years:ke.value,multiCalendarsSolo:a.multiCalendarsSolo,modeHeight:a.modeHeight,internalModelValue:a.internalModelValue}}),pt=N(function(){var $;return Je($={dp__menu:!0},a.menuClassName,!!a.menuClassName),Je($,"dp__relative",a.inline),$}),nt=function($,H){return $.value(H).map(function(V){return Ut(Ut({},V),{},{days:V.days.map(function(G){var K=R(G.value),kt=we(K,G);return G.marker=pe(G),G.classData=Je({dp__cell_offset:!G.current,dp__pointer:!(K||!G.current&&a.hideOffsetDates),dp__active_date:!a.range&&f(G),dp__date_hover:kt,dp__date_hover_start:Se(kt,G,!0),dp__date_hover_end:Se(kt,G,!1),dp__range_between:!(!a.range||a.multiCalendars>0&&!G.current||K||!G.current&&a.hideOffsetDates||f(G))&&fe(G),dp__today:!a.noToday&&ce(G.value,b.value),dp__cell_disabled:K,dp__cell_auto_range:W(G),dp__cell_auto_range_start:te(G),dp__cell_auto_range_end:B(G),dp__range_start:a.multiCalendars>0?G.current&&i(G):i(G),dp__range_end:a.multiCalendars>0?G.current&&i(G,!1):i(G,!1)},a.calendarCellClassName,!!a.calendarCellClassName),G})})})},yt=function($){$.stopPropagation(),$.preventDefault(),$.stopImmediatePropagation()},Ne=function(){a.escClose&&n("closePicker")},Dt=function($){$.stopImmediatePropagation(),$.preventDefault(),a.spaceConfirm&&n("selectDate")},jt=function($){var H;(H=a.flow)!==null&&H!==void 0&&H.length&&(l[$]=!0,Object.keys(l).filter(function(V){return!l[V]}).length||pn())},pn=function(){a.flow[_.value]==="month"&&c.value[0]&&c.value[0].toggleMonthPicker(!0),a.flow[_.value]==="year"&&c.value&&c.value[0].toggleYearPicker(!0),a.flow[_.value]==="calendar"&&d.value&&d.value.toggleTimePicker(!1,!0),a.flow[_.value]==="time"&&d.value&&d.value.toggleTimePicker(!0,!0);var $=a.flow[_.value];$!=="hours"&&$!=="minutes"&&$!=="seconds"||d.value&&d.value.toggleTimePicker(!0,!0,$)};return function($,H){return p(),S("div",{id:e.uid?"dp-menu-".concat(e.uid):void 0,tabindex:"0",ref_key:"dpMenuRef",ref:h,role:"dialog","aria-label":"Datepicker menu",class:ne(s(pt)),onMouseleave:H[11]||(H[11]=function(){return s(me)&&s(me).apply(void 0,arguments)}),onClick:yt,onKeydown:[J(Ne,["esc"]),J(Dt,["space"]),H[12]||(H[12]=J(function(V){return s(Q)("left",0)},["left"])),H[13]||(H[13]=J(function(V){return s(Q)("right",0)},["right"]))]},[(e.disabled||e.readonly)&&e.inline?(p(),S("div",{key:0,class:ne(s(ge))},null,2)):v("",!0),e.inline?v("",!0):(p(),S("div",{key:1,class:ne(s(Ge))},null,2)),A("div",{class:ne(e.presetRanges.length?"dp__menu_content_wrapper":null)},[e.presetRanges.length?(p(),S("div",su,[(p(!0),S(ae,null,he(e.presetRanges,function(V,G){return p(),S("div",{key:G,class:"dp__preset_range",onClick:function(K){return s(Oe)(V.range)}},ve(V.label),9,cu)}),128))])):v("",!0),A("div",{class:"dp__instance_calendar",ref_key:"calendarWrapperRef",ref:o,role:"document"},[A("div",{class:ne(s(tt))},[(p(!0),S(ae,null,he(s(vt),function(V,G){return p(),S("div",{key:V,class:ne(s(se))},[e.disableMonthYearSelect||e.timePicker?v("",!0):(p(),z(qt(e.monthYearComponent?e.monthYearComponent:uu),$e({key:0,ref_for:!0,ref:function(K){K&&(c.value[G]=K)}},{months:s(et),years:s(ke),filters:e.filters,monthPicker:e.monthPicker,month:s(k)(V),year:s(y)(V),customProps:e.customProps,multiCalendars:e.multiCalendars,multiCalendarsSolo:e.multiCalendarsSolo,instance:V,minDate:e.minDate,maxDate:e.maxDate,preventMinMaxNavigation:e.preventMinMaxNavigation},{onMount:H[0]||(H[0]=function(K){return jt("monthYearInput")}),onResetFlow:M,"onUpdate:month":function(K){return s(u)(V,K,!0)},"onUpdate:year":function(K){return s(u)(V,K,!1)},onMonthYearSelect:s(g)}),De({_:2},[he(s(le),function(K,kt){return{name:K,fn:ee(function(Lt){return[U($.$slots,K,ot(ut(Lt)))]})}})]),1040,["onUpdate:month","onUpdate:year","onMonthYearSelect"])),We(Oo,$e(s(je),{"flow-step":_.value,"onUpdate:flow-step":H[1]||(H[1]=function(K){return _.value=K}),instance:V,"mapped-dates":s(Pe)(V),month:s(k)(V),year:s(y)(V),"month-year-component":e.monthYearComponent,onSelectDate:function(K){return s(x)(K,!s(He)(V))},onSetHoverDate:H[2]||(H[2]=function(K){return s(w)(K)}),onHandleScroll:function(K){return s(P)(K,V)},onMount:H[3]||(H[3]=function(K){return jt("calendar")}),onResetFlow:M}),De({_:2},[he(s(_t),function(K,kt){return{name:K,fn:ee(function(Lt){return[U($.$slots,K,ot(ut(Ut({},Lt))))]})}})]),1040,["flow-step","instance","mapped-dates","month","year","month-year-component","onSelectDate","onHandleScroll"])],2)}),128))],2),A("div",null,[e.enableTimePicker&&!e.monthPicker?(p(),z(qt(e.timePickerComponent?e.timePickerComponent:Qo),$e({key:0,ref_key:"timePickerRef",ref:d},{is24:e.is24,hoursIncrement:e.hoursIncrement,minutesIncrement:e.minutesIncrement,hoursGridIncrement:e.hoursGridIncrement,secondsIncrement:e.secondsIncrement,minutesGridIncrement:e.minutesGridIncrement,secondsGridIncrement:e.secondsGridIncrement,noHoursOverlay:e.noHoursOverlay,noMinutesOverlay:e.noMinutesOverlay,noSecondsOverlay:e.noSecondsOverlay,range:e.range,filters:e.filters,timePicker:e.timePicker,hours:s(j),minutes:s(E),seconds:s(C),customProps:e.customProps,enableSeconds:e.enableSeconds,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},{onMount:H[4]||(H[4]=function(V){return jt("timePicker")}),"onUpdate:hours":H[5]||(H[5]=function(V){return s(F)(V)}),"onUpdate:minutes":H[6]||(H[6]=function(V){return s(F)(V,!1)}),"onUpdate:seconds":H[7]||(H[7]=function(V){return s(F)(V,!1,!0)}),onResetFlow:M}),De({_:2},[he(s(oe),function(V,G){return{name:V,fn:ee(function(K){return[U($.$slots,V,ot(ut(K)))]})}})]),1040)):v("",!0)])],512),e.showNowButton?(p(),S("div",du,[$.$slots["now-button"]?U($.$slots,"now-button",{key:0,selectCurrentDate:s(Ce)}):v("",!0),$.$slots["now-button"]?v("",!0):(p(),S("button",{key:1,type:"button",role:"button",class:"dp__now_button",onClick:H[8]||(H[8]=function(){return s(Ce)&&s(Ce).apply(void 0,arguments)})},ve(e.nowButtonLabel),1))])):v("",!0)],2),e.autoApply?v("",!0):(p(),z(qt(e.actionRowComponent?e.actionRowComponent:Io),$e({key:2},{calendarWidth:O.value,selectText:e.selectText,cancelText:e.cancelText,internalModelValue:e.internalModelValue,range:e.range,previewFormat:e.previewFormat,inline:e.inline,monthPicker:e.monthPicker,timePicker:e.timePicker,customProps:e.customProps,multiCalendars:e.multiCalendars,menuMount:T.value,maxTime:e.maxTime,minTime:e.minTime,enableTimePicker:e.enableTimePicker,minDate:e.minDate,maxDate:e.maxDate,multiDates:e.multiDates},{onClosePicker:H[9]||(H[9]=function(V){return $.$emit("closePicker")}),onSelectDate:H[10]||(H[10]=function(V){return $.$emit("selectDate")})}),De({_:2},[he(s(X),function(V,G){return{name:V,fn:ee(function(K){return[U($.$slots,V,ot(ut(Ut({},K))))]})}})]),1040))],42,lu)}}});(function(e){e.center="center",e.left="left",e.right="right"})(Nt||(Nt={}));var mu=function(e,t,n,a,r,o,l,c,d,h,O,T,_){var M=q(""),m=q();wt(m,function(){_("internalModelChange",m.value)});var F=function(){if(m.value)if(e&&typeof e!="string")M.value=e(t?cn(m.value):n?sn(m.value):m.value);else{var u=oa(e,o,c,n,t,l);Array.isArray(m.value)&&h?M.value=m.value.map(function(b){return Ht(b,u,d==null?void 0:d.value)}).join("; "):M.value=Ht(m.value,u,d==null?void 0:d.value,T.rangeSeparator)}else M.value=""};return{parseExternalModelValue:function(u){var b=null;u?t?function(k){return Array.isArray(k)&&k.length===2}(u)&&"hours"in u[0]&&"minutes"in u[0]?b=[be(null,+u[0].hours,+u[0].minutes,+u[0].seconds),be(null,+u[1].hours,+u[1].minutes,+u[1].seconds)]:function(k){return Pt(k)==="object"}(u)&&(b=be(null,+u.hours,+u.minutes,+u.seconds)):n?function(k){return Pt(k)==="object"}(u)&&"month"in u&&"year"in u&&(b=ft(null,+u.month,+u.year)):h&&Array.isArray(u)?b=u.map(function(k){return new Date(k)}):a?function(k,y){return y?Array.isArray(k):Yt(k)}(u,r)&&(b=[new Date(u[0]),u[1]?new Date(u[1]):null]):function(k){return typeof k=="string"||Pt(k)==="object"}(u)&&(b=new Date(u)):b=null,ln(b)?(m.value=b,F()):(m.value=null,M.value="")},formatInputValue:F,internalModelValue:m,inputValue:M,emitModelValue:function(){if(n)_("update:modelValue",sn(m.value));else if(t)_("update:modelValue",cn(m.value));else{m.value&&a&&r&&m.value.length===1&&m.value.push(null);var u=O?Array.isArray(m.value)?m.value.map(function(b){return b&&Mn(b)}):Mn(m.value):m.value;_("update:modelValue",u)}F()},checkBeforeEmit:function(){return!!m.value&&(a?r?m.value.length>=1:m.value.length===2:!!m.value)}}},vu=typeof window!="undefined"?window:void 0,rn=function(){},pu=function(e,t,n,a){if(!e)return rn;var r,o=rn,l=wt(function(){return s(e)},function(d){o(),d&&(d.addEventListener(t,n,a),o=function(){d.removeEventListener(t,n,a),o=rn})},{immediate:!0,flush:"post"}),c=function(){l(),o()};return r=c,sa()&&ca(r),c};function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function yu(e){for(var t=1;t0&&arguments[0]!==void 0)||arguments[0],ge=xe(ke);if(oe&&typeof oe!="boolean")Me.value=oe(ge);else if(ge){var Pe=ge.getBoundingClientRect(),je=Pe.left,pt=Pe.width,nt=Pe.height,yt=(oe?He(ge):vt(ge)).top,Ne={top:"".concat(nt+yt+10,"px"),left:"",transform:"none"};X===Nt.left&&(Ne.left="".concat(je,"px")),X===Nt.right&&(Ne.left="".concat(je+pt,"px"),Ne.transform="translateX(-100%)"),X===Nt.center&&(Ne.left="".concat(je+pt/2,"px"),Ne.transform="translateX(-50%)"),Me.value=Ne,se&&le&&tt()}},tt=function(){var se=xe(ke);if(se&&le){var ge=se.getBoundingClientRect(),Pe=ge.height,je=ge.top,pt=(oe?He(se):vt(se)).top,nt=window.innerHeight-je-Pe,yt=xe(Ge);if(yt){var Ne=yt.getBoundingClientRect().height,Dt=Ne+Pe;Dt>je&&Dt>nt?jent?(Me.value.top="".concat(pt-Ne-10,"px"),Ke.value=!0):(Fe(!1),Ke.value=!1)}}et("recalculatePosition")};return{openOnTop:Ke,menuPosition:Me,setMenuPosition:Fe,recalculatePosition:tt}}(r.position,r.altPosition,r.autoPosition,d,h,a),m=M.openOnTop,F=M.menuPosition,u=M.setMenuPosition,b=M.recalculatePosition,k=mu(r.format,r.timePicker,r.monthPicker,r.range,r.partialRange,r.is24,r.enableTimePicker,r.enableSeconds,O,r.multiDates,r.utc,r.textInputOptions,a),y=k.internalModelValue,j=k.inputValue,E=k.parseExternalModelValue,C=k.emitModelValue,R=k.checkBeforeEmit,f=N(function(){return{dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:r.inline,dp__flex_display_with_input:r.inlineWithInput}}),x=N(function(){return In(r.format)?r.format:oa(null,r.is24,r.enableSeconds,r.monthPicker,r.timePicker,r.enableTimePicker)}),D=N(function(){return r.previewFormat?r.previewFormat:In(x.value)?x.value:r.format}),w=N(function(){return typeof r.transitions=="boolean"?!!r.transitions&&Pn({}):Pn(r.transitions)});At("transitions",w);var B=N(function(){return r.dark?"dp__theme_dark":"dp__theme_light"}),W=N(function(){return Object.assign({enterSubmit:!0,tabSubmit:!0,openMenu:!0,rangeSeparator:" - "},r.textInputOptions)}),te=N(function(){return X=r.filters,Object.assign({months:[],years:[],times:{hours:[],minutes:[],seconds:[]}},X);var X}),fe=N(function(){var X=function(oe){var le={hours:Ae(new Date),minutes:Be(new Date),seconds:Xe(new Date)};return Object.assign(le,oe)};return r.range?r.startTime&&Array.isArray(r.startTime)?[X(r.startTime[0]),X(r.startTime[1])]:null:r.startTime&&!Array.isArray(r.startTime)?X(r.startTime):null}),me=N(function(){return r.multiCalendars===null?0:typeof r.multiCalendars=="boolean"?r.multiCalendars?2:0:+r.multiCalendars>=2?+r.multiCalendars:2}),i=function X(){l.value&&(r.closeOnScroll?we():r.autoPosition?u():window.removeEventListener("scroll",X))},g=function(){l.value&&u()},P=function(){r.disabled||r.readonly||(u(),l.value=!l.value,l.value||Se(),l.value&&(a("open"),a("focus")),E(r.modelValue))},Q=function(){j.value="",Se(),a("update:modelValue",null),a("cleared"),we()},pe=function(){R()&&(C(),we())},Ce=function(){var X=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(r.autoApply){var oe=!r.enableTimePicker||dn(y.value,r.maxTime,r.minTime);oe&&(C(),r.closeOnAutoApply&&!X&&we())}},Se=function(){y.value=null},we=function(){r.inline||(l.value&&(l.value=!1,a("closed"),a("blur")),Se(),h.value&&h.value.unFocus())},Oe=function(X,oe){X?(y.value=X,oe&&(pe(),a("textSubmit"))):y.value=null},_t=function(){r.autoApply&&dn(y.value,r.maxTime,r.minTime)&&C()};return function(X,oe,le){var Ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ke=Ge.window,et=ke===void 0?vu:ke,Me=Ge.event,Ke=Me===void 0?"pointerdown":Me;if(et){var vt=function(He){var Fe=xe(X),tt=xe(oe);Fe&&tt&&(Fe===He.target||He.composedPath().includes(Fe)||He.composedPath().includes(tt)||le(He))};pu(et,Ke,vt,{passive:!0})}}(d,h,we),n({closeMenu:we,selectDate:pe,clearValue:Q,openMenu:P,onScroll:i}),function(X,oe){return p(),S("div",{class:ne(s(f))},[We(wo,$e({ref_key:"inputRef",ref:h},{placeholder:e.placeholder,hideInputIcon:e.hideInputIcon,readonly:e.readonly,disabled:e.disabled,inputClassName:e.inputClassName,clearable:e.clearable,state:e.state,inline:e.inline,inlineWithInput:e.inlineWithInput,textInput:e.textInput,textInputOptions:s(W),range:e.range,isMenuOpen:l.value,pattern:s(x),autoApply:e.autoApply,uid:e.uid,openMenuOnFocus:e.openMenuOnFocus,required:e.required,name:e.name,autocomplete:e.autocomplete},{"input-value":s(j),"onUpdate:input-value":oe[0]||(oe[0]=function(le){return yn(j)?j.value=le:null}),onClear:Q,onOpen:P,onSetInputDate:Oe,onSetEmptyDate:s(C),onSelectDate:pe,onClose:we}),De({_:2},[he(s(_),function(le,Ge){return{name:le,fn:ee(function(ke){return[U(X.$slots,le,ot(ut(ke)))]})}})]),1040,["input-value","onSetEmptyDate"]),l.value?(p(),z(la,{key:0,to:e.teleport,disabled:e.inline},[l.value?(p(),z(fu,$e({key:0,ref_key:"dpMenuRef",ref:d,class:s(B),style:s(F)},{weekNumbers:e.weekNumbers,weekStart:e.weekStart,disableMonthYearSelect:e.disableMonthYearSelect,menuClassName:e.menuClassName,calendarClassName:e.calendarClassName,yearRange:e.yearRange,range:e.range,multiCalendars:s(me),multiCalendarsSolo:e.multiCalendarsSolo,calendarCellClassName:e.calendarCellClassName,enableTimePicker:e.enableTimePicker,is24:e.is24,hoursIncrement:e.hoursIncrement,minutesIncrement:e.minutesIncrement,hoursGridIncrement:e.hoursGridIncrement,minutesGridIncrement:e.minutesGridIncrement,minDate:e.minDate,maxDate:e.maxDate,autoApply:e.autoApply,selectText:e.selectText,cancelText:e.cancelText,previewFormat:s(D),locale:e.locale,weekNumName:e.weekNumName,disabledDates:e.disabledDates,filters:s(te),minTime:e.minTime,maxTime:e.maxTime,inline:e.inline,openOnTop:s(m),monthPicker:e.monthPicker,timePicker:e.timePicker,monthNameFormat:e.monthNameFormat,startDate:e.startDate,startTime:s(fe),monthYearComponent:e.monthYearComponent,timePickerComponent:e.timePickerComponent,actionRowComponent:e.actionRowComponent,customProps:e.customProps,hideOffsetDates:e.hideOffsetDates,autoRange:e.autoRange,noToday:e.noToday,noHoursOverlay:e.noHoursOverlay,noMinutesOverlay:e.noMinutesOverlay,disabledWeekDays:e.disabledWeekDays,allowedDates:e.allowedDates,showNowButton:e.showNowButton,nowButtonLabel:e.nowButtonLabel,monthChangeOnScroll:e.monthChangeOnScroll,markers:e.markers,uid:e.uid,modeHeight:e.modeHeight,enableSeconds:e.enableSeconds,secondsIncrement:e.secondsIncrement,secondsGridIncrement:e.secondsGridIncrement,noSecondsOverlay:e.noSecondsOverlay,escClose:e.escClose,spaceConfirm:e.spaceConfirm,monthChangeOnArrows:e.monthChangeOnArrows,textInput:e.textInput,disabled:e.disabled,readonly:e.readonly,multiDates:e.multiDates,presetRanges:e.presetRanges,flow:e.flow,preventMinMaxNavigation:e.preventMinMaxNavigation,minRange:e.minRange,maxRange:e.maxRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},{internalModelValue:s(y),"onUpdate:internalModelValue":oe[1]||(oe[1]=function(le){return yn(y)?y.value=le:null}),onClosePicker:we,onSelectDate:pe,onDpOpen:s(b),onAutoApply:Ce,onTimeUpdate:_t,onFlowStep:oe[2]||(oe[2]=function(le){return X.$emit("flow-step",le)})}),De({_:2},[he(s(T),function(le,Ge){return{name:le,fn:ee(function(ke){return[U(X.$slots,le,ot(ut(yu({},ke))))]})}})]),1040,["class","style","internalModelValue","onDpOpen"])):v("",!0)],8,["to","disabled"])):v("",!0)],2)}}}),wu=function(){var e=hu;return e.install=function(t){t.component("Vue3DatePicker",e)},e}();export{wu as V,ct as a,Le as b,Gt as c,Tt as d,Ea as e,xt as f,de as g,ye as h,Y as r,It as s,L as t};
    diff --git a/docs/assets/vue3-date-time-picker.esm.f6c600f4.js b/docs/assets/vue3-date-time-picker.esm.f6c600f4.js
    deleted file mode 100644
    index 99da7dd..0000000
    --- a/docs/assets/vue3-date-time-picker.esm.f6c600f4.js
    +++ /dev/null
    @@ -1,3 +0,0 @@
    -import{b as B,e as je,f as L,g as Ht,h as I,o as y,c as k,i as v,j as A,n as ne,k as s,w as Z,l as z,m as on,p as ht,t as Yt,q as dt,s as gt,v as mn,x as me,F as ae,y as pe,a as Se,z as J,T as ze,A as Ct,B as Ye,C as aa,D as ge,E as De,G as ra,H as Yn,I as Lt,J as At,K as hn,L as oa,M as Ve,N as He,O as ua,P as ia}from"./app.216eec89.js";function $(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function E(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function j(e){E(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function lt(e,t){E(2,arguments);var n=j(e),a=$(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}function Fe(e,t){E(2,arguments);var n=j(e),a=$(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var r=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+a+1,0);var l=o.getDate();return r>=l?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function En(e,t){if(E(2,arguments),!t||typeof t!="object")return new Date(NaN);var n=t.years?$(t.years):0,a=t.months?$(t.months):0,r=t.weeks?$(t.weeks):0,o=t.days?$(t.days):0,l=t.hours?$(t.hours):0,c=t.minutes?$(t.minutes):0,d=t.seconds?$(t.seconds):0,g=j(e),O=a||n?Fe(g,a+n*12):g,D=o||r?lt(O,o+r*7):O,h=c+l*60,M=d+h*60,f=M*1e3,U=new Date(D.getTime()+f);return U}function la(e,t){E(2,arguments);var n=j(e).getTime(),a=$(t);return new Date(n+a)}function Rn(e,t){E(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.weekStartsOn,o=r==null?0:$(r),l=n.weekStartsOn==null?o:$(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=j(e),d=c.getDay(),g=(d=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function ca(e){E(1,arguments);var t=sa(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var a=Et(n);return a}function Rt(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function gn(e){E(1,arguments);var t=j(e);return t.setHours(0,0,0,0),t}var da=864e5;function fa(e,t){E(2,arguments);var n=gn(e),a=gn(t),r=n.getTime()-Rt(n),o=a.getTime()-Rt(a);return Math.round((r-o)/da)}function Wn(e,t){E(2,arguments);var n=$(t);return Fe(e,n*12)}function Vn(e){return E(1,arguments),e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function St(e){if(E(1,arguments),!Vn(e)&&typeof e!="number")return!1;var t=j(e);return!isNaN(Number(t))}var ma={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},va=function(e,t,n){var a,r=ma[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a},pa=va;function qt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}var ya={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ha={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ga={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wa={date:qt({formats:ya,defaultWidth:"full"}),time:qt({formats:ha,defaultWidth:"full"}),dateTime:qt({formats:ga,defaultWidth:"full"})},ba=wa,_a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Da=function(e,t,n,a){return _a[e]},ka=Da;function kt(e){return function(t,n){var a=n||{},r=a.context?String(a.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,c=a.width?String(a.width):l;o=e.formattingValues[c]||e.formattingValues[l]}else{var d=e.defaultWidth,g=a.width?String(a.width):e.defaultWidth;o=e.values[g]||e.values[d]}var O=e.argumentCallback?e.argumentCallback(t):t;return o[O]}}var Ta={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ca={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Sa={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Oa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ma={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Pa=function(e,t){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Na={ordinalNumber:Pa,era:kt({values:Ta,defaultWidth:"wide"}),quarter:kt({values:xa,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:kt({values:Ca,defaultWidth:"wide"}),day:kt({values:Sa,defaultWidth:"wide"}),dayPeriod:kt({values:Oa,defaultWidth:"wide",formattingValues:Ma,defaultFormattingWidth:"wide"})},Ia=Na;function Tt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;var l=o[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?Ba(c,function(D){return D.test(l)}):Aa(c,function(D){return D.test(l)}),g;g=e.valueCallback?e.valueCallback(d):d,g=n.valueCallback?n.valueCallback(g):g;var O=t.slice(l.length);return{value:g,rest:O}}}function Aa(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Ba(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;var r=a[0],o=t.match(e.parsePattern);if(!o)return null;var l=e.valueCallback?e.valueCallback(o[0]):o[0];l=n.valueCallback?n.valueCallback(l):l;var c=t.slice(r.length);return{value:l,rest:c}}}var Ua=/^(\d+)(th|st|nd|rd)?/i,Ya=/\d+/i,Ea={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ra={any:[/^b/i,/^(a|c)/i]},Wa={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Va={any:[/1/i,/2/i,/3/i,/4/i]},Ha={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Fa={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ja={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},La={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},qa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ga={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ka={ordinalNumber:$a({matchPattern:Ua,parsePattern:Ya,valueCallback:function(e){return parseInt(e,10)}}),era:Tt({matchPatterns:Ea,defaultMatchWidth:"wide",parsePatterns:Ra,defaultParseWidth:"any"}),quarter:Tt({matchPatterns:Wa,defaultMatchWidth:"wide",parsePatterns:Va,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Tt({matchPatterns:Ha,defaultMatchWidth:"wide",parsePatterns:Fa,defaultParseWidth:"any"}),day:Tt({matchPatterns:ja,defaultMatchWidth:"wide",parsePatterns:La,defaultParseWidth:"any"}),dayPeriod:Tt({matchPatterns:qa,defaultMatchWidth:"any",parsePatterns:Ga,defaultParseWidth:"any"})},Qa=Ka,Xa={code:"en-US",formatDistance:pa,formatLong:ba,formatRelative:ka,localize:Ia,match:Qa,options:{weekStartsOn:0,firstWeekContainsDate:1}},Hn=Xa;function Fn(e,t){E(2,arguments);var n=$(t);return la(e,-n)}var za=864e5;function Ja(e){E(1,arguments);var t=j(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=t.getTime(),r=n-a;return Math.floor(r/za)+1}function wt(e){E(1,arguments);var t=1,n=j(e),a=n.getUTCDay(),r=(a=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function Za(e){E(1,arguments);var t=jn(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=wt(n);return a}var er=6048e5;function Ln(e){E(1,arguments);var t=j(e),n=wt(t).getTime()-Za(t).getTime();return Math.round(n/er)+1}function st(e,t){E(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.weekStartsOn,o=r==null?0:$(r),l=n.weekStartsOn==null?o:$(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=j(e),d=c.getUTCDay(),g=(d=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(a+1,0,d),g.setUTCHours(0,0,0,0);var O=st(g,t),D=new Date(0);D.setUTCFullYear(a,0,d),D.setUTCHours(0,0,0,0);var h=st(D,t);return n.getTime()>=O.getTime()?a+1:n.getTime()>=h.getTime()?a:a-1}function tr(e,t){E(1,arguments);var n=t||{},a=n.locale,r=a&&a.options&&a.options.firstWeekContainsDate,o=r==null?1:$(r),l=n.firstWeekContainsDate==null?o:$(n.firstWeekContainsDate),c=vn(e,t),d=new Date(0);d.setUTCFullYear(c,0,l),d.setUTCHours(0,0,0,0);var g=st(d,t);return g}var nr=6048e5;function qn(e,t){E(1,arguments);var n=j(e),a=st(n,t).getTime()-tr(n,t).getTime();return Math.round(a/nr)+1}function ee(e,t){for(var n=e<0?"-":"",a=Math.abs(e).toString();a.length0?n:1-n;return ee(t==="yy"?a%100:a,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):ee(n+1,2)},d:function(e,t){return ee(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return ee(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ee(e.getUTCHours(),t.length)},m:function(e,t){return ee(e.getUTCMinutes(),t.length)},s:function(e,t){return ee(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,a=e.getUTCMilliseconds(),r=Math.floor(a*Math.pow(10,n-3));return ee(r,t.length)}},Ke=ar,yt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},rr={G:function(e,t,n){var a=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var a=e.getUTCFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return Ke.y(e,t)},Y:function(e,t,n,a){var r=vn(e,a),o=r>0?r:1-r;if(t==="YY"){var l=o%100;return ee(l,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):ee(o,t.length)},R:function(e,t){var n=jn(e);return ee(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return ee(n,t.length)},Q:function(e,t,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return ee(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return ee(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){var a=e.getUTCMonth();switch(t){case"M":case"MM":return Ke.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){var a=e.getUTCMonth();switch(t){case"L":return String(a+1);case"LL":return ee(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){var r=qn(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):ee(r,t.length)},I:function(e,t,n){var a=Ln(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):ee(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ke.d(e,t)},D:function(e,t,n){var a=Ja(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):ee(a,t.length)},E:function(e,t,n){var a=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){var r=e.getUTCDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ee(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){var r=e.getUTCDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ee(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var a=e.getUTCDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return ee(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){var a=e.getUTCHours(),r=a/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var a=e.getUTCHours(),r;switch(a===12?r=yt.noon:a===0?r=yt.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var a=e.getUTCHours(),r;switch(a>=17?r=yt.evening:a>=12?r=yt.afternoon:a>=4?r=yt.morning:r=yt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var a=e.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Ke.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Ke.H(e,t)},K:function(e,t,n){var a=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):ee(a,t.length)},k:function(e,t,n){var a=e.getUTCHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):ee(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Ke.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Ke.s(e,t)},S:function(e,t){return Ke.S(e,t)},X:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return bn(o);case"XXXX":case"XX":return rt(o);case"XXXXX":case"XXX":default:return rt(o,":")}},x:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"x":return bn(o);case"xxxx":case"xx":return rt(o);case"xxxxx":case"xxx":default:return rt(o,":")}},O:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wn(o,":");case"OOOO":default:return"GMT"+rt(o,":")}},z:function(e,t,n,a){var r=a._originalDate||e,o=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wn(o,":");case"zzzz":default:return"GMT"+rt(o,":")}},t:function(e,t,n,a){var r=a._originalDate||e,o=Math.floor(r.getTime()/1e3);return ee(o,t.length)},T:function(e,t,n,a){var r=a._originalDate||e,o=r.getTime();return ee(o,t.length)}};function wn(e,t){var n=e>0?"-":"+",a=Math.abs(e),r=Math.floor(a/60),o=a%60;if(o===0)return n+String(r);var l=t||"";return n+String(r)+l+ee(o,2)}function bn(e,t){if(e%60===0){var n=e>0?"-":"+";return n+ee(Math.abs(e)/60,2)}return rt(e,t)}function rt(e,t){var n=t||"",a=e>0?"-":"+",r=Math.abs(e),o=ee(Math.floor(r/60),2),l=ee(r%60,2);return a+o+n+l}var or=rr;function _n(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function Gn(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function ur(e,t){var n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return _n(e,t);var o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",_n(a,t)).replace("{{time}}",Gn(r,t))}var ir={p:Gn,P:ur},Kn=ir,lr=["D","DD"],sr=["YY","YYYY"];function Qn(e){return lr.indexOf(e)!==-1}function Xn(e){return sr.indexOf(e)!==-1}function Wt(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var cr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fr=/^'([^]*?)'?$/,mr=/''/g,vr=/[a-zA-Z]/;function Dn(e,t,n){E(2,arguments);var a=String(t),r=n||{},o=r.locale||Hn,l=o.options&&o.options.firstWeekContainsDate,c=l==null?1:$(l),d=r.firstWeekContainsDate==null?c:$(r.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=o.options&&o.options.weekStartsOn,O=g==null?0:$(g),D=r.weekStartsOn==null?O:$(r.weekStartsOn);if(!(D>=0&&D<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var h=j(e);if(!St(h))throw new RangeError("Invalid time value");var M=Rt(h),f=Fn(h,M),U={firstWeekContainsDate:d,weekStartsOn:D,locale:o,_originalDate:h},i=a.match(dr).map(function(T){var P=T[0];if(P==="p"||P==="P"){var m=Kn[P];return m(T,o.formatLong,U)}return T}).join("").match(cr).map(function(T){if(T==="''")return"'";var P=T[0];if(P==="'")return pr(T);var m=or[P];if(m)return!r.useAdditionalWeekYearTokens&&Xn(T)&&Wt(T,t,e),!r.useAdditionalDayOfYearTokens&&Qn(T)&&Wt(T,t,e),m(f,T,o.localize,U);if(P.match(vr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return T}).join("");return i}function pr(e){return e.match(fr)[1].replace(mr,"'")}function yr(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function hr(e){E(1,arguments);var t=j(e),n=t.getDay();return n}function gr(e){E(1,arguments);var t=j(e),n=t.getFullYear(),a=t.getMonth(),r=new Date(0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function Ne(e){E(1,arguments);var t=j(e),n=t.getHours();return n}var wr=6048e5;function br(e){E(1,arguments);var t=j(e),n=Et(t).getTime()-ca(t).getTime();return Math.round(n/wr)+1}function Ie(e){E(1,arguments);var t=j(e),n=t.getMinutes();return n}function ce(e){E(1,arguments);var t=j(e),n=t.getMonth();return n}function Xe(e){E(1,arguments);var t=j(e),n=t.getSeconds();return n}function ve(e){return E(1,arguments),j(e).getFullYear()}function _r(e,t){E(2,arguments);var n=$(t);return lt(e,-n)}function Nt(e,t){E(2,arguments);var n=$(t);return Fe(e,-n)}function Dr(e,t){if(E(2,arguments),!t||typeof t!="object")return new Date(NaN);var n=t.years?$(t.years):0,a=t.months?$(t.months):0,r=t.weeks?$(t.weeks):0,o=t.days?$(t.days):0,l=t.hours?$(t.hours):0,c=t.minutes?$(t.minutes):0,d=t.seconds?$(t.seconds):0,g=Nt(e,a+n*12),O=_r(g,o+r*7),D=c+l*60,h=d+D*60,M=h*1e3,f=new Date(O.getTime()-M);return f}function kr(e,t){E(2,arguments);var n=j(e),a=j(t);return n.getTime()>a.getTime()}function Tr(e,t){E(2,arguments);var n=j(e),a=j(t);return n.getTime()=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=j(e),g=$(t),O=d.getUTCDay(),D=g%7,h=(D+7)%7,M=(h0,a=n?t:1-t,r;if(a<=50)r=e||100;else{var o=a+50,l=Math.floor(o/100)*100,c=e>=o%100;r=e+l-(c?100:0)}return n?r:1-r}var Ir=[31,28,31,30,31,30,31,31,30,31,30,31],Ar=[31,29,31,30,31,30,31,31,30,31,30,31];function xn(e){return e%400===0||e%4===0&&e%100!==0}var Br={G:{priority:140,parse:function(e,t,n,a){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,a){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,a){var r=function(o){return{year:o,isTwoDigitYear:t==="yy"}};switch(t){case"y":return ue(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return ue(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,a){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=Tn(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var l=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,a){var r=function(o){return{year:o,isTwoDigitYear:t==="YY"}};switch(t){case"Y":return ue(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return ue(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,a){var r=vn(e,a);if(n.isTwoDigitYear){var o=Tn(n.year,r);return e.setUTCFullYear(o,0,a.firstWeekContainsDate),e.setUTCHours(0,0,0,0),st(e,a)}var l=!("era"in t)||t.era===1?n.year:1-n.year;return e.setUTCFullYear(l,0,a.firstWeekContainsDate),e.setUTCHours(0,0,0,0),st(e,a)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,a){return Bt(t==="R"?4:t.length,e)},set:function(e,t,n,a){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),wt(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,a){return Bt(t==="u"?4:t.length,e)},set:function(e,t,n,a){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,a){switch(t){case"Q":case"QQ":return ue(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,a){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,a){switch(t){case"q":case"qq":return ue(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,a){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,a){var r=function(o){return o-1};switch(t){case"M":return re(ie.month,e,r);case"MM":return ue(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,a){var r=function(o){return o-1};switch(t){case"L":return re(ie.month,e,r);case"LL":return ue(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,a){switch(t){case"w":return re(ie.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return st(Or(e,n,a),a)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,a){switch(t){case"I":return re(ie.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return wt(Sr(e,n,a),a)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,a){switch(t){case"d":return re(ie.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ue(t.length,e)}},validate:function(e,t,n){var a=e.getUTCFullYear(),r=xn(a),o=e.getUTCMonth();return r?t>=1&&t<=Ar[o]:t>=1&&t<=Ir[o]},set:function(e,t,n,a){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,a){switch(t){case"D":case"DD":return re(ie.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ue(t.length,e)}},validate:function(e,t,n){var a=e.getUTCFullYear(),r=xn(a);return r?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,a){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,a){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Gt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,a){var r=function(o){var l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(t){case"e":case"ee":return ue(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Gt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,a){var r=function(o){var l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(t){case"c":case"cc":return ue(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,a){return e=Gt(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,a){var r=function(o){return o===0?7:o};switch(t){case"i":case"ii":return ue(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,a){return e=Cr(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,a){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Kt(n),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,n,a){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Kt(n),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,n,a){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,a){return e.setUTCHours(Kt(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,a){switch(t){case"h":return re(ie.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,a){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):!r&&n===12?e.setUTCHours(0,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,a){switch(t){case"H":return re(ie.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,a){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,a){switch(t){case"K":return re(ie.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,a){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,a){switch(t){case"k":return re(ie.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,a){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,a){switch(t){case"m":return re(ie.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,a){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,a){switch(t){case"s":return re(ie.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ue(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,a){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,a){var r=function(o){return Math.floor(o*Math.pow(10,-t.length+3))};return ue(t.length,e,r)},set:function(e,t,n,a){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,a){switch(t){case"X":return $e(Be.basicOptionalMinutes,e);case"XX":return $e(Be.basic,e);case"XXXX":return $e(Be.basicOptionalSeconds,e);case"XXXXX":return $e(Be.extendedOptionalSeconds,e);case"XXX":default:return $e(Be.extended,e)}},set:function(e,t,n,a){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,a){switch(t){case"x":return $e(Be.basicOptionalMinutes,e);case"xx":return $e(Be.basic,e);case"xxxx":return $e(Be.basicOptionalSeconds,e);case"xxxxx":return $e(Be.extendedOptionalSeconds,e);case"xxx":default:return $e(Be.extended,e)}},set:function(e,t,n,a){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,a){return kn(e)},set:function(e,t,n,a){return[new Date(n*1e3),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,a){return kn(e)},set:function(e,t,n,a){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},$r=Br,Ur=10,Yr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Er=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rr=/^'([^]*?)'?$/,Wr=/''/g,Vr=/\S/,Hr=/[a-zA-Z]/;function Fr(e,t,n,a){E(3,arguments);var r=String(e),o=String(t),l=a||{},c=l.locale||Hn;if(!c.match)throw new RangeError("locale must contain match property");var d=c.options&&c.options.firstWeekContainsDate,g=d==null?1:$(d),O=l.firstWeekContainsDate==null?g:$(l.firstWeekContainsDate);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=c.options&&c.options.weekStartsOn,h=D==null?0:$(D),M=l.weekStartsOn==null?h:$(l.weekStartsOn);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(o==="")return r===""?j(n):new Date(NaN);var f={firstWeekContainsDate:O,weekStartsOn:M,locale:c},U=[{priority:Ur,subPriority:-1,set:jr,index:0}],i,T=o.match(Er).map(function(u){var w=u[0];if(w==="p"||w==="P"){var N=Kn[w];return N(u,c.formatLong,f)}return u}).join("").match(Yr),P=[];for(i=0;i0&&Vr.test(r))return new Date(NaN);var b=U.map(function(u){return u.priority}).sort(function(u,w){return w-u}).filter(function(u,w,N){return N.indexOf(u)===w}).map(function(u){return U.filter(function(w){return w.priority===u}).sort(function(w,N){return N.subPriority-w.subPriority})}).map(function(u){return u[0]}),R=j(n);if(isNaN(R))return new Date(NaN);var W=Fn(R,Rt(R)),te={};for(i=0;ie.length)&&(t=e.length);for(var n=0,a=new Array(t);n=l.getTime())&&(!r[1]||r[1].getTime()>=l.getTime())&&a:r.getTime()>=l.getTime()&&a}return a};function It(e){return function(t){if(Array.isArray(t))return un(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||ta(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
    -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var mo=function(e,t,n,a){var r=[],o=new Date(t,e),l=new Date(t,e+1,0);return function c(d){var g=function(O,D,h){for(var M=new Date(JSON.parse(JSON.stringify(O))),f=[],U=0;U<7;U++){var i=lt(M,U),T=ce(i)!==D;f.push({text:h&&T?"":i.getDate(),value:i,current:!T})}return f}(d,e,a);r.push({days:g}),r[r.length-1].days.some(function(O){return ye(Ze(O.value),Ze(l))})||c(lt(d,7))}(Rn(o,{weekStartsOn:n})),r},vo=function(e){return function(t){for(var n="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=a.length,o=0;o0&&a.instance!==0}}),x=I(function(){return U.value?{height:"".concat(a.modeHeight,"px")}:null}),_=function(){r.value=null};return function(V,q){return y(),k("div",{class:ne(s(m))},[B("div",{style:Ct(s(x))},[s(U)?v("",!0):(y(),k("div",{key:0,class:ne(s(i)),role:"grid","aria-label":"Calendar wrapper",onWheel:q[1]||(q[1]=on(function(p){return V.$emit("handleScroll",p)},["prevent"]))},[B("div",bo,[e.weekNumbers?(y(),k("div",_o,me(e.weekNumName),1)):v("",!0),(y(!0),k(ae,null,pe(s(f),function(p,C){return y(),k("div",{class:"dp__calendar_header_item",role:"gridcell",key:C},[V.$slots["calendar-header"]?A(V.$slots,"calendar-header",{key:0,day:p,index:C}):v("",!0),V.$slots["calendar-header"]?v("",!0):(y(),k(ae,{key:1},[Ye(me(p),1)],64))])}),128))]),Do,Se(ze,{name:g.value,css:!!s(d)},{default:J(function(){return[c.value?(y(),k("div",ko,[(y(!0),k(ae,null,pe(e.mappedDates,function(p,C){return y(),k("div",{class:"dp__calendar_row",role:"row",key:C},[e.weekNumbers?(y(),k("div",To,[B("div",xo,me(e.getWeekNum(p.days)),1)])):v("",!0),(y(!0),k(ae,null,pe(p.days,function(S,b){return y(),k("div",{role:"gridcell",class:"dp__calendar_item",ref_for:!0,ref:function(R){R&&(l.value[b+C]=R)},key:b+C,"aria-selected":S.classData.dp__active_date||S.classData.dp__range_start||S.classData.dp__range_start,"aria-disabled":S.classData.dp__cell_disabled,tabindex:"0",onClick:function(R){return V.$emit("selectDate",S)},onKeydown:Z(function(R){return V.$emit("selectDate",S)},["enter"]),onMouseover:function(R){return function(W,te){var de,fe;if(n("setHoverDate",W),(de=W.marker)!==null&&de!==void 0&&(fe=de.tooltip)!==null&&fe!==void 0&&fe.length){var u=Ce(l.value[te]);if(u){var w=u.getBoundingClientRect(),N=w.width,Q=w.height;o.value={bottom:"".concat(Q,"px"),left:"".concat(N/2,"px"),transform:"translateX(-50%)"},r.value=W.value}}}(S,b+C)},onMouseleave:_},[B("div",{class:ne(["dp__cell_inner",S.classData])},[V.$slots.day?A(V.$slots,"day",{key:0,day:+S.text,date:S.value}):v("",!0),V.$slots.day?v("",!0):(y(),k(ae,{key:1},[Ye(me(S.text),1)],64)),S.marker?(y(),k("div",{key:2,class:ne(s(T)(S.marker)),style:Ct(S.marker.color?{backgroundColor:S.marker.color}:{})},null,6)):v("",!0),s(P)(S.value)?(y(),k("div",{key:3,class:"dp__marker_tooltip",style:Ct(o.value)},[B("div",{class:"dp__tooltip_content",onClick:q[0]||(q[0]=on(function(){},["stop"]))},[(y(!0),k(ae,null,pe(S.marker.tooltip,function(R,W){return y(),k("div",{key:W,class:"dp__tooltip_text"},[V.$slots["marker-tooltip"]?A(V.$slots,"marker-tooltip",{key:0,tooltop:R,day:S.value}):v("",!0),V.$slots["marker-tooltip"]?v("",!0):(y(),k(ae,{key:1},[B("div",{class:"dp__tooltip_mark",style:Ct(R.color?{backgroundColor:R.color}:{})},null,4),B("div",null,me(R.text),1)],64))])}),128)),So])],4)):v("",!0)],2)],40,Co)}),128))])}),128))])):v("",!0)]}),_:3},8,["name","css"])],34))],4)],2)}}});function Mt(e){return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}var Nn=function(e,t){return t},ot=function(e){return Array.isArray(e)},Qe=function(e){return Array.isArray(e)},fn=function(e){return Array.isArray(e)&&e.length===2},In=function(e){return typeof e=="string"},Mo={class:"dp__selection_preview"},Po={class:"dp__action_buttons"},No=["onKeydown"],Io=je({props:{selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},internalModelValue:{type:[Date,Array],default:null},range:{type:Boolean,default:!1},previewFormat:{type:[String,Function],default:function(){return""}},inline:{type:Boolean,default:!1},monthPicker:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},multiCalendars:{type:Number,default:0},calendarWidth:{type:Number,default:0},menuMount:{type:Boolean,default:!1},customProps:{type:Object,default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},enableTimePicker:{type:Boolean,default:!0},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},multiDates:{type:Boolean,default:!1}},emits:["closePicker","selectDate"],setup:function(e,t){var n=t.emit,a=e,r=ht("formatLocale"),o=I(function(){return{dp__action:!0,dp__select:!0,dp__action_disabled:!l.value||!c.value}}),l=I(function(){return!a.enableTimePicker||dn(a.internalModelValue,a.maxTime,a.minTime)}),c=I(function(){return!a.monthPicker||(D=a.internalModelValue,h=a.minDate,M=a.maxDate,f=!0,h&&M&&(f=xe(new Date(D),new Date(h))&&be(new Date(D),new Date(M))),h&&(f=xe(new Date(D),new Date(h))),M&&(f=be(new Date(D),new Date(M))),f);var D,h,M,f}),d=function(D){return Vt(D,a.previewFormat,r==null?void 0:r.value)},g=I(function(){return a.internalModelValue&&a.menuMount?typeof a.previewFormat=="string"?ot(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?a.multiCalendars>0?"".concat(d(a.internalModelValue[0])," - ").concat(d(a.internalModelValue[1])):[d(a.internalModelValue[0]),d(a.internalModelValue[1])]:a.multiDates?a.internalModelValue.map(function(D){return"".concat(d(D))}):"".concat(d(a.internalModelValue[0])," -"):Vt(a.internalModelValue,a.previewFormat,r==null?void 0:r.value):a.timePicker?a.previewFormat(cn(a.internalModelValue)):a.monthPicker?a.previewFormat(sn(a.internalModelValue)):a.previewFormat(a.internalModelValue):""}),O=function(){l.value&&c.value&&n("selectDate")};return function(D,h){return y(),k("div",{class:"dp__action_row",style:Ct(e.calendarWidth?{width:"".concat(e.calendarWidth,"px")}:{})},[B("div",Mo,[D.$slots["action-preview"]?A(D.$slots,"action-preview",{key:0,value:e.internalModelValue}):v("",!0),D.$slots["action-preview"]?v("",!0):(y(),k(ae,{key:1},[Array.isArray(s(g))?v("",!0):(y(),k(ae,{key:0},[Ye(me(s(g)),1)],64)),Array.isArray(s(g))?(y(!0),k(ae,{key:1},pe(s(g),function(M,f){return y(),k("div",{key:f},me(M),1)}),128)):v("",!0)],64))]),B("div",Po,[D.$slots["action-select"]?A(D.$slots,"action-select",{key:0,value:e.internalModelValue}):v("",!0),D.$slots["action-select"]?v("",!0):(y(),k(ae,{key:1},[e.inline?v("",!0):(y(),k("span",{key:0,class:"dp__action dp__cancel",tabindex:"0",onClick:h[0]||(h[0]=function(M){return D.$emit("closePicker")}),onKeydown:h[1]||(h[1]=Z(function(M){return D.$emit("closePicker")},["enter"]))},me(e.cancelText),33)),B("span",{class:ne(s(o)),tabindex:"0",onKeydown:Z(O,["enter"]),onClick:O},me(e.selectText),43,No)],64))])],4)}}});function An(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function Bn(e){for(var t=1;t+a.maxValue,m=!!a.minValue&&+T<+a.minValue;return P||m},f=function(){var T=Ce(o);if(T){var P=Ce(l);P&&(P.scrollTop=T.offsetTop-P.offsetTop-(P.getBoundingClientRect().height/2-T.getBoundingClientRect().height))}},U=function(T){a.disabledValues.some(function(P){return P===T})||a.minValue&&!(+a.minValue<=T)||a.maxValue&&!(+a.maxValue>=T)||(n("update:modelValue",T),n("selected"))},i=function(){n("toggle"),n("reset-flow")};return function(T,P){return y(),k("div",{ref_key:"gridWrapRef",ref:l,class:ne(s(g)),role:"dialog",tabindex:"0"},[B("div",Ao,[B("div",Bo,[A(T.$slots,"header")]),(y(!0),k(ae,null,pe(s(D),function(m,x){return y(),k("div",{class:"dp__overlay_row",key:s(vo)(x),role:"row"},[(y(!0),k(ae,null,pe(m,function(_){return y(),k("div",{role:"gridcell",class:ne(s(O)),key:_.value,"aria-selected":_.value===e.modelValue&&!e.disabledValues.includes(_.value),"aria-disabled":_.className.dp__overlay_cell_disabled,ref_for:!0,ref:function(V){_.value!==e.modelValue||e.disabledValues.includes(_.value)||(o.value=V)},tabindex:"0",onClick:function(V){return U(_.value)},onKeydown:Z(function(V){return U(_.value)},["enter"])},[B("div",{class:ne(_.className)},[T.$slots.item?A(T.$slots,"item",{key:0,item:_}):v("",!0),T.$slots.item?v("",!0):(y(),k(ae,{key:1},[Ye(me(_.text),1)],64))],2)],42,$o)}),128))])}),128)),T.$slots["button-icon"]?(y(),k("div",{key:0,role:"button","aria-label":"Toggle overlay",class:ne(s(h)),tabindex:"0",onClick:i,onKeydown:Z(i,["enter"])},[A(T.$slots,"button-icon")],42,Uo)):v("",!0)])],2)}}}),pn=function(){var e=ht("transitions");return{transitionName:I(function(){return function(t){return e!=null&&e.value?t?e.value.open:e.value.close:""}}),showTransition:!(e==null||!e.value)}},Yo={class:"dp__time_input"},Eo=["onKeydown"],Ro=["onKeydown"],Wo=["onKeydown"],Vo={key:2},Ho=["onKeydown"],an=je({props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},filters:{type:Object,default:function(){return{}}},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1}},emits:["setHours","setMinutes","update:hours","update:minutes","update:seconds","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=L(!1),l=L(!1),c=L(!1),d=L("AM"),g=pn(),O=g.transitionName,D=g.showTransition,h=I(function(){return{dp__time_col:!0,dp__time_col_reg:!r.enableSeconds&&r.is24,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24}}),M=I(function(){var p=V(r.hours);return{text:p<10?"0".concat(p):"".concat(p),value:p}}),f=I(function(){return{text:r.minutes<10?"0".concat(r.minutes):"".concat(r.minutes),value:r.minutes}}),U=I(function(){return{text:r.seconds<10?"0".concat(r.seconds):"".concat(r.seconds),value:r.seconds}}),i=function(p,C){return function(S,b){for(var R=[],W=0;W1&&arguments[1]!==void 0?arguments[1]:3,fe=[],u=0;u1&&arguments[1]!==void 0)||arguments[1],S=x(p,C),b=S[p];a("update:".concat(p),b)},V=function(p){return r.is24?p:(d.value=p>=12?"PM":"AM",[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][p])},q=function(){d.value==="PM"?(d.value="AM",a("update:hours",r.hours-12)):(d.value="PM",a("update:hours",r.hours+12))};return n({openChildCmp:function(p){switch(p){case"hours":o.value=!0;break;case"minutes":l.value=!0;break;case"seconds":c.value=!0}}}),function(p,C){return y(),k("div",Yo,[B("div",{class:ne(s(h))},[B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment hours",tabindex:"0",onKeydown:C[0]||(C[0]=Z(function(S){return _("hours")},["enter"])),onClick:C[1]||(C[1]=function(S){return _("hours")})},[p.$slots["arrow-up"]?A(p.$slots,"arrow-up",{key:0}):v("",!0),p.$slots["arrow-up"]?v("",!0):(y(),z(s(Qt),{key:1}))],32),B("div",{role:"button","aria-label":"Open hours overlay",class:ne(e.noHoursOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:Z(T,["enter"]),onClick:T},[p.$slots.hours?A(p.$slots,"hours",{key:0,text:s(M).text,value:s(M).value}):v("",!0),p.$slots.hours?v("",!0):(y(),k(ae,{key:1},[Ye(me(s(M).text),1)],64))],42,Eo),B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement hours",tabindex:"0",onKeydown:C[2]||(C[2]=Z(function(S){return _("hours",!1)},["enter"])),onClick:C[3]||(C[3]=function(S){return _("hours",!1)})},[p.$slots["arrow-down"]?A(p.$slots,"arrow-down",{key:0}):v("",!0),p.$slots["arrow-down"]?v("",!0):(y(),z(s(Xt),{key:1}))],32)],2),B("div",{class:ne(s(h))},":",2),B("div",{class:ne(s(h))},[B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment minutes",tabindex:"0",onKeydown:C[4]||(C[4]=Z(function(S){return _("minutes")},["enter"])),onClick:C[5]||(C[5]=function(S){return _("minutes")})},[p.$slots["arrow-up"]?A(p.$slots,"arrow-up",{key:0}):v("",!0),p.$slots["arrow-up"]?v("",!0):(y(),z(s(Qt),{key:1}))],32),B("div",{"aria-label":"Open minutes overlay",role:"button",class:ne(e.noMinutesOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:Z(P,["enter"]),onClick:P},[p.$slots.minutes?A(p.$slots,"minutes",{key:0,text:s(f).text,value:s(f).value}):v("",!0),p.$slots.minutes?v("",!0):(y(),k(ae,{key:1},[Ye(me(s(f).text),1)],64))],42,Ro),B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement minutes",tabindex:"0",onKeydown:C[6]||(C[6]=Z(function(S){return _("minutes",!1)},["enter"])),onClick:C[7]||(C[7]=function(S){return _("minutes",!1)})},[p.$slots["arrow-down"]?A(p.$slots,"arrow-down",{key:0}):v("",!0),p.$slots["arrow-down"]?v("",!0):(y(),z(s(Xt),{key:1}))],32)],2),e.enableSeconds?(y(),k("div",{key:0,class:ne(s(h))},":",2)):v("",!0),e.enableSeconds?(y(),k("div",{key:1,class:ne(s(h))},[B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Increment seconds",tabindex:"0",onKeydown:C[8]||(C[8]=Z(function(S){return _("seconds")},["enter"])),onClick:C[9]||(C[9]=function(S){return _("seconds")})},[p.$slots["arrow-up"]?A(p.$slots,"arrow-up",{key:0}):v("",!0),p.$slots["arrow-up"]?v("",!0):(y(),z(s(Qt),{key:1}))],32),B("div",{role:"button","aria-label":"Open seconds overlay",class:ne(e.noSecondsOverlay?"":"dp__time_display"),tabindex:"0",onKeydown:Z(m,["enter"]),onClick:m},[p.$slots.seconds?A(p.$slots,"hours",{key:0,text:s(U).text,value:s(U).value}):v("",!0),p.$slots.seconds?v("",!0):(y(),k(ae,{key:1},[Ye(me(s(U).text),1)],64))],42,Wo),B("div",{class:"dp__inc_dec_button",role:"button","aria-label":"Decrement seconds",tabindex:"0",onKeydown:C[10]||(C[10]=Z(function(S){return _("seconds",!1)},["enter"])),onClick:C[11]||(C[11]=function(S){return _("seconds",!1)})},[p.$slots["arrow-down"]?A(p.$slots,"arrow-down",{key:0}):v("",!0),p.$slots["arrow-down"]?v("",!0):(y(),z(s(Xt),{key:1}))],32)],2)):v("",!0),e.is24?v("",!0):(y(),k("div",Vo,[p.$slots["am-pm-button"]?A(p.$slots,"am-pm-button",{key:0,toggle:q,value:d.value}):v("",!0),p.$slots["am-pm-button"]?v("",!0):(y(),k("button",{key:1,class:"dp__pm_am_button",role:"button","aria-label":"Switch AM/PM mode",tabindex:"0",onClick:q,onKeydown:Z(q,["enter"])},me(d.value),41,Ho))])),Se(ze,{name:s(O)(o.value),css:s(D)},{default:J(function(){return[o.value?(y(),z(ut,{key:0,items:i(e.is24?24:12,e.hoursGridIncrement),"disabled-values":e.filters.times.hours,"onUpdate:modelValue":C[12]||(C[12]=function(S){return p.$emit("update:hours",S)}),onSelected:T,onToggle:T,onResetFlow:C[13]||(C[13]=function(S){return p.$emit("reset-flow")})},ge({"button-icon":J(function(){return[p.$slots["clock-icon"]?A(p.$slots,"clock-icon",{key:0}):v("",!0),p.$slots["clock-icon"]?v("",!0):(y(),z(s(Ut),{key:1}))]}),_:2},[p.$slots["hours-overlay"]?{name:"item",fn:J(function(S){var b=S.item;return[A(p.$slots,"hours-overlay",{text:b.text,value:b.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"]),Se(ze,{name:s(O)(l.value),css:s(D)},{default:J(function(){return[l.value?(y(),z(ut,{key:0,items:i(60,e.minutesGridIncrement),"disabled-values":e.filters.times.minutes,"onUpdate:modelValue":C[14]||(C[14]=function(S){return p.$emit("update:minutes",S)}),onSelected:P,onToggle:P,onResetFlow:C[15]||(C[15]=function(S){return p.$emit("reset-flow")})},ge({"button-icon":J(function(){return[p.$slots["clock-icon"]?A(p.$slots,"clock-icon",{key:0}):v("",!0),p.$slots["clock-icon"]?v("",!0):(y(),z(s(Ut),{key:1}))]}),_:2},[p.$slots["minutes-overlay"]?{name:"item",fn:J(function(S){var b=S.item;return[A(p.$slots,"minutes-overlay",{text:b.text,value:b.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"]),Se(ze,{name:s(O)(c.value),css:s(D)},{default:J(function(){return[c.value?(y(),z(ut,{key:0,items:i(60,e.secondsGridIncrement),"disabled-values":e.filters.times.seconds,"onUpdate:modelValue":C[16]||(C[16]=function(S){return p.$emit("update:seconds",S)}),onSelected:m,onToggle:m,onResetFlow:C[17]||(C[17]=function(S){return p.$emit("reset-flow")})},ge({"button-icon":J(function(){return[p.$slots["clock-icon"]?A(p.$slots,"clock-icon",{key:0}):v("",!0),p.$slots["clock-icon"]?v("",!0):(y(),z(s(Ut),{key:1}))]}),_:2},[p.$slots["seconds-overlay"]?{name:"item",fn:J(function(S){var b=S.item;return[A(p.$slots,"seconds-overlay",{text:b.text,value:b.value})]})}:void 0]),1032,["items","disabled-values"])):v("",!0)]}),_:3},8,["name","css"])])}}}),xt=[{name:"clock-icon",use:["time","calendar"]},{name:"arrow-left",use:["month-year","calendar"]},{name:"arrow-right",use:["month-year","calendar"]},{name:"arrow-up",use:["time","calendar"]},{name:"arrow-down",use:["time","calendar"]},{name:"calendar-icon",use:["month-year","time","calendar"]},{name:"day",use:["calendar"]},{name:"month-overlay",use:["calendar","month-year"]},{name:"year-overlay",use:["calendar","month-year"]},{name:"hours-overlay",use:["calendar","time"]},{name:"minutes-overlay",use:["calendar","time"]},{name:"seconds-overlay",use:["calendar","time"]},{name:"hours",use:["calendar","time"]},{name:"minutes",use:["calendar","time"]},{name:"month",use:["calendar","month-year"]},{name:"year",use:["calendar","month-year"]},{name:"action-select",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar"]},{name:"marker-tooltip",use:["calendar"]},{name:"now-button",use:[]},{name:"time-picker-overlay",use:["calendar","time"]},{name:"am-pm-button",use:["calendar","time"]}],Fo=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],jo={all:function(){return xt},monthYear:function(){return xt.filter(function(e){return e.use.includes("month-year")})},input:function(){return Fo},timePicker:function(){return xt.filter(function(e){return e.use.includes("time")})},action:function(){return xt.filter(function(e){return e.use.includes("action")})},calendar:function(){return xt.filter(function(e){return e.use.includes("calendar")})}},it=function(e,t){var n=[];return jo[t]().forEach(function(a){e[a.name]&&n.push(a.name)}),n},Lo={key:0,class:"dp__overlay"},qo={class:"dp__overlay_container"},Go={key:1,class:"dp__overlay_row"},Ko=je({props:{hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},is24:{type:Boolean,default:!0},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},range:{type:Boolean,default:!1},filters:{type:Object,default:function(){return{}}},timePicker:{type:Boolean,default:!1},hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},customProps:{type:Object,default:null},enableSeconds:{type:Boolean,default:!1}},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=Ht(),l=ht("autoApply",!1),c=L(null),d=pn(),g=d.transitionName,O=d.showTransition;dt(function(){a("mount")});var D=L(!1),h=function(m){var x=arguments.length>1&&arguments[1]!==void 0&&arguments[1],_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";x||a("reset-flow"),D.value=m,mn(function(){_!==""&&c.value&&c.value.openChildCmp(_)})},M=I(function(){return{dp__button:!0,dp__button_bottom:l}}),f=it(o,"timePicker"),U=I(function(){return{is24:r.is24,hoursGridIncrement:r.hoursGridIncrement,minutesGridIncrement:r.minutesGridIncrement,secondsGridIncrement:r.secondsGridIncrement,hoursIncrement:r.hoursIncrement,minutesIncrement:r.minutesIncrement,secondsIncrement:r.secondsIncrement,filters:r.filters,noHoursOverlay:r.noHoursOverlay,noMinutesOverlay:r.noMinutesOverlay,noSecondsOverlay:r.noSecondsOverlay,enableSeconds:r.enableSeconds}}),i=function(m){a("update:hours",m)},T=function(m){a("update:minutes",m)},P=function(m){a("update:seconds",m)};return n({toggleTimePicker:h}),function(m,x){return y(),k("div",null,[e.timePicker?v("",!0):(y(),k("div",{key:0,class:ne(s(M)),role:"button","aria-label":"Open time picker",tabindex:"0",onKeydown:x[0]||(x[0]=Z(function(_){return h(!0)},["enter"])),onClick:x[1]||(x[1]=function(_){return h(!0)})},[m.$slots["clock-icon"]?A(m.$slots,"clock-icon",{key:0}):v("",!0),m.$slots["clock-icon"]?v("",!0):(y(),z(s(Ut),{key:1}))],34)),Se(ze,{name:s(g)(D.value),css:s(O)},{default:J(function(){return[D.value||e.timePicker?(y(),k("div",Lo,[B("div",qo,[m.$slots["time-picker-overlay"]?A(m.$slots,"time-picker-overlay",{key:0,range:e.range,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:i,setMinutes:T,setSeconds:P}):v("",!0),m.$slots["time-picker-overlay"]?v("",!0):(y(),k("div",Go,[e.range?v("",!0):(y(),z(an,De({key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds},s(U),{ref_key:"timeInputRef",ref:c,"onUpdate:hours":x[2]||(x[2]=function(_){return i(_)}),"onUpdate:minutes":x[3]||(x[3]=function(_){return T(_)}),"onUpdate:seconds":x[4]||(x[4]=function(_){return P(_)}),onResetFlow:x[5]||(x[5]=function(_){return m.$emit("reset-flow")})}),ge({_:2},[pe(s(f),function(_,V){return{name:_,fn:J(function(q){return[A(m.$slots,_,Ve(He(q)))]})}})]),1040,["hours","minutes","seconds"])),e.range?(y(),k(ae,{key:1},[Se(an,De({hours:e.hours[0],minutes:e.minutes[0],seconds:e.seconds[0]},s(U),{"onUpdate:hours":x[6]||(x[6]=function(_){return i([_,e.hours[1]])}),"onUpdate:minutes":x[7]||(x[7]=function(_){return T([_,e.minutes[1]])}),"onUpdate:seconds":x[8]||(x[8]=function(_){return P([_,e.seconds[1]])})}),ge({_:2},[pe(s(f),function(_,V){return{name:_,fn:J(function(q){return[A(m.$slots,_,Ve(He(q)))]})}})]),1040,["hours","minutes","seconds"]),Se(an,De({hours:e.hours[1],minutes:e.minutes[1],seconds:e.seconds[1]},s(U),{"onUpdate:hours":x[9]||(x[9]=function(_){return i([e.hours[0],_])}),"onUpdate:minutes":x[10]||(x[10]=function(_){return T([e.minutes[0],_])}),"onUpdate:seconds":x[11]||(x[11]=function(_){return P([e.seconds[0],_])})}),ge({_:2},[pe(s(f),function(_,V){return{name:_,fn:J(function(q){return[A(m.$slots,_,Ve(He(q)))]})}})]),1040,["hours","minutes","seconds"])],64)):v("",!0)])),e.timePicker?v("",!0):(y(),k("div",{key:2,class:ne(s(M)),role:"button","aria-label":"Close time picker",tabindex:"0",onKeydown:x[12]||(x[12]=Z(function(_){return h(!1)},["enter"])),onClick:x[13]||(x[13]=function(_){return h(!1)})},[m.$slots["calendar-icon"]?A(m.$slots,"calendar-icon",{key:0}):v("",!0),m.$slots["calendar-icon"]?v("",!0):(y(),z(s(Ot),{key:1}))],34))])])):v("",!0)]}),_:3},8,["name","css"])])}}}),Qo=function(e,t){var n=function l(c,d){var g=c;return e.filters.months.includes(ce(g))?l(g=d?Fe(c,1):Nt(c,1),d):g},a=function l(c,d){var g=c;return e.filters.years.includes(ve(g))?l(g=d?Wn(c,1):Kr(c,1),d):g},r=function(l,c,d){return[new Date(e[l]),Ae(new Date,{month:c,year:d})]},o=function(l,c){t("update:month",l),t("update:year",c)};return{handleMonthYearChange:function(l){var c=Ae(new Date,{month:e.month,year:e.year}),d=l?Fe(c,1):Nt(c,1),g=ce(d),O=ve(d);e.filters.months.includes(g)&&(d=n(d,l),g=ce(d),O=ve(d)),e.filters.years.includes(O)&&(d=a(d,l),O=ve(d)),function(D,h,M){e.preventMinMaxNavigation&&(e.minDate||e.maxDate)?(e.maxDate&&M&&xe.apply(void 0,It(r("maxDate",D,h)))&&o(D,h),e.minDate&&!M&&be.apply(void 0,It(r("minDate",D,h)))&&o(D,h)):o(D,h)}(g,O,l)}}},Xo={class:"dp__month_year_row"},zo={class:"dp__inner_nav",role:"button","aria-label":"Previous month"},Jo=["onKeydown"],Zo=["onKeydown"],eu={class:"dp__inner_nav",role:"button","aria-label":"Next month"},tu={class:"dp__month_picker_header"},nu={class:"dp__inner_nav",role:"button","aria-label":"Previous month"},au=["onKeydown"],ru={class:"dp__inner_nav",role:"button","aria-label":"Next month"},ou=je({props:{months:{type:Array,default:function(){return[]}},years:{type:Array,default:function(){return[]}},year:{type:Number,default:0},month:{type:Number,default:0},filters:{type:Object,default:function(){return{}}},monthPicker:{type:Boolean,default:!1},instance:{type:Number,default:1},customProps:{type:Object,default:null},multiCalendars:{type:Number,default:0},multiCalendarsSolo:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},preventMinMaxNavigation:{type:Boolean,default:!1}},emits:["update:month","update:year","monthYearSelect","mount","reset-flow"],setup:function(e,t){var n=t.expose,a=t.emit,r=e,o=pn(),l=o.transitionName,c=o.showTransition,d=L(!1),g=L(!1),O=Qo(r,a).handleMonthYearChange;dt(function(){a("mount")});var D=function(b){a("update:month",b),a("monthYearSelect"),q(!0)},h=function(b){a("update:year",b),a("monthYearSelect",!0),p(!0)},M=I(function(){return r.minDate?ve(new Date(r.minDate)):null}),f=I(function(){return r.maxDate?ve(new Date(r.maxDate)):null}),U=I(function(){if(r.minDate&&M.value){if(M.value>r.year)return 12;if(M.value===r.year)return ce(new Date(r.minDate))}return null}),i=I(function(){if(r.maxDate&&f.value){if(f.value0&&arguments[0]!==void 0&&arguments[0];C(b),d.value=!d.value},p=function(){var b=arguments.length>0&&arguments[0]!==void 0&&arguments[0];C(b),g.value=!g.value},C=function(b){b||a("reset-flow")},S=function(){var b=arguments.length>0&&arguments[0]!==void 0&&arguments[0];a("update:year",b?r.year+1:r.year-1)};return n({toggleMonthPicker:q,toggleYearPicker:p}),function(b,R){return y(),k("div",Xo,[e.monthPicker?v("",!0):(y(),k(ae,{key:0},[s(_)?(y(),k("div",{key:0,class:"dp__month_year_col_nav",onClick:R[0]||(R[0]=function(W){return s(O)(!1)}),onKeydown:R[1]||(R[1]=Z(function(W){return s(O)(!1)},["enter"])),tabindex:"0"},[B("div",zo,[b.$slots["arrow-left"]?A(b.$slots,"arrow-left",{key:0}):v("",!0),b.$slots["arrow-left"]?v("",!0):(y(),z(s(Cn),{key:1}))])],32)):v("",!0),B("div",{class:"dp__month_year_select",onClick:q,onKeydown:Z(q,["enter"]),role:"button","aria-label":"Open months overlay",tabindex:"0"},[b.$slots.month?A(b.$slots,"month",{key:0,value:s(P).value,text:s(P).text}):v("",!0),b.$slots.month?v("",!0):(y(),k(ae,{key:1},[Ye(me(s(P).text),1)],64))],40,Jo),B("div",{class:"dp__month_year_select",onClick:p,onKeydown:Z(p,["enter"]),role:"button","aria-label":"Open years overlay",tabindex:"0"},[b.$slots.year?A(b.$slots,"year",{key:0,year:e.year}):v("",!0),b.$slots.year?v("",!0):(y(),k(ae,{key:1},[Ye(me(e.year),1)],64))],40,Zo),Se(ze,{name:s(l)(d.value),css:s(c)},{default:J(function(){return[d.value?(y(),z(ut,De({key:0},{modelValue:e.month,items:s(m),disabledValues:e.filters.months,minValue:s(U),maxValue:s(i)},{"onUpdate:modelValue":D,onToggle:q}),ge({"button-icon":J(function(){return[b.$slots["calendar-icon"]?A(b.$slots,"calendar-icon",{key:0}):v("",!0),b.$slots["calendar-icon"]?v("",!0):(y(),z(s(Ot),{key:1}))]}),_:2},[b.$slots["month-overlay"]?{name:"item",fn:J(function(W){var te=W.item;return[A(b.$slots,"month-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"]),Se(ze,{name:s(l)(g.value),css:s(c)},{default:J(function(){return[g.value?(y(),z(ut,De({key:0},{modelValue:e.year,items:s(x),disabledValues:e.filters.years,minValue:s(M),maxValue:s(f)},{"onUpdate:modelValue":h,onToggle:p}),ge({"button-icon":J(function(){return[b.$slots["calendar-icon"]?A(b.$slots,"calendar-icon",{key:0}):v("",!0),b.$slots["calendar-icon"]?v("",!0):(y(),z(s(Ot),{key:1}))]}),_:2},[b.$slots["year-overlay"]?{name:"item",fn:J(function(W){var te=W.item;return[A(b.$slots,"year-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"]),s(V)?(y(),k("div",{key:1,class:"dp__month_year_col_nav",onClick:R[2]||(R[2]=function(W){return s(O)(!0)}),onKeydown:R[3]||(R[3]=Z(function(W){return s(O)(!0)},["enter"])),tabindex:"0"},[B("div",eu,[b.$slots["arrow-right"]?A(b.$slots,"arrow-right",{key:0}):v("",!0),b.$slots["arrow-right"]?v("",!0):(y(),z(s(Sn),{key:1}))])],32)):v("",!0)],64)),e.monthPicker?(y(),z(ut,De({key:1},{modelValue:e.month,items:s(m),disabledValues:e.filters.months,minValue:s(U),maxValue:s(i)},{"onUpdate:modelValue":D,onToggle:q}),ge({header:J(function(){return[B("div",tu,[B("div",{class:"dp__month_year_col_nav",tabindex:"0",onClick:R[4]||(R[4]=function(W){return S(!1)}),onKeydown:R[5]||(R[5]=Z(function(W){return S(!1)},["enter"]))},[B("div",nu,[b.$slots["arrow-left"]?A(b.$slots,"arrow-left",{key:0}):v("",!0),b.$slots["arrow-left"]?v("",!0):(y(),z(s(Cn),{key:1}))])],32),B("div",{class:"dp__pointer",role:"button","aria-label":"Open years overlay",tabindex:"0",onClick:p,onKeydown:Z(p,["enter"])},[b.$slots.year?A(b.$slots,"year",{key:0,year:e.year}):v("",!0),b.$slots.year?v("",!0):(y(),k(ae,{key:1},[Ye(me(e.year),1)],64))],40,au),B("div",{class:"dp__month_year_col_nav",tabindex:"0",onClick:R[6]||(R[6]=function(W){return S(!0)}),onKeydown:R[7]||(R[7]=Z(function(W){return S(!0)},["enter"]))},[B("div",ru,[b.$slots["arrow-right"]?A(b.$slots,"arrow-right",{key:0}):v("",!0),b.$slots["arrow-right"]?v("",!0):(y(),z(s(Sn),{key:1}))])],32)]),Se(ze,{name:s(l)(g.value),css:s(c)},{default:J(function(){return[g.value?(y(),z(ut,De({key:0},{modelValue:e.year,items:s(x),disabledValues:e.filters.years,minValue:s(M),maxValue:s(f)},{"onUpdate:modelValue":h,onToggle:p}),ge({"button-icon":J(function(){return[b.$slots["calendar-icon"]?A(b.$slots,"calendar-icon",{key:0}):v("",!0),b.$slots["calendar-icon"]?v("",!0):(y(),z(s(Ot),{key:1}))]}),_:2},[b.$slots["year-overlay"]?{name:"item",fn:J(function(W){var te=W.item;return[A(b.$slots,"year-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)]}),_:3},8,["name","css"])]}),_:2},[b.$slots["month-overlay"]?{name:"item",fn:J(function(W){var te=W.item;return[A(b.$slots,"month-overlay",{text:te.text,value:te.value})]})}:void 0]),1040)):v("",!0)])}}}),uu=function(e,t,n){var a=L(new Date),r=L(),o=L([{month:ce(new Date),year:ve(new Date)}]),l=L(e.range?[Ne(new Date),Ne(new Date)]:Ne(new Date)),c=L(e.range?[Ie(new Date),Ie(new Date)]:Ie(new Date)),d=L(e.range?[0,0]:0);gt(o,function(){setTimeout(function(){e.openOnTop&&t("dpOpen")},0)},{deep:!0}),dt(function(){V(),i.value||(e.startDate&&(o.value[0].month=ce(new Date(e.startDate)),o.value[0].year=ve(new Date(e.startDate)),e.multiCalendars&&b(0)),e.startTime&&U())});var g=I(function(){return function(u){return o.value[u]?o.value[u].month:0}}),O=I(function(){return function(u){return o.value[u]?o.value[u].year:0}}),D=function(u,w,N){o.value[u].month=w,o.value[u].year=N},h=function(u,w){return o.value[u].month=w},M=function(u,w){return o.value[u].year=w},f=function(){var u=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return e.enableSeconds?Array.isArray(d.value)?u?d.value[0]:d.value[1]:d.value:0},U=function(){var u;e.startTime&&(u=e.startTime,Array.isArray(u)?(l.value=[+e.startTime[0].hours,+e.startTime[1].hours],c.value=[+e.startTime[0].minutes,+e.startTime[1].minutes],e.enableSeconds&&(d.value=[+e.startTime[0].seconds,+e.startTime[1].seconds])):(l.value=+e.startTime.hours,c.value=+e.startTime.minutes,e.enableSeconds&&(d.value=+e.startTime.seconds)))},i=I({get:function(){return e.internalModelValue},set:function(u){e.readonly||e.disabled||t("update:internalModelValue",u)}});gt(i,function(){return V()});var T=function(u){var w=!!e.maxDate&&xe(Ue(u),Ue(new Date(e.maxDate))),N=!!e.minDate&&be(Ue(u),Ue(new Date(e.minDate))),Q=typeof e.disabledDates=="function"?e.disabledDates(u):e.disabledDates.some(function(X){return ye(Ue(new Date(X)),Ue(u))}),we=e.filters.months.length?e.filters.months.map(function(X){return+X}):[],et=we.includes(ce(u)),Le=!!e.disabledWeekDays.length&&e.disabledWeekDays.some(function(X){return+X===hr(u)}),ke=!!e.allowedDates.length&&!e.allowedDates.some(function(X){return ye(Ue(new Date(X)),Ue(u))}),ft=ve(u),bt=ft<+e.yearRange[0]||ft>+e.yearRange[1];return w||N||Q||et||bt||Le||ke},P=function(u){return!!i.value&&!(e.hideOffsetDates&&!u.current)&&!e.range&&(e.multiDates&&Array.isArray(i.value)?i.value.some(function(w){return ye(w,u.value)}):ye(u.value,i.value?i.value:a.value))},m=function(u){if(h(0,ce(u)),M(0,ve(u)),e.multiCalendars)for(var w=1;w0)for(var Q=1;Q=+e.minRange&&N<=+e.maxRange;if(e.minRange)return N>=+e.minRange;if(e.maxRange)return N<=+e.maxRange}return!0},S=function(u){return Array.isArray(i.value)&&i.value.length===2?e.fixedStart&&(xe(u,i.value[0])||ye(u,i.value[0]))?[i.value[0],u]:e.fixedEnd&&(be(u,i.value[1])||ye(u,i.value[1]))?[u,i.value[1]]:i.value:[]},b=function(u){for(var w=u-1;w>=0;w--){var N=Nt(Ae(new Date,{month:g.value(w+1),year:O.value(w+1)}),1);D(w,ce(N),ve(N))}for(var Q=u+1;Q<=e.multiCalendars-1;Q++){var we=Fe(Ae(new Date,{month:g.value(Q-1),year:O.value(Q-1)}),1);D(Q,ce(we),ve(we))}},R=function(u){return _e(u,l.value,c.value,f())},W=function(u){ot(u)&&ot(i.value)&&Qe(l.value)&&Qe(c.value)?(u[0]&&i.value[0]&&(i.value[0]=_e(u[0],l.value[0],c.value[0],f())),u[1]&&i.value[1]&&(i.value[1]=_e(u[1],l.value[1],c.value[1],f(!1)))):e.multiDates&&Array.isArray(i.value)?i.value[i.value.length-1]=R(u):e.range||fn(u)||(i.value=R(u)),t("timeUpdate")},te=function(u){return!(Nn(i.value,e.range)&&i.value[0]&&r.value)||(u?xe(r.value,i.value[0]):be(r.value,i.value[0]))},de=function(u){var w=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return e.range&&fn(i.value)?!(e.hideOffsetDates&&!u.current)&&ye(new Date(u.value),i.value[w?0:1]):!!e.range&&(ye(new Date(u.value),i.value&&Array.isArray(i.value)?w?i.value[0]||null:i.value[1]:null)&&(!w||!be(r.value||null,Array.isArray(i.value)?i.value[0]:null))||ye(u.value,Array.isArray(i.value)?i.value[0]:null)&&te(w))},fe=function(u,w){var N=Ae(new Date,{month:g.value(w),year:O.value(w)}),Q=u<0?Fe(N,1):Nt(N,1);D(w,ce(Q),ve(Q)),e.multiCalendars&&!e.multiCalendarsSolo&&b(w)};return{today:a,hours:l,minutes:c,seconds:d,month:g,year:O,monthYearSelect:function(){var u=arguments.length>0&&arguments[0]!==void 0&&arguments[0];e.autoApply&&e.monthPicker&&t("autoApply",u)},isDisabled:T,updateTime:function(u){var w=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],N=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(w?l.value=u:w||N?N&&(d.value=u):c.value=u,i.value)if(e.multiDates){var Q=_();Q&&W(Q)}else W(i.value);else e.timePicker&&W(e.range?[new Date,new Date]:new Date);n()},setHoverDate:function(u){!u.current&&e.hideOffsetDates||(r.value=u.value)},getWeekNum:function(u){var w=u.find(function(N){return N.current});return w?br(w.value):""},selectDate:function(u){var w=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!T(u.value)&&(u.current||!e.hideOffsetDates))if(e.range||Qe(l.value)||Qe(c.value)){if(Qe(l.value)&&Qe(c.value)&&!e.multiDates){var N=i.value?i.value.slice():[];N.length!==2||e.fixedStart||e.fixedEnd||(N=[]),e.autoRange?(w&&q(u.value),N=[new Date(u.value),lt(new Date(u.value),+e.autoRange)]):e.fixedStart||e.fixedEnd?N=S(new Date(u.value)):N[0]?C(new Date(u.value))&&(be(new Date(u.value),new Date(N[0]))?N.unshift(new Date(u.value)):N[1]=new Date(u.value)):N[0]=new Date(u.value),N[0]&&!N[1]?N[0]=_e(N[0],l.value[0],c.value[0],f()):(N[0]=_e(N[0],l.value[0],c.value[0],f()),N[1]=_e(N[1],l.value[1],c.value[1],f(!1)),n()),i.value=N,N[0]&&N[1]&&e.autoApply&&t("autoApply")}}else{var Q=_e(new Date(u.value),l.value,c.value,f());e.multiDates?p(Q):i.value=Q,n(),e.autoApply&&t("autoApply")}},rangeActive:function(u){return ot(i.value)&&i.value[0]&&i.value[1]?xe(u.value,i.value[0])&&be(u.value,i.value[1]):!!(ot(i.value)&&i.value[0]&&r.value)&&(xe(u.value,i.value[0])&&be(u.value,r.value)||be(u.value,i.value[0])&&xe(u.value,r.value))},isActiveDate:P,updateMonthYear:function(u,w){var N=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];N?h(u,w):M(u,w),e.multiCalendars&&!e.multiCalendarsSolo&&b(u),e.monthPicker&&(i.value?i.value=ct(i.value,g.value(0),O.value(0)):i.value=ct(new Date,g.value(0),O.value(0))),n()},isHoverRangeEnd:function(u){if(e.autoRange){if(r.value){if(e.hideOffsetDates&&!u.current)return!1;var w=lt(r.value,+e.autoRange);return ye(w,new Date(u.value))}return!1}return!1},isAutoRangeInBetween:function(u){if(e.autoRange){if(r.value){var w=lt(r.value,+e.autoRange);return!(e.hideOffsetDates&&!u.current)&&xe(u.value,r.value)&&be(u.value,w)}return!1}return!1},isAutoRangeStart:function(u){return!!e.autoRange&&!!r.value&&!(e.hideOffsetDates&&!u.current)&&ye(r.value,u.value)},clearHoverDate:function(){r.value=null},rangeActiveStartEnd:de,handleScroll:function(u,w){e.monthChangeOnScroll&&fe(e.monthChangeOnScroll==="inverse"?-u.deltaY:u.deltaY,w)},getMarker:function(u){return e.markers.find(function(w){return ye(Ue(new Date(u.value)),Ue(new Date(w.date)))})},handleArrow:function(u,w){e.monthChangeOnArrows&&fe(u==="right"?-1:1,w)},selectCurrentDate:function(){e.range?Nn(i.value,e.range)&&(i.value&&i.value[0]?i.value=be(new Date,i.value[0])?[new Date,i.value[0]]:[i.value[0],new Date]:i.value=[new Date]):t("update:internalModelValue",new Date),e.autoApply&&t("selectDate")},isHoverDate:function(u,w){return(!Array.isArray(e.internalModelValue)||!e.internalModelValue.length)&&!(u||P(w)||!w.current&&e.hideOffsetDates||e.range&&(de(w)||de(w,!1)))},isHoverDateStartEnd:function(u,w,N){return!(!Array.isArray(e.internalModelValue)||!e.internalModelValue[0]||e.internalModelValue.length!==1)&&!u&&(N?xe(e.internalModelValue[0],w.value):be(e.internalModelValue[0],w.value))},presetDateRange:function(u){u.length&&u.length<=2&&e.range&&(i.value=u.map(function(w){return new Date(w)}),e.autoApply&&t("selectDate"))}}};function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function $t(e){for(var t=1;t0&&a.range?It(Array(a.multiCalendars).keys()):[0]}),Ee=I(function(){return function(Y){return Y===1}}),Re=I(function(){return a.monthPicker||a.timePicker}),nt=I(function(){return{dp__flex_display:a.multiCalendars>0}}),se=I(function(){return{dp__instance_calendar:a.multiCalendars>0}}),he=I(function(){return{dp__menu_disabled:a.disabled,dp__menu_readonly:a.readonly}}),Me=I(function(){return function(Y){return at(Ge,Y)}}),We=I(function(){return{locale:a.locale,weekNumName:a.weekNumName,weekStart:a.weekStart,weekNumbers:a.weekNumbers,enableTimePicker:a.enableTimePicker,disableMonthYearSelect:a.disableMonthYearSelect,monthPicker:a.monthPicker,timePicker:a.timePicker,range:a.range,filters:a.filters,minTime:a.minTime,maxTime:a.maxTime,minDate:a.minDate,maxDate:a.maxDate,customProps:a.customProps,calendarClassName:a.calendarClassName,specificMode:Re.value,getWeekNum:S,multiCalendars:a.multiCalendars,months:tt.value,years:Te.value,multiCalendarsSolo:a.multiCalendarsSolo,modeHeight:a.modeHeight,internalModelValue:a.internalModelValue}}),vt=I(function(){var Y;return Je(Y={dp__menu:!0},a.menuClassName,!!a.menuClassName),Je(Y,"dp__relative",a.inline),Y}),at=function(Y,F){return Y.value(F).map(function(H){return $t($t({},H),{},{days:H.days.map(function(G){var K=q(G.value),Dt=ke(K,G);return G.marker=we(G),G.classData=Je({dp__cell_offset:!G.current,dp__pointer:!(K||!G.current&&a.hideOffsetDates),dp__active_date:!a.range&&p(G),dp__date_hover:Dt,dp__date_hover_start:Le(Dt,G,!0),dp__date_hover_end:Le(Dt,G,!1),dp__range_between:!(!a.range||a.multiCalendars>0&&!G.current||K||!G.current&&a.hideOffsetDates||p(G))&&de(G),dp__today:!a.noToday&&ye(G.value,T.value),dp__cell_disabled:K,dp__cell_auto_range:W(G),dp__cell_auto_range_start:te(G),dp__cell_auto_range_end:R(G),dp__range_start:a.multiCalendars>0?G.current&&u(G):u(G),dp__range_end:a.multiCalendars>0?G.current&&u(G,!1):u(G,!1)},a.calendarCellClassName,!!a.calendarCellClassName),G})})})},pt=function(Y){Y.stopPropagation(),Y.preventDefault(),Y.stopImmediatePropagation()},Pe=function(){a.escClose&&n("closePicker")},_t=function(Y){Y.stopImmediatePropagation(),Y.preventDefault(),a.spaceConfirm&&n("selectDate")},Ft=function(Y){var F;(F=a.flow)!==null&&F!==void 0&&F.length&&(l[Y]=!0,Object.keys(l).filter(function(H){return!l[H]}).length||yn())},yn=function(){a.flow[h.value]==="month"&&c.value[0]&&c.value[0].toggleMonthPicker(!0),a.flow[h.value]==="year"&&c.value&&c.value[0].toggleYearPicker(!0),a.flow[h.value]==="calendar"&&d.value&&d.value.toggleTimePicker(!1,!0),a.flow[h.value]==="time"&&d.value&&d.value.toggleTimePicker(!0,!0);var Y=a.flow[h.value];Y!=="hours"&&Y!=="minutes"&&Y!=="seconds"||d.value&&d.value.toggleTimePicker(!0,!0,Y)};return function(Y,F){return y(),k("div",{id:e.uid?"dp-menu-".concat(e.uid):void 0,tabindex:"0",ref_key:"dpMenuRef",ref:g,role:"dialog","aria-label":"Datepicker menu",class:ne(s(vt)),onMouseleave:F[11]||(F[11]=function(){return s(fe)&&s(fe).apply(void 0,arguments)}),onClick:pt,onKeydown:[Z(Pe,["esc"]),Z(_t,["space"]),F[12]||(F[12]=Z(function(H){return s(Q)("left",0)},["left"])),F[13]||(F[13]=Z(function(H){return s(Q)("right",0)},["right"]))]},[(e.disabled||e.readonly)&&e.inline?(y(),k("div",{key:0,class:ne(s(he))},null,2)):v("",!0),e.inline?v("",!0):(y(),k("div",{key:1,class:ne(s(qe))},null,2)),B("div",{class:ne(e.presetRanges.length?"dp__menu_content_wrapper":null)},[e.presetRanges.length?(y(),k("div",lu,[(y(!0),k(ae,null,pe(e.presetRanges,function(H,G){return y(),k("div",{key:G,class:"dp__preset_range",onClick:function(K){return s(ft)(H.range)}},me(H.label),9,su)}),128))])):v("",!0),B("div",{class:"dp__instance_calendar",ref_key:"calendarWrapperRef",ref:o,role:"document"},[B("div",{class:ne(s(nt))},[(y(!0),k(ae,null,pe(s(mt),function(H,G){return y(),k("div",{key:H,class:ne(s(se))},[e.disableMonthYearSelect||e.timePicker?v("",!0):(y(),z(Lt(e.monthYearComponent?e.monthYearComponent:ou),De({key:0,ref_for:!0,ref:function(K){K&&(c.value[G]=K)}},{months:s(tt),years:s(Te),filters:e.filters,monthPicker:e.monthPicker,month:s(P)(H),year:s(m)(H),customProps:e.customProps,multiCalendars:e.multiCalendars,multiCalendarsSolo:e.multiCalendarsSolo,instance:H,minDate:e.minDate,maxDate:e.maxDate,preventMinMaxNavigation:e.preventMinMaxNavigation},{onMount:F[0]||(F[0]=function(K){return Ft("monthYearInput")}),onResetFlow:M,"onUpdate:month":function(K){return s(i)(H,K,!0)},"onUpdate:year":function(K){return s(i)(H,K,!1)},onMonthYearSelect:s(w)}),ge({_:2},[pe(s(le),function(K,Dt){return{name:K,fn:J(function(jt){return[A(Y.$slots,K,Ve(He(jt)))]})}})]),1040,["onUpdate:month","onUpdate:year","onMonthYearSelect"])),Se(Oo,De(s(We),{"flow-step":h.value,"onUpdate:flow-step":F[1]||(F[1]=function(K){return h.value=K}),instance:H,"mapped-dates":s(Me)(H),month:s(P)(H),year:s(m)(H),"month-year-component":e.monthYearComponent,onSelectDate:function(K){return s(C)(K,!s(Ee)(H))},onSetHoverDate:F[2]||(F[2]=function(K){return s(b)(K)}),onHandleScroll:function(K){return s(N)(K,H)},onMount:F[3]||(F[3]=function(K){return Ft("calendar")}),onResetFlow:M}),ge({_:2},[pe(s(bt),function(K,Dt){return{name:K,fn:J(function(jt){return[A(Y.$slots,K,Ve(He($t({},jt))))]})}})]),1040,["flow-step","instance","mapped-dates","month","year","month-year-component","onSelectDate","onHandleScroll"])],2)}),128))],2),B("div",null,[e.enableTimePicker&&!e.monthPicker?(y(),z(Lt(e.timePickerComponent?e.timePickerComponent:Ko),De({key:0,ref_key:"timePickerRef",ref:d},{is24:e.is24,hoursIncrement:e.hoursIncrement,minutesIncrement:e.minutesIncrement,hoursGridIncrement:e.hoursGridIncrement,secondsIncrement:e.secondsIncrement,minutesGridIncrement:e.minutesGridIncrement,secondsGridIncrement:e.secondsGridIncrement,noHoursOverlay:e.noHoursOverlay,noMinutesOverlay:e.noMinutesOverlay,noSecondsOverlay:e.noSecondsOverlay,range:e.range,filters:e.filters,timePicker:e.timePicker,hours:s(x),minutes:s(_),seconds:s(V),customProps:e.customProps,enableSeconds:e.enableSeconds},{onMount:F[4]||(F[4]=function(H){return Ft("timePicker")}),"onUpdate:hours":F[5]||(F[5]=function(H){return s(U)(H)}),"onUpdate:minutes":F[6]||(F[6]=function(H){return s(U)(H,!1)}),"onUpdate:seconds":F[7]||(F[7]=function(H){return s(U)(H,!1,!0)}),onResetFlow:M}),ge({_:2},[pe(s(oe),function(H,G){return{name:H,fn:J(function(K){return[A(Y.$slots,H,Ve(He(K)))]})}})]),1040)):v("",!0)])],512),e.showNowButton?(y(),k("div",cu,[Y.$slots["now-button"]?A(Y.$slots,"now-button",{key:0,selectCurrentDate:s(et)}):v("",!0),Y.$slots["now-button"]?v("",!0):(y(),k("button",{key:1,type:"button",role:"button",class:"dp__now_button",onClick:F[8]||(F[8]=function(){return s(et)&&s(et).apply(void 0,arguments)})},me(e.nowButtonLabel),1))])):v("",!0)],2),e.autoApply?v("",!0):(y(),z(Lt(e.actionRowComponent?e.actionRowComponent:Io),De({key:2},{calendarWidth:O.value,selectText:e.selectText,cancelText:e.cancelText,internalModelValue:e.internalModelValue,range:e.range,previewFormat:e.previewFormat,inline:e.inline,monthPicker:e.monthPicker,timePicker:e.timePicker,customProps:e.customProps,multiCalendars:e.multiCalendars,menuMount:D.value,maxTime:e.maxTime,minTime:e.minTime,enableTimePicker:e.enableTimePicker,minDate:e.minDate,maxDate:e.maxDate,multiDates:e.multiDates},{onClosePicker:F[9]||(F[9]=function(H){return Y.$emit("closePicker")}),onSelectDate:F[10]||(F[10]=function(H){return Y.$emit("selectDate")})}),ge({_:2},[pe(s(X),function(H,G){return{name:H,fn:J(function(K){return[A(Y.$slots,H,Ve(He($t({},K))))]})}})]),1040))],42,iu)}}});(function(e){e.center="center",e.left="left",e.right="right"})(Pt||(Pt={}));var fu=function(e,t,n,a,r,o,l,c,d,g,O){var D=L(""),h=L();gt(h,function(){O("internalModelChange",h.value)});var M=function(){if(h.value)if(e&&typeof e!="string")D.value=e(t?cn(h.value):n?sn(h.value):h.value);else{var f=na(e,o,c,n,t,l);Array.isArray(h.value)&&g?D.value=h.value.map(function(U){return Vt(U,f,d==null?void 0:d.value)}).join("; "):D.value=Vt(h.value,f,d==null?void 0:d.value)}else D.value=""};return{parseExternalModelValue:function(f){var U=null;f?t?function(i){return Array.isArray(i)&&i.length===2}(f)&&"hours"in f[0]&&"minutes"in f[0]?U=[_e(null,+f[0].hours,+f[0].minutes,+f[0].seconds),_e(null,+f[1].hours,+f[1].minutes,+f[1].seconds)]:function(i){return Mt(i)==="object"}(f)&&(U=_e(null,+f.hours,+f.minutes,+f.seconds)):n?function(i){return Mt(i)==="object"}(f)&&"month"in f&&"year"in f&&(U=ct(null,+f.month,+f.year)):g&&Array.isArray(f)?U=f.map(function(i){return new Date(i)}):a?function(i,T){return T?Array.isArray(i):fn(i)}(f,r)&&(U=[new Date(f[0]),f[1]?new Date(f[1]):null]):function(i){return typeof i=="string"||Mt(i)==="object"}(f)&&(U=new Date(f)):U=null,ln(U)?(h.value=U,M()):(h.value=null,D.value="")},formatInputValue:M,internalModelValue:h,inputValue:D,emitModelValue:function(){n?O("update:modelValue",sn(h.value)):t?O("update:modelValue",cn(h.value)):(h.value&&a&&r&&h.value.length===1&&h.value.push(null),O("update:modelValue",h.value)),M()},checkBeforeEmit:function(){return!!h.value&&(a?r?h.value.length>=1:h.value.length===2:!!h.value)}}},mu=typeof window!="undefined"?window:void 0,rn=function(){},vu=function(e,t,n,a){if(!e)return rn;var r,o=rn,l=gt(function(){return s(e)},function(d){o(),d&&(d.addEventListener(t,n,a),o=function(){d.removeEventListener(t,n,a),o=rn})},{immediate:!0,flush:"post"}),c=function(){l(),o()};return r=c,ua()&&ia(r),c};function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function pu(e){for(var t=1;t0&&arguments[0]!==void 0)||arguments[0],he=Ce(Te);if(oe&&typeof oe!="boolean")Oe.value=oe(he);else if(he){var Me=he.getBoundingClientRect(),We=Me.left,vt=Me.width,at=Me.height,pt=(oe?Ee(he):mt(he)).top,Pe={top:"".concat(at+pt+10,"px"),left:"",transform:"none"};X===Pt.left&&(Pe.left="".concat(We,"px")),X===Pt.right&&(Pe.left="".concat(We+vt,"px"),Pe.transform="translateX(-100%)"),X===Pt.center&&(Pe.left="".concat(We+vt/2,"px"),Pe.transform="translateX(-50%)"),Oe.value=Pe,se&&le&&nt()}},nt=function(){var se=Ce(Te);if(se&&le){var he=se.getBoundingClientRect(),Me=he.height,We=he.top,vt=(oe?Ee(se):mt(se)).top,at=window.innerHeight-We-Me,pt=Ce(qe);if(pt){var Pe=pt.getBoundingClientRect().height,_t=Pe+Me;_t>We&&_t>at?Weat?(Oe.value.top="".concat(vt-Pe-10,"px"),Ge.value=!0):(Re(!1),Ge.value=!1)}}tt("recalculatePosition")};return{openOnTop:Ge,menuPosition:Oe,setMenuPosition:Re,recalculatePosition:nt}}(r.position,r.altPosition,r.autoPosition,d,g,a),f=M.openOnTop,U=M.menuPosition,i=M.setMenuPosition,T=M.recalculatePosition,P=fu(r.format,r.timePicker,r.monthPicker,r.range,r.partialRange,r.is24,r.enableTimePicker,r.enableSeconds,O,r.multiDates,a),m=P.internalModelValue,x=P.inputValue,_=P.parseExternalModelValue,V=P.emitModelValue,q=P.checkBeforeEmit,p=I(function(){return{dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:r.inline,dp__flex_display_with_input:r.inlineWithInput}}),C=I(function(){return In(r.format)?r.format:na(null,r.is24,r.enableSeconds,r.monthPicker,r.timePicker,r.enableTimePicker)}),S=I(function(){return r.previewFormat?r.previewFormat:In(C.value)?C.value:r.format}),b=I(function(){return typeof r.transitions=="boolean"?!!r.transitions&&Pn({}):Pn(r.transitions)});At("transitions",b);var R=I(function(){return r.dark?"dp__theme_dark":"dp__theme_light"}),W=I(function(){return Object.assign({enterSubmit:!0,tabSubmit:!0,openMenu:!0,rangeSeparator:"-"},r.textInputOptions)}),te=I(function(){return X=r.filters,Object.assign({months:[],years:[],times:{hours:[],minutes:[],seconds:[]}},X);var X}),de=I(function(){var X=function(oe){var le={hours:Ne(new Date),minutes:Ie(new Date),seconds:Xe(new Date)};return Object.assign(le,oe)};return r.range?r.startTime&&Array.isArray(r.startTime)?[X(r.startTime[0]),X(r.startTime[1])]:null:r.startTime&&!Array.isArray(r.startTime)?X(r.startTime):null}),fe=I(function(){return r.multiCalendars===null?0:typeof r.multiCalendars=="boolean"?r.multiCalendars?2:0:+r.multiCalendars>=2?+r.multiCalendars:2}),u=function X(){l.value&&(r.closeOnScroll?ke():r.autoPosition?i():window.removeEventListener("scroll",X))},w=function(){l.value&&i()},N=function(){r.disabled||r.readonly||(i(),l.value=!l.value,l.value||Le(),l.value&&(a("open"),a("focus")),_(r.modelValue))},Q=function(){x.value="",Le(),a("update:modelValue",null),a("cleared"),ke()},we=function(){q()&&(V(),ke())},et=function(){var X=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(r.autoApply){var oe=!r.enableTimePicker||dn(m.value,r.maxTime,r.minTime);oe&&(V(),r.closeOnAutoApply&&!X&&ke())}},Le=function(){m.value=null},ke=function(){r.inline||(l.value&&(l.value=!1,a("closed"),a("blur")),Le(),g.value&&g.value.unFocus())},ft=function(X,oe){X?(m.value=X,oe&&(we(),a("textSubmit"))):m.value=null},bt=function(){r.autoApply&&dn(m.value,r.maxTime,r.minTime)&&V()};return function(X,oe,le){var qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Te=qe.window,tt=Te===void 0?mu:Te,Oe=qe.event,Ge=Oe===void 0?"pointerdown":Oe;if(tt){var mt=function(Ee){var Re=Ce(X),nt=Ce(oe);Re&&nt&&(Re===Ee.target||Ee.composedPath().includes(Re)||Ee.composedPath().includes(nt)||le(Ee))};vu(tt,Ge,mt,{passive:!0})}}(d,g,ke),n({closeMenu:ke,selectDate:we,clearValue:Q,openMenu:N,onScroll:u}),function(X,oe){return y(),k("div",{class:ne(s(p))},[Se(wo,De({ref_key:"inputRef",ref:g},{placeholder:e.placeholder,hideInputIcon:e.hideInputIcon,readonly:e.readonly,disabled:e.disabled,inputClassName:e.inputClassName,clearable:e.clearable,state:e.state,inline:e.inline,inlineWithInput:e.inlineWithInput,textInput:e.textInput,textInputOptions:s(W),range:e.range,isMenuOpen:l.value,pattern:s(C),autoApply:e.autoApply,uid:e.uid,openMenuOnFocus:e.openMenuOnFocus,required:e.required,name:e.name,autocomplete:e.autocomplete},{"input-value":s(x),"onUpdate:input-value":oe[0]||(oe[0]=function(le){return hn(x)?x.value=le:null}),onClear:Q,onOpen:N,onSetInputDate:ft,onSetEmptyDate:s(V),onSelectDate:we,onClose:ke}),ge({_:2},[pe(s(h),function(le,qe){return{name:le,fn:J(function(Te){return[A(X.$slots,le,Ve(He(Te)))]})}})]),1040,["input-value","onSetEmptyDate"]),l.value?(y(),z(oa,{key:0,to:e.teleport,disabled:e.inline},[l.value?(y(),z(du,De({key:0,ref_key:"dpMenuRef",ref:d,class:s(R),style:s(U)},{weekNumbers:e.weekNumbers,weekStart:e.weekStart,disableMonthYearSelect:e.disableMonthYearSelect,menuClassName:e.menuClassName,calendarClassName:e.calendarClassName,yearRange:e.yearRange,range:e.range,multiCalendars:s(fe),multiCalendarsSolo:e.multiCalendarsSolo,calendarCellClassName:e.calendarCellClassName,enableTimePicker:e.enableTimePicker,is24:e.is24,hoursIncrement:e.hoursIncrement,minutesIncrement:e.minutesIncrement,hoursGridIncrement:e.hoursGridIncrement,minutesGridIncrement:e.minutesGridIncrement,minDate:e.minDate,maxDate:e.maxDate,autoApply:e.autoApply,selectText:e.selectText,cancelText:e.cancelText,previewFormat:s(S),locale:e.locale,weekNumName:e.weekNumName,disabledDates:e.disabledDates,filters:s(te),minTime:e.minTime,maxTime:e.maxTime,inline:e.inline,openOnTop:s(f),monthPicker:e.monthPicker,timePicker:e.timePicker,monthNameFormat:e.monthNameFormat,startDate:e.startDate,startTime:s(de),monthYearComponent:e.monthYearComponent,timePickerComponent:e.timePickerComponent,actionRowComponent:e.actionRowComponent,customProps:e.customProps,hideOffsetDates:e.hideOffsetDates,autoRange:e.autoRange,noToday:e.noToday,noHoursOverlay:e.noHoursOverlay,noMinutesOverlay:e.noMinutesOverlay,disabledWeekDays:e.disabledWeekDays,allowedDates:e.allowedDates,showNowButton:e.showNowButton,nowButtonLabel:e.nowButtonLabel,monthChangeOnScroll:e.monthChangeOnScroll,markers:e.markers,uid:e.uid,modeHeight:e.modeHeight,enableSeconds:e.enableSeconds,secondsIncrement:e.secondsIncrement,secondsGridIncrement:e.secondsGridIncrement,noSecondsOverlay:e.noSecondsOverlay,escClose:e.escClose,spaceConfirm:e.spaceConfirm,monthChangeOnArrows:e.monthChangeOnArrows,textInput:e.textInput,disabled:e.disabled,readonly:e.readonly,multiDates:e.multiDates,presetRanges:e.presetRanges,flow:e.flow,preventMinMaxNavigation:e.preventMinMaxNavigation,minRange:e.minRange,maxRange:e.maxRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},{internalModelValue:s(m),"onUpdate:internalModelValue":oe[1]||(oe[1]=function(le){return hn(m)?m.value=le:null}),onClosePicker:ke,onSelectDate:we,onDpOpen:s(T),onAutoApply:et,onTimeUpdate:bt,onFlowStep:oe[2]||(oe[2]=function(le){return X.$emit("flow-step",le)})}),ge({_:2},[pe(s(D),function(le,qe){return{name:le,fn:J(function(Te){return[A(X.$slots,le,Ve(He(pu({},Te))))]})}})]),1040,["class","style","internalModelValue","onDpOpen"])):v("",!0)],8,["to","disabled"])):v("",!0)],2)}}}),gu=function(){var e=yu;return e.install=function(t){t.component("Vue3DatePicker",e)},e}();export{gu as T,lt as a,Fe as b,qt as c,kt as d,$a as e,Tt as f,ce as g,ve as h,E as r,Nt as s,j as t};
    diff --git a/docs/customization/scss/index.html b/docs/customization/scss/index.html
    index 78e6a18..e2377eb 100644
    --- a/docs/customization/scss/index.html
    +++ b/docs/customization/scss/index.html
    @@ -23,7 +23,7 @@
     			}
         
         SCSS | Vue 3 Datepicker
    -    
    +    
         
       
       
    @@ -61,6 +61,6 @@
     $dp__preview_font_size: 0.8rem !default; // font size of the date preview in the action row
     $dp__time_font_size: 2rem !default; // font size in the time picker
     
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    Last Updated:
    - + diff --git a/docs/customization/theming/index.html b/docs/customization/theming/index.html index c09e353..7778bb3 100644 --- a/docs/customization/theming/index.html +++ b/docs/customization/theming/index.html @@ -23,7 +23,7 @@ } Theming | Vue 3 Datepicker - + @@ -68,6 +68,6 @@ --dp-danger-color: #ff6f60; }
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    Last Updated:
    - + diff --git a/docs/index.html b/docs/index.html index 211778e..fe0ed65 100644 --- a/docs/index.html +++ b/docs/index.html @@ -23,11 +23,11 @@ } Vue 3 Datepicker | Vue 3 Datepicker - +

    ⭐️ If you like the component, give it a star on GitHubopen in new window and consider sponsoringopen in new window its development! ⭐

    vue3-date-time-picker

    The most complete datepicker solution for Vue 3

    Licenseopen in new window npmopen in new window Downloads Open issuesopen in new window CI Release date

    Vue 3 date time picker is a lightweight yet powerful and reusable datepicker component. It aims to provide a high level of customization to fit within any project. Offers a great range of features, slots and props, while providing a way to customize for specific needs. Written in typescript to provide a great developer experience.

    Getting started

    CodeSandbox Playgroundopen in new window

    Features

    Single date picker

    Range date picker

    Time picker

    Month picker

    Text input

    Locale support

    Week numbers

    Dark and light theme

    SSR support

    Highly configurable

    Accessible

    Types included

    © Vuepic 2021-2022
    Last Updated:
    - + diff --git a/docs/installation/index.html b/docs/installation/index.html index 32b37ef..7c9aba8 100644 --- a/docs/installation/index.html +++ b/docs/installation/index.html @@ -23,7 +23,7 @@ } Installation | Vue 3 Datepicker - + @@ -101,6 +101,6 @@ }).mount("#app"); </script>
    1
    2
    3
    4
    5

    That's it, you are ready to go

    Last Updated:
    - +