@vanelsas/baredom 1.2.0 → 1.3.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -2
  3. package/dist/base.js +364 -353
  4. package/dist/x-alert.js +19 -19
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +15 -15
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +6 -0
  9. package/dist/x-bento-item.js +5 -0
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +16 -16
  12. package/dist/x-cancel-dialogue.js +17 -17
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-chart.js +47 -47
  15. package/dist/x-checkbox.js +11 -11
  16. package/dist/x-chip.js +8 -8
  17. package/dist/x-collapse.js +12 -12
  18. package/dist/x-command-palette.js +31 -31
  19. package/dist/x-container.js +6 -6
  20. package/dist/x-context-menu.js +19 -19
  21. package/dist/x-copy.js +23 -23
  22. package/dist/x-currency-field.js +22 -22
  23. package/dist/x-date-picker.js +40 -40
  24. package/dist/x-divider.js +12 -12
  25. package/dist/x-drawer.js +12 -12
  26. package/dist/x-dropdown.js +9 -9
  27. package/dist/x-fieldset.js +6 -6
  28. package/dist/x-file-download.js +7 -7
  29. package/dist/x-form-field.js +15 -15
  30. package/dist/x-form.js +10 -10
  31. package/dist/x-gaussian-blur.js +19 -32
  32. package/dist/x-grid.js +6 -7
  33. package/dist/x-kinetic-typography.js +61 -61
  34. package/dist/x-menu-item.js +10 -10
  35. package/dist/x-menu.js +10 -10
  36. package/dist/x-metaball-cursor.js +28 -0
  37. package/dist/x-modal.js +13 -13
  38. package/dist/x-navbar.js +13 -13
  39. package/dist/x-neural-glow.js +35 -0
  40. package/dist/x-notification-center.js +10 -10
  41. package/dist/x-organic-divider.js +16 -16
  42. package/dist/x-organic-progress.js +40 -0
  43. package/dist/x-organic-shape.js +12 -12
  44. package/dist/x-pagination.js +16 -16
  45. package/dist/x-popover.js +15 -15
  46. package/dist/x-progress-circle.js +9 -9
  47. package/dist/x-progress.js +10 -10
  48. package/dist/x-radio.js +11 -11
  49. package/dist/x-ripple-effect.js +12 -12
  50. package/dist/x-scroll-parallax.js +19 -19
  51. package/dist/x-scroll-stack.js +18 -18
  52. package/dist/x-scroll-story.js +35 -35
  53. package/dist/x-scroll-timeline.js +47 -47
  54. package/dist/x-scroll.js +40 -40
  55. package/dist/x-search-field.js +14 -14
  56. package/dist/x-select.js +9 -9
  57. package/dist/x-sidebar.js +16 -16
  58. package/dist/x-skeleton.js +4 -4
  59. package/dist/x-slider.js +16 -16
  60. package/dist/x-spacer.js +5 -5
  61. package/dist/x-spinner.js +5 -5
  62. package/dist/x-splash.js +15 -0
  63. package/dist/x-stat.js +11 -11
  64. package/dist/x-stepper.js +16 -16
  65. package/dist/x-switch.js +10 -10
  66. package/dist/x-tab.js +7 -7
  67. package/dist/x-table-cell.js +22 -23
  68. package/dist/x-table-row.js +10 -10
  69. package/dist/x-table.js +15 -15
  70. package/dist/x-tabs.js +11 -11
  71. package/dist/x-text-area.js +17 -17
  72. package/dist/x-timeline-item.js +24 -24
  73. package/dist/x-timeline.js +9 -9
  74. package/dist/x-toast.js +24 -24
  75. package/dist/x-toaster.js +8 -8
  76. package/dist/x-typography.js +10 -10
  77. package/package.json +26 -2
@@ -1,38 +1,38 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var TO=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Ag.h(0,$APP.Bg.h(1,a))):.5},UO=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Ag.h(.1,$APP.Bg.h(.9,a))):.5},VO=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?50:$APP.Ag.h(1,$APP.Bg.h(1E3,a))):50},WO=function(a,b){var c=$APP.B(a);if(c===0)return-1;for(var d=0,e=-1,g=-1;;){if(d>=c)return e>=0?e:g;var h=$APP.dc(a,d),k=$APP.N(h);h=$APP.H(k,
3
- $APP.Gh);k=$APP.H(k,$APP.ih);e=h<=b&&k>b?d:e;g=h<=b?d:g;d+=1}},YO=function(a){var b=$APP.l(a,"__xScrollStoryRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),g=document.createElement("div"),h=document.createElement("slot"),k=document.createElement("slot"),m=document.createElement("div");c.textContent=":host{display:block;position:relative;color-scheme:light dark;--x-scroll-story-gap:0;--x-scroll-story-step-min-height:80vh;--x-scroll-story-step-padding:2rem;--x-scroll-story-active-opacity:1;--x-scroll-story-inactive-opacity:0.3;--x-scroll-story-transition-duration:300ms;--x-scroll-story-disabled-opacity:0.55;--x-scroll-story-media-top:0;}[part\x3dcontainer]{display:flex;gap:var(--x-scroll-story-gap);}:host([data-layout\x3dleft]) [part\x3dcontainer]{flex-direction:row;}:host([data-layout\x3dright]) [part\x3dcontainer]{flex-direction:row-reverse;}:host([data-layout\x3dtop]) [part\x3dcontainer]{flex-direction:column;}[part\x3dmedia]{position:sticky;top:var(--x-scroll-story-media-top);align-self:flex-start;flex-shrink:0;}:host([data-layout\x3dtop]) [part\x3dmedia]{position:sticky;width:100%;}[part\x3dsteps]{flex:1;min-width:0;}[part\x3dmedia]{height:100vh;}::slotted(:not([slot])){min-height:var(--x-scroll-story-step-min-height);padding:var(--x-scroll-story-step-padding);opacity:var(--x-scroll-story-inactive-opacity);transition:opacity var(--x-scroll-story-transition-duration) ease;}::slotted([data-active]){opacity:var(--x-scroll-story-active-opacity);}:host([disabled]){opacity:var(--x-scroll-story-disabled-opacity);}[part\x3dlive]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;}[part\x3dindicator]{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;width:48px;height:48px;opacity:0.7;}[part\x3dindicator]::before,[part\x3dindicator]::after{content:'';position:absolute;top:8px;width:12px;height:32px;background:rgba(255,255,255,0.9);border-radius:3px;}[part\x3dindicator]::before{left:8px;}[part\x3dindicator]::after{right:8px;}:host([data-autoplay-paused][autoplay-indicator]) [part\x3dindicator]{display:block;}@media (prefers-reduced-motion:reduce){::slotted(*){transition:none !important;}}";
4
- d.setAttribute("part","container");d.setAttribute("role","region");e.setAttribute("part","media");h.setAttribute("name","media");var p=document.createElement("div");p.setAttribute("part","indicator");e.appendChild(p);e.appendChild(h);g.setAttribute("part","steps");g.appendChild(k);d.appendChild(e);d.appendChild(g);m.setAttribute("part","live");m.setAttribute("aria-live","polite");m.setAttribute("aria-atomic","true");b.appendChild(c);b.appendChild(d);b.appendChild(m);a.__xScrollStoryRefs=new $APP.Q(null,
5
- 6,[$APP.Yh,b,$APP.xj,d,XO,e,$APP.Sj,g,$APP.Si,k,$APP.Wh,m],null);return $APP.l(a,"__xScrollStoryRefs")},bP=function(a){a=$APP.gf([$APP.Dh,$APP.Oj,$APP.yj,$APP.eh,$APP.Zh,$APP.ii,$APP.Bi,$APP.wj,ZO],[a.getAttribute("label"),a.getAttribute("autoplay-speed"),$APP.n(a.hasAttribute("autoplay"))?"":null,a.getAttribute("threshold"),a.getAttribute("layout"),$APP.n(a.hasAttribute("autoplay-indicator"))?"":null,$APP.n(a.hasAttribute("disabled"))?"":null,$APP.n(a.hasAttribute("autoplay-loop"))?"":null,a.getAttribute("split")]);
6
- var b=$APP.N(a);a=$APP.H(b,$APP.Bi);var c=$APP.H(b,$APP.wj),d=$APP.H(b,ZO),e=$APP.H(b,$APP.Dh),g=$APP.H(b,$APP.Oj),h=$APP.H(b,$APP.yj),k=$APP.H(b,$APP.eh),m=$APP.H(b,$APP.Zh);b=$APP.H(b,$APP.ii);m=typeof m==="string"?m.trim().toLowerCase():null;m=$APP.K($O,m)?m:"left";return $APP.gf([$APP.wk,$APP.Rh,$APP.jj,aP,$APP.W,$APP.bi,$APP.V,$APP.Qj,$APP.ei],[m,c!=null,TO(k),UO(d),$APP.n(e)?e:"",b!=null,a!=null,VO(g),h!=null])},cP=function(a){a=YO(a);a=$APP.N(a);return $APP.H(a,$APP.Si).assignedElements()},
7
- dP=function(){return $APP.J(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},eP=function(a){a=a.getAttribute("id");return typeof a==="string"&&$APP.O(a,"")?a:null},fP=function(a,b,c){b=new CustomEvent(b,{detail:$APP.Mg(c),bubbles:!0,composed:!0,cancelable:!1});return a.dispatchEvent(b)},gP=function(a,b){a.textContent=b;setTimeout(function(){return a.textContent=""},3E3)},hP=function(a,b,c){var d=$APP.l(a,"__xScrollStoryActiveIndex");d=$APP.n(d)?d:-1;if($APP.O(d,c)){d>=0&&d<b.length&&
8
- b[d].removeAttribute("data-active");c>=0&&c<b.length&&b[c].setAttribute("data-active","");c>=0?a.setAttribute("data-active-index",""+$APP.S.g(c)):a.removeAttribute("data-active-index");a.__xScrollStoryActiveIndex=c;var e=d>=0&&d<b.length?eP(b[d]):null;b=c>=0&&c<b.length?eP(b[c]):null;fP(a,"x-scroll-story-step-change",new $APP.Q(null,4,[$APP.sh,c,$APP.xi,b,$APP.ck,d,$APP.xk,e],null));a=$APP.N($APP.l(a,"__xScrollStoryRefs"));a=$APP.H(a,$APP.Wh);gP(a,"Step "+$APP.S.g(c+1)+" active")}},iP=function(a,
9
- b,c,d){var e=b.length;var g=$APP.l(a,"__xScrollStoryStepStates");if(!$APP.n($APP.n(g)?$APP.C.h(g.length,e):g)){for(var h=Array(e),k=0;;)if(k<e)h[k]=$APP.n($APP.n(g)?k<g.length:g)?g[k]:!1,k+=1;else break;g=a.__xScrollStoryStepStates=h}for(h=0;;)if(h<e){if(h<$APP.B(c)){k=$APP.dc(c,h);k=$APP.N(k);var m=$APP.H(k,$APP.Gh),p=$APP.H(k,$APP.ih),r=g[h];k=m<=d&&p>d;var v=eP(b[h]),x=m;m=p-m;m=m<=0?0:$APP.Ag.h(0,$APP.Bg.h(1,(d-x)/m));$APP.q(r)&&k?(g[h]=!0,fP(a,"x-scroll-story-step-enter",new $APP.Q(null,3,[$APP.sh,
10
- h,$APP.xi,v,$APP.vj,m],null))):$APP.n($APP.n(r)?!k:r)&&(g[h]=!1,fP(a,"x-scroll-story-step-leave",new $APP.Q(null,3,[$APP.sh,h,$APP.xi,v,$APP.vj,m],null)))}h+=1}else break},jP=function(a){var b=function(){var m=$APP.l(a,"__xScrollStoryModel");return $APP.n(m)?m:bP(a)}();if(!$APP.n($APP.V.g(b))){var c=cP(a),d=c.length,e=window.innerHeight,g=e*$APP.jj.g(b),h=function(){for(var m=0,p=$APP.Nd;;){if(m>=d)return p;var r=c[m].getBoundingClientRect();m+=1;p=$APP.kf.h(p,new $APP.Q(null,2,[$APP.Gh,r.top,$APP.ih,
11
- r.top+r.height],null))}}();b=WO(h,g);var k=$APP.N($APP.l(a,"__xScrollStoryRefs"));k=$APP.H(k,$APP.Sj).getBoundingClientRect();e=$APP.Ag.h(0,$APP.Bg.h(1,(e-k.top)/(e+k.height)));k=$APP.l(a,"__xScrollStoryLastProg");hP(a,c,b);iP(a,c,h,g);if(k==null||Math.abs(e-k)>.001)a.__xScrollStoryLastProg=e,g=b>=0&&b<d?eP(c[b]):null,fP(a,"x-scroll-story-progress",new $APP.Q(null,3,[$APP.vj,e,$APP.zk,b,$APP.Qi,g],null))}a.__xScrollStoryRAF=null},kP=function(a){return function d(c){if($APP.n(function(){var k=a.isConnected;
12
- return $APP.n(k)?(k=$APP.l(a,"__xScrollStoryVisible"),$APP.n(k)?$APP.q($APP.l(a,"__xScrollStoryAutoplayPaused")):k):k}())){var e=$APP.l(a,"__xScrollStoryModel");if($APP.n(function(){if($APP.n(e)){var k=$APP.ei.g(e);return $APP.n(k)?$APP.q($APP.V.g(e)):k}return e}())){var g=$APP.l(a,"__xScrollStoryAutoplayLast");g=$APP.n(g)?(c-g)/1E3:0;a.__xScrollStoryAutoplayLast=c;if(g>0){var h=window.scrollY;window.scrollBy(0,$APP.Qj.g(e)*g);$APP.n(function(){var k=$APP.Rh.g(e);return $APP.n(k)?window.scrollY-h<
13
- .5:k}())&&(c=a.getBoundingClientRect().top+window.scrollY,window.scrollTo(0,c),a.__xScrollStoryAutoplayLast=null)}return $APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(d))}}return null}},lP=function(a){if($APP.n($APP.l(a,"__xScrollStoryAutoplayPaused")))return null;a.__xScrollStoryAutoplayPaused=!0;var b=$APP.l(a,"__xScrollStoryAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryAutoplayRAF=null);a.setAttribute("data-autoplay-paused","");b=function(){var e=$APP.l(a,"__xScrollStoryLastProg");
14
- return $APP.n(e)?e:0}();var c=function(){var e=$APP.l(a,"__xScrollStoryActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?eP(d[c]):null;return fP(a,"x-scroll-story-autoplay-pause",new $APP.Q(null,3,[$APP.vj,b,$APP.zk,c,$APP.Qi,d],null))},mP=function(a){if($APP.n($APP.l(a,"__xScrollStoryAutoplayPaused"))){a.__xScrollStoryAutoplayPaused=!1;a.removeAttribute("data-autoplay-paused");a.__xScrollStoryAutoplayLast=null;$APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(kP(a)));
15
- var b=function(){var e=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(e)?e:0}(),c=function(){var e=$APP.l(a,"__xScrollStoryActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?eP(d[c]):null;return fP(a,"x-scroll-story-autoplay-resume",new $APP.Q(null,3,[$APP.vj,b,$APP.zk,c,$APP.Qi,d],null))}return null},nP=function(a){var b=$APP.l(a,"__xScrollStoryAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryAutoplayRAF=null);b=$APP.l(a,"__xScrollStoryAutoplayHandlers");$APP.n(b)&&
2
+ var AS=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Fg.h(0,$APP.Gg.h(1,a))):.5},BS=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Fg.h(.1,$APP.Gg.h(.9,a))):.5},CS=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?50:$APP.Fg.h(1,$APP.Gg.h(1E3,a))):50},DS=function(a,b){var c=$APP.B(a);if(c===0)return-1;for(var d=0,e=-1,g=-1;;){if(d>=c)return e>=0?e:g;var h=$APP.fc(a,d),k=$APP.N(h);h=$APP.I(k,
3
+ $APP.uh);k=$APP.I(k,$APP.oj);e=h<=b&&k>b?d:e;g=h<=b?d:g;d+=1}},FS=function(a){var b=$APP.l(a,"__xScrollStoryRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),g=document.createElement("div"),h=document.createElement("slot"),k=document.createElement("slot"),m=document.createElement("div");c.textContent=":host{display:block;position:relative;color-scheme:light dark;--x-scroll-story-gap:0;--x-scroll-story-step-min-height:80vh;--x-scroll-story-step-padding:2rem;--x-scroll-story-active-opacity:1;--x-scroll-story-inactive-opacity:0.3;--x-scroll-story-transition-duration:300ms;--x-scroll-story-disabled-opacity:0.55;--x-scroll-story-media-top:0;}[part\x3dcontainer]{display:flex;gap:var(--x-scroll-story-gap);}:host([data-layout\x3dleft]) [part\x3dcontainer]{flex-direction:row;}:host([data-layout\x3dright]) [part\x3dcontainer]{flex-direction:row-reverse;}:host([data-layout\x3dtop]) [part\x3dcontainer]{flex-direction:column;}[part\x3dmedia]{position:sticky;top:var(--x-scroll-story-media-top);align-self:flex-start;flex-shrink:0;}:host([data-layout\x3dtop]) [part\x3dmedia]{position:sticky;width:100%;}[part\x3dsteps]{flex:1;min-width:0;}[part\x3dmedia]{height:100vh;}::slotted(:not([slot])){min-height:var(--x-scroll-story-step-min-height);padding:var(--x-scroll-story-step-padding);opacity:var(--x-scroll-story-inactive-opacity);transition:opacity var(--x-scroll-story-transition-duration) ease;}::slotted([data-active]){opacity:var(--x-scroll-story-active-opacity);}:host([disabled]){opacity:var(--x-scroll-story-disabled-opacity);}[part\x3dlive]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;}[part\x3dindicator]{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;width:48px;height:48px;opacity:0.7;}[part\x3dindicator]::before,[part\x3dindicator]::after{content:'';position:absolute;top:8px;width:12px;height:32px;background:rgba(255,255,255,0.9);border-radius:3px;}[part\x3dindicator]::before{left:8px;}[part\x3dindicator]::after{right:8px;}:host([data-autoplay-paused][autoplay-indicator]) [part\x3dindicator]{display:block;}@media (prefers-reduced-motion:reduce){::slotted(*){transition:none !important;}}";
4
+ d.setAttribute("part","container");d.setAttribute("role","region");e.setAttribute("part","media");h.setAttribute("name","media");var p=document.createElement("div");p.setAttribute("part","indicator");e.appendChild(p);e.appendChild(h);g.setAttribute("part","steps");g.appendChild(k);d.appendChild(e);d.appendChild(g);m.setAttribute("part","live");m.setAttribute("aria-live","polite");m.setAttribute("aria-atomic","true");b.appendChild(c);b.appendChild(d);b.appendChild(m);a.__xScrollStoryRefs=new $APP.R(null,
5
+ 6,[$APP.Jh,b,$APP.yi,d,ES,e,$APP.Bk,g,$APP.fi,k,$APP.Hh,m],null);return $APP.l(a,"__xScrollStoryRefs")},JS=function(a){a=$APP.mf([$APP.sh,$APP.Ii,$APP.ok,$APP.eh,$APP.Fj,$APP.Sh,$APP.bi,$APP.nk,GS],[a.getAttribute("label"),a.getAttribute("autoplay-speed"),$APP.n(a.hasAttribute("autoplay"))?"":null,a.getAttribute("threshold"),a.getAttribute("layout"),$APP.n(a.hasAttribute("autoplay-indicator"))?"":null,$APP.n(a.hasAttribute("disabled"))?"":null,$APP.n(a.hasAttribute("autoplay-loop"))?"":null,a.getAttribute("split")]);
6
+ var b=$APP.N(a);a=$APP.I(b,$APP.bi);var c=$APP.I(b,$APP.nk),d=$APP.I(b,GS),e=$APP.I(b,$APP.sh),g=$APP.I(b,$APP.Ii),h=$APP.I(b,$APP.ok),k=$APP.I(b,$APP.eh),m=$APP.I(b,$APP.Fj);b=$APP.I(b,$APP.Sh);m=typeof m==="string"?m.trim().toLowerCase():null;m=$APP.K(HS,m)?m:"left";return $APP.mf([$APP.Wi,$APP.Dh,$APP.fk,IS,$APP.U,$APP.Lh,$APP.X,$APP.Ji,$APP.Oh],[m,c!=null,AS(k),BS(d),$APP.n(e)?e:"",b!=null,a!=null,CS(g),h!=null])},KS=function(a){a=FS(a);a=$APP.N(a);return $APP.I(a,$APP.fi).assignedElements()},
7
+ LS=function(){return $APP.J(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},MS=function(a){a=a.getAttribute("id");return typeof a==="string"&&$APP.O(a,"")?a:null},NS=function(a,b,c){b=new CustomEvent(b,{detail:$APP.Sg(c),bubbles:!0,composed:!0,cancelable:!1});return a.dispatchEvent(b)},OS=function(a,b){a.textContent=b;setTimeout(function(){return a.textContent=""},3E3)},PS=function(a,b,c){var d=$APP.l(a,"__xScrollStoryActiveIndex");d=$APP.n(d)?d:-1;if($APP.O(d,c)){d>=0&&d<b.length&&
8
+ b[d].removeAttribute("data-active");c>=0&&c<b.length&&b[c].setAttribute("data-active","");c>=0?a.setAttribute("data-active-index",""+$APP.T.g(c)):a.removeAttribute("data-active-index");a.__xScrollStoryActiveIndex=c;var e=d>=0&&d<b.length?MS(b[d]):null;b=c>=0&&c<b.length?MS(b[c]):null;NS(a,"x-scroll-story-step-change",new $APP.R(null,4,[$APP.ih,c,$APP.Oj,b,$APP.Oi,d,$APP.Wk,e],null));a=$APP.N($APP.l(a,"__xScrollStoryRefs"));a=$APP.I(a,$APP.Hh);OS(a,"Step "+$APP.T.g(c+1)+" active")}},QS=function(a,
9
+ b,c,d){var e=b.length;var g=$APP.l(a,"__xScrollStoryStepStates");if(!$APP.n($APP.n(g)?$APP.C.h(g.length,e):g)){for(var h=Array(e),k=0;;)if(k<e)h[k]=$APP.n($APP.n(g)?k<g.length:g)?g[k]:!1,k+=1;else break;g=a.__xScrollStoryStepStates=h}for(h=0;;)if(h<e){if(h<$APP.B(c)){k=$APP.fc(c,h);k=$APP.N(k);var m=$APP.I(k,$APP.uh),p=$APP.I(k,$APP.oj),q=g[h];k=m<=d&&p>d;var v=MS(b[h]),x=m;m=p-m;m=m<=0?0:$APP.Fg.h(0,$APP.Gg.h(1,(d-x)/m));$APP.r(q)&&k?(g[h]=!0,NS(a,"x-scroll-story-step-enter",new $APP.R(null,3,[$APP.ih,
10
+ h,$APP.Oj,v,$APP.mk,m],null))):$APP.n($APP.n(q)?!k:q)&&(g[h]=!1,NS(a,"x-scroll-story-step-leave",new $APP.R(null,3,[$APP.ih,h,$APP.Oj,v,$APP.mk,m],null)))}h+=1}else break},RS=function(a){var b=function(){var m=$APP.l(a,"__xScrollStoryModel");return $APP.n(m)?m:JS(a)}();if(!$APP.n($APP.X.g(b))){var c=KS(a),d=c.length,e=window.innerHeight,g=e*$APP.fk.g(b),h=function(){for(var m=0,p=$APP.Td;;){if(m>=d)return p;var q=c[m].getBoundingClientRect();m+=1;p=$APP.ad.h(p,new $APP.R(null,2,[$APP.uh,q.top,$APP.oj,
11
+ q.top+q.height],null))}}();b=DS(h,g);var k=$APP.N($APP.l(a,"__xScrollStoryRefs"));k=$APP.I(k,$APP.Bk).getBoundingClientRect();e=$APP.Fg.h(0,$APP.Gg.h(1,(e-k.top)/(e+k.height)));k=$APP.l(a,"__xScrollStoryLastProg");PS(a,c,b);QS(a,c,h,g);if(k==null||Math.abs(e-k)>.001)a.__xScrollStoryLastProg=e,g=b>=0&&b<d?MS(c[b]):null,NS(a,"x-scroll-story-progress",new $APP.R(null,3,[$APP.mk,e,$APP.ej,b,$APP.Vj,g],null))}a.__xScrollStoryRAF=null},SS=function(a){return function d(c){if($APP.n(function(){var k=a.isConnected;
12
+ return $APP.n(k)?(k=$APP.l(a,"__xScrollStoryVisible"),$APP.n(k)?$APP.r($APP.l(a,"__xScrollStoryAutoplayPaused")):k):k}())){var e=$APP.l(a,"__xScrollStoryModel");if($APP.n(function(){if($APP.n(e)){var k=$APP.Oh.g(e);return $APP.n(k)?$APP.r($APP.X.g(e)):k}return e}())){var g=$APP.l(a,"__xScrollStoryAutoplayLast");g=$APP.n(g)?(c-g)/1E3:0;a.__xScrollStoryAutoplayLast=c;if(g>0){var h=window.scrollY;window.scrollBy(0,$APP.Ji.g(e)*g);$APP.n(function(){var k=$APP.Dh.g(e);return $APP.n(k)?window.scrollY-h<
13
+ .5:k}())&&(c=a.getBoundingClientRect().top+window.scrollY,window.scrollTo(0,c),a.__xScrollStoryAutoplayLast=null)}return $APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(d))}}return null}},TS=function(a){if($APP.n($APP.l(a,"__xScrollStoryAutoplayPaused")))return null;a.__xScrollStoryAutoplayPaused=!0;var b=$APP.l(a,"__xScrollStoryAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryAutoplayRAF=null);a.setAttribute("data-autoplay-paused","");b=function(){var e=$APP.l(a,"__xScrollStoryLastProg");
14
+ return $APP.n(e)?e:0}();var c=function(){var e=$APP.l(a,"__xScrollStoryActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?MS(d[c]):null;return NS(a,"x-scroll-story-autoplay-pause",new $APP.R(null,3,[$APP.mk,b,$APP.ej,c,$APP.Vj,d],null))},US=function(a){if($APP.n($APP.l(a,"__xScrollStoryAutoplayPaused"))){a.__xScrollStoryAutoplayPaused=!1;a.removeAttribute("data-autoplay-paused");a.__xScrollStoryAutoplayLast=null;$APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(SS(a)));
15
+ var b=function(){var e=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(e)?e:0}(),c=function(){var e=$APP.l(a,"__xScrollStoryActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?MS(d[c]):null;return NS(a,"x-scroll-story-autoplay-resume",new $APP.R(null,3,[$APP.mk,b,$APP.ej,c,$APP.Vj,d],null))}return null},VS=function(a){var b=$APP.l(a,"__xScrollStoryAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryAutoplayRAF=null);b=$APP.l(a,"__xScrollStoryAutoplayHandlers");$APP.n(b)&&
16
16
  (a.removeEventListener("mousedown",$APP.l(b,"mousedown")),a.removeEventListener("mouseup",$APP.l(b,"mouseup")),a.removeEventListener("mouseleave",$APP.l(b,"mouseleave")),a.removeEventListener("touchstart",$APP.l(b,"touchstart")),a.removeEventListener("touchend",$APP.l(b,"touchend")),a.removeEventListener("keydown",$APP.l(b,"keydown")),a.removeEventListener("keyup",$APP.l(b,"keyup")),a.__xScrollStoryAutoplayHandlers=null);a.removeAttribute("data-autoplay-paused");a.removeAttribute("tabindex");a.__xScrollStoryAutoplayPaused=
17
- !1;a.__xScrollStoryAutoplayLast=null},oP=function(a){if($APP.l(a,"__xScrollStoryAutoplayRAF")==null){var b=$APP.l(a,"__xScrollStoryModel");if($APP.n(function(){if($APP.n(b)){var p=$APP.ei.g(b);return $APP.n(p)?(p=$APP.q($APP.V.g(b)))?(p=$APP.l(a,"__xScrollStoryVisible"),$APP.n(p)?!dP():p):p:p}return b}())){a.setAttribute("tabindex","0");a.__xScrollStoryAutoplayPaused=!1;a.__xScrollStoryAutoplayLast=null;var c=function(){return lP(a)},d=function(){return mP(a)},e=function(){return $APP.n($APP.l(a,
18
- "__xScrollStoryAutoplayPaused"))?mP(a):null},g=function(){return lP(a)},h=function(){return mP(a)},k=function(p){return $APP.C.h(p.code,"Space")?(p.preventDefault(),lP(a)):null},m=function(p){return $APP.C.h(p.code,"Space")?mP(a):null};a.addEventListener("mousedown",c);a.addEventListener("mouseup",d);a.addEventListener("mouseleave",e);a.addEventListener("touchstart",g,{passive:!0});a.addEventListener("touchend",h,{passive:!0});a.addEventListener("keydown",k);a.addEventListener("keyup",m);$APP.ma(a,
19
- "__xScrollStoryAutoplayHandlers",{mousedown:c,mouseup:d,mouseleave:e,touchstart:g,touchend:h,keydown:k,keyup:m});$APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(kP(a)))}}return null},pP=function(a){a=$APP.l(a,"__xScrollStoryModel");return $APP.n(a)?$APP.V.g(a):a},qP=function(a){return $APP.n(function(){var b=a.isConnected;return $APP.n(b)?(b=$APP.l(a,"__xScrollStoryVisible"),$APP.n(b)?$APP.q(pP(a))&&!dP():b):b}())?$APP.n($APP.l(a,"__xScrollStoryRAF"))?null:$APP.ma(a,"__xScrollStoryRAF",
20
- requestAnimationFrame(function(){return jP(a)})):null},rP=function(a){a=$APP.l(a,"__xScrollStoryHandlers");$APP.n($APP.n(a)?$APP.q($APP.l(a,"scrollAttached")):a)&&(window.addEventListener("scroll",$APP.l(a,"scroll"),{passive:!0}),a.scrollAttached=!0)},sP=function(a){a=$APP.l(a,"__xScrollStoryHandlers");$APP.n($APP.n(a)?$APP.l(a,"scrollAttached"):a)&&(window.removeEventListener("scroll",$APP.l(a,"scroll")),a.scrollAttached=!1)},tP=function(a,b){b=b[0].isIntersecting;var c=$APP.N($APP.l(a,"__xScrollStoryRefs"));
21
- c=$APP.H(c,$APP.Wh);a.__xScrollStoryVisible=b;if($APP.n(b)){if($APP.n(pP(a)))return null;rP(a);jP(a);gP(c,"Story section entered viewport");fP(a,"x-scroll-story-enter",new $APP.Q(null,1,[$APP.vj,function(){var d=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(d)?d:0}()],null));b=$APP.l(a,"__xScrollStoryModel");return $APP.n($APP.n(b)?$APP.ei.g(b):b)?oP(a):null}sP(a);nP(a);if($APP.n(pP(a)))return null;gP(c,"Story section left viewport");return fP(a,"x-scroll-story-leave",new $APP.Q(null,1,[$APP.vj,
22
- function(){var d=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(d)?d:0}()],null))},uP=function(a){function b(){return $APP.n($APP.l(a,"__xScrollStoryVisible"))?(a.__xScrollStoryStepStates=null,jP(a)):null}function c(){a.__xScrollStoryStepStates=null;return $APP.n($APP.l(a,"__xScrollStoryVisible"))?jP(a):null}var d=YO(a);d=$APP.N(d);$APP.H(d,$APP.Si).addEventListener("slotchange",c);window.addEventListener("resize",b);$APP.ma(a,"__xScrollStoryHandlers",{scroll:function(){return qP(a)},slot:c,resize:b,
23
- scrollAttached:!1})},vP=function(a){var b=$APP.l(a,"__xScrollStoryHandlers");if($APP.n(b)){sP(a);var c=$APP.l(a,"__xScrollStoryRefs");if($APP.n(c)){c=$APP.Si.g(c);var d=$APP.l(b,"slot");$APP.n(d)&&c.removeEventListener("slotchange",d)}b=$APP.l(b,"resize");$APP.n(b)&&window.removeEventListener("resize",b)}b=$APP.l(a,"__xScrollStoryRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryRAF=null);a.__xScrollStoryHandlers=null},wP=function(a){var b=$APP.l(a,"__xScrollStoryIO");$APP.n(b)&&b.disconnect();
24
- b=new IntersectionObserver(function(c){return tP(a,c)},{threshold:[0]});b.observe(a);a.__xScrollStoryIO=b},xP=function(a){a=cP(a);for(var b=a.length,c=0;;)if(c<b)a[c].removeAttribute("data-active"),c+=1;else break},yP=function(a){var b=bP(a);if($APP.O($APP.l(a,"__xScrollStoryModel"),b)){var c=$APP.N(b),d=$APP.H(c,$APP.wk),e=$APP.H(c,aP);b=$APP.H(c,$APP.V);var g=$APP.H(c,$APP.W),h=YO(a);h=$APP.N(h);var k=$APP.H(h,$APP.xj),m=$APP.H(h,XO);$APP.H(h,$APP.Wh);a.setAttribute("data-layout",d);$APP.C.h(d,
25
- "top")?m.style.width="":m.style.width="var(--x-scroll-story-media-width,"+$APP.S.g(e*100)+"%)";$APP.u(g)?k.setAttribute("aria-label",g):k.removeAttribute("aria-label");a.__xScrollStoryModel=c;$APP.n(b)?(xP(a),a.__xScrollStoryActiveIndex=-1,a.__xScrollStoryStepStates=null,sP(a),nP(a)):$APP.n($APP.l(a,"__xScrollStoryVisible"))&&(rP(a),jP(a));c=$APP.ei.g(c);b=$APP.n(c)?(b=$APP.q(b))?$APP.l(a,"__xScrollStoryVisible"):b:c;$APP.n(b)?oP(a):nP(a)}},zP=function(a){Object.defineProperty(a,"layout",{get:function(){var b=
26
- this.getAttribute("layout");return $APP.n(b)?b:"left"},set:function(b){return $APP.n(b)?this.setAttribute("layout",""+$APP.S.g(b)):this.removeAttribute("layout")},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return TO(this.getAttribute("threshold"))},set:function(b){return b!=null?this.setAttribute("threshold",""+$APP.S.g(b)):this.removeAttribute("threshold")},enumerable:!0,configurable:!0});Object.defineProperty(a,"split",{get:function(){return UO(this.getAttribute("split"))},
27
- set:function(b){return b!=null?this.setAttribute("split",""+$APP.S.g(b)):this.removeAttribute("split")},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?
28
- $APP.O(b,""):b)?this.setAttribute("label",""+$APP.S.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"activeIndex",{get:function(){var b=$APP.l(this,"__xScrollStoryActiveIndex");return b!=null?b:-1},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xScrollStoryLastProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplay",{get:function(){return this.hasAttribute("autoplay")},
29
- set:function(b){return $APP.n(b)?this.setAttribute("autoplay",""):this.removeAttribute("autoplay")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplaySpeed",{get:function(){return VO(this.getAttribute("autoplay-speed"))},set:function(b){return b!=null?this.setAttribute("autoplay-speed",""+$APP.S.g(b)):this.removeAttribute("autoplay-speed")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayLoop",{get:function(){return this.hasAttribute("autoplay-loop")},set:function(b){return $APP.n(b)?
17
+ !1;a.__xScrollStoryAutoplayLast=null},WS=function(a){if($APP.l(a,"__xScrollStoryAutoplayRAF")==null){var b=$APP.l(a,"__xScrollStoryModel");if($APP.n(function(){if($APP.n(b)){var p=$APP.Oh.g(b);return $APP.n(p)?(p=$APP.r($APP.X.g(b)))?(p=$APP.l(a,"__xScrollStoryVisible"),$APP.n(p)?!LS():p):p:p}return b}())){a.setAttribute("tabindex","0");a.__xScrollStoryAutoplayPaused=!1;a.__xScrollStoryAutoplayLast=null;var c=function(){return TS(a)},d=function(){return US(a)},e=function(){return $APP.n($APP.l(a,
18
+ "__xScrollStoryAutoplayPaused"))?US(a):null},g=function(){return TS(a)},h=function(){return US(a)},k=function(p){return $APP.C.h(p.code,"Space")?(p.preventDefault(),TS(a)):null},m=function(p){return $APP.C.h(p.code,"Space")?US(a):null};a.addEventListener("mousedown",c);a.addEventListener("mouseup",d);a.addEventListener("mouseleave",e);a.addEventListener("touchstart",g,{passive:!0});a.addEventListener("touchend",h,{passive:!0});a.addEventListener("keydown",k);a.addEventListener("keyup",m);$APP.ma(a,
19
+ "__xScrollStoryAutoplayHandlers",{mousedown:c,mouseup:d,mouseleave:e,touchstart:g,touchend:h,keydown:k,keyup:m});$APP.ma(a,"__xScrollStoryAutoplayRAF",requestAnimationFrame(SS(a)))}}return null},XS=function(a){a=$APP.l(a,"__xScrollStoryModel");return $APP.n(a)?$APP.X.g(a):a},YS=function(a){return $APP.n(function(){var b=a.isConnected;return $APP.n(b)?(b=$APP.l(a,"__xScrollStoryVisible"),$APP.n(b)?$APP.r(XS(a))&&!LS():b):b}())?$APP.n($APP.l(a,"__xScrollStoryRAF"))?null:$APP.ma(a,"__xScrollStoryRAF",
20
+ requestAnimationFrame(function(){return RS(a)})):null},ZS=function(a){a=$APP.l(a,"__xScrollStoryHandlers");$APP.n($APP.n(a)?$APP.r($APP.l(a,"scrollAttached")):a)&&(window.addEventListener("scroll",$APP.l(a,"scroll"),{passive:!0}),a.scrollAttached=!0)},$S=function(a){a=$APP.l(a,"__xScrollStoryHandlers");$APP.n($APP.n(a)?$APP.l(a,"scrollAttached"):a)&&(window.removeEventListener("scroll",$APP.l(a,"scroll")),a.scrollAttached=!1)},aT=function(a,b){b=b[0].isIntersecting;var c=$APP.N($APP.l(a,"__xScrollStoryRefs"));
21
+ c=$APP.I(c,$APP.Hh);a.__xScrollStoryVisible=b;if($APP.n(b)){if($APP.n(XS(a)))return null;ZS(a);RS(a);OS(c,"Story section entered viewport");NS(a,"x-scroll-story-enter",new $APP.R(null,1,[$APP.mk,function(){var d=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(d)?d:0}()],null));b=$APP.l(a,"__xScrollStoryModel");return $APP.n($APP.n(b)?$APP.Oh.g(b):b)?WS(a):null}$S(a);VS(a);if($APP.n(XS(a)))return null;OS(c,"Story section left viewport");return NS(a,"x-scroll-story-leave",new $APP.R(null,1,[$APP.mk,
22
+ function(){var d=$APP.l(a,"__xScrollStoryLastProg");return $APP.n(d)?d:0}()],null))},bT=function(a){function b(){return $APP.n($APP.l(a,"__xScrollStoryVisible"))?(a.__xScrollStoryStepStates=null,RS(a)):null}function c(){a.__xScrollStoryStepStates=null;return $APP.n($APP.l(a,"__xScrollStoryVisible"))?RS(a):null}var d=FS(a);d=$APP.N(d);$APP.I(d,$APP.fi).addEventListener("slotchange",c);window.addEventListener("resize",b);$APP.ma(a,"__xScrollStoryHandlers",{scroll:function(){return YS(a)},slot:c,resize:b,
23
+ scrollAttached:!1})},cT=function(a){var b=$APP.l(a,"__xScrollStoryHandlers");if($APP.n(b)){$S(a);var c=$APP.l(a,"__xScrollStoryRefs");if($APP.n(c)){c=$APP.fi.g(c);var d=$APP.l(b,"slot");$APP.n(d)&&c.removeEventListener("slotchange",d)}b=$APP.l(b,"resize");$APP.n(b)&&window.removeEventListener("resize",b)}b=$APP.l(a,"__xScrollStoryRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollStoryRAF=null);a.__xScrollStoryHandlers=null},dT=function(a){var b=$APP.l(a,"__xScrollStoryIO");$APP.n(b)&&b.disconnect();
24
+ b=new IntersectionObserver(function(c){return aT(a,c)},{threshold:[0]});b.observe(a);a.__xScrollStoryIO=b},eT=function(a){a=KS(a);for(var b=a.length,c=0;;)if(c<b)a[c].removeAttribute("data-active"),c+=1;else break},fT=function(a){var b=JS(a);if($APP.O($APP.l(a,"__xScrollStoryModel"),b)){var c=$APP.N(b),d=$APP.I(c,$APP.Wi),e=$APP.I(c,IS);b=$APP.I(c,$APP.X);var g=$APP.I(c,$APP.U),h=FS(a);h=$APP.N(h);var k=$APP.I(h,$APP.yi),m=$APP.I(h,ES);$APP.I(h,$APP.Hh);a.setAttribute("data-layout",d);$APP.C.h(d,
25
+ "top")?m.style.width="":m.style.width="var(--x-scroll-story-media-width,"+$APP.T.g(e*100)+"%)";$APP.u(g)?k.setAttribute("aria-label",g):k.removeAttribute("aria-label");a.__xScrollStoryModel=c;$APP.n(b)?(eT(a),a.__xScrollStoryActiveIndex=-1,a.__xScrollStoryStepStates=null,$S(a),VS(a)):$APP.n($APP.l(a,"__xScrollStoryVisible"))&&(ZS(a),RS(a));c=$APP.Oh.g(c);b=$APP.n(c)?(b=$APP.r(b))?$APP.l(a,"__xScrollStoryVisible"):b:c;$APP.n(b)?WS(a):VS(a)}},gT=function(a){Object.defineProperty(a,"layout",{get:function(){var b=
26
+ this.getAttribute("layout");return $APP.n(b)?b:"left"},set:function(b){return $APP.n(b)?this.setAttribute("layout",""+$APP.T.g(b)):this.removeAttribute("layout")},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return AS(this.getAttribute("threshold"))},set:function(b){return b!=null?this.setAttribute("threshold",""+$APP.T.g(b)):this.removeAttribute("threshold")},enumerable:!0,configurable:!0});Object.defineProperty(a,"split",{get:function(){return BS(this.getAttribute("split"))},
27
+ set:function(b){return b!=null?this.setAttribute("split",""+$APP.T.g(b)):this.removeAttribute("split")},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?
28
+ $APP.O(b,""):b)?this.setAttribute("label",""+$APP.T.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"activeIndex",{get:function(){var b=$APP.l(this,"__xScrollStoryActiveIndex");return b!=null?b:-1},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xScrollStoryLastProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplay",{get:function(){return this.hasAttribute("autoplay")},
29
+ set:function(b){return $APP.n(b)?this.setAttribute("autoplay",""):this.removeAttribute("autoplay")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplaySpeed",{get:function(){return CS(this.getAttribute("autoplay-speed"))},set:function(b){return b!=null?this.setAttribute("autoplay-speed",""+$APP.T.g(b)):this.removeAttribute("autoplay-speed")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayLoop",{get:function(){return this.hasAttribute("autoplay-loop")},set:function(b){return $APP.n(b)?
30
30
  this.setAttribute("autoplay-loop",""):this.removeAttribute("autoplay-loop")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayIndicator",{get:function(){return this.hasAttribute("autoplay-indicator")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay-indicator",""):this.removeAttribute("autoplay-indicator")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayPaused",{get:function(){return $APP.J($APP.l(this,"__xScrollStoryAutoplayPaused"))},enumerable:!0,configurable:!0})},
31
- BP=function(){var a=class extends HTMLElement{};a.observedAttributes=AP;a.prototype.connectedCallback=function(){YO(this);vP(this);uP(this);wP(this);yP(this);return null};a.prototype.disconnectedCallback=function(){nP(this);xP(this);if($APP.n($APP.l(this,"__xScrollStoryVisible"))){var b=$APP.l(this,"__xScrollStoryLastProg");fP(this,"x-scroll-story-leave",new $APP.Q(null,1,[$APP.vj,$APP.n(b)?b:0],null))}vP(this);b=$APP.l(this,"__xScrollStoryIO");$APP.n(b)&&(b.disconnect(),this.__xScrollStoryIO=null);
32
- this.__xScrollStoryVisible=!1;this.__xScrollStoryActiveIndex=-1;return this.__xScrollStoryStepStates=this.__xScrollStoryLastProg=null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&yP(this);return null};zP(a.prototype);return a},CP=function(){$APP.n(customElements.get("x-scroll-story"))||customElements.define("x-scroll-story",BP());return null},ZO=new $APP.M(null,"split-raw","split-raw",-455766786),aP=new $APP.M(null,"split","split",-599435118),XO=new $APP.M(null,"media","media",
33
- -1066138403);var AP="layout threshold split disabled label autoplay autoplay-speed autoplay-loop autoplay-indicator".split(" ");
34
- $APP.gf([$APP.pi,$APP.Og,$APP.rh,$APP.Fj,$APP.wk,$APP.zk,$APP.jj,$APP.bk,aP,$APP.W,$APP.hh,$APP.vj],[new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.U],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.X],null),new $APP.Q(null,2,[$APP.Z,$APP.U,$APP.Sg,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.U],null),new $APP.Q(null,2,[$APP.Z,$APP.Yj,$APP.Sg,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.U],null),new $APP.Q(null,
35
- 1,[$APP.Z,$APP.X],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,2,[$APP.Z,$APP.U,$APP.Sg,!0],null)]);
36
- $APP.zd(["x-scroll-story-step-change",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,4,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.ck,$APP.U,$APP.xk,$APP.X],null),$APP.Dj,!1],null),"x-scroll-story-step-enter",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-story-step-leave",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-story-progress",new $APP.Q(null,2,[$APP.Y,
37
- new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null),"x-scroll-story-enter",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,1,[$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-story-leave",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,1,[$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-story-autoplay-pause",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null),"x-scroll-story-autoplay-resume",new $APP.Q(null,
38
- 2,[$APP.Y,new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null)]);var $O=new $APP.R(null,new $APP.Q(null,3,["right",null,"top",null,"left",null],null),null);$APP.ja("baredom.exports.x_scroll_story.init",CP);export const init=CP;
31
+ iT=function(){var a=class extends HTMLElement{};a.observedAttributes=hT;a.prototype.connectedCallback=function(){FS(this);cT(this);bT(this);dT(this);fT(this);return null};a.prototype.disconnectedCallback=function(){VS(this);eT(this);if($APP.n($APP.l(this,"__xScrollStoryVisible"))){var b=$APP.l(this,"__xScrollStoryLastProg");NS(this,"x-scroll-story-leave",new $APP.R(null,1,[$APP.mk,$APP.n(b)?b:0],null))}cT(this);b=$APP.l(this,"__xScrollStoryIO");$APP.n(b)&&(b.disconnect(),this.__xScrollStoryIO=null);
32
+ this.__xScrollStoryVisible=!1;this.__xScrollStoryActiveIndex=-1;return this.__xScrollStoryStepStates=this.__xScrollStoryLastProg=null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&fT(this);return null};gT(a.prototype);return a},jT=function(){$APP.n(customElements.get("x-scroll-story"))||customElements.define("x-scroll-story",iT());return null},ES=new $APP.M(null,"media","media",-1066138403),GS=new $APP.M(null,"split-raw","split-raw",-455766786),IS=new $APP.M(null,"split","split",
33
+ -599435118);var hT="layout threshold split disabled label autoplay autoplay-speed autoplay-loop autoplay-indicator".split(" ");
34
+ $APP.mf([$APP.Kj,$APP.Ug,$APP.sj,$APP.Di,$APP.Wi,$APP.ej,$APP.fk,$APP.Gk,IS,$APP.U,$APP.mj,$APP.mk],[new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.gj,!0],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,2,[$APP.Z,$APP.Ni,$APP.gj,!0],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,
35
+ 1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.gj,!0],null)]);
36
+ $APP.Ed(["x-scroll-story-step-change",new $APP.R(null,2,[$APP.V,new $APP.R(null,4,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.Oi,$APP.W,$APP.Wk,$APP.Y],null),$APP.rk,!1],null),"x-scroll-story-step-enter",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-story-step-leave",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-story-progress",new $APP.R(null,2,[$APP.V,
37
+ new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null),"x-scroll-story-enter",new $APP.R(null,2,[$APP.V,new $APP.R(null,1,[$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-story-leave",new $APP.R(null,2,[$APP.V,new $APP.R(null,1,[$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-story-autoplay-pause",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null),"x-scroll-story-autoplay-resume",new $APP.R(null,
38
+ 2,[$APP.V,new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null)]);var HS=new $APP.S(null,new $APP.R(null,3,["right",null,"top",null,"left",null],null),null);$APP.ja("baredom.exports.x_scroll_story.init",jT);export const init=jT;
@@ -1,51 +1,51 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var ur=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Ag.h(0,$APP.Bg.h(1,a))):.5},vr=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?50:$APP.Ag.h(1,$APP.Bg.h(1E3,a))):50},wr=function(a,b){switch(a){case "alternating":return $APP.Sc(b,2)===0?"left":"right";case "left":return"right";case "right":return"left";default:return"right"}},xr=function(a,b){var c=$APP.B(a);if(c===0)return-1;for(var d=0,e=-1,g=-1;;){if(d>=c)return e>=0?
3
- e:g;var h=$APP.dc(a,d),k=$APP.N(h);h=$APP.H(k,$APP.Gh);k=$APP.H(k,$APP.ih);e=h<=b&&k>b?d:e;g=h<=b?d:g;d+=1}},yr=function(a,b,c){return b<=0?0:$APP.Ag.h(0,$APP.Bg.h(1,(c-a)/b))},Ar=function(a,b,c){var d=$APP.B(a);if(d===0)return"";if($APP.C.h(d,1))return a=$APP.w(a),a=$APP.N(a),a=$APP.H(a,$APP.Ui),"M "+$APP.S.g(c)+" "+$APP.S.g(a);var e=$APP.w(a),g=$APP.Ui.g(e);e=0;for(g=new $APP.$d(null,1,5,$APP.ae,["M "+$APP.S.g(c)+" "+$APP.S.g(g)],null);;){if(e>=d-1)return $APP.sg(g);var h=$APP.dc(a,e),k=$APP.dc(a,
4
- e+1),m=$APP.Ui.g(h),p=$APP.Ui.g(k);h=zr.g(h);var r=zr.g(k);k=$APP.C.h(h,"left")?-b:b;r=$APP.C.h(r,"left")?-b:b;h=m+(p-m)*.33;r=c+r;m+=(p-m)*.66;var v=c;e+=1;g=$APP.kf.h(g,"C "+$APP.S.g(c+k)+" "+$APP.S.g(h)+" "+$APP.S.g(r)+" "+$APP.S.g(m)+" "+$APP.S.g(v)+" "+$APP.S.g(p))}},Ir=function(a){var b=$APP.l(a,"__xScrollTimelineRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),g=document.createElement("div"),
5
- h=document.createElement("div"),k=document.createElementNS("http://www.w3.org/2000/svg","svg"),m=document.createElementNS("http://www.w3.org/2000/svg","path"),p=document.createElementNS("http://www.w3.org/2000/svg","path"),r=document.createElement("div"),v=document.createElement("slot"),x=document.createElement("div"),y=document.createElement("div");c.textContent=":host{display:block;position:relative;color-scheme:light dark;--x-scroll-timeline-track-color:rgba(0,0,0,0.12);--x-scroll-timeline-track-fill-color:#3b82f6;--x-scroll-timeline-track-width:3px;--x-scroll-timeline-marker-size:14px;--x-scroll-timeline-marker-color:rgba(0,0,0,0.15);--x-scroll-timeline-marker-active-color:#3b82f6;--x-scroll-timeline-marker-border-color:#3b82f6;--x-scroll-timeline-entry-gap:2rem;--x-scroll-timeline-date-color:rgba(0,0,0,0.5);--x-scroll-timeline-date-font-size:0.8125rem;--x-scroll-timeline-transition-duration:300ms;--x-scroll-timeline-curve-amplitude:60;--x-scroll-timeline-disabled-opacity:0.55;}@media (prefers-color-scheme:dark){:host{--x-scroll-timeline-track-color:rgba(255,255,255,0.12);--x-scroll-timeline-marker-color:rgba(255,255,255,0.18);--x-scroll-timeline-date-color:rgba(255,255,255,0.5);}}[part\x3dcontainer]{position:relative;padding:0;}[part\x3dtrack]{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:var(--x-scroll-timeline-track-width);pointer-events:none;z-index:1;}:host([data-layout\x3dleft]) [part\x3dtrack]{left:calc(var(--x-scroll-timeline-marker-size) / 2);transform:none;}:host([data-layout\x3dright]) [part\x3dtrack]{left:auto;right:calc(var(--x-scroll-timeline-marker-size) / 2);transform:none;}[part\x3dtrack-line]{position:absolute;top:0;bottom:0;left:0;right:0;background:var(--x-scroll-timeline-track-color);border-radius:999px;}[part\x3dtrack-fill]{position:absolute;top:0;left:0;right:0;height:0%;background:var(--x-scroll-timeline-track-fill-color);border-radius:999px;transition:height 60ms linear;}[part\x3dtrack-svg]{display:none;position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;}:host([data-track\x3dcurved]) [part\x3dtrack-line],:host([data-track\x3dcurved]) [part\x3dtrack-fill]{display:none;}:host([data-track\x3dcurved]) [part\x3dtrack-svg]{display:block;}[part\x3dtrack-path]{fill:none;stroke:var(--x-scroll-timeline-track-color);stroke-width:3px;stroke-linecap:round;}[part\x3dtrack-fill-path]{fill:none;stroke:var(--x-scroll-timeline-track-fill-color);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset 60ms linear;}[part\x3dentries]{position:relative;z-index:2;}::slotted(*){display:block;margin-bottom:var(--x-scroll-timeline-entry-gap);opacity:0.4;transition:opacity var(--x-scroll-timeline-transition-duration) ease;}::slotted(:last-child){margin-bottom:0;}::slotted([data-active]){opacity:1;}:host([data-layout\x3dalternating]) ::slotted(*){width:calc(50% - var(--x-scroll-timeline-marker-size));}:host([data-layout\x3dalternating]) ::slotted([data-side\x3dleft]){margin-left:0;margin-right:auto;text-align:right;padding-right:1.5rem;}:host([data-layout\x3dalternating]) ::slotted([data-side\x3dright]){margin-left:auto;margin-right:0;text-align:left;padding-left:1.5rem;}:host([data-layout\x3dleft]) ::slotted(*){margin-left:calc(var(--x-scroll-timeline-marker-size) + 1.5rem);width:auto;}:host([data-layout\x3dright]) ::slotted(*){margin-right:calc(var(--x-scroll-timeline-marker-size) + 1.5rem);width:auto;text-align:right;}.tl-marker{position:absolute;z-index:3;width:var(--x-scroll-timeline-marker-size);height:var(--x-scroll-timeline-marker-size);border-radius:50%;background:var(--x-scroll-timeline-marker-color);border:2px solid transparent;transform:translate(-50%,-50%);transition:background var(--x-scroll-timeline-transition-duration) ease,border-color var(--x-scroll-timeline-transition-duration) ease,box-shadow var(--x-scroll-timeline-transition-duration) ease;}.tl-marker[data-active]{background:var(--x-scroll-timeline-marker-active-color);border-color:var(--x-scroll-timeline-marker-active-color);box-shadow:0 0 0 3px rgba(59,130,246,0.25);}:host([data-marker\x3dring]) .tl-marker{background:transparent;border:2px solid var(--x-scroll-timeline-marker-color);}:host([data-marker\x3dring]) .tl-marker[data-active]{background:var(--x-scroll-timeline-marker-active-color);border-color:var(--x-scroll-timeline-marker-active-color);}:host([data-marker\x3dnone]) .tl-marker{display:none;}.tl-marker{left:50%;}:host([data-layout\x3dleft]) .tl-marker{left:calc(var(--x-scroll-timeline-marker-size) / 2);}:host([data-layout\x3dright]) .tl-marker{left:auto;right:calc(var(--x-scroll-timeline-marker-size) / 2);transform:translate(50%,-50%);}.tl-date{position:absolute;z-index:3;font-size:var(--x-scroll-timeline-date-font-size);color:var(--x-scroll-timeline-date-color);white-space:nowrap;transform:translateY(-50%);transition:color var(--x-scroll-timeline-transition-duration) ease;}.tl-date[data-active]{color:var(--x-scroll-timeline-marker-active-color);font-weight:600;}:host([data-layout\x3dalternating]) .tl-date[data-side\x3dleft]{left:calc(50% + var(--x-scroll-timeline-marker-size));padding-left:0.5rem;}:host([data-layout\x3dalternating]) .tl-date[data-side\x3dright]{right:calc(50% + var(--x-scroll-timeline-marker-size));padding-right:0.5rem;text-align:right;}:host([data-layout\x3dleft]) .tl-date{left:calc(var(--x-scroll-timeline-marker-size) + 0.5rem);}:host([data-layout\x3dright]) .tl-date{right:calc(var(--x-scroll-timeline-marker-size) + 0.5rem);text-align:right;}:host([disabled]){opacity:var(--x-scroll-timeline-disabled-opacity);}[part\x3dlive]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;}[part\x3dindicator]{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;width:48px;height:48px;opacity:0.7;z-index:4;}[part\x3dindicator]::before,[part\x3dindicator]::after{content:'';position:absolute;top:8px;width:12px;height:32px;background:rgba(255,255,255,0.9);border-radius:3px;}[part\x3dindicator]::before{left:8px;}[part\x3dindicator]::after{right:8px;}:host([data-autoplay-paused][autoplay-indicator]) [part\x3dindicator]{display:block;}@media (prefers-reduced-motion:reduce){::slotted(*){transition:none !important;}.tl-marker{transition:none !important;}.tl-date{transition:none !important;}[part\x3dtrack-fill]{transition:none !important;}[part\x3dtrack-fill-path]{transition:none !important;}}";
6
- d.setAttribute("part","container");d.setAttribute("role","feed");e.setAttribute("part","track");g.setAttribute("part","track-line");h.setAttribute("part","track-fill");k.setAttribute("part","track-svg");k.setAttribute("aria-hidden","true");k.setAttribute("focusable","false");m.setAttribute("part","track-path");p.setAttribute("part","track-fill-path");p.setAttribute("pathLength","1");k.appendChild(m);k.appendChild(p);e.appendChild(g);e.appendChild(h);r.setAttribute("part","entries");r.appendChild(v);
7
- x.setAttribute("part","indicator");d.appendChild(e);d.appendChild(r);d.appendChild(k);d.appendChild(x);y.setAttribute("part","live");y.setAttribute("aria-live","polite");y.setAttribute("aria-atomic","true");b.appendChild(c);b.appendChild(d);b.appendChild(y);b=$APP.gf([$APP.Si,Br,Cr,Dr,Er,Fr,$APP.Yh,$APP.xj,Gr,$APP.Wh,Hr,$APP.zi],[v,k,p,r,m,g,b,d,x,y,h,e]);a.__xScrollTimelineRefs=b;return $APP.l(a,"__xScrollTimelineRefs")},Qr=function(a){a=$APP.gf([$APP.Dh,Jr,$APP.Oj,$APP.yj,$APP.eh,$APP.Zh,$APP.ii,
8
- Kr,$APP.Bi,$APP.wj,Lr],[a.getAttribute("label"),a.getAttribute("marker"),a.getAttribute("autoplay-speed"),$APP.n(a.hasAttribute("autoplay"))?"":null,a.getAttribute("threshold"),a.getAttribute("layout"),$APP.n(a.hasAttribute("autoplay-indicator"))?"":null,a.getAttribute("track"),$APP.n(a.hasAttribute("disabled"))?"":null,$APP.n(a.hasAttribute("autoplay-loop"))?"":null,$APP.n(a.hasAttribute("no-progress"))?"":null]);var b=$APP.N(a);a=$APP.H(b,$APP.Bi);var c=$APP.H(b,$APP.wj),d=$APP.H(b,Lr),e=$APP.H(b,
9
- $APP.Dh),g=$APP.H(b,Jr),h=$APP.H(b,$APP.Oj),k=$APP.H(b,$APP.yj),m=$APP.H(b,$APP.eh),p=$APP.H(b,$APP.Zh),r=$APP.H(b,$APP.ii);b=$APP.H(b,Kr);p=typeof p==="string"?p.trim().toLowerCase():null;p=$APP.K(Mr,p)?p:"alternating";g=typeof g==="string"?g.trim().toLowerCase():null;g=$APP.K(Nr,g)?g:"dot";m=ur(m);e=$APP.n(e)?e:"";h=vr(h);b=typeof b==="string"?b.trim().toLowerCase():null;b=$APP.K(Or,b)?b:"straight";return $APP.gf([$APP.wk,$APP.Ah,$APP.Rh,Pr,$APP.jj,$APP.W,$APP.bi,$APP.V,$APP.Qj,$APP.zi,$APP.ei],
10
- [p,g,c!=null,d!=null,m,e,r!=null,a!=null,h,b,k!=null])},Rr=function(a){a=Ir(a);a=$APP.N(a);return $APP.H(a,$APP.Si).assignedElements()},Sr=function(){return $APP.J(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},Tr=function(a){a=a.getAttribute("id");return typeof a==="string"&&$APP.O(a,"")?a:null},Ur=function(a,b,c){b=new CustomEvent(b,{detail:$APP.Mg(c),bubbles:!0,composed:!0,cancelable:!1});return a.dispatchEvent(b)},Vr=function(a,b){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));var c=
11
- $APP.H(a,$APP.Wh);c.textContent=b;setTimeout(function(){return c.textContent=""},1E3)},Wr=function(a,b){for(var c=a.length,d=0;;)if(d<c){var e=a[d];e.setAttribute("data-side",wr(b,d));e.setAttribute("data-index",""+$APP.S.g(d));d+=1}else break},Xr=function(a){a=Rr(a);for(var b=a.length,c=0;;)if(c<b){var d=a[c];d.removeAttribute("data-active");d.removeAttribute("data-side");d.removeAttribute("data-index");c+=1}else break},Yr=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs"));c=$APP.H(c,
12
- $APP.xj);var d=$APP.l(a,"__xScrollTimelineMarkerEls");d=$APP.n(d)?d:[];b=b.length;for(var e=d.length,g=0;;)if(g<e)d[g].remove(),g+=1;else break;d=Array(b);for(e=0;;)if(e<b)g=document.createElement("div"),g.classList.add("tl-marker"),c.appendChild(g),d[e]=g,e+=1;else break;a.__xScrollTimelineMarkerEls=d},Zr=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs"));c=$APP.H(c,$APP.xj);var d=$APP.l(a,"__xScrollTimelineDateEls");var e=$APP.n(d)?d:[];d=b.length;for(var g=e.length,h=0;;)if(h<g){var k=
13
- e[h];$APP.n(k)&&k.remove();h+=1}else break;e=Array(d);for(g=0;;)if(g<d)h=b[g].getAttribute("data-date"),typeof h==="string"&&$APP.O(h,"")?(k=document.createElement("span"),k.classList.add("tl-date"),k.textContent=h,c.appendChild(k),e[g]=k):e[g]=null,g+=1;else break;a.__xScrollTimelineDateEls=e},$r=function(a,b,c){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));a=$APP.H(a,Hr);$APP.n(c)?a.style.height="0%":a.style.height=""+$APP.S.g(b*100)+"%"},as=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs")),
14
- d=$APP.H(c,$APP.xj),e=$APP.H(c,Br),g=$APP.H(c,Er);c=$APP.H(c,Cr);var h=function(){var G=$APP.l(a,"__xScrollTimelineModel");return $APP.n(G)?G:Qr(a)}(),k=$APP.wk.g(h);h=d.getBoundingClientRect();var m=h.top;d=h.height;var p=h.width,r=window.getComputedStyle(a).getPropertyValue("--x-scroll-timeline-curve-amplitude");h=function(){var G=parseFloat(r);return $APP.n(isNaN(G))?60:G}();var v=window.getComputedStyle(a).getPropertyValue("--x-scroll-timeline-marker-size"),x=function(){var G=parseFloat(v);return $APP.n(isNaN(G))?
15
- 7:G/2}(),y=function(){switch(k){case "left":return x;case "right":return p-x;default:return p*.5}}(),A=b.length;if(A>0){var D=function(){for(var G=0,I=$APP.Nd;;){if(G>=A)return I;var F=b[G].getBoundingClientRect(),P=G+1;I=$APP.kf.h(I,new $APP.Q(null,2,[$APP.Ui,F.top+F.height/2-m,zr,wr(k,G)],null));G=P}}();h=Ar(D,h,y);e.setAttribute("viewBox","0 0 "+$APP.S.g(p)+" "+$APP.S.g(d));g.setAttribute("d",h);c.setAttribute("d",h);c.setAttribute("stroke-dasharray","1");c.setAttribute("stroke-dashoffset","1")}},
16
- bs=function(a,b,c){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));a=$APP.H(a,Cr);$APP.n(c)?a.setAttribute("stroke-dashoffset","1"):a.setAttribute("stroke-dashoffset",""+$APP.S.g(1-b))},cs=function(a,b,c){var d=$APP.l(a,"__xScrollTimelineActiveIndex");d=$APP.n(d)?d:-1;if($APP.O(d,c)){d>=0&&d<b.length&&b[d].removeAttribute("data-active");c>=0&&c<b.length&&b[c].setAttribute("data-active","");var e=$APP.l(a,"__xScrollTimelineMarkerEls"),g=$APP.l(a,"__xScrollTimelineDateEls");$APP.n(e)&&(d>=0&&d<e.length&&
17
- e[d].removeAttribute("data-active"),c>=0&&c<e.length&&e[c].setAttribute("data-active",""));$APP.n(g)&&(d>=0&&d<g.length&&(e=g[d],$APP.n(e)&&e.removeAttribute("data-active")),c>=0&&c<g.length&&(g=g[c],$APP.n(g)&&g.setAttribute("data-active","")));c>=0?a.setAttribute("data-active-index",""+$APP.S.g(c)):a.removeAttribute("data-active-index");a.__xScrollTimelineActiveIndex=c;g=d>=0&&d<b.length?Tr(b[d]):null;b=c>=0&&c<b.length?Tr(b[c]):null;Ur(a,"x-scroll-timeline-entry-change",new $APP.Q(null,4,[$APP.sh,
18
- c,$APP.xi,b,$APP.ck,d,$APP.xk,g],null));Vr(a,"Entry "+$APP.S.g(c+1)+" active")}},ds=function(a,b,c,d){var e=b.length;var g=$APP.l(a,"__xScrollTimelineEntryStates");if(!$APP.n($APP.n(g)?$APP.C.h(g.length,e):g)){for(var h=Array(e),k=0;;)if(k<e)h[k]=$APP.n($APP.n(g)?k<g.length:g)?g[k]:!1,k+=1;else break;g=a.__xScrollTimelineEntryStates=h}for(h=0;;)if(h<e){if(h<$APP.B(c)){k=$APP.dc(c,h);k=$APP.N(k);var m=$APP.H(k,$APP.Gh),p=$APP.H(k,$APP.ih),r=g[h];k=m<=d&&p>d;var v=Tr(b[h]);m=yr(m,p-m,d);$APP.q(r)&&
19
- k?(g[h]=!0,Ur(a,"x-scroll-timeline-entry-enter",new $APP.Q(null,3,[$APP.sh,h,$APP.xi,v,$APP.vj,m],null))):$APP.n($APP.n(r)?!k:r)&&(g[h]=!1,Ur(a,"x-scroll-timeline-entry-leave",new $APP.Q(null,3,[$APP.sh,h,$APP.xi,v,$APP.vj,m],null)))}h+=1}else break},es=function(a){var b=function(){var r=$APP.l(a,"__xScrollTimelineModel");return $APP.n(r)?r:Qr(a)}();if(!$APP.n($APP.V.g(b))){var c=Rr(a),d=c.length,e=window.innerHeight,g=e*$APP.jj.g(b),h=function(){for(var r=0,v=$APP.Nd;;){if(r>=d)return v;var x=c[r].getBoundingClientRect();
20
- r+=1;v=$APP.kf.h(v,new $APP.Q(null,2,[$APP.Gh,x.top,$APP.ih,x.top+x.height],null))}}(),k=xr(h,g),m=$APP.N($APP.l(a,"__xScrollTimelineRefs"));m=$APP.H(m,$APP.xj).getBoundingClientRect();e=$APP.Ag.h(0,$APP.Bg.h(1,(e-m.top)/(e+m.height)));m=$APP.l(a,"__xScrollTimelineLastProg");var p=d<2||k<0?0:function(){var r=function(){var D=$APP.dc(h,0);return($APP.Gh.g(D)+$APP.ih.g(D))/2}(),v=function(){var D=$APP.dc(h,d-1);return($APP.Gh.g(D)+$APP.ih.g(D))/2}()-r,x=$APP.dc(h,k),y=($APP.Gh.g(x)+$APP.ih.g(x))/2;
21
- x=yr($APP.Gh.g(x),$APP.ih.g(x)-$APP.Gh.g(x),g);var A=k<d-1?function(){var D=$APP.dc(h,k+1);return($APP.Gh.g(D)+$APP.ih.g(D))/2}():y;return v<=0?1:$APP.Ag.h(0,$APP.Bg.h(1,(y+x*(A-y)-r)/v))}();cs(a,c,k);ds(a,c,h,g);$APP.C.h($APP.zi.g(b),"curved")?bs(a,p,Pr.g(b)):$r(a,p,Pr.g(b));if(m==null||Math.abs(e-m)>.001)a.__xScrollTimelineLastProg=e,b=k>=0&&k<d?Tr(c[k]):null,Ur(a,"x-scroll-timeline-progress",new $APP.Q(null,3,[$APP.vj,e,$APP.zk,k,$APP.Qi,b],null))}a.__xScrollTimelineRAF=null},fs=function(a){return function d(c){if($APP.n(function(){var k=
22
- a.isConnected;return $APP.n(k)?(k=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(k)?$APP.q($APP.l(a,"__xScrollTimelineAutoplayPaused")):k):k}())){var e=$APP.l(a,"__xScrollTimelineModel");if($APP.n(function(){if($APP.n(e)){var k=$APP.ei.g(e);return $APP.n(k)?$APP.q($APP.V.g(e)):k}return e}())){var g=$APP.l(a,"__xScrollTimelineAutoplayLast");g=$APP.n(g)?(c-g)/1E3:0;a.__xScrollTimelineAutoplayLast=c;if(g>0){var h=window.scrollY;window.scrollBy(0,$APP.Qj.g(e)*g);$APP.n(function(){var k=$APP.Rh.g(e);return $APP.n(k)?
23
- window.scrollY-h<.5:k}())&&(c=a.getBoundingClientRect().top+window.scrollY,window.scrollTo(0,$APP.Ag.h(0,c-window.innerHeight)),a.__xScrollTimelineAutoplayLast=null)}return $APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(d))}}return null}},gs=function(a){if($APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused")))return null;a.__xScrollTimelineAutoplayPaused=!0;var b=$APP.l(a,"__xScrollTimelineAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollTimelineAutoplayRAF=null);a.setAttribute("data-autoplay-paused",
24
- "");b=function(){var e=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(e)?e:0}();var c=function(){var e=$APP.l(a,"__xScrollTimelineActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?Tr(d[c]):null;return Ur(a,"x-scroll-timeline-autoplay-pause",new $APP.Q(null,3,[$APP.vj,b,$APP.zk,c,$APP.Qi,d],null))},hs=function(a){if($APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused"))){a.__xScrollTimelineAutoplayPaused=!1;a.removeAttribute("data-autoplay-paused");a.__xScrollTimelineAutoplayLast=
25
- null;$APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(fs(a)));var b=function(){var e=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(e)?e:0}(),c=function(){var e=$APP.l(a,"__xScrollTimelineActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?Tr(d[c]):null;return Ur(a,"x-scroll-timeline-autoplay-resume",new $APP.Q(null,3,[$APP.vj,b,$APP.zk,c,$APP.Qi,d],null))}return null},is=function(a){var b=$APP.l(a,"__xScrollTimelineAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),
2
+ var Qr=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.5:$APP.Fg.h(0,$APP.Gg.h(1,a))):.5},Rr=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?50:$APP.Fg.h(1,$APP.Gg.h(1E3,a))):50},Sr=function(a,b){switch(a){case "alternating":return $APP.Vc(b,2)===0?"left":"right";case "left":return"right";case "right":return"left";default:return"right"}},Tr=function(a,b){var c=$APP.B(a);if(c===0)return-1;for(var d=0,e=-1,g=-1;;){if(d>=c)return e>=0?
3
+ e:g;var h=$APP.fc(a,d),k=$APP.N(h);h=$APP.I(k,$APP.uh);k=$APP.I(k,$APP.oj);e=h<=b&&k>b?d:e;g=h<=b?d:g;d+=1}},Ur=function(a,b,c){return b<=0?0:$APP.Fg.h(0,$APP.Gg.h(1,(c-a)/b))},Wr=function(a,b,c){var d=$APP.B(a);if(d===0)return"";if($APP.C.h(d,1))return a=$APP.w(a),a=$APP.N(a),a=$APP.I(a,$APP.Yj),"M "+$APP.T.g(c)+" "+$APP.T.g(a);var e=$APP.w(a),g=$APP.Yj.g(e);e=0;for(g=new $APP.Q(null,1,5,$APP.fe,["M "+$APP.T.g(c)+" "+$APP.T.g(g)],null);;){if(e>=d-1)return $APP.xg(g);var h=$APP.fc(a,e),k=$APP.fc(a,
4
+ e+1),m=$APP.Yj.g(h),p=$APP.Yj.g(k);h=Vr.g(h);var q=Vr.g(k);k=$APP.C.h(h,"left")?-b:b;q=$APP.C.h(q,"left")?-b:b;h=m+(p-m)*.33;q=c+q;m+=(p-m)*.66;var v=c;e+=1;g=$APP.ad.h(g,"C "+$APP.T.g(c+k)+" "+$APP.T.g(h)+" "+$APP.T.g(q)+" "+$APP.T.g(m)+" "+$APP.T.g(v)+" "+$APP.T.g(p))}},ds=function(a){var b=$APP.l(a,"__xScrollTimelineRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),g=document.createElement("div"),
5
+ h=document.createElement("div"),k=document.createElementNS("http://www.w3.org/2000/svg","svg"),m=document.createElementNS("http://www.w3.org/2000/svg","path"),p=document.createElementNS("http://www.w3.org/2000/svg","path"),q=document.createElement("div"),v=document.createElement("slot"),x=document.createElement("div"),y=document.createElement("div");c.textContent=":host{display:block;position:relative;color-scheme:light dark;--x-scroll-timeline-track-color:rgba(0,0,0,0.12);--x-scroll-timeline-track-fill-color:#3b82f6;--x-scroll-timeline-track-width:3px;--x-scroll-timeline-marker-size:14px;--x-scroll-timeline-marker-color:rgba(0,0,0,0.15);--x-scroll-timeline-marker-active-color:#3b82f6;--x-scroll-timeline-marker-border-color:#3b82f6;--x-scroll-timeline-entry-gap:2rem;--x-scroll-timeline-date-color:rgba(0,0,0,0.5);--x-scroll-timeline-date-font-size:0.8125rem;--x-scroll-timeline-transition-duration:300ms;--x-scroll-timeline-curve-amplitude:60;--x-scroll-timeline-disabled-opacity:0.55;}@media (prefers-color-scheme:dark){:host{--x-scroll-timeline-track-color:rgba(255,255,255,0.12);--x-scroll-timeline-marker-color:rgba(255,255,255,0.18);--x-scroll-timeline-date-color:rgba(255,255,255,0.5);}}[part\x3dcontainer]{position:relative;padding:0;}[part\x3dtrack]{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:var(--x-scroll-timeline-track-width);pointer-events:none;z-index:1;}:host([data-layout\x3dleft]) [part\x3dtrack]{left:calc(var(--x-scroll-timeline-marker-size) / 2);transform:none;}:host([data-layout\x3dright]) [part\x3dtrack]{left:auto;right:calc(var(--x-scroll-timeline-marker-size) / 2);transform:none;}[part\x3dtrack-line]{position:absolute;top:0;bottom:0;left:0;right:0;background:var(--x-scroll-timeline-track-color);border-radius:999px;}[part\x3dtrack-fill]{position:absolute;top:0;left:0;right:0;height:0%;background:var(--x-scroll-timeline-track-fill-color);border-radius:999px;transition:height 60ms linear;}[part\x3dtrack-svg]{display:none;position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;}:host([data-track\x3dcurved]) [part\x3dtrack-line],:host([data-track\x3dcurved]) [part\x3dtrack-fill]{display:none;}:host([data-track\x3dcurved]) [part\x3dtrack-svg]{display:block;}[part\x3dtrack-path]{fill:none;stroke:var(--x-scroll-timeline-track-color);stroke-width:3px;stroke-linecap:round;}[part\x3dtrack-fill-path]{fill:none;stroke:var(--x-scroll-timeline-track-fill-color);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset 60ms linear;}[part\x3dentries]{position:relative;z-index:2;}::slotted(*){display:block;margin-bottom:var(--x-scroll-timeline-entry-gap);opacity:0.4;transition:opacity var(--x-scroll-timeline-transition-duration) ease;}::slotted(:last-child){margin-bottom:0;}::slotted([data-active]){opacity:1;}:host([data-layout\x3dalternating]) ::slotted(*){width:calc(50% - var(--x-scroll-timeline-marker-size));}:host([data-layout\x3dalternating]) ::slotted([data-side\x3dleft]){margin-left:0;margin-right:auto;text-align:right;padding-right:1.5rem;}:host([data-layout\x3dalternating]) ::slotted([data-side\x3dright]){margin-left:auto;margin-right:0;text-align:left;padding-left:1.5rem;}:host([data-layout\x3dleft]) ::slotted(*){margin-left:calc(var(--x-scroll-timeline-marker-size) + 1.5rem);width:auto;}:host([data-layout\x3dright]) ::slotted(*){margin-right:calc(var(--x-scroll-timeline-marker-size) + 1.5rem);width:auto;text-align:right;}.tl-marker{position:absolute;z-index:3;width:var(--x-scroll-timeline-marker-size);height:var(--x-scroll-timeline-marker-size);border-radius:50%;background:var(--x-scroll-timeline-marker-color);border:2px solid transparent;transform:translate(-50%,-50%);transition:background var(--x-scroll-timeline-transition-duration) ease,border-color var(--x-scroll-timeline-transition-duration) ease,box-shadow var(--x-scroll-timeline-transition-duration) ease;}.tl-marker[data-active]{background:var(--x-scroll-timeline-marker-active-color);border-color:var(--x-scroll-timeline-marker-active-color);box-shadow:0 0 0 3px rgba(59,130,246,0.25);}:host([data-marker\x3dring]) .tl-marker{background:transparent;border:2px solid var(--x-scroll-timeline-marker-color);}:host([data-marker\x3dring]) .tl-marker[data-active]{background:var(--x-scroll-timeline-marker-active-color);border-color:var(--x-scroll-timeline-marker-active-color);}:host([data-marker\x3dnone]) .tl-marker{display:none;}.tl-marker{left:50%;}:host([data-layout\x3dleft]) .tl-marker{left:calc(var(--x-scroll-timeline-marker-size) / 2);}:host([data-layout\x3dright]) .tl-marker{left:auto;right:calc(var(--x-scroll-timeline-marker-size) / 2);transform:translate(50%,-50%);}.tl-date{position:absolute;z-index:3;font-size:var(--x-scroll-timeline-date-font-size);color:var(--x-scroll-timeline-date-color);white-space:nowrap;transform:translateY(-50%);transition:color var(--x-scroll-timeline-transition-duration) ease;}.tl-date[data-active]{color:var(--x-scroll-timeline-marker-active-color);font-weight:600;}:host([data-layout\x3dalternating]) .tl-date[data-side\x3dleft]{left:calc(50% + var(--x-scroll-timeline-marker-size));padding-left:0.5rem;}:host([data-layout\x3dalternating]) .tl-date[data-side\x3dright]{right:calc(50% + var(--x-scroll-timeline-marker-size));padding-right:0.5rem;text-align:right;}:host([data-layout\x3dleft]) .tl-date{left:calc(var(--x-scroll-timeline-marker-size) + 0.5rem);}:host([data-layout\x3dright]) .tl-date{right:calc(var(--x-scroll-timeline-marker-size) + 0.5rem);text-align:right;}:host([disabled]){opacity:var(--x-scroll-timeline-disabled-opacity);}[part\x3dlive]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;}[part\x3dindicator]{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;width:48px;height:48px;opacity:0.7;z-index:4;}[part\x3dindicator]::before,[part\x3dindicator]::after{content:'';position:absolute;top:8px;width:12px;height:32px;background:rgba(255,255,255,0.9);border-radius:3px;}[part\x3dindicator]::before{left:8px;}[part\x3dindicator]::after{right:8px;}:host([data-autoplay-paused][autoplay-indicator]) [part\x3dindicator]{display:block;}@media (prefers-reduced-motion:reduce){::slotted(*){transition:none !important;}.tl-marker{transition:none !important;}.tl-date{transition:none !important;}[part\x3dtrack-fill]{transition:none !important;}[part\x3dtrack-fill-path]{transition:none !important;}}";
6
+ d.setAttribute("part","container");d.setAttribute("role","feed");e.setAttribute("part","track");g.setAttribute("part","track-line");h.setAttribute("part","track-fill");k.setAttribute("part","track-svg");k.setAttribute("aria-hidden","true");k.setAttribute("focusable","false");m.setAttribute("part","track-path");p.setAttribute("part","track-fill-path");p.setAttribute("pathLength","1");k.appendChild(m);k.appendChild(p);e.appendChild(g);e.appendChild(h);q.setAttribute("part","entries");q.appendChild(v);
7
+ x.setAttribute("part","indicator");d.appendChild(e);d.appendChild(q);d.appendChild(k);d.appendChild(x);y.setAttribute("part","live");y.setAttribute("aria-live","polite");y.setAttribute("aria-atomic","true");b.appendChild(c);b.appendChild(d);b.appendChild(y);b=$APP.mf([$APP.fi,Xr,Yr,Zr,$r,as,$APP.Jh,$APP.yi,bs,$APP.Hh,cs,$APP.ai],[v,k,p,q,m,g,b,d,x,y,h,e]);a.__xScrollTimelineRefs=b;return $APP.l(a,"__xScrollTimelineRefs")},ls=function(a){a=$APP.mf([$APP.sh,es,$APP.Ii,$APP.ok,$APP.eh,$APP.Fj,$APP.Sh,
8
+ fs,$APP.bi,$APP.nk,gs],[a.getAttribute("label"),a.getAttribute("marker"),a.getAttribute("autoplay-speed"),$APP.n(a.hasAttribute("autoplay"))?"":null,a.getAttribute("threshold"),a.getAttribute("layout"),$APP.n(a.hasAttribute("autoplay-indicator"))?"":null,a.getAttribute("track"),$APP.n(a.hasAttribute("disabled"))?"":null,$APP.n(a.hasAttribute("autoplay-loop"))?"":null,$APP.n(a.hasAttribute("no-progress"))?"":null]);var b=$APP.N(a);a=$APP.I(b,$APP.bi);var c=$APP.I(b,$APP.nk),d=$APP.I(b,gs),e=$APP.I(b,
9
+ $APP.sh),g=$APP.I(b,es),h=$APP.I(b,$APP.Ii),k=$APP.I(b,$APP.ok),m=$APP.I(b,$APP.eh),p=$APP.I(b,$APP.Fj),q=$APP.I(b,$APP.Sh);b=$APP.I(b,fs);p=typeof p==="string"?p.trim().toLowerCase():null;p=$APP.K(hs,p)?p:"alternating";g=typeof g==="string"?g.trim().toLowerCase():null;g=$APP.K(is,g)?g:"dot";m=Qr(m);e=$APP.n(e)?e:"";h=Rr(h);b=typeof b==="string"?b.trim().toLowerCase():null;b=$APP.K(js,b)?b:"straight";return $APP.mf([$APP.Wi,$APP.uj,$APP.Dh,ks,$APP.fk,$APP.U,$APP.Lh,$APP.X,$APP.Ji,$APP.ai,$APP.Oh],
10
+ [p,g,c!=null,d!=null,m,e,q!=null,a!=null,h,b,k!=null])},ms=function(a){a=ds(a);a=$APP.N(a);return $APP.I(a,$APP.fi).assignedElements()},ns=function(){return $APP.J(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},os=function(a){a=a.getAttribute("id");return typeof a==="string"&&$APP.O(a,"")?a:null},ps=function(a,b,c){b=new CustomEvent(b,{detail:$APP.Sg(c),bubbles:!0,composed:!0,cancelable:!1});return a.dispatchEvent(b)},qs=function(a,b){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));var c=
11
+ $APP.I(a,$APP.Hh);c.textContent=b;setTimeout(function(){return c.textContent=""},1E3)},rs=function(a,b){for(var c=a.length,d=0;;)if(d<c){var e=a[d];e.setAttribute("data-side",Sr(b,d));e.setAttribute("data-index",""+$APP.T.g(d));d+=1}else break},ss=function(a){a=ms(a);for(var b=a.length,c=0;;)if(c<b){var d=a[c];d.removeAttribute("data-active");d.removeAttribute("data-side");d.removeAttribute("data-index");c+=1}else break},ts=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs"));c=$APP.I(c,
12
+ $APP.yi);var d=$APP.l(a,"__xScrollTimelineMarkerEls");d=$APP.n(d)?d:[];b=b.length;for(var e=d.length,g=0;;)if(g<e)d[g].remove(),g+=1;else break;d=Array(b);for(e=0;;)if(e<b)g=document.createElement("div"),g.classList.add("tl-marker"),c.appendChild(g),d[e]=g,e+=1;else break;a.__xScrollTimelineMarkerEls=d},us=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs"));c=$APP.I(c,$APP.yi);var d=$APP.l(a,"__xScrollTimelineDateEls");var e=$APP.n(d)?d:[];d=b.length;for(var g=e.length,h=0;;)if(h<g){var k=
13
+ e[h];$APP.n(k)&&k.remove();h+=1}else break;e=Array(d);for(g=0;;)if(g<d)h=b[g].getAttribute("data-date"),typeof h==="string"&&$APP.O(h,"")?(k=document.createElement("span"),k.classList.add("tl-date"),k.textContent=h,c.appendChild(k),e[g]=k):e[g]=null,g+=1;else break;a.__xScrollTimelineDateEls=e},vs=function(a,b,c){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));a=$APP.I(a,cs);$APP.n(c)?a.style.height="0%":a.style.height=""+$APP.T.g(b*100)+"%"},ws=function(a,b){var c=$APP.N($APP.l(a,"__xScrollTimelineRefs")),
14
+ d=$APP.I(c,$APP.yi),e=$APP.I(c,Xr),g=$APP.I(c,$r);c=$APP.I(c,Yr);var h=function(){var G=$APP.l(a,"__xScrollTimelineModel");return $APP.n(G)?G:ls(a)}(),k=$APP.Wi.g(h);h=d.getBoundingClientRect();var m=h.top;d=h.height;var p=h.width,q=window.getComputedStyle(a).getPropertyValue("--x-scroll-timeline-curve-amplitude");h=function(){var G=parseFloat(q);return $APP.n(isNaN(G))?60:G}();var v=window.getComputedStyle(a).getPropertyValue("--x-scroll-timeline-marker-size"),x=function(){var G=parseFloat(v);return $APP.n(isNaN(G))?
15
+ 7:G/2}(),y=function(){switch(k){case "left":return x;case "right":return p-x;default:return p*.5}}(),A=b.length;if(A>0){var D=function(){for(var G=0,H=$APP.Td;;){if(G>=A)return H;var F=b[G].getBoundingClientRect(),P=G+1;H=$APP.ad.h(H,new $APP.R(null,2,[$APP.Yj,F.top+F.height/2-m,Vr,Sr(k,G)],null));G=P}}();h=Wr(D,h,y);e.setAttribute("viewBox","0 0 "+$APP.T.g(p)+" "+$APP.T.g(d));g.setAttribute("d",h);c.setAttribute("d",h);c.setAttribute("stroke-dasharray","1");c.setAttribute("stroke-dashoffset","1")}},
16
+ xs=function(a,b,c){a=$APP.N($APP.l(a,"__xScrollTimelineRefs"));a=$APP.I(a,Yr);$APP.n(c)?a.setAttribute("stroke-dashoffset","1"):a.setAttribute("stroke-dashoffset",""+$APP.T.g(1-b))},ys=function(a,b,c){var d=$APP.l(a,"__xScrollTimelineActiveIndex");d=$APP.n(d)?d:-1;if($APP.O(d,c)){d>=0&&d<b.length&&b[d].removeAttribute("data-active");c>=0&&c<b.length&&b[c].setAttribute("data-active","");var e=$APP.l(a,"__xScrollTimelineMarkerEls"),g=$APP.l(a,"__xScrollTimelineDateEls");$APP.n(e)&&(d>=0&&d<e.length&&
17
+ e[d].removeAttribute("data-active"),c>=0&&c<e.length&&e[c].setAttribute("data-active",""));$APP.n(g)&&(d>=0&&d<g.length&&(e=g[d],$APP.n(e)&&e.removeAttribute("data-active")),c>=0&&c<g.length&&(g=g[c],$APP.n(g)&&g.setAttribute("data-active","")));c>=0?a.setAttribute("data-active-index",""+$APP.T.g(c)):a.removeAttribute("data-active-index");a.__xScrollTimelineActiveIndex=c;g=d>=0&&d<b.length?os(b[d]):null;b=c>=0&&c<b.length?os(b[c]):null;ps(a,"x-scroll-timeline-entry-change",new $APP.R(null,4,[$APP.ih,
18
+ c,$APP.Oj,b,$APP.Oi,d,$APP.Wk,g],null));qs(a,"Entry "+$APP.T.g(c+1)+" active")}},zs=function(a,b,c,d){var e=b.length;var g=$APP.l(a,"__xScrollTimelineEntryStates");if(!$APP.n($APP.n(g)?$APP.C.h(g.length,e):g)){for(var h=Array(e),k=0;;)if(k<e)h[k]=$APP.n($APP.n(g)?k<g.length:g)?g[k]:!1,k+=1;else break;g=a.__xScrollTimelineEntryStates=h}for(h=0;;)if(h<e){if(h<$APP.B(c)){k=$APP.fc(c,h);k=$APP.N(k);var m=$APP.I(k,$APP.uh),p=$APP.I(k,$APP.oj),q=g[h];k=m<=d&&p>d;var v=os(b[h]);m=Ur(m,p-m,d);$APP.r(q)&&
19
+ k?(g[h]=!0,ps(a,"x-scroll-timeline-entry-enter",new $APP.R(null,3,[$APP.ih,h,$APP.Oj,v,$APP.mk,m],null))):$APP.n($APP.n(q)?!k:q)&&(g[h]=!1,ps(a,"x-scroll-timeline-entry-leave",new $APP.R(null,3,[$APP.ih,h,$APP.Oj,v,$APP.mk,m],null)))}h+=1}else break},As=function(a){var b=function(){var q=$APP.l(a,"__xScrollTimelineModel");return $APP.n(q)?q:ls(a)}();if(!$APP.n($APP.X.g(b))){var c=ms(a),d=c.length,e=window.innerHeight,g=e*$APP.fk.g(b),h=function(){for(var q=0,v=$APP.Td;;){if(q>=d)return v;var x=c[q].getBoundingClientRect();
20
+ q+=1;v=$APP.ad.h(v,new $APP.R(null,2,[$APP.uh,x.top,$APP.oj,x.top+x.height],null))}}(),k=Tr(h,g),m=$APP.N($APP.l(a,"__xScrollTimelineRefs"));m=$APP.I(m,$APP.yi).getBoundingClientRect();e=$APP.Fg.h(0,$APP.Gg.h(1,(e-m.top)/(e+m.height)));m=$APP.l(a,"__xScrollTimelineLastProg");var p=d<2||k<0?0:function(){var q=function(){var D=$APP.fc(h,0);return($APP.uh.g(D)+$APP.oj.g(D))/2}(),v=function(){var D=$APP.fc(h,d-1);return($APP.uh.g(D)+$APP.oj.g(D))/2}()-q,x=$APP.fc(h,k),y=($APP.uh.g(x)+$APP.oj.g(x))/2;
21
+ x=Ur($APP.uh.g(x),$APP.oj.g(x)-$APP.uh.g(x),g);var A=k<d-1?function(){var D=$APP.fc(h,k+1);return($APP.uh.g(D)+$APP.oj.g(D))/2}():y;return v<=0?1:$APP.Fg.h(0,$APP.Gg.h(1,(y+x*(A-y)-q)/v))}();ys(a,c,k);zs(a,c,h,g);$APP.C.h($APP.ai.g(b),"curved")?xs(a,p,ks.g(b)):vs(a,p,ks.g(b));if(m==null||Math.abs(e-m)>.001)a.__xScrollTimelineLastProg=e,b=k>=0&&k<d?os(c[k]):null,ps(a,"x-scroll-timeline-progress",new $APP.R(null,3,[$APP.mk,e,$APP.ej,k,$APP.Vj,b],null))}a.__xScrollTimelineRAF=null},Bs=function(a){return function d(c){if($APP.n(function(){var k=
22
+ a.isConnected;return $APP.n(k)?(k=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(k)?$APP.r($APP.l(a,"__xScrollTimelineAutoplayPaused")):k):k}())){var e=$APP.l(a,"__xScrollTimelineModel");if($APP.n(function(){if($APP.n(e)){var k=$APP.Oh.g(e);return $APP.n(k)?$APP.r($APP.X.g(e)):k}return e}())){var g=$APP.l(a,"__xScrollTimelineAutoplayLast");g=$APP.n(g)?(c-g)/1E3:0;a.__xScrollTimelineAutoplayLast=c;if(g>0){var h=window.scrollY;window.scrollBy(0,$APP.Ji.g(e)*g);$APP.n(function(){var k=$APP.Dh.g(e);return $APP.n(k)?
23
+ window.scrollY-h<.5:k}())&&(c=a.getBoundingClientRect().top+window.scrollY,window.scrollTo(0,$APP.Fg.h(0,c-window.innerHeight)),a.__xScrollTimelineAutoplayLast=null)}return $APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(d))}}return null}},Cs=function(a){if($APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused")))return null;a.__xScrollTimelineAutoplayPaused=!0;var b=$APP.l(a,"__xScrollTimelineAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollTimelineAutoplayRAF=null);a.setAttribute("data-autoplay-paused",
24
+ "");b=function(){var e=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(e)?e:0}();var c=function(){var e=$APP.l(a,"__xScrollTimelineActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?os(d[c]):null;return ps(a,"x-scroll-timeline-autoplay-pause",new $APP.R(null,3,[$APP.mk,b,$APP.ej,c,$APP.Vj,d],null))},Ds=function(a){if($APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused"))){a.__xScrollTimelineAutoplayPaused=!1;a.removeAttribute("data-autoplay-paused");a.__xScrollTimelineAutoplayLast=
25
+ null;$APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(Bs(a)));var b=function(){var e=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(e)?e:0}(),c=function(){var e=$APP.l(a,"__xScrollTimelineActiveIndex");return $APP.n(e)?e:-1}(),d=a.children;d=c>=0&&c<d.length?os(d[c]):null;return ps(a,"x-scroll-timeline-autoplay-resume",new $APP.R(null,3,[$APP.mk,b,$APP.ej,c,$APP.Vj,d],null))}return null},Es=function(a){var b=$APP.l(a,"__xScrollTimelineAutoplayRAF");$APP.n(b)&&(cancelAnimationFrame(b),
26
26
  a.__xScrollTimelineAutoplayRAF=null);b=$APP.l(a,"__xScrollTimelineAutoplayHandlers");$APP.n(b)&&(a.removeEventListener("mousedown",$APP.l(b,"mousedown")),a.removeEventListener("mouseup",$APP.l(b,"mouseup")),a.removeEventListener("mouseleave",$APP.l(b,"mouseleave")),a.removeEventListener("touchstart",$APP.l(b,"touchstart")),a.removeEventListener("touchend",$APP.l(b,"touchend")),a.removeEventListener("keydown",$APP.l(b,"keydown")),a.removeEventListener("keyup",$APP.l(b,"keyup")),a.__xScrollTimelineAutoplayHandlers=
27
- null);a.removeAttribute("data-autoplay-paused");a.removeAttribute("tabindex");a.__xScrollTimelineAutoplayPaused=!1;a.__xScrollTimelineAutoplayLast=null},js=function(a){if($APP.l(a,"__xScrollTimelineAutoplayRAF")==null){var b=$APP.l(a,"__xScrollTimelineModel");if($APP.n(function(){if($APP.n(b)){var p=$APP.ei.g(b);return $APP.n(p)?(p=$APP.q($APP.V.g(b)))?(p=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(p)?!Sr():p):p:p}return b}())){a.setAttribute("tabindex","0");a.__xScrollTimelineAutoplayPaused=!1;a.__xScrollTimelineAutoplayLast=
28
- null;var c=function(){return gs(a)},d=function(){return hs(a)},e=function(){return $APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused"))?hs(a):null},g=function(){return gs(a)},h=function(){return hs(a)},k=function(p){return $APP.C.h(p.code,"Space")?(p.preventDefault(),gs(a)):null},m=function(p){return $APP.C.h(p.code,"Space")?hs(a):null};a.addEventListener("mousedown",c);a.addEventListener("mouseup",d);a.addEventListener("mouseleave",e);a.addEventListener("touchstart",g,{passive:!0});a.addEventListener("touchend",
29
- h,{passive:!0});a.addEventListener("keydown",k);a.addEventListener("keyup",m);$APP.ma(a,"__xScrollTimelineAutoplayHandlers",{mousedown:c,mouseup:d,mouseleave:e,touchstart:g,touchend:h,keydown:k,keyup:m});$APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(fs(a)))}}return null},ks=function(a){a=$APP.l(a,"__xScrollTimelineModel");return $APP.n(a)?$APP.V.g(a):a},ls=function(a){return $APP.n(function(){var b=a.isConnected;return $APP.n(b)?(b=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(b)?$APP.q(ks(a))&&
30
- !Sr():b):b}())?$APP.n($APP.l(a,"__xScrollTimelineRAF"))?null:$APP.ma(a,"__xScrollTimelineRAF",requestAnimationFrame(function(){return es(a)})):null},ms=function(a){a=$APP.l(a,"__xScrollTimelineHandlers");$APP.n($APP.n(a)?$APP.q($APP.l(a,"scrollAttached")):a)&&(window.addEventListener("scroll",$APP.l(a,"scroll"),{passive:!0}),a.scrollAttached=!0)},ns=function(a){a=$APP.l(a,"__xScrollTimelineHandlers");$APP.n($APP.n(a)?$APP.l(a,"scrollAttached"):a)&&(window.removeEventListener("scroll",$APP.l(a,"scroll")),
31
- a.scrollAttached=!1)},os=function(a,b){b=b[0].isIntersecting;a.__xScrollTimelineVisible=b;if($APP.n(b)){if($APP.n(ks(a)))return null;ms(a);es(a);Vr(a,"Timeline entered viewport");Ur(a,"x-scroll-timeline-enter",new $APP.Q(null,1,[$APP.vj,function(){var c=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(c)?c:0}()],null));b=$APP.l(a,"__xScrollTimelineModel");return $APP.n($APP.n(b)?$APP.ei.g(b):b)?js(a):null}ns(a);is(a);if($APP.n(ks(a)))return null;Vr(a,"Timeline left viewport");return Ur(a,"x-scroll-timeline-leave",
32
- new $APP.Q(null,1,[$APP.vj,function(){var c=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(c)?c:0}()],null))},ps=function(a){var b=function(){var d=$APP.l(a,"__xScrollTimelineModel");return $APP.n(d)?d:Qr(a)}(),c=Rr(a);Wr(c,$APP.wk.g(b));Yr(a,c);Zr(a,c);return requestAnimationFrame(function(){var d=Rr(a),e=$APP.l(a,"__xScrollTimelineMarkerEls"),g=$APP.l(a,"__xScrollTimelineDateEls"),h=$APP.N($APP.l(a,"__xScrollTimelineRefs"));h=$APP.H(h,$APP.xj).getBoundingClientRect().top;var k=$APP.l(a,"__xScrollTimelineModel");
33
- k=$APP.n(k)?k:Qr(a);k=$APP.wk.g(k);for(var m=d.length,p=0;;)if(p<m){var r=d[p].getBoundingClientRect();r=r.top+r.height/2-h;var v=wr(k,p),x=$APP.n(e)?e[p]:e;$APP.n(x)&&(x.style.top=""+$APP.S.g(r)+"px");x=$APP.n(g)?g[p]:g;$APP.n(x)&&(x.style.top=""+$APP.S.g(r)+"px",x.setAttribute("data-side",v));p+=1}else break;$APP.C.h($APP.zi.g(b),"curved")&&as(a,d);return $APP.n($APP.l(a,"__xScrollTimelineVisible"))?es(a):null})},qs=function(a){function b(){return $APP.n($APP.l(a,"__xScrollTimelineVisible"))?(a.__xScrollTimelineEntryStates=
34
- null,ps(a)):null}function c(){a.__xScrollTimelineEntryStates=null;return ps(a)}var d=Ir(a);d=$APP.N(d);$APP.H(d,$APP.Si).addEventListener("slotchange",c);window.addEventListener("resize",b);$APP.ma(a,"__xScrollTimelineHandlers",{scroll:function(){return ls(a)},slot:c,resize:b,scrollAttached:!1})},rs=function(a){var b=$APP.l(a,"__xScrollTimelineHandlers");if($APP.n(b)){ns(a);var c=$APP.l(a,"__xScrollTimelineRefs");if($APP.n(c)){c=$APP.Si.g(c);var d=$APP.l(b,"slot");$APP.n(d)&&c.removeEventListener("slotchange",
35
- d)}b=$APP.l(b,"resize");$APP.n(b)&&window.removeEventListener("resize",b)}b=$APP.l(a,"__xScrollTimelineRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollTimelineRAF=null);a.__xScrollTimelineHandlers=null},ss=function(a){var b=$APP.l(a,"__xScrollTimelineIO");$APP.n(b)&&b.disconnect();b=new IntersectionObserver(function(c){return os(a,c)},{threshold:[0]});b.observe(a);a.__xScrollTimelineIO=b},ts=function(a){var b=Qr(a);if($APP.O($APP.l(a,"__xScrollTimelineModel"),b)){b=$APP.N(b);var c=$APP.H(b,$APP.wk),
36
- d=$APP.H(b,$APP.zi),e=$APP.H(b,$APP.V),g=$APP.H(b,$APP.W),h=$APP.H(b,$APP.Ah),k=Ir(a);k=$APP.N(k);k=$APP.H(k,$APP.xj);var m=$APP.l(a,"__xScrollTimelineModel");a.setAttribute("data-layout",c);a.setAttribute("data-track",d);a.setAttribute("data-marker",h);$APP.u(g)?k.setAttribute("aria-label",g):k.removeAttribute("aria-label");a.__xScrollTimelineModel=b;$APP.n(e)?(Xr(a),a.__xScrollTimelineActiveIndex=-1,a.__xScrollTimelineEntryStates=null,ns(a),is(a)):$APP.n(m)&&($APP.O($APP.wk.g(m),c)||$APP.O($APP.zi.g(m),
37
- d)||$APP.O($APP.Ah.g(m),h)||$APP.O($APP.V.g(m),e)?ps(a):($APP.O($APP.jj.g(m),$APP.jj.g(b))||$APP.O(Pr.g(m),Pr.g(b)))&&$APP.n($APP.l(a,"__xScrollTimelineVisible"))&&es(a));$APP.n(e)||(b=$APP.ei.g(b),$APP.n($APP.n(b)?$APP.l(a,"__xScrollTimelineVisible"):b)?js(a):is(a))}},us=function(a){Object.defineProperty(a,"layout",{get:function(){var b=this.getAttribute("layout");return $APP.n(b)?b:"alternating"},set:function(b){return $APP.n(b)?this.setAttribute("layout",""+$APP.S.g(b)):this.removeAttribute("layout")},
38
- enumerable:!0,configurable:!0});Object.defineProperty(a,"track",{get:function(){var b=this.getAttribute("track");return $APP.n(b)?b:"straight"},set:function(b){return $APP.n(b)?this.setAttribute("track",""+$APP.S.g(b)):this.removeAttribute("track")},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return ur(this.getAttribute("threshold"))},set:function(b){return b!=null?this.setAttribute("threshold",""+$APP.S.g(b)):this.removeAttribute("threshold")},enumerable:!0,
27
+ null);a.removeAttribute("data-autoplay-paused");a.removeAttribute("tabindex");a.__xScrollTimelineAutoplayPaused=!1;a.__xScrollTimelineAutoplayLast=null},Fs=function(a){if($APP.l(a,"__xScrollTimelineAutoplayRAF")==null){var b=$APP.l(a,"__xScrollTimelineModel");if($APP.n(function(){if($APP.n(b)){var p=$APP.Oh.g(b);return $APP.n(p)?(p=$APP.r($APP.X.g(b)))?(p=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(p)?!ns():p):p:p}return b}())){a.setAttribute("tabindex","0");a.__xScrollTimelineAutoplayPaused=!1;a.__xScrollTimelineAutoplayLast=
28
+ null;var c=function(){return Cs(a)},d=function(){return Ds(a)},e=function(){return $APP.n($APP.l(a,"__xScrollTimelineAutoplayPaused"))?Ds(a):null},g=function(){return Cs(a)},h=function(){return Ds(a)},k=function(p){return $APP.C.h(p.code,"Space")?(p.preventDefault(),Cs(a)):null},m=function(p){return $APP.C.h(p.code,"Space")?Ds(a):null};a.addEventListener("mousedown",c);a.addEventListener("mouseup",d);a.addEventListener("mouseleave",e);a.addEventListener("touchstart",g,{passive:!0});a.addEventListener("touchend",
29
+ h,{passive:!0});a.addEventListener("keydown",k);a.addEventListener("keyup",m);$APP.ma(a,"__xScrollTimelineAutoplayHandlers",{mousedown:c,mouseup:d,mouseleave:e,touchstart:g,touchend:h,keydown:k,keyup:m});$APP.ma(a,"__xScrollTimelineAutoplayRAF",requestAnimationFrame(Bs(a)))}}return null},Gs=function(a){a=$APP.l(a,"__xScrollTimelineModel");return $APP.n(a)?$APP.X.g(a):a},Hs=function(a){return $APP.n(function(){var b=a.isConnected;return $APP.n(b)?(b=$APP.l(a,"__xScrollTimelineVisible"),$APP.n(b)?$APP.r(Gs(a))&&
30
+ !ns():b):b}())?$APP.n($APP.l(a,"__xScrollTimelineRAF"))?null:$APP.ma(a,"__xScrollTimelineRAF",requestAnimationFrame(function(){return As(a)})):null},Is=function(a){a=$APP.l(a,"__xScrollTimelineHandlers");$APP.n($APP.n(a)?$APP.r($APP.l(a,"scrollAttached")):a)&&(window.addEventListener("scroll",$APP.l(a,"scroll"),{passive:!0}),a.scrollAttached=!0)},Js=function(a){a=$APP.l(a,"__xScrollTimelineHandlers");$APP.n($APP.n(a)?$APP.l(a,"scrollAttached"):a)&&(window.removeEventListener("scroll",$APP.l(a,"scroll")),
31
+ a.scrollAttached=!1)},Ks=function(a,b){b=b[0].isIntersecting;a.__xScrollTimelineVisible=b;if($APP.n(b)){if($APP.n(Gs(a)))return null;Is(a);As(a);qs(a,"Timeline entered viewport");ps(a,"x-scroll-timeline-enter",new $APP.R(null,1,[$APP.mk,function(){var c=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(c)?c:0}()],null));b=$APP.l(a,"__xScrollTimelineModel");return $APP.n($APP.n(b)?$APP.Oh.g(b):b)?Fs(a):null}Js(a);Es(a);if($APP.n(Gs(a)))return null;qs(a,"Timeline left viewport");return ps(a,"x-scroll-timeline-leave",
32
+ new $APP.R(null,1,[$APP.mk,function(){var c=$APP.l(a,"__xScrollTimelineLastProg");return $APP.n(c)?c:0}()],null))},Ls=function(a){var b=function(){var d=$APP.l(a,"__xScrollTimelineModel");return $APP.n(d)?d:ls(a)}(),c=ms(a);rs(c,$APP.Wi.g(b));ts(a,c);us(a,c);return requestAnimationFrame(function(){var d=ms(a),e=$APP.l(a,"__xScrollTimelineMarkerEls"),g=$APP.l(a,"__xScrollTimelineDateEls"),h=$APP.N($APP.l(a,"__xScrollTimelineRefs"));h=$APP.I(h,$APP.yi).getBoundingClientRect().top;var k=$APP.l(a,"__xScrollTimelineModel");
33
+ k=$APP.n(k)?k:ls(a);k=$APP.Wi.g(k);for(var m=d.length,p=0;;)if(p<m){var q=d[p].getBoundingClientRect();q=q.top+q.height/2-h;var v=Sr(k,p),x=$APP.n(e)?e[p]:e;$APP.n(x)&&(x.style.top=""+$APP.T.g(q)+"px");x=$APP.n(g)?g[p]:g;$APP.n(x)&&(x.style.top=""+$APP.T.g(q)+"px",x.setAttribute("data-side",v));p+=1}else break;$APP.C.h($APP.ai.g(b),"curved")&&ws(a,d);return $APP.n($APP.l(a,"__xScrollTimelineVisible"))?As(a):null})},Ms=function(a){function b(){return $APP.n($APP.l(a,"__xScrollTimelineVisible"))?(a.__xScrollTimelineEntryStates=
34
+ null,Ls(a)):null}function c(){a.__xScrollTimelineEntryStates=null;return Ls(a)}var d=ds(a);d=$APP.N(d);$APP.I(d,$APP.fi).addEventListener("slotchange",c);window.addEventListener("resize",b);$APP.ma(a,"__xScrollTimelineHandlers",{scroll:function(){return Hs(a)},slot:c,resize:b,scrollAttached:!1})},Ns=function(a){var b=$APP.l(a,"__xScrollTimelineHandlers");if($APP.n(b)){Js(a);var c=$APP.l(a,"__xScrollTimelineRefs");if($APP.n(c)){c=$APP.fi.g(c);var d=$APP.l(b,"slot");$APP.n(d)&&c.removeEventListener("slotchange",
35
+ d)}b=$APP.l(b,"resize");$APP.n(b)&&window.removeEventListener("resize",b)}b=$APP.l(a,"__xScrollTimelineRAF");$APP.n(b)&&(cancelAnimationFrame(b),a.__xScrollTimelineRAF=null);a.__xScrollTimelineHandlers=null},Os=function(a){var b=$APP.l(a,"__xScrollTimelineIO");$APP.n(b)&&b.disconnect();b=new IntersectionObserver(function(c){return Ks(a,c)},{threshold:[0]});b.observe(a);a.__xScrollTimelineIO=b},Ps=function(a){var b=ls(a);if($APP.O($APP.l(a,"__xScrollTimelineModel"),b)){b=$APP.N(b);var c=$APP.I(b,$APP.Wi),
36
+ d=$APP.I(b,$APP.ai),e=$APP.I(b,$APP.X),g=$APP.I(b,$APP.U),h=$APP.I(b,$APP.uj),k=ds(a);k=$APP.N(k);k=$APP.I(k,$APP.yi);var m=$APP.l(a,"__xScrollTimelineModel");a.setAttribute("data-layout",c);a.setAttribute("data-track",d);a.setAttribute("data-marker",h);$APP.u(g)?k.setAttribute("aria-label",g):k.removeAttribute("aria-label");a.__xScrollTimelineModel=b;$APP.n(e)?(ss(a),a.__xScrollTimelineActiveIndex=-1,a.__xScrollTimelineEntryStates=null,Js(a),Es(a)):$APP.n(m)&&($APP.O($APP.Wi.g(m),c)||$APP.O($APP.ai.g(m),
37
+ d)||$APP.O($APP.uj.g(m),h)||$APP.O($APP.X.g(m),e)?Ls(a):($APP.O($APP.fk.g(m),$APP.fk.g(b))||$APP.O(ks.g(m),ks.g(b)))&&$APP.n($APP.l(a,"__xScrollTimelineVisible"))&&As(a));$APP.n(e)||(b=$APP.Oh.g(b),$APP.n($APP.n(b)?$APP.l(a,"__xScrollTimelineVisible"):b)?Fs(a):Es(a))}},Qs=function(a){Object.defineProperty(a,"layout",{get:function(){var b=this.getAttribute("layout");return $APP.n(b)?b:"alternating"},set:function(b){return $APP.n(b)?this.setAttribute("layout",""+$APP.T.g(b)):this.removeAttribute("layout")},
38
+ enumerable:!0,configurable:!0});Object.defineProperty(a,"track",{get:function(){var b=this.getAttribute("track");return $APP.n(b)?b:"straight"},set:function(b){return $APP.n(b)?this.setAttribute("track",""+$APP.T.g(b)):this.removeAttribute("track")},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return Qr(this.getAttribute("threshold"))},set:function(b){return b!=null?this.setAttribute("threshold",""+$APP.T.g(b)):this.removeAttribute("threshold")},enumerable:!0,
39
39
  configurable:!0});Object.defineProperty(a,"noProgress",{get:function(){return this.hasAttribute("no-progress")},set:function(b){return $APP.n(b)?this.setAttribute("no-progress",""):this.removeAttribute("no-progress")},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",
40
- {get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.O(b,""):b)?this.setAttribute("label",""+$APP.S.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"marker",{get:function(){var b=this.getAttribute("marker");return $APP.n(b)?b:"dot"},set:function(b){return $APP.n(b)?this.setAttribute("marker",""+$APP.S.g(b)):this.removeAttribute("marker")},enumerable:!0,configurable:!0});Object.defineProperty(a,
40
+ {get:function(){var b=this.getAttribute("label");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.O(b,""):b)?this.setAttribute("label",""+$APP.T.g(b)):this.removeAttribute("label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"marker",{get:function(){var b=this.getAttribute("marker");return $APP.n(b)?b:"dot"},set:function(b){return $APP.n(b)?this.setAttribute("marker",""+$APP.T.g(b)):this.removeAttribute("marker")},enumerable:!0,configurable:!0});Object.defineProperty(a,
41
41
  "activeIndex",{get:function(){var b=$APP.l(this,"__xScrollTimelineActiveIndex");return b!=null?b:-1},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xScrollTimelineLastProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplay",{get:function(){return this.hasAttribute("autoplay")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay",""):this.removeAttribute("autoplay")},enumerable:!0,configurable:!0});
42
- Object.defineProperty(a,"autoplaySpeed",{get:function(){return vr(this.getAttribute("autoplay-speed"))},set:function(b){return b!=null?this.setAttribute("autoplay-speed",""+$APP.S.g(b)):this.removeAttribute("autoplay-speed")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayLoop",{get:function(){return this.hasAttribute("autoplay-loop")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay-loop",""):this.removeAttribute("autoplay-loop")},enumerable:!0,configurable:!0});Object.defineProperty(a,
43
- "autoplayIndicator",{get:function(){return this.hasAttribute("autoplay-indicator")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay-indicator",""):this.removeAttribute("autoplay-indicator")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayPaused",{get:function(){return $APP.J($APP.l(this,"__xScrollTimelineAutoplayPaused"))},enumerable:!0,configurable:!0})},ws=function(){var a=class extends HTMLElement{};a.observedAttributes=vs;a.prototype.connectedCallback=function(){Ir(this);
44
- rs(this);qs(this);ss(this);ts(this);return null};a.prototype.disconnectedCallback=function(){is(this);Xr(this);if($APP.n($APP.l(this,"__xScrollTimelineVisible"))){var b=$APP.l(this,"__xScrollTimelineLastProg");Ur(this,"x-scroll-timeline-leave",new $APP.Q(null,1,[$APP.vj,$APP.n(b)?b:0],null))}rs(this);b=$APP.l(this,"__xScrollTimelineIO");$APP.n(b)&&(b.disconnect(),this.__xScrollTimelineIO=null);this.__xScrollTimelineVisible=!1;this.__xScrollTimelineActiveIndex=-1;return this.__xScrollTimelineEntryStates=
45
- this.__xScrollTimelineLastProg=null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&ts(this);return null};us(a.prototype);return a},xs=function(){$APP.n(customElements.get("x-scroll-timeline"))||customElements.define("x-scroll-timeline",ws());return null},Br=new $APP.M(null,"track-svg","track-svg",-556455964),Hr=new $APP.M(null,"track-fill","track-fill",1852369499),Dr=new $APP.M(null,"entries","entries",-86943161),zr=new $APP.M(null,"side","side",389652279),Jr=new $APP.M(null,"marker-raw",
46
- "marker-raw",2140891555),Gr=new $APP.M(null,"indicator","indicator",1928219637),Pr=new $APP.M(null,"no-progress?","no-progress?",-1599319890),Kr=new $APP.M(null,"track-raw","track-raw",751958776),Er=new $APP.M(null,"track-path","track-path",-1838135442),Fr=new $APP.M(null,"track-line","track-line",1370628624),Cr=new $APP.M(null,"fill-path","fill-path",-792439899),Lr=new $APP.M(null,"no-progress-attr","no-progress-attr",115951679);var vs="layout track threshold no-progress disabled label marker autoplay autoplay-speed autoplay-loop autoplay-indicator".split(" ");
47
- $APP.gf([$APP.pi,$APP.Og,$APP.rh,$APP.Fj,$APP.wk,$APP.zk,$APP.Ah,$APP.jj,$APP.bk,$APP.W,$APP.hh,$APP.vj,new $APP.M(null,"noProgress","noProgress",-2114530658),$APP.zi],[new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.U],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.X],null),new $APP.Q(null,2,[$APP.Z,$APP.U,$APP.Sg,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.X],null),new $APP.Q(null,1,[$APP.Z,$APP.U],null),
48
- new $APP.Q(null,2,[$APP.Z,$APP.Yj,$APP.Sg,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.X],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,2,[$APP.Z,$APP.U,$APP.Sg,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.Yj],null),new $APP.Q(null,1,[$APP.Z,$APP.X],null)]);
49
- $APP.zd(["x-scroll-timeline-entry-change",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,4,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.ck,$APP.U,$APP.xk,$APP.X],null),$APP.Dj,!1],null),"x-scroll-timeline-entry-enter",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-timeline-entry-leave",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.sh,$APP.U,$APP.xi,$APP.X,$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-timeline-progress",new $APP.Q(null,
50
- 2,[$APP.Y,new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null),"x-scroll-timeline-enter",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,1,[$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-timeline-leave",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,1,[$APP.vj,$APP.U],null),$APP.Dj,!1],null),"x-scroll-timeline-autoplay-pause",new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null),"x-scroll-timeline-autoplay-resume",
51
- new $APP.Q(null,2,[$APP.Y,new $APP.Q(null,3,[$APP.vj,$APP.U,$APP.zk,$APP.U,$APP.Qi,$APP.X],null),$APP.Dj,!1],null)]);var Mr=new $APP.R(null,new $APP.Q(null,3,["right",null,"left",null,"alternating",null],null),null),Or=new $APP.R(null,new $APP.Q(null,2,["curved",null,"straight",null],null),null),Nr=new $APP.R(null,new $APP.Q(null,3,["ring",null,"none",null,"dot",null],null),null);$APP.ja("baredom.exports.x_scroll_timeline.init",xs);export const init=xs;
42
+ Object.defineProperty(a,"autoplaySpeed",{get:function(){return Rr(this.getAttribute("autoplay-speed"))},set:function(b){return b!=null?this.setAttribute("autoplay-speed",""+$APP.T.g(b)):this.removeAttribute("autoplay-speed")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayLoop",{get:function(){return this.hasAttribute("autoplay-loop")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay-loop",""):this.removeAttribute("autoplay-loop")},enumerable:!0,configurable:!0});Object.defineProperty(a,
43
+ "autoplayIndicator",{get:function(){return this.hasAttribute("autoplay-indicator")},set:function(b){return $APP.n(b)?this.setAttribute("autoplay-indicator",""):this.removeAttribute("autoplay-indicator")},enumerable:!0,configurable:!0});Object.defineProperty(a,"autoplayPaused",{get:function(){return $APP.J($APP.l(this,"__xScrollTimelineAutoplayPaused"))},enumerable:!0,configurable:!0})},Ss=function(){var a=class extends HTMLElement{};a.observedAttributes=Rs;a.prototype.connectedCallback=function(){ds(this);
44
+ Ns(this);Ms(this);Os(this);Ps(this);return null};a.prototype.disconnectedCallback=function(){Es(this);ss(this);if($APP.n($APP.l(this,"__xScrollTimelineVisible"))){var b=$APP.l(this,"__xScrollTimelineLastProg");ps(this,"x-scroll-timeline-leave",new $APP.R(null,1,[$APP.mk,$APP.n(b)?b:0],null))}Ns(this);b=$APP.l(this,"__xScrollTimelineIO");$APP.n(b)&&(b.disconnect(),this.__xScrollTimelineIO=null);this.__xScrollTimelineVisible=!1;this.__xScrollTimelineActiveIndex=-1;return this.__xScrollTimelineEntryStates=
45
+ this.__xScrollTimelineLastProg=null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&Ps(this);return null};Qs(a.prototype);return a},Ts=function(){$APP.n(customElements.get("x-scroll-timeline"))||customElements.define("x-scroll-timeline",Ss());return null},cs=new $APP.M(null,"track-fill","track-fill",1852369499),Zr=new $APP.M(null,"entries","entries",-86943161),es=new $APP.M(null,"marker-raw","marker-raw",2140891555),bs=new $APP.M(null,"indicator","indicator",1928219637),ks=new $APP.M(null,
46
+ "no-progress?","no-progress?",-1599319890),fs=new $APP.M(null,"track-raw","track-raw",751958776),$r=new $APP.M(null,"track-path","track-path",-1838135442),Yr=new $APP.M(null,"fill-path","fill-path",-792439899),gs=new $APP.M(null,"no-progress-attr","no-progress-attr",115951679),Xr=new $APP.M(null,"track-svg","track-svg",-556455964),Vr=new $APP.M(null,"side","side",389652279),as=new $APP.M(null,"track-line","track-line",1370628624);var Rs="layout track threshold no-progress disabled label marker autoplay autoplay-speed autoplay-loop autoplay-indicator".split(" ");
47
+ $APP.mf([$APP.Kj,$APP.Ug,$APP.sj,$APP.Di,$APP.Wi,$APP.ej,$APP.uj,$APP.fk,$APP.Gk,$APP.U,$APP.mj,$APP.mk,new $APP.M(null,"noProgress","noProgress",-2114530658),$APP.ai],[new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.gj,!0],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),
48
+ new $APP.R(null,2,[$APP.Z,$APP.Ni,$APP.gj,!0],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,2,[$APP.Z,$APP.W,$APP.gj,!0],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null)]);
49
+ $APP.Ed(["x-scroll-timeline-entry-change",new $APP.R(null,2,[$APP.V,new $APP.R(null,4,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.Oi,$APP.W,$APP.Wk,$APP.Y],null),$APP.rk,!1],null),"x-scroll-timeline-entry-enter",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-timeline-entry-leave",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.ih,$APP.W,$APP.Oj,$APP.Y,$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-timeline-progress",new $APP.R(null,
50
+ 2,[$APP.V,new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null),"x-scroll-timeline-enter",new $APP.R(null,2,[$APP.V,new $APP.R(null,1,[$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-timeline-leave",new $APP.R(null,2,[$APP.V,new $APP.R(null,1,[$APP.mk,$APP.W],null),$APP.rk,!1],null),"x-scroll-timeline-autoplay-pause",new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null),"x-scroll-timeline-autoplay-resume",
51
+ new $APP.R(null,2,[$APP.V,new $APP.R(null,3,[$APP.mk,$APP.W,$APP.ej,$APP.W,$APP.Vj,$APP.Y],null),$APP.rk,!1],null)]);var hs=new $APP.S(null,new $APP.R(null,3,["right",null,"left",null,"alternating",null],null),null),js=new $APP.S(null,new $APP.R(null,2,["curved",null,"straight",null],null),null),is=new $APP.S(null,new $APP.R(null,3,["ring",null,"none",null,"dot",null],null),null);$APP.ja("baredom.exports.x_scroll_timeline.init",Ts);export const init=Ts;