@vanelsas/baredom 2.5.0 → 2.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 +26 -0
- package/README.md +23 -337
- package/custom-elements.json +36 -1
- package/dist/base.js +358 -352
- package/dist/integrity.json +93 -93
- package/dist/x-alert.js +18 -19
- package/dist/x-avatar-group.js +10 -11
- package/dist/x-avatar.js +14 -14
- package/dist/x-badge.js +10 -11
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +14 -14
- package/dist/x-button.js +18 -16
- package/dist/x-cancel-dialogue.js +17 -17
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +34 -34
- package/dist/x-chart.js +46 -48
- package/dist/x-checkbox.js +10 -11
- package/dist/x-chip.js +9 -9
- package/dist/x-collapse.js +10 -12
- package/dist/x-color-picker.js +44 -45
- package/dist/x-combobox.d.ts +1 -0
- package/dist/x-combobox.js +26 -27
- package/dist/x-command-palette.js +26 -27
- package/dist/x-container.js +5 -6
- package/dist/x-context-menu.js +18 -18
- package/dist/x-copy.js +22 -22
- package/dist/x-currency-field.d.ts +1 -0
- package/dist/x-currency-field.js +22 -23
- package/dist/x-date-picker.js +41 -42
- package/dist/x-divider.js +8 -9
- package/dist/x-drawer.js +11 -12
- package/dist/x-dropdown.js +10 -11
- package/dist/x-fieldset.js +6 -6
- package/dist/x-file-download.js +7 -8
- package/dist/x-file-upload.js +22 -25
- package/dist/x-form-field.js +15 -17
- package/dist/x-form.js +8 -10
- package/dist/x-gaussian-blur.js +18 -18
- package/dist/x-grid.js +6 -6
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +19 -19
- package/dist/x-kinetic-font.js +28 -29
- package/dist/x-kinetic-typography.js +39 -39
- package/dist/x-liquid-dock.js +39 -39
- package/dist/x-liquid-fill.js +44 -44
- package/dist/x-liquid-glass.js +47 -47
- package/dist/x-menu-item.js +9 -10
- package/dist/x-menu.js +11 -11
- package/dist/x-metaball-cursor.js +27 -27
- package/dist/x-modal.js +12 -13
- package/dist/x-morph-stack.js +38 -39
- package/dist/x-navbar.js +12 -13
- package/dist/x-neural-glow.js +32 -33
- package/dist/x-notification-center.js +9 -10
- package/dist/x-organic-divider.js +18 -19
- package/dist/x-organic-progress.js +37 -38
- package/dist/x-organic-shape.js +13 -14
- package/dist/x-pagination.d.ts +2 -1
- package/dist/x-pagination.js +16 -16
- package/dist/x-particle-button.js +48 -49
- package/dist/x-popover.js +24 -25
- package/dist/x-progress-circle.js +8 -9
- package/dist/x-progress.js +11 -11
- package/dist/x-radio.js +10 -12
- package/dist/x-ripple-effect.js +11 -11
- package/dist/x-scroll-parallax.js +19 -19
- package/dist/x-scroll-stack.js +18 -18
- package/dist/x-scroll-story.js +36 -36
- package/dist/x-scroll-timeline.js +46 -47
- package/dist/x-scroll.js +40 -41
- package/dist/x-search-field.js +15 -17
- package/dist/x-select.d.ts +1 -0
- package/dist/x-select.js +10 -11
- package/dist/x-sidebar.js +16 -16
- package/dist/x-skeleton-group.js +12 -14
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.d.ts +1 -0
- package/dist/x-slider.js +16 -16
- package/dist/x-soft-body.js +21 -21
- package/dist/x-spacer.js +5 -5
- package/dist/x-spinner.js +5 -6
- package/dist/x-splash.js +13 -13
- package/dist/x-stat.js +11 -11
- package/dist/x-stepper.js +15 -15
- package/dist/x-switch.js +9 -11
- package/dist/x-tab.js +7 -7
- package/dist/x-table-cell.js +22 -22
- package/dist/x-table-row.js +9 -10
- package/dist/x-table.js +14 -15
- package/dist/x-tabs.d.ts +1 -0
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.d.ts +1 -0
- package/dist/x-text-area.js +19 -19
- package/dist/x-theme.d.ts +1 -1
- package/dist/x-theme.js +25 -25
- package/dist/x-timeline-item.js +23 -23
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +24 -24
- package/dist/x-toaster.js +8 -8
- package/dist/x-tooltip.js +11 -13
- package/dist/x-typography.js +11 -11
- package/dist/x-welcome-tour.js +64 -65
- package/package.json +186 -182
package/dist/x-carousel.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
$APP.
|
|
5
|
-
$APP.D(c,
|
|
6
|
-
"__xCarouselPaused")))?(c=$APP.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"flex";g=$APP.k(a,"__xCarouselDotCount");if($APP.N($APP.n(g)?g:-1,m)){h.innerHTML="";for(g=0;;)if(g<m)e=document.createElement("button"),e.setAttribute("part","dot"),e.setAttribute("type","button"),e.setAttribute("role","tab"),e.setAttribute("aria-label","Go to slide "+$APP.
|
|
11
|
-
""+$APP.
|
|
12
|
-
return null},
|
|
13
|
-
|
|
14
|
-
$APP.B.i(aa,"Home")?(J.preventDefault(),
|
|
15
|
-
switch(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
h);C.addEventListener("slotchange",g);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.
|
|
19
|
-
"dots");c=$APP.k(c,"viewport");d.removeEventListener("pointerdown",$APP.k(b,"down"));d.removeEventListener("pointermove",$APP.k(b,"move"));d.removeEventListener("pointerup",$APP.k(b,"up"));c.removeEventListener("keydown",$APP.k(b,"key"));l.removeEventListener("click",$APP.k(b,"dot"));g.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange"
|
|
20
|
-
$APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},
|
|
21
|
-
c,d,e,g),enumerable:!0,configurable:!0});e+=1}else{var h=$APP.t(b);if(h){g=h;if($APP.Nc(g))b=$APP.
|
|
22
|
-
["arrows","dots"],null));c=null;for(e=d=0;;)if(e<d)g=c.F(null,e),Object.defineProperty(a,g,{get:function(m,p,
|
|
23
|
-
c,d,e,l,g,h),set:function(m,p,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function(){var m=
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"button");
|
|
30
|
-
"true");
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$APP.zf([new $APP.K(null,"arrows","arrows",-1209622014),new $APP.K(null,"slideCount","slideCount",-1489337180),$APP.
|
|
34
|
-
[$APP.Z,$APP.
|
|
35
|
-
var
|
|
2
|
+
var ix=function(a){return a==null?!0:$APP.N((""+$APP.S.g(a)).trim().toLowerCase(),"false")},jx=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.q(isNaN(a))&&a>=0?a:0):0},kx=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.q(isNaN(a))&&a>=100?a:5E3):5E3},mx=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(lx,a)?a:"slide"):"slide"},ox=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(nx,a)?a:"horizontal"):"horizontal"},
|
|
3
|
+
qx=function(a){var b=(b=typeof a==="string")?px.test(a.trim()):b;return $APP.n(b)?a.trim():"0px"},rx=function(a,b){return b<=0?0:a<0?0:a>=b?b-1:a},tx=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.vi);var c=$APP.D(b,$APP.Ol);b=$APP.D(b,sx);var d=a+1;return d>=b?$APP.n(c)?0:a:d},ux=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.vi);var c=$APP.D(b,$APP.Ol);b=$APP.D(b,sx);var d=a-1;return d<0?$APP.n(c)?b-1:a:d},Cx=function(a){var b=$APP.k(a,"__xCarouselSlideCount");a=$APP.zf([$APP.fm,sx,vx,wx,$APP.Dm,xx,$APP.xi,
|
|
4
|
+
$APP.pk,yx,$APP.pn,$APP.qj,zx],[a.hasAttribute("disabled"),$APP.n(b)?b:0,a.getAttribute("transition"),a.getAttribute("arrows"),a.getAttribute("peek"),a.hasAttribute("loop"),a.getAttribute("interval"),a.getAttribute("aria-label"),a.hasAttribute("autoplay"),a.getAttribute("current"),a.getAttribute("direction"),a.getAttribute("dots")]);var c=$APP.M(a);a=$APP.D(c,$APP.pk);b=$APP.D(c,yx);var d=$APP.D(c,$APP.xi),e=$APP.D(c,$APP.pn),g=$APP.D(c,$APP.qj),h=$APP.D(c,zx),l=$APP.D(c,$APP.fm),m=$APP.D(c,sx),p=
|
|
5
|
+
$APP.D(c,vx),r=$APP.D(c,wx),v=$APP.D(c,$APP.Dm);c=$APP.D(c,xx);m=$APP.n(m)?m:0;e=rx(jx(e),m);return $APP.zf([Ax,Bx,$APP.ol,sx,$APP.vi,$APP.Ol,$APP.pl,$APP.hm,$APP.tj,$APP.X,$APP.Lj,$APP.ej],[ix(r),mx(p),ix(h),m,e,$APP.F(c),kx(d),$APP.bh(a)?a:null,qx(v),$APP.F(l),ox(g),$APP.F(b)])},Dx=function(a){var b=$APP.k(a,"__xCarouselAutoTimer");$APP.n(b)&&(clearInterval(b),a.__xCarouselAutoTimer=null)},Fx=function(a){Dx(a);var b=Cx(a);$APP.n(function(){var c=$APP.ej.g(b);return $APP.n(c)?(c=$APP.q($APP.k(a,
|
|
6
|
+
"__xCarouselPaused")))?(c=$APP.q($APP.X.g(b)))?(c=sx.g(b)>1)?a.isConnected:c:c:c:c}())&&$APP.Mg(a,"__xCarouselAutoTimer",setInterval(function(){if($APP.n(a.isConnected)){var c=Cx(a);c=tx(c);return Ex.m?Ex.m(a,c,"autoplay"):Ex.call(null,a,c,"autoplay")}return null},$APP.pl.g(b)))},Gx=function(a){if($APP.Ng(a,"__xCarouselInit")){var b=Cx(a);if($APP.N(b,$APP.k(a,"__xCarouselModel"))){a.__xCarouselModel=b;var c=$APP.k(a,"__xCarouselRefs"),d=$APP.k(c,"track"),e=$APP.k(c,"prev"),g=$APP.k(c,"next"),h=$APP.k(c,
|
|
7
|
+
"dots");c=$APP.k(c,"live");var l=$APP.vi.g(b),m=sx.g(b),p=Bx.g(b),r=$APP.Lj.g(b),v=$APP.tj.g(b),x=$APP.B.i(r,"vertical");a.setAttribute("data-direction",r);a.setAttribute("data-transition",p);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.hm.g(b);$APP.n(y)?a.setAttribute("aria-label",y):$APP.n(a.hasAttribute("aria-label"))||a.setAttribute("aria-label","Carousel");h.setAttribute("aria-orientation",r);a.style.setProperty("--_peek",v);if($APP.B.i(p,"slide"))for(p=
|
|
8
|
+
x?"Y":"X",$APP.B.i(v,"0px")?d.style.transform="translate"+$APP.S.g(p)+"("+$APP.S.g(l*-100)+"%)":d.style.transform="translate"+$APP.S.g(p)+"(calc("+$APP.S.g(l*-1)+" * (100% - "+$APP.S.g(v)+" * 2) + "+$APP.S.g(v)+"))",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,p=0;;)if(p<v)d[p].style.opacity="",p+=1;else break;else for(d.style.transform="",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,p=0;;)if(p<v)d[p].style.opacity=$APP.B.i(p,l)?"1":"0",
|
|
9
|
+
p+=1;else break;v=$APP.M(b);d=$APP.D(v,Ax);v=$APP.D(v,sx);$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",g.style.display="flex",r=$APP.M(b),d=$APP.D(r,$APP.vi),v=$APP.D(r,$APP.Ol),p=$APP.D(r,sx),r=$APP.D(r,$APP.X),d=(r=$APP.q(r))?(p=p>1)?$APP.n(v)?v:d>0:p:r,e.disabled=$APP.q(d),p=$APP.M(b),e=$APP.D(p,$APP.vi),d=$APP.D(p,$APP.Ol),v=$APP.D(p,sx),p=$APP.D(p,$APP.X),e=(p=$APP.q(p))?(p=v>1)?$APP.n(d)?d:e<v-1:p:p,g.disabled=$APP.q(e)):(e.style.display="none",g.style.display="none");e=$APP.M(b);g=$APP.D(e,
|
|
10
|
+
$APP.ol);e=$APP.D(e,sx);if($APP.n($APP.n(g)?e>1:g)){h.style.display="flex";g=$APP.k(a,"__xCarouselDotCount");if($APP.N($APP.n(g)?g:-1,m)){h.innerHTML="";for(g=0;;)if(g<m)e=document.createElement("button"),e.setAttribute("part","dot"),e.setAttribute("type","button"),e.setAttribute("role","tab"),e.setAttribute("aria-label","Go to slide "+$APP.S.g(g+1)),e.setAttribute("data-index",""+$APP.S.g(g)),h.appendChild(e),g+=1;else break;a.__xCarouselDotCount=m}a=h.children;h=a.length;for(g=0;;)if(g<h)e=a[g],
|
|
11
|
+
e.setAttribute("aria-current",""+$APP.S.g($APP.B.i(g,l))),e.setAttribute("aria-selected",""+$APP.S.g($APP.B.i(g,l))),g+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.S.g(l+1)+" of "+$APP.S.g(m));$APP.n($APP.ej.g(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}}},Ex=function(a,b,c){var d=Cx(a),e=sx.g(d);b=rx(b,e);d=$APP.vi.g(d);$APP.N(b,d)&&e>0&&(c=new CustomEvent("x-carousel-change",{detail:{index:b,previousIndex:d,reason:c},bubbles:!0,composed:!0,
|
|
12
|
+
cancelable:!0}),$APP.n(a.dispatchEvent(c))&&a.setAttribute("current",""+$APP.S.g(b)));return null},Mx=function(a){function b(J){$APP.n(a.contains(J.relatedTarget))||(a.__xCarouselPaused=!1,Fx(a));return null}function c(){a.__xCarouselPaused=!0;Dx(a);return null}function d(){a.__xCarouselPaused=!1;Fx(a);return null}function e(){a.__xCarouselPaused=!0;Dx(a);return null}function g(){var J=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements().length;a.__xCarouselSlideCount=J;var U=Cx(a);J=rx($APP.vi.g(U),
|
|
13
|
+
J);$APP.N(J,$APP.vi.g(U))&&a.setAttribute("current",""+$APP.S.g(J));Gx(a);Fx(a);return null}function h(){var J=Cx(a);Ex(a,tx(J),"arrow");return null}function l(){var J=Cx(a);Ex(a,ux(J),"arrow");return null}function m(J){J=J.target.getAttribute("data-index");$APP.n(J)&&(J=parseInt(J,10),$APP.n(isNaN(J))||Ex(a,J,"dot"));return null}function p(J){var U=Cx(a),aa=J.key,ta=$APP.Lj.g(U);$APP.q($APP.X.g(U))&&sx.g(U)>1&&($APP.I($APP.B.i(ta,"vertical")?Hx:Ix,aa)?(J.preventDefault(),Ex(a,ux(U),"keyboard")):
|
|
14
|
+
$APP.I($APP.B.i(ta,"vertical")?Jx:Kx,aa)?(J.preventDefault(),Ex(a,tx(U),"keyboard")):$APP.B.i(aa,"Home")?(J.preventDefault(),Ex(a,0,"keyboard")):$APP.B.i(aa,"End")&&(J.preventDefault(),Ex(a,sx.g(U)-1,"keyboard")));return null}function r(){if($APP.n($APP.k(a,"__xCarouselDragging"))){a.__xCarouselDragging=!1;var J=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),U=$APP.k(a,"__xCarouselDragCurrent")-$APP.k(a,"__xCarouselDragStart"),aa=Date.now()-$APP.k(a,"__xCarouselDragStartT");aa=aa>0?U/aa:0;U=aa>.3?$APP.ik:
|
|
15
|
+
aa<-.3?$APP.ok:U>40?$APP.ik:U<-40?$APP.ok:Lx;aa=Cx(a);J.classList.remove("dragging");switch(U instanceof $APP.K?U.pa:null){case "prev":Ex(a,ux(aa),"drag");break;case "next":Ex(a,tx(aa),"drag");break;default:Gx(a)}a.__xCarouselPaused=!1;Fx(a)}return null}function v(J){if($APP.n($APP.k(a,"__xCarouselDragging"))){var U=Cx(a),aa=$APP.B.i($APP.Lj.g(U),"vertical");J=aa?J.clientY:J.clientX;var ta=J-$APP.k(a,"__xCarouselDragStart"),Ma=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),Za=$APP.vi.g(U);aa=aa?"Y":
|
|
16
|
+
"X";U=$APP.tj.g(U);a.__xCarouselDragCurrent=J;$APP.B.i(U,"0px")?Ma.style.transform="translate"+$APP.S.g(aa)+"(calc("+$APP.S.g(Za*-100)+"% + "+$APP.S.g(ta)+"px))":Ma.style.transform="translate"+$APP.S.g(aa)+"(calc("+$APP.S.g(Za*-1)+" * (100% - "+$APP.S.g(U)+" * 2) + "+$APP.S.g(U)+" + "+$APP.S.g(ta)+"px))"}return null}function x(J){var U=Cx(a);if($APP.q($APP.X.g(U))&&$APP.B.i(Bx.g(U),"slide")&&sx.g(U)>1){J.preventDefault();var aa=$APP.k($APP.k(a,"__xCarouselRefs"),"track");U=$APP.B.i($APP.Lj.g(U),"vertical")?
|
|
17
|
+
J.clientY:J.clientX;aa.setPointerCapture(J.pointerId);aa.classList.add("dragging");a.__xCarouselDragging=!0;a.__xCarouselDragStart=U;J=Date.now();a.__xCarouselDragStartT=J;a.__xCarouselDragCurrent=U;a.__xCarouselPaused=!0;Dx(a)}return null}var y=$APP.k(a,"__xCarouselRefs"),A=$APP.k(y,"track"),C=$APP.k(y,"slot"),E=$APP.k(y,"prev"),H=$APP.k(y,"next"),G=$APP.k(y,"dots");y=$APP.k(y,"viewport");A.addEventListener("pointerdown",x);A.addEventListener("pointermove",v);A.addEventListener("pointerup",r);y.addEventListener("keydown",
|
|
18
|
+
p);G.addEventListener("click",m);E.addEventListener("click",l);H.addEventListener("click",h);C.addEventListener("slotchange",g);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Mg(a,"__xCarouselHandlers",{next:h,up:r,slot:g,dot:m,key:p,prev:l,focusin:c,leave:d,move:v,down:x,enter:e,focusout:b})},Nx=function(a){Dx(a);var b=$APP.k(a,"__xCarouselHandlers"),c=$APP.k(a,"__xCarouselRefs");if($APP.n($APP.n(b)?
|
|
19
|
+
c:b)){var d=$APP.k(c,"track"),e=$APP.k(c,"slot"),g=$APP.k(c,"prev"),h=$APP.k(c,"next"),l=$APP.k(c,"dots");c=$APP.k(c,"viewport");d.removeEventListener("pointerdown",$APP.k(b,"down"));d.removeEventListener("pointermove",$APP.k(b,"move"));d.removeEventListener("pointerup",$APP.k(b,"up"));c.removeEventListener("keydown",$APP.k(b,"key"));l.removeEventListener("click",$APP.k(b,"dot"));g.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange",
|
|
20
|
+
$APP.k(b,"slot"));a.removeEventListener("pointerenter",$APP.k(b,"enter"));a.removeEventListener("pointerleave",$APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},Ox=function(a){for(var b=$APP.t(new $APP.O(null,3,5,$APP.P,["autoplay","loop","disabled"],null)),c=null,d=0,e=0;;)if(e<d){var g=c.F(null,e);Object.defineProperty(a,g,{get:function(m,p,r,v,x){return function(){return this.hasAttribute(x)}}(b,
|
|
21
|
+
c,d,e,g),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,c,d,e,g),enumerable:!0,configurable:!0});e+=1}else{var h=$APP.t(b);if(h){g=h;if($APP.Nc(g))b=$APP.xb(g),e=$APP.yb(g),c=b,d=$APP.z(b),b=e;else{var l=$APP.u(g);Object.defineProperty(a,l,{get:function(m,p,r,v,x){return function(){return this.hasAttribute(x)}}(b,c,d,e,l,g,h),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,
|
|
22
|
+
c,d,e,l,g,h),enumerable:!0,configurable:!0});b=$APP.w(g);c=null;d=0}e=0}else break}b=$APP.t(new $APP.O(null,2,5,$APP.P,["arrows","dots"],null));c=null;for(e=d=0;;)if(e<d)g=c.F(null,e),Object.defineProperty(a,g,{get:function(m,p,r,v,x){return function(){return ix(this.getAttribute(x))}}(b,c,d,e,g),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,g),enumerable:!0,configurable:!0}),e+=1;else if(h=$APP.t(b))g=h,$APP.Nc(g)?(b=$APP.xb(g),
|
|
23
|
+
e=$APP.yb(g),c=b,d=$APP.z(b),b=e):(l=$APP.u(g),Object.defineProperty(a,l,{get:function(m,p,r,v,x){return function(){return ix(this.getAttribute(x))}}(b,c,d,e,l,g,h),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,l,g,h),enumerable:!0,configurable:!0}),b=$APP.w(g),c=null,d=0),e=0;else break;Object.defineProperty(a,"currentSlide",{get:function(){return jx(this.getAttribute("current"))},set:function(m){return this.setAttribute("current",
|
|
24
|
+
""+$APP.S.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interval",{get:function(){return kx(this.getAttribute("interval"))},set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.S.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return mx(this.getAttribute("transition"))},set:function(m){return $APP.n(m)?this.setAttribute("transition",""+$APP.S.g(m)):this.removeAttribute("transition")},
|
|
25
|
+
enumerable:!0,configurable:!0});Object.defineProperty(a,"direction",{get:function(){return ox(this.getAttribute("direction"))},set:function(m){return $APP.n(m)?this.setAttribute("direction",""+$APP.S.g(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return qx(this.getAttribute("peek"))},set:function(m){return $APP.n(m)?this.setAttribute("peek",""+$APP.S.g(m)):this.removeAttribute("peek")},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
26
|
+
"slideCount",{get:function(){var m=$APP.k(this,"__xCarouselSlideCount");return $APP.n(m)?m:0},enumerable:!0,configurable:!0});$APP.ja(a,"next",function(){var m=Cx(this);return Ex(this,tx(m),"api")});$APP.ja(a,"previous",function(){var m=Cx(this);return Ex(this,ux(m),"api")});return $APP.ja(a,"goTo",function(m){return Ex(this,m,"api")})},Px=function(a){if(!$APP.Ng(a,"__xCarouselInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),
|
|
27
|
+
g=document.createElement("slot"),h=document.createElement("button"),l=document.createElement("button"),m=document.createElement("div"),p=document.createElement("div");c.textContent=":host{display:block;color-scheme:light dark;position:relative;--x-carousel-height:300px;--x-carousel-arrow-size:40px;--x-carousel-arrow-bg:var(--x-color-surface,rgba(255,255,255,0.9));--x-carousel-arrow-color:var(--x-color-text,#1e293b);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(255,255,255,1));--x-carousel-dot-size:10px;--x-carousel-dot-color:var(--x-color-border,#cbd5e1);--x-carousel-dot-active-color:var(--x-color-primary,#3b82f6);--x-carousel-transition-duration:var(--x-transition-duration,300ms);--x-carousel-radius:var(--x-radius-md,8px);--x-carousel-gap:16px;--x-carousel-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-carousel-disabled-opacity:0.5;}@media(prefers-color-scheme:dark){:host{--x-carousel-arrow-bg:var(--x-color-surface,rgba(30,41,59,0.9));--x-carousel-arrow-color:var(--x-color-text,#f1f5f9);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(30,41,59,1));--x-carousel-dot-color:var(--x-color-border,#475569);--x-carousel-dot-active-color:var(--x-color-primary,#60a5fa);--x-carousel-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dviewport]{position:relative;overflow:hidden;height:var(--x-carousel-height);border-radius:var(--x-carousel-radius);}[part\x3dviewport]:focus{outline:none;}[part\x3dviewport]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dtrack]{display:flex;flex-direction:row;height:100%;transition:transform var(--x-carousel-transition-duration) ease;will-change:transform;touch-action:pan-y pinch-zoom;}[part\x3dtrack].dragging{transition:none !important;cursor:grabbing;}:host([data-direction\x3dvertical]) [part\x3dtrack]{flex-direction:column;touch-action:pan-x pinch-zoom;}::slotted(*){min-width:calc(100% - var(--_peek,0px) * 2);max-width:calc(100% - var(--_peek,0px) * 2);flex-shrink:0;box-sizing:border-box;overflow:hidden;}:host([data-direction\x3dvertical]) ::slotted(*){min-width:auto;max-width:none;min-height:calc(100% - var(--_peek,0px) * 2);max-height:calc(100% - var(--_peek,0px) * 2);}:host([data-transition\x3dfade]) [part\x3dtrack]{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;transition:none;}:host([data-transition\x3dfade]) ::slotted(*){grid-area:1/1;min-width:100%;max-width:100%;transition:opacity var(--x-carousel-transition-duration) ease;}[part\x3dprev-btn],[part\x3dnext-btn]{position:absolute;top:50%;transform:translateY(-50%);width:var(--x-carousel-arrow-size);height:var(--x-carousel-arrow-size);border-radius:50%;border:none;background:var(--x-carousel-arrow-bg);color:var(--x-carousel-arrow-color);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:1;box-shadow:var(--x-shadow-sm,0 1px 3px rgba(0,0,0,0.1));transition:background 150ms ease,opacity 150ms ease,transform 150ms ease;opacity:0.85;}[part\x3dprev-btn]:hover,[part\x3dnext-btn]:hover{background:var(--x-carousel-arrow-hover-bg);opacity:1;}[part\x3dprev-btn]:active,[part\x3dnext-btn]:active{transform:translateY(-50%) scale(0.95);}[part\x3dprev-btn]:focus,[part\x3dnext-btn]:focus{outline:none;}[part\x3dprev-btn]:focus-visible,[part\x3dnext-btn]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dprev-btn]:disabled,[part\x3dnext-btn]:disabled{opacity:0.3;cursor:default;pointer-events:none;}[part\x3dprev-btn]{left:8px;}[part\x3dnext-btn]{right:8px;}[part\x3dprev-btn] svg,[part\x3dnext-btn] svg{width:60%;height:60%;pointer-events:none;}:host([data-direction\x3dvertical]) [part\x3dprev-btn],:host([data-direction\x3dvertical]) [part\x3dnext-btn]{top:auto;left:50%;right:auto;transform:translateX(-50%) rotate(90deg);}:host([data-direction\x3dvertical]) [part\x3dprev-btn]{top:8px;bottom:auto;}:host([data-direction\x3dvertical]) [part\x3dnext-btn]{bottom:8px;top:auto;}:host([data-direction\x3dvertical]) [part\x3dprev-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}:host([data-direction\x3dvertical]) [part\x3dnext-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}[part\x3ddots]{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px 0;}[part\x3ddot]{all:unset;width:var(--x-carousel-dot-size);height:var(--x-carousel-dot-size);border-radius:50%;background:var(--x-carousel-dot-color);cursor:pointer;transition:background 150ms ease,transform 150ms ease;}[part\x3ddot]:hover{transform:scale(1.3);}[part\x3ddot]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3ddot][aria-current\x3dtrue]{background:var(--x-carousel-dot-active-color);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}:host([disabled]){opacity:var(--x-carousel-disabled-opacity);pointer-events:none;}@media(prefers-reduced-motion:reduce){[part\x3dtrack]{transition-duration:0ms !important;}:host([data-transition\x3dfade]) ::slotted(*){transition-duration:0ms !important;}[part\x3dprev-btn],[part\x3dnext-btn],[part\x3ddot]{transition:none !important;}}@media(pointer:coarse){[part\x3dprev-btn],[part\x3dnext-btn]{width:max(var(--x-carousel-arrow-size),44px);height:max(var(--x-carousel-arrow-size),44px);}[part\x3ddot]{width:max(var(--x-carousel-dot-size),44px);height:max(var(--x-carousel-dot-size),44px);background-clip:content-box;padding:calc((44px - var(--x-carousel-dot-size)) / 2);box-sizing:content-box;}}";
|
|
28
|
+
d.setAttribute("part","viewport");d.setAttribute("tabindex","0");e.setAttribute("part","track");e.appendChild(g);h.setAttribute("part","prev-btn");h.setAttribute("type","button");h.setAttribute("aria-label","Previous slide");h.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"15 18 9 12 15 6"\x3e\x3c/polyline\x3e\x3c/svg\x3e';l.setAttribute("part","next-btn");l.setAttribute("type",
|
|
29
|
+
"button");l.setAttribute("aria-label","Next slide");l.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"9 6 15 12 9 18"\x3e\x3c/polyline\x3e\x3c/svg\x3e';d.appendChild(e);d.appendChild(h);d.appendChild(l);m.setAttribute("part","dots");m.setAttribute("role","tablist");m.setAttribute("aria-label","Slide indicators");p.setAttribute("aria-live","polite");p.setAttribute("aria-atomic",
|
|
30
|
+
"true");p.className="sr-only";b.appendChild(c);b.appendChild(d);b.appendChild(m);b.appendChild(p);a.__xCarouselRefs={root:b,viewport:d,track:e,slot:g,prev:h,next:l,dots:m,live:p};a.__xCarouselInit=!0}Nx(a);Mx(a);b=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements();a.__xCarouselSlideCount=b.length;Gx(a);Fx(a);return null},Qx=function(a){Nx(a);return null},Rx=function(a){$APP.Ng(a,"__xCarouselInit")&&(Gx(a),$APP.n(a.isConnected)&&Fx(a));return null},Tx=function(){return $APP.Lg("x-carousel",
|
|
31
|
+
new $APP.Q(null,5,[$APP.Cg,Sx,$APP.Dg,Px,$APP.Eg,Qx,$APP.Fg,Rx,$APP.Jg,Ox],null))},wx=new $APP.K(null,"arrows-raw","arrows-raw",-1077955796),Bx=new $APP.K(null,"transition","transition",765692007),Ax=new $APP.K(null,"arrows?","arrows?",-1692502811),vx=new $APP.K(null,"transition-raw","transition-raw",-1184759092),yx=new $APP.K(null,"autoplay-present?","autoplay-present?",-1468092647),sx=new $APP.K(null,"slide-count","slide-count",1368058827),zx=new $APP.K(null,"dots-raw","dots-raw",-1711545603),xx=
|
|
32
|
+
new $APP.K(null,"loop-present?","loop-present?",1373422006),Lx=new $APP.K(null,"stay","stay",-1240327234);var Sx="autoplay interval loop arrows dots disabled current transition direction peek aria-label".split(" ");
|
|
33
|
+
$APP.zf([new $APP.K(null,"arrows","arrows",-1209622014),new $APP.K(null,"slideCount","slideCount",-1489337180),$APP.kk,Bx,$APP.an,$APP.pl,$APP.Zk,$APP.tj,$APP.ml,new $APP.K(null,"currentSlide","currentSlide",-417438499),$APP.Lj],[new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ok,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,
|
|
34
|
+
[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null)]);$APP.Pd(["x-carousel-change",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,3,[$APP.wi,$APP.W,$APP.vk,$APP.W,$APP.hj,$APP.Y],null),$APP.Km,!0],null)]);
|
|
35
|
+
var lx=new $APP.R(null,new $APP.Q(null,2,["slide",null,"fade",null],null),null),nx=new $APP.R(null,new $APP.Q(null,2,["vertical",null,"horizontal",null],null),null),px=/^\d+(\.\d+)?(px|rem|em|%)$/,Ix=new $APP.R(null,new $APP.Q(null,1,["ArrowLeft",null],null),null),Kx=new $APP.R(null,new $APP.Q(null,1,["ArrowRight",null],null),null),Hx=new $APP.R(null,new $APP.Q(null,1,["ArrowUp",null],null),null),Jx=new $APP.R(null,new $APP.Q(null,1,["ArrowDown",null],null),null);$APP.ha("baredom.exports.x_carousel.init",Tx);export const init=Tx;
|
package/dist/x-chart.js
CHANGED
|
@@ -1,49 +1,47 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
g(d+1,$APP.
|
|
4
|
-
h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.
|
|
5
|
-
b!=null?b.constructor===Object:!1;return d?$APP.
|
|
6
|
-
new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.
|
|
7
|
-
(b=Math.abs(a),b>=1E6?""+$APP.
|
|
8
|
-
10),$APP.n(isNaN(b))?""+$APP.
|
|
9
|
-
$APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),$APP.n(a.hasAttribute("disabled"))?a.getAttribute("disabled"):null,$APP.n(a.hasAttribute("grid"))?a.getAttribute("grid"):null,$APP.n(a.hasAttribute("axes"))?a.getAttribute("axes"):null,a.getAttribute("height"),a.getAttribute("cursor"),$APP.n(a.hasAttribute("loading"))?a.getAttribute("loading"):null,a.getAttribute("type"),a.getAttribute("data"),a.getAttribute("x-format")]);var b=$APP.M(a);a=$APP.D(b,
|
|
10
|
-
$APP.D(b,
|
|
11
|
-
2,[
|
|
12
|
-
A=G}A=void 0}return $APP.zf(y,[E,c,m,b,v,g,
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
new $APP.K(null,"
|
|
47
|
-
|
|
48
|
-
$APP.zf([$APP.ok,$APP.Pj,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),aU,$APP.Z,$APP.xl,$APP.Mm,new $APP.K(null,"tooltip","tooltip",-1809677058),$APP.Yg,$APP.Xh],[new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.Ik,"selected"],null),new $APP.R(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"disabled"],null),new $APP.R(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"axes"],null),new $APP.R(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"grid"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.Ik,"cursor"],null),new $APP.R(null,
|
|
49
|
-
2,[$APP.Z,$APP.Y,$APP.Ik,"type"],null),new $APP.R(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"loading"],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.Ik,"padding"],null),new $APP.R(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"tooltip"],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.Ik,"height"],null),new $APP.R(null,1,[$APP.Z,$APP.Si],null)]);$APP.ha("baredom.exports.x_chart.init",YU);export const init=YU;
|
|
2
|
+
var pV=function(a){a:for(;;)if(a=$APP.t(a))a=$APP.w(a);else break a},qV=function(a,b){return function g(d,e){return new $APP.rd(null,function(){var h=$APP.t(e);if(h){if($APP.Nc(h)){for(var l=$APP.xb(h),m=$APP.z(l),p=$APP.ud(m),r=0;;)if(r<m){var v=function(){var x=d+r,y=$APP.yc(l,r);return a.i?a.i(x,y):a.call(null,x,y)}();v!=null&&p.add(v);r+=1}else break;return $APP.xd(p.aa(),g(d+m,$APP.yb(h)))}m=function(){var x=$APP.u(h);return a.i?a.i(d,x):a.call(null,d,x)}();return m==null?g(d+1,$APP.Xb(h)):$APP.od(m,
|
|
3
|
+
g(d+1,$APP.Xb(h)))}return null},null)}(0,b)},rV=function(a){return $APP.Bd($APP.Wc(function(b,c){var d=$APP.Rl.g?$APP.Rl.g(c):$APP.Rl.call(null,c);c=$APP.ld.i($APP.Bc(b,d,$APP.ee),c);return $APP.tb(b,d,c)},$APP.nb($APP.Qd),a))},sV=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.q(isNaN(a))&&a>0?a:b):b},tV=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.S.g(a.id):h;return $APP.n(h)?h:"s"+$APP.S.g(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.S.g(a.label):h;return $APP.n(h)?
|
|
4
|
+
h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.S.g(a.color):h}(),g=a.data;return $APP.n($APP.ma(g))?new $APP.Q(null,4,[$APP.Rl,c,$APP.T,d,$APP.jk,e,$APP.si,qV(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.Q(null,2,[$APP.cm,l.x,$APP.bm,l.y],null):null},$APP.uc(g))],null):null},uV=function(a){if(typeof a!=="string")return $APP.ee;try{var b=JSON.parse(a);if($APP.n($APP.ma(b)))return $APP.xe(qV(function(d,e){return tV(e,d)},$APP.uc(b)));if($APP.n(function(){var d=
|
|
5
|
+
b!=null?b.constructor===Object:!1;return d?$APP.ma(b.data):d}())){var c=tV(b,0);return $APP.n(c)?new $APP.O(null,1,5,$APP.P,[c],null):$APP.ee}return $APP.ee}catch(d){return $APP.ee}},vV=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.si.g(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.cm.g(a)==="string":a)?"category":"numeric"},wV=function(a){a=$APP.ae(function(b){return $APP.$d.i($APP.bm,$APP.si.g(b))},$APP.uc([a]));return $APP.Hc(a)?new $APP.O(null,2,5,$APP.P,[0,1],null):
|
|
6
|
+
new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.Kh,a),$APP.Jd($APP.Jh,a)],null)},xV=function(a){var b=vV(a);if($APP.B.i(b,"category"))return a=$APP.Kd($APP.Jh,0,$APP.$d.i(function(c){return $APP.z($APP.si.g(c))},a)),new $APP.O(null,2,5,$APP.P,[0,$APP.Jh.i(1,a)-1],null);a=$APP.ae(function(c){return $APP.$d.i($APP.cm,$APP.si.g(c))},$APP.uc([a]));return $APP.Hc(a)?new $APP.O(null,2,5,$APP.P,[0,1],null):new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.Kh,a),$APP.Jd($APP.Jh,a)],null)},yV=function(a,b){return b==null?
|
|
7
|
+
(b=Math.abs(a),b>=1E6?""+$APP.S.g(Math.round(a/1E6))+"M":b>=1E3?""+$APP.S.g(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?""+$APP.S.g(a):a.toFixed(1)):$APP.B.i(b,"int")?""+$APP.S.g(Math.round(a)):$APP.B.i(b,"pct")?""+$APP.S.g(a)+"%":$APP.B.i(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.S.g((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.S.g((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.S.g((a/1E3).toFixed(1))+"K":""+$APP.S.g(a)):$APP.B.i(b,"raw")?""+$APP.S.g(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),
|
|
8
|
+
10),$APP.n(isNaN(b))?""+$APP.S.g(a):a.toFixed(b)):""+$APP.S.g(a)},zV=function(a,b){a=rV(a);return $APP.xe($APP.Xd(function(c){$APP.Ac(c,0,null);c=$APP.Ac(c,1,null);return $APP.Wc(function(d,e){var g=Math.abs($APP.Al.g(e)-b);return d==null||g<$APP.jm.g(d)?$APP.Hh.m(e,$APP.jm,g):d},null,c)},a))},AV=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},ZV=function(a){a=$APP.zf([BV,CV,DV,EV,$APP.fm,FV,GV,HV,IV,JV,$APP.Qi,KV,LV],[a.getAttribute("selected"),a.getAttribute("padding"),
|
|
9
|
+
$APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),$APP.n(a.hasAttribute("disabled"))?a.getAttribute("disabled"):null,$APP.n(a.hasAttribute("grid"))?a.getAttribute("grid"):null,$APP.n(a.hasAttribute("axes"))?a.getAttribute("axes"):null,a.getAttribute("height"),a.getAttribute("cursor"),$APP.n(a.hasAttribute("loading"))?a.getAttribute("loading"):null,a.getAttribute("type"),a.getAttribute("data"),a.getAttribute("x-format")]);var b=$APP.M(a);a=$APP.D(b,LV);var c=
|
|
10
|
+
$APP.D(b,BV),d=$APP.D(b,CV),e=$APP.D(b,DV),g=$APP.D(b,EV),h=$APP.D(b,$APP.fm),l=$APP.D(b,FV),m=$APP.D(b,GV),p=$APP.D(b,HV),r=$APP.D(b,IV),v=$APP.D(b,JV),x=$APP.D(b,$APP.Qi);b=$APP.D(b,KV);b=uV(b);var y=wV(b),A=$APP.Ac(y,0,null),C=$APP.Ac(y,1,null);y=[MV,$APP.Gk,NV,OV,$APP.Ui,PV,QV,$APP.Z,$APP.en,RV,$APP.X,SV,TV,$APP.oh,UV,VV];var E=new $APP.O(null,2,5,$APP.P,[A,C],null);a:{if(typeof c==="string"&&(c=c.split(":"),$APP.B.i(2,c.length))){var H=parseInt(c[1],10);c=$APP.n(isNaN(H))?null:new $APP.Q(null,
|
|
11
|
+
2,[WV,c[0],$APP.wi,H],null);break a}c=null}m=m==null?!0:$APP.ah(m);v=$APP.ah(v);r=typeof r==="string"&&$APP.I(XV,r)?r:"nearest";x=typeof x==="string"&&$APP.I(YV,x)?x:"line";d=sV(d,12);h=$APP.ah(h);e=$APP.ah(e);a:if($APP.B.i(A,C))A=new $APP.O(null,1,5,$APP.P,[A],null);else{H=C-A;if(H===0)H=1;else{var G=H/5;H=Math.pow(10,Math.floor(Math.log10(G)));G/=H;H*=G<=1?1:G<=2?2:G<=2.5?2.5:G<=5?5:10}C=Math.floor(C/H)*H;A=Math.ceil(A/H)*H;for(var J=$APP.ee;;){if(A>C+H*1E-4){A=J;break a}G=A+H;J=$APP.ld.i(J,A);
|
|
12
|
+
A=G}A=void 0}return $APP.zf(y,[E,c,m,b,v,g,r,x,d,a,h,e,A,sV(p,180),vV(b),l==null?!0:$APP.ah(l)])},$V=function(a,b,c,d){var e=$APP.Ac(b,0,null);b=$APP.Ac(b,1,null);e=b-e;return e===0?(c+d)/2:c+(b-a)/e*(d-c)},aW=function(a,b,c,d){var e=$APP.Ac(b,0,null);b=$APP.Ac(b,1,null)-e;return b===0?(c+d)/2:c+(a-e)/b*(d-c)},bW=function(a,b,c,d){var e=AV("line");$APP.Og(e,"x1",""+$APP.S.g(a));$APP.Og(e,"y1",""+$APP.S.g(b));$APP.Og(e,"x2",""+$APP.S.g(c));$APP.Og(e,"y2",""+$APP.S.g(d));e.setAttribute("stroke","var(--x-chart-grid)");
|
|
13
|
+
$APP.Og(e,"stroke-opacity",""+$APP.S.g(1));e.setAttribute("stroke-width","1");return e},cW=function(a,b,c,d){var e=AV("text");$APP.Og(e,"x",""+$APP.S.g(a));$APP.Og(e,"y",""+$APP.S.g(b));e.setAttribute("text-anchor",d);$APP.Og(e,"font-size",""+$APP.S.g(10));e.setAttribute("fill","var(--x-chart-axis-label)");e.textContent=c;return e},dW=function(a){return"var(--x-chart-series-"+$APP.S.g($APP.ed(a,4)+1)+")"},fW=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.w(b);return"M "+$APP.S.g($APP.Al.g(a))+
|
|
14
|
+
","+$APP.S.g(eW.g(a))+$APP.S.g($APP.Jd($APP.S,$APP.$d.i(function(c){return" L "+$APP.S.g($APP.Al.g(c))+","+$APP.S.g(eW.g(c))},b)))}return null},gW=function(a){for(;;){var b=a.lastChild;if($APP.n(b))a.removeChild(b);else break}},lW=function(a,b,c){b=$APP.M(b);var d=$APP.D(b,TV);b=$APP.D(b,MV);var e=$APP.M(c);c=$APP.D(e,hW);var g=$APP.D(e,iW),h=$APP.D(e,jW);e=$APP.D(e,kW);d=$APP.t(d);for(var l=null,m=0,p=0;;)if(p<m){var r=l.F(null,p);r=$V(r,b,g,e);r=bW(c,r,h,r);a.appendChild(r);p+=1}else if(d=$APP.t(d))$APP.Nc(d)?
|
|
15
|
+
(m=$APP.xb(d),d=$APP.yb(d),l=m,m=$APP.z(m)):(r=$APP.u(d),l=$V(r,b,g,e),l=bW(c,l,h,l),a.appendChild(l),d=$APP.w(d),l=null,m=0),p=0;else break},mW=function(a,b,c,d){var e=$APP.M(b),g=$APP.D(e,TV),h=$APP.D(e,MV);b=$APP.D(e,OV);var l=$APP.D(e,UV),m=$APP.D(e,PV),p=$APP.D(e,RV);e=$APP.M(c);var r=$APP.D(e,hW);c=$APP.D(e,iW);var v=$APP.D(e,jW),x=$APP.D(e,kW);g=$APP.t(g);e=null;for(var y=0,A=0;;)if(A<y){var C=e.F(null,A),E=$V(C,h,c,x);C=yV(C,m);E=cW(r-4,E+4,C,"end");a.appendChild(E);A+=1}else if(g=$APP.t(g))$APP.Nc(g)?
|
|
16
|
+
(y=$APP.xb(g),g=$APP.yb(g),e=y,y=$APP.z(y)):(y=$APP.u(g),e=$V(y,h,c,x),y=yV(y,m),e=cW(r-4,e+4,y,"end"),a.appendChild(e),g=$APP.w(g),e=null,y=0),A=0;else break;h=$APP.u(b);if($APP.n(h)){h=$APP.si.g(h);m=$APP.z(h);var H=xV(b),G=$APP.Jh.i(1,Math.ceil(m/5)|0);pV($APP.Wd(function(J,U){if($APP.ed(J,G)===0){if($APP.B.i(l,"category")){var aa=$APP.u($APP.w(H))-$APP.u(H);J=aa<=1?(r+v)/2:r+J/(aa-1)*(v-r)}else J=aW($APP.cm.g(U),H,r,v);U=$APP.B.i(l,"category")?""+$APP.S.g($APP.cm.g(U)):yV($APP.cm.g(U),p);U=cW(J,
|
|
17
|
+
x+d+4,U,"middle");return a.appendChild(U)}return null},h))}},pW=function(a,b,c,d,e,g){e=$APP.M(e);var h=$APP.D(e,hW),l=$APP.D(e,iW),m=$APP.D(e,jW),p=$APP.D(e,kW);return $APP.Wd(function(r,v){if($APP.B.i(c,"category")){var x=$APP.Jh.i(1,$APP.z($APP.si.g(a)))-1;x=x<=1?(h+m)/2:h+r/(x-1)*(m-h)}else x=aW($APP.cm.g(v),d,h,m);var y=$V($APP.bm.g(v),g,l,p);return $APP.Hh.C(v,$APP.Al,x,$APP.uc([eW,y,nW,b,oW,r]))},$APP.si.g(a))},qW=function(a,b,c){b=fW(b);if($APP.n(b)){var d=AV("path");d.setAttribute("d",b);
|
|
18
|
+
d.setAttribute("fill","none");d.setAttribute("stroke",c);d.setAttribute("stroke-width","2");d.setAttribute("stroke-linejoin","round");d.setAttribute("stroke-linecap","round");return a.appendChild(d)}return null},rW=function(a,b,c,d){if($APP.t(b)){var e=fW(b),g=$APP.xc(b);b=$APP.u(b);d=""+$APP.S.g(e)+" L "+$APP.S.g($APP.Al.g(g))+","+$APP.S.g(d)+" L "+$APP.S.g($APP.Al.g(b))+","+$APP.S.g(d)+" Z"}else d=null;$APP.n(d)&&(e=AV("path"),e.setAttribute("d",d),e.setAttribute("fill",c),e.setAttribute("fill-opacity",
|
|
19
|
+
"0.18"),e.setAttribute("stroke",c),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap","round"),a.appendChild(e))},tW=function(a,b,c,d,e,g){var h=$APP.M(e);e=$APP.D(h,hW);h=$APP.D(h,jW);var l=$APP.z(c);e=l===0?0:(h-e)/l;h=e*.08;g=(e-h*2)/g;b*=g;c=$APP.t(c);l=null;for(var m=0,p=0;;)if(p<m){var r=l.F(null,p),v=$APP.Al.g(r)+-(e/2)+h+b,x=$APP.Kh.i(eW.g(r),sW.g(r));r=Math.abs(eW.g(r)-sW.g(r));var y=AV("rect");$APP.Og(y,"x",""+$APP.S.g(v));$APP.Og(y,
|
|
20
|
+
"y",""+$APP.S.g(x));$APP.Og(y,"width",""+$APP.S.g($APP.Jh.i(1,g)));$APP.Og(y,"height",""+$APP.S.g($APP.Jh.i(0,r)));y.setAttribute("fill",d);y.setAttribute("rx","2");a.appendChild(y);p+=1}else if(c=$APP.t(c))$APP.Nc(c)?(r=$APP.xb(c),c=$APP.yb(c),l=r,m=r=$APP.z(r)):(r=$APP.u(c),l=$APP.Al.g(r)+-(e/2)+h+b,m=$APP.Kh.i(eW.g(r),sW.g(r)),r=Math.abs(eW.g(r)-sW.g(r)),p=AV("rect"),$APP.Og(p,"x",""+$APP.S.g(l)),$APP.Og(p,"y",""+$APP.S.g(m)),$APP.Og(p,"width",""+$APP.S.g($APP.Jh.i(1,g))),$APP.Og(p,"height",""+
|
|
21
|
+
$APP.S.g($APP.Jh.i(0,r))),p.setAttribute("fill",d),p.setAttribute("rx","2"),a.appendChild(p),c=$APP.w(c),l=null,m=0),p=0;else return null},wW=function(a,b,c,d){if($APP.t(a)){var e=$APP.u(a);b=typeof $APP.cm.g(e)==="string"?""+$APP.S.g($APP.cm.g(e)):yV($APP.cm.g(e),b);var g=$APP.We.i($APP.Qd,$APP.Wd(function(h,l){var m=$APP.P,p=$APP.Rl.g(l);l=$APP.jk.g(l);h=$APP.n(l)?l:dW(h);return new $APP.O(null,2,5,m,[p,h],null)},d));d=$APP.fe(function(h){return new $APP.Q(null,5,[$APP.jk,$APP.Bc(g,$APP.Rl.g(h),
|
|
22
|
+
dW(nW.i(h,0))),$APP.T,""+$APP.S.g($APP.T.g(h)),$APP.pj,yV($APP.bm.g(h),c),$APP.Al,$APP.Al.g(h),eW,eW.g(h)],null)},a);return new $APP.Q(null,5,[uW,b,$APP.Hj,d,$APP.Al,$APP.Al.g(e),eW,eW.g(e),vW,$APP.fe(function(h){return new $APP.Q(null,3,[$APP.Al,$APP.Al.g(h),eW,eW.g(h),$APP.jk,$APP.Bc(g,$APP.Rl.g(h),dW(nW.i(h,0)))],null)},a)],null)}return null},xW=function(a){var b=$APP.k(a,"tooltip"),c=$APP.k(a,"crosshair");a=$APP.k(a,"dots");$APP.n(b)&&b.setAttribute("data-visible","false");$APP.n(c)&&c.setAttribute("visibility",
|
|
23
|
+
"hidden");if($APP.n(a))for(b=0;;)if(b<8)c=a[b],$APP.n(c)&&c.setAttribute("visibility","hidden"),b+=1;else return null;else return null},yW=function(a,b,c){return $APP.Wc(function(d,e){var g=$APP.Al.g(e)-b,h=eW.g(e)-c;g=g*g+h*h;return d==null||g<$APP.jm.g(d)?$APP.Hh.m(e,$APP.jm,g):d},null,a)},zW=function(a,b,c,d,e,g,h,l,m,p,r){$APP.B.i(h,"none")||(b.addEventListener("pointermove",function(v){var x=b.getBoundingClientRect(),y=v.clientX-x.x;v=v.clientY-x.y;$APP.B.i(h,"x")?y=zV(c,y):(y=yW(c,y,v),y=$APP.n(y)?
|
|
24
|
+
new $APP.O(null,1,5,$APP.P,[y],null):null);v=y;y=$APP.u(v);if($APP.n(y)){if($APP.n(l)&&(x=wW(v,m,p,r),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?x:v))){var A=$APP.M(x),C=$APP.D(A,uW),E=$APP.D(A,$APP.Hj);x=$APP.D(A,$APP.Al);var H=$APP.D(A,eW);A=$APP.D(A,vW);var G=$APP.k(d,"tooltip-header"),J=$APP.k(d,"tooltip-body"),U=$APP.k(d,"tooltip-rows"),aa=$APP.k(d,"dots"),ta=$APP.k(d,"crosshair");$APP.n(G)&&(G.textContent=C);if($APP.n($APP.n(J)?U:J))for(C=0;;)if(C<8){J=U[C];if($APP.n(J))if(G=$APP.Ac(E,C,null),$APP.n(G)){J.setAttribute("data-hidden",
|
|
25
|
+
"false");J=J.firstChild;var Ma=$APP.n(J)?J.nextSibling:null,Za=$APP.n(Ma)?Ma.nextSibling:null;$APP.n(J)&&(J.style.backgroundColor=$APP.jk.g(G));$APP.n(Ma)&&(Ma.textContent=$APP.T.g(G));$APP.n(Za)&&(Za.textContent=$APP.pj.g(G))}else J.setAttribute("data-hidden","true");C+=1}else break;if($APP.n(aa))for(E=0;;)if(E<8)U=aa[E],$APP.n(U)&&(C=$APP.Ac(A,E,null),$APP.n(C)?($APP.Og(U,"cx",""+$APP.S.g($APP.Al.g(C))),$APP.Og(U,"cy",""+$APP.S.g(eW.g(C))),$APP.Og(U,"fill",$APP.jk.g(C)),U.setAttribute("visibility",
|
|
26
|
+
"visible")):U.setAttribute("visibility","hidden")),E+=1;else break;$APP.n(ta)&&ta.setAttribute("visibility","visible");$APP.n(ta)&&$APP.Og(ta,"x1",""+$APP.S.g(x));$APP.n(ta)&&$APP.Og(ta,"x2",""+$APP.S.g(x));v.setAttribute("data-visible","true");A=v.offsetWidth;aa=v.offsetHeight;H=H+aa+8>g?H-aa-8:H-4;x=new $APP.Q(null,2,[$APP.ci,$APP.Jh.i(8,$APP.Kh.i(x+A+12+8>e?x-A-12:x+12,e-A-8)),$APP.Ki,$APP.Jh.i(8,$APP.Kh.i(H,g-aa-8))],null);H=$APP.M(x);x=$APP.D(H,$APP.ci);H=$APP.D(H,$APP.Ki);v.style.left=""+$APP.S.g(x)+
|
|
27
|
+
"px";v.style.top=""+$APP.S.g(H)+"px"}return $APP.Qg(a,"x-chart-hover",{seriesId:$APP.Rl.g(y),index:oW.g(y),x:$APP.cm.g(y),y:$APP.bm.g(y),value:$APP.bm.g(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?xW(d):null}),b.addEventListener("click",function(v){var x=b.getBoundingClientRect();v=yW(c,v.clientX-x.x,v.clientY-x.y);return $APP.n(v)?$APP.Qg(a,"x-chart-select",{seriesId:$APP.Rl.g(v),index:oW.g(v),x:$APP.cm.g(v),y:$APP.bm.g(v),value:$APP.bm.g(v)}):null}))},AW=function(a,
|
|
28
|
+
b){b.addEventListener("keydown",function(c){var d=c.key,e=ZV(a),g=$APP.M(e);e=$APP.D(g,OV);var h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.Gk);g=$APP.D(g,QV);if($APP.q(h)&&$APP.N(g,"none")&&$APP.t(e)){var m=$APP.xe(e);if(l==null)return $APP.n(function(){var v=new $APP.R(null,new $APP.Q(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null);return v.g?v.g(d):v.call(null,d)}())?(c.preventDefault(),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g($APP.u(m)))+":0")):null;g=$APP.z(m);
|
|
29
|
+
var p=function(){var v=$APP.u(qV(function(x,y){return $APP.B.i($APP.Rl.g(y),WV.g(l))?x:null},m));return $APP.n(v)?v:0}();h=$APP.pc(m,p);var r=$APP.z($APP.si.g(h));e=$APP.wi.g(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.Kh.i(r-1,e+1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowLeft":return c.preventDefault(),c=$APP.Jh.i(0,e-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowDown":return c.preventDefault(),c=$APP.ed(p+
|
|
30
|
+
1,g),h=$APP.pc(m,c),c=$APP.Kh.i(e,$APP.Jh.i(1,$APP.z($APP.si.g(h)))-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowUp":return c.preventDefault(),c=$APP.ed(p+(g-1),g),h=$APP.pc(m,c),c=$APP.Kh.i(e,$APP.Jh.i(1,$APP.z($APP.si.g(h)))-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Ac($APP.si.g(h),e,null),$APP.n(c)?$APP.Qg(a,"x-chart-select",{seriesId:$APP.Rl.g(h),index:e,x:$APP.cm.g(c),y:$APP.bm.g(c),
|
|
31
|
+
value:$APP.bm.g(c)}):null;default:return null}}else return null})},BW=function(a){a=$APP.k(a,"container");a=$APP.n(a)?a.clientWidth:0;return a>0?a:400},CW=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),d=$APP.k(b,"sr"),e=ZV(a),g=$APP.M(e),h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.oh),m=$APP.D(g,SV),p=$APP.D(g,VV),r=$APP.D(g,UV),v=$APP.D(g,MV),x=$APP.D(g,NV),y=$APP.D(g,OV),A=$APP.D(g,$APP.Ui),C=$APP.D(g,PV),E=$APP.D(g,QV),H=$APP.D(g,$APP.Z),G=$APP.D(g,$APP.en);g=$APP.D(g,RV);
|
|
32
|
+
var J=BW(b),U=new $APP.Q(null,4,[hW,G+36,iW,G,jW,J-G,kW,l-G-18],null),aa=$APP.M(U),ta=$APP.D(aa,hW),Ma=$APP.D(aa,iW),Za=$APP.D(aa,jW);aa=$APP.D(aa,kW);var ob=xV(y),pb=$V(0,v,Ma,aa);$APP.Og(c,"viewBox","0 0 "+$APP.S.g(J)+" "+$APP.S.g(l));$APP.Og(c,"width",""+$APP.S.g(J));$APP.Og(c,"height",""+$APP.S.g(l));gW(c);b.crosshair=null;b.dots=null;if(!$APP.n(A)){$APP.n(p)&&lW(c,e,U);var Bb=$APP.xe($APP.ae(function(rb,ea){ea=pW(rb,ea,r,ob,U,v);return $APP.$d.i(function(Aa){return $APP.Hh.C(Aa,$APP.Rl,$APP.Rl.g(rb),
|
|
33
|
+
$APP.uc([$APP.T,$APP.T.g(rb),sW,pb]))},ea)},$APP.uc([y,$APP.dg(0,Number.MAX_VALUE)])));pV($APP.Wd(function(rb,ea){var Aa=function(){var nc=$APP.jk.g(ea);return $APP.n(nc)?nc:dW(rb)}(),$a=$APP.ce(function(nc){return $APP.B.i($APP.Rl.g(nc),$APP.Rl.g(ea))},Bb);switch(H){case "bar":return tW(c,rb,$a,Aa,U,$APP.z(y));case "area":return rW(c,$a,Aa,pb),qW(c,$a,Aa);default:return qW(c,$a,Aa)}},y));$APP.n(x)&&mW(c,e,U,G);p=AV("line");$APP.Og(p,"x1",""+$APP.S.g(ta));$APP.Og(p,"y1",""+$APP.S.g(Ma));$APP.Og(p,
|
|
34
|
+
"x2",""+$APP.S.g(ta));$APP.Og(p,"y2",""+$APP.S.g(aa));p.setAttribute("stroke","var(--x-chart-crosshair-color)");p.setAttribute("stroke-width","var(--x-chart-crosshair-width)");p.setAttribute("visibility","hidden");c.appendChild(p);b.crosshair=p;p=Array(8);for(x=0;;)if(x<8)G=AV("circle"),$APP.Og(G,"r",""+$APP.S.g(4)),G.setAttribute("stroke","var(--x-chart-tooltip-bg)"),G.setAttribute("stroke-width","2"),G.setAttribute("visibility","hidden"),c.appendChild(G),p[x]=G,x+=1;else break;b.dots=p;p=AV("rect");
|
|
35
|
+
$APP.Og(p,"x",""+$APP.S.g(ta));$APP.Og(p,"y",""+$APP.S.g(Ma));$APP.Og(p,"width",""+$APP.S.g($APP.Jh.i(0,Za-ta)));$APP.Og(p,"height",""+$APP.S.g($APP.Jh.i(0,aa-Ma)));p.setAttribute("fill","transparent");p.setAttribute("style","cursor:crosshair;");$APP.n(h)||zW(a,p,Bb,b,J,l,E,m,g,C,y);c.appendChild(p);var bc=$APP.Gk.g(e);$APP.n($APP.n(bc)?$APP.t(y):bc)?(a=$APP.u($APP.ce(function(rb){return $APP.B.i($APP.Rl.g(rb),WV.g(bc))},y)),e=$APP.n(a)?$APP.Ac($APP.si.g(a),$APP.wi.g(bc),null):null,d.textContent=
|
|
36
|
+
$APP.n($APP.n(a)?e:a)?""+$APP.S.g($APP.T.g(a))+" "+$APP.S.g(yV($APP.bm.g(e),C))+" at "+$APP.S.g(typeof $APP.cm.g(e)==="string"?$APP.cm.g(e):yV($APP.cm.g(e),g)):""+$APP.S.g($APP.z(y))+" series chart"):d.textContent=""+$APP.S.g($APP.z(y))+" series chart"}return $APP.n(A)?xW(b):null}return null},DW=function(){var a=document.createElement("div"),b=document.createElement("span"),c=document.createElement("span"),d=document.createElement("span");a.setAttribute("part","tooltip-row");a.setAttribute("data-hidden",
|
|
37
|
+
"true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");d.setAttribute("part","tooltip-value");a.appendChild(b);a.appendChild(c);a.appendChild(d);return a},EW=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=AV("svg"),g=document.createElement("div"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),p=Array(8);c.textContent=":host{display:block;color-scheme:light dark;contain:content;--x-chart-series-1:rgba(0,102,204,0.95);--x-chart-series-2:rgba(16,140,72,0.95);--x-chart-series-3:rgba(190,20,40,0.95);--x-chart-series-4:rgba(204,120,0,0.95);--x-chart-border:var(--x-color-border,rgba(0,0,0,0.1));--x-chart-grid:var(--x-color-border,rgba(0,0,0,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-skeleton:linear-gradient(90deg,rgba(0,0,0,0.06) 25%,rgba(0,0,0,0.03) 50%,rgba(0,0,0,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(255,255,255,0.96));--x-chart-tooltip-border:var(--x-color-border,rgba(0,0,0,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.14));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(0,102,204,0.55));--x-chart-radius:var(--x-radius-md,0.75rem);--x-chart-tooltip-radius:var(--x-radius-sm,0.5rem);--x-chart-tooltip-padding:0.45rem 0.7rem;--x-chart-tooltip-font-size:0.8125rem;--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(0,0,0,0.65));--x-chart-tooltip-value-color:var(--x-color-text,rgba(0,0,0,0.9));--x-chart-tooltip-swatch-size:8px;--x-chart-tooltip-gap:0.35rem;--x-chart-crosshair-color:var(--x-color-border,rgba(0,0,0,0.18));--x-chart-crosshair-width:1;}@media(prefers-color-scheme:dark){:host{--x-chart-series-1:rgba(120,190,255,0.95);--x-chart-series-2:rgba(80,230,150,0.92);--x-chart-series-3:rgba(255,100,110,0.93);--x-chart-series-4:rgba(255,190,60,0.93);--x-chart-border:var(--x-color-border,rgba(255,255,255,0.1));--x-chart-grid:var(--x-color-border,rgba(255,255,255,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-skeleton:linear-gradient(90deg,rgba(255,255,255,0.06) 25%,rgba(255,255,255,0.03) 50%,rgba(255,255,255,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(30,30,35,0.97));--x-chart-tooltip-border:var(--x-color-border,rgba(255,255,255,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 20px rgba(0,0,0,0.45));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(120,190,255,0.55));--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(255,255,255,0.6));--x-chart-tooltip-value-color:var(--x-color-text,rgba(255,255,255,0.9));--x-chart-crosshair-color:var(--x-color-border,rgba(255,255,255,0.2));}}[part\x3dcontainer]{position:relative;border:1px solid var(--x-chart-border);border-radius:var(--x-chart-radius);overflow:hidden;outline:none;}[part\x3dcontainer]:focus-visible{box-shadow:0 0 0 3px var(--x-chart-focus-ring);}[part\x3dsvg]{display:block;width:100%;height:auto;overflow:visible;}:host([loading]) [part\x3dcontainer]{background:var(--x-chart-skeleton);background-size:200% 100%;animation:x-chart-shimmer 1.4s ease infinite;}@keyframes x-chart-shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}@media(prefers-reduced-motion:reduce){:host([loading]) [part\x3dcontainer]{animation:none;}}[part\x3dsr-only]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dtooltip]{visibility:hidden;opacity:0;position:absolute;pointer-events:none;background:var(--x-chart-tooltip-bg);border:1px solid var(--x-chart-tooltip-border);box-shadow:var(--x-chart-tooltip-shadow);border-radius:var(--x-chart-tooltip-radius);padding:var(--x-chart-tooltip-padding);font-size:var(--x-chart-tooltip-font-size);line-height:1.5;white-space:nowrap;z-index:10;}[part\x3dtooltip][data-visible\x3dtrue]{visibility:visible;opacity:1;}@media(prefers-reduced-motion:no-preference){[part\x3dtooltip]{transition:opacity 0.1s ease,left 0.08s ease,top 0.08s ease;}}[part\x3dtooltip-header]{font-size:0.75rem;color:var(--x-chart-tooltip-header-color);margin-bottom:0.25rem;}[part\x3dtooltip-body]{display:flex;flex-direction:column;gap:var(--x-chart-tooltip-gap);}[part\x3dtooltip-row]{display:flex;align-items:center;gap:0.4rem;}[part\x3dtooltip-row][data-hidden\x3dtrue]{display:none;}[part\x3dtooltip-swatch]{display:inline-block;width:var(--x-chart-tooltip-swatch-size);height:var(--x-chart-tooltip-swatch-size);border-radius:50%;flex-shrink:0;}[part\x3dtooltip-label]{color:var(--x-chart-tooltip-label-color);}[part\x3dtooltip-value]{color:var(--x-chart-tooltip-value-color);font-weight:600;margin-left:auto;padding-left:0.5rem;}";
|
|
38
|
+
d.setAttribute("part","container");d.setAttribute("tabindex","0");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("role","img");g.setAttribute("part","sr-only");g.setAttribute("role","status");g.setAttribute("aria-live","polite");h.setAttribute("part","tooltip");h.setAttribute("role","tooltip");h.setAttribute("aria-hidden","true");h.setAttribute("data-visible","false");l.setAttribute("part","tooltip-header");m.setAttribute("part","tooltip-body");for(var r=0;;)if(r<
|
|
39
|
+
8){var v=DW();m.appendChild(v);p[r]=v;r+=1}else break;h.appendChild(l);h.appendChild(m);d.appendChild(e);d.appendChild(g);d.appendChild(h);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.container=d;c.svg=e;c.sr=g;c.tooltip=h;c["tooltip-header"]=l;c["tooltip-body"]=m;c["tooltip-rows"]=p;c.crosshair=null;c.dots=null;a.__xChartRefs=c;b=new ResizeObserver(function(){return CW(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;AW(a,d)},FW=function(a){$APP.n($APP.k(a,"__xChartRefs"))||EW(a);return CW(a)},
|
|
40
|
+
GW=function(a){a=$APP.k(a,"__xChartRefs");return $APP.n(a)?(a=$APP.k(a,"ro"),$APP.n(a)?a.disconnect():null):null},HW=function(a){return $APP.n($APP.k(a,"__xChartRefs"))?CW(a):null},IW=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.getAttribute(c)},set:function(d){return d!=null?this.setAttribute(c,""+$APP.S.g(d)):this.removeAttribute(c)}})},JW=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return sV(this.getAttribute(c),
|
|
41
|
+
d)},set:function(e){return e!=null?this.setAttribute(c,""+$APP.S.g(e|0)):this.removeAttribute(c)}})},KW=function(a){return Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){var b=$APP.k(this,"__xChartData");if($APP.n(b))return b;b=this.getAttribute("data");return uV(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.ma(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},LW=function(a){IW(a,"type","type");IW(a,"cursor","cursor");IW(a,
|
|
42
|
+
"selected","selected");JW(a,"height","height",180);JW(a,"padding","padding",12);$APP.Sg(a,"grid","grid");$APP.Sg(a,"axes","axes");$APP.Sg(a,"tooltip","tooltip");$APP.Sg(a,"disabled","disabled");$APP.Sg(a,"loading","loading");return KW(a)},NW=function(){return $APP.Lg("x-chart",new $APP.Q(null,5,[$APP.Cg,MW,$APP.Dg,FW,$APP.Eg,GW,$APP.Fg,HW,$APP.Jg,LW],null))},uW=new $APP.K(null,"x-label","x-label",802517907),vW=new $APP.K(null,"dot-pts","dot-pts",1732240900),JV=new $APP.K(null,"loading-present?","loading-present?",
|
|
43
|
+
-1827648748),EV=new $APP.K(null,"y-format-raw","y-format-raw",-1098541692),GV=new $APP.K(null,"axes-raw","axes-raw",-839946224),sW=new $APP.K(null,"y0-baseline","y0-baseline",613579610),MV=new $APP.K(null,"y-domain","y-domain",-969203007),UV=new $APP.K(null,"x-kind","x-kind",693167455),HV=new $APP.K(null,"height-raw","height-raw",-867301006),BV=new $APP.K(null,"selected-raw","selected-raw",-1471626848),OV=new $APP.K(null,"series","series",600710694),KV=new $APP.K(null,"data-raw","data-raw",822066711),
|
|
44
|
+
SV=new $APP.K(null,"tooltip?","tooltip?",-642753154),WV=new $APP.K(null,"series-id","series-id",226875035),RV=new $APP.K(null,"x-fmt","x-fmt",2073358008),CV=new $APP.K(null,"padding-raw","padding-raw",-847772255),eW=new $APP.K(null,"py","py",1397985916),LV=new $APP.K(null,"x-format-raw","x-format-raw",-1683657190),NV=new $APP.K(null,"axes?","axes?",1786285669),VV=new $APP.K(null,"grid?","grid?",-288406689),IV=new $APP.K(null,"cursor-raw","cursor-raw",-1169819084),QV=new $APP.K(null,"cursor","cursor",
|
|
45
|
+
1011937484),DV=new $APP.K(null,"tooltip-present?","tooltip-present?",-2098824029),PV=new $APP.K(null,"y-fmt","y-fmt",2092412811),iW=new $APP.K(null,"y0","y0",111454807),kW=new $APP.K(null,"y1","y1",589123466),oW=new $APP.K(null,"i","i",-1386841315),jW=new $APP.K(null,"x1","x1",-1863922247),hW=new $APP.K(null,"x0","x0",410843387),nW=new $APP.K(null,"si","si",793409822),TV=new $APP.K(null,"y-ticks","y-ticks",-843622722),FV=new $APP.K(null,"grid-present?","grid-present?",-468948562);var MW="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),YV=new $APP.R(null,new $APP.Q(null,3,["bar",null,"area",null,"line",null],null),null),XV=new $APP.R(null,new $APP.Q(null,3,["none",null,"x",null,"nearest",null],null),null);
|
|
46
|
+
$APP.zf([$APP.Gk,$APP.kk,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),QV,$APP.Z,$APP.Ql,$APP.en,new $APP.K(null,"tooltip","tooltip",-1809677058),$APP.oh,$APP.si],[new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"selected"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"disabled"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"axes"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"grid"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"cursor"],null),new $APP.Q(null,
|
|
47
|
+
2,[$APP.Z,$APP.Y,$APP.$k,"type"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"loading"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.$k,"padding"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"tooltip"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.$k,"height"],null),new $APP.Q(null,1,[$APP.Z,$APP.jj],null)]);$APP.ha("baredom.exports.x_chart.init",NW);export const init=NW;
|
package/dist/x-checkbox.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
h
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
e
|
|
11
|
-
|
|
12
|
-
function(){return CE(this)};b.formDisabledCallback=function(c){zE(this,"disabled",$APP.F(c));return CE(this)};b.formResetCallback=function(){this.removeAttribute("checked");this.removeAttribute("indeterminate");return CE(this)};return a},LE=function(){return $APP.n(customElements.get("x-checkbox"))?null:customElements.define("x-checkbox",KE())},AE=new $APP.K(null,"indeterminate-present?","indeterminate-present?",-1714683438);var JE="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.Pd(["x-checkbox-change-request",new $APP.R(null,2,[$APP.km,!0,$APP.V,new $APP.R(null,3,[$APP.Yi,$APP.Y,$APP.vk,$APP.Zj,$APP.Ul,$APP.Zj],null)],null),"x-checkbox-change",new $APP.R(null,2,[$APP.km,!1,$APP.V,new $APP.R(null,2,[$APP.Yi,$APP.Y,$APP.Rm,$APP.Zj],null)],null)]);$APP.ha("baredom.exports.x_checkbox.init",LE);export const init=LE;
|
|
2
|
+
var wF=function(a){a=$APP.zf([$APP.Sl,$APP.fm,$APP.ei,$APP.ui,$APP.Kj,vF,$APP.dk,$APP.Wm,$APP.pk,$APP.Uj],[a.getAttribute("name"),$APP.ah(a.getAttribute("disabled")),$APP.ah(a.getAttribute("required")),a.getAttribute("aria-labelledby"),$APP.ah(a.getAttribute("checked")),$APP.ah(a.getAttribute("indeterminate")),$APP.ah(a.getAttribute("readonly")),a.getAttribute("value"),a.getAttribute("aria-label"),a.getAttribute("aria-describedby")]);var b=$APP.M(a);a=$APP.D(b,$APP.pk);var c=$APP.D(b,$APP.Uj),d=$APP.D(b,
|
|
3
|
+
$APP.Sl),e=$APP.D(b,$APP.fm),g=$APP.D(b,$APP.ei),h=$APP.D(b,$APP.ui),l=$APP.D(b,$APP.Kj),m=$APP.D(b,vF),p=$APP.D(b,$APP.dk);b=$APP.D(b,$APP.Wm);l=$APP.F(l);m=$APP.F(m);g=$APP.F(g);return $APP.zf([$APP.rm,$APP.Ei,$APP.yi,$APP.wn,$APP.Wj,$APP.oi,$APP.Sj,$APP.pj,$APP.wk,$APP.sn,$APP.hm,$APP.X],[m,g,m?"mixed":l?"true":"false",$APP.F(p),l,$APP.n(g)?l:!0,d,b!=null?b:"on",h,c,a,$APP.F(e)])},xF=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(b,"control");b=wF(a);var d=$APP.X.g(b),
|
|
4
|
+
e=$APP.Wj.g(b),g=$APP.rm.g(b);$APP.Og(c,"aria-checked",$APP.yi.g(b));c.setAttribute("aria-disabled",$APP.n(d)?"true":"false");$APP.Og(c,"aria-required",$APP.n($APP.Ei.g(b))?"true":"false");$APP.Og(c,"aria-readonly",$APP.n($APP.wn.g(b))?"true":"false");var h=$APP.hm.g(b);$APP.n(h)?c.setAttribute("aria-label",h):c.removeAttribute("aria-label");h=$APP.wk.g(b);$APP.n(h)?c.setAttribute("aria-labelledby",h):c.removeAttribute("aria-labelledby");h=$APP.sn.g(b);$APP.n(h)?c.setAttribute("aria-describedby",
|
|
5
|
+
h):c.removeAttribute("aria-describedby");c.tabIndex=$APP.n(d)?-1:0;$APP.n(d)?c.setAttribute("disabled",""):c.removeAttribute("disabled");$APP.Pg(a,"data-checked",e);$APP.Pg(a,"data-indeterminate",g);$APP.Pg(a,"data-disabled",d);a=$APP.k(a,"__xCheckboxInternals");if($APP.n(a))return b=$APP.n(e)?$APP.pj.g(b):null,a.setFormValue($APP.n(b)?b:null)}return null},yF=function(a){var b=wF(a),c=$APP.X.g(b),d=$APP.wn.g(b);if($APP.n($APP.n(c)?c:d))return null;c=$APP.Wj.g(b);d=$APP.rm.g(b);d=$APP.n(d)?new $APP.Q(null,
|
|
6
|
+
2,[$APP.Wj,!0,$APP.rm,!1],null):new $APP.Q(null,2,[$APP.Wj,$APP.q(c),$APP.rm,!1],null);var e=$APP.Wj.g(d);b=$APP.pj.g(b);return $APP.Rg(a,"x-checkbox-change-request",{value:b,previousChecked:c,nextChecked:e})?($APP.Pg(a,"checked",e),$APP.Pg(a,"indeterminate",$APP.rm.g(d)),xF(a),$APP.Qg(a,"x-checkbox-change",{value:b,checked:e})):null},zF=function(a){return function(){return yF(a)}},AF=function(a){return function(b){var c=b.key;return $APP.B.i(c," ")||$APP.B.i(c,"Enter")?(b.preventDefault(),yF(a)):
|
|
7
|
+
null}},BF=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(a,"__xCheckboxHandlers");if($APP.n(c)){b=$APP.k(b,"control");b.removeEventListener("click",$APP.k(c,"click"));b.removeEventListener("keydown",$APP.k(c,"keydown"));a.__xCheckboxHandlers=null;return}}return null},CF=function(a,b){$APP.Pg(a,"disabled",$APP.F(b));return xF(a)},DF=function(a){a.removeAttribute("checked");a.removeAttribute("indeterminate");return xF(a)},EF=function(a){if(!$APP.n($APP.k(a,"__xCheckboxRefs"))){var b=
|
|
8
|
+
a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("button"),e=document.createElement("span"),g=document.createElement("span");c.textContent=":host{display:inline-block;vertical-align:middle;color-scheme:light dark;--x-checkbox-size:16px;--x-checkbox-border-width:2px;--x-checkbox-border-color:var(--x-color-border,#6b7280);--x-checkbox-border-radius:4px;--x-checkbox-bg:var(--x-color-surface,#ffffff);--x-checkbox-bg-checked:var(--x-color-primary,#2563eb);--x-checkbox-bg-indeterminate:var(--x-color-primary,#2563eb);--x-checkbox-border-checked:var(--x-color-primary,#2563eb);--x-checkbox-border-indeterminate:var(--x-color-primary,#2563eb);--x-checkbox-check-color:var(--x-color-surface,#ffffff);--x-checkbox-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-checkbox-disabled-opacity:0.45;--x-checkbox-transition:background var(--x-transition-duration,120ms) var(--x-transition-easing,ease),border-color var(--x-transition-duration,120ms) var(--x-transition-easing,ease);}@media (prefers-color-scheme:dark){:host{--x-checkbox-border-color:var(--x-color-border,#9ca3af);--x-checkbox-bg:var(--x-color-surface,#1f2937);--x-checkbox-bg-checked:var(--x-color-primary,#3b82f6);--x-checkbox-bg-indeterminate:var(--x-color-primary,#3b82f6);--x-checkbox-border-checked:var(--x-color-primary,#3b82f6);--x-checkbox-border-indeterminate:var(--x-color-primary,#3b82f6);--x-checkbox-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dcontrol]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;}[part\x3dcontrol][disabled]{cursor:default;opacity:var(--x-checkbox-disabled-opacity);}[part\x3dcontrol]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--x-checkbox-focus-ring);border-radius:calc(var(--x-checkbox-border-radius) + 2px);}[part\x3dbox]{display:inline-flex;align-items:center;justify-content:center;width:var(--x-checkbox-size);height:var(--x-checkbox-size);border:var(--x-checkbox-border-width) solid var(--x-checkbox-border-color);border-radius:var(--x-checkbox-border-radius);background:var(--x-checkbox-bg);transition:var(--x-checkbox-transition);position:relative;flex-shrink:0;}:host([data-checked]) [part\x3dbox]{background:var(--x-checkbox-bg-checked);border-color:var(--x-checkbox-border-checked);}:host([data-indeterminate]) [part\x3dbox]{background:var(--x-checkbox-bg-indeterminate);border-color:var(--x-checkbox-border-indeterminate);}[part\x3dcheck]{display:inline-flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;}[part\x3dcheck]::before{content:'\\2713';color:var(--x-checkbox-check-color);font-size:10px;font-weight:700;line-height:1;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-checked]) [part\x3dcheck]::before{opacity:1;}[part\x3dcheck]::after{content:'';display:block;width:8px;height:2px;background:var(--x-checkbox-check-color);border-radius:1px;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-indeterminate]) [part\x3dcheck]::after{opacity:1;}@media (prefers-reduced-motion:reduce){[part\x3dbox]{transition:none;}[part\x3dcheck]::before{transition:none;}[part\x3dcheck]::after{transition:none;}}";
|
|
9
|
+
d.setAttribute("part","control");d.setAttribute("type","button");d.setAttribute("role","checkbox");e.setAttribute("part","box");g.setAttribute("part","check");e.appendChild(g);d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xCheckboxRefs={root:b,control:d,box:e,check:g};$APP.n(a.attachInternals)&&(b=a.attachInternals(),a.__xCheckboxInternals=b)}BF(a);b=$APP.k(a,"__xCheckboxRefs");$APP.n(b)&&(b=$APP.k(b,"control"),c=zF(a),d=AF(a),e={click:c,keydown:d},b.addEventListener("click",c),b.addEventListener("keydown",
|
|
10
|
+
d),a.__xCheckboxHandlers=e);c=a.getAttribute("id");$APP.n(c)&&(b=document.querySelector("label[for\x3d'"+$APP.S.g(c)+"']"),$APP.n(b)&&(d=b.getAttribute("id"),$APP.n(d)?b=d:(c="x-cb-lbl-"+$APP.S.g(c),b.setAttribute("id",c),b=c),c=$APP.k(a,"__xCheckboxRefs"),$APP.n(c)&&(c=$APP.k(c,"control"),$APP.n(a.hasAttribute("aria-labelledby"))||c.setAttribute("aria-labelledby",b))));return xF(a)},FF=function(a){return BF(a)},GF=function(a){return xF(a)},HF=function(a){$APP.Sg(a,"checked","checked");$APP.Sg(a,
|
|
11
|
+
"indeterminate","indeterminate");$APP.Sg(a,"disabled","disabled");$APP.Sg(a,"readOnly","readonly");$APP.Sg(a,"required","required");$APP.Ug(a,"name","name");return $APP.Ug(a,"value","value")},JF=function(){return $APP.Lg("x-checkbox",new $APP.Q(null,8,[$APP.Cg,IF,$APP.Dg,EF,$APP.Eg,FF,$APP.Fg,GF,$APP.Gg,!0,$APP.Hg,CF,$APP.Ig,DF,$APP.Jg,HF],null))},vF=new $APP.K(null,"indeterminate-present?","indeterminate-present?",-1714683438);var IF="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" ");$APP.Pd(["x-checkbox-change-request",new $APP.Q(null,2,[$APP.Km,!0,$APP.V,new $APP.Q(null,3,[$APP.pj,$APP.Y,$APP.Nk,$APP.uk,$APP.mm,$APP.uk],null)],null),"x-checkbox-change",new $APP.Q(null,2,[$APP.Km,!1,$APP.V,new $APP.Q(null,2,[$APP.pj,$APP.Y,$APP.kn,$APP.uk],null)],null)]);$APP.ha("baredom.exports.x_checkbox.init",JF);export const init=JF;
|