@vanelsas/baredom 4.6.0 → 4.7.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 +28 -0
- package/custom-elements.json +2 -5
- package/dist/baremirror-alpha.js +27 -27
- package/dist/base.js +174 -169
- package/dist/integrity.json +112 -112
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +10 -10
- package/dist/x-avatar.js +13 -14
- package/dist/x-badge.js +9 -9
- package/dist/x-bento-grid.js +6 -6
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +17 -17
- package/dist/x-button.js +1 -1
- package/dist/x-calendar.js +38 -38
- package/dist/x-cancel-dialogue.js +16 -16
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +33 -34
- package/dist/x-chart.js +48 -48
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +30 -30
- package/dist/x-collapse.js +10 -10
- package/dist/x-color-picker.js +44 -44
- package/dist/x-combobox.js +32 -32
- package/dist/x-command-palette.js +28 -28
- package/dist/x-confetti.js +24 -24
- package/dist/x-container.js +6 -6
- package/dist/x-context-menu.js +19 -19
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +23 -23
- package/dist/x-date-picker.js +41 -41
- package/dist/x-divider.js +8 -8
- package/dist/x-drag-panel.js +31 -31
- package/dist/x-drawer.js +12 -12
- package/dist/x-drop-zone.js +11 -11
- package/dist/x-dropdown.js +11 -11
- package/dist/x-fieldset.js +4 -4
- package/dist/x-file-download.js +13 -13
- package/dist/x-file-upload.js +23 -23
- package/dist/x-floating-panel.js +18 -18
- package/dist/x-form-field.js +16 -16
- package/dist/x-form.js +10 -10
- package/dist/x-gaussian-blur.js +13 -13
- package/dist/x-grid.js +8 -8
- 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 +18 -18
- package/dist/x-kbd.js +13 -13
- package/dist/x-kinetic-canvas.js +24 -24
- package/dist/x-kinetic-font.js +26 -26
- package/dist/x-kinetic-typography.js +33 -33
- package/dist/x-liquid-dock.js +29 -29
- package/dist/x-liquid-fill.js +33 -33
- package/dist/x-liquid-glass.js +26 -26
- package/dist/x-menu-item.js +9 -9
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.js +24 -24
- package/dist/x-modal.js +12 -12
- package/dist/x-morph-stack.js +37 -37
- package/dist/x-multi-combobox.js +38 -38
- package/dist/x-navbar.js +14 -14
- package/dist/x-neural-glow.js +25 -25
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +17 -17
- package/dist/x-organic-progress.js +27 -27
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-otp-input.js +21 -21
- package/dist/x-pagination.js +18 -18
- package/dist/x-particle-button.js +49 -49
- package/dist/x-popover.js +23 -23
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.js +5 -5
- package/dist/x-proximity-list.js +19 -19
- package/dist/x-radio.js +12 -12
- package/dist/x-range-slider.js +30 -30
- package/dist/x-rating.js +21 -21
- 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 +32 -32
- package/dist/x-scroll-timeline.js +49 -49
- package/dist/x-scroll.js +36 -36
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +15 -15
- package/dist/x-skeleton-group.js +14 -14
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +16 -16
- package/dist/x-soft-body.js +16 -16
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +3 -3
- package/dist/x-splash.js +13 -13
- package/dist/x-split-pane.js +14 -14
- package/dist/x-spotlight-card.js +12 -12
- package/dist/x-stat.js +10 -10
- package/dist/x-stepper.js +13 -13
- package/dist/x-switch.js +11 -11
- package/dist/x-tab.js +6 -6
- package/dist/x-table-cell.js +20 -20
- package/dist/x-table-row.js +8 -8
- package/dist/x-table.js +12 -12
- package/dist/x-tabs.js +12 -11
- package/dist/x-text-area.js +19 -19
- package/dist/x-theme.js +25 -25
- package/dist/x-timeline-item.js +18 -18
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +20 -20
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +14 -14
- package/dist/x-trace-history.js +111 -111
- package/dist/x-typography.js +6 -6
- package/dist/x-welcome-tour.js +62 -62
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to BareDOM will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.7.0] - 2026-10-17
|
|
6
|
+
|
|
7
|
+
BareDOM 4.7 lets a child's own attribute win over its group's, and keeps every skeleton in phase
|
|
8
|
+
on its own. The adapters are not released again.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **An avatar's own `size` wins over the `size` of its `x-avatar-group`,** and an avatar is
|
|
13
|
+
disabled when it or the group is. The group no longer writes `size` and `disabled` on its
|
|
14
|
+
avatars. It writes `data-group-size` and `data-group-disabled`, which are not public API.
|
|
15
|
+
- **A skeleton's own `animation` wins over the `animation` of its `x-skeleton-group`.** The
|
|
16
|
+
group no longer writes `animation` on its skeletons. It writes `data-group-animation`, which
|
|
17
|
+
is not public API.
|
|
18
|
+
- **`x-tabs` takes its first selection from a tab marked `selected`** when it has no `value`.
|
|
19
|
+
Before, the mark was removed and the first enabled tab was selected. An enabled tab with no
|
|
20
|
+
`value` is skipped.
|
|
21
|
+
- **Every `x-skeleton` on a page pulses in phase,** also outside a group. A skeleton aligns its
|
|
22
|
+
animation to a clock of the page when it connects and when its animation changes.
|
|
23
|
+
- **`--x-skeleton-delay` is no longer a custom property of `x-skeleton`.** It was not
|
|
24
|
+
documented, and a value set on the host no longer takes effect.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **A skeleton that is removed and inserted again stays in phase,** and so do the skeletons of a
|
|
29
|
+
group that is moved.
|
|
30
|
+
- **The `x-carousel` doc states that `current` keeps its value** when there are fewer slides.
|
|
31
|
+
The last slide is shown.
|
|
32
|
+
|
|
5
33
|
## [4.6.0] - 2026-10-17
|
|
6
34
|
|
|
7
35
|
BareDOM 4.6 keeps the state of a moved component, lets one BareMirror sync bring a whole tree,
|
package/custom-elements.json
CHANGED
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
} ],
|
|
541
541
|
"foreignWrites" : [ {
|
|
542
542
|
"target" : "any",
|
|
543
|
-
"attributes" : [ "disabled", "size" ]
|
|
543
|
+
"attributes" : [ "data-group-disabled", "data-group-size" ]
|
|
544
544
|
} ]
|
|
545
545
|
} ],
|
|
546
546
|
"exports" : [ {
|
|
@@ -16971,9 +16971,6 @@
|
|
|
16971
16971
|
}, {
|
|
16972
16972
|
"name" : "--x-skeleton-color",
|
|
16973
16973
|
"default" : "var(--x-color-border,rgba(0,0,0,0.08))"
|
|
16974
|
-
}, {
|
|
16975
|
-
"name" : "--x-skeleton-delay",
|
|
16976
|
-
"default" : "0s"
|
|
16977
16974
|
}, {
|
|
16978
16975
|
"name" : "--x-skeleton-duration",
|
|
16979
16976
|
"default" : "1.5s"
|
|
@@ -17063,7 +17060,7 @@
|
|
|
17063
17060
|
} ],
|
|
17064
17061
|
"foreignWrites" : [ {
|
|
17065
17062
|
"target" : "x-skeleton",
|
|
17066
|
-
"attributes" : [ "animation" ]
|
|
17063
|
+
"attributes" : [ "data-group-animation" ]
|
|
17067
17064
|
} ]
|
|
17068
17065
|
} ],
|
|
17069
17066
|
"exports" : [ {
|
package/dist/baremirror-alpha.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var hDa=function(a,b){return new $APP.Ed(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.ac(d);else{c=d;break a}}c=void 0}return c},null)},
|
|
3
|
-
typeof a==="number"||a===!0||a===!1||a==null}
|
|
4
|
-
$APP.Fm);var f=$APP.q(d);$APP.m(f?f:e)?(f=new $APP.K(null,1,[$APP.Nj,b],null),d=$APP.q(d)?$APP.Eg.l(f,$APP.
|
|
5
|
-
$APP.I,[$APP.zd.j(d,c),b],null)},
|
|
6
|
-
new $APP.K(null,1,[$APP.
|
|
7
|
-
null),c),
|
|
8
|
-
3,[$APP.
|
|
9
|
-
b){return $APP.Hf.l($APP.fe,$APP.De.i($APP.oe(mDa,b)),$APP.
|
|
10
|
-
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},pDa=function(a,b,c){return b.append($APP.Wc(c)?
|
|
11
|
-
new $APP.K(null,1,[$APP.
|
|
12
|
-
a.i(c):a.call(null,c);$APP.bd(b,$APP.Fm)&&
|
|
13
|
-
$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,
|
|
14
|
-
|
|
15
|
-
b,c,d){return function(e){e=$APP.
|
|
16
|
-
2,5,$APP.I,[d,xDa],null);d=$APP.B(g,0,null);g=$APP.B(g,1,null);f=g.j?g.j(f,b):g.call(null,f,b);d=new $APP.H(null,1,5,$APP.I,[d],null);f=f!=null?$APP.zd.j(d,f):d;e=$APP.C(e,b.type);e==null?b=a.i?a.i(f):a.call(null,f):(d=$APP.Sh.j($APP.oe(
|
|
17
|
-
null?$APP.Hf.l($APP.fe,$APP.De.i($APP.oe(ADa,a)),$APP.fa(a)):$APP.fe},
|
|
18
|
-
|
|
19
|
-
b},
|
|
20
|
-
a.parent,$APP.Fj,a.before,$APP.Uh,a.key,$APP.Nj,a.part],null)},EDa=function(a){return new $APP.K(null,3,[$APP.Uh,a.key,$APP.Ej,a.in,$APP.Fj,a.before],null)},FDa=function(a,b,c){a[b]=c;return a},
|
|
21
|
-
a=$APP.C(b,$APP.Uh);var c=$APP.C(b,$APP.Ej);b=$APP.C(b,$APP.Fj);return{key:a,"in":c,before:b}},
|
|
22
|
-
a.call(null,b)}},
|
|
23
|
-
export const readPlaces=function(a){a=$APP.ak($APP.Dh(
|
|
24
|
-
export const splitTemplate=function(a,b){var c=
|
|
25
|
-
export const nodeMaker=function(a){a=
|
|
26
|
-
export const listen=function(a,b){var c=LDa(b.dispatch);var d=b.events;d=$APP.Hf.l($APP.fe,$APP.De.i(KDa),$APP.Ac(d));b=new $APP.K(null,3,[
|
|
27
|
-
export const defineElement=function(a,b){b=new $APP.K(null,3,[$APP.
|
|
28
|
-
d)))};export const writeItem=function(a,b,c){var d=b==null?null:b[
|
|
2
|
+
var hDa=function(a,b){return new $APP.Ed(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.ac(d);else{c=d;break a}}c=void 0}return c},null)},a$=function(a){var b=$APP.q(a);a=$APP.t(b);b=$APP.u(b);return $APP.Tc($APP.t(b))?new $APP.H(null,3,5,$APP.I,[a,$APP.t(b),$APP.u(b)],null):new $APP.H(null,3,5,$APP.I,[a,null,$APP.q(b)],null)},b$=function(a){return a instanceof $APP.F||$APP.Jc(a)},iDa=function(a){return typeof a==="string"||
|
|
3
|
+
typeof a==="number"||a===!0||a===!1||a==null},c$=function(a){return $APP.Wc(a)||typeof a==="string"||typeof a==="number"},jDa=function(a){return $APP.ke(function(b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.z.j("data-x-part",$APP.Rg(c))?b:null},a)},kDa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.H(null,2,5,$APP.I,[new $APP.H(null,2,5,$APP.I,[c,a],null),b],null)},d$=function(a,b,c){var d=$APP.G(c);c=$APP.C(d,$APP.Uq);var e=$APP.G(d);d=$APP.C(e,$APP.ir);e=$APP.C(e,
|
|
4
|
+
$APP.Fm);var f=$APP.q(d);$APP.m(f?f:e)?(f=new $APP.K(null,1,[$APP.Nj,b],null),d=$APP.q(d)?$APP.Eg.l(f,$APP.vs,d):f,d=$APP.m(e)?$APP.Eg.l(d,$APP.Fm,e):d):d=null;a=$APP.Rh.O(a,$APP.Mr,$APP.Hf,$APP.De.i($APP.oe(kDa,b)),c);return $APP.m(d)?$APP.Rh.J(a,$APP.us,$APP.zd,d):a},lDa=function(a,b,c){var d=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.Wc(c)?(c=e$.l?e$.l(a,b,c):e$.call(null,a,b,c),a=$APP.B(c,0,null),c=$APP.B(c,1,null),new $APP.H(null,2,5,$APP.I,[$APP.zd.j(d,a),c],null)):new $APP.H(null,2,5,
|
|
5
|
+
$APP.I,[$APP.zd.j(d,c),b],null)},e$=function(a,b,c){var d=a$(c);c=$APP.B(d,0,null);var e=$APP.B(d,1,null),f=$APP.B(d,2,null),g=$APP.bk.j(e,$APP.Uq);if($APP.p($APP.ke(b$,f)))d=null;else{if($APP.u(f))throw $APP.Ch("A text hole must be the only child of its element.",new $APP.K(null,1,[$APP.Dt,c],null));d=$APP.t(f)}e=$APP.Uq.i(e);var k=$APP.Hf.l($APP.fe,$APP.Ke($APP.Aj.j(b$,$APP.ef)),g);g=$APP.Hf.l($APP.fe,$APP.Ie($APP.Aj.j(b$,$APP.ef)),g);if($APP.m(d))f=null;else if(!$APP.je(c$,f))throw $APP.Ch("A child of a template is a template, text, a number or one hole.",
|
|
6
|
+
new $APP.K(null,1,[$APP.Dt,c],null));d=new $APP.K(null,6,[$APP.Dt,c,$APP.Uq,e,$APP.Rp,k,$APP.ir,g,$APP.Fm,d,$APP.ku,f],null);b=$APP.G(b);c=$APP.C(b,$APP.Vu);d=$APP.G(d);f=$APP.C(d,$APP.Rp);f=jDa(f);k=$APP.G(d);g=$APP.C(k,$APP.Uq);e=$APP.C(k,$APP.ir);k=$APP.C(k,$APP.Fm);e=(g=$APP.q(g))?g:(e=$APP.q(e))?e:k;$APP.D(e)?$APP.m(f)?d=new $APP.H(null,2,5,$APP.I,[d,d$(b,f,d)],null):(c=""+$APP.N.i(a)+"."+$APP.N.i(c),d=new $APP.H(null,2,5,$APP.I,[$APP.Jo(d,new $APP.H(null,2,5,$APP.I,[$APP.Rp,$APP.oh.i("data-x-part")],
|
|
7
|
+
null),c),d$($APP.Rh.l(b,$APP.Vu,$APP.ic),c,d)],null)):d=new $APP.H(null,2,5,$APP.I,[d,b],null);b=$APP.B(d,0,null);f=$APP.G(b);c=$APP.C(f,$APP.Dt);b=$APP.C(f,$APP.Rp);f=$APP.C(f,$APP.ku);d=$APP.B(d,1,null);d=$APP.xa($APP.oe(lDa,a),new $APP.H(null,2,5,$APP.I,[$APP.Me,d],null),f);a=$APP.B(d,0,null);d=$APP.B(d,1,null);f=$APP.I;e=$APP.Hf.j;c=new $APP.H(null,1,5,$APP.I,[c],null);b=$APP.q(b)?$APP.zd.j(c,b):c;return new $APP.H(null,2,5,f,[e.call($APP.Hf,b,a),d],null)},f$=function(a,b){b=e$($APP.Rg(a),new $APP.K(null,
|
|
8
|
+
3,[$APP.Vu,0,$APP.us,$APP.Me,$APP.Mr,$APP.fe],null),b);a=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.K(null,3,[$APP.Rp,a,$APP.us,$APP.us.i(b),$APP.Mr,$APP.Mr.i(b)],null)},g$=function(a,b){return b.i?b.i(a):b.call(null,a)},mDa=function(a,b){var c=$APP.G(b);b=$APP.C(c,$APP.Nj);var d=$APP.C(c,$APP.vs),e=$APP.C(c,$APP.Fm);c=$APP.I;d=$APP.m(d)?$APP.Eg.l($APP.fe,$APP.vs,$APP.Dh(d,$APP.oe(g$,a))):$APP.fe;a=$APP.m(e)?$APP.Eg.l(d,$APP.Fm,g$(a,e)):d;return new $APP.H(null,2,5,c,[b,a],null)},h$=function(a,
|
|
9
|
+
b){return $APP.Hf.l($APP.fe,$APP.De.i($APP.oe(mDa,b)),$APP.us.i(a))},i$=function(a,b){var c=a[nDa];c==null?b.i?b.i(a):b.call(null,a):c.call(a,$APP.oe(b,a));return null},oDa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);c=$APP.Rg(c);b=b===!0?"":b===!1||b==null?null:b instanceof $APP.F?$APP.Rg(b):""+$APP.N.i(b);return $APP.M.j(b,a.getAttribute(c))?b!=null?a.setAttribute(c,b):a.removeAttribute(c):null},j$=function(a,b){return $APP.wh($APP.oe(oDa,b),a)},k$=function(a,b){b=""+$APP.N.i(b);var c=
|
|
10
|
+
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},pDa=function(a,b,c){return b.append($APP.Wc(c)?l$.j?l$.j(a,c):l$.call(null,a,c):""+$APP.N.i(c))},l$=function(a,b){var c=a$(b);$APP.B(c,0,null);var d=$APP.B(c,1,null);c=$APP.B(c,2,null);if(!$APP.bd(d,$APP.Uq)&&$APP.je(iDa,$APP.Bg(d))&&$APP.je(c$,c))c=a$(b);else throw $APP.Ch("A node is made from a fixed template. split takes holes and :on out of one.",
|
|
11
|
+
new $APP.K(null,1,[$APP.Dt,$APP.t(b)],null));d=$APP.B(c,0,null);b=$APP.B(c,1,null);c=$APP.B(c,2,null);d=a.createElement($APP.Rg(d));i$(d,$APP.oe(j$,b));$APP.wh($APP.pe(pDa,a,d),c);return d},m$=function(a){var b=a.getAttribute("data-x-part");return b==null?null:new $APP.H(null,2,5,$APP.I,[b,a],null)},n$=function(a){return $APP.Hf.l($APP.fe,$APP.ue(m$),$APP.Cd(a,$APP.Ac(a.querySelectorAll(qDa))))},rDa=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,$APP.vs);a=a.i?
|
|
12
|
+
a.i(c):a.call(null,c);$APP.bd(b,$APP.Fm)&&k$(a,$APP.Fm.i(b));return $APP.m(d)?i$(a,$APP.oe(j$,d)):null},o$=function(a,b){var c=$APP.q($APP.Hf.l($APP.Me,$APP.Ke(a),$APP.zg(b)));if(c!=null)throw $APP.Ch("write-parts!: no node has these part names.",new $APP.K(null,1,[$APP.Qj,$APP.ff(c)],null));return $APP.wh($APP.oe(rDa,a),b)},sDa=function(a,b){return a.getAttribute(b)},tDa=function(a,b){var c=$APP.G(a);a=$APP.C(c,$APP.vs);var d=$APP.C(c,$APP.Gs);c=$APP.C(c,$APP.wv);var e=$APP.Rp.i(c),f=b.shadowRoot;
|
|
13
|
+
$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,l$(document,e)));d=n$(d.lastElementChild);b=$APP.Hf.l($APP.fe,$APP.De.i($APP.ch($APP.oh,$APP.oe(sDa,b))),a);return o$(d,h$(c,b))},uDa=function(a,b){var c=class extends HTMLElement{},d=c.prototype;c.observedAttributes=$APP.za(a);d.connectedCallback=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},
|
|
14
|
+
p$=function(a,b){a=$APP.me(a);a=new $APP.H(null,2,5,$APP.I,[$APP.Tg(a,b),hDa(a,b)],null);b=$APP.B(a,0,null);a=$APP.B(a,1,null);return $APP.Fe.j(b,$APP.Be(1,a))},vDa=function(a){return a instanceof Element},s$=function(a){a=$APP.Je(vDa,p$($APP.oe($APP.la,a.currentTarget),$APP.Bc(a.composedPath())));var b=$APP.ke(m$,p$($APP.Lj,a)),c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.K(null,3,[q$,$APP.Hf.l($APP.Me,$APP.ue($APP.Aj.j($APP.t,$APP.Lj)),$APP.Ad(a)),$APP.Nj,c,r$,b],null)},wDa=function(a,
|
|
15
|
+
b,c,d){return function(e){e=$APP.Io.l(a,b,e);a:for(;;){var f=$APP.ab(a),g=c.i?c.i(f):c.call(null,f);d.i?d.i(g):d.call(null,g);if(f===$APP.ab(a))break a}return e}},t$=function(a,b){return a.getAttribute(b)},xDa=function(a){return $APP.Nc(q$.i(a))},yDa=function(a,b){var c=$APP.G(a);a=$APP.C(c,u$);var d=$APP.C(c,$APP.Mr),e=$APP.C(c,$APP.Ks);c=s$(b);var f=$APP.G(c),g=$APP.C(f,$APP.Nj);c=$APP.C(f,r$);d=$APP.C(d,new $APP.H(null,2,5,$APP.I,[b.type,g],null));if(d==null)return null;g=$APP.Wc(d)?d:new $APP.H(null,
|
|
16
|
+
2,5,$APP.I,[d,xDa],null);d=$APP.B(g,0,null);g=$APP.B(g,1,null);f=g.j?g.j(f,b):g.call(null,f,b);d=new $APP.H(null,1,5,$APP.I,[d],null);f=f!=null?$APP.zd.j(d,f):d;e=$APP.C(e,b.type);e==null?b=a.i?a.i(f):a.call(null,f):(d=$APP.Sh.j($APP.oe(t$,c),e),a.i?a.i(f):a.call(null,f),b=$APP.z.j(d,$APP.Sh.j($APP.oe(t$,c),e))?b.preventDefault():null);return b},zDa=function(a,b,c){return a.addEventListener(c,$APP.oe(yDa,b))},ADa=function(a,b){return new $APP.H(null,2,5,$APP.I,[b,a[b]],null)},v$=function(a){return a!=
|
|
17
|
+
null?$APP.Hf.l($APP.fe,$APP.De.i($APP.oe(ADa,a)),$APP.fa(a)):$APP.fe},w$=function(a){return $APP.m($APP.ma(a))?$APP.ff(a):a},BDa=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.I,[$APP.Uq,$APP.Dh(v$(b),w$)],null):$APP.Jc(b)?new $APP.H(null,2,5,$APP.I,[c,a.i?a.i(b):a.call(null,b)],null):new $APP.H(null,2,5,$APP.I,[c,b],null)},CDa=function(a,b){return $APP.m($APP.ma(b))?x$.j?x$.j(a,b):x$.call(null,a,b):$APP.Jc(b)?a.i?a.i(b):a.call(null,b):b},
|
|
18
|
+
x$=function(a,b){b=$APP.q($APP.Ac(b));var c=$APP.t(b);b=$APP.u(b);var d=$APP.pa($APP.t(b))?$APP.t(b):null,e=$APP.Hf.l;c=new $APP.H(null,1,5,$APP.I,[c],null);c=$APP.m(d)?$APP.zd.j(c,$APP.Hf.l($APP.fe,$APP.De.i($APP.oe(BDa,a)),v$(d))):c;return e.call($APP.Hf,c,$APP.De.i($APP.oe(CDa,a)),$APP.m(d)?$APP.ac(b):b)},y$=function(a,b,c){return Object.defineProperty(a,b,{value:c})},DDa=function(a){var b=$APP.m("text"in a)?$APP.Eg.l($APP.fe,$APP.Fm,a.text):$APP.fe;return a.attrs!=null?$APP.Eg.l(b,$APP.vs,v$(a.attrs)):
|
|
19
|
+
b},z$=function(a,b){var c=a===b;if(c)return c;if(c=a!=null&&Object.prototype===Object.getPrototypeOf(a)){if(c=b!=null&&Object.prototype===Object.getPrototypeOf(b)){c=Object.keys(a);var d=c.length===Object.keys(b).length;if(d)a:{for(d=0;;){var e=d===c.length;if(e){a=e;break a}e=a;var f=b,g=c[d],k=Object.prototype.hasOwnProperty.call(f,g);e=$APP.m(k)?Object.is(e[g],f[g]):k;if($APP.m(e))d+=1;else{a=e;break a}}a=void 0}else a=d;return a}return c}return c},A$=function(a){return new $APP.K(null,4,[$APP.Mj,
|
|
20
|
+
a.parent,$APP.Fj,a.before,$APP.Uh,a.key,$APP.Nj,a.part],null)},EDa=function(a){return new $APP.K(null,3,[$APP.Uh,a.key,$APP.Ej,a.in,$APP.Fj,a.before],null)},FDa=function(a,b,c){a[b]=c;return a},B$=function(a){return $APP.pd(FDa,{},a)},GDa=function(a,b){a.push(b);return a},C$=function(a){return $APP.xa(GDa,[],a)},HDa=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.Uh);var c=$APP.C(b,$APP.Mj),d=$APP.C(b,$APP.Fj);b=$APP.C(b,$APP.Nj);return{parent:c,before:d,key:a,part:b}},IDa=function(a){var b=$APP.G(a);
|
|
21
|
+
a=$APP.C(b,$APP.Uh);var c=$APP.C(b,$APP.Ej);b=$APP.C(b,$APP.Fj);return{key:a,"in":c,before:b}},D$=function(a){var b=$APP.G(a);a=$APP.C(b,q$);var c=$APP.C(b,$APP.Nj);b=$APP.C(b,r$);return{keyPath:$APP.Jm(a),part:c,node:b}},JDa=function(a){return function(b,c){b=D$(b);return a.j?a.j(b,c):a.call(null,b,c)}},KDa=function(a){var b=$APP.I,c=$APP.ff(a[0]);a=w$(a[1]);a=$APP.Wc(a)?$APP.Rh.l(a,1,JDa):a;return new $APP.H(null,2,5,b,[c,a],null)},LDa=function(a){return function(b){b=$APP.Jm(b);return a.i?a.i(b):
|
|
22
|
+
a.call(null,b)}},E$=function(a,b){this.store=a;this.Kc=b;this.B=425984;this.K=65536},MDa=function(a){return function(b){b=$APP.Jm(b);return a.i?a.i(b):a.call(null,b)}},F$=new $APP.F(null,"given","given",716253602),r$=new $APP.F(null,"node","node",581201198),q$=new $APP.F(null,"key-path","key-path",878473308),u$=new $APP.F(null,"dispatch!","dispatch!",-1927281664);var nDa=Symbol["for"]("x-render-hold"),G$=function G$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return G$.o(arguments[0],1<c.length?new $APP.Xb(c.slice(1),0,null):null)};G$.o=function(a){return a.cloneNode(!0)};G$.M=1;G$.I=function(a){var b=$APP.t(a);a=$APP.u(a);return this.o(b,a)};var qDa="["+$APP.N.i("data-x-part")+"]:not(:scope ["+$APP.N.i("data-x-key")+"], :scope ["+$APP.N.i("data-x-key")+"] *)",H$=Symbol("baremirror.last-written");var I$=function I$(a){var c=$APP.ma(a);$APP.m($APP.m(c)?c:$APP.pa(a))&&($APP.wh(I$,Object.values(a)),Object.freeze(a));return a},J$=Symbol("baremirror.split"),K$=Symbol("baremirror.value");E$.prototype.Y=function(a,b){return new E$(this.store,b)};E$.prototype.W=function(){return this.Kc};E$.prototype.tb=function(){return this.store.value};E$.prototype.nc=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){a=$APP.Kj($APP.Dh(v$(a),$APP.ff),$APP.Dh(v$(b),$APP.ff));a=$APP.G(a);b=$APP.C(a,$APP.Ij);var c=$APP.C(a,$APP.Jj);return I$(y$({remove:C$(b),place:C$($APP.De.j(IDa,c))},K$,a))};export const syncPlaces=function(a,b,c){return B$($APP.dk($APP.Dh(v$(a),A$),$APP.Dh(v$(b),$APP.ff),c))};export const setText=function(a,b){return k$(a,b)};export const readOrigin=function(a){return D$(s$(a))};export const setAttrs=function(a,b){b=v$(b);return i$(a,$APP.oe(j$,b))};
|
|
23
|
+
export const readPlaces=function(a){a=$APP.ak($APP.Dh(v$(a),A$));a=$APP.G(a);var b=$APP.C(a,$APP.Xj),c=$APP.C(a,$APP.Yj),d=$APP.C(a,$APP.Zj);return I$(y$({containers:B$($APP.Dh(b,HDa)),places:B$($APP.Dh(c,C$)),nodes:B$(d)},K$,a))};export const withOneRender=function(a,b){return i$(a,b)};
|
|
24
|
+
export const splitTemplate=function(a,b){var c=f$(a,x$($APP.qd,b));return I$(y$({fixed:$APP.Jm($APP.Rp.i(c)),holes:$APP.Jm($APP.us.i(c)),events:$APP.Jm($APP.ff($APP.Mr.i(c))),writes:function(d){return $APP.Jm(h$(c,d))}},J$,c))};export const release=function(a){return a.removeAttribute("data-x-key")};export const makeNode=function(a){a=x$($APP.qd,a);return l$(document,a)};export const dispatcher=function(a,b,c,d){return wDa(new E$(a,$APP.fe),b,c,d)};
|
|
25
|
+
export const nodeMaker=function(a){a=x$($APP.qd,a);return $APP.oe(G$,l$(document.createElement("template").content.ownerDocument,a))};export const perform=function(a,b,c){var d=a==null?null:a[K$];a=$APP.m(d)?d:new $APP.K(null,2,[$APP.Xj,$APP.Dh(v$(a.containers),A$),$APP.Zj,v$(a.nodes)],null);d=b==null?null:b[K$];b=$APP.m(d)?d:new $APP.K(null,2,[$APP.Ij,$APP.ff(b.remove),$APP.Jj,$APP.Sh.j(EDa,b.place)],null);return B$($APP.ck(a,b,c))};
|
|
26
|
+
export const listen=function(a,b){var c=LDa(b.dispatch);var d=b.events;d=$APP.Hf.l($APP.fe,$APP.De.i(KDa),$APP.Ac(d));b=new $APP.K(null,3,[u$,c,$APP.Mr,d,$APP.Ks,$APP.Dh(v$(b.requests),$APP.ff)],null);b=$APP.G(b);c=$APP.C(b,$APP.Mr);return $APP.wh($APP.pe(zDa,a,b),$APP.Hf.l($APP.Kg,$APP.De.i($APP.t),$APP.zg(c)))};export const readParts=function(a){return $APP.Jm(n$(a))};export const writeParts=function(a,b){return o$(v$(a),$APP.Dh(v$(b),DDa))};
|
|
27
|
+
export const defineElement=function(a,b){b=new $APP.K(null,3,[$APP.vs,$APP.ff(b.attrs),$APP.Mv,x$(MDa,b.template),$APP.Gs,b.css],null);var c=$APP.G(b),d=$APP.C(c,$APP.Mv);b=$APP.C(c,$APP.vs);c=$APP.C(c,$APP.Gs);d=f$(a,d);if(!$APP.Pc($APP.Mr.i(d)))throw $APP.Ch("define-element!: the template of an element takes no :on entry.",new $APP.K(null,1,[$APP.Dt,a],null));d=new $APP.K(null,3,[$APP.vs,b,$APP.Gs,c,$APP.wv,d],null);return $APP.m(customElements.get(a))?null:customElements.define(a,uDa(b,$APP.oe(tDa,
|
|
28
|
+
d)))};export const writeItem=function(a,b,c){var d=b==null?null:b[J$];if(d==null)throw $APP.Ch("writeItem: not a split template.",new $APP.K(null,1,[F$,b],null));if(!($APP.Tc(d)&&$APP.bd(d,$APP.Rp)&&$APP.bd(d,$APP.us)))throw $APP.Ch("write-item!: not a split template.",new $APP.K(null,1,[F$,d],null));var e=a[H$];b=$APP.B(e,0,null);e=$APP.B(e,1,null);b=(b=d===b)?z$.j?z$.j(c,e):z$.call(null,c,e):b;$APP.m(b)||(o$(n$(a),h$(d,c)),a[H$]=new $APP.H(null,2,5,$APP.I,[d,c],null));return null};
|