@vanelsas/baredom 2.4.1 → 2.6.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 +25 -0
- package/README.md +63 -270
- package/custom-elements.json +7373 -0
- package/dist/baredom.d.ts +97 -0
- package/dist/base.js +74 -74
- package/dist/integrity.json +93 -93
- package/dist/x-alert.d.ts +43 -0
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.d.ts +18 -0
- package/dist/x-avatar-group.js +10 -10
- package/dist/x-avatar.d.ts +21 -0
- package/dist/x-avatar.js +13 -13
- package/dist/x-badge.d.ts +19 -0
- package/dist/x-badge.js +11 -11
- package/dist/x-bento-grid.d.ts +12 -0
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.d.ts +12 -0
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.d.ts +20 -0
- package/dist/x-breadcrumbs.js +14 -14
- package/dist/x-button.d.ts +45 -0
- package/dist/x-button.js +15 -15
- package/dist/x-cancel-dialogue.d.ts +50 -0
- package/dist/x-cancel-dialogue.js +12 -12
- package/dist/x-card.d.ts +39 -0
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.d.ts +48 -0
- package/dist/x-carousel.js +28 -28
- package/dist/x-chart.d.ts +23 -0
- package/dist/x-chart.js +46 -46
- package/dist/x-checkbox.d.ts +45 -0
- package/dist/x-checkbox.js +11 -11
- package/dist/x-chip.d.ts +41 -0
- package/dist/x-chip.js +8 -8
- package/dist/x-collapse.d.ts +42 -0
- package/dist/x-collapse.js +10 -10
- package/dist/x-color-picker.d.ts +47 -0
- package/dist/x-color-picker.js +41 -41
- package/dist/x-combobox.d.ts +47 -0
- package/dist/x-combobox.js +25 -25
- package/dist/x-command-palette.d.ts +46 -0
- package/dist/x-command-palette.js +24 -24
- package/dist/x-container.d.ts +14 -0
- package/dist/x-container.js +6 -6
- package/dist/x-context-menu.d.ts +17 -0
- package/dist/x-context-menu.js +18 -18
- package/dist/x-copy.d.ts +51 -0
- package/dist/x-copy.js +20 -20
- package/dist/x-currency-field.d.ts +52 -0
- package/dist/x-currency-field.js +23 -21
- package/dist/x-date-picker.d.ts +20 -0
- package/dist/x-date-picker.js +37 -37
- package/dist/x-divider.d.ts +20 -0
- package/dist/x-divider.js +8 -8
- package/dist/x-drawer.d.ts +44 -0
- package/dist/x-drawer.js +11 -11
- package/dist/x-dropdown.d.ts +42 -0
- package/dist/x-dropdown.js +9 -9
- package/dist/x-fieldset.d.ts +14 -0
- package/dist/x-fieldset.js +5 -5
- package/dist/x-file-download.d.ts +40 -0
- package/dist/x-file-download.js +7 -7
- package/dist/x-file-upload.d.ts +46 -0
- package/dist/x-file-upload.js +22 -22
- package/dist/x-form-field.d.ts +47 -0
- package/dist/x-form-field.js +15 -15
- package/dist/x-form.d.ts +41 -0
- package/dist/x-form.js +9 -9
- package/dist/x-gaussian-blur.d.ts +20 -0
- package/dist/x-gaussian-blur.js +16 -16
- package/dist/x-grid.d.ts +12 -0
- package/dist/x-grid.js +6 -6
- package/dist/x-icon.d.ts +15 -0
- package/dist/x-icon.js +7 -7
- package/dist/x-image.d.ts +48 -0
- package/dist/x-image.js +18 -18
- package/dist/x-kinetic-font.d.ts +48 -0
- package/dist/x-kinetic-font.js +28 -28
- package/dist/x-kinetic-typography.d.ts +27 -0
- package/dist/x-kinetic-typography.js +37 -37
- package/dist/x-liquid-dock.d.ts +47 -0
- package/dist/x-liquid-dock.js +35 -35
- package/dist/x-liquid-fill.d.ts +46 -0
- package/dist/x-liquid-fill.js +40 -40
- package/dist/x-liquid-glass.d.ts +25 -0
- package/dist/x-liquid-glass.js +35 -35
- package/dist/x-menu-item.d.ts +41 -0
- package/dist/x-menu-item.js +10 -10
- package/dist/x-menu.d.ts +42 -0
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.d.ts +21 -0
- package/dist/x-metaball-cursor.js +25 -25
- package/dist/x-modal.d.ts +44 -0
- package/dist/x-modal.js +11 -11
- package/dist/x-morph-stack.d.ts +46 -0
- package/dist/x-morph-stack.js +39 -39
- package/dist/x-navbar.d.ts +46 -0
- package/dist/x-navbar.js +12 -12
- package/dist/x-neural-glow.d.ts +22 -0
- package/dist/x-neural-glow.js +30 -30
- package/dist/x-notification-center.d.ts +42 -0
- package/dist/x-notification-center.js +10 -10
- package/dist/x-organic-divider.d.ts +19 -0
- package/dist/x-organic-divider.js +15 -15
- package/dist/x-organic-progress.d.ts +45 -0
- package/dist/x-organic-progress.js +35 -35
- package/dist/x-organic-shape.d.ts +18 -0
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-pagination.d.ts +45 -0
- package/dist/x-pagination.js +17 -16
- package/dist/x-particle-button.d.ts +47 -0
- package/dist/x-particle-button.js +46 -46
- package/dist/x-popover.d.ts +45 -0
- package/dist/x-popover.js +23 -23
- package/dist/x-progress-circle.d.ts +41 -0
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.d.ts +44 -0
- package/dist/x-progress.js +7 -7
- package/dist/x-radio.d.ts +44 -0
- package/dist/x-radio.js +11 -11
- package/dist/x-ripple-effect.d.ts +42 -0
- package/dist/x-ripple-effect.js +11 -11
- package/dist/x-scroll-parallax.d.ts +45 -0
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.d.ts +46 -0
- package/dist/x-scroll-stack.js +18 -18
- package/dist/x-scroll-story.d.ts +56 -0
- package/dist/x-scroll-story.js +33 -33
- package/dist/x-scroll-timeline.d.ts +58 -0
- package/dist/x-scroll-timeline.js +44 -44
- package/dist/x-scroll.d.ts +51 -0
- package/dist/x-scroll.js +39 -39
- package/dist/x-search-field.d.ts +47 -0
- package/dist/x-search-field.js +15 -14
- package/dist/x-select.d.ts +41 -0
- package/dist/x-select.js +10 -10
- package/dist/x-sidebar.d.ts +40 -0
- package/dist/x-sidebar.js +16 -16
- package/dist/x-skeleton-group.d.ts +15 -0
- package/dist/x-skeleton-group.js +13 -13
- package/dist/x-skeleton.d.ts +16 -0
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.d.ts +49 -0
- package/dist/x-slider.js +18 -16
- package/dist/x-soft-body.d.ts +44 -0
- package/dist/x-soft-body.js +20 -20
- package/dist/x-spacer.d.ts +15 -0
- package/dist/x-spacer.js +5 -5
- package/dist/x-spinner.d.ts +15 -0
- package/dist/x-spinner.js +5 -5
- package/dist/x-splash.d.ts +42 -0
- package/dist/x-splash.js +13 -13
- package/dist/x-stat.d.ts +21 -0
- package/dist/x-stat.js +9 -9
- package/dist/x-stepper.d.ts +42 -0
- package/dist/x-stepper.js +14 -14
- package/dist/x-switch.d.ts +44 -0
- package/dist/x-switch.js +10 -10
- package/dist/x-tab.d.ts +40 -0
- package/dist/x-tab.js +7 -7
- package/dist/x-table-cell.d.ts +50 -0
- package/dist/x-table-cell.js +19 -19
- package/dist/x-table-row.d.ts +43 -0
- package/dist/x-table-row.js +10 -10
- package/dist/x-table.d.ts +124 -0
- package/dist/x-table.js +13 -13
- package/dist/x-tabs.d.ts +71 -0
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.d.ts +48 -0
- package/dist/x-text-area.js +20 -18
- package/dist/x-theme.d.ts +15 -0
- package/dist/x-theme.js +24 -24
- package/dist/x-timeline-item.d.ts +46 -0
- package/dist/x-timeline-item.js +19 -19
- package/dist/x-timeline.d.ts +78 -0
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.d.ts +45 -0
- package/dist/x-toast.js +21 -21
- package/dist/x-toaster.d.ts +41 -0
- package/dist/x-toaster.js +8 -8
- package/dist/x-tooltip.d.ts +43 -0
- package/dist/x-tooltip.js +12 -12
- package/dist/x-typography.d.ts +16 -0
- package/dist/x-typography.js +8 -8
- package/dist/x-welcome-tour.d.ts +92 -0
- package/dist/x-welcome-tour.js +58 -58
- package/package.json +506 -392
package/dist/x-tooltip.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
$APP.F(a),$APP.
|
|
4
|
-
(clearTimeout(b),a.__xTooltipShowTimer=null)},
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
a.removeEventListener("pointerenter",$APP.k(c,"pointerenter")),a.removeEventListener("pointerleave",$APP.k(c,"pointerleave")),a.removeEventListener("focusin",$APP.k(c,"focusin")),a.removeEventListener("focusout",$APP.k(c,"focusout")),a.removeEventListener("keydown",$APP.k(c,"keydown")),b.removeEventListener("slotchange",$APP.k(c,"slotchange")))}},
|
|
8
|
-
c,$APP.F(d))}})},
|
|
9
|
-
""+$APP.T.g(b)):this.removeAttribute("delay")}})},
|
|
10
|
-
e=document.createElement("span"),g=document.createElement("slot"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),p=document.createElement("span"),q=document.createElement("slot");var v=$APP.k(
|
|
2
|
+
var pu=function(a){a=new $APP.Q(null,5,[$APP.Kh,a.getAttribute("text"),$APP.jn,a.getAttribute("placement"),mu,a.getAttribute("delay"),$APP.Ol,a.hasAttribute("disabled"),$APP.Gi,a.hasAttribute("open")],null);var b=$APP.M(a),c=$APP.D(b,$APP.Kh),d=$APP.D(b,$APP.jn),e=$APP.D(b,mu);a=$APP.D(b,$APP.Ol);b=$APP.D(b,$APP.Gi);c=$APP.n(c)?c:"";d=$APP.I(nu,d)?d:"top";e!=null?(e=parseInt(e,10),e=$APP.n(isNaN(e))?400:$APP.ph.i($APP.oh.i(e,0),5E3)):e=400;return new $APP.Q(null,5,[$APP.Cl,c,$APP.Qj,d,ou,e,$APP.X,
|
|
3
|
+
$APP.F(a),$APP.Om,$APP.F(b)],null)},qu=function(a){var b=$APP.k(a,"__xTooltipRefs");if($APP.n(b)){a=pu(a);var c=$APP.M(a);a=$APP.D(c,$APP.Cl);var d=$APP.D(c,$APP.Qj),e=$APP.D(c,$APP.Om);c=$APP.k(b,"panel");b=$APP.k(b,"text");c.setAttribute("data-placement",d);d=""+$APP.T.g($APP.r(e));c.setAttribute("aria-hidden",d);b.textContent=a}},ru=function(a,b){return a.dispatchEvent(new CustomEvent(b,{detail:{},bubbles:!0,composed:!0,cancelable:!1}))},su=function(a){var b=$APP.k(a,"__xTooltipShowTimer");$APP.n(b)&&
|
|
4
|
+
(clearTimeout(b),a.__xTooltipShowTimer=null)},tu=function(a,b){if($APP.n(a.hasAttribute("disabled")))return null;su(a);if($APP.n($APP.n(b)?b:a.hasAttribute("open"))){if($APP.n(a.hasAttribute("open")))return null;a.setAttribute("open","");return ru(a,"x-tooltip-show")}b=pu(a);b=$APP.M(b);b=$APP.D(b,ou);return b===0?(a.setAttribute("open",""),ru(a,"x-tooltip-show")):$APP.Cg(a,"__xTooltipShowTimer",setTimeout(function(){a.__xTooltipShowTimer=null;return $APP.n(a.isConnected)?(a.setAttribute("open",""),
|
|
5
|
+
ru(a,"x-tooltip-show")):null},b))},uu=function(a){su(a);return $APP.n(a.hasAttribute("open"))?(a.removeAttribute("open"),ru(a,"x-tooltip-hide")):null},vu=function(a){var b=$APP.k(a,"__xTooltipRefs");if($APP.n(b)){var c=$APP.k(b,"triggerSlot").assignedElements();b=$APP.k(a,"__xTooltipId");var d=$APP.k(a,"__xTooltipTriggerEl");$APP.n(d)&&(d.removeAttribute("aria-describedby"),a.__xTooltipTriggerEl=null);if(c.length>0){c=c[0];c.setAttribute("aria-describedby",b);a.__xTooltipTriggerEl=c;return}}return null},
|
|
6
|
+
wu=function(a){return{pointerenter:function(){return tu(a,!1)},pointerleave:function(){return uu(a)},focusin:function(){return tu(a,!0)},focusout:function(b){b=b.relatedTarget;return b==null||$APP.r(a.contains(b))?uu(a):null},keydown:function(b){b=$APP.B.i(b.key,"Escape");return $APP.n(b?a.hasAttribute("open"):b)?uu(a):null},slotchange:function(){return vu(a)}}},xu=function(a){var b=$APP.k(a,"__xTooltipRefs");if($APP.n(b)){var c=$APP.k(a,"__xTooltipHandlers");$APP.n(c)&&(b=$APP.k(b,"triggerSlot"),
|
|
7
|
+
a.removeEventListener("pointerenter",$APP.k(c,"pointerenter")),a.removeEventListener("pointerleave",$APP.k(c,"pointerleave")),a.removeEventListener("focusin",$APP.k(c,"focusin")),a.removeEventListener("focusout",$APP.k(c,"focusout")),a.removeEventListener("keydown",$APP.k(c,"keydown")),b.removeEventListener("slotchange",$APP.k(c,"slotchange")))}},yu=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(c)},set:function(d){return $APP.Eg(this,
|
|
8
|
+
c,$APP.F(d))}})},zu=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){var d=this.getAttribute(c);return $APP.n(d)?d:""},set:function(d){return d!=null&&$APP.N(d)?this.setAttribute(c,""+$APP.T.g(d)):this.removeAttribute(c)}})},Au=function(a){Object.defineProperty(a,"delay",{configurable:!0,enumerable:!0,get:function(){var b=this.getAttribute("delay");return b!=null?(b=parseInt(b,10),$APP.n(isNaN(b))?null:b):null},set:function(b){return b!=null&&$APP.N(b)?this.setAttribute("delay",
|
|
9
|
+
""+$APP.T.g(b)):this.removeAttribute("delay")}})},Du=function(){var a=class extends HTMLElement{},b=a.prototype;Object.defineProperty(a,"observedAttributes",{get:function(){return Bu}});zu(b,"text","text");zu(b,"placement","placement");Au(b);yu(b,"disabled","disabled");yu(b,"open","open");b.show=function(){return tu(this,!0)};b.hide=function(){return uu(this)};b.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xTooltipRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),
|
|
10
|
+
e=document.createElement("span"),g=document.createElement("slot"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),p=document.createElement("span"),q=document.createElement("slot");var v=$APP.k(Cu,"n")+1;Cu.n=v;v="x-tt-"+$APP.T.g(v);d.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-tooltip-bg:var(--x-color-bg,#ffffff);--x-tooltip-text:var(--x-color-text,#0f172a);--x-tooltip-border:1px solid var(--x-color-border,#e2e8f0);--x-tooltip-padding:var(--x-space-xs,4px) var(--x-space-sm,8px);--x-tooltip-radius:var(--x-radius-md,6px);--x-tooltip-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.12));--x-tooltip-z:var(--x-z-dropdown,1000);--x-tooltip-max-width:min(200px,calc(100% - 2rem));--x-tooltip-font-size:var(--x-font-size-xs,0.75rem);--x-tooltip-arrow-size:6px;--x-tooltip-offset:4px;--x-tooltip-transition-duration:var(--x-transition-duration,150ms);--x-tooltip-transition-easing:var(--x-transition-easing,ease);}@media (prefers-color-scheme:dark){:host{--x-tooltip-bg:var(--x-color-bg,#1e293b);--x-tooltip-text:var(--x-color-text,#e2e8f0);--x-tooltip-border:1px solid var(--x-color-border,#334155);--x-tooltip-shadow:0 4px 24px rgba(0,0,0,0.4);}}[part\x3dtrigger]{display:inline-block;}[part\x3dpanel]{position:absolute;z-index:var(--x-tooltip-z);box-sizing:border-box;background:var(--x-tooltip-bg);color:var(--x-tooltip-text);border:var(--x-tooltip-border);padding:var(--x-tooltip-padding);border-radius:var(--x-tooltip-radius);box-shadow:var(--x-tooltip-shadow);max-width:var(--x-tooltip-max-width);font-size:var(--x-tooltip-font-size);font-family:inherit;line-height:1.4;white-space:normal;word-wrap:break-word;pointer-events:none;visibility:hidden;opacity:0;transition:opacity var(--x-tooltip-transition-duration) var(--x-tooltip-transition-easing),transform var(--x-tooltip-transition-duration) var(--x-tooltip-transition-easing),visibility 0s var(--x-tooltip-transition-duration);}:host([open]) [part\x3dpanel]{visibility:visible;opacity:1;transition:opacity var(--x-tooltip-transition-duration) var(--x-tooltip-transition-easing),transform var(--x-tooltip-transition-duration) var(--x-tooltip-transition-easing),visibility 0s 0s;}[part\x3dpanel][data-placement\x3dtop]{bottom:calc(100% + var(--x-tooltip-arrow-size) + var(--x-tooltip-offset));left:50%;transform:translateX(-50%) translateY(4px);transform-origin:bottom center;}:host([open]) [part\x3dpanel][data-placement\x3dtop]{transform:translateX(-50%) translateY(0);}[part\x3dpanel][data-placement\x3dbottom]{top:calc(100% + var(--x-tooltip-arrow-size) + var(--x-tooltip-offset));left:50%;transform:translateX(-50%) translateY(-4px);transform-origin:top center;}:host([open]) [part\x3dpanel][data-placement\x3dbottom]{transform:translateX(-50%) translateY(0);}[part\x3dpanel][data-placement\x3dleft]{right:calc(100% + var(--x-tooltip-arrow-size) + var(--x-tooltip-offset));top:50%;transform:translateY(-50%) translateX(4px);transform-origin:center right;}:host([open]) [part\x3dpanel][data-placement\x3dleft]{transform:translateY(-50%) translateX(0);}[part\x3dpanel][data-placement\x3dright]{left:calc(100% + var(--x-tooltip-arrow-size) + var(--x-tooltip-offset));top:50%;transform:translateY(-50%) translateX(-4px);transform-origin:center left;}:host([open]) [part\x3dpanel][data-placement\x3dright]{transform:translateY(-50%) translateX(0);}[part\x3darrow]{position:absolute;width:var(--x-tooltip-arrow-size);height:var(--x-tooltip-arrow-size);background:var(--x-tooltip-bg);border:var(--x-tooltip-border);transform:rotate(45deg);pointer-events:none;}[part\x3dpanel][data-placement\x3dtop] [part\x3darrow]{bottom:calc(var(--x-tooltip-arrow-size) / -2);left:calc(50% - var(--x-tooltip-arrow-size) / 2);border-top:none;border-left:none;}[part\x3dpanel][data-placement\x3dbottom] [part\x3darrow]{top:calc(var(--x-tooltip-arrow-size) / -2);left:calc(50% - var(--x-tooltip-arrow-size) / 2);border-bottom:none;border-right:none;}[part\x3dpanel][data-placement\x3dleft] [part\x3darrow]{right:calc(var(--x-tooltip-arrow-size) / -2);top:calc(50% - var(--x-tooltip-arrow-size) / 2);border-bottom:none;border-left:none;}[part\x3dpanel][data-placement\x3dright] [part\x3darrow]{left:calc(var(--x-tooltip-arrow-size) / -2);top:calc(50% - var(--x-tooltip-arrow-size) / 2);border-top:none;border-right:none;}[part\x3dbody]{position:relative;}@media (prefers-reduced-motion:reduce){[part\x3dpanel]{transition:none !important;}}";
|
|
11
11
|
e.setAttribute("part","trigger");h.setAttribute("part","panel");h.setAttribute("role","tooltip");h.setAttribute("id",v);h.setAttribute("aria-hidden","true");h.setAttribute("data-placement","top");l.setAttribute("part","arrow");l.setAttribute("aria-hidden","true");m.setAttribute("part","body");p.setAttribute("part","text");q.setAttribute("name","content");e.appendChild(g);m.appendChild(p);m.appendChild(q);h.appendChild(l);h.appendChild(m);c.appendChild(d);c.appendChild(e);c.appendChild(h);this.__xTooltipId=
|
|
12
|
-
v;this.__xTooltipRefs={trigger:e,triggerSlot:g,panel:h,arrow:l,body:m,text:p,contentSlot:q}}
|
|
13
|
-
$APP.k(c,"keydown")),d.addEventListener("slotchange",$APP.k(c,"slotchange"))));
|
|
14
|
-
return c};return a},
|
|
12
|
+
v;this.__xTooltipRefs={trigger:e,triggerSlot:g,panel:h,arrow:l,body:m,text:p,contentSlot:q}}xu(this);this.__xTooltipHandlers=wu(this);d=$APP.k(this,"__xTooltipRefs");$APP.n(d)&&(c=$APP.k(this,"__xTooltipHandlers"),$APP.n(c)&&(d=$APP.k(d,"triggerSlot"),this.addEventListener("pointerenter",$APP.k(c,"pointerenter")),this.addEventListener("pointerleave",$APP.k(c,"pointerleave")),this.addEventListener("focusin",$APP.k(c,"focusin")),this.addEventListener("focusout",$APP.k(c,"focusout")),this.addEventListener("keydown",
|
|
13
|
+
$APP.k(c,"keydown")),d.addEventListener("slotchange",$APP.k(c,"slotchange"))));qu(this);return vu(this)};b.disconnectedCallback=function(){su(this);xu(this);var c=$APP.k(this,"__xTooltipTriggerEl");$APP.n(c)?(c.removeAttribute("aria-describedby"),this.__xTooltipTriggerEl=null,c=void 0):c=null;return c};b.attributeChangedCallback=function(){if($APP.n($APP.k(this,"__xTooltipRefs"))){qu(this);var c=this.hasAttribute("disabled");c=$APP.n($APP.n(c)?this.hasAttribute("open"):c)?uu(this):null}else c=null;
|
|
14
|
+
return c};return a},Eu=function(){return $APP.n(customElements.get("x-tooltip"))?null:customElements.define("x-tooltip",Du())},ou=new $APP.K(null,"delay","delay",-574225219),mu=new $APP.K(null,"delay-raw","delay-raw",886290425);var nu=new $APP.S(null,new $APP.Q(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null),Bu=["text","placement","delay","disabled","open"];$APP.Pd(["x-tooltip-show",new $APP.Q(null,2,[$APP.lm,!1,$APP.V,$APP.Qd],null),"x-tooltip-hide",new $APP.Q(null,2,[$APP.lm,!1,$APP.V,$APP.Qd],null)]);var Cu={n:0};$APP.ha("baredom.exports.x_tooltip.init",Eu);export const init=Eu;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// x-typography.d.ts — auto-generated by generate_types.bb, do not edit
|
|
2
|
+
|
|
3
|
+
export function init(): void;
|
|
4
|
+
|
|
5
|
+
export interface XTypography extends HTMLElement {
|
|
6
|
+
variant: string;
|
|
7
|
+
align: string;
|
|
8
|
+
truncate: boolean;
|
|
9
|
+
lineClamp: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
"x-typography": XTypography;
|
|
15
|
+
}
|
|
16
|
+
}
|
package/dist/x-typography.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
return $APP.k(a,"__xTypographyRefs")},
|
|
4
|
-
null);if($APP.N($APP.k(a,"__xTypographyModel"),b)){b=$APP.M(b);e=$APP.D(b,$APP.Vg);d=$APP.D(b,$APP.vj);var g=$APP.D(b,$APP.Mi);c=$APP.D(b,
|
|
5
|
-
(c=h.style,c.removeProperty("display"),c.removeProperty("-webkit-box-orient"),c.removeProperty("overflow"),c.removeProperty("-webkit-line-clamp"));a.__xTypographyModel=b}},
|
|
6
|
-
return $APP.n(b)?b:"left"},set:function(b){return $APP.n(b)?this.setAttribute("align",""+$APP.T.g(b)):this.removeAttribute("align")},enumerable:!0,configurable:!0});Object.defineProperty(a,"truncate",{get:function(){return this.hasAttribute("truncate")},set:function(b){return $APP.n(b)?this.setAttribute("truncate",""):this.removeAttribute("truncate")},enumerable:!0,configurable:!0});Object.defineProperty(a,"lineClamp",{get:function(){return
|
|
7
|
-
null?this.removeAttribute("line-clamp"):this.setAttribute("line-clamp",""+$APP.T.g(b|0))},enumerable:!0,configurable:!0})},
|
|
8
|
-
|
|
2
|
+
var aJ=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.r(isNaN(a))&&a>0?a:null):null},cJ=function(a){var b=$APP.k(a,"__xTypographyRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=bJ;d.setAttribute("part","container");d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xTypographyRefs=new $APP.Q(null,2,[$APP.Hi,b,$APP.Hj,d],null);
|
|
3
|
+
return $APP.k(a,"__xTypographyRefs")},iJ=function(a){var b=new $APP.Q(null,4,[$APP.ul,a.getAttribute("variant"),$APP.Xi,a.getAttribute("align"),dJ,a.getAttribute("truncate"),eJ,a.getAttribute("line-clamp")],null);var c=$APP.M(b),d=$APP.D(c,$APP.ul),e=$APP.D(c,$APP.Xi);b=$APP.D(c,dJ);c=$APP.D(c,eJ);d=typeof d==="string"?d.toLowerCase():null;d=$APP.I(fJ,d)?d:"body1";e=typeof e==="string"?e.toLowerCase():null;e=$APP.I(gJ,e)?e:"left";b=new $APP.Q(null,4,[$APP.Vg,d,$APP.vj,e,$APP.Mi,b!=null,hJ,aJ(c)],
|
|
4
|
+
null);if($APP.N($APP.k(a,"__xTypographyModel"),b)){b=$APP.M(b);e=$APP.D(b,$APP.Vg);d=$APP.D(b,$APP.vj);var g=$APP.D(b,$APP.Mi);c=$APP.D(b,hJ);var h=cJ(a);h=$APP.M(h);h=$APP.D(h,$APP.Hj);a.setAttribute("data-variant",e);a.setAttribute("data-align",d);$APP.n(g)?h.setAttribute("data-truncate",""):h.removeAttribute("data-truncate");c!=null&&$APP.r(g)?(e=h.style,e.display="-webkit-box",e.setProperty("-webkit-box-orient","vertical"),e.overflow="hidden",e.setProperty("-webkit-line-clamp",""+$APP.T.g(c))):
|
|
5
|
+
(c=h.style,c.removeProperty("display"),c.removeProperty("-webkit-box-orient"),c.removeProperty("overflow"),c.removeProperty("-webkit-line-clamp"));a.__xTypographyModel=b}},jJ=function(a){Object.defineProperty(a,"variant",{get:function(){var b=this.getAttribute("variant");return $APP.n(b)?b:"body1"},set:function(b){return $APP.n(b)?this.setAttribute("variant",""+$APP.T.g(b)):this.removeAttribute("variant")},enumerable:!0,configurable:!0});Object.defineProperty(a,"align",{get:function(){var b=this.getAttribute("align");
|
|
6
|
+
return $APP.n(b)?b:"left"},set:function(b){return $APP.n(b)?this.setAttribute("align",""+$APP.T.g(b)):this.removeAttribute("align")},enumerable:!0,configurable:!0});Object.defineProperty(a,"truncate",{get:function(){return this.hasAttribute("truncate")},set:function(b){return $APP.n(b)?this.setAttribute("truncate",""):this.removeAttribute("truncate")},enumerable:!0,configurable:!0});Object.defineProperty(a,"lineClamp",{get:function(){return aJ(this.getAttribute("line-clamp"))},set:function(b){return b==
|
|
7
|
+
null?this.removeAttribute("line-clamp"):this.setAttribute("line-clamp",""+$APP.T.g(b|0))},enumerable:!0,configurable:!0})},lJ=function(){var a=class extends HTMLElement{};a.observedAttributes=kJ;a.prototype.connectedCallback=function(){cJ(this);iJ(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&iJ(this);return null};jJ(a.prototype);return a},mJ=function(){$APP.n(customElements.get("x-typography"))||customElements.define("x-typography",
|
|
8
|
+
lJ());return null},eJ=new $APP.K(null,"line-clamp-raw","line-clamp-raw",-1982923204),hJ=new $APP.K(null,"line-clamp","line-clamp",-1079334403),dJ=new $APP.K(null,"truncate-raw","truncate-raw",1178232402);var kJ=["variant","align","truncate","line-clamp"],fJ=new $APP.S(null,new $APP.Q(null,16,["subtitle2",null,"overline",null,"h3",null,"body1",null,"body2",null,"small",null,"subtitle1",null,"h2",null,"kbd",null,"h4",null,"h5",null,"blockquote",null,"h1",null,"caption",null,"code",null,"h6",null],null),null),gJ=new $APP.S(null,new $APP.Q(null,4,["right",null,"justify",null,"center",null,"left",null],null),null);var bJ=":host{display:block;color-scheme:light dark;font-family:var(--x-typography-font-family,"+$APP.T.g("system-ui,-apple-system,sans-serif")+");color:var(--x-typography-color,var(--x-color-text,inherit));}[part\x3dcontainer]{margin:0;padding:0;}:host(:not([data-variant])),:host([data-variant\x3d'body1']){font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:normal;}:host([data-variant\x3d'h1']){font-size:2.5rem;font-weight:700;line-height:1.2;letter-spacing:-0.02em;}:host([data-variant\x3d'h2']){font-size:2rem;font-weight:700;line-height:1.25;letter-spacing:-0.015em;}:host([data-variant\x3d'h3']){font-size:1.75rem;font-weight:600;line-height:1.3;letter-spacing:-0.01em;}:host([data-variant\x3d'h4']){font-size:1.5rem;font-weight:600;line-height:1.35;letter-spacing:-0.005em;}:host([data-variant\x3d'h5']){font-size:1.25rem;font-weight:600;line-height:1.4;letter-spacing:normal;}:host([data-variant\x3d'h6']){font-size:1.125rem;font-weight:600;line-height:1.4;letter-spacing:normal;}:host([data-variant\x3d'subtitle1']){font-size:1.125rem;font-weight:500;line-height:1.4;letter-spacing:0.005em;}:host([data-variant\x3d'subtitle2']){font-size:0.875rem;font-weight:500;line-height:1.4;letter-spacing:0.01em;}:host([data-variant\x3d'body2']){font-size:0.875rem;font-weight:400;line-height:1.5;letter-spacing:normal;}:host([data-variant\x3d'caption']){font-size:0.75rem;font-weight:400;line-height:1.4;letter-spacing:0.02em;}:host([data-variant\x3d'overline']){font-size:0.625rem;font-weight:600;line-height:1.5;letter-spacing:0.1em;text-transform:uppercase;}:host([data-variant\x3d'small']){font-size:0.8125rem;font-weight:400;line-height:1.4;letter-spacing:normal;}:host([data-variant\x3d'blockquote']){font-size:1.125rem;font-weight:400;line-height:1.6;letter-spacing:normal;font-style:italic;}:host([data-variant\x3d'blockquote']) [part\x3dcontainer]{border-left:3px solid var(--x-typography-blockquote-border-color,var(--x-color-border,"+
|
|
9
9
|
$APP.T.g("rgba(0,0,0,0.2)")+"));padding:var(--x-typography-blockquote-padding,0 0 0 1em);}@media (prefers-color-scheme:dark){:host([data-variant\x3d'blockquote']) [part\x3dcontainer]{border-left-color:var(--x-typography-blockquote-border-color,var(--x-color-border,"+$APP.T.g("rgba(255,255,255,0.25)")+"));}}:host([data-variant\x3d'code']){font-family:var(--x-typography-mono-font-family,"+$APP.T.g('ui-monospace,"SFMono-Regular","SF Mono",Menlo,Consolas,monospace')+");font-size:0.875rem;font-weight:400;line-height:1.5;}:host([data-variant\x3d'code']) [part\x3dcontainer]{background:var(--x-typography-code-bg,var(--x-color-surface,"+
|
|
10
10
|
$APP.T.g("rgba(0,0,0,0.06)")+"));border-radius:var(--x-typography-code-radius,var(--x-radius-sm,4px));padding:var(--x-typography-code-padding,0.15em 0.35em);}@media (prefers-color-scheme:dark){:host([data-variant\x3d'code']) [part\x3dcontainer]{background:var(--x-typography-code-bg,var(--x-color-surface,"+$APP.T.g("rgba(255,255,255,0.1)")+"));}}:host([data-variant\x3d'kbd']){font-family:var(--x-typography-mono-font-family,"+$APP.T.g('ui-monospace,"SFMono-Regular","SF Mono",Menlo,Consolas,monospace')+
|
|
11
11
|
");font-size:0.875rem;font-weight:400;line-height:1.5;}:host([data-variant\x3d'kbd']) [part\x3dcontainer]{background:var(--x-typography-kbd-bg,var(--x-color-surface,"+$APP.T.g("rgba(0,0,0,0.06)")+"));border:1px solid var(--x-typography-kbd-border,var(--x-color-border,"+$APP.T.g("rgba(0,0,0,0.15)")+"));border-radius:var(--x-typography-kbd-radius,var(--x-radius-sm,4px));padding:var(--x-typography-kbd-padding,0.15em 0.4em);}@media (prefers-color-scheme:dark){:host([data-variant\x3d'kbd']) [part\x3dcontainer]{background:var(--x-typography-kbd-bg,var(--x-color-surface,"+
|
|
12
|
-
$APP.T.g("rgba(255,255,255,0.1)")+"));border-color:var(--x-typography-kbd-border,var(--x-color-border,"+$APP.T.g("rgba(255,255,255,0.2)")+"));}}:host([data-align\x3d'left']){text-align:left;}:host([data-align\x3d'center']){text-align:center;}:host([data-align\x3d'right']){text-align:right;}:host([data-align\x3d'justify']){text-align:justify;}[part\x3dcontainer][data-truncate]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}";$APP.ha("baredom.exports.x_typography.init",
|
|
12
|
+
$APP.T.g("rgba(255,255,255,0.1)")+"));border-color:var(--x-typography-kbd-border,var(--x-color-border,"+$APP.T.g("rgba(255,255,255,0.2)")+"));}}:host([data-align\x3d'left']){text-align:left;}:host([data-align\x3d'center']){text-align:center;}:host([data-align\x3d'right']){text-align:right;}:host([data-align\x3d'justify']){text-align:justify;}[part\x3dcontainer][data-truncate]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}";$APP.ha("baredom.exports.x_typography.init",mJ);export const init=mJ;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// x-welcome-tour.d.ts — auto-generated by generate_types.bb, do not edit
|
|
2
|
+
|
|
3
|
+
export function init(): void;
|
|
4
|
+
|
|
5
|
+
export interface XWelcomeTourEventMap {
|
|
6
|
+
"x-welcome-tour-start": CustomEvent<{}>;
|
|
7
|
+
"x-welcome-tour-step-change": CustomEvent<{ step: number; previousStep: number }>;
|
|
8
|
+
"x-welcome-tour-complete": CustomEvent<{ stepsCompleted: number }>;
|
|
9
|
+
"x-welcome-tour-skip": CustomEvent<{ step: number }>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface XWelcomeTour extends HTMLElement {
|
|
13
|
+
connector: string;
|
|
14
|
+
open: boolean;
|
|
15
|
+
prevLabel: string;
|
|
16
|
+
nextLabel: string;
|
|
17
|
+
counter: boolean;
|
|
18
|
+
readonly totalSteps: number;
|
|
19
|
+
doneLabel: string;
|
|
20
|
+
skipLabel: string;
|
|
21
|
+
dots: boolean;
|
|
22
|
+
step: number;
|
|
23
|
+
start(): void;
|
|
24
|
+
next(): void;
|
|
25
|
+
prev(): void;
|
|
26
|
+
goTo(step: number): void;
|
|
27
|
+
complete(): void;
|
|
28
|
+
skip(): void;
|
|
29
|
+
|
|
30
|
+
addEventListener<K extends keyof XWelcomeTourEventMap>(
|
|
31
|
+
type: K,
|
|
32
|
+
listener: (this: XWelcomeTour, ev: XWelcomeTourEventMap[K]) => any,
|
|
33
|
+
options?: boolean | AddEventListenerOptions
|
|
34
|
+
): void;
|
|
35
|
+
addEventListener(
|
|
36
|
+
type: string,
|
|
37
|
+
listener: EventListenerOrEventListenerObject,
|
|
38
|
+
options?: boolean | AddEventListenerOptions
|
|
39
|
+
): void;
|
|
40
|
+
removeEventListener<K extends keyof XWelcomeTourEventMap>(
|
|
41
|
+
type: K,
|
|
42
|
+
listener: (this: XWelcomeTour, ev: XWelcomeTourEventMap[K]) => any,
|
|
43
|
+
options?: boolean | EventListenerOptions
|
|
44
|
+
): void;
|
|
45
|
+
removeEventListener(
|
|
46
|
+
type: string,
|
|
47
|
+
listener: EventListenerOrEventListenerObject,
|
|
48
|
+
options?: boolean | EventListenerOptions
|
|
49
|
+
): void;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface XWelcomeTourStepEventMap {
|
|
53
|
+
"x-welcome-tour-step-connected": CustomEvent<{}>;
|
|
54
|
+
"x-welcome-tour-step-disconnected": CustomEvent<{}>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface XWelcomeTourStep extends HTMLElement {
|
|
58
|
+
target: string;
|
|
59
|
+
title: string;
|
|
60
|
+
placement: string;
|
|
61
|
+
connector: string;
|
|
62
|
+
cutoutPadding: number;
|
|
63
|
+
cutoutRadius: number;
|
|
64
|
+
|
|
65
|
+
addEventListener<K extends keyof XWelcomeTourStepEventMap>(
|
|
66
|
+
type: K,
|
|
67
|
+
listener: (this: XWelcomeTourStep, ev: XWelcomeTourStepEventMap[K]) => any,
|
|
68
|
+
options?: boolean | AddEventListenerOptions
|
|
69
|
+
): void;
|
|
70
|
+
addEventListener(
|
|
71
|
+
type: string,
|
|
72
|
+
listener: EventListenerOrEventListenerObject,
|
|
73
|
+
options?: boolean | AddEventListenerOptions
|
|
74
|
+
): void;
|
|
75
|
+
removeEventListener<K extends keyof XWelcomeTourStepEventMap>(
|
|
76
|
+
type: K,
|
|
77
|
+
listener: (this: XWelcomeTourStep, ev: XWelcomeTourStepEventMap[K]) => any,
|
|
78
|
+
options?: boolean | EventListenerOptions
|
|
79
|
+
): void;
|
|
80
|
+
removeEventListener(
|
|
81
|
+
type: string,
|
|
82
|
+
listener: EventListenerOrEventListenerObject,
|
|
83
|
+
options?: boolean | EventListenerOptions
|
|
84
|
+
): void;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare global {
|
|
88
|
+
interface HTMLElementTagNameMap {
|
|
89
|
+
"x-welcome-tour": XWelcomeTour;
|
|
90
|
+
"x-welcome-tour-step": XWelcomeTourStep;
|
|
91
|
+
}
|
|
92
|
+
}
|
package/dist/x-welcome-tour.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
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:x=new $APP.O(null,2,5,$APP.P,["bottom","top"],null)}a=$APP.Ac(x,0,null);x=$APP.Ac(x,1,null);a=g(a);x=g(x);return $APP.n($APP.
|
|
8
|
-
switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.
|
|
9
|
-
null)],null);case "right":return new $APP.
|
|
10
|
-
$APP.
|
|
11
|
-
null);case "left":return a=
|
|
12
|
-
null)}},
|
|
13
|
-
"string"&&$APP.N(c.trim(),"")?c.trim():null;d=$APP.n(d)?d:"";e=typeof e==="string"&&$APP.I(
|
|
14
|
-
c.push(e);d+=1}else break;return c},
|
|
15
|
-
$APP.n($APP.n(a)?a.offsetWidth>0:a)?a:null):null},
|
|
16
|
-
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))");var b=a.shadowRoot,c=
|
|
17
|
-
|
|
2
|
+
var JC=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.r(isNaN(a))&&a>=0?a:0):0},KC=function(a,b){return b>0?$APP.ph.i($APP.oh.i(a,0),b-1):0},LC=function(a,b){return""+$APP.T.g(a+1)+" / "+$APP.T.g(b)},OC=function(a,b,c){var d=$APP.M(a);a=$APP.D(d,$APP.Ll);var e=$APP.D(d,$APP.Kl),g=$APP.D(d,$APP.Xg);d=$APP.D(d,$APP.Yg);return new $APP.Q(null,6,[$APP.Ll,a-b,$APP.Kl,e-b,$APP.Xg,g+2*b,$APP.Yg,d+2*b,MC,c,NC,c],null)},PC=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}},QC=function(a,b,c,d){var e=$APP.M(c);c=$APP.D(e,$APP.Ll);var g=$APP.D(e,$APP.Kl),h=$APP.D(e,$APP.Xg);e=$APP.D(e,$APP.Yg);var l=$APP.M(d);d=$APP.D(l,$APP.Xg);l=$APP.D(l,$APP.Yg);var m=c+h/2+-(d/2),p=g+e/2+-(l/2);switch(a){case "top":return new $APP.Q(null,2,[$APP.Ll,
|
|
4
|
+
m,$APP.Kl,g-l-b],null);case "bottom":return new $APP.Q(null,2,[$APP.Ll,m,$APP.Kl,g+e+b],null);case "left":return new $APP.Q(null,2,[$APP.Ll,c-d-b,$APP.Kl,p],null);case "right":return new $APP.Q(null,2,[$APP.Ll,c+h+b,$APP.Kl,p],null);case "top-start":return new $APP.Q(null,2,[$APP.Ll,c,$APP.Kl,g-l-b],null);case "top-end":return new $APP.Q(null,2,[$APP.Ll,c+h-d,$APP.Kl,g-l-b],null);case "bottom-start":return new $APP.Q(null,2,[$APP.Ll,c,$APP.Kl,g+e+b],null);case "bottom-end":return new $APP.Q(null,
|
|
5
|
+
2,[$APP.Ll,c+h-d,$APP.Kl,g+e+b],null);default:return new $APP.Q(null,2,[$APP.Ll,m,$APP.Kl,g+e+b],null)}},RC=function(a,b,c,d,e){function g(y){var A=QC(y,h,b,c);A=$APP.M(A);var C=$APP.D(A,$APP.Ll),E=$APP.D(A,$APP.Kl);A=$APP.ph.i($APP.oh.i(C,8),p-l-8);var H=$APP.ph.i($APP.oh.i(E,8),q-m-8);E=$APP.M(new $APP.Q(null,2,[$APP.Ll,C,$APP.Kl,E],null));C=$APP.D(E,$APP.Ll);E=$APP.D(E,$APP.Kl);var G=$APP.M(c),J=$APP.D(G,$APP.Xg);G=$APP.D(G,$APP.Yg);var R=$APP.M(d),aa=$APP.D(R,$APP.Xg);R=$APP.D(R,$APP.Yg);return new $APP.Q(null,
|
|
6
|
+
4,[$APP.Ll,A,$APP.Kl,H,$APP.vi,y,$APP.Xl,C>=8&&E>=8&&C+J<=aa-8&&E+G<=R-8],null)}a:switch(e){case "line":case "curve":var h=48;break a;default:h=8}e=$APP.M(c);var l=$APP.D(e,$APP.Xg),m=$APP.D(e,$APP.Yg);e=$APP.M(d);var p=$APP.D(e,$APP.Xg),q=$APP.D(e,$APP.Yg);e=g(a);var v=g(PC(a));a:switch(a){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var x=new $APP.O(null,2,5,$APP.P,["left","right"],null);break a;case "left":case "right":x=new $APP.O(null,2,5,$APP.P,
|
|
7
|
+
["bottom","top"],null);break a;default:x=new $APP.O(null,2,5,$APP.P,["bottom","top"],null)}a=$APP.Ac(x,0,null);x=$APP.Ac(x,1,null);a=g(a);x=g(x);return $APP.n($APP.Xl.g(e))?e:$APP.n($APP.Xl.g(v))?v:$APP.n($APP.Xl.g(a))?a:$APP.n($APP.Xl.g(x))?x:e},UC=function(a,b,c){var d=$APP.M(a);a=$APP.D(d,$APP.Ll);var e=$APP.D(d,$APP.Kl),g=$APP.D(d,$APP.Xg);d=$APP.D(d,$APP.Yg);var h=$APP.M(b);b=$APP.D(h,$APP.Ll);var l=$APP.D(h,$APP.Kl),m=$APP.D(h,$APP.Xg);h=$APP.D(h,$APP.Yg);var p=a+g/2,q=e+d/2,v=b+m/2,x=l+h/2;
|
|
8
|
+
switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.Q(null,2,[SC,new $APP.Q(null,2,[$APP.Ll,p,$APP.Kl,e+d],null),TC,new $APP.Q(null,2,[$APP.Ll,v,$APP.Kl,l],null)],null);case "top":case "top-start":case "top-end":return new $APP.Q(null,2,[SC,new $APP.Q(null,2,[$APP.Ll,p,$APP.Kl,e],null),TC,new $APP.Q(null,2,[$APP.Ll,v,$APP.Kl,l+h],null)],null);case "left":return new $APP.Q(null,2,[SC,new $APP.Q(null,2,[$APP.Ll,a,$APP.Kl,q],null),TC,new $APP.Q(null,2,[$APP.Ll,b+m,$APP.Kl,x],
|
|
9
|
+
null)],null);case "right":return new $APP.Q(null,2,[SC,new $APP.Q(null,2,[$APP.Ll,a+g,$APP.Kl,q],null),TC,new $APP.Q(null,2,[$APP.Ll,b,$APP.Kl,x],null)],null);default:return new $APP.Q(null,2,[SC,new $APP.Q(null,2,[$APP.Ll,p,$APP.Kl,e+d],null),TC,new $APP.Q(null,2,[$APP.Ll,v,$APP.Kl,l],null)],null)}},VC=function(a,b){return $APP.ph.i($APP.oh.i(a,16),b)},cD=function(a,b,c){var d=$APP.M(b),e=$APP.D(d,$APP.Ll);b=$APP.D(d,$APP.Kl);var g=$APP.D(d,$APP.Xg);d=$APP.D(d,$APP.Yg);var h=$APP.M(c);c=$APP.D(h,
|
|
10
|
+
$APP.Ll);var l=$APP.D(h,$APP.Kl),m=$APP.D(h,$APP.Xg);h=$APP.D(h,$APP.Yg);e+=g/2;b+=d/2;switch(a){case "bottom":case "bottom-start":case "bottom-end":return a=VC(e-c,m-16),new $APP.Q(null,4,[$APP.si,"-"+$APP.T.g(8)+"px",$APP.Lh,""+$APP.T.g(a)+"px",WC,"-"+$APP.T.g(4)+"px",XC,"var(--x-welcome-tour-popover-bg)"],null);case "top":case "top-start":case "top-end":return a=VC(e-c,m-16),new $APP.Q(null,4,[$APP.Kk,"-"+$APP.T.g(8)+"px",$APP.Lh,""+$APP.T.g(a)+"px",WC,"-"+$APP.T.g(4)+"px",YC,"var(--x-welcome-tour-popover-bg)"],
|
|
11
|
+
null);case "left":return a=VC(b-l,h-16),new $APP.Q(null,4,[ZC,"-"+$APP.T.g(8)+"px",$APP.si,""+$APP.T.g(a)+"px",$C,"-"+$APP.T.g(4)+"px",aD,"var(--x-welcome-tour-popover-bg)"],null);case "right":return a=VC(b-l,h-16),new $APP.Q(null,4,[$APP.Lh,"-"+$APP.T.g(8)+"px",$APP.si,""+$APP.T.g(a)+"px",$C,"-"+$APP.T.g(4)+"px",bD,"var(--x-welcome-tour-popover-bg)"],null);default:return a=VC(e-c,m-16),new $APP.Q(null,4,[$APP.si,"-"+$APP.T.g(8)+"px",$APP.Lh,""+$APP.T.g(a)+"px",WC,"-"+$APP.T.g(4)+"px",XC,"var(--x-welcome-tour-popover-bg)"],
|
|
12
|
+
null)}},dD=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.r(isNaN(a))&&a>=0?a:8):8},eD=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.r(isNaN(a))&&a>=0?a:4):4},fD=function(a){return a==null?!0:$APP.N((""+$APP.T.g(a)).trim().toLowerCase(),"false")},oD=function(a){var b=$APP.M(a),c=$APP.D(b,$APP.vl),d=$APP.D(b,$APP.uk),e=$APP.D(b,$APP.jn),g=$APP.D(b,$APP.Di);a=$APP.D(b,gD);var h=$APP.D(b,hD);b=$APP.D(b,iD);c=typeof c===
|
|
13
|
+
"string"&&$APP.N(c.trim(),"")?c.trim():null;d=$APP.n(d)?d:"";e=typeof e==="string"&&$APP.I(jD,e.toLowerCase())?e.toLowerCase():"bottom";g=typeof g==="string"&&$APP.I(kD,g.toLowerCase())?g.toLowerCase():null;return new $APP.Q(null,7,[$APP.hn,c,$APP.xi,d,$APP.Qj,e,$APP.ri,g,lD,dD(a),mD,eD(h),nD,fD(b)],null)},pD=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},qD=function(a){a=a.children;for(var b=a.length,c=[],d=0;;)if(d<b){var e=a[d];$APP.B.i(e.tagName.toLowerCase(),"x-welcome-tour-step")&&
|
|
14
|
+
c.push(e);d+=1}else break;return c},rD=function(a){var b=$APP.k(a,"__xWelcomeTourStepModel");return $APP.n(b)?b:oD(new $APP.Q(null,7,[$APP.vl,a.getAttribute("target"),$APP.uk,a.getAttribute("title"),$APP.jn,a.getAttribute("placement"),$APP.Di,a.getAttribute("connector"),gD,a.getAttribute("cutout-padding"),hD,a.getAttribute("cutout-radius"),iD,$APP.n(a.hasAttribute("scroll-to"))?a.getAttribute("scroll-to"):null],null))},sD=function(a){return typeof a==="string"&&$APP.N(a,"")?(a=document.querySelector(a),
|
|
15
|
+
$APP.n($APP.n(a)?a.offsetWidth>0:a)?a:null):null},DD=function(a){a=$APP.Pg(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=pD("svg"),d=pD("defs"),e=pD("mask"),g=pD("rect"),h=pD("rect"),l=pD("filter"),m=pD("feGaussianBlur"),p=pD("rect"),q=pD("rect"),v=document.createElement("div"),x=document.createElement("div"),y=document.createElement("span"),A=document.createElement("span"),C=document.createElement("button"),E=document.createElement("div"),H=document.createElement("div"),G=document.createElement("button"),J=document.createElement("div"),
|
|
17
|
+
R=document.createElement("button"),aa=document.createElement("div"),la=pD("svg"),Ca=pD("path");c.setAttribute("part","backdrop-svg");c.setAttribute("aria-hidden","true");e.setAttribute("id","tour-cutout-mask");g.setAttribute("width","100%");g.setAttribute("height","100%");g.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
18
|
h.setAttribute("ry","0");e.appendChild(g);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);p.setAttribute("width","100%");p.setAttribute("height","100%");p.setAttribute("fill","var(--x-welcome-tour-backdrop,rgba(0,0,0,0.5))");p.setAttribute("mask","url(#tour-cutout-mask)");c.appendChild(p);q.setAttribute("class","cutout-rect");q.setAttribute("fill","var(--x-welcome-tour-glow-color,rgba(255,255,255,0.15))");
|
|
19
19
|
q.setAttribute("filter","url(#tour-glow)");q.setAttribute("x","0");q.setAttribute("y","0");q.setAttribute("width","0");q.setAttribute("height","0");q.setAttribute("rx","0");q.setAttribute("ry","0");c.appendChild(q);v.setAttribute("part","popover");v.setAttribute("role","dialog");v.setAttribute("aria-modal","false");x.setAttribute("part","header");y.setAttribute("part","title");A.setAttribute("part","counter");C.setAttribute("part","close-button");C.setAttribute("type","button");C.setAttribute("aria-label",
|
|
20
|
-
"Close tour");C.textContent="×";x.appendChild(y);x.appendChild(A);x.appendChild(C);E.setAttribute("part","body");H.setAttribute("part","footer");G.setAttribute("part","prev-button");G.setAttribute("type","button");J.setAttribute("part","dots");
|
|
21
|
-
|
|
20
|
+
"Close tour");C.textContent="×";x.appendChild(y);x.appendChild(A);x.appendChild(C);E.setAttribute("part","body");H.setAttribute("part","footer");G.setAttribute("part","prev-button");G.setAttribute("type","button");J.setAttribute("part","dots");R.setAttribute("part","next-button");R.setAttribute("type","button");H.appendChild(G);H.appendChild(J);H.appendChild(R);aa.setAttribute("part","arrow");v.appendChild(aa);v.appendChild(x);v.appendChild(E);v.appendChild(H);la.setAttribute("part","connector-svg");
|
|
21
|
+
la.setAttribute("aria-hidden","true");la.appendChild(Ca);b.appendChild(c);b.appendChild(v);b.appendChild(la);a.style.pointerEvents="auto";return $APP.zf([$APP.hj,tD,uD,vD,wD,$APP.Sh,xD,$APP.Km,yD,zD,$APP.mk,AD,$APP.Uk,BD,CD],[G,A,J,v,la,R,Ca,E,a,h,c,aa,y,C,q])},ED=function(a,b){a=$APP.M(a);var c=$APP.D(a,zD),d=$APP.D(a,CD),e=$APP.M(b);b=$APP.D(e,$APP.Ll);a=$APP.D(e,$APP.Kl);var g=$APP.D(e,$APP.Xg),h=$APP.D(e,$APP.Yg),l=$APP.D(e,MC);e=$APP.D(e,NC);c=$APP.t(new $APP.O(null,2,5,$APP.P,[c,d],null));d=
|
|
22
22
|
null;for(var m=0,p=0;;)if(p<m){var q=d.F(null,p);q.setAttribute("x",""+$APP.T.g(b));q.setAttribute("y",""+$APP.T.g(a));q.setAttribute("width",""+$APP.T.g(g));q.setAttribute("height",""+$APP.T.g(h));q.setAttribute("rx",""+$APP.T.g(l));q.setAttribute("ry",""+$APP.T.g(e));p+=1}else if(c=$APP.t(c))d=c,$APP.Nc(d)?(c=$APP.yb(d),p=$APP.zb(d),d=c,m=$APP.z(c),c=p):(c=$APP.u(d),c.setAttribute("x",""+$APP.T.g(b)),c.setAttribute("y",""+$APP.T.g(a)),c.setAttribute("width",""+$APP.T.g(g)),c.setAttribute("height",
|
|
23
|
-
""+$APP.T.g(h)),c.setAttribute("rx",""+$APP.T.g(l)),c.setAttribute("ry",""+$APP.T.g(e)),c=$APP.w(d),d=null,m=0),p=0;else break},
|
|
24
|
-
"transparent",a.style.borderRightColor="transparent",c=$APP.si.g(b),$APP.n(c)&&(a.style.top=c),c=$APP.Kk.g(b),$APP.n(c)&&(a.style.bottom=c),c=$APP.Lh.g(b),$APP.n(c)&&(a.style.left=c),c=
|
|
25
|
-
b)):a.style.display="none"},
|
|
26
|
-
$APP.zj;break b;case "left":case "right":b=$APP.
|
|
27
|
-
"none"},
|
|
28
|
-
|
|
29
|
-
[a.getAttribute("connector"),a.getAttribute("skip-label"),a.hasAttribute("counter"),a.getAttribute("step"),a.hasAttribute("dots"),a.getAttribute("done-label"),a.getAttribute("next-label"),a.hasAttribute("open"),a.getAttribute("prev-label")]);var b=$APP.M(a);a=$APP.D(b,
|
|
30
|
-
|
|
31
|
-
E:$APP.ri.g(b)}(),l=
|
|
32
|
-
E:$APP.Qj.g(g)}();x=$APP.n(C)?new $APP.
|
|
33
|
-
a)):
|
|
34
|
-
return null},
|
|
35
|
-
|
|
36
|
-
c=
|
|
37
|
-
a=
|
|
38
|
-
q.key;if($APP.B.i(v,"Escape"))q.preventDefault(),q.stopPropagation(),
|
|
39
|
-
$APP.n($APP.n(A)?$APP.B.i(x,y):A)?(q.preventDefault(),v.focus()):$APP.r(A)&&$APP.B.i(x,v)&&(q.preventDefault(),y.focus())}}return null},e=function(q){var v=$APP.k(a,"__xWelcomeTourLayer");$APP.n($APP.n(v)?$APP.B.i(q.target,$APP.mk.g(v)):v)&&
|
|
40
|
-
c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",g,{passive:!0});window.addEventListener("resize",g,{passive:!0});$APP.hj.g(b).addEventListener("click",h);$APP.Sh.g(b).addEventListener("click",l);
|
|
41
|
-
if($APP.n(b)){var c=$APP.M(b);b=$APP.D(c,$APP.lk);var d=$APP.D(c,$APP.Jk),e=$APP.D(c,
|
|
42
|
-
$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},
|
|
43
|
-
e=
|
|
44
|
-
set:function(b){return this.setAttribute("step",""+$APP.T.g($APP.n(b)?b:0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"connector",{get:function(){var b=this.getAttribute("connector");return $APP.n(b)?b:"arrow"},set:function(b){return $APP.n(b)?this.setAttribute("connector",""+$APP.T.g(b)):this.removeAttribute("connector")},enumerable:!0,configurable:!0});Object.defineProperty(a,"totalSteps",{get:function(){return
|
|
23
|
+
""+$APP.T.g(h)),c.setAttribute("rx",""+$APP.T.g(l)),c.setAttribute("ry",""+$APP.T.g(e)),c=$APP.w(d),d=null,m=0),p=0;else break},FD=function(a,b,c){a.style.left=""+$APP.T.g(b)+"px";a.style.top=""+$APP.T.g(c)+"px"},GD=function(a,b,c,d,e){$APP.B.i(b,"arrow")?(b=cD(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.si.g(b),$APP.n(c)&&(a.style.top=c),c=$APP.Kk.g(b),$APP.n(c)&&(a.style.bottom=c),c=$APP.Lh.g(b),$APP.n(c)&&(a.style.left=c),c=ZC.g(b),$APP.n(c)&&(a.style.right=c),c=WC.g(b),$APP.n(c)&&(a.style.marginLeft=c),c=$C.g(b),$APP.n(c)&&(a.style.marginTop=c),c=YC.g(b),$APP.n(c)&&(a.style.borderTopColor=c),c=XC.g(b),$APP.n(c)&&(a.style.borderBottomColor=c),c=aD.g(b),$APP.n(c)&&(a.style.borderLeftColor=c),b=bD.g(b),$APP.n(b)&&(a.style.borderRightColor=
|
|
25
|
+
b)):a.style.display="none"},HD=function(a,b,c,d,e){var g=$APP.M(a);a=$APP.D(g,wD);g=$APP.D(g,xD);if($APP.B.i(b,"line")||$APP.B.i(b,"curve")){c=UC(c,d,e);d=$APP.M(c);c=$APP.D(d,SC);var h=$APP.D(d,TC);a:{d=$APP.M(c);c=$APP.D(d,$APP.Ll);d=$APP.D(d,$APP.Kl);var l=$APP.M(h);h=$APP.D(l,$APP.Ll);l=$APP.D(l,$APP.Kl);switch(b){case "line":b="M"+$APP.T.g(c)+","+$APP.T.g(d)+" L"+$APP.T.g(h)+","+$APP.T.g(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.zj;break b;case "left":case "right":b=$APP.Il;break b;default:b=$APP.zj}if($APP.B.i(b,$APP.zj)){b=(d+l)/2;b="M"+$APP.T.g(c)+","+$APP.T.g(d)+" C"+$APP.T.g(c)+","+$APP.T.g(b)+" "+$APP.T.g(h)+","+$APP.T.g(b)+" "+$APP.T.g(h)+","+$APP.T.g(l);break a}b=(c+h)/2;b="M"+$APP.T.g(c)+","+$APP.T.g(d)+" C"+$APP.T.g(b)+","+$APP.T.g(d)+" "+$APP.T.g(b)+","+$APP.T.g(l)+" "+$APP.T.g(h)+","+$APP.T.g(l);break a;default:b=null;break a}b=void 0}a.style.display="block";g.setAttribute("d",$APP.n(b)?b:"")}else a.style.display=
|
|
27
|
+
"none"},ID=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.i(d,b)&&e.setAttribute("data-active","");a.appendChild(e);d+=1}else break;else a.style.display="none"},JD=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},KD=function(a){return $APP.xe($APP.uc(a.querySelectorAll("button:not([disabled]),a[href],[tabindex]:not([tabindex\x3d'-1'])")))},
|
|
28
|
+
LD=function(a){var b=$APP.k(a,"__xWelcomeTourRestore");$APP.n($APP.n(b)?b.isConnected:b)&&b.focus();a.__xWelcomeTourRestore=null},MD=function(a,b,c,d){return a.dispatchEvent(new CustomEvent(b,{detail:$APP.Hh(c),bubbles:!0,composed:!0,cancelable:$APP.F(d)}))},ND=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"})}},ZD=function(a){a=$APP.zf([$APP.Di,OD,PD,QD,$APP.Xk,RD,SD,$APP.Om,TD],
|
|
29
|
+
[a.getAttribute("connector"),a.getAttribute("skip-label"),a.hasAttribute("counter"),a.getAttribute("step"),a.hasAttribute("dots"),a.getAttribute("done-label"),a.getAttribute("next-label"),a.hasAttribute("open"),a.getAttribute("prev-label")]);var b=$APP.M(a);a=$APP.D(b,TD);var c=$APP.D(b,$APP.Di),d=$APP.D(b,OD),e=$APP.D(b,PD),g=$APP.D(b,$APP.Xk),h=$APP.D(b,QD),l=$APP.D(b,RD),m=$APP.D(b,SD);b=$APP.D(b,$APP.Om);c=typeof c==="string"&&$APP.I(UD,c.toLowerCase())?c.toLowerCase():"arrow";return $APP.zf([$APP.ri,
|
|
30
|
+
VD,WD,PD,XD,$APP.Xk,YD,$APP.Om,$APP.Hm],[c,$APP.n(m)?m:"Next",$APP.n(d)?d:"Skip",$APP.F(e),$APP.n(a)?a:"Back",$APP.F(g),$APP.n(l)?l:"Done",$APP.F(b),JC(h)])},$D=function(a){var b=ZD(a),c=$APP.k(a,"__xWelcomeTourLayer");a.__xWelcomeTourModel=b;if($APP.r($APP.Om.g(b)))$APP.n(c)&&($APP.Rg(yD.g(c)),a.__xWelcomeTourLayer=null,LD(a));else{var d=$APP.n(c)?c:DD(a);$APP.n(c)||(a.__xWelcomeTourLayer=d);var e=qD(a);a=e.length;c=KC($APP.Hm.g(b),a);if(a>0){e=e[c];var g=rD(e),h=function(){var E=$APP.ri.g(g);return $APP.n(E)?
|
|
31
|
+
E:$APP.ri.g(b)}(),l=sD($APP.hn.g(g)),m=$APP.n(l)?function(){var E=l.getBoundingClientRect();return new $APP.Q(null,4,[$APP.Ll,E.x,$APP.Kl,E.y,$APP.Xg,E.width,$APP.Yg,E.height],null)}():null,p=$APP.n(m)?OC(m,lD.g(g),mD.g(g)):null,q=new $APP.Q(null,2,[$APP.Xg,window.innerWidth,$APP.Yg,window.innerHeight],null),v=vD.g(d),x=v.offsetWidth,y=v.offsetHeight,A=new $APP.Q(null,2,[$APP.Xg,x>0?x:360,$APP.Yg,y>0?y:200],null),C=$APP.n(m)?RC($APP.Qj.g(g),m,A,q,h):null;q=function(){var E=$APP.vi.g(C);return $APP.n(E)?
|
|
32
|
+
E:$APP.Qj.g(g)}();x=$APP.n(C)?new $APP.Q(null,4,[$APP.Ll,$APP.Ll.g(C),$APP.Kl,$APP.Kl.g(C),$APP.Xg,x,$APP.Yg,y],null):null;y=c>=a-1;A=c===0;$APP.n(p)?ED(d,p):ED(d,new $APP.Q(null,6,[$APP.Ll,-9999,$APP.Kl,-9999,$APP.Xg,0,$APP.Yg,0,MC,0,NC,0],null));$APP.n(C)&&FD(v,$APP.Ll.g(C),$APP.Kl.g(C));$APP.n($APP.n(m)?x:m)&&GD(AD.g(d),h,q,m,x);$APP.n($APP.n(m)?x:m)&&HD(d,h,m,x,q);$APP.Uk.g(d).textContent=$APP.xi.g(g);JD($APP.Km.g(d),e);$APP.n(PD.g(b))?(tD.g(d).style.display="inline",tD.g(d).textContent=LC(c,
|
|
33
|
+
a)):tD.g(d).style.display="none";ID(uD.g(d),c,a,$APP.Xk.g(b));$APP.hj.g(d).textContent=XD.g(b);$APP.Sh.g(d).textContent=y?YD.g(b):VD.g(b);$APP.hj.g(d).style.visibility=A?"hidden":"visible";BD.g(d).setAttribute("aria-label",""+$APP.T.g(WD.g(b))+" tour")}}return null},aE=function(a){$APP.n($APP.k(a,"__xWelcomeTourRaf"))||$APP.Cg(a,"__xWelcomeTourRaf",requestAnimationFrame(function(){a.__xWelcomeTourRaf=null;var b=a.isConnected;return $APP.n($APP.n(b)?$APP.k(a,"__xWelcomeTourLayer"):b)?$D(a):null}));
|
|
34
|
+
return null},cE=function(a){$D(a);var b=$APP.k(a,"__xWelcomeTourLayer");if($APP.n(b)){bE.g?bE.g(a):bE.call(null,a);var c=qD(a),d=KC($APP.Hm.g($APP.k(a,"__xWelcomeTourModel")),c.length);c.length>0&&(c=rD(c[d]),$APP.n(nD.g(c))&&ND(sD($APP.hn.g(c))));setTimeout(function(){a.__xWelcomeTourRestore=document.activeElement;var e=$APP.M(b),g=$APP.D(e,$APP.Sh);e=$APP.D(e,vD);e=KD(e);$APP.t(e)?$APP.u(e).focus():g.focus();return null},50)}},eE=function(a){dE.g?dE.g(a):dE.call(null,a);$D(a)},gE=function(a){var b=
|
|
35
|
+
qD(a).length;var c=$APP.k(a,"__xWelcomeTourModel");c=$APP.n(c)?c:ZD(a);a.removeAttribute("open");b=KC($APP.Hm.g(c),b)+1;MD(a,"x-welcome-tour-complete",new $APP.Q(null,1,[fE,b],null),!1);return null},hE=function(a){var b=$APP.k(a,"__xWelcomeTourModel");b=$APP.n(b)?b:ZD(a);var c=qD(a).length;a.removeAttribute("open");b=KC($APP.Hm.g(b),c);MD(a,"x-welcome-tour-skip",new $APP.Q(null,1,[$APP.Hm,b],null),!1);return null},jE=function(a){var b=$APP.k(a,"__xWelcomeTourModel");var c=$APP.n(b)?b:ZD(a);b=qD(a).length;
|
|
36
|
+
c=KC($APP.Hm.g(c),b);c>=b-1?gE(a):(b=c+1,$APP.n(MD(a,"x-welcome-tour-step-change",new $APP.Q(null,2,[$APP.Hm,b,iE,c],null),!0))&&(a.setAttribute("step",""+$APP.T.g(b)),a=qD(a),a=rD(a[b]),$APP.n(nD.g(a))&&ND(sD($APP.hn.g(a)))));return null},kE=function(a){var b=$APP.k(a,"__xWelcomeTourModel");b=$APP.n(b)?b:ZD(a);var c=qD(a).length;c=KC($APP.Hm.g(b),c);c!==0&&(b=c-1,$APP.n(MD(a,"x-welcome-tour-step-change",new $APP.Q(null,2,[$APP.Hm,b,iE,c],null),!0))&&(a.setAttribute("step",""+$APP.T.g(b)),a=qD(a),
|
|
37
|
+
a=rD(a[b]),$APP.n(nD.g(a))&&ND(sD($APP.hn.g(a)))));return null},lE=function(a,b){var c=function(){var h=$APP.k(a,"__xWelcomeTourModel");return $APP.n(h)?h:ZD(a)}(),d=qD(a).length,e=KC($APP.Hm.g(c),d),g=KC(b,d);$APP.n(function(){var h=$APP.N(e,g);return h?MD(a,"x-welcome-tour-step-change",new $APP.Q(null,2,[$APP.Hm,g,iE,e],null),!0):h}())&&a.setAttribute("step",""+$APP.T.g(g));return null},bE=function(a){var b=$APP.k(a,"__xWelcomeTourLayer");if($APP.n(b)){var c=yD.g(b).shadowRoot,d=function(q){var v=
|
|
38
|
+
q.key;if($APP.B.i(v,"Escape"))q.preventDefault(),q.stopPropagation(),hE(a);else if($APP.B.i(v,"ArrowRight")||$APP.B.i(v,"ArrowDown"))q.preventDefault(),jE(a);else if($APP.B.i(v,"ArrowLeft")||$APP.B.i(v,"ArrowUp"))q.preventDefault(),kE(a);else if($APP.B.i(v,"Tab")){var x=$APP.k(a,"__xWelcomeTourLayer");v=$APP.M(x);v=$APP.D(v,vD);v=KD(v);if($APP.t(v)){x=$APP.n(x)?yD.g(x).shadowRoot:null;x=$APP.n(x)?x.activeElement:null;x=$APP.n(x)?x:document.activeElement;var y=$APP.u(v);v=$APP.xc(v);var A=q.shiftKey;
|
|
39
|
+
$APP.n($APP.n(A)?$APP.B.i(x,y):A)?(q.preventDefault(),v.focus()):$APP.r(A)&&$APP.B.i(x,v)&&(q.preventDefault(),y.focus())}}return null},e=function(q){var v=$APP.k(a,"__xWelcomeTourLayer");$APP.n($APP.n(v)?$APP.B.i(q.target,$APP.mk.g(v)):v)&&hE(a);return null},g=function(){return aE(a)},h=function(){return kE(a)},l=function(){var q=$APP.k(a,"__xWelcomeTourModel");q=$APP.n(q)?q:ZD(a);var v=qD(a).length;return KC($APP.Hm.g(q),v)>=v-1?gE(a):jE(a)},m=function(){return hE(a)},p=new ResizeObserver(function(){return aE(a)});
|
|
40
|
+
c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",g,{passive:!0});window.addEventListener("resize",g,{passive:!0});$APP.hj.g(b).addEventListener("click",h);$APP.Sh.g(b).addEventListener("click",l);BD.g(b).addEventListener("click",m);p.observe(document.body);$APP.Cg(a,"__xWelcomeTourHandlers",new $APP.Q(null,7,[$APP.lk,d,$APP.Jk,e,mE,g,$APP.Nj,h,$APP.Tj,l,$APP.dl,m,nE,c],null));a.__xWelcomeTourResizeObs=p}return null},dE=function(a){var b=$APP.k(a,"__xWelcomeTourHandlers");
|
|
41
|
+
if($APP.n(b)){var c=$APP.M(b);b=$APP.D(c,$APP.lk);var d=$APP.D(c,$APP.Jk),e=$APP.D(c,mE),g=$APP.D(c,$APP.Nj),h=$APP.D(c,$APP.Tj),l=$APP.D(c,$APP.dl);c=$APP.D(c,nE);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.hj.g(m).removeEventListener("click",g),$APP.Sh.g(m).removeEventListener("click",h),BD.g(m).removeEventListener("click",l))}b=
|
|
42
|
+
$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},oE=function(a){var b=new MutationObserver(function(){return $APP.n($APP.k(a,"__xWelcomeTourLayer"))?$D(a):null});b.observe(a,{childList:!0});a.__xWelcomeTourObserver=b},pE=function(a,b,c){if($APP.n(function(){var l=$APP.N(b,c);return l?a.isConnected:l}())){var d=$APP.k(a,"__xWelcomeTourModel"),
|
|
43
|
+
e=ZD(a),g=function(){var l=$APP.Om.g(d);return $APP.n(l)?l:!1}(),h=$APP.Om.g(e);a.__xWelcomeTourModel=e;$APP.n(function(){var l=$APP.r(g);return l?h:l}())?cE(a):$APP.n($APP.n(g)?$APP.r(h):g)?eE(a):$APP.n(h)&&$D(a)}},qE=function(a){Object.defineProperty(a,"open",{get:function(){return this.hasAttribute("open")},set:function(b){return $APP.n(b)?this.setAttribute("open",""):this.removeAttribute("open")},enumerable:!0,configurable:!0});Object.defineProperty(a,"step",{get:function(){return JC(this.getAttribute("step"))},
|
|
44
|
+
set:function(b){return this.setAttribute("step",""+$APP.T.g($APP.n(b)?b:0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"connector",{get:function(){var b=this.getAttribute("connector");return $APP.n(b)?b:"arrow"},set:function(b){return $APP.n(b)?this.setAttribute("connector",""+$APP.T.g(b)):this.removeAttribute("connector")},enumerable:!0,configurable:!0});Object.defineProperty(a,"totalSteps",{get:function(){return qD(this).length},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
45
45
|
"prevLabel",{get:function(){var b=this.getAttribute("prev-label");return $APP.n(b)?b:"Back"},set:function(b){return $APP.n(b)?this.setAttribute("prev-label",""+$APP.T.g(b)):this.removeAttribute("prev-label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"nextLabel",{get:function(){var b=this.getAttribute("next-label");return $APP.n(b)?b:"Next"},set:function(b){return $APP.n(b)?this.setAttribute("next-label",""+$APP.T.g(b)):this.removeAttribute("next-label")},enumerable:!0,configurable:!0});
|
|
46
46
|
Object.defineProperty(a,"doneLabel",{get:function(){var b=this.getAttribute("done-label");return $APP.n(b)?b:"Done"},set:function(b){return $APP.n(b)?this.setAttribute("done-label",""+$APP.T.g(b)):this.removeAttribute("done-label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"skipLabel",{get:function(){var b=this.getAttribute("skip-label");return $APP.n(b)?b:"Skip"},set:function(b){return $APP.n(b)?this.setAttribute("skip-label",""+$APP.T.g(b)):this.removeAttribute("skip-label")},enumerable:!0,
|
|
47
|
-
configurable:!0})},
|
|
48
|
-
configurable:!0});Object.defineProperty(a,"complete",{value:function(){return
|
|
49
|
-
b.appendChild(c);b.appendChild(d);this.__xWelcomeTourRefs=new $APP.
|
|
50
|
-
function(b,c,d){
|
|
47
|
+
configurable:!0})},rE=function(a){Object.defineProperty(a,"start",{value:function(){this.setAttribute("step","0");this.setAttribute("open","");MD(this,"x-welcome-tour-start",$APP.Qd,!1);return null},writable:!0,configurable:!0});Object.defineProperty(a,"next",{value:function(){return jE(this)},writable:!0,configurable:!0});Object.defineProperty(a,"prev",{value:function(){return kE(this)},writable:!0,configurable:!0});Object.defineProperty(a,"goTo",{value:function(b){return lE(this,b)},writable:!0,
|
|
48
|
+
configurable:!0});Object.defineProperty(a,"complete",{value:function(){return gE(this)},writable:!0,configurable:!0});Object.defineProperty(a,"skip",{value:function(){return hE(this)},writable:!0,configurable:!0})},tE=function(){var a=class extends HTMLElement{};a.observedAttributes=sE;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xWelcomeTourRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:contents;}";
|
|
49
|
+
b.appendChild(c);b.appendChild(d);this.__xWelcomeTourRefs=new $APP.Q(null,1,[$APP.Hi,b],null)}oE(this);this.__xWelcomeTourModel=b=ZD(this);this.__xWelcomeTourPrevOpen=$APP.Om.g(b);$APP.n($APP.Om.g(b))&&cE(this);return null};a.prototype.disconnectedCallback=function(){dE(this);var b=$APP.k(this,"__xWelcomeTourObserver");$APP.n(b)&&b.disconnect();this.__xWelcomeTourObserver=null;b=$APP.k(this,"__xWelcomeTourLayer");$APP.n(b)&&($APP.Rg(yD.g(b)),this.__xWelcomeTourLayer=null);LD(this);return null};a.prototype.attributeChangedCallback=
|
|
50
|
+
function(b,c,d){pE(this,c,d);return null};qE(a.prototype);rE(a.prototype);return a},uE=function(a){var b=oD(new $APP.Q(null,7,[$APP.vl,a.getAttribute("target"),$APP.uk,a.getAttribute("title"),$APP.jn,a.getAttribute("placement"),$APP.Di,a.getAttribute("connector"),gD,a.getAttribute("cutout-padding"),hD,a.getAttribute("cutout-radius"),iD,$APP.n(a.hasAttribute("scroll-to"))?a.getAttribute("scroll-to"):null],null));a.__xWelcomeTourStepModel=b},vE=function(a){Object.defineProperty(a,"target",{get:function(){var b=
|
|
51
51
|
this.getAttribute("target");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.N(b,""):b)?this.setAttribute("target",""+$APP.T.g(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.N(b,""):b)?this.setAttribute("title",""+$APP.T.g(b)):this.removeAttribute("title")},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
52
52
|
"placement",{get:function(){var b=this.getAttribute("placement");return $APP.n(b)?b:"bottom"},set:function(b){return $APP.n(b)?this.setAttribute("placement",""+$APP.T.g(b)):this.removeAttribute("placement")},enumerable:!0,configurable:!0});Object.defineProperty(a,"connector",{get:function(){return this.getAttribute("connector")},set:function(b){return $APP.n(b)?this.setAttribute("connector",""+$APP.T.g(b)):this.removeAttribute("connector")},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
53
|
-
"cutoutPadding",{get:function(){return
|
|
54
|
-
"scrollTo",{get:function(){return
|
|
55
|
-
c.textContent=":host{display:none;}";b.appendChild(c);b.appendChild(d);this.__xWelcomeTourStepRefs=new $APP.
|
|
56
|
-
d)&&
|
|
57
|
-
new $APP.K(null,"cutout-radius","cutout-radius",-1889150005),
|
|
58
|
-
"counter?","counter?",-1490890073),
|
|
59
|
-
new $APP.K(null,"conn-svg","conn-svg",-2008050391),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$APP.zf([$APP.ri,$APP.
|
|
63
|
-
$APP.Ik,"prev-label"],null),new $APP.
|
|
64
|
-
$APP.Pd(["x-welcome-tour-start",new $APP.
|
|
65
|
-
var
|
|
66
|
-
var
|
|
53
|
+
"cutoutPadding",{get:function(){return dD(this.getAttribute("cutout-padding"))},set:function(b){return b!=null?this.setAttribute("cutout-padding",""+$APP.T.g(b)):this.removeAttribute("cutout-padding")},enumerable:!0,configurable:!0});Object.defineProperty(a,"cutoutRadius",{get:function(){return eD(this.getAttribute("cutout-radius"))},set:function(b){return b!=null?this.setAttribute("cutout-radius",""+$APP.T.g(b)):this.removeAttribute("cutout-radius")},enumerable:!0,configurable:!0});Object.defineProperty(a,
|
|
54
|
+
"scrollTo",{get:function(){return fD($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})},xE=function(){var a=class extends HTMLElement{};a.observedAttributes=wE;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xWelcomeTourStepRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");
|
|
55
|
+
c.textContent=":host{display:none;}";b.appendChild(c);b.appendChild(d);this.__xWelcomeTourStepRefs=new $APP.Q(null,2,[$APP.Hi,b,$APP.kj,d],null)}uE(this);this.dispatchEvent(new CustomEvent("x-welcome-tour-step-connected",{bubbles:!0,composed:!0,cancelable:!1}));return null};a.prototype.disconnectedCallback=function(){document.dispatchEvent(new CustomEvent("x-welcome-tour-step-disconnected",{bubbles:!1,composed:!1,cancelable:!1}));return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,
|
|
56
|
+
d)&&uE(this);return null};vE(a.prototype);return a},yE=function(){$APP.n(customElements.get("x-welcome-tour-step"))||customElements.define("x-welcome-tour-step",xE());$APP.n(customElements.get("x-welcome-tour"))||customElements.define("x-welcome-tour",tE());return null},tD=new $APP.K(null,"counter-el","counter-el",-1722624952),RD=new $APP.K(null,"done-label-raw","done-label-raw",1022925613),XD=new $APP.K(null,"prev-label","prev-label",-1633827735),ZC=new $APP.K(null,"right","right",-452581833),mD=
|
|
57
|
+
new $APP.K(null,"cutout-radius","cutout-radius",-1889150005),zD=new $APP.K(null,"mask-cut","mask-cut",-1027017197),fE=new $APP.K(null,"stepsCompleted","stepsCompleted",-1195441854),OD=new $APP.K(null,"skip-label-raw","skip-label-raw",-1113162074),iE=new $APP.K(null,"previousStep","previousStep",179909093),WD=new $APP.K(null,"skip-label","skip-label",-1497552511),nD=new $APP.K(null,"scroll-to?","scroll-to?",-115048698),gD=new $APP.K(null,"cutout-padding-raw","cutout-padding-raw",1242999121),PD=new $APP.K(null,
|
|
58
|
+
"counter?","counter?",-1490890073),SD=new $APP.K(null,"next-label-raw","next-label-raw",128708305),XC=new $APP.K(null,"border-bottom-color","border-bottom-color",-208763333),SC=new $APP.K(null,"target-point","target-point",1084476807),aD=new $APP.K(null,"border-left-color","border-left-color",-1166146583),TD=new $APP.K(null,"prev-label-raw","prev-label-raw",-1005526116),hD=new $APP.K(null,"cutout-radius-raw","cutout-radius-raw",-612633502),QD=new $APP.K(null,"step-raw","step-raw",-1512577847),wD=
|
|
59
|
+
new $APP.K(null,"conn-svg","conn-svg",-2008050391),xD=new $APP.K(null,"conn-path","conn-path",-244598641),YC=new $APP.K(null,"border-top-color","border-top-color",-804629899),vD=new $APP.K(null,"popover","popover",-1809582136),uD=new $APP.K(null,"dots-el","dots-el",1811278312),mE=new $APP.K(null,"scroll","scroll",971553779),$C=new $APP.K(null,"margin-top","margin-top",392161226),yD=new $APP.K(null,"layer","layer",-1601820589),bD=new $APP.K(null,"border-right-color","border-right-color",2017953775),
|
|
60
|
+
lD=new $APP.K(null,"cutout-padding","cutout-padding",1623255682),VD=new $APP.K(null,"next-label","next-label",1724045248),CD=new $APP.K(null,"glow","glow",216329469),iD=new $APP.K(null,"scroll-to-raw","scroll-to-raw",1123777559),nE=new $APP.K(null,"shadow","shadow",873231803),TC=new $APP.K(null,"popover-point","popover-point",-1343008173),WC=new $APP.K(null,"margin-left","margin-left",2015598377),YD=new $APP.K(null,"done-label","done-label",2036600942),AD=new $APP.K(null,"arrow-el","arrow-el",-968525162),
|
|
61
|
+
NC=new $APP.K(null,"ry","ry",-334598563),MC=new $APP.K(null,"rx","rx",1627208482),BD=new $APP.K(null,"close-btn","close-btn",-1639164196);var sE="open step connector prev-label next-label done-label skip-label counter dots".split(" ");
|
|
62
|
+
$APP.zf([$APP.ri,$APP.im,new $APP.K(null,"prevLabel","prevLabel",-1710466271),new $APP.K(null,"nextLabel","nextLabel",-1506210545),new $APP.K(null,"counter","counter",804008177),new $APP.K(null,"totalSteps","totalSteps",-1980211791),new $APP.K(null,"doneLabel","doneLabel",849728698),new $APP.K(null,"skipLabel","skipLabel",-1410174917),$APP.Vk,$APP.Hm],[new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"connector"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"open"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,
|
|
63
|
+
$APP.Ik,"prev-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"next-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"counter"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Bj,!0],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"done-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"skip-label"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"dots"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ik,"step"],null)]);
|
|
64
|
+
$APP.Pd(["x-welcome-tour-start",new $APP.Q(null,2,[$APP.V,$APP.Qd,$APP.lm,!1],null),"x-welcome-tour-step-change",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,2,[$APP.Hm,$APP.W,iE,$APP.W],null),$APP.lm,!0],null),"x-welcome-tour-complete",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[fE,$APP.W],null),$APP.lm,!1],null),"x-welcome-tour-skip",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Hm,$APP.W],null),$APP.lm,!1],null)]);
|
|
65
|
+
var UD=new $APP.S(null,new $APP.Q(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);var wE="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.lm,!1],null),"x-welcome-tour-step-disconnected",new $APP.Q(null,2,[$APP.V,$APP.Qd,$APP.lm,!1],null)]);
|
|
66
|
+
var jD=new $APP.S(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),kD=new $APP.S(null,new $APP.Q(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);$APP.ha("baredom.exports.x_welcome_tour.init",yE);export const init=yE;
|