@vanelsas/baredom 4.0.0-alpha.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +337 -9
- package/README.md +23 -10
- package/custom-elements.json +17352 -4514
- package/dist/baredom.d.ts +92 -94
- package/dist/baremirror-alpha.js +25 -0
- package/dist/base.js +700 -607
- package/dist/integrity.json +113 -113
- package/dist/requests.d.ts +3 -0
- package/dist/requests.js +35 -0
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +10 -9
- package/dist/x-avatar.js +14 -14
- package/dist/x-badge.js +9 -9
- package/dist/x-bento-grid.d.ts +5 -0
- package/dist/x-bento-grid.js +6 -5
- package/dist/x-bento-item.d.ts +3 -0
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.d.ts +6 -5
- package/dist/x-breadcrumbs.js +16 -14
- package/dist/x-button.d.ts +4 -0
- package/dist/x-button.js +1 -1
- package/dist/x-calendar.js +42 -39
- package/dist/x-cancel-dialogue.js +16 -14
- package/dist/x-card.d.ts +4 -0
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +37 -35
- package/dist/x-chart.d.ts +2 -0
- package/dist/x-chart.js +48 -47
- package/dist/x-checkbox.d.ts +11 -4
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +29 -27
- package/dist/x-collapse.js +11 -11
- package/dist/x-color-picker.d.ts +7 -0
- package/dist/x-color-picker.js +48 -46
- package/dist/x-combobox.d.ts +12 -4
- package/dist/x-combobox.js +36 -30
- package/dist/x-command-palette.d.ts +9 -1
- package/dist/x-command-palette.js +32 -28
- package/dist/x-confetti.js +24 -24
- package/dist/x-container.d.ts +4 -0
- package/dist/x-container.js +6 -5
- package/dist/x-context-menu.js +20 -20
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.d.ts +5 -0
- package/dist/x-currency-field.js +26 -24
- package/dist/x-date-picker.d.ts +20 -2
- package/dist/x-date-picker.js +46 -39
- package/dist/x-divider.js +9 -10
- package/dist/x-drag-panel.d.ts +45 -0
- package/dist/x-drag-panel.js +37 -0
- package/dist/x-drawer.js +12 -11
- package/dist/x-drop-zone.d.ts +49 -0
- package/dist/x-drop-zone.js +12 -0
- package/dist/x-dropdown.js +12 -12
- package/dist/x-fieldset.js +6 -6
- package/dist/x-file-download.d.ts +4 -0
- package/dist/x-file-download.js +15 -7
- package/dist/x-file-upload.d.ts +10 -5
- package/dist/x-file-upload.js +27 -23
- package/dist/x-floating-panel.d.ts +50 -0
- package/dist/x-floating-panel.js +25 -0
- package/dist/x-form-field.d.ts +11 -1
- package/dist/x-form-field.js +18 -15
- package/dist/x-form.js +10 -11
- package/dist/x-gaussian-blur.js +13 -14
- package/dist/x-grid.d.ts +9 -0
- package/dist/x-grid.js +8 -6
- package/dist/x-i18n-provider.js +7 -7
- package/dist/x-i18n.js +4 -4
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +19 -17
- package/dist/x-kbd.js +16 -16
- package/dist/x-kinetic-canvas.js +26 -26
- package/dist/x-kinetic-font.js +27 -27
- package/dist/x-kinetic-typography.js +35 -35
- package/dist/x-liquid-dock.js +34 -34
- package/dist/x-liquid-fill.js +42 -42
- package/dist/x-liquid-glass.js +42 -41
- package/dist/x-menu-item.js +9 -8
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.js +23 -23
- package/dist/x-modal.js +13 -12
- package/dist/x-morph-stack.js +38 -37
- package/dist/x-multi-combobox.d.ts +13 -5
- package/dist/x-multi-combobox.js +42 -36
- package/dist/x-navbar.js +16 -15
- package/dist/x-neural-glow.js +31 -30
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +18 -18
- package/dist/x-organic-progress.js +35 -35
- package/dist/x-organic-shape.js +13 -14
- package/dist/x-otp-input.d.ts +5 -0
- package/dist/x-otp-input.js +23 -22
- package/dist/x-pagination.js +16 -14
- package/dist/x-particle-button.d.ts +10 -1
- package/dist/x-particle-button.js +55 -51
- package/dist/x-popover.js +28 -27
- package/dist/x-progress-circle.js +8 -9
- package/dist/x-progress.js +8 -8
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.d.ts +10 -3
- package/dist/x-radio.js +13 -11
- package/dist/x-range-slider.d.ts +7 -0
- package/dist/x-range-slider.js +31 -28
- package/dist/x-rating.d.ts +7 -0
- package/dist/x-rating.js +25 -23
- package/dist/x-ripple-effect.js +10 -10
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +17 -17
- package/dist/x-scroll-story.js +33 -33
- package/dist/x-scroll-timeline.js +46 -46
- package/dist/x-scroll.js +39 -38
- package/dist/x-search-field.d.ts +10 -3
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.d.ts +12 -2
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.d.ts +4 -0
- package/dist/x-sidebar.js +17 -18
- package/dist/x-skeleton-group.js +13 -12
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.d.ts +7 -0
- package/dist/x-slider.js +17 -16
- package/dist/x-soft-body.js +20 -20
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +13 -12
- package/dist/x-split-pane.js +15 -15
- package/dist/x-spotlight-card.js +13 -12
- package/dist/x-stat.js +10 -10
- package/dist/x-stepper.js +15 -13
- package/dist/x-switch.d.ts +10 -3
- package/dist/x-switch.js +12 -11
- package/dist/x-tab.d.ts +5 -0
- package/dist/x-tab.js +10 -7
- package/dist/x-table-cell.js +21 -21
- package/dist/x-table-row.js +9 -8
- package/dist/x-table.js +14 -13
- package/dist/x-tabs.d.ts +9 -0
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.d.ts +12 -0
- package/dist/x-text-area.js +21 -19
- package/dist/x-theme.js +26 -25
- package/dist/x-timeline-item.js +21 -20
- package/dist/x-timeline.js +8 -8
- package/dist/x-toast.js +22 -22
- package/dist/x-toaster.js +7 -7
- package/dist/x-tooltip.js +14 -12
- package/dist/x-trace-history.js +119 -127
- package/dist/x-typography.js +9 -9
- package/dist/x-welcome-tour.js +63 -63
- package/package.json +25 -26
- package/dist/barebuild-action.d.ts +0 -45
- package/dist/barebuild-action.js +0 -9
- package/dist/barebuild-data.d.ts +0 -39
- package/dist/barebuild-data.js +0 -5
- package/dist/barebuild-invalidate-on.d.ts +0 -42
- package/dist/barebuild-invalidate-on.js +0 -5
- package/dist/barebuild-route.d.ts +0 -39
- package/dist/barebuild-route.js +0 -4
- package/dist/barebuild-router.d.ts +0 -41
- package/dist/barebuild-router.js +0 -13
package/dist/baredom.d.ts
CHANGED
|
@@ -1,119 +1,117 @@
|
|
|
1
1
|
// baredom.d.ts — auto-generated by generate_types.bb, do not edit
|
|
2
2
|
|
|
3
|
+
export { XAlert } from "./x-alert";
|
|
4
|
+
export { XAvatar } from "./x-avatar";
|
|
3
5
|
export { XAvatarGroup } from "./x-avatar-group";
|
|
4
|
-
export {
|
|
5
|
-
export { XChip } from "./x-chip";
|
|
6
|
-
export { XFileDownload } from "./x-file-download";
|
|
7
|
-
export { BarebuildRouter } from "./barebuild-router";
|
|
8
|
-
export { XTheme } from "./x-theme";
|
|
9
|
-
export { BarebuildData } from "./barebuild-data";
|
|
10
|
-
export { XSplitPane } from "./x-split-pane";
|
|
11
|
-
export { XMenu } from "./x-menu";
|
|
12
|
-
export { XDivider } from "./x-divider";
|
|
13
|
-
export { XOrganicShape } from "./x-organic-shape";
|
|
14
|
-
export { XCombobox } from "./x-combobox";
|
|
15
|
-
export { XSkeletonGroup } from "./x-skeleton-group";
|
|
16
|
-
export { XSoftBody } from "./x-soft-body";
|
|
17
|
-
export { BarebuildRoute } from "./barebuild-route";
|
|
18
|
-
export { XLiquidFill } from "./x-liquid-fill";
|
|
19
|
-
export { XTableCell } from "./x-table-cell";
|
|
6
|
+
export { XBadge } from "./x-badge";
|
|
20
7
|
export { XBentoGrid } from "./x-bento-grid";
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export { XNeuralGlow } from "./x-neural-glow";
|
|
28
|
-
export { XSelect } from "./x-select";
|
|
29
|
-
export { XGrid } from "./x-grid";
|
|
30
|
-
export { XRadio } from "./x-radio";
|
|
8
|
+
export { XBentoItem } from "./x-bento-item";
|
|
9
|
+
export { XBreadcrumbs } from "./x-breadcrumbs";
|
|
10
|
+
export { XButton } from "./x-button";
|
|
11
|
+
export { XCalendar } from "./x-calendar";
|
|
12
|
+
export { XCancelDialogue } from "./x-cancel-dialogue";
|
|
13
|
+
export { XCard } from "./x-card";
|
|
31
14
|
export { XCarousel } from "./x-carousel";
|
|
32
|
-
export { XScrollParallax } from "./x-scroll-parallax";
|
|
33
15
|
export { XChart } from "./x-chart";
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
16
|
+
export { XCheckbox } from "./x-checkbox";
|
|
17
|
+
export { XChip } from "./x-chip";
|
|
18
|
+
export { XCode } from "./x-code";
|
|
19
|
+
export { XCollapse } from "./x-collapse";
|
|
20
|
+
export { XColorPicker } from "./x-color-picker";
|
|
21
|
+
export { XCombobox } from "./x-combobox";
|
|
37
22
|
export { XCommandPalette } from "./x-command-palette";
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export { XI18nProvider } from "./x-i18n-provider";
|
|
23
|
+
export { XConfetti } from "./x-confetti";
|
|
24
|
+
export { XContainer } from "./x-container";
|
|
25
|
+
export { XContextMenu } from "./x-context-menu";
|
|
42
26
|
export { XCopy } from "./x-copy";
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
27
|
+
export { XCurrencyField } from "./x-currency-field";
|
|
28
|
+
export { XDatePicker } from "./x-date-picker";
|
|
29
|
+
export { XDivider } from "./x-divider";
|
|
30
|
+
export { XDragPanel } from "./x-drag-panel";
|
|
31
|
+
export { XDrawer } from "./x-drawer";
|
|
32
|
+
export { XDropZone } from "./x-drop-zone";
|
|
33
|
+
export { XDropdown } from "./x-dropdown";
|
|
34
|
+
export { XFieldset } from "./x-fieldset";
|
|
35
|
+
export { XFileDownload } from "./x-file-download";
|
|
36
|
+
export { XFileUpload } from "./x-file-upload";
|
|
37
|
+
export { XFloatingPanel } from "./x-floating-panel";
|
|
48
38
|
export { XForm } from "./x-form";
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
39
|
+
export { XFormField } from "./x-form-field";
|
|
40
|
+
export { XGaussianBlur } from "./x-gaussian-blur";
|
|
41
|
+
export { XGrid } from "./x-grid";
|
|
42
|
+
export { XI18n } from "./x-i18n";
|
|
43
|
+
export { XI18nProvider } from "./x-i18n-provider";
|
|
52
44
|
export { XIcon } from "./x-icon";
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
45
|
+
export { XImage } from "./x-image";
|
|
46
|
+
export { XKbd } from "./x-kbd";
|
|
47
|
+
export { XKineticCanvas } from "./x-kinetic-canvas";
|
|
48
|
+
export { XKineticFont } from "./x-kinetic-font";
|
|
55
49
|
export { XKineticTypography } from "./x-kinetic-typography";
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
50
|
+
export { XLiquidDock } from "./x-liquid-dock";
|
|
51
|
+
export { XLiquidFill } from "./x-liquid-fill";
|
|
52
|
+
export { XLiquidGlass } from "./x-liquid-glass";
|
|
53
|
+
export { XMenu } from "./x-menu";
|
|
58
54
|
export { XMenuItem } from "./x-menu-item";
|
|
59
|
-
export {
|
|
55
|
+
export { XMetaballCursor } from "./x-metaball-cursor";
|
|
60
56
|
export { XModal } from "./x-modal";
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
57
|
+
export { XMorphStack } from "./x-morph-stack";
|
|
58
|
+
export { XMultiCombobox } from "./x-multi-combobox";
|
|
59
|
+
export { XNavbar } from "./x-navbar";
|
|
60
|
+
export { XNeuralGlow } from "./x-neural-glow";
|
|
61
|
+
export { XNotificationCenter } from "./x-notification-center";
|
|
62
|
+
export { XOrganicDivider } from "./x-organic-divider";
|
|
63
|
+
export { XOrganicProgress } from "./x-organic-progress";
|
|
64
|
+
export { XOrganicShape } from "./x-organic-shape";
|
|
65
|
+
export { XOtpInput } from "./x-otp-input";
|
|
66
|
+
export { XPagination } from "./x-pagination";
|
|
67
|
+
export { XParticleButton } from "./x-particle-button";
|
|
68
|
+
export { XPopover } from "./x-popover";
|
|
69
|
+
export { XProgress } from "./x-progress";
|
|
64
70
|
export { XProgressCircle } from "./x-progress-circle";
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
|
|
71
|
+
export { XProximityList } from "./x-proximity-list";
|
|
72
|
+
export { XRadio } from "./x-radio";
|
|
73
|
+
export { XRangeSlider } from "./x-range-slider";
|
|
74
|
+
export { XRating } from "./x-rating";
|
|
75
|
+
export { XRippleEffect } from "./x-ripple-effect";
|
|
76
|
+
export { XScroll } from "./x-scroll";
|
|
77
|
+
export { XScrollParallax } from "./x-scroll-parallax";
|
|
69
78
|
export { XScrollStack } from "./x-scroll-stack";
|
|
70
|
-
export {
|
|
79
|
+
export { XScrollStory } from "./x-scroll-story";
|
|
80
|
+
export { XScrollTimeline } from "./x-scroll-timeline";
|
|
81
|
+
export { XSearchField } from "./x-search-field";
|
|
82
|
+
export { XSelect } from "./x-select";
|
|
83
|
+
export { XSidebar } from "./x-sidebar";
|
|
84
|
+
export { XSkeleton } from "./x-skeleton";
|
|
85
|
+
export { XSkeletonGroup } from "./x-skeleton-group";
|
|
86
|
+
export { XSlider } from "./x-slider";
|
|
87
|
+
export { XSoftBody } from "./x-soft-body";
|
|
88
|
+
export { XSpacer } from "./x-spacer";
|
|
89
|
+
export { XSpinner } from "./x-spinner";
|
|
90
|
+
export { XSplash } from "./x-splash";
|
|
91
|
+
export { XSplitPane } from "./x-split-pane";
|
|
71
92
|
export { XSpotlightCard } from "./x-spotlight-card";
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
93
|
+
export { XStat } from "./x-stat";
|
|
94
|
+
export { XStepper } from "./x-stepper";
|
|
95
|
+
export { XSwitch } from "./x-switch";
|
|
75
96
|
export { XTab } from "./x-tab";
|
|
76
|
-
export { XCancelDialogue } from "./x-cancel-dialogue";
|
|
77
|
-
export { XSlider } from "./x-slider";
|
|
78
|
-
export { XDatePicker } from "./x-date-picker";
|
|
79
|
-
export { XCheckbox } from "./x-checkbox";
|
|
80
|
-
export { XDrawer } from "./x-drawer";
|
|
81
|
-
export { XGaussianBlur } from "./x-gaussian-blur";
|
|
82
|
-
export { XScrollTimeline } from "./x-scroll-timeline";
|
|
83
|
-
export { XNavbar } from "./x-navbar";
|
|
84
|
-
export { XKineticFont } from "./x-kinetic-font";
|
|
85
|
-
export { XMorphStack } from "./x-morph-stack";
|
|
86
|
-
export { XCode } from "./x-code";
|
|
87
|
-
export { XKbd } from "./x-kbd";
|
|
88
97
|
export { XTable } from "./x-table";
|
|
89
98
|
export { XTableCell } from "./x-table-cell";
|
|
90
99
|
export { XTableRow } from "./x-table-row";
|
|
91
|
-
export {
|
|
92
|
-
export { XCard } from "./x-card";
|
|
93
|
-
export { XCurrencyField } from "./x-currency-field";
|
|
94
|
-
export { XMultiCombobox } from "./x-multi-combobox";
|
|
95
|
-
export { XI18n } from "./x-i18n";
|
|
96
|
-
export { XButton } from "./x-button";
|
|
97
|
-
export { XTooltip } from "./x-tooltip";
|
|
98
|
-
export { XSidebar } from "./x-sidebar";
|
|
99
|
-
export { XBentoItem } from "./x-bento-item";
|
|
100
|
-
export { XTab } from "./x-tab";
|
|
101
|
-
export { XConfetti } from "./x-confetti";
|
|
102
|
-
export { XImage } from "./x-image";
|
|
103
|
-
export { XCollapse } from "./x-collapse";
|
|
104
|
-
export { XOtpInput } from "./x-otp-input";
|
|
105
|
-
export { XMetaballCursor } from "./x-metaball-cursor";
|
|
106
|
-
export { XContextMenu } from "./x-context-menu";
|
|
100
|
+
export { XTableCell } from "./x-table-cell";
|
|
107
101
|
export { XTableRow } from "./x-table-row";
|
|
108
|
-
export {
|
|
109
|
-
export {
|
|
110
|
-
export {
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
113
|
-
export { XLiquidDock } from "./x-liquid-dock";
|
|
102
|
+
export { XTabs } from "./x-tabs";
|
|
103
|
+
export { XTab } from "./x-tab";
|
|
104
|
+
export { XTextArea } from "./x-text-area";
|
|
105
|
+
export { XTheme } from "./x-theme";
|
|
106
|
+
export { XTimeline } from "./x-timeline";
|
|
114
107
|
export { XTimelineItem } from "./x-timeline-item";
|
|
115
|
-
export {
|
|
116
|
-
export {
|
|
108
|
+
export { XTimelineItem } from "./x-timeline-item";
|
|
109
|
+
export { XToast } from "./x-toast";
|
|
110
|
+
export { XToaster } from "./x-toaster";
|
|
111
|
+
export { XTooltip } from "./x-tooltip";
|
|
112
|
+
export { XTypography } from "./x-typography";
|
|
113
|
+
export { XWelcomeTour } from "./x-welcome-tour";
|
|
114
|
+
|
|
117
115
|
export {
|
|
118
116
|
XTraceHistory,
|
|
119
117
|
BareDOMNamespace,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
+
var gCa=function(a,b){return a===b},hCa=function(a,b){return new $APP.Pd(null,function(){a:{var c=a;for(var d=b;;){d=$APP.q(d);var e;if(e=d)e=$APP.t(d),e=c.i?c.i(e):c.call(null,e);if($APP.m(e))d=$APP.mc(d);else{c=d;break a}}c=void 0}return c},null)},D9=function(a){var b=$APP.we(!0),c=iCa;return function f(e){return new $APP.Pd(null,function(){return $APP.Md(e,$APP.m(b.i?b.i(e):b.call(null,e))?$APP.Se(f,$APP.Jc([c.i?c.i(e):c.call(null,e)])):null)},null)}(a)},E9=function(a,b){return new $APP.gi(a,b)},
|
|
3
|
+
F9=function(a){var b=$APP.q(a);a=$APP.t(b);b=$APP.u(b);return $APP.dd($APP.t(b))?new $APP.H(null,3,5,$APP.J,[a,$APP.t(b),$APP.u(b)],null):new $APP.H(null,3,5,$APP.J,[a,null,$APP.q(b)],null)},G9=function(a){return a instanceof $APP.F||$APP.Uc(a)},jCa=function(a){return typeof a==="string"||typeof a==="number"||a===!0||a===!1||a==null},H9=function(a){return $APP.fd(a)||typeof a==="string"||typeof a==="number"},kCa=function(a){return $APP.te(function(b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.z.j("data-x-part",
|
|
4
|
+
$APP.jh(c))?b:null},a)},lCa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.H(null,2,5,$APP.J,[new $APP.H(null,2,5,$APP.J,[c,a],null),b],null)},N9=function(a,b,c){var d=$APP.G(c);c=$APP.C(d,I9);var e=$APP.G(d);d=$APP.C(e,J9);e=$APP.C(e,$APP.Vn);var f=$APP.q(d);$APP.m(f?f:e)?(f=new $APP.K(null,1,[K9,b],null),d=$APP.q(d)?$APP.Pg.l(f,L9,d):f,d=$APP.m(e)?$APP.Pg.l(d,$APP.Vn,e):d):d=null;a=$APP.zi.O(a,$APP.Xt,$APP.Xf,$APP.Oe.i($APP.xe(lCa,b)),c);return $APP.m(d)?$APP.zi.J(a,M9,
|
|
5
|
+
$APP.Jd,d):a},mCa=function(a,b,c){var d=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.fd(c)?(c=O9.l?O9.l(a,b,c):O9.call(null,a,b,c),a=$APP.B(c,0,null),c=$APP.B(c,1,null),new $APP.H(null,2,5,$APP.J,[$APP.Jd.j(d,a),c],null)):new $APP.H(null,2,5,$APP.J,[$APP.Jd.j(d,c),b],null)},O9=function(a,b,c){var d=F9(c);c=$APP.B(d,0,null);var e=$APP.B(d,1,null),f=$APP.B(d,2,null),h=$APP.sk.j(e,I9);if($APP.p($APP.te(G9,f)))d=null;else{if($APP.u(f))throw E9("A text hole must be the only child of its element.",new $APP.K(null,
|
|
6
|
+
1,[$APP.pv,c],null));d=$APP.t(f)}e=I9.i(e);var k=$APP.Xf.l($APP.oe,$APP.Ve($APP.wk.j(G9,$APP.qf)),h);h=$APP.Xf.l($APP.oe,$APP.Te($APP.wk.j(G9,$APP.qf)),h);if($APP.m(d))f=null;else if(!$APP.se(H9,f))throw E9("A child of a template is a template, text, a number or one hole.",new $APP.K(null,1,[$APP.pv,c],null));d=new $APP.K(null,6,[$APP.pv,c,I9,e,P9,k,J9,h,$APP.Vn,d,$APP.Wv,f],null);b=$APP.G(b);c=$APP.C(b,$APP.Ew);d=$APP.G(d);f=$APP.C(d,P9);f=kCa(f);k=$APP.G(d);h=$APP.C(k,I9);e=$APP.C(k,J9);k=$APP.C(k,
|
|
7
|
+
$APP.Vn);e=(h=$APP.q(h))?h:(e=$APP.q(e))?e:k;$APP.D(e)?$APP.m(f)?d=new $APP.H(null,2,5,$APP.J,[d,N9(b,f,d)],null):(c=""+$APP.N.i(a)+"."+$APP.N.i(c),d=new $APP.H(null,2,5,$APP.J,[$APP.Lq(d,new $APP.H(null,2,5,$APP.J,[P9,$APP.Lh.i("data-x-part")],null),c),N9($APP.zi.l(b,$APP.Ew,$APP.sc),c,d)],null)):d=new $APP.H(null,2,5,$APP.J,[d,b],null);b=$APP.B(d,0,null);f=$APP.G(b);c=$APP.C(f,$APP.pv);b=$APP.C(f,P9);f=$APP.C(f,$APP.Wv);d=$APP.B(d,1,null);d=$APP.za($APP.xe(mCa,a),new $APP.H(null,2,5,$APP.J,[$APP.Xe,
|
|
8
|
+
d],null),f);a=$APP.B(d,0,null);d=$APP.B(d,1,null);f=$APP.J;e=$APP.Xf.j;c=new $APP.H(null,1,5,$APP.J,[c],null);b=$APP.q(b)?$APP.Jd.j(c,b):c;return new $APP.H(null,2,5,f,[e.call($APP.Xf,b,a),d],null)},Q9=function(a,b){b=O9($APP.jh(a),new $APP.K(null,3,[$APP.Ew,0,M9,$APP.Xe,$APP.Xt,$APP.oe],null),b);a=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.K(null,3,[P9,a,M9,M9.i(b),$APP.Xt,$APP.Xt.i(b)],null)},R9=function(a,b){return b.i?b.i(a):b.call(null,a)},nCa=function(a,b){var c=$APP.G(b);b=$APP.C(c,
|
|
9
|
+
K9);var d=$APP.C(c,L9),e=$APP.C(c,$APP.Vn);c=$APP.J;d=$APP.m(d)?$APP.Pg.l($APP.oe,L9,$APP.hi(d,$APP.xe(R9,a))):$APP.oe;a=$APP.m(e)?$APP.Pg.l(d,$APP.Vn,R9(a,e)):d;return new $APP.H(null,2,5,c,[b,a],null)},S9=function(a,b){return $APP.Xf.l($APP.oe,$APP.Oe.i($APP.xe(nCa,b)),M9.i(a))},T9=function(a,b){var c=a[oCa];c==null?b.i?b.i(a):b.call(null,a):c.call(a,$APP.xe(b,a));return null},pCa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);c=$APP.jh(c);b=b===!0?"":b===!1||b==null?null:b instanceof $APP.F?
|
|
10
|
+
$APP.jh(b):""+$APP.N.i(b);return $APP.M.j(b,a.getAttribute(c))?b!=null?a.setAttribute(c,b):a.removeAttribute(c):null},U9=function(a,b){return $APP.bi($APP.xe(pCa,b),a)},V9=function(a,b){b=""+$APP.N.i(b);var c=a.firstChild;c=c==null?null:$APP.z.j(Node.TEXT_NODE,c.nodeType)&&c.nextSibling==null?c:null;c==null?a.textContent=b:$APP.M.j(b,c.data)&&(c.data=b);return null},qCa=function(a,b){return a.append($APP.fd(b)?W9.i?W9.i(b):W9.call(null,b):""+$APP.N.i(b))},W9=function(a){var b=F9(a);$APP.B(b,0,null);
|
|
11
|
+
var c=$APP.B(b,1,null);b=$APP.B(b,2,null);if(!$APP.kd(c,I9)&&$APP.se(jCa,$APP.Wg(c))&&$APP.se(H9,b))b=F9(a);else throw E9("make-node!: the template is not fixed. split takes holes and :on out of it.",new $APP.K(null,1,[$APP.pv,$APP.t(a)],null));c=$APP.B(b,0,null);a=$APP.B(b,1,null);b=$APP.B(b,2,null);c=document.createElement($APP.jh(c));T9(c,$APP.xe(U9,a));$APP.bi($APP.xe(qCa,c),b);return c},X9=function(a){var b=a.getAttribute("data-x-part");return b==null?null:new $APP.H(null,2,5,$APP.J,[b,a],null)},
|
|
12
|
+
iCa=function(a){return $APP.We($APP.Ik,$APP.Jc(a.children))},rCa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);b=$APP.G(b);var d=$APP.C(b,L9);a=a.i?a.i(c):a.call(null,c);$APP.kd(b,$APP.Vn)&&V9(a,$APP.Vn.i(b));return $APP.m(d)?T9(a,$APP.xe(U9,d)):null},Y9=function(a,b){var c=$APP.q($APP.Xf.l($APP.Xe,$APP.Ve(a),$APP.Sg(b)));if(c!=null)throw E9("write-parts!: no node has these part names.",new $APP.K(null,1,[sCa,$APP.rf(c)],null));return $APP.bi($APP.xe(rCa,a),b)},tCa=function(a,b){return a.getAttribute(b)},
|
|
13
|
+
uCa=function(a,b){var c=$APP.G(a);a=$APP.C(c,L9);var d=$APP.C(c,$APP.su);c=$APP.C(c,$APP.rx);var e=P9.i(c),f=b.shadowRoot;$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,W9(e)));d=$APP.Xf.l($APP.oe,$APP.Fe(X9),D9(d.lastElementChild));b=$APP.Xf.l($APP.oe,$APP.Oe.i($APP.xh($APP.Lh,$APP.xe(tCa,b))),a);return Y9(d,S9(c,b))},vCa=function(a,b){var c=class extends HTMLElement{},d=c.prototype;c.observedAttributes=$APP.Ba(a);d.connectedCallback=
|
|
14
|
+
function(){return b.i?b.i(this):b.call(null,this)};d.attributeChangedCallback=function(){return b.i?b.i(this):b.call(null,this)};return c},Z9=function(a,b){a=$APP.ve(a);a=new $APP.H(null,2,5,$APP.J,[$APP.mh(a,b),hCa(a,b)],null);b=$APP.B(a,0,null);a=$APP.B(a,1,null);return $APP.Re.j(b,$APP.Me(1,a))},wCa=function(a){return a instanceof Element},b$=function(a){a=$APP.Ue(wCa,Z9($APP.xe(gCa,a.currentTarget),$APP.Kc(a.composedPath())));var b=$APP.te(X9,Z9($APP.Ik,a)),c=$APP.B(b,0,null);b=$APP.B(b,1,null);
|
|
15
|
+
return new $APP.K(null,3,[$9,$APP.Xf.l($APP.Xe,$APP.Fe($APP.wk.j($APP.t,$APP.Ik)),$APP.Kd(a)),K9,c,a$,b],null)},xCa=function(a,b,c,d){return function(e){e=$APP.Kq.l(a,b,e);a:for(;;){var f=$APP.db(a),h=c.i?c.i(f):c.call(null,f);d.i?d.i(h):d.call(null,h);if(f===$APP.db(a))break a}return e}},c$=function(a,b){return a.getAttribute(b)},yCa=function(a){return $APP.Yc($9.i(a))},zCa=function(a,b){var c=$APP.G(a);a=$APP.C(c,d$);var d=$APP.C(c,$APP.Xt),e=$APP.C(c,$APP.wu);c=b$(b);var f=$APP.G(c),h=$APP.C(f,
|
|
16
|
+
K9);c=$APP.C(f,a$);d=$APP.C(d,new $APP.H(null,2,5,$APP.J,[b.type,h],null));if(d==null)return null;h=$APP.fd(d)?d:new $APP.H(null,2,5,$APP.J,[d,yCa],null);d=$APP.B(h,0,null);h=$APP.B(h,1,null);f=h.j?h.j(f,b):h.call(null,f,b);d=new $APP.H(null,1,5,$APP.J,[d],null);f=f!=null?$APP.Jd.j(d,f):d;e=$APP.C(e,b.type);e==null?b=a.i?a.i(f):a.call(null,f):(d=$APP.Ci.j($APP.xe(c$,c),e),a.i?a.i(f):a.call(null,f),b=$APP.z.j(d,$APP.Ci.j($APP.xe(c$,c),e))?b.preventDefault():null);return b},ACa=function(a,b,c){return a.addEventListener(c,
|
|
17
|
+
$APP.xe(zCa,b))},BCa=function(a,b){return new $APP.H(null,2,5,$APP.J,[b,a[b]],null)},e$=function(a){return a!=null?$APP.Xf.l($APP.oe,$APP.Oe.i($APP.xe(BCa,a)),$APP.ia(a)):$APP.oe},f$=function(a){return $APP.m($APP.ra(a))?$APP.rf(a):a},CCa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.z.j("on",c)?new $APP.H(null,2,5,$APP.J,[I9,$APP.hi(e$(b),f$)],null):$APP.Uc(b)?new $APP.H(null,2,5,$APP.J,[c,a.i?a.i(b):a.call(null,b)],null):new $APP.H(null,2,5,$APP.J,[c,b],null)},DCa=function(a,
|
|
18
|
+
b){return $APP.m($APP.ra(b))?g$.j?g$.j(a,b):g$.call(null,a,b):$APP.Uc(b)?a.i?a.i(b):a.call(null,b):b},g$=function(a,b){b=$APP.q($APP.Jc(b));var c=$APP.t(b);b=$APP.u(b);var d=$APP.sa($APP.t(b))?$APP.t(b):null,e=$APP.Xf.l;c=new $APP.H(null,1,5,$APP.J,[c],null);c=$APP.m(d)?$APP.Jd.j(c,$APP.Xf.l($APP.oe,$APP.Oe.i($APP.xe(CCa,a)),e$(d))):c;return e.call($APP.Xf,c,$APP.Oe.i($APP.xe(DCa,a)),$APP.m(d)?$APP.mc(b):b)},ECa=function(a){var b=$APP.m("text"in a)?$APP.Pg.l($APP.oe,$APP.Vn,a.text):$APP.oe;return a.attrs!=
|
|
19
|
+
null?$APP.Pg.l(b,L9,e$(a.attrs)):b},h$=function(a){return new $APP.K(null,2,[$APP.Jk,a.parent,$APP.Bk,a.before],null)},FCa=function(a){return new $APP.K(null,3,[$APP.Ei,a.key,$APP.Ak,a.in,$APP.Bk,a.before],null)},i$=function(a){var b=$APP.G(a);a=$APP.C(b,$9);var c=$APP.C(b,K9);b=$APP.C(b,a$);return{keyPath:$APP.xo(a),part:c,node:b}},GCa=function(a){return function(b,c){b=i$(b);return a.j?a.j(b,c):a.call(null,b,c)}},HCa=function(a){var b=$APP.J,c=$APP.rf(a[0]);a=f$(a[1]);a=$APP.fd(a)?$APP.zi.l(a,1,
|
|
20
|
+
GCa):a;return new $APP.H(null,2,5,b,[c,a],null)},ICa=function(a){return function(b){b=$APP.xo(b);return a.i?a.i(b):a.call(null,b)}},j$=function(a,b){this.store=a;this.Nc=b;this.B=425984;this.M=65536},JCa=function(a){return function(b){b=$APP.xo(b);return a.i?a.i(b):a.call(null,b)}},P9=new $APP.F(null,"fixed","fixed",-562004358),I9=new $APP.F(null,"on","on",173873944),J9=new $APP.F(null,"attr-holes","attr-holes",-1558532218),a$=new $APP.F(null,"node","node",581201198),M9=new $APP.F(null,"holes","holes",
|
|
21
|
+
188002959),L9=new $APP.F(null,"attrs","attrs",-2090668713),$9=new $APP.F(null,"key-path","key-path",878473308),K9=new $APP.F(null,"part","part",77757738),d$=new $APP.F(null,"dispatch!","dispatch!",-1927281664),sCa=new $APP.F(null,"parts","parts",849007691);var oCa=Symbol["for"]("x-render-hold");var k$=function k$(a){var c=$APP.ra(a);$APP.m($APP.m(c)?c:$APP.sa(a))&&($APP.bi(k$,Object.values(a)),Object.freeze(a));return a};j$.prototype.Y=function(a,b){return new j$(this.store,b)};j$.prototype.X=function(){return this.Nc};j$.prototype.tb=function(){return this.store.value};j$.prototype.rc=function(a,b,c){a=this.store;var d=this.store.value;b=b.j?b.j(d,c):b.call(null,d,c);return a.value=b};export const plan=function(a,b){return $APP.xo($APP.Hk($APP.hi(e$(a),$APP.rf),$APP.hi(e$(b),$APP.rf)))};export const syncPlaces=function(a,b,c){return $APP.xo($APP.Tk($APP.hi(e$(a),h$),$APP.hi(e$(b),$APP.rf),c))};export const setText=function(a,b){return V9(a,b)};export const readOrigin=function(a){return i$(b$(a))};export const setAttrs=function(a,b){b=e$(b);return T9(a,$APP.xe(U9,b))};export const readPlaces=function(a){return $APP.xo($APP.Ok($APP.hi(e$(a),h$)))};
|
|
22
|
+
export const withOneRender=function(a,b){return T9(a,b)};export const splitTemplate=function(a,b){var c=Q9(a,g$($APP.yd,b));return k$({fixed:$APP.xo(P9.i(c)),holes:$APP.xo(M9.i(c)),events:$APP.xo($APP.rf($APP.Xt.i(c))),writes:function(d){return $APP.xo(S9(c,d))}})};export const release=function(a){return a.removeAttribute("data-x-key")};export const makeNode=function(a){return W9(g$($APP.yd,a))};export const dispatcher=function(a,b,c,d){return xCa(new j$(a,$APP.oe),b,c,d)};
|
|
23
|
+
export const perform=function(a,b,c){a=new $APP.K(null,2,[$APP.Lk,$APP.hi(e$(a.containers),h$),$APP.Nk,e$(a.nodes)],null);b=new $APP.K(null,2,[$APP.Fk,$APP.rf(b.remove),$APP.Gk,$APP.Ci.j(FCa,b.place)],null);return $APP.xo($APP.Sk(a,b,c))};
|
|
24
|
+
export const listen=function(a,b){var c=ICa(b.dispatch);var d=b.events;d=$APP.Xf.l($APP.oe,$APP.Oe.i(HCa),$APP.Jc(d));b=new $APP.K(null,3,[d$,c,$APP.Xt,d,$APP.wu,$APP.hi(e$(b.requests),$APP.rf)],null);b=$APP.G(b);c=$APP.C(b,$APP.Xt);return $APP.bi($APP.ye(ACa,a,b),$APP.Xf.l($APP.bh,$APP.Oe.i($APP.t),$APP.Sg(c)))};export const readParts=function(a){return $APP.xo($APP.Xf.l($APP.oe,$APP.Fe(X9),D9(a)))};export const writeParts=function(a,b){return Y9(e$(a),$APP.hi(e$(b),ECa))};
|
|
25
|
+
export const defineElement=function(a,b){b=new $APP.K(null,3,[L9,$APP.rf(b.attrs),$APP.Hx,g$(JCa,b.template),$APP.su,b.css],null);var c=$APP.G(b),d=$APP.C(c,$APP.Hx);b=$APP.C(c,L9);c=$APP.C(c,$APP.su);d=Q9(a,d);if(!$APP.$c($APP.Xt.i(d)))throw E9("define-element!: the template of an element takes no :on entry.",new $APP.K(null,1,[$APP.pv,a],null));d=new $APP.K(null,3,[L9,b,$APP.su,c,$APP.rx,d],null);return $APP.m(customElements.get(a))?null:customElements.define(a,vCa(b,$APP.xe(uCa,d)))};
|