@vanelsas/baredom 2.7.0 → 2.9.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 +50 -0
- package/custom-elements.json +822 -16
- package/dist/baredom.d.ts +9 -0
- package/dist/base.js +455 -428
- package/dist/integrity.json +102 -93
- package/dist/x-alert.js +17 -18
- package/dist/x-avatar-group.js +9 -10
- package/dist/x-avatar.js +15 -15
- package/dist/x-badge.js +9 -10
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +13 -14
- package/dist/x-button.js +17 -18
- package/dist/x-cancel-dialogue.js +13 -17
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +33 -34
- package/dist/x-chart.d.ts +26 -0
- package/dist/x-chart.js +47 -46
- package/dist/x-checkbox.js +11 -10
- package/dist/x-chip.js +1 -9
- package/dist/x-collapse.js +10 -10
- package/dist/x-color-picker.js +45 -44
- package/dist/x-combobox.js +26 -26
- package/dist/x-command-palette.js +26 -26
- package/dist/x-confetti.d.ts +50 -0
- package/dist/x-confetti.js +23 -0
- package/dist/x-container.js +4 -4
- package/dist/x-context-menu.d.ts +31 -2
- package/dist/x-context-menu.js +20 -18
- package/dist/x-copy.js +20 -23
- package/dist/x-currency-field.js +23 -23
- package/dist/x-date-picker.d.ts +27 -0
- package/dist/x-date-picker.js +42 -41
- package/dist/x-divider.js +9 -9
- package/dist/x-drawer.js +10 -11
- package/dist/x-dropdown.js +11 -10
- package/dist/x-fieldset.js +5 -6
- package/dist/x-file-download.js +7 -7
- package/dist/x-file-upload.js +21 -21
- package/dist/x-form-field.js +15 -15
- package/dist/x-form.js +9 -8
- package/dist/x-gaussian-blur.js +13 -19
- package/dist/x-grid.js +6 -6
- package/dist/x-i18n-provider.d.ts +43 -0
- package/dist/x-i18n-provider.js +8 -0
- package/dist/x-i18n.d.ts +14 -0
- package/dist/x-i18n.js +5 -0
- package/dist/x-icon.js +6 -7
- package/dist/x-image.js +18 -19
- package/dist/x-kbd.d.ts +17 -0
- package/dist/x-kbd.js +17 -0
- package/dist/x-kinetic-canvas.d.ts +18 -0
- package/dist/x-kinetic-canvas.js +26 -0
- package/dist/x-kinetic-font.js +27 -28
- package/dist/x-kinetic-typography.js +33 -39
- package/dist/x-liquid-dock.js +38 -39
- package/dist/x-liquid-fill.js +45 -45
- package/dist/x-liquid-glass.js +47 -47
- package/dist/x-menu-item.js +8 -9
- package/dist/x-menu.js +10 -11
- package/dist/x-metaball-cursor.js +26 -27
- package/dist/x-modal.js +11 -12
- package/dist/x-morph-stack.js +37 -38
- package/dist/x-multi-combobox.d.ts +50 -0
- package/dist/x-multi-combobox.js +37 -0
- package/dist/x-navbar.js +12 -12
- package/dist/x-neural-glow.js +33 -33
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +17 -18
- package/dist/x-organic-progress.js +38 -38
- package/dist/x-organic-shape.js +13 -13
- package/dist/x-otp-input.d.ts +55 -0
- package/dist/x-otp-input.js +23 -0
- package/dist/x-pagination.js +15 -16
- package/dist/x-particle-button.js +51 -51
- package/dist/x-popover.js +26 -24
- package/dist/x-progress-circle.js +9 -10
- package/dist/x-progress.js +10 -11
- package/dist/x-proximity-list.d.ts +43 -0
- package/dist/x-proximity-list.js +20 -0
- package/dist/x-radio.js +11 -10
- package/dist/x-ripple-effect.js +11 -12
- package/dist/x-scroll-parallax.js +18 -19
- package/dist/x-scroll-stack.js +17 -18
- package/dist/x-scroll-story.js +34 -36
- package/dist/x-scroll-timeline.js +45 -46
- package/dist/x-scroll.js +40 -41
- package/dist/x-search-field.js +15 -15
- package/dist/x-select.js +10 -9
- package/dist/x-sidebar.js +17 -17
- package/dist/x-skeleton-group.js +12 -12
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +15 -16
- package/dist/x-soft-body.js +22 -22
- package/dist/x-spacer.js +4 -5
- package/dist/x-spinner.js +4 -5
- package/dist/x-splash.js +12 -13
- package/dist/x-spotlight-card.d.ts +19 -0
- package/dist/x-spotlight-card.js +13 -0
- package/dist/x-stat.js +10 -12
- package/dist/x-stepper.js +14 -15
- package/dist/x-switch.js +10 -9
- package/dist/x-tab.js +7 -8
- package/dist/x-table-cell.js +20 -24
- package/dist/x-table-row.js +8 -9
- package/dist/x-table.js +12 -15
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.js +18 -18
- package/dist/x-theme.js +25 -25
- package/dist/x-timeline-item.js +21 -23
- package/dist/x-timeline.js +8 -9
- package/dist/x-toast.js +22 -24
- package/dist/x-toaster.js +8 -8
- package/dist/x-tooltip.js +12 -11
- package/dist/x-typography.js +9 -11
- package/dist/x-welcome-tour.js +60 -64
- package/package.json +47 -2
package/dist/x-welcome-tour.js
CHANGED
|
@@ -1,65 +1,61 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
case "bottom":return"top";case "left":return"right";case "right":return"left";case "top-start":return"bottom-start";case "top-end":return"bottom-end";case "bottom-start":return"top-start";case "bottom-end":return"top-end";default:return a}},
|
|
4
|
-
m,$APP.
|
|
5
|
-
2,[$APP.
|
|
6
|
-
4,[$APP.
|
|
7
|
-
["bottom","top"],null);break a;default:
|
|
8
|
-
switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.
|
|
9
|
-
null)],null);case "right":return new $APP.
|
|
10
|
-
|
|
11
|
-
null);case "left":return a=
|
|
12
|
-
null)}},
|
|
13
|
-
"string"&&$APP.
|
|
14
|
-
c.push(e);d+=1}else break;return c},
|
|
15
|
-
|
|
16
|
-
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))");var b=a.shadowRoot,c=
|
|
17
|
-
|
|
18
|
-
h.setAttribute("ry","0");e.appendChild(
|
|
19
|
-
r.setAttribute("filter","url(#tour-glow)");r.setAttribute("x","0");r.setAttribute("y","0");r.setAttribute("width","0");r.setAttribute("height","0");r.setAttribute("rx","0");r.setAttribute("ry","0");c.appendChild(r);v.setAttribute("part","popover");v.setAttribute("role","dialog");v.setAttribute("aria-modal","false");
|
|
20
|
-
"Close tour");
|
|
21
|
-
|
|
22
|
-
null;for(var m=0,
|
|
23
|
-
""+$APP.
|
|
24
|
-
"transparent",a.style.borderRightColor="transparent",c=$APP.
|
|
25
|
-
b)):a.style.display="none"},
|
|
26
|
-
$APP.
|
|
27
|
-
"none"},
|
|
28
|
-
|
|
29
|
-
a.getAttribute("done-label"),a.getAttribute("next-label"),a.hasAttribute("open"),a.getAttribute("prev-label")]);var b=$APP.
|
|
30
|
-
l:"Done",$APP.
|
|
31
|
-
4,[$APP.
|
|
32
|
-
y],null):null;y=c>=a-1;A=c===0;$APP.n(
|
|
33
|
-
y?
|
|
34
|
-
|
|
35
|
-
1;$APP.
|
|
36
|
-
2,[$APP.
|
|
37
|
-
if($APP.n(b)){var c=
|
|
38
|
-
var y=$APP.u(v);v=$APP.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
h),
|
|
42
|
-
a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:contents;}";b.appendChild(c);b.appendChild(d);a.__xWelcomeTourRefs=new $APP.
|
|
43
|
-
$APP.n(b)&&($APP.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
$APP.
|
|
62
|
-
$APP.$k,"prev-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"next-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"counter"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Tj,!0],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"done-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"skip-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"dots"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.$k,"step"],null)]);
|
|
63
|
-
$APP.Pd(["x-welcome-tour-start",new $APP.Q(null,2,[$APP.V,$APP.Qd,$APP.Km,!1],null),"x-welcome-tour-step-change",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,2,[$APP.Zm,$APP.W,bF,$APP.W],null),$APP.Km,!0],null),"x-welcome-tour-complete",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[ZE,$APP.W],null),$APP.Km,!1],null),"x-welcome-tour-skip",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Zm,$APP.W],null),$APP.Km,!1],null)]);
|
|
64
|
-
var NE=new $APP.R(null,new $APP.Q(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);var tF="target title placement connector cutout-padding cutout-radius scroll-to".split(" ");$APP.Pd(["x-welcome-tour-step-connected",new $APP.Q(null,2,[$APP.V,$APP.Qd,$APP.Km,!1],null),"x-welcome-tour-step-disconnected",new $APP.Q(null,2,[$APP.V,$APP.Qd,$APP.Km,!1],null)]);
|
|
65
|
-
var dE=new $APP.R(null,new $APP.Q(null,8,["right",null,"top",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"bottom",null,"left",null],null),null),eE=new $APP.R(null,new $APP.Q(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);$APP.ha("baredom.exports.x_welcome_tour.init",uF);export const init=uF;
|
|
2
|
+
var IG=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:0):0},JG=function(a,b){return b>0?$APP.Di.j($APP.Ci.j(a,0),b-1):0},KG=function(a,b){return""+$APP.R.i(a+1)+" / "+$APP.R.i(b)},NG=function(a,b,c){var d=$APP.H(a);a=$APP.C(d,$APP.kn);var e=$APP.C(d,$APP.jn),f=$APP.C(d,$APP.ji);d=$APP.C(d,$APP.ki);return new $APP.P(null,6,[$APP.kn,a-b,$APP.jn,e-b,$APP.ji,f+2*b,$APP.ki,d+2*b,LG,c,MG,c],null)},OG=function(a){switch(a){case "top":return"bottom";
|
|
3
|
+
case "bottom":return"top";case "left":return"right";case "right":return"left";case "top-start":return"bottom-start";case "top-end":return"bottom-end";case "bottom-start":return"top-start";case "bottom-end":return"top-end";default:return a}},PG=function(a,b,c,d){var e=$APP.H(c);c=$APP.C(e,$APP.kn);var f=$APP.C(e,$APP.jn),h=$APP.C(e,$APP.ji);e=$APP.C(e,$APP.ki);var l=$APP.H(d);d=$APP.C(l,$APP.ji);l=$APP.C(l,$APP.ki);var m=c+h/2+-(d/2),q=f+e/2+-(l/2);switch(a){case "top":return new $APP.P(null,2,[$APP.kn,
|
|
4
|
+
m,$APP.jn,f-l-b],null);case "bottom":return new $APP.P(null,2,[$APP.kn,m,$APP.jn,f+e+b],null);case "left":return new $APP.P(null,2,[$APP.kn,c-d-b,$APP.jn,q],null);case "right":return new $APP.P(null,2,[$APP.kn,c+h+b,$APP.jn,q],null);case "top-start":return new $APP.P(null,2,[$APP.kn,c,$APP.jn,f-l-b],null);case "top-end":return new $APP.P(null,2,[$APP.kn,c+h-d,$APP.jn,f-l-b],null);case "bottom-start":return new $APP.P(null,2,[$APP.kn,c,$APP.jn,f+e+b],null);case "bottom-end":return new $APP.P(null,
|
|
5
|
+
2,[$APP.kn,c+h-d,$APP.jn,f+e+b],null);default:return new $APP.P(null,2,[$APP.kn,m,$APP.jn,f+e+b],null)}},QG=function(a,b,c,d,e){function f(y){var A=PG(y,h,b,c);A=$APP.H(A);var D=$APP.C(A,$APP.kn),G=$APP.C(A,$APP.jn);A=$APP.Di.j($APP.Ci.j(D,8),q-l-8);var I=$APP.Di.j($APP.Ci.j(G,8),r-m-8);G=$APP.H(new $APP.P(null,2,[$APP.kn,D,$APP.jn,G],null));D=$APP.C(G,$APP.kn);G=$APP.C(G,$APP.jn);var J=$APP.H(c),K=$APP.C(J,$APP.ji);J=$APP.C(J,$APP.ki);var ba=$APP.H(d),ia=$APP.C(ba,$APP.ji);ba=$APP.C(ba,$APP.ki);
|
|
6
|
+
return new $APP.P(null,4,[$APP.kn,A,$APP.jn,I,$APP.Hj,y,$APP.En,D>=8&&G>=8&&D+K<=ia-8&&G+J<=ba-8],null)}a:switch(e){case "line":case "curve":var h=48;break a;default:h=8}e=$APP.H(c);var l=$APP.C(e,$APP.ji),m=$APP.C(e,$APP.ki);e=$APP.H(d);var q=$APP.C(e,$APP.ji),r=$APP.C(e,$APP.ki);e=f(a);var v=f(OG(a));a:switch(a){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var w=new $APP.N(null,2,5,$APP.O,["left","right"],null);break a;case "left":case "right":w=
|
|
7
|
+
new $APP.N(null,2,5,$APP.O,["bottom","top"],null);break a;default:w=new $APP.N(null,2,5,$APP.O,["bottom","top"],null)}a=$APP.Dc(w,0,null);w=$APP.Dc(w,1,null);a=f(a);w=f(w);return $APP.n($APP.En.i(e))?e:$APP.n($APP.En.i(v))?v:$APP.n($APP.En.i(a))?a:$APP.n($APP.En.i(w))?w:e},TG=function(a,b,c){var d=$APP.H(a);a=$APP.C(d,$APP.kn);var e=$APP.C(d,$APP.jn),f=$APP.C(d,$APP.ji);d=$APP.C(d,$APP.ki);var h=$APP.H(b);b=$APP.C(h,$APP.kn);var l=$APP.C(h,$APP.jn),m=$APP.C(h,$APP.ji);h=$APP.C(h,$APP.ki);var q=a+
|
|
8
|
+
f/2,r=e+d/2,v=b+m/2,w=l+h/2;switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.P(null,2,[RG,new $APP.P(null,2,[$APP.kn,q,$APP.jn,e+d],null),SG,new $APP.P(null,2,[$APP.kn,v,$APP.jn,l],null)],null);case "top":case "top-start":case "top-end":return new $APP.P(null,2,[RG,new $APP.P(null,2,[$APP.kn,q,$APP.jn,e],null),SG,new $APP.P(null,2,[$APP.kn,v,$APP.jn,l+h],null)],null);case "left":return new $APP.P(null,2,[RG,new $APP.P(null,2,[$APP.kn,a,$APP.jn,r],null),SG,new $APP.P(null,
|
|
9
|
+
2,[$APP.kn,b+m,$APP.jn,w],null)],null);case "right":return new $APP.P(null,2,[RG,new $APP.P(null,2,[$APP.kn,a+f,$APP.jn,r],null),SG,new $APP.P(null,2,[$APP.kn,b,$APP.jn,w],null)],null);default:return new $APP.P(null,2,[RG,new $APP.P(null,2,[$APP.kn,q,$APP.jn,e+d],null),SG,new $APP.P(null,2,[$APP.kn,v,$APP.jn,l],null)],null)}},UG=function(a,b){return $APP.Di.j($APP.Ci.j(a,16),b)},bH=function(a,b,c){var d=$APP.H(b),e=$APP.C(d,$APP.kn);b=$APP.C(d,$APP.jn);var f=$APP.C(d,$APP.ji);d=$APP.C(d,$APP.ki);
|
|
10
|
+
var h=$APP.H(c);c=$APP.C(h,$APP.kn);var l=$APP.C(h,$APP.jn),m=$APP.C(h,$APP.ji);h=$APP.C(h,$APP.ki);e+=f/2;b+=d/2;switch(a){case "bottom":case "bottom-start":case "bottom-end":return a=UG(e-c,m-16),new $APP.P(null,4,[$APP.Dj,"-"+$APP.R.i(8)+"px",$APP.aj,""+$APP.R.i(a)+"px",VG,"-"+$APP.R.i(4)+"px",WG,"var(--x-welcome-tour-popover-bg)"],null);case "top":case "top-start":case "top-end":return a=UG(e-c,m-16),new $APP.P(null,4,[$APP.bm,"-"+$APP.R.i(8)+"px",$APP.aj,""+$APP.R.i(a)+"px",VG,"-"+$APP.R.i(4)+
|
|
11
|
+
"px",XG,"var(--x-welcome-tour-popover-bg)"],null);case "left":return a=UG(b-l,h-16),new $APP.P(null,4,[YG,"-"+$APP.R.i(8)+"px",$APP.Dj,""+$APP.R.i(a)+"px",ZG,"-"+$APP.R.i(4)+"px",$G,"var(--x-welcome-tour-popover-bg)"],null);case "right":return a=UG(b-l,h-16),new $APP.P(null,4,[$APP.aj,"-"+$APP.R.i(8)+"px",$APP.Dj,""+$APP.R.i(a)+"px",ZG,"-"+$APP.R.i(4)+"px",aH,"var(--x-welcome-tour-popover-bg)"],null);default:return a=UG(e-c,m-16),new $APP.P(null,4,[$APP.Dj,"-"+$APP.R.i(8)+"px",$APP.aj,""+$APP.R.i(a)+
|
|
12
|
+
"px",VG,"-"+$APP.R.i(4)+"px",WG,"var(--x-welcome-tour-popover-bg)"],null)}},cH=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:8):8},dH=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:4):4},eH=function(a){return a==null?!0:$APP.M((""+$APP.R.i(a)).trim().toLowerCase(),"false")},nH=function(a){var b=$APP.H(a),c=$APP.C(b,$APP.Um),d=$APP.C(b,$APP.Ll),e=$APP.C(b,$APP.Oo),f=$APP.C(b,
|
|
13
|
+
$APP.Pj);a=$APP.C(b,fH);var h=$APP.C(b,gH);b=$APP.C(b,hH);c=typeof c==="string"&&$APP.M(c.trim(),"")?c.trim():null;d=$APP.n(d)?d:"";e=typeof e==="string"&&$APP.Vc(iH,e.toLowerCase())?e.toLowerCase():"bottom";f=typeof f==="string"&&$APP.Vc(jH,f.toLowerCase())?f.toLowerCase():null;return new $APP.P(null,7,[$APP.No,c,$APP.Jj,d,$APP.gl,e,$APP.Cj,f,kH,cH(a),lH,dH(h),mH,eH(b)],null)},oH=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},pH=function(a){a=a.children;for(var b=a.length,
|
|
14
|
+
c=[],d=0;;)if(d<b){var e=a[d];$APP.B.j(e.tagName.toLowerCase(),"x-welcome-tour-step")&&c.push(e);d+=1}else break;return c},qH=function(a){var b=$APP.k(a,"__xWelcomeTourStepModel");return $APP.n(b)?b:nH(new $APP.P(null,7,[$APP.Um,a.getAttribute("target"),$APP.Ll,a.getAttribute("title"),$APP.Oo,a.getAttribute("placement"),$APP.Pj,a.getAttribute("connector"),fH,a.getAttribute("cutout-padding"),gH,a.getAttribute("cutout-radius"),hH,$APP.n(a.hasAttribute("scroll-to"))?a.getAttribute("scroll-to"):null],
|
|
15
|
+
null))},rH=function(a){return typeof a==="string"&&$APP.M(a,"")?(a=document.querySelector(a),$APP.n($APP.n(a)?a.offsetWidth>0:a)?a:null):null},CH=function(a){a=$APP.yh(a,":host{pointer-events:auto;}[part\x3dbackdrop-svg]{position:fixed;inset:0;width:100%;height:100%;z-index:0;}.cutout-rect{transition:x var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),y var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),width var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),height var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),rx var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),ry var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}[part\x3dpopover]{position:fixed;z-index:1;width:var(--x-welcome-tour-popover-width,min(360px,calc(100vw - 2rem)));background:var(--x-welcome-tour-popover-bg,var(--x-color-bg,#ffffff));color:var(--x-welcome-tour-popover-fg,var(--x-color-text,#0f172a));border:var(--x-welcome-tour-popover-border,1px solid var(--x-color-border,#e2e8f0));border-radius:var(--x-welcome-tour-popover-radius,var(--x-radius-lg,12px));box-shadow:var(--x-welcome-tour-popover-shadow,var(--x-shadow-lg,0 20px 60px rgba(0,0,0,0.18)));font-family:var(--x-font-family,system-ui,-apple-system,sans-serif);font-size:var(--x-font-size-base,0.875rem);line-height:var(--x-line-height-normal,1.5);transition:left var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),top var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),opacity var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}@media (prefers-color-scheme:dark){[part\x3dpopover]{background:var(--x-welcome-tour-popover-bg,var(--x-color-bg,#1e293b));color:var(--x-welcome-tour-popover-fg,var(--x-color-text,#f1f5f9));border-color:var(--x-color-border,#334155);box-shadow:var(--x-welcome-tour-popover-shadow,var(--x-shadow-lg,0 20px 60px rgba(0,0,0,0.4)));}}[part\x3dheader]{display:flex;align-items:center;gap:var(--x-space-sm,8px);padding:var(--x-space-md,12px) var(--x-space-md,12px) 0;}[part\x3dtitle]{flex:1;font-weight:var(--x-font-weight-semibold,600);font-size:var(--x-font-size-base,0.875rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}[part\x3dcounter]{font-size:var(--x-font-size-xs,0.75rem);color:var(--x-color-text-muted,#64748b);white-space:nowrap;}@media (prefers-color-scheme:dark){[part\x3dcounter]{color:var(--x-color-text-muted,#94a3b8);}}[part\x3dclose-button]{appearance:none;border:none;background:none;cursor:pointer;padding:var(--x-space-xs,4px);border-radius:var(--x-radius-sm,4px);color:var(--x-color-text-muted,#64748b);font-size:1.125rem;line-height:1;display:flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;}[part\x3dclose-button]:hover{background:var(--x-color-surface-hover,rgba(0,0,0,0.06));}[part\x3dclose-button]:focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}@media (prefers-color-scheme:dark){[part\x3dclose-button]{color:var(--x-color-text-muted,#94a3b8);}[part\x3dclose-button]:hover{background:var(--x-color-surface-hover,rgba(255,255,255,0.08));}}@media (pointer:coarse){[part\x3dclose-button]{min-width:44px;min-height:44px;}}[part\x3dbody]{padding:var(--x-space-sm,8px) var(--x-space-md,12px);}[part\x3dfooter]{display:flex;align-items:center;justify-content:space-between;padding:0 var(--x-space-md,12px) var(--x-space-md,12px);gap:var(--x-space-sm,8px);}[part\x3dprev-button],[part\x3dnext-button]{appearance:none;border:none;cursor:pointer;padding:var(--x-space-xs,4px) var(--x-space-md,12px);border-radius:var(--x-radius-md,6px);font-family:inherit;font-size:var(--x-font-size-sm,0.8125rem);font-weight:var(--x-font-weight-medium,500);min-height:32px;transition:background 120ms ease,color 120ms ease;}@media (pointer:coarse){[part\x3dprev-button],[part\x3dnext-button]{min-height:44px;padding:var(--x-space-sm,8px) var(--x-space-md,12px);}}[part\x3dprev-button]{background:var(--x-color-surface,rgba(0,0,0,0.04));color:var(--x-color-text,#0f172a);}[part\x3dprev-button]:hover{background:var(--x-color-surface-hover,rgba(0,0,0,0.08));}@media (prefers-color-scheme:dark){[part\x3dprev-button]{background:var(--x-color-surface,rgba(255,255,255,0.06));color:var(--x-color-text,#f1f5f9);}[part\x3dprev-button]:hover{background:var(--x-color-surface-hover,rgba(255,255,255,0.1));}}[part\x3dnext-button]{background:var(--x-welcome-tour-button-bg,var(--x-color-primary,#3b82f6));color:var(--x-welcome-tour-button-fg,#ffffff);}[part\x3dnext-button]:hover{filter:brightness(1.1);}[part\x3dprev-button]:focus-visible,[part\x3dnext-button]:focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}[part\x3ddots]{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;}[part\x3ddot]{width:8px;height:8px;border-radius:var(--x-radius-full,9999px);background:var(--x-welcome-tour-dot-color,var(--x-color-border,#e2e8f0));transition:background 150ms ease;}[part\x3ddot][data-active]{background:var(--x-welcome-tour-dot-active,var(--x-color-primary,#3b82f6));}@media (prefers-color-scheme:dark){[part\x3ddot]{background:var(--x-welcome-tour-dot-color,var(--x-color-border,#475569));}[part\x3ddot][data-active]{background:var(--x-welcome-tour-dot-active,var(--x-color-primary,#60a5fa));}}[part\x3darrow]{position:absolute;width:0;height:0;border:8px solid transparent;pointer-events:none;}[part\x3dconnector-svg]{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible;}[part\x3dconnector-svg] path{fill:none;stroke:var(--x-welcome-tour-connector-color,var(--x-color-primary,#3b82f6));stroke-width:var(--x-welcome-tour-connector-width,2);stroke-linecap:round;transition:d var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}@media (prefers-reduced-motion:reduce){.cutout-rect,[part\x3dpopover],[part\x3dconnector-svg] path{transition:none !important;}}",
|
|
16
|
+
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))");var b=a.shadowRoot,c=oH("svg"),d=oH("defs"),e=oH("mask"),f=oH("rect"),h=oH("rect"),l=oH("filter"),m=oH("feGaussianBlur"),q=oH("rect"),r=oH("rect"),v=document.createElement("div"),w=document.createElement("div"),y=document.createElement("span"),A=document.createElement("span"),D=document.createElement("button"),G=document.createElement("div"),I=document.createElement("div"),J=document.createElement("button"),K=document.createElement("div"),
|
|
17
|
+
ba=document.createElement("button"),ia=document.createElement("div"),Ba=oH("svg"),La=oH("path");c.setAttribute("part","backdrop-svg");c.setAttribute("aria-hidden","true");e.setAttribute("id","tour-cutout-mask");f.setAttribute("width","100%");f.setAttribute("height","100%");f.setAttribute("fill","white");h.setAttribute("class","cutout-rect");h.setAttribute("fill","black");h.setAttribute("x","0");h.setAttribute("y","0");h.setAttribute("width","0");h.setAttribute("height","0");h.setAttribute("rx","0");
|
|
18
|
+
h.setAttribute("ry","0");e.appendChild(f);e.appendChild(h);l.setAttribute("id","tour-glow");m.setAttribute("stdDeviation","8");m.setAttribute("in","SourceGraphic");l.appendChild(m);d.appendChild(e);d.appendChild(l);c.appendChild(d);q.setAttribute("width","100%");q.setAttribute("height","100%");q.setAttribute("fill","var(--x-welcome-tour-backdrop,rgba(0,0,0,0.5))");q.setAttribute("mask","url(#tour-cutout-mask)");c.appendChild(q);r.setAttribute("class","cutout-rect");r.setAttribute("fill","var(--x-welcome-tour-glow-color,rgba(255,255,255,0.15))");
|
|
19
|
+
r.setAttribute("filter","url(#tour-glow)");r.setAttribute("x","0");r.setAttribute("y","0");r.setAttribute("width","0");r.setAttribute("height","0");r.setAttribute("rx","0");r.setAttribute("ry","0");c.appendChild(r);v.setAttribute("part","popover");v.setAttribute("role","dialog");v.setAttribute("aria-modal","false");w.setAttribute("part","header");y.setAttribute("part","title");A.setAttribute("part","counter");D.setAttribute("part","close-button");D.setAttribute("type","button");D.setAttribute("aria-label",
|
|
20
|
+
"Close tour");D.textContent="×";w.appendChild(y);w.appendChild(A);w.appendChild(D);G.setAttribute("part","body");I.setAttribute("part","footer");J.setAttribute("part","prev-button");J.setAttribute("type","button");K.setAttribute("part","dots");ba.setAttribute("part","next-button");ba.setAttribute("type","button");I.appendChild(J);I.appendChild(K);I.appendChild(ba);ia.setAttribute("part","arrow");v.appendChild(ia);v.appendChild(w);v.appendChild(G);v.appendChild(I);Ba.setAttribute("part","connector-svg");
|
|
21
|
+
Ba.setAttribute("aria-hidden","true");Ba.appendChild(La);b.appendChild(c);b.appendChild(v);b.appendChild(Ba);a.style.pointerEvents="auto";return $APP.Hf([$APP.tk,sH,tH,uH,vH,$APP.ij,wH,$APP.oo,xH,yH,$APP.Cl,zH,$APP.om,AH,BH],[J,A,K,v,Ba,ba,La,G,a,h,c,ia,y,D,r])},DH=function(a,b){a=$APP.H(a);var c=$APP.C(a,yH),d=$APP.C(a,BH),e=$APP.H(b);b=$APP.C(e,$APP.kn);a=$APP.C(e,$APP.jn);var f=$APP.C(e,$APP.ji),h=$APP.C(e,$APP.ki),l=$APP.C(e,LG);e=$APP.C(e,MG);c=$APP.t(new $APP.N(null,2,5,$APP.O,[c,d],null));
|
|
22
|
+
d=null;for(var m=0,q=0;;)if(q<m){var r=d.G(null,q);r.setAttribute("x",""+$APP.R.i(b));r.setAttribute("y",""+$APP.R.i(a));r.setAttribute("width",""+$APP.R.i(f));r.setAttribute("height",""+$APP.R.i(h));r.setAttribute("rx",""+$APP.R.i(l));r.setAttribute("ry",""+$APP.R.i(e));q+=1}else if(c=$APP.t(c))d=c,$APP.Rc(d)?(c=$APP.yb(d),q=$APP.zb(d),d=c,m=$APP.z(c),c=q):(c=$APP.u(d),c.setAttribute("x",""+$APP.R.i(b)),c.setAttribute("y",""+$APP.R.i(a)),c.setAttribute("width",""+$APP.R.i(f)),c.setAttribute("height",
|
|
23
|
+
""+$APP.R.i(h)),c.setAttribute("rx",""+$APP.R.i(l)),c.setAttribute("ry",""+$APP.R.i(e)),c=$APP.x(d),d=null,m=0),q=0;else break},EH=function(a,b,c){a.style.left=""+$APP.R.i(b)+"px";a.style.top=""+$APP.R.i(c)+"px"},FH=function(a,b,c,d,e){$APP.B.j(b,"arrow")?(b=bH(c,d,e),a.style.display="block",a.style.top="auto",a.style.bottom="auto",a.style.left="auto",a.style.right="auto",a.style.marginLeft="0",a.style.marginTop="0",a.style.borderTopColor="transparent",a.style.borderBottomColor="transparent",a.style.borderLeftColor=
|
|
24
|
+
"transparent",a.style.borderRightColor="transparent",c=$APP.Dj.i(b),$APP.n(c)&&(a.style.top=c),c=$APP.bm.i(b),$APP.n(c)&&(a.style.bottom=c),c=$APP.aj.i(b),$APP.n(c)&&(a.style.left=c),c=YG.i(b),$APP.n(c)&&(a.style.right=c),c=VG.i(b),$APP.n(c)&&(a.style.marginLeft=c),c=ZG.i(b),$APP.n(c)&&(a.style.marginTop=c),c=XG.i(b),$APP.n(c)&&(a.style.borderTopColor=c),c=WG.i(b),$APP.n(c)&&(a.style.borderBottomColor=c),c=$G.i(b),$APP.n(c)&&(a.style.borderLeftColor=c),b=aH.i(b),$APP.n(b)&&(a.style.borderRightColor=
|
|
25
|
+
b)):a.style.display="none"},GH=function(a,b,c,d,e){var f=$APP.H(a);a=$APP.C(f,vH);f=$APP.C(f,wH);if($APP.B.j(b,"line")||$APP.B.j(b,"curve")){c=TG(c,d,e);d=$APP.H(c);c=$APP.C(d,RG);var h=$APP.C(d,SG);a:{d=$APP.H(c);c=$APP.C(d,$APP.kn);d=$APP.C(d,$APP.jn);var l=$APP.H(h);h=$APP.C(l,$APP.kn);l=$APP.C(l,$APP.jn);switch(b){case "line":b="M"+$APP.R.i(c)+","+$APP.R.i(d)+" L"+$APP.R.i(h)+","+$APP.R.i(l);break a;case "curve":b:switch(e){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":b=
|
|
26
|
+
$APP.Nk;break b;case "left":case "right":b=$APP.gn;break b;default:b=$APP.Nk}if($APP.B.j(b,$APP.Nk)){b=(d+l)/2;b="M"+$APP.R.i(c)+","+$APP.R.i(d)+" C"+$APP.R.i(c)+","+$APP.R.i(b)+" "+$APP.R.i(h)+","+$APP.R.i(b)+" "+$APP.R.i(h)+","+$APP.R.i(l);break a}b=(c+h)/2;b="M"+$APP.R.i(c)+","+$APP.R.i(d)+" C"+$APP.R.i(b)+","+$APP.R.i(d)+" "+$APP.R.i(b)+","+$APP.R.i(l)+" "+$APP.R.i(h)+","+$APP.R.i(l);break a;default:b=null;break a}b=void 0}a.style.display="block";f.setAttribute("d",$APP.n(b)?b:"")}else a.style.display=
|
|
27
|
+
"none"},HH=function(a,b,c,d){if($APP.n(d))for(a.style.display="flex",a.innerHTML="",d=0;;)if(d<c){var e=document.createElement("span");e.setAttribute("part","dot");$APP.B.j(d,b)&&e.setAttribute("data-active","");a.appendChild(e);d+=1}else break;else a.style.display="none"},IH=function(a,b){a.innerHTML="";b=b.childNodes;for(var c=b.length,d=0;;)if(d<c)a.appendChild(b[d].cloneNode(!0)),d+=1;else break},JH=function(a){return $APP.Ee($APP.xc(a.querySelectorAll("button:not([disabled]),a[href],[tabindex]:not([tabindex\x3d'-1'])")))},
|
|
28
|
+
KH=function(a){var b=$APP.k(a,"__xWelcomeTourRestore");$APP.n($APP.n(b)?b.isConnected:b)&&b.focus();a.__xWelcomeTourRestore=null},LH=function(a){if($APP.n(a)){var b=a.getBoundingClientRect(),c=window.innerHeight;(b.top<0||b.bottom>c)&&a.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}},XH=function(a){a=$APP.Hf([$APP.Pj,MH,NH,OH,$APP.sm,PH,QH,$APP.to,RH],[a.getAttribute("connector"),a.getAttribute("skip-label"),a.hasAttribute("counter"),a.getAttribute("step"),a.hasAttribute("dots"),
|
|
29
|
+
a.getAttribute("done-label"),a.getAttribute("next-label"),a.hasAttribute("open"),a.getAttribute("prev-label")]);var b=$APP.H(a);a=$APP.C(b,RH);var c=$APP.C(b,$APP.Pj),d=$APP.C(b,MH),e=$APP.C(b,NH),f=$APP.C(b,$APP.sm),h=$APP.C(b,OH),l=$APP.C(b,PH),m=$APP.C(b,QH);b=$APP.C(b,$APP.to);c=typeof c==="string"&&$APP.Vc(SH,c.toLowerCase())?c.toLowerCase():"arrow";return $APP.Hf([$APP.Cj,TH,UH,NH,VH,$APP.sm,WH,$APP.to,$APP.ko],[c,$APP.n(m)?m:"Next",$APP.n(d)?d:"Skip",$APP.E(e),$APP.n(a)?a:"Back",$APP.E(f),
|
|
30
|
+
$APP.n(l)?l:"Done",$APP.E(b),IG(h)])},YH=function(a){var b=XH(a),c=$APP.k(a,"__xWelcomeTourLayer");a.__xWelcomeTourModel=b;if($APP.p($APP.to.i(b)))$APP.n(c)&&($APP.Ah(xH.i(c)),a.__xWelcomeTourLayer=null,KH(a));else{var d=$APP.n(c)?c:CH(a);$APP.n(c)||(a.__xWelcomeTourLayer=d);var e=pH(a);a=e.length;c=JG($APP.ko.i(b),a);if(a>0){e=e[c];var f=qH(e),h=function(){var G=$APP.Cj.i(f);return $APP.n(G)?G:$APP.Cj.i(b)}(),l=rH($APP.No.i(f)),m=$APP.n(l)?function(){var G=l.getBoundingClientRect();return new $APP.P(null,
|
|
31
|
+
4,[$APP.kn,G.x,$APP.jn,G.y,$APP.ji,G.width,$APP.ki,G.height],null)}():null,q=$APP.n(m)?NG(m,kH.i(f),lH.i(f)):null,r=new $APP.P(null,2,[$APP.ji,window.innerWidth,$APP.ki,window.innerHeight],null),v=uH.i(d),w=v.offsetWidth,y=v.offsetHeight,A=new $APP.P(null,2,[$APP.ji,w>0?w:360,$APP.ki,y>0?y:200],null),D=$APP.n(m)?QG($APP.gl.i(f),m,A,r,h):null;r=function(){var G=$APP.Hj.i(D);return $APP.n(G)?G:$APP.gl.i(f)}();w=$APP.n(D)?new $APP.P(null,4,[$APP.kn,$APP.kn.i(D),$APP.jn,$APP.jn.i(D),$APP.ji,w,$APP.ki,
|
|
32
|
+
y],null):null;y=c>=a-1;A=c===0;$APP.n(q)?DH(d,q):DH(d,new $APP.P(null,6,[$APP.kn,-9999,$APP.jn,-9999,$APP.ji,0,$APP.ki,0,LG,0,MG,0],null));$APP.n(D)&&EH(v,$APP.kn.i(D),$APP.jn.i(D));$APP.n($APP.n(m)?w:m)&&FH(zH.i(d),h,r,m,w);$APP.n($APP.n(m)?w:m)&&GH(d,h,m,w,r);$APP.om.i(d).textContent=$APP.Jj.i(f);IH($APP.oo.i(d),e);$APP.n(NH.i(b))?(sH.i(d).style.display="inline",sH.i(d).textContent=KG(c,a)):sH.i(d).style.display="none";HH(tH.i(d),c,a,$APP.sm.i(b));$APP.tk.i(d).textContent=VH.i(b);$APP.ij.i(d).textContent=
|
|
33
|
+
y?WH.i(b):TH.i(b);$APP.tk.i(d).style.visibility=A?"hidden":"visible";AH.i(d).setAttribute("aria-label",""+$APP.R.i(UH.i(b))+" tour")}}return null},ZH=function(a){$APP.n($APP.k(a,"__xWelcomeTourRaf"))||$APP.Xg(a,"__xWelcomeTourRaf",requestAnimationFrame(function(){a.__xWelcomeTourRaf=null;var b=a.isConnected;return $APP.n($APP.n(b)?$APP.k(a,"__xWelcomeTourLayer"):b)?YH(a):null}));return null},aI=function(a){YH(a);var b=$APP.k(a,"__xWelcomeTourLayer");if($APP.n(b)){$H.i?$H.i(a):$H.call(null,a);var c=
|
|
34
|
+
pH(a),d=JG($APP.ko.i($APP.k(a,"__xWelcomeTourModel")),c.length);c.length>0&&(c=qH(c[d]),$APP.n(mH.i(c))&&LH(rH($APP.No.i(c))));setTimeout(function(){a.__xWelcomeTourRestore=document.activeElement;var e=$APP.H(b),f=$APP.C(e,$APP.ij);e=$APP.C(e,uH);e=JH(e);$APP.t(e)?$APP.u(e).focus():f.focus();return null},50)}},cI=function(a){bI.i?bI.i(a):bI.call(null,a);YH(a)},eI=function(a){var b=pH(a).length;var c=$APP.k(a,"__xWelcomeTourModel");c=$APP.n(c)?c:XH(a);a.removeAttribute("open");b=JG($APP.ko.i(c),b)+
|
|
35
|
+
1;$APP.ah(a,"x-welcome-tour-complete",$APP.Wi(new $APP.P(null,1,[dI,b],null)));return null},fI=function(a){var b=$APP.k(a,"__xWelcomeTourModel");b=$APP.n(b)?b:XH(a);var c=pH(a).length;a.removeAttribute("open");b=JG($APP.ko.i(b),c);$APP.ah(a,"x-welcome-tour-skip",$APP.Wi(new $APP.P(null,1,[$APP.ko,b],null)));return null},hI=function(a){var b=$APP.k(a,"__xWelcomeTourModel");var c=$APP.n(b)?b:XH(a);b=pH(a).length;c=JG($APP.ko.i(c),b);c>=b-1?eI(a):(b=c+1,$APP.bh(a,"x-welcome-tour-step-change",$APP.Wi(new $APP.P(null,
|
|
36
|
+
2,[$APP.ko,b,gI,c],null)))&&($APP.Zg(a,"step",""+$APP.R.i(b)),a=pH(a),a=qH(a[b]),$APP.n(mH.i(a))&&LH(rH($APP.No.i(a)))));return null},iI=function(a){var b=$APP.k(a,"__xWelcomeTourModel");b=$APP.n(b)?b:XH(a);var c=pH(a).length;c=JG($APP.ko.i(b),c);c!==0&&(b=c-1,$APP.bh(a,"x-welcome-tour-step-change",$APP.Wi(new $APP.P(null,2,[$APP.ko,b,gI,c],null)))&&($APP.Zg(a,"step",""+$APP.R.i(b)),a=pH(a),a=qH(a[b]),$APP.n(mH.i(a))&&LH(rH($APP.No.i(a)))));return null},$H=function(a){var b=$APP.k(a,"__xWelcomeTourLayer");
|
|
37
|
+
if($APP.n(b)){var c=xH.i(b).shadowRoot,d=function(r){var v=r.key;if($APP.B.j(v,"Escape"))r.preventDefault(),r.stopPropagation(),fI(a);else if($APP.B.j(v,"ArrowRight")||$APP.B.j(v,"ArrowDown"))r.preventDefault(),hI(a);else if($APP.B.j(v,"ArrowLeft")||$APP.B.j(v,"ArrowUp"))r.preventDefault(),iI(a);else if($APP.B.j(v,"Tab")){var w=$APP.k(a,"__xWelcomeTourLayer");v=$APP.H(w);v=$APP.C(v,uH);v=JH(v);if($APP.t(v)){w=$APP.n(w)?xH.i(w).shadowRoot:null;w=$APP.n(w)?w.activeElement:null;w=$APP.n(w)?w:document.activeElement;
|
|
38
|
+
var y=$APP.u(v);v=$APP.Ac(v);var A=r.shiftKey;$APP.n($APP.n(A)?$APP.B.j(w,y):A)?(r.preventDefault(),v.focus()):$APP.p(A)&&$APP.B.j(w,v)&&(r.preventDefault(),y.focus())}}return null},e=function(r){var v=$APP.k(a,"__xWelcomeTourLayer");$APP.n($APP.n(v)?$APP.B.j(r.target,$APP.Cl.i(v)):v)&&fI(a);return null},f=function(){return ZH(a)},h=function(){return iI(a)},l=function(){var r=$APP.k(a,"__xWelcomeTourModel");r=$APP.n(r)?r:XH(a);var v=pH(a).length;return JG($APP.ko.i(r),v)>=v-1?eI(a):hI(a)},m=function(){return fI(a)},
|
|
39
|
+
q=new ResizeObserver(function(){return ZH(a)});c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",f,{passive:!0});window.addEventListener("resize",f,{passive:!0});$APP.tk.i(b).addEventListener("click",h);$APP.ij.i(b).addEventListener("click",l);AH.i(b).addEventListener("click",m);q.observe(document.body);$APP.Xg(a,"__xWelcomeTourHandlers",new $APP.P(null,7,[$APP.Bl,d,$APP.am,e,jI,f,$APP.cl,h,$APP.kl,l,$APP.zm,m,kI,c],null));a.__xWelcomeTourResizeObs=
|
|
40
|
+
q}return null},bI=function(a){var b=$APP.k(a,"__xWelcomeTourHandlers");if($APP.n(b)){var c=$APP.H(b);b=$APP.C(c,$APP.Bl);var d=$APP.C(c,$APP.am),e=$APP.C(c,jI),f=$APP.C(c,$APP.cl),h=$APP.C(c,$APP.kl),l=$APP.C(c,$APP.zm);c=$APP.C(c,kI);var m=$APP.k(a,"__xWelcomeTourLayer");$APP.n(c)&&(c.removeEventListener("keydown",b,!0),c.removeEventListener("click",d));window.removeEventListener("scroll",e);window.removeEventListener("resize",e);$APP.n(m)&&($APP.tk.i(m).removeEventListener("click",f),$APP.ij.i(m).removeEventListener("click",
|
|
41
|
+
h),AH.i(m).removeEventListener("click",l))}b=$APP.k(a,"__xWelcomeTourResizeObs");$APP.n(b)&&b.disconnect();b=$APP.k(a,"__xWelcomeTourRaf");$APP.n(b)&&cancelAnimationFrame(b);a.__xWelcomeTourHandlers=null;a.__xWelcomeTourResizeObs=null;return a.__xWelcomeTourRaf=null},lI=function(a){var b=new MutationObserver(function(){return $APP.n($APP.k(a,"__xWelcomeTourLayer"))?YH(a):null});b.observe(a,{childList:!0});a.__xWelcomeTourObserver=b},mI=function(a){if(!$APP.n($APP.k(a,"__xWelcomeTourRefs"))){var b=
|
|
42
|
+
a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:contents;}";b.appendChild(c);b.appendChild(d);a.__xWelcomeTourRefs=new $APP.P(null,1,[$APP.Qh,b],null)}lI(a);b=XH(a);a.__xWelcomeTourModel=b;c=$APP.to.i(b);a.__xWelcomeTourPrevOpen=c;$APP.n($APP.to.i(b))&&aI(a);return null},nI=function(a){bI(a);var b=$APP.k(a,"__xWelcomeTourObserver");$APP.n(b)&&b.disconnect();a.__xWelcomeTourObserver=null;b=$APP.k(a,"__xWelcomeTourLayer");
|
|
43
|
+
$APP.n(b)&&($APP.Ah(xH.i(b)),a.__xWelcomeTourLayer=null);KH(a);return null},oI=function(a,b,c,d){if($APP.n(function(){var l=$APP.M(c,d);return l?a.isConnected:l}())){var e=$APP.k(a,"__xWelcomeTourModel");b=XH(a);var f=function(){var l=$APP.to.i(e);return $APP.n(l)?l:!1}(),h=$APP.to.i(b);a.__xWelcomeTourModel=b;$APP.n(function(){var l=$APP.p(f);return l?h:l}())?aI(a):$APP.n($APP.n(f)?$APP.p(h):f)?cI(a):$APP.n(h)&&YH(a)}return null},pI=function(a){$APP.ch(a,"open","open");Object.defineProperty(a,"step",
|
|
44
|
+
{get:function(){return IG(this.getAttribute("step"))},set:function(b){return this.setAttribute("step",""+$APP.R.i($APP.n(b)?b:0))},enumerable:!0,configurable:!0});$APP.dh(a,"connector","connector","arrow");Object.defineProperty(a,"totalSteps",{get:function(){return pH(this).length},enumerable:!0,configurable:!0});$APP.dh(a,"prevLabel","prev-label","Back");$APP.dh(a,"nextLabel","next-label","Next");$APP.dh(a,"doneLabel","done-label","Done");$APP.dh(a,"skipLabel","skip-label","Skip")},qI=function(a){Object.defineProperty(a,
|
|
45
|
+
"start",{value:function(){this.setAttribute("step","0");this.setAttribute("open","");$APP.ah(this,"x-welcome-tour-start",$APP.Wi($APP.Vd));return null},writable:!0,configurable:!0});Object.defineProperty(a,"next",{value:function(){return hI(this)},writable:!0,configurable:!0});Object.defineProperty(a,"prev",{value:function(){return iI(this)},writable:!0,configurable:!0});Object.defineProperty(a,"goTo",{value:function(b){var c=$APP.k(this,"__xWelcomeTourModel");var d=$APP.n(c)?c:XH(this);c=pH(this).length;
|
|
46
|
+
d=JG($APP.ko.i(d),c);b=JG(b,c);$APP.M(d,b)&&$APP.bh(this,"x-welcome-tour-step-change",$APP.Wi(new $APP.P(null,2,[$APP.ko,b,gI,d],null)))&&$APP.Zg(this,"step",""+$APP.R.i(b));return null},writable:!0,configurable:!0});Object.defineProperty(a,"complete",{value:function(){return eI(this)},writable:!0,configurable:!0});return Object.defineProperty(a,"skip",{value:function(){return fI(this)},writable:!0,configurable:!0})},sI=function(){return $APP.Wg("x-welcome-tour",new $APP.P(null,5,[$APP.Mg,rI,$APP.Ng,
|
|
47
|
+
mI,$APP.Og,nI,$APP.Qg,oI,$APP.Ug,function(a){pI(a);return qI(a)}],null))},tI=function(a){var b=nH(new $APP.P(null,7,[$APP.Um,a.getAttribute("target"),$APP.Ll,a.getAttribute("title"),$APP.Oo,a.getAttribute("placement"),$APP.Pj,a.getAttribute("connector"),fH,a.getAttribute("cutout-padding"),gH,a.getAttribute("cutout-radius"),hH,$APP.n(a.hasAttribute("scroll-to"))?a.getAttribute("scroll-to"):null],null));a.__xWelcomeTourStepModel=b},uI=function(a){Object.defineProperty(a,"target",{get:function(){var b=
|
|
48
|
+
this.getAttribute("target");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.M(b,""):b)?this.setAttribute("target",""+$APP.R.i(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"title",{get:function(){var b=this.getAttribute("title");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.M(b,""):b)?this.setAttribute("title",""+$APP.R.i(b)):this.removeAttribute("title")},enumerable:!0,configurable:!0});$APP.dh(a,"placement",
|
|
49
|
+
"placement","bottom");$APP.eh(a,"connector","connector");Object.defineProperty(a,"cutoutPadding",{get:function(){return cH(this.getAttribute("cutout-padding"))},set:function(b){return b!=null?this.setAttribute("cutout-padding",""+$APP.R.i(b)):this.removeAttribute("cutout-padding")},enumerable:!0,configurable:!0});Object.defineProperty(a,"cutoutRadius",{get:function(){return dH(this.getAttribute("cutout-radius"))},set:function(b){return b!=null?this.setAttribute("cutout-radius",""+$APP.R.i(b)):this.removeAttribute("cutout-radius")},
|
|
50
|
+
enumerable:!0,configurable:!0});return Object.defineProperty(a,"scrollTo",{get:function(){return eH($APP.n(this.hasAttribute("scroll-to"))?this.getAttribute("scroll-to"):null)},set:function(b){return $APP.n(b)?this.setAttribute("scroll-to",""):this.setAttribute("scroll-to","false")},enumerable:!0,configurable:!0})},vI=function(a){if(!$APP.n($APP.k(a,"__xWelcomeTourStepRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:none;}";
|
|
51
|
+
b.appendChild(c);b.appendChild(d);a.__xWelcomeTourStepRefs=new $APP.P(null,2,[$APP.Qh,b,$APP.xk,d],null)}tI(a);$APP.ah(a,"x-welcome-tour-step-connected",{});return null},wI=function(){document.dispatchEvent(new CustomEvent("x-welcome-tour-step-disconnected",{bubbles:!1,composed:!1,cancelable:!1}));return null},xI=function(a,b,c,d){$APP.M(c,d)&&tI(a);return null},zI=function(){$APP.Wg("x-welcome-tour-step",new $APP.P(null,5,[$APP.Mg,yI,$APP.Ng,vI,$APP.Og,wI,$APP.Qg,xI,$APP.Ug,uI],null));return sI()},
|
|
52
|
+
sH=new $APP.F(null,"counter-el","counter-el",-1722624952),PH=new $APP.F(null,"done-label-raw","done-label-raw",1022925613),VH=new $APP.F(null,"prev-label","prev-label",-1633827735),YG=new $APP.F(null,"right","right",-452581833),lH=new $APP.F(null,"cutout-radius","cutout-radius",-1889150005),yH=new $APP.F(null,"mask-cut","mask-cut",-1027017197),dI=new $APP.F(null,"stepsCompleted","stepsCompleted",-1195441854),MH=new $APP.F(null,"skip-label-raw","skip-label-raw",-1113162074),gI=new $APP.F(null,"previousStep",
|
|
53
|
+
"previousStep",179909093),UH=new $APP.F(null,"skip-label","skip-label",-1497552511),mH=new $APP.F(null,"scroll-to?","scroll-to?",-115048698),fH=new $APP.F(null,"cutout-padding-raw","cutout-padding-raw",1242999121),NH=new $APP.F(null,"counter?","counter?",-1490890073),QH=new $APP.F(null,"next-label-raw","next-label-raw",128708305),WG=new $APP.F(null,"border-bottom-color","border-bottom-color",-208763333),RG=new $APP.F(null,"target-point","target-point",1084476807),$G=new $APP.F(null,"border-left-color",
|
|
54
|
+
"border-left-color",-1166146583),RH=new $APP.F(null,"prev-label-raw","prev-label-raw",-1005526116),gH=new $APP.F(null,"cutout-radius-raw","cutout-radius-raw",-612633502),OH=new $APP.F(null,"step-raw","step-raw",-1512577847),vH=new $APP.F(null,"conn-svg","conn-svg",-2008050391),wH=new $APP.F(null,"conn-path","conn-path",-244598641),XG=new $APP.F(null,"border-top-color","border-top-color",-804629899),uH=new $APP.F(null,"popover","popover",-1809582136),tH=new $APP.F(null,"dots-el","dots-el",1811278312),
|
|
55
|
+
jI=new $APP.F(null,"scroll","scroll",971553779),ZG=new $APP.F(null,"margin-top","margin-top",392161226),xH=new $APP.F(null,"layer","layer",-1601820589),aH=new $APP.F(null,"border-right-color","border-right-color",2017953775),kH=new $APP.F(null,"cutout-padding","cutout-padding",1623255682),TH=new $APP.F(null,"next-label","next-label",1724045248),BH=new $APP.F(null,"glow","glow",216329469),hH=new $APP.F(null,"scroll-to-raw","scroll-to-raw",1123777559),kI=new $APP.F(null,"shadow","shadow",873231803),
|
|
56
|
+
SG=new $APP.F(null,"popover-point","popover-point",-1343008173),VG=new $APP.F(null,"margin-left","margin-left",2015598377),WH=new $APP.F(null,"done-label","done-label",2036600942),zH=new $APP.F(null,"arrow-el","arrow-el",-968525162),MG=new $APP.F(null,"ry","ry",-334598563),LG=new $APP.F(null,"rx","rx",1627208482),AH=new $APP.F(null,"close-btn","close-btn",-1639164196);var rI="open step connector prev-label next-label done-label skip-label counter dots".split(" ");
|
|
57
|
+
$APP.Hf([$APP.Cj,$APP.Qn,new $APP.F(null,"prevLabel","prevLabel",-1710466271),new $APP.F(null,"nextLabel","nextLabel",-1506210545),new $APP.F(null,"counter","counter",804008177),new $APP.F(null,"totalSteps","totalSteps",-1980211791),new $APP.F(null,"doneLabel","doneLabel",849728698),new $APP.F(null,"skipLabel","skipLabel",-1410174917),$APP.pm,$APP.ko],[new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"connector"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"open"],null),new $APP.P(null,2,[$APP.S,$APP.V,
|
|
58
|
+
$APP.T,"prev-label"],null),new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"next-label"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"counter"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.gh,!0],null),new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"done-label"],null),new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"skip-label"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"dots"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.T,"step"],null)]);
|
|
59
|
+
$APP.Ud(["x-welcome-tour-start",new $APP.P(null,2,[$APP.Z,$APP.Vd,$APP.Un,!1],null),"x-welcome-tour-step-change",new $APP.P(null,2,[$APP.Z,new $APP.P(null,2,[$APP.ko,$APP.W,gI,$APP.W],null),$APP.Un,!0],null),"x-welcome-tour-complete",new $APP.P(null,2,[$APP.Z,new $APP.P(null,1,[dI,$APP.W],null),$APP.Un,!1],null),"x-welcome-tour-skip",new $APP.P(null,2,[$APP.Z,new $APP.P(null,1,[$APP.ko,$APP.W],null),$APP.Un,!1],null)]);
|
|
60
|
+
var SH=new $APP.Q(null,new $APP.P(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);var yI="target title placement connector cutout-padding cutout-radius scroll-to".split(" ");$APP.Ud(["x-welcome-tour-step-connected",new $APP.P(null,2,[$APP.Z,$APP.Vd,$APP.Un,!1],null),"x-welcome-tour-step-disconnected",new $APP.P(null,2,[$APP.Z,$APP.Vd,$APP.Un,!1],null)]);
|
|
61
|
+
var iH=new $APP.Q(null,new $APP.P(null,8,["right",null,"top",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"bottom",null,"left",null],null),null),jH=new $APP.Q(null,new $APP.P(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);$APP.da("baredom.exports.x_welcome_tour.init",zI);export const init=zI;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"karma": "^6.4.4",
|
|
12
12
|
"karma-chrome-launcher": "^3.2.0",
|
|
13
13
|
"karma-cljs-test": "^0.1.0",
|
|
14
|
-
"shadow-cljs": "^3.
|
|
14
|
+
"shadow-cljs": "^3.4.7",
|
|
15
15
|
"typescript": "^6.0.3"
|
|
16
16
|
},
|
|
17
17
|
"customElements": "custom-elements.json",
|
|
@@ -71,11 +71,26 @@
|
|
|
71
71
|
"import": "./dist/x-popover.js",
|
|
72
72
|
"default": "./dist/x-popover.js"
|
|
73
73
|
},
|
|
74
|
+
"./x-i18n-provider": {
|
|
75
|
+
"types": "./dist/x-i18n-provider.d.ts",
|
|
76
|
+
"import": "./dist/x-i18n-provider.js",
|
|
77
|
+
"default": "./dist/x-i18n-provider.js"
|
|
78
|
+
},
|
|
79
|
+
"./x-i18n": {
|
|
80
|
+
"types": "./dist/x-i18n.d.ts",
|
|
81
|
+
"import": "./dist/x-i18n.js",
|
|
82
|
+
"default": "./dist/x-i18n.js"
|
|
83
|
+
},
|
|
74
84
|
"./x-icon": {
|
|
75
85
|
"types": "./dist/x-icon.d.ts",
|
|
76
86
|
"import": "./dist/x-icon.js",
|
|
77
87
|
"default": "./dist/x-icon.js"
|
|
78
88
|
},
|
|
89
|
+
"./x-kbd": {
|
|
90
|
+
"types": "./dist/x-kbd.d.ts",
|
|
91
|
+
"import": "./dist/x-kbd.js",
|
|
92
|
+
"default": "./dist/x-kbd.js"
|
|
93
|
+
},
|
|
79
94
|
"./x-command-palette": {
|
|
80
95
|
"types": "./dist/x-command-palette.d.ts",
|
|
81
96
|
"import": "./dist/x-command-palette.js",
|
|
@@ -151,6 +166,11 @@
|
|
|
151
166
|
"import": "./dist/x-context-menu.js",
|
|
152
167
|
"default": "./dist/x-context-menu.js"
|
|
153
168
|
},
|
|
169
|
+
"./x-confetti": {
|
|
170
|
+
"types": "./dist/x-confetti.d.ts",
|
|
171
|
+
"import": "./dist/x-confetti.js",
|
|
172
|
+
"default": "./dist/x-confetti.js"
|
|
173
|
+
},
|
|
154
174
|
"./x-cancel-dialogue": {
|
|
155
175
|
"types": "./dist/x-cancel-dialogue.d.ts",
|
|
156
176
|
"import": "./dist/x-cancel-dialogue.js",
|
|
@@ -191,6 +211,11 @@
|
|
|
191
211
|
"import": "./dist/x-particle-button.js",
|
|
192
212
|
"default": "./dist/x-particle-button.js"
|
|
193
213
|
},
|
|
214
|
+
"./x-proximity-list": {
|
|
215
|
+
"types": "./dist/x-proximity-list.d.ts",
|
|
216
|
+
"import": "./dist/x-proximity-list.js",
|
|
217
|
+
"default": "./dist/x-proximity-list.js"
|
|
218
|
+
},
|
|
194
219
|
"./x-toast": {
|
|
195
220
|
"types": "./dist/x-toast.d.ts",
|
|
196
221
|
"import": "./dist/x-toast.js",
|
|
@@ -291,6 +316,11 @@
|
|
|
291
316
|
"import": "./dist/x-liquid-fill.js",
|
|
292
317
|
"default": "./dist/x-liquid-fill.js"
|
|
293
318
|
},
|
|
319
|
+
"./x-kinetic-canvas": {
|
|
320
|
+
"types": "./dist/x-kinetic-canvas.d.ts",
|
|
321
|
+
"import": "./dist/x-kinetic-canvas.js",
|
|
322
|
+
"default": "./dist/x-kinetic-canvas.js"
|
|
323
|
+
},
|
|
294
324
|
"./x-divider": {
|
|
295
325
|
"types": "./dist/x-divider.d.ts",
|
|
296
326
|
"import": "./dist/x-divider.js",
|
|
@@ -316,6 +346,11 @@
|
|
|
316
346
|
"import": "./dist/x-search-field.js",
|
|
317
347
|
"default": "./dist/x-search-field.js"
|
|
318
348
|
},
|
|
349
|
+
"./x-otp-input": {
|
|
350
|
+
"types": "./dist/x-otp-input.d.ts",
|
|
351
|
+
"import": "./dist/x-otp-input.js",
|
|
352
|
+
"default": "./dist/x-otp-input.js"
|
|
353
|
+
},
|
|
319
354
|
"./x-form": {
|
|
320
355
|
"types": "./dist/x-form.d.ts",
|
|
321
356
|
"import": "./dist/x-form.js",
|
|
@@ -346,6 +381,11 @@
|
|
|
346
381
|
"import": "./dist/x-splash.js",
|
|
347
382
|
"default": "./dist/x-splash.js"
|
|
348
383
|
},
|
|
384
|
+
"./x-spotlight-card": {
|
|
385
|
+
"types": "./dist/x-spotlight-card.d.ts",
|
|
386
|
+
"import": "./dist/x-spotlight-card.js",
|
|
387
|
+
"default": "./dist/x-spotlight-card.js"
|
|
388
|
+
},
|
|
349
389
|
"./x-timeline": {
|
|
350
390
|
"types": "./dist/x-timeline.d.ts",
|
|
351
391
|
"import": "./dist/x-timeline.js",
|
|
@@ -386,6 +426,11 @@
|
|
|
386
426
|
"import": "./dist/x-combobox.js",
|
|
387
427
|
"default": "./dist/x-combobox.js"
|
|
388
428
|
},
|
|
429
|
+
"./x-multi-combobox": {
|
|
430
|
+
"types": "./dist/x-multi-combobox.d.ts",
|
|
431
|
+
"import": "./dist/x-multi-combobox.js",
|
|
432
|
+
"default": "./dist/x-multi-combobox.js"
|
|
433
|
+
},
|
|
389
434
|
"./x-menu-item": {
|
|
390
435
|
"types": "./dist/x-menu-item.d.ts",
|
|
391
436
|
"import": "./dist/x-menu-item.js",
|
|
@@ -498,7 +543,7 @@
|
|
|
498
543
|
"bugs": {
|
|
499
544
|
"url": "https://github.com/avanelsas/baredom/issues"
|
|
500
545
|
},
|
|
501
|
-
"version": "2.
|
|
546
|
+
"version": "2.9.0",
|
|
502
547
|
"sideEffects": [
|
|
503
548
|
"./dist/*.js"
|
|
504
549
|
],
|