@sociallane/elements 1.0.8 → 1.0.10

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 (184) hide show
  1. package/admin/views/onboarding.php +1 -1
  2. package/admin/views/partials/step-complete.php +1 -1
  3. package/admin/views/partials/step-requirements.php +2 -2
  4. package/admin/views/settings.php +1 -1
  5. package/admin/views/setup-widget-catalog-frontend.php +3 -1
  6. package/admin/views/setup-widget-catalog.php +7 -3
  7. package/assets/css/tailwind.css +1 -28
  8. package/elements/button/button.php +29 -16
  9. package/elements/button/templates/render.php +8 -24
  10. package/includes/button-presets.php +15 -5
  11. package/includes/class-widget-manager.php +1 -1
  12. package/package.json +1 -1
  13. package/packages/core/assets/css/tailwind.css +1 -28
  14. package/packages/core/assets/dist/.vite/manifest.json +15 -3
  15. package/packages/core/assets/dist/animations-BfenTMbz.js +1 -0
  16. package/packages/core/assets/dist/tailwind-BBMzypmd.css +1 -0
  17. package/packages/core/assets/dist/vendor-gsap-W43tiS41.js +37 -0
  18. package/packages/core/assets/dist/vendor-lenis-L8jc5Amd.js +1 -0
  19. package/packages/core/includes/helpers.php +35 -22
  20. package/packages/core/package.json +1 -1
  21. package/packages/core/vite.config.js +25 -5
  22. package/packages/widgets/bento-grid/data/view.php +8 -8
  23. package/packages/widgets/bento-grid/templates/partials/tcsr-row1-left.php +1 -1
  24. package/packages/widgets/bento-grid/templates/partials/two-row-deploys.php +1 -1
  25. package/packages/widgets/bento-grid/templates/partials/two-row-overview.php +1 -1
  26. package/packages/widgets/bento-grid/templates/partials/two-row-security.php +1 -1
  27. package/packages/widgets/bento-grid-4/data/view.php +8 -8
  28. package/packages/widgets/bento-grid-4/templates/partials/tcsr-row1-left.php +1 -1
  29. package/packages/widgets/bento-grid-4/templates/partials/two-row-deploys.php +1 -1
  30. package/packages/widgets/bento-grid-4/templates/partials/two-row-overview.php +1 -1
  31. package/packages/widgets/bento-grid-4/templates/partials/two-row-security.php +1 -1
  32. package/packages/widgets/bento-grid-5/data/view.php +8 -8
  33. package/packages/widgets/bento-grid-5/templates/partials/tcsr-row1-left.php +1 -1
  34. package/packages/widgets/bento-grid-5/templates/partials/two-row-deploys.php +1 -1
  35. package/packages/widgets/bento-grid-5/templates/partials/two-row-overview.php +1 -1
  36. package/packages/widgets/bento-grid-5/templates/partials/two-row-security.php +1 -1
  37. package/packages/widgets/bento-grid-6/data/view.php +8 -8
  38. package/packages/widgets/bento-grid-6/templates/partials/tcsr-row1-left.php +1 -1
  39. package/packages/widgets/bento-grid-6/templates/partials/two-row-deploys.php +1 -1
  40. package/packages/widgets/bento-grid-6/templates/partials/two-row-overview.php +1 -1
  41. package/packages/widgets/bento-grid-6/templates/partials/two-row-security.php +1 -1
  42. package/packages/widgets/bento-portfolio/data/view.php +3 -3
  43. package/packages/widgets/bento-portfolio/templates/partials/portfolio-card.php +2 -2
  44. package/packages/widgets/bento-portfolio-4/data/view.php +3 -3
  45. package/packages/widgets/bento-portfolio-4/templates/partials/portfolio-card.php +2 -2
  46. package/packages/widgets/bento-portfolio-5/data/view.php +3 -3
  47. package/packages/widgets/bento-portfolio-5/templates/partials/portfolio-card.php +2 -2
  48. package/packages/widgets/bento-portfolio-6/data/view.php +3 -3
  49. package/packages/widgets/bento-portfolio-6/templates/partials/portfolio-card.php +2 -2
  50. package/packages/widgets/blog-grid/data/view.php +1 -1
  51. package/packages/widgets/card-hover-reveal/data/view.php +1 -1
  52. package/packages/widgets/content-block/data/view.php +4 -4
  53. package/packages/widgets/cta-banner/data/view.php +3 -3
  54. package/packages/widgets/cta-banner/templates/wrapper.php +2 -2
  55. package/packages/widgets/cta-split/data/view.php +4 -4
  56. package/packages/widgets/faq-centered/data/view.php +7 -7
  57. package/packages/widgets/faq-centered/templates/partials/accordion.php +4 -4
  58. package/packages/widgets/faq-split/data/view.php +7 -7
  59. package/packages/widgets/faq-split/templates/partials/accordion.php +4 -4
  60. package/packages/widgets/faq-stacked/data/view.php +7 -7
  61. package/packages/widgets/faq-stacked/templates/partials/accordion.php +4 -4
  62. package/packages/widgets/feature-grid/data/view.php +8 -8
  63. package/packages/widgets/feature-grid-centered/data/view.php +8 -8
  64. package/packages/widgets/feature-list/data/view.php +4 -4
  65. package/packages/widgets/feature-list-cta/data/view.php +6 -6
  66. package/packages/widgets/feature-list-cta/templates/partials/feature-item.php +1 -1
  67. package/packages/widgets/footer/data/view.php +4 -4
  68. package/packages/widgets/footer-brand/data/view.php +18 -27
  69. package/packages/widgets/footer-links-contact/data/view.php +2 -2
  70. package/packages/widgets/form-contact/data/view.php +4 -4
  71. package/packages/widgets/grid-team/data/view.php +4 -4
  72. package/packages/widgets/grid-team/templates/partials/team-card.php +1 -1
  73. package/packages/widgets/hero-announcement/data/view.php +1 -1
  74. package/packages/widgets/hero-centered-image/data/view.php +1 -1
  75. package/packages/widgets/hero-centered-image/templates/wrapper.php +1 -1
  76. package/packages/widgets/hero-collage/data/view.php +3 -3
  77. package/packages/widgets/hero-overlay/data/view.php +1 -1
  78. package/packages/widgets/hero-overlay/templates/wrapper.php +1 -1
  79. package/packages/widgets/hero-overlay-single/data/view.php +1 -1
  80. package/packages/widgets/hero-overlay-single/templates/wrapper.php +1 -1
  81. package/packages/widgets/hero-overlay-slider/data/view.php +1 -1
  82. package/packages/widgets/hero-overlay-slider/templates/wrapper.php +1 -1
  83. package/packages/widgets/hero-saas-centered/data/view.php +5 -5
  84. package/packages/widgets/hero-saas-split/data/view.php +5 -5
  85. package/packages/widgets/hero-saas-stacked/data/view.php +5 -5
  86. package/packages/widgets/hero-split/data/view.php +3 -3
  87. package/packages/widgets/hero-stacked-image/templates/wrapper.php +4 -4
  88. package/packages/widgets/intro-text/data/view.php +3 -3
  89. package/packages/widgets/logo-grid-centered/data/view.php +4 -4
  90. package/packages/widgets/logo-grid-row/data/view.php +4 -4
  91. package/packages/widgets/logo-grid-split/data/view.php +4 -4
  92. package/packages/widgets/nav-centered/data/view.php +8 -8
  93. package/packages/widgets/nav-compact/data/view.php +8 -8
  94. package/packages/widgets/nav-default/data/view.php +8 -8
  95. package/packages/widgets/nav-floating/data/view.php +8 -8
  96. package/packages/widgets/nav-minimal/data/view.php +8 -8
  97. package/packages/widgets/newsletter/data/view.php +5 -5
  98. package/packages/widgets/newsletter-card/data/view.php +5 -5
  99. package/packages/widgets/newsletter-section/data/view.php +5 -5
  100. package/packages/widgets/outreach-dashboard/data/view.php +2 -2
  101. package/packages/widgets/outreach-dashboard/templates/partials/card-meetings.php +1 -1
  102. package/packages/widgets/page-hero-center/data/view.php +3 -3
  103. package/packages/widgets/page-hero-left/data/view.php +3 -3
  104. package/packages/widgets/pipeline-dashboard/data/view.php +3 -3
  105. package/packages/widgets/posts-grid/data/view.php +6 -6
  106. package/packages/widgets/posts-grid/templates/partials/card.php +3 -3
  107. package/packages/widgets/posts-grid-overlay/data/view.php +6 -6
  108. package/packages/widgets/posts-grid-overlay/templates/partials/card.php +3 -3
  109. package/packages/widgets/pricing-table/data/view.php +2 -2
  110. package/packages/widgets/sales-dashboard/data/view.php +3 -3
  111. package/packages/widgets/sales-dashboard/templates/partials/card-competitors.php +1 -1
  112. package/packages/widgets/sales-dashboard/templates/partials/card-feature.php +6 -6
  113. package/packages/widgets/section-stats/data/view.php +3 -3
  114. package/packages/widgets/section-stats/templates/partials/stat-card.php +1 -1
  115. package/packages/widgets/simple-page-hero/data/view.php +3 -3
  116. package/packages/widgets/social-proof/data/view.php +5 -5
  117. package/packages/widgets/social-proof/templates/partials/layout-trust.php +2 -2
  118. package/packages/widgets/social-proof/templates/partials/stat-card.php +1 -1
  119. package/packages/widgets/social-proof-trust/data/view.php +12 -12
  120. package/packages/widgets/social-proof-trust/templates/partials/layout-trust.php +2 -2
  121. package/packages/widgets/social-proof-trust/templates/partials/stat-card.php +1 -1
  122. package/packages/widgets/testimonials-bento/data/view.php +1 -1
  123. package/packages/widgets/testimonials-grid/data/view.php +1 -1
  124. package/packages/widgets/testimonials-masonry/data/view.php +1 -1
  125. package/packages/widgets/widget-filter/data/view.php +1 -1
  126. package/packages/widgets/widget-filter/templates/wrapper.php +70 -9
  127. package/packages/widgets/widget-filter/widget-filter.php +1 -1
  128. package/sociallane-elements.php +6 -0
  129. package/vite.config.js +25 -5
  130. package/widgets/bento-grid/data/view.php +8 -8
  131. package/widgets/bento-grid/templates/partials/tcsr-row1-left.php +1 -1
  132. package/widgets/bento-grid/templates/partials/two-row-deploys.php +1 -1
  133. package/widgets/bento-grid/templates/partials/two-row-overview.php +1 -1
  134. package/widgets/bento-grid/templates/partials/two-row-security.php +1 -1
  135. package/widgets/bento-portfolio/data/view.php +3 -3
  136. package/widgets/bento-portfolio/templates/partials/portfolio-card.php +2 -2
  137. package/widgets/blog-grid/data/view.php +1 -1
  138. package/widgets/card-hover-reveal/data/view.php +1 -1
  139. package/widgets/content-block/data/view.php +4 -4
  140. package/widgets/cta-banner/data/view.php +3 -3
  141. package/widgets/cta-banner/templates/wrapper.php +2 -2
  142. package/widgets/cta-split/data/view.php +4 -4
  143. package/widgets/faq/data/view.php +7 -7
  144. package/widgets/faq/templates/partials/accordion.php +4 -4
  145. package/widgets/feature-grid/data/view.php +8 -8
  146. package/widgets/feature-list/data/view.php +4 -4
  147. package/widgets/feature-list-cta/data/view.php +6 -6
  148. package/widgets/feature-list-cta/templates/partials/feature-item.php +1 -1
  149. package/widgets/footer/data/view.php +4 -4
  150. package/widgets/footer-brand/data/view.php +18 -27
  151. package/widgets/footer-links-contact/data/view.php +2 -2
  152. package/widgets/form-contact/data/view.php +4 -4
  153. package/widgets/grid-posts/data/view.php +6 -6
  154. package/widgets/grid-posts/templates/partials/card.php +3 -3
  155. package/widgets/grid-team/data/view.php +4 -4
  156. package/widgets/grid-team/templates/partials/team-card.php +1 -1
  157. package/widgets/grid-testimonials/data/view.php +1 -1
  158. package/widgets/hero-announcement/data/view.php +1 -1
  159. package/widgets/hero-centered-image/data/view.php +1 -1
  160. package/widgets/hero-centered-image/templates/wrapper.php +1 -1
  161. package/widgets/hero-collage/data/view.php +3 -3
  162. package/widgets/hero-overlay/data/view.php +1 -1
  163. package/widgets/hero-overlay/templates/wrapper.php +1 -1
  164. package/widgets/hero-saas/data/view.php +5 -5
  165. package/widgets/hero-split/data/view.php +3 -3
  166. package/widgets/hero-stacked-image/templates/wrapper.php +4 -4
  167. package/widgets/intro-text/data/view.php +2 -2
  168. package/widgets/logo-grid/data/view.php +4 -4
  169. package/widgets/newsletter/data/view.php +5 -5
  170. package/widgets/outreach-dashboard/data/view.php +2 -2
  171. package/widgets/outreach-dashboard/templates/partials/card-meetings.php +1 -1
  172. package/widgets/pipeline-dashboard/data/view.php +3 -3
  173. package/widgets/pricing-table/data/view.php +2 -2
  174. package/widgets/sales-dashboard/data/view.php +3 -3
  175. package/widgets/sales-dashboard/templates/partials/card-competitors.php +1 -1
  176. package/widgets/sales-dashboard/templates/partials/card-feature.php +6 -6
  177. package/widgets/section-stats/data/view.php +3 -3
  178. package/widgets/section-stats/templates/partials/stat-card.php +1 -1
  179. package/widgets/simple-page-hero/data/view.php +3 -3
  180. package/widgets/social-proof/data/view.php +12 -12
  181. package/widgets/social-proof/templates/partials/layout-trust.php +2 -2
  182. package/widgets/social-proof/templates/partials/stat-card.php +1 -1
  183. package/packages/core/assets/dist/animations-BySooxN8.js +0 -37
  184. package/packages/core/assets/dist/tailwind-BMzFIA_O.css +0 -1
@@ -0,0 +1,37 @@
1
+ function tr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function ia(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
2
+ * GSAP 3.14.2
3
+ * https://gsap.com
4
+ *
5
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */var St={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},gi={duration:.5,overwrite:!1,delay:0},Ys,Be,ue,Dt=1e8,oe=1/Dt,_s=Math.PI*2,Ml=_s/4,El=0,na=Math.sqrt,Dl=Math.cos,Rl=Math.sin,ze=function(e){return typeof e=="string"},ge=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Ws=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},lt=function(e){return e!==!1},Xs=function(){return typeof window<"u"},hn=function(e){return ge(e)||ze(e)},sa=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,Al=/random\([^)]+\)/g,Fl=/,\s*/g,_o=/(?:-?\.?\d|\.)+/gi,oa=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ai=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Zn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,aa=/[+-]=-?[.\d]+/,zl=/[^,'"\[\]\s]+/gi,Nl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,he,Vt,ds,Vs,Ct={},Fn={},la,ua=function(e){return(Fn=mi(e,Ct))&&ht},$s=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Zi=function(e,r){return!r&&console.warn(e)},fa=function(e,r){return e&&(Ct[e]=r)&&Fn&&(Fn[e]=r)||Ct},ji=function(){return 0},Ll={suppressEvents:!0,isStart:!0,kill:!1},Cn={suppressEvents:!0,kill:!1},Il={suppressEvents:!0},Us={},xr=[],ps={},ca,yt={},jn={},po=30,kn=[],Gs="",Hs=function(e){var r=e[0],t,i;if(Kt(r)||ge(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(i=kn.length;i--&&!kn[i].targetTest(r););t=kn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new za(e[i],t)))||e.splice(i,1);return e},Yr=function(e){return e._gsap||Hs(Rt(e))[0]._gsap},ha=function(e,r,t){return(t=e[r])&&ge(t)?e[r]():Ws(t)&&e.getAttribute&&e.getAttribute(r)||t},ut=function(e,r){return(e=e.split(",")).forEach(r)||e},xe=function(e){return Math.round(e*1e5)/1e5||0},ce=function(e){return Math.round(e*1e7)/1e7||0},fi=function(e,r){var t=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+i:t==="-"?e-i:t==="*"?e*i:e/i},Bl=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},zn=function(){var e=xr.length,r=xr.slice(0),t,i;for(ps={},xr.length=0,t=0;t<e;t++)i=r[t],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},qs=function(e){return!!(e._initted||e._startAt||e.add)},_a=function(e,r,t,i){xr.length&&!Be&&zn(),e.render(r,t,!!(Be&&r<0&&qs(e))),xr.length&&!Be&&zn()},da=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(zl).length<2?r:ze(e)?e.trim():e},pa=function(e){return e},kt=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},Yl=function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i])}},mi=function(e,r){for(var t in r)e[t]=r[t];return e},go=function a(e,r){for(var t in r)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Kt(r[t])?a(e[t]||(e[t]={}),r[t]):r[t]);return e},Nn=function(e,r){var t={},i;for(i in e)i in r||(t[i]=e[i]);return t},Ii=function(e){var r=e.parent||he,t=e.keyframes?Yl(Ke(e.keyframes)):kt;if(lt(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},Wl=function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},ga=function(e,r,t,i,n){var s=e[i],o;if(n)for(o=r[n];s&&s[n]>o;)s=s._prev;return s?(r._next=s._next,s._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[i]=r,r._prev=s,r.parent=r._dp=e,r},Gn=function(e,r,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var n=r._prev,s=r._next;n?n._next=s:e[t]===r&&(e[t]=s),s?s._prev=n:e[i]===r&&(e[i]=n),r._next=r._prev=r.parent=null},Tr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wr=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},Xl=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},gs=function(e,r,t,i){return e._startAt&&(Be?e._startAt.revert(Cn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},Vl=function a(e){return!e||e._ts&&a(e.parent)},mo=function(e){return e._repeat?yi(e._tTime,e=e.duration()+e._rDelay)*e:0},yi=function(e,r){var t=Math.floor(e=ce(e/r));return e&&t===e?t-1:t},Ln=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Hn=function(e){return e._end=ce(e._start+(e._tDur/Math.abs(e._ts||e._rts||oe)||0))},qn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=ce(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Hn(e),t._dirty||Wr(t,e)),e},ma=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(t=Ln(e.rawTime(),r),(!r._dur||ln(0,r.totalDuration(),t)-r._tTime>oe)&&r.render(t,!0)),Wr(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(t=e;t._dp;)t.rawTime()>=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-oe}},Ut=function(e,r,t,i){return r.parent&&Tr(r),r._start=ce((or(t)?t:t||e!==he?Ot(e,t,r):e._time)+r._delay),r._end=ce(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),ga(e,r,"_first","_last",e._sort?"_start":0),ms(r)||(e._recent=r),i||ma(e,r),e._ts<0&&qn(e,e._tTime),e},ya=function(e,r){return(Ct.ScrollTrigger||$s("scrollTrigger",r))&&Ct.ScrollTrigger.create(r,e)},va=function(e,r,t,i,n){if(Qs(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ca!==xt.frame)return xr.push(e),e._lazy=[n,i],1},$l=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},ms=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Ul=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&$l(e)&&!(!e._initted&&ms(e))||(e._ts<0||e._dp._ts<0)&&!ms(e))?0:1,o=e._rDelay,l=0,u,f,h;if(o&&e._repeat&&(l=ln(0,e._tDur,r),f=yi(l,o),e._yoyo&&f&1&&(s=1-s),f!==yi(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Be||i||e._zTime===oe||!r&&e._zTime){if(!e._initted&&va(e,r,i,t,l))return;for(h=e._zTime,e._zTime=r||(t?oe:0),t||(t=r&&!h),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;r<0&&gs(e,r,t,!0),e._onUpdate&&!t&&bt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&bt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&Tr(e,1),!t&&!Be&&(bt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Gl=function(e,r,t){var i;if(t>r)for(i=e._first;i&&i._start<=t;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=t;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},vi=function(e,r,t,i){var n=e._repeat,s=ce(r)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:ce(s*(n+1)+e._rDelay*n):s,o>0&&!i&&qn(e,e._tTime=e._tDur*o),e.parent&&Hn(e),t||Wr(e.parent,e),e},yo=function(e){return e instanceof nt?Wr(e):vi(e,e._dur)},Hl={_start:0,endTime:ji,totalDuration:ji},Ot=function a(e,r,t){var i=e.labels,n=e._recent||Hl,s=e.duration()>=Dt?n.endTime(!1):e._dur,o,l,u;return ze(r)&&(isNaN(r)||r in i)?(l=r.charAt(0),u=r.substr(-1)==="%",o=r.indexOf("="),l==="<"||l===">"?(o>=0&&(r=r.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(l=parseFloat(r.charAt(o-1)+r.substr(o+1)),u&&t&&(l=l/100*(Ke(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+l:s+l)):r==null?s:+r},Bi=function(e,r,t){var i=or(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,l;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,l=t;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=lt(l.vars.inherit)&&l.parent;s.immediateRender=lt(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new ke(r[0],s,r[n+1])},Pr=function(e,r){return e||e===0?r(e):r},ln=function(e,r,t){return t<e?e:t>r?r:t},He=function(e,r){return!ze(e)||!(r=Nl.exec(e))?"":r[1]},ql=function(e,r,t){return Pr(t,function(i){return ln(e,r,i)})},ys=[].slice,xa=function(e,r){return e&&Kt(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==Vt},Kl=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return ze(i)&&!r||xa(i,1)?(n=t).push.apply(n,Rt(i)):t.push(i)})||t},Rt=function(e,r,t){return ue&&!r&&ue.selector?ue.selector(e):ze(e)&&!t&&(ds||!xi())?ys.call((r||Vs).querySelectorAll(e),0):Ke(e)?Kl(e,t):xa(e)?ys.call(e,0):e?[e]:[]},vs=function(e){return e=Rt(e)[0]||Zi("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return Rt(r,t.querySelectorAll?t:t===e?Zi("Invalid scope")||Vs.createElement("div"):e)}},wa=function(e){return e.sort(function(){return .5-Math.random()})},ba=function(e){if(ge(e))return e;var r=Kt(e)?e:{each:e},t=Xr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,u=r.axis,f=i,h=i;return ze(i)?f=h={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(f=i[0],h=i[1]),function(d,c,g){var _=(g||r).length,m=s[_],T,b,P,v,y,C,w,k,S;if(!m){if(S=r.grid==="auto"?0:(r.grid||[1,Dt])[1],!S){for(w=-Dt;w<(w=g[S++].getBoundingClientRect().left)&&S<_;);S<_&&S--}for(m=s[_]=[],T=l?Math.min(S,_)*f-.5:i%S,b=S===Dt?0:l?_*h/S-.5:i/S|0,w=0,k=Dt,C=0;C<_;C++)P=C%S-T,v=b-(C/S|0),m[C]=y=u?Math.abs(u==="y"?v:P):na(P*P+v*v),y>w&&(w=y),y<k&&(k=y);i==="random"&&wa(m),m.max=w-k,m.min=k,m.v=_=(parseFloat(r.amount)||parseFloat(r.each)*(S>_?_-1:u?u==="y"?_/S:S:Math.max(S,_/S))||0)*(i==="edges"?-1:1),m.b=_<0?n-_:n,m.u=He(r.amount||r.each)||0,t=t&&_<0?Ra(t):t}return _=(m[d]-m.min)/m.max||0,ce(m.b+(t?t(_):_)*m.v)+m.u}},xs=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=ce(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(or(t)?0:He(t))}},Ta=function(e,r){var t=Ke(e),i,n;return!t&&Kt(e)&&(i=t=e.radius||Dt,e.values?(e=Rt(e.values),(n=!or(e[0]))&&(i*=i)):e=xs(e.increment)),Pr(r,t?ge(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=Dt,f=0,h=e.length,d,c;h--;)n?(d=e[h].x-o,c=e[h].y-l,d=d*d+c*c):d=Math.abs(e[h]-o),d<u&&(u=d,f=h);return f=!i||u<=i?e[f]:s,n||f===s||or(s)?f:f+He(s)}:xs(e))},Sa=function(e,r,t,i){return Pr(Ke(e)?!r:t===!0?!!(t=0):!i,function(){return Ke(e)?e[~~(Math.random()*e.length)]:(t=t||1e-5)&&(i=t<1?Math.pow(10,(t+"").length-2):1)&&Math.floor(Math.round((e-t/2+Math.random()*(r-e+t*.99))/t)*t*i)/i})},Ql=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(i){return r.reduce(function(n,s){return s(n)},i)}},Zl=function(e,r){return function(t){return e(parseFloat(t))+(r||He(t))}},jl=function(e,r,t){return ka(e,r,0,1,t)},Ca=function(e,r,t){return Pr(t,function(i){return e[~~r(i)]})},Jl=function a(e,r,t){var i=r-e;return Ke(e)?Ca(e,a(0,e.length),r):Pr(t,function(n){return(i+(n-e)%i)%i+e})},eu=function a(e,r,t){var i=r-e,n=i*2;return Ke(e)?Ca(e,a(0,e.length-1),r):Pr(t,function(s){return s=(n+(s-e)%n)%n||0,e+(s>i?n-s:s)})},Ji=function(e){return e.replace(Al,function(r){var t=r.indexOf("[")+1,i=r.substring(t||7,t?r.indexOf("]"):r.length-1).split(Fl);return Sa(t?i:+i[0],t?0:+i[1],+i[2]||1e-5)})},ka=function(e,r,t,i,n){var s=r-e,o=i-t;return Pr(n,function(l){return t+((l-e)/s*o||0)})},tu=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};if(!n){var s=ze(e),o={},l,u,f,h,d;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(Ke(e)&&!Ke(r)){for(f=[],h=e.length,d=h-2,u=1;u<h;u++)f.push(a(e[u-1],e[u]));h--,n=function(g){g*=h;var _=Math.min(d,~~g);return f[_](g-_)},t=r}else i||(e=mi(Ke(e)?[]:{},e));if(!f){for(l in r)Ks.call(o,e,l,"get",r[l]);n=function(g){return Js(g,o)||(s?e.p:e)}}}return Pr(t,n)},vo=function(e,r,t){var i=e.labels,n=Dt,s,o,l;for(s in i)o=i[s]-r,o<0==!!t&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},bt=function(e,r,t){var i=e.vars,n=i[r],s=ue,o=e._ctx,l,u,f;if(n)return l=i[r+"Params"],u=i.callbackScope||e,t&&xr.length&&zn(),o&&(ue=o),f=l?n.apply(u,l):n.call(u),ue=s,f},Di=function(e){return Tr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&bt(e,"onInterrupt"),e},li,Pa=[],Oa=function(e){if(e)if(e=!e.name&&e.default||e,Xs()||e.headless){var r=e.name,t=ge(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:ji,render:Js,add:Ks,kill:mu,modifier:gu,rawVars:0},s={targetTest:0,get:0,getSetter:js,aliases:{},register:0};if(xi(),e!==i){if(yt[r])return;kt(i,kt(Nn(e,n),s)),mi(i.prototype,mi(n,Nn(e,s))),yt[i.prop=r]=i,e.targetTest&&(kn.push(i),Us[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}fa(r,i),e.register&&e.register(ht,i,ft)}else Pa.push(e)},se=255,Ri={aqua:[0,se,se],lime:[0,se,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,se],navy:[0,0,128],white:[se,se,se],olive:[128,128,0],yellow:[se,se,0],orange:[se,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[se,0,0],pink:[se,192,203],cyan:[0,se,se],transparent:[se,se,se,0]},Jn=function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*se+.5|0},Ma=function(e,r,t){var i=e?or(e)?[e>>16,e>>8&se,e&se]:0:Ri.black,n,s,o,l,u,f,h,d,c,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Ri[e])i=Ri[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+n+n+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&se,i&se,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&se,e&se]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(_o),!r)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=Jn(l+1/3,n,s),i[1]=Jn(l,n,s),i[2]=Jn(l-1/3,n,s);else if(~e.indexOf("="))return i=e.match(oa),t&&i.length<4&&(i[3]=1),i}else i=e.match(_o)||Ri.transparent;i=i.map(Number)}return r&&!g&&(n=i[0]/se,s=i[1]/se,o=i[2]/se,h=Math.max(n,s,o),d=Math.min(n,s,o),f=(h+d)/2,h===d?l=u=0:(c=h-d,u=f>.5?c/(2-h-d):c/(h+d),l=h===n?(s-o)/c+(s<o?6:0):h===s?(o-n)/c+2:(n-s)/c+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),t&&i.length<4&&(i[3]=1),i},Ea=function(e){var r=[],t=[],i=-1;return e.split(wr).forEach(function(n){var s=n.match(ai)||[];r.push.apply(r,s),t.push(i+=s.length+1)}),r.c=t,r},xo=function(e,r,t){var i="",n=(e+i).match(wr),s=r?"hsla(":"rgba(",o=0,l,u,f,h;if(!n)return e;if(n=n.map(function(d){return(d=Ma(d,r,1))&&s+(r?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),t&&(f=Ea(e),l=t.c,l.join(i)!==f.c.join(i)))for(u=e.replace(wr,"1").split(ai),h=u.length-1;o<h;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:t).shift());if(!u)for(u=e.split(wr),h=u.length-1;o<h;o++)i+=u[o]+n[o];return i+u[h]},wr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Ri)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),ru=/hsl[a]?\(/,Da=function(e){var r=e.join(" "),t;if(wr.lastIndex=0,wr.test(r))return t=ru.test(r),e[1]=xo(e[1],t),e[0]=xo(e[0],t,Ea(e[1])),!0},en,xt=function(){var a=Date.now,e=500,r=33,t=a(),i=t,n=1e3/240,s=n,o=[],l,u,f,h,d,c,g=function _(m){var T=a()-i,b=m===!0,P,v,y,C;if((T>e||T<0)&&(t+=T-r),i+=T,y=i-t,P=y-s,(P>0||b)&&(C=++h.frame,d=y-h.time*1e3,h.time=y=y/1e3,s+=P+(P>=n?4:n-P),v=1),b||(l=u(_)),v)for(c=0;c<o.length;c++)o[c](y,d,C,m)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){la&&(!ds&&Xs()&&(Vt=ds=window,Vs=Vt.document||{},Ct.gsap=ht,(Vt.gsapVersions||(Vt.gsapVersions=[])).push(ht.version),ua(Fn||Vt.GreenSockGlobals||!Vt.gsap&&Vt||{}),Pa.forEach(Oa)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),u=f||function(m){return setTimeout(m,s-h.time*1e3+1|0)},en=1,g(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),en=0,u=ji},lagSmoothing:function(m,T){e=m||1/0,r=Math.min(T||33,e)},fps:function(m){n=1e3/(m||240),s=h.time*1e3+n},add:function(m,T,b){var P=T?function(v,y,C,w){m(v,y,C,w),h.remove(P)}:m;return h.remove(m),o[b?"unshift":"push"](P),xi(),P},remove:function(m,T){~(T=o.indexOf(m))&&o.splice(T,1)&&c>=T&&c--},_listeners:o},h}(),xi=function(){return!en&&xt.wake()},Z={},iu=/^[\d.\-M][\d.\-,\s]/,nu=/["']/g,su=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,l,u;n<s;n++)l=t[n],o=n!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),r[i]=isNaN(u)?u.replace(nu,"").trim():+u,i=l.substr(o+1).trim();return r},ou=function(e){var r=e.indexOf("(")+1,t=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<t?e.indexOf(")",t+1):t)},au=function(e){var r=(e+"").split("("),t=Z[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[su(r[1])]:ou(e).split(",").map(da)):Z._CE&&iu.test(e)?Z._CE("",e):t},Ra=function(e){return function(r){return 1-e(1-r)}},Aa=function a(e,r){for(var t=e._first,i;t;)t instanceof nt?a(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?a(t.timeline,r):(i=t._ease,t._ease=t._yEase,t._yEase=i,t._yoyo=r)),t=t._next},Xr=function(e,r){return e&&(ge(e)?e:Z[e]||au(e))||r},Qr=function(e,r,t,i){t===void 0&&(t=function(l){return 1-r(1-l)}),i===void 0&&(i=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return ut(e,function(o){Z[o]=Ct[o]=n,Z[s=o.toLowerCase()]=t;for(var l in n)Z[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Z[o+"."+l]=n[l]}),n},Fa=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},es=function a(e,r,t){var i=r>=1?r:1,n=(t||(e?.3:.45))/(r<1?r:1),s=n/_s*(Math.asin(1/i)||0),o=function(f){return f===1?1:i*Math.pow(2,-10*f)*Rl((f-s)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:Fa(o);return n=_s/n,l.config=function(u,f){return a(e,u,f)},l},ts=function a(e,r){r===void 0&&(r=1.70158);var t=function(s){return s?--s*s*((r+1)*s+r)+1:0},i=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:Fa(t);return i.config=function(n){return a(e,n)},i};ut("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;Qr(a+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(t*2,r)/2:1-Math.pow((1-t)*2,r)/2})});Z.Linear.easeNone=Z.none=Z.Linear.easeIn;Qr("Elastic",es("in"),es("out"),es());(function(a,e){var r=1/e,t=2*r,i=2.5*r,n=function(o){return o<r?a*o*o:o<t?a*Math.pow(o-1.5/e,2)+.75:o<i?a*(o-=2.25/e)*o+.9375:a*Math.pow(o-2.625/e,2)+.984375};Qr("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Qr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Qr("Circ",function(a){return-(na(1-a*a)-1)});Qr("Sine",function(a){return a===1?1:-Dl(a*Ml)+1});Qr("Back",ts("in"),ts("out"),ts());Z.SteppedEase=Z.steps=Ct.SteppedEase={config:function(e,r){e===void 0&&(e=1);var t=1/e,i=e+(r?0:1),n=r?1:0,s=1-oe;return function(o){return((i*ln(0,s,o)|0)+n)*t}}};gi.ease=Z["quad.out"];ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Gs+=a+","+a+"Params,"});var za=function(e,r){this.id=El++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:ha,this.set=r?r.getSetter:js},tn=function(){function a(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,vi(this,+r.duration,1,1),this.data=r.data,ue&&(this._ctx=ue,ue.data.push(this)),en||xt.wake()}var e=a.prototype;return e.delay=function(t){return t||t===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,vi(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(xi(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(qn(this,t),!n._dp||n.parent||ma(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Ut(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===oe||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),_a(this,t,i)),this},e.time=function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+mo(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},e.totalProgress=function(t,i){return arguments.length?this.totalTime(this.totalDuration()*t,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+mo(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,i):this._repeat?yi(this._tTime,n)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-oe?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?Ln(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-oe?0:this._rts,this.totalTime(ln(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),Hn(this),Xl(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(xi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==oe&&(this._tTime-=oe)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=ce(t);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Ut(i,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(lt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var i=this.parent||this._dp;return i?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ln(i.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=Il);var i=Be;return Be=t,qs(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Be=i,this},e.globalTime=function(t){for(var i=this,n=arguments.length?t:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,yo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var i=this._time;return this._rDelay=t,yo(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,i){return this.totalTime(Ot(this,t),lt(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,lt(i)),this._dur||(this._zTime=-oe),this},e.play=function(t,i){return t!=null&&this.seek(t,i),this.reversed(!1).paused(!1)},e.reverse=function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(t,i){return t!=null&&this.seek(t,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-oe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-oe,this},e.isActive=function(){var t=this.parent||this._dp,i=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=i&&n<this.endTime(!0)-oe)},e.eventCallback=function(t,i,n){var s=this.vars;return arguments.length>1?(i?(s[t]=i,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=i)):delete s[t],this):s[t]},e.then=function(t){var i=this,n=i._prom;return new Promise(function(s){var o=ge(t)?t:pa,l=function(){var f=i.then;i.then=null,n&&n(),ge(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=f),s(o),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){Di(this)},a}();kt(tn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-oe,_prom:0,_ps:!1,_rts:1});var nt=function(a){ia(e,a);function e(t,i){var n;return t===void 0&&(t={}),n=a.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=lt(t.sortChildren),he&&Ut(t.parent||he,tr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&ya(tr(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return Bi(0,arguments,this),this},r.from=function(i,n,s){return Bi(1,arguments,this),this},r.fromTo=function(i,n,s,o){return Bi(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Ii(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new ke(i,n,Ot(this,s),1),this},r.call=function(i,n,s){return Ut(this,ke.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,l,u,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new ke(i,s,Ot(this,l)),this},r.staggerFrom=function(i,n,s,o,l,u,f){return s.runBackwards=1,Ii(s).immediateRender=lt(s.immediateRender),this.staggerTo(i,n,s,o,l,u,f)},r.staggerFromTo=function(i,n,s,o,l,u,f,h){return o.startAt=s,Ii(o).immediateRender=lt(o.immediateRender),this.staggerTo(i,n,o,l,u,f,h)},r.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:ce(i),h=this._zTime<0!=i<0&&(this._initted||!u),d,c,g,_,m,T,b,P,v,y,C,w;if(this!==he&&f>l&&i>=0&&(f=l),f!==this._tTime||s||h){if(o!==this._time&&u&&(f+=this._time-o,i+=this._time-o),d=f,v=this._start,P=this._ts,T=!P,h&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(C=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(d=ce(f%m),f===l?(_=this._repeat,d=u):(y=ce(f/m),_=~~y,_&&_===y&&(d=u,_--),d>u&&(d=u)),y=yi(this._tTime,m),!o&&this._tTime&&y!==_&&this._tTime-y*m-this._dur<=0&&(y=_),C&&_&1&&(d=u-d,w=1),_!==y&&!this._lock){var k=C&&y&1,S=k===(C&&_&1);if(_<y&&(k=!k),o=k?0:f%u?u:f,this._lock=1,this.render(o||(w?0:ce(_*m)),n,!u)._lock=0,this._tTime=f,!n&&this.parent&&bt(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1,y=_),o&&o!==this._time||T!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,S&&(this._lock=2,o=k?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!T)return this;Aa(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=Gl(this,ce(o),ce(d)),b&&(f-=d-(d=b._start))),this._tTime=f,this._time=d,this._act=!P,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&f&&u&&!n&&!y&&(bt(this,"onStart"),this._tTime!==f))return this;if(d>=o&&i>=0)for(c=this._first;c;){if(g=c._next,(c._act||d>=c._start)&&c._ts&&b!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(d-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(d-c._start)*c._ts,n,s),d!==this._time||!this._ts&&!T){b=0,g&&(f+=this._zTime=-oe);break}}c=g}else{c=this._last;for(var O=i<0?i:d;c;){if(g=c._prev,(c._act||O<=c._end)&&c._ts&&b!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(O-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(O-c._start)*c._ts,n,s||Be&&qs(c)),d!==this._time||!this._ts&&!T){b=0,g&&(f+=this._zTime=O?-oe:oe);break}}c=g}}if(b&&!n&&(this.pause(),b.render(d>=o?0:-oe)._zTime=d>=o?1:-1,this._ts))return this._start=v,Hn(this),this.render(i,n,s);this._onUpdate&&!n&&bt(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(P)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&Tr(this,1),!n&&!(i<0&&!o)&&(f||o||!l)&&(bt(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(or(n)||(n=Ot(this,n,i)),!(i instanceof tn)){if(Ke(i))return i.forEach(function(o){return s.add(o,n)}),this;if(ze(i))return this.addLabel(i,n);if(ge(i))i=ke.delayedCall(0,i);else return this}return this!==i?Ut(this,i,n):this},r.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-Dt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof ke?n&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},r.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},r.remove=function(i){return ze(i)?this.removeLabel(i):ge(i)?this.killTweensOf(i):(i.parent===this&&Gn(this,i),i===this._recent&&(this._recent=this._last),Wr(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ce(xt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},r.addLabel=function(i,n){return this.labels[i]=Ot(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=ke.delayedCall(0,n||ji,s);return o.data="isPause",this._hasPause=1,Ut(this,o,Ot(this,i))},r.removePause=function(i){var n=this._first;for(i=Ot(this,i);n;)n._start===i&&n.data==="isPause"&&Tr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)pr!==o[l]&&o[l].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=Rt(i),l=this._first,u=or(n),f;l;)l instanceof ke?Bl(l._targets,o)&&(u?(!pr||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=Ot(s,i),l=n,u=l.startAt,f=l.onStart,h=l.onStartParams,d=l.immediateRender,c,g=ke.to(s,kt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||oe,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==m&&vi(g,m,0,1).render(g._time,!0,!0),c=1}f&&f.apply(g,h||[])}},n));return d?g.render(0):g},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,kt({startAt:{time:Ot(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),vo(this,Ot(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),vo(this,Ot(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+oe)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);var o=this._first,l=this.labels,u;for(i=ce(i);o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=s&&(l[u]+=i);return Wr(this)},r.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Wr(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,l=Dt,u,f,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(h=s.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Ut(s,o,f-o._delay,1)._lock=0):l=f,f<0&&o._ts&&(n-=f,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=ce(f/s._ts),s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=u;vi(s,s===he&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(he._ts&&(_a(he,Ln(i,he)),ca=xt.frame),xt.frame>=po){po+=St.autoSleep||120;var n=he._first;if((!n||!n._ts)&&St.autoSleep&&xt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||xt.sleep()}}},e}(tn);kt(nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var lu=function(e,r,t,i,n,s,o){var l=new ft(this._pt,e,r,0,1,Wa,null,n),u=0,f=0,h,d,c,g,_,m,T,b;for(l.b=t,l.e=i,t+="",i+="",(T=~i.indexOf("random("))&&(i=Ji(i)),s&&(b=[t,i],s(b,e,r),t=b[0],i=b[1]),d=t.match(Zn)||[];h=Zn.exec(i);)g=h[0],_=i.substring(u,h.index),c?c=(c+1)%5:_.substr(-5)==="rgba("&&(c=1),g!==d[f++]&&(m=parseFloat(d[f-1])||0,l._pt={_next:l._pt,p:_||f===1?_:",",s:m,c:g.charAt(1)==="="?fi(m,g)-m:parseFloat(g)-m,m:c&&c<4?Math.round:0},u=Zn.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(aa.test(i)||T)&&(l.e=0),this._pt=l,l},Ks=function(e,r,t,i,n,s,o,l,u,f){ge(i)&&(i=i(n||0,e,s));var h=e[r],d=t!=="get"?t:ge(h)?u?e[r.indexOf("set")||!ge(e["get"+r.substr(3)])?r:"get"+r.substr(3)](u):e[r]():h,c=ge(h)?u?_u:Ba:Zs,g;if(ze(i)&&(~i.indexOf("random(")&&(i=Ji(i)),i.charAt(1)==="="&&(g=fi(d,i)+(He(d)||0),(g||g===0)&&(i=g))),!f||d!==i||ws)return!isNaN(d*i)&&i!==""?(g=new ft(this._pt,e,r,+d||0,i-(d||0),typeof h=="boolean"?pu:Ya,0,c),u&&(g.fp=u),o&&g.modifier(o,this,e),this._pt=g):(!h&&!(r in e)&&$s(r,i),lu.call(this,e,r,d,i,c,l||St.stringFilter,u))},uu=function(e,r,t,i,n){if(ge(e)&&(e=Yi(e,n,r,t,i)),!Kt(e)||e.style&&e.nodeType||Ke(e)||sa(e))return ze(e)?Yi(e,n,r,t,i):e;var s={},o;for(o in e)s[o]=Yi(e[o],n,r,t,i);return s},Na=function(e,r,t,i,n,s){var o,l,u,f;if(yt[e]&&(o=new yt[e]).init(n,o.rawVars?r[e]:uu(r[e],i,n,s,t),t,i,s)!==!1&&(t._pt=l=new ft(t._pt,n,e,0,1,o.render,o,0,o.priority),t!==li))for(u=t._ptLookup[t._targets.indexOf(n)],f=o._props.length;f--;)u[o._props[f]]=l;return o},pr,ws,Qs=function a(e,r,t){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.runBackwards,h=i.yoyoEase,d=i.keyframes,c=i.autoRevert,g=e._dur,_=e._startAt,m=e._targets,T=e.parent,b=T&&T.data==="nested"?T.vars.targets:m,P=e._overwrite==="auto"&&!Ys,v=e.timeline,y,C,w,k,S,O,z,M,R,L,B,I,A;if(v&&(!d||!n)&&(n="none"),e._ease=Xr(n,gi.ease),e._yEase=h?Ra(Xr(h===!0?n:h,gi.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!v&&!!i.runBackwards,!v||d&&!i.stagger){if(M=m[0]?Yr(m[0]).harness:0,I=M&&i[M.prop],y=Nn(i,Us),_&&(_._zTime<0&&_.progress(1),r<0&&f&&o&&!c?_.render(-1,!0):_.revert(f&&g?Cn:Ll),_._lazy=0),s){if(Tr(e._startAt=ke.set(m,kt({data:"isStart",overwrite:!1,parent:T,immediateRender:!0,lazy:!_&&lt(l),startAt:null,delay:0,onUpdate:u&&function(){return bt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be||!o&&!c)&&e._startAt.revert(Cn),o&&g&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(f&&g&&!_){if(r&&(o=!1),w=kt({overwrite:!1,data:"isFromStart",lazy:o&&!_&&lt(l),immediateRender:o,stagger:0,parent:T},y),I&&(w[M.prop]=I),Tr(e._startAt=ke.set(m,w)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be?e._startAt.revert(Cn):e._startAt.render(-1,!0)),e._zTime=r,!o)a(e._startAt,oe,oe);else if(!r)return}for(e._pt=e._ptCache=0,l=g&&lt(l)||l&&!g,C=0;C<m.length;C++){if(S=m[C],z=S._gsap||Hs(m)[C]._gsap,e._ptLookup[C]=L={},ps[z.id]&&xr.length&&zn(),B=b===m?C:b.indexOf(S),M&&(R=new M).init(S,I||y,e,B,b)!==!1&&(e._pt=k=new ft(e._pt,S,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function($){L[$]=k}),R.priority&&(O=1)),!M||I)for(w in y)yt[w]&&(R=Na(w,y,e,B,S,b))?R.priority&&(O=1):L[w]=k=Ks.call(e,S,w,"get",y[w],B,b,0,i.stringFilter);e._op&&e._op[C]&&e.kill(S,e._op[C]),P&&e._pt&&(pr=e,he.killTweensOf(S,L,e.globalTime(r)),A=!e.parent,pr=0),e._pt&&l&&(ps[z.id]=1)}O&&Xa(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!A,d&&r<=0&&v.render(Dt,!0,!0)},fu=function(e,r,t,i,n,s,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[r],f,h,d,c;if(!u)for(u=e._ptCache[r]=[],d=e._ptLookup,c=e._targets.length;c--;){if(f=d[c][r],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==r&&f.fp!==r;)f=f._next;if(!f)return ws=1,e.vars[r]="+=0",Qs(e,o),ws=0,l?Zi(r+" not eligible for reset"):1;u.push(f)}for(c=u.length;c--;)h=u[c],f=h._pt||h,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=t-f.s,h.e&&(h.e=xe(t)+He(h.e)),h.b&&(h.b=f.s+He(h.b))},cu=function(e,r){var t=e[0]?Yr(e[0]).harness:0,i=t&&t.aliases,n,s,o,l;if(!i)return r;n=mi({},r);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},hu=function(e,r,t,i){var n=r.ease||i||"power1.inOut",s,o;if(Ke(r))o=t[e]||(t[e]=[]),r.forEach(function(l,u){return o.push({t:u/(r.length-1)*100,v:l,e:n})});else for(s in r)o=t[s]||(t[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:r[s],e:n})},Yi=function(e,r,t,i,n){return ge(e)?e.call(r,t,i,n):ze(e)&&~e.indexOf("random(")?Ji(e):e},La=Gs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ia={};ut(La+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Ia[a]=1});var ke=function(a){ia(e,a);function e(t,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:Ii(i))||this;var l=o.vars,u=l.duration,f=l.delay,h=l.immediateRender,d=l.stagger,c=l.overwrite,g=l.keyframes,_=l.defaults,m=l.scrollTrigger,T=l.yoyoEase,b=i.parent||he,P=(Ke(t)||sa(t)?or(t[0]):"length"in i)?[t]:Rt(t),v,y,C,w,k,S,O,z;if(o._targets=P.length?Hs(P):Zi("GSAP target "+t+" not found. https://gsap.com",!St.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=c,g||d||hn(u)||hn(f)){if(i=o.vars,v=o.timeline=new nt({data:"nested",defaults:_||{},targets:b&&b.data==="nested"?b.vars.targets:P}),v.kill(),v.parent=v._dp=tr(o),v._start=0,d||hn(u)||hn(f)){if(w=P.length,O=d&&ba(d),Kt(d))for(k in d)~La.indexOf(k)&&(z||(z={}),z[k]=d[k]);for(y=0;y<w;y++)C=Nn(i,Ia),C.stagger=0,T&&(C.yoyoEase=T),z&&mi(C,z),S=P[y],C.duration=+Yi(u,tr(o),y,S,P),C.delay=(+Yi(f,tr(o),y,S,P)||0)-o._delay,!d&&w===1&&C.delay&&(o._delay=f=C.delay,o._start+=f,C.delay=0),v.to(S,C,O?O(y,S,P):0),v._ease=Z.none;v.duration()?u=f=0:o.timeline=0}else if(g){Ii(kt(v.vars.defaults,{ease:"none"})),v._ease=Xr(g.ease||i.ease||"none");var M=0,R,L,B;if(Ke(g))g.forEach(function(I){return v.to(P,I,">")}),v.duration();else{C={};for(k in g)k==="ease"||k==="easeEach"||hu(k,g[k],C,g.easeEach);for(k in C)for(R=C[k].sort(function(I,A){return I.t-A.t}),M=0,y=0;y<R.length;y++)L=R[y],B={ease:L.e,duration:(L.t-(y?R[y-1].t:0))/100*u},B[k]=L.v,v.to(P,B,M),M+=B.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||o.duration(u=v.duration())}else o.timeline=0;return c===!0&&!Ys&&(pr=tr(o),he.killTweensOf(P),pr=0),Ut(b,tr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(h||!u&&!g&&o._start===ce(b._time)&&lt(h)&&Vl(tr(o))&&b.data!=="nested")&&(o._tTime=-oe,o.render(Math.max(0,-f)||0)),m&&ya(tr(o),m),o}var r=e.prototype;return r.render=function(i,n,s){var o=this._time,l=this._tDur,u=this._dur,f=i<0,h=i>l-oe&&!f?l:i<oe?0:i,d,c,g,_,m,T,b,P,v;if(!u)Ul(this,i,n,s);else if(h!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(d=h,P=this.timeline,this._repeat){if(_=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(_*100+i,n,s);if(d=ce(h%_),h===l?(g=this._repeat,d=u):(m=ce(h/_),g=~~m,g&&g===m?(d=u,g--):d>u&&(d=u)),T=this._yoyo&&g&1,T&&(v=this._yEase,d=u-d),m=yi(this._tTime,_),d===o&&!s&&this._initted&&g===m)return this._tTime=h,this;g!==m&&(P&&this._yEase&&Aa(P,T),this.vars.repeatRefresh&&!T&&!this._lock&&d!==_&&this._initted&&(this._lock=s=1,this.render(ce(_*g),!0).invalidate()._lock=0))}if(!this._initted){if(va(this,f?i:d,s,n,h))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(u!==this._dur)return this.render(i,n,s)}if(this._tTime=h,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(v||this._ease)(d/u),this._from&&(this.ratio=b=1-b),!o&&h&&!n&&!m&&(bt(this,"onStart"),this._tTime!==h))return this;for(c=this._pt;c;)c.r(b,c.d),c=c._next;P&&P.render(i<0?i:P._dur*P._ease(d/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&gs(this,i,n,s),bt(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&bt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(f&&!this._onUpdate&&gs(this,i,!0,!0),(i||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Tr(this,1),!n&&!(f&&!o)&&(h||o||T)&&(bt(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,n,s,o,l){en||xt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Qs(this,u),f=this._ease(u/this._dur),fu(this,i,n,s,o,f,u,l)?this.resetTo(i,n,s,o,1):(qn(this,0),this.parent||ga(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Di(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,pr&&pr.vars.overwrite!==!0)._first||Di(this),this.parent&&s!==this.timeline.totalDuration()&&vi(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?Rt(i):o,u=this._ptLookup,f=this._pt,h,d,c,g,_,m,T;if((!n||n==="all")&&Wl(o,l))return n==="all"&&(this._pt=0),Di(this);for(h=this._op=this._op||[],n!=="all"&&(ze(n)&&(_={},ut(n,function(b){return _[b]=1}),n=_),n=cu(o,n)),T=o.length;T--;)if(~l.indexOf(o[T])){d=u[T],n==="all"?(h[T]=n,g=d,c={}):(c=h[T]=h[T]||{},g=n);for(_ in g)m=d&&d[_],m&&((!("kill"in m.d)||m.d.kill(_)===!0)&&Gn(this,m,"_pt"),delete d[_]),c!=="all"&&(c[_]=1)}return this._initted&&!this._pt&&f&&Di(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return Bi(1,arguments)},e.delayedCall=function(i,n,s,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(i,n,s){return Bi(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,s){return he.killTweensOf(i,n,s)},e}(tn);kt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ut("staggerTo,staggerFrom,staggerFromTo",function(a){ke[a]=function(){var e=new nt,r=ys.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Zs=function(e,r,t){return e[r]=t},Ba=function(e,r,t){return e[r](t)},_u=function(e,r,t,i){return e[r](i.fp,t)},du=function(e,r,t){return e.setAttribute(r,t)},js=function(e,r){return ge(e[r])?Ba:Ws(e[r])&&e.setAttribute?du:Zs},Ya=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},pu=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Wa=function(e,r){var t=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;t;)i=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+i,t=t._next;i+=r.c}r.set(r.t,r.p,i,r)},Js=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},gu=function(e,r,t,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(e,r,t),n=s},mu=function(e){for(var r=this._pt,t,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?Gn(this,r,"_pt"):r.dep||(t=1),r=i;return!t},yu=function(e,r,t,i){i.mSet(e,r,i.m.call(i.tween,t,i.mt),i)},Xa=function(e){for(var r=e._pt,t,i,n,s;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:s)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:s=r,r=t}e._pt=n},ft=function(){function a(r,t,i,n,s,o,l,u,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||Ya,this.d=l||this,this.set=u||Zs,this.pr=f||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(t,i,n){this.mSet=this.mSet||this.set,this.set=yu,this.m=t,this.mt=n,this.tween=i},a}();ut(Gs+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Us[a]=1});Ct.TweenMax=Ct.TweenLite=ke;Ct.TimelineLite=Ct.TimelineMax=nt;he=new nt({sortChildren:!1,defaults:gi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});St.stringFilter=Da;var Vr=[],Pn={},vu=[],wo=0,xu=0,rs=function(e){return(Pn[e]||vu).map(function(r){return r()})},bs=function(){var e=Date.now(),r=[];e-wo>2&&(rs("matchMediaInit"),Vr.forEach(function(t){var i=t.queries,n=t.conditions,s,o,l,u;for(o in i)s=Vt.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,u=1);u&&(t.revert(),l&&r.push(t))}),rs("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(i){return t.add(null,i)})}),wo=e,rs("matchMedia"))},Va=function(){function a(r,t){this.selector=t&&vs(t),this.data=[],this._r=[],this.isReverted=!1,this.id=xu++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){ge(t)&&(n=i,i=t,t=ge);var s=this,o=function(){var u=ue,f=s.selector,h;return u&&u!==s&&u.data.push(s),n&&(s.selector=vs(n)),ue=s,h=i.apply(s,arguments),ge(h)&&s._r.push(h),ue=u,s.selector=f,s.isReverted=!1,h};return s.last=o,t===ge?o(s,function(l){return s.add(null,l)}):t?s[t]=o:o},e.ignore=function(t){var i=ue;ue=null,t(this),ue=i},e.getTweens=function(){var t=[];return this.data.forEach(function(i){return i instanceof a?t.push.apply(t,i.getTweens()):i instanceof ke&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,i){var n=this;if(t?function(){for(var o=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,h){return h.g-f.g||-1/0}).forEach(function(f){return f.t.revert(t)}),l=n.data.length;l--;)u=n.data[l],u instanceof nt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof ke)&&u.revert&&u.revert(t);n._r.forEach(function(f){return f(t,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=Vr.length;s--;)Vr[s].id===this.id&&Vr.splice(s,1)},e.revert=function(t){this.kill(t||{})},a}(),wu=function(){function a(r){this.contexts=[],this.scope=r,ue&&ue.data.push(this)}var e=a.prototype;return e.add=function(t,i,n){Kt(t)||(t={matches:t});var s=new Va(0,n||this.scope),o=s.conditions={},l,u,f;ue&&!s.selector&&(s.selector=ue.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(u in t)u==="all"?f=1:(l=Vt.matchMedia(t[u]),l&&(Vr.indexOf(s)<0&&Vr.push(s),(o[u]=l.matches)&&(f=1),l.addListener?l.addListener(bs):l.addEventListener("change",bs)));return f&&i(s,function(h){return s.add(null,h)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(i){return i.kill(t,!0)})},a}(),In={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];r.forEach(function(i){return Oa(i)})},timeline:function(e){return new nt(e)},getTweensOf:function(e,r){return he.getTweensOf(e,r)},getProperty:function(e,r,t,i){ze(e)&&(e=Rt(e)[0]);var n=Yr(e||{}).get,s=t?pa:da;return t==="native"&&(t=""),e&&(r?s((yt[r]&&yt[r].get||n)(e,r,t,i)):function(o,l,u){return s((yt[o]&&yt[o].get||n)(e,o,l,u))})},quickSetter:function(e,r,t){if(e=Rt(e),e.length>1){var i=e.map(function(f){return ht.quickSetter(f,r,t)}),n=i.length;return function(f){for(var h=n;h--;)i[h](f)}}e=e[0]||{};var s=yt[r],o=Yr(e),l=o.harness&&(o.harness.aliases||{})[r]||r,u=s?function(f){var h=new s;li._pt=0,h.init(e,t?f+t:f,li,0,[e]),h.render(1,h),li._pt&&Js(1,li)}:o.set(e,l);return s?u:function(f){return u(e,l,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=ht.to(e,kt((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),t||{})),s=function(l,u,f){return n.resetTo(r,l,u,f)};return s.tween=n,s},isTweening:function(e){return he.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Xr(e.ease,gi.ease)),go(gi,e||{})},config:function(e){return go(St,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,i=e.plugins,n=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!yt[o]&&!Ct[o]&&Zi(r+" effect requires "+o+" plugin.")}),jn[r]=function(o,l,u){return t(Rt(o),kt(l||{},n),u)},s&&(nt.prototype[r]=function(o,l,u){return this.add(jn[r](o,Kt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,r){Z[e]=Xr(r)},parseEase:function(e,r){return arguments.length?Xr(e,r):Z},getById:function(e){return he.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new nt(e),i,n;for(t.smoothChildTiming=lt(e.smoothChildTiming),he.remove(t),t._dp=0,t._time=t._tTime=he._time,i=he._first;i;)n=i._next,(r||!(!i._dur&&i instanceof ke&&i.vars.onComplete===i._targets[0]))&&Ut(t,i,i._start-i._delay),i=n;return Ut(he,t,0),t},context:function(e,r){return e?new Va(e,r):ue},matchMedia:function(e){return new wu(e)},matchMediaRefresh:function(){return Vr.forEach(function(e){var r=e.conditions,t,i;for(i in r)r[i]&&(r[i]=!1,t=1);t&&e.revert()})||bs()},addEventListener:function(e,r){var t=Pn[e]||(Pn[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=Pn[e],i=t&&t.indexOf(r);i>=0&&t.splice(i,1)},utils:{wrap:Jl,wrapYoyo:eu,distribute:ba,random:Sa,snap:Ta,normalize:jl,getUnit:He,clamp:ql,splitColor:Ma,toArray:Rt,selector:vs,mapRange:ka,pipe:Ql,unitize:Zl,interpolate:tu,shuffle:wa},install:ua,effects:jn,ticker:xt,updateRoot:nt.updateRoot,plugins:yt,globalTimeline:he,core:{PropTween:ft,globals:fa,Tween:ke,Timeline:nt,Animation:tn,getCache:Yr,_removeLinkedListItem:Gn,reverting:function(){return Be},context:function(e){return e&&ue&&(ue.data.push(e),e._ctx=ue),ue},suppressOverwrites:function(e){return Ys=e}}};ut("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return In[a]=ke[a]});xt.add(nt.updateRoot);li=In.to({},{duration:0});var bu=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},Tu=function(e,r){var t=e._targets,i,n,s;for(i in r)for(n=t.length;n--;)s=e._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=bu(s,i)),s&&s.modifier&&s.modifier(r[i],e,t[n],i))},is=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(o){var l,u;if(ze(n)&&(l={},ut(n,function(f){return l[f]=1}),n=l),r){l={};for(u in n)l[u]=r(n[u]);n=l}Tu(o,n)}}}},ht=In.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,l;this.tween=t;for(s in r)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Be?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},is("roundProps",xs),is("modifiers"),is("snap",Ta))||In;ke.version=nt.version=ht.version="3.14.2";la=1;Xs()&&xi();Z.Power0;Z.Power1;Z.Power2;Z.Power3;Z.Power4;Z.Linear;Z.Quad;Z.Cubic;Z.Quart;Z.Quint;Z.Strong;Z.Elastic;Z.Back;Z.SteppedEase;Z.Bounce;Z.Sine;Z.Expo;Z.Circ;/*!
9
+ * CSSPlugin 3.14.2
10
+ * https://gsap.com
11
+ *
12
+ * Copyright 2008-2025, GreenSock. All rights reserved.
13
+ * Subject to the terms at https://gsap.com/standard-license
14
+ * @author: Jack Doyle, jack@greensock.com
15
+ */var bo,gr,ci,eo,Ir,To,to,Su=function(){return typeof window<"u"},ar={},zr=180/Math.PI,hi=Math.PI/180,ei=Math.atan2,So=1e8,ro=/([A-Z])/g,Cu=/(left|right|width|margin|padding|x)/i,ku=/[\s,\(]\S/,Gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ts=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Pu=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Ou=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Mu=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Eu=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},$a=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},Ua=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Du=function(e,r,t){return e.style[r]=t},Ru=function(e,r,t){return e.style.setProperty(r,t)},Au=function(e,r,t){return e._gsap[r]=t},Fu=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},zu=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Nu=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},_e="transform",ct=_e+"Origin",Lu=function a(e,r){var t=this,i=this.target,n=i.style,s=i._gsap;if(e in ar&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Gt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return t.tfm[o]=rr(i,o)}):this.tfm[e]=s.x?s[e]:rr(i,e),e===ct&&(this.tfm.zOrigin=s.zOrigin);else return Gt.transform.split(",").forEach(function(o){return a.call(t,o,r)});if(this.props.indexOf(_e)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ct,r,"")),e=_e}(n||r)&&this.props.push(e,r,n[e])},Ga=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Iu=function(){var e=this.props,r=this.target,t=r.style,i=r._gsap,n,s;for(n=0;n<e.length;n+=3)e[n+1]?e[n+1]===2?r[e[n]](e[n+2]):r[e[n]]=e[n+2]:e[n+2]?t[e[n]]=e[n+2]:t.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(ro,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),n=to(),(!n||!n.isStart)&&!t[_e]&&(Ga(t),i.zOrigin&&t[ct]&&(t[ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Ha=function(e,r){var t={target:e,props:[],revert:Iu,save:Lu};return e._gsap||ht.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},qa,Ss=function(e,r){var t=gr.createElementNS?gr.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):gr.createElement(e);return t&&t.style?t:gr.createElement(e)},Tt=function a(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(ro,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&a(e,wi(r)||r,1)||""},Co="O,Moz,ms,Ms,Webkit".split(","),wi=function(e,r,t){var i=r||Ir,n=i.style,s=5;if(e in n&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Co[s]+e in n););return s<0?null:(s===3?"ms":s>=0?Co[s]:"")+e},Cs=function(){Su()&&window.document&&(bo=window,gr=bo.document,ci=gr.documentElement,Ir=Ss("div")||{style:{}},Ss("div"),_e=wi(_e),ct=_e+"Origin",Ir.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",qa=!!wi("perspective"),to=ht.core.reverting,eo=1)},ko=function(e){var r=e.ownerSVGElement,t=Ss("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",t.appendChild(i),ci.appendChild(t);try{n=i.getBBox()}catch{}return t.removeChild(i),ci.removeChild(t),n},Po=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},Ka=function(e){var r,t;try{r=e.getBBox()}catch{r=ko(e),t=1}return r&&(r.width||r.height)||t||(r=ko(e)),r&&!r.width&&!r.x&&!r.y?{x:+Po(e,["x","cx","x1"])||0,y:+Po(e,["y","cy","y1"])||0,width:0,height:0}:r},Qa=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ka(e))},Sr=function(e,r){if(r){var t=e.style,i;r in ar&&r!==ct&&(r=_e),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(ro,"-$1").toLowerCase())):t.removeAttribute(r)}},mr=function(e,r,t,i,n,s){var o=new ft(e._pt,r,t,0,1,s?Ua:$a);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},Oo={deg:1,rad:1,turn:1},Bu={grid:1,flex:1},Cr=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=Ir.style,l=Cu.test(r),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),h=100,d=i==="px",c=i==="%",g,_,m,T;if(i===s||!n||Oo[i]||Oo[s])return n;if(s!=="px"&&!d&&(n=a(e,r,t,"px")),T=e.getCTM&&Qa(e),(c||s==="%")&&(ar[r]||~r.indexOf("adius")))return g=T?e.getBBox()[l?"width":"height"]:e[f],xe(c?n/g*h:n/100*g);if(o[l?"width":"height"]=h+(d?s:i),_=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,T&&(_=(e.ownerSVGElement||{}).parentNode),(!_||_===gr||!_.appendChild)&&(_=gr.body),m=_._gsap,m&&c&&m.width&&l&&m.time===xt.time&&!m.uncache)return xe(n/m.width*h);if(c&&(r==="height"||r==="width")){var b=e.style[r];e.style[r]=h+i,g=e[f],b?e.style[r]=b:Sr(e,r)}else(c||s==="%")&&!Bu[Tt(_,"display")]&&(o.position=Tt(e,"position")),_===e&&(o.position="static"),_.appendChild(Ir),g=Ir[f],_.removeChild(Ir),o.position="absolute";return l&&c&&(m=Yr(_),m.time=xt.time,m.width=_[f]),xe(d?g*n/h:g&&n?h/g*n:0)},rr=function(e,r,t,i){var n;return eo||Cs(),r in Gt&&r!=="transform"&&(r=Gt[r],~r.indexOf(",")&&(r=r.split(",")[0])),ar[r]&&r!=="transform"?(n=nn(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:Yn(Tt(e,ct))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Bn[r]&&Bn[r](e,r,t)||Tt(e,r)||ha(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Cr(e,r,n,t)+t:n},Yu=function(e,r,t,i){if(!t||t==="none"){var n=wi(r,e,1),s=n&&Tt(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=Tt(e,"borderTopColor"))}var o=new ft(this._pt,e.style,r,0,1,Wa),l=0,u=0,f,h,d,c,g,_,m,T,b,P,v,y;if(o.b=t,o.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=Tt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(_=e.style[r],e.style[r]=i,i=Tt(e,r)||i,_?e.style[r]=_:Sr(e,r)),f=[t,i],Da(f),t=f[0],i=f[1],d=t.match(ai)||[],y=i.match(ai)||[],y.length){for(;h=ai.exec(i);)m=h[0],b=i.substring(l,h.index),g?g=(g+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(g=1),m!==(_=d[u++]||"")&&(c=parseFloat(_)||0,v=_.substr((c+"").length),m.charAt(1)==="="&&(m=fi(c,m)+v),T=parseFloat(m),P=m.substr((T+"").length),l=ai.lastIndex-P.length,P||(P=P||St.units[r]||v,l===i.length&&(i+=P,o.e+=P)),v!==P&&(c=Cr(e,r,_,P)||0),o._pt={_next:o._pt,p:b||u===1?b:",",s:c,c:T-c,m:g&&g<4||r==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=r==="display"&&i==="none"?Ua:$a;return aa.test(i)&&(o.e=0),this._pt=o,o},Mo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Wu=function(e){var r=e.split(" "),t=r[0],i=r[1]||"50%";return(t==="top"||t==="bottom"||i==="left"||i==="right")&&(e=t,t=i,i=e),r[0]=Mo[t]||t,r[1]=Mo[i]||i,r.join(" ")},Xu=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var t=r.t,i=t.style,n=r.u,s=t._gsap,o,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],ar[o]&&(l=1,o=o==="transformOrigin"?ct:_e),Sr(t,o);l&&(Sr(t,_e),s&&(s.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",nn(t,1),s.uncache=1,Ga(i)))}},Bn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new ft(e._pt,r,t,0,0,Xu);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},rn=[1,0,0,1,0,0],Za={},ja=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Eo=function(e){var r=Tt(e,_e);return ja(r)?rn:r.substr(7).match(oa).map(xe)},io=function(e,r){var t=e._gsap||Yr(e),i=e.style,n=Eo(e),s,o,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?rn:n):(n===rn&&!e.offsetParent&&e!==ci&&!t.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,ci.appendChild(e)),n=Eo(e),l?i.display=l:Sr(e,"display"),u&&(o?s.insertBefore(e,o):s?s.appendChild(e):ci.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},ks=function(e,r,t,i,n,s){var o=e._gsap,l=n||io(e,!0),u=o.xOrigin||0,f=o.yOrigin||0,h=o.xOffset||0,d=o.yOffset||0,c=l[0],g=l[1],_=l[2],m=l[3],T=l[4],b=l[5],P=r.split(" "),v=parseFloat(P[0])||0,y=parseFloat(P[1])||0,C,w,k,S;t?l!==rn&&(w=c*m-g*_)&&(k=v*(m/w)+y*(-_/w)+(_*b-m*T)/w,S=v*(-g/w)+y*(c/w)-(c*b-g*T)/w,v=k,y=S):(C=Ka(e),v=C.x+(~P[0].indexOf("%")?v/100*C.width:v),y=C.y+(~(P[1]||P[0]).indexOf("%")?y/100*C.height:y)),i||i!==!1&&o.smooth?(T=v-u,b=y-f,o.xOffset=h+(T*c+b*_)-T,o.yOffset=d+(T*g+b*m)-b):o.xOffset=o.yOffset=0,o.xOrigin=v,o.yOrigin=y,o.smooth=!!i,o.origin=r,o.originIsAbsolute=!!t,e.style[ct]="0px 0px",s&&(mr(s,o,"xOrigin",u,v),mr(s,o,"yOrigin",f,y),mr(s,o,"xOffset",h,o.xOffset),mr(s,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+y)},nn=function(e,r){var t=e._gsap||new za(e);if("x"in t&&!r&&!t.uncache)return t;var i=e.style,n=t.scaleX<0,s="px",o="deg",l=getComputedStyle(e),u=Tt(e,ct)||"0",f,h,d,c,g,_,m,T,b,P,v,y,C,w,k,S,O,z,M,R,L,B,I,A,$,X,p,j,ie,Ee,re,be;return f=h=d=_=m=T=b=P=v=0,c=g=1,t.svg=!!(e.getCTM&&Qa(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[_e]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[_e]!=="none"?l[_e]:"")),i.scale=i.rotate=i.translate="none"),w=io(e,t.svg),t.svg&&(t.uncache?($=e.getBBox(),u=t.xOrigin-$.x+"px "+(t.yOrigin-$.y)+"px",A=""):A=!r&&e.getAttribute("data-svg-origin"),ks(e,A||u,!!A||t.originIsAbsolute,t.smooth!==!1,w)),y=t.xOrigin||0,C=t.yOrigin||0,w!==rn&&(z=w[0],M=w[1],R=w[2],L=w[3],f=B=w[4],h=I=w[5],w.length===6?(c=Math.sqrt(z*z+M*M),g=Math.sqrt(L*L+R*R),_=z||M?ei(M,z)*zr:0,b=R||L?ei(R,L)*zr+_:0,b&&(g*=Math.abs(Math.cos(b*hi))),t.svg&&(f-=y-(y*z+C*R),h-=C-(y*M+C*L))):(be=w[6],Ee=w[7],p=w[8],j=w[9],ie=w[10],re=w[11],f=w[12],h=w[13],d=w[14],k=ei(be,ie),m=k*zr,k&&(S=Math.cos(-k),O=Math.sin(-k),A=B*S+p*O,$=I*S+j*O,X=be*S+ie*O,p=B*-O+p*S,j=I*-O+j*S,ie=be*-O+ie*S,re=Ee*-O+re*S,B=A,I=$,be=X),k=ei(-R,ie),T=k*zr,k&&(S=Math.cos(-k),O=Math.sin(-k),A=z*S-p*O,$=M*S-j*O,X=R*S-ie*O,re=L*O+re*S,z=A,M=$,R=X),k=ei(M,z),_=k*zr,k&&(S=Math.cos(k),O=Math.sin(k),A=z*S+M*O,$=B*S+I*O,M=M*S-z*O,I=I*S-B*O,z=A,B=$),m&&Math.abs(m)+Math.abs(_)>359.9&&(m=_=0,T=180-T),c=xe(Math.sqrt(z*z+M*M+R*R)),g=xe(Math.sqrt(I*I+be*be)),k=ei(B,I),b=Math.abs(k)>2e-4?k*zr:0,v=re?1/(re<0?-re:re):0),t.svg&&(A=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!ja(Tt(e,_e)),A&&e.setAttribute("transform",A))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(c*=-1,b+=_<=0?180:-180,_+=_<=0?180:-180):(g*=-1,b+=b<=0?180:-180)),r=r||t.uncache,t.x=f-((t.xPercent=f&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=h-((t.yPercent=h&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=d+s,t.scaleX=xe(c),t.scaleY=xe(g),t.rotation=xe(_)+o,t.rotationX=xe(m)+o,t.rotationY=xe(T)+o,t.skewX=b+o,t.skewY=P+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!r&&t.zOrigin||0)&&(i[ct]=Yn(u)),t.xOffset=t.yOffset=0,t.force3D=St.force3D,t.renderTransform=t.svg?$u:qa?Ja:Vu,t.uncache=0,t},Yn=function(e){return(e=e.split(" "))[0]+" "+e[1]},ns=function(e,r,t){var i=He(r);return xe(parseFloat(r)+parseFloat(Cr(e,"x",t+"px",i)))+i},Vu=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Ja(e,r)},Ar="0deg",Pi="0px",Fr=") ",Ja=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.z,u=t.rotation,f=t.rotationY,h=t.rotationX,d=t.skewX,c=t.skewY,g=t.scaleX,_=t.scaleY,m=t.transformPerspective,T=t.force3D,b=t.target,P=t.zOrigin,v="",y=T==="auto"&&e&&e!==1||T===!0;if(P&&(h!==Ar||f!==Ar)){var C=parseFloat(f)*hi,w=Math.sin(C),k=Math.cos(C),S;C=parseFloat(h)*hi,S=Math.cos(C),s=ns(b,s,w*S*-P),o=ns(b,o,-Math.sin(C)*-P),l=ns(b,l,k*S*-P+P)}m!==Pi&&(v+="perspective("+m+Fr),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(y||s!==Pi||o!==Pi||l!==Pi)&&(v+=l!==Pi||y?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Fr),u!==Ar&&(v+="rotate("+u+Fr),f!==Ar&&(v+="rotateY("+f+Fr),h!==Ar&&(v+="rotateX("+h+Fr),(d!==Ar||c!==Ar)&&(v+="skew("+d+", "+c+Fr),(g!==1||_!==1)&&(v+="scale("+g+", "+_+Fr),b.style[_e]=v||"translate(0, 0)"},$u=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.rotation,u=t.skewX,f=t.skewY,h=t.scaleX,d=t.scaleY,c=t.target,g=t.xOrigin,_=t.yOrigin,m=t.xOffset,T=t.yOffset,b=t.forceCSS,P=parseFloat(s),v=parseFloat(o),y,C,w,k,S;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=hi,u*=hi,y=Math.cos(l)*h,C=Math.sin(l)*h,w=Math.sin(l-u)*-d,k=Math.cos(l-u)*d,u&&(f*=hi,S=Math.tan(u-f),S=Math.sqrt(1+S*S),w*=S,k*=S,f&&(S=Math.tan(f),S=Math.sqrt(1+S*S),y*=S,C*=S)),y=xe(y),C=xe(C),w=xe(w),k=xe(k)):(y=h,k=d,C=w=0),(P&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(P=Cr(c,"x",s,"px"),v=Cr(c,"y",o,"px")),(g||_||m||T)&&(P=xe(P+g-(g*y+_*w)+m),v=xe(v+_-(g*C+_*k)+T)),(i||n)&&(S=c.getBBox(),P=xe(P+i/100*S.width),v=xe(v+n/100*S.height)),S="matrix("+y+","+C+","+w+","+k+","+P+","+v+")",c.setAttribute("transform",S),b&&(c.style[_e]=S)},Uu=function(e,r,t,i,n){var s=360,o=ze(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?zr:1),u=l-i,f=i+u+"deg",h,d;return o&&(h=n.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*So)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*So)%s-~~(u/s)*s)),e._pt=d=new ft(e._pt,r,t,i,u,Pu),d.e=f,d.u="deg",e._props.push(t),d},Do=function(e,r){for(var t in r)e[t]=r[t];return e},Gu=function(e,r,t){var i=Do({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,l,u,f,h,d,c,g;i.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[_e]=r,o=nn(t,1),Sr(t,_e),t.setAttribute("transform",u)):(u=getComputedStyle(t)[_e],s[_e]=r,o=nn(t,1),s[_e]=u);for(l in ar)u=i[l],f=o[l],u!==f&&n.indexOf(l)<0&&(c=He(u),g=He(f),h=c!==g?Cr(t,l,u,g):parseFloat(u),d=parseFloat(f),e._pt=new ft(e._pt,o,l,h,d-h,Ts),e._pt.u=g||0,e._props.push(l));Do(o,i)};ut("padding,margin,Width,Radius",function(a,e){var r="Top",t="Right",i="Bottom",n="Left",s=(e<3?[r,t,i,n]:[r+n,r+t,i+t,i+n]).map(function(o){return e<2?a+o:"border"+o+a});Bn[e>1?"border"+a:a]=function(o,l,u,f,h){var d,c;if(arguments.length<4)return d=s.map(function(g){return rr(o,g,u)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={},s.forEach(function(g,_){return c[g]=d[_]=d[_]||d[(_-1)/2|0]}),o.init(l,c,h)}});var el={name:"css",register:Cs,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,i,n){var s=this._props,o=e.style,l=t.vars.startAt,u,f,h,d,c,g,_,m,T,b,P,v,y,C,w,k,S;eo||Cs(),this.styles=this.styles||Ha(e),k=this.styles.props,this.tween=t;for(_ in r)if(_!=="autoRound"&&(f=r[_],!(yt[_]&&Na(_,r,t,i,e,n)))){if(c=typeof f,g=Bn[_],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Ji(f)),g)g(this,e,_,f,t)&&(w=1);else if(_.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(_)+"").trim(),f+="",wr.lastIndex=0,wr.test(u)||(m=He(u),T=He(f),T?m!==T&&(u=Cr(e,_,u,T)+T):m&&(f+=m)),this.add(o,"setProperty",u,f,i,n,0,0,_),s.push(_),k.push(_,0,o[_]);else if(c!=="undefined"){if(l&&_ in l?(u=typeof l[_]=="function"?l[_].call(t,i,e,n):l[_],ze(u)&&~u.indexOf("random(")&&(u=Ji(u)),He(u+"")||u==="auto"||(u+=St.units[_]||He(rr(e,_))||""),(u+"").charAt(1)==="="&&(u=rr(e,_))):u=rr(e,_),d=parseFloat(u),b=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),b&&(f=f.substr(2)),h=parseFloat(f),_ in Gt&&(_==="autoAlpha"&&(d===1&&rr(e,"visibility")==="hidden"&&h&&(d=0),k.push("visibility",0,o.visibility),mr(this,o,"visibility",d?"inherit":"hidden",h?"inherit":"hidden",!h)),_!=="scale"&&_!=="transform"&&(_=Gt[_],~_.indexOf(",")&&(_=_.split(",")[0]))),P=_ in ar,P){if(this.styles.save(_),S=f,c==="string"&&f.substring(0,6)==="var(--"){if(f=Tt(e,f.substring(4,f.indexOf(")"))),f.substring(0,5)==="calc("){var O=e.style.perspective;e.style.perspective=f,f=Tt(e,"perspective"),O?e.style.perspective=O:Sr(e,"perspective")}h=parseFloat(f)}if(v||(y=e._gsap,y.renderTransform&&!r.parseTransform||nn(e,r.parseTransform),C=r.smoothOrigin!==!1&&y.smooth,v=this._pt=new ft(this._pt,o,_e,0,1,y.renderTransform,y,0,-1),v.dep=1),_==="scale")this._pt=new ft(this._pt,y,"scaleY",y.scaleY,(b?fi(y.scaleY,b+h):h)-y.scaleY||0,Ts),this._pt.u=0,s.push("scaleY",_),_+="X";else if(_==="transformOrigin"){k.push(ct,0,o[ct]),f=Wu(f),y.svg?ks(e,f,0,C,0,this):(T=parseFloat(f.split(" ")[2])||0,T!==y.zOrigin&&mr(this,y,"zOrigin",y.zOrigin,T),mr(this,o,_,Yn(u),Yn(f)));continue}else if(_==="svgOrigin"){ks(e,f,1,C,0,this);continue}else if(_ in Za){Uu(this,y,_,d,b?fi(d,b+f):f);continue}else if(_==="smoothOrigin"){mr(this,y,"smooth",y.smooth,f);continue}else if(_==="force3D"){y[_]=f;continue}else if(_==="transform"){Gu(this,f,e);continue}}else _ in o||(_=wi(_)||_);if(P||(h||h===0)&&(d||d===0)&&!ku.test(f)&&_ in o)m=(u+"").substr((d+"").length),h||(h=0),T=He(f)||(_ in St.units?St.units[_]:m),m!==T&&(d=Cr(e,_,u,T)),this._pt=new ft(this._pt,P?y:o,_,d,(b?fi(d,b+h):h)-d,!P&&(T==="px"||_==="zIndex")&&r.autoRound!==!1?Eu:Ts),this._pt.u=T||0,P&&S!==f?(this._pt.b=u,this._pt.e=S,this._pt.r=Mu):m!==T&&T!=="%"&&(this._pt.b=u,this._pt.r=Ou);else if(_ in o)Yu.call(this,e,_,u,b?b+f:f);else if(_ in e)this.add(e,_,u||e[_],b?b+f:f,i,n);else if(_!=="parseTransform"){$s(_,f);continue}P||(_ in o?k.push(_,0,o[_]):typeof e[_]=="function"?k.push(_,2,e[_]()):k.push(_,1,u||e[_])),s.push(_)}}w&&Xa(this)},render:function(e,r){if(r.tween._time||!to())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:rr,aliases:Gt,getSetter:function(e,r,t){var i=Gt[r];return i&&i.indexOf(",")<0&&(r=i),r in ar&&r!==ct&&(e._gsap.x||rr(e,"x"))?t&&To===t?r==="scale"?Fu:Au:(To=t||{})&&(r==="scale"?zu:Nu):e.style&&!Ws(e.style[r])?Du:~r.indexOf("-")?Ru:js(e,r)},core:{_removeProperty:Sr,_getMatrix:io}};ht.utils.checkPrefix=wi;ht.core.getStyleSaver=Ha;(function(a,e,r,t){var i=ut(a+","+e+","+r,function(n){ar[n]=1});ut(e,function(n){St.units[n]="deg",Za[n]=1}),Gt[i[13]]=a+","+e,ut(t,function(n){var s=n.split(":");Gt[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){St.units[a]="px"});ht.registerPlugin(el);var Hu=ht.registerPlugin(el)||ht;Hu.core.Tween;function qu(a,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,t.key,t)}}function Ku(a,e,r){return e&&qu(a.prototype,e),a}/*!
16
+ * Observer 3.14.2
17
+ * https://gsap.com
18
+ *
19
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
20
+ * Subject to the terms at https://gsap.com/standard-license
21
+ * @author: Jack Doyle, jack@greensock.com
22
+ */var Ie,On,wt,yr,vr,_i,tl,Nr,Wi,rl,nr,Bt,il,nl=function(){return Ie||typeof window<"u"&&(Ie=window.gsap)&&Ie.registerPlugin&&Ie},sl=1,ui=[],H=[],qt=[],Xi=Date.now,Ps=function(e,r){return r},Qu=function(){var e=Wi.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,H),i.push.apply(i,qt),H=t,qt=i,Ps=function(s,o){return r[s](o)}},br=function(e,r){return~qt.indexOf(e)&&qt[qt.indexOf(e)+1][r]},Vi=function(e){return!!~rl.indexOf(e)},et=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==!1,capture:!!n})},Je=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},_n="scrollLeft",dn="scrollTop",Os=function(){return nr&&nr.isPressed||H.cache++},Wn=function(e,r){var t=function i(n){if(n||n===0){sl&&(wt.history.scrollRestoration="manual");var s=nr&&nr.isPressed;n=i.v=Math.round(n)||(nr&&nr.iOS?1:0),e(n),i.cacheID=H.cache,s&&Ps("ss",n)}else(r||H.cache!==i.cacheID||Ps("ref"))&&(i.cacheID=H.cache,i.v=e());return i.v+i.offset};return t.offset=0,e&&t},st={s:_n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Wn(function(a){return arguments.length?wt.scrollTo(a,Me.sc()):wt.pageXOffset||yr[_n]||vr[_n]||_i[_n]||0})},Me={s:dn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:st,sc:Wn(function(a){return arguments.length?wt.scrollTo(st.sc(),a):wt.pageYOffset||yr[dn]||vr[dn]||_i[dn]||0})},at=function(e,r){return(r&&r._ctx&&r._ctx.selector||Ie.utils.toArray)(e)[0]||(typeof e=="string"&&Ie.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Zu=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},kr=function(e,r){var t=r.s,i=r.sc;Vi(e)&&(e=yr.scrollingElement||vr);var n=H.indexOf(e),s=i===Me.sc?1:2;!~n&&(n=H.push(e)-1),H[n+s]||et(e,"scroll",Os);var o=H[n+s],l=o||(H[n+s]=Wn(br(e,t),!0)||(Vi(e)?i:Wn(function(u){return arguments.length?e[t]=u:e[t]})));return l.target=e,o||(l.smooth=Ie.getProperty(e,"scrollBehavior")==="smooth"),l},Ms=function(e,r,t){var i=e,n=e,s=Xi(),o=s,l=r||50,u=Math.max(500,l*3),f=function(g,_){var m=Xi();_||m-s>l?(n=i,i=g,o=s,s=m):t?i+=g:i=n+(g-n)/(m-o)*(s-o)},h=function(){n=i=t?0:i,o=s=0},d=function(g){var _=o,m=n,T=Xi();return(g||g===0)&&g!==i&&f(g),s===o||T-o>u?0:(i+(t?m:-m))/((t?T:s)-_)*1e3};return{update:f,reset:h,getVelocity:d}},Oi=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Ro=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},ol=function(){Wi=Ie.core.globals().ScrollTrigger,Wi&&Wi.core&&Qu()},al=function(e){return Ie=e||nl(),!On&&Ie&&typeof document<"u"&&document.body&&(wt=window,yr=document,vr=yr.documentElement,_i=yr.body,rl=[wt,yr,vr,_i],Ie.utils.clamp,il=Ie.core.context||function(){},Nr="onpointerenter"in _i?"pointer":"mouse",tl=we.isTouch=wt.matchMedia&&wt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in wt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=we.eventTypes=("ontouchstart"in vr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in vr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return sl=0},500),ol(),On=1),On};st.op=Me;H.cache=0;var we=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){On||al(Ie)||console.warn("Please gsap.registerPlugin(Observer)"),Wi||ol();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,l=t.lineHeight,u=t.debounce,f=t.preventDefault,h=t.onStop,d=t.onStopDelay,c=t.ignore,g=t.wheelSpeed,_=t.event,m=t.onDragStart,T=t.onDragEnd,b=t.onDrag,P=t.onPress,v=t.onRelease,y=t.onRight,C=t.onLeft,w=t.onUp,k=t.onDown,S=t.onChangeX,O=t.onChangeY,z=t.onChange,M=t.onToggleX,R=t.onToggleY,L=t.onHover,B=t.onHoverEnd,I=t.onMove,A=t.ignoreCheck,$=t.isNormalizer,X=t.onGestureStart,p=t.onGestureEnd,j=t.onWheel,ie=t.onEnable,Ee=t.onDisable,re=t.onClick,be=t.scrollSpeed,Ye=t.capture,Te=t.allowClicks,Qe=t.lockAxis,We=t.onLockAxis;this.target=o=at(o)||vr,this.vars=t,c&&(c=Ie.utils.toArray(c)),i=i||1e-9,n=n||0,g=g||1,be=be||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(wt.getComputedStyle(_i).lineHeight)||22);var lr,Ze,je,J,me,ot,_t,x=this,dt=0,Qt=0,ur=t.passive||!f&&t.passive!==!1,de=kr(o,st),Zt=kr(o,Me),fr=de(),Or=Zt(),De=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Bt[0]==="pointerdown",cr=Vi(o),ye=o.ownerDocument||yr,Ft=[0,0,0],Pt=[0,0,0],jt=0,Ti=function(){return jt=Xi()},Se=function(N,ee){return(x.event=N)&&c&&Zu(N.target,c)||ee&&De&&N.pointerType!=="touch"||A&&A(N,ee)},un=function(){x._vx.reset(),x._vy.reset(),Ze.pause(),h&&h(x)},Jt=function(){var N=x.deltaX=Ro(Ft),ee=x.deltaY=Ro(Pt),E=Math.abs(N)>=i,Y=Math.abs(ee)>=i;z&&(E||Y)&&z(x,N,ee,Ft,Pt),E&&(y&&x.deltaX>0&&y(x),C&&x.deltaX<0&&C(x),S&&S(x),M&&x.deltaX<0!=dt<0&&M(x),dt=x.deltaX,Ft[0]=Ft[1]=Ft[2]=0),Y&&(k&&x.deltaY>0&&k(x),w&&x.deltaY<0&&w(x),O&&O(x),R&&x.deltaY<0!=Qt<0&&R(x),Qt=x.deltaY,Pt[0]=Pt[1]=Pt[2]=0),(J||je)&&(I&&I(x),je&&(m&&je===1&&m(x),b&&b(x),je=0),J=!1),ot&&!(ot=!1)&&We&&We(x),me&&(j(x),me=!1),lr=0},Zr=function(N,ee,E){Ft[E]+=N,Pt[E]+=ee,x._vx.update(N),x._vy.update(ee),u?lr||(lr=requestAnimationFrame(Jt)):Jt()},jr=function(N,ee){Qe&&!_t&&(x.axis=_t=Math.abs(N)>Math.abs(ee)?"x":"y",ot=!0),_t!=="y"&&(Ft[2]+=N,x._vx.update(N,!0)),_t!=="x"&&(Pt[2]+=ee,x._vy.update(ee,!0)),u?lr||(lr=requestAnimationFrame(Jt)):Jt()},hr=function(N){if(!Se(N,1)){N=Oi(N,f);var ee=N.clientX,E=N.clientY,Y=ee-x.x,F=E-x.y,W=x.isDragging;x.x=ee,x.y=E,(W||(Y||F)&&(Math.abs(x.startX-ee)>=n||Math.abs(x.startY-E)>=n))&&(je||(je=W?2:1),W||(x.isDragging=!0),jr(Y,F))}},Mr=x.onPress=function(V){Se(V,1)||V&&V.button||(x.axis=_t=null,Ze.pause(),x.isPressed=!0,V=Oi(V),dt=Qt=0,x.startX=x.x=V.clientX,x.startY=x.y=V.clientY,x._vx.reset(),x._vy.reset(),et($?o:ye,Bt[1],hr,ur,!0),x.deltaX=x.deltaY=0,P&&P(x))},q=x.onRelease=function(V){if(!Se(V,1)){Je($?o:ye,Bt[1],hr,!0);var N=!isNaN(x.y-x.startY),ee=x.isDragging,E=ee&&(Math.abs(x.x-x.startX)>3||Math.abs(x.y-x.startY)>3),Y=Oi(V);!E&&N&&(x._vx.reset(),x._vy.reset(),f&&Te&&Ie.delayedCall(.08,function(){if(Xi()-jt>300&&!V.defaultPrevented){if(V.target.click)V.target.click();else if(ye.createEvent){var F=ye.createEvent("MouseEvents");F.initMouseEvent("click",!0,!0,wt,1,Y.screenX,Y.screenY,Y.clientX,Y.clientY,!1,!1,!1,!1,0,null),V.target.dispatchEvent(F)}}})),x.isDragging=x.isGesturing=x.isPressed=!1,h&&ee&&!$&&Ze.restart(!0),je&&Jt(),T&&ee&&T(x),v&&v(x,E)}},Er=function(N){return N.touches&&N.touches.length>1&&(x.isGesturing=!0)&&X(N,x.isDragging)},zt=function(){return(x.isGesturing=!1)||p(x)},Nt=function(N){if(!Se(N)){var ee=de(),E=Zt();Zr((ee-fr)*be,(E-Or)*be,1),fr=ee,Or=E,h&&Ze.restart(!0)}},Lt=function(N){if(!Se(N)){N=Oi(N,f),j&&(me=!0);var ee=(N.deltaMode===1?l:N.deltaMode===2?wt.innerHeight:1)*g;Zr(N.deltaX*ee,N.deltaY*ee,0),h&&!$&&Ze.restart(!0)}},Dr=function(N){if(!Se(N)){var ee=N.clientX,E=N.clientY,Y=ee-x.x,F=E-x.y;x.x=ee,x.y=E,J=!0,h&&Ze.restart(!0),(Y||F)&&jr(Y,F)}},Jr=function(N){x.event=N,L(x)},er=function(N){x.event=N,B(x)},Si=function(N){return Se(N)||Oi(N,f)&&re(x)};Ze=x._dc=Ie.delayedCall(d||.25,un).pause(),x.deltaX=x.deltaY=0,x._vx=Ms(0,50,!0),x._vy=Ms(0,50,!0),x.scrollX=de,x.scrollY=Zt,x.isDragging=x.isGesturing=x.isPressed=!1,il(this),x.enable=function(V){return x.isEnabled||(et(cr?ye:o,"scroll",Os),s.indexOf("scroll")>=0&&et(cr?ye:o,"scroll",Nt,ur,Ye),s.indexOf("wheel")>=0&&et(o,"wheel",Lt,ur,Ye),(s.indexOf("touch")>=0&&tl||s.indexOf("pointer")>=0)&&(et(o,Bt[0],Mr,ur,Ye),et(ye,Bt[2],q),et(ye,Bt[3],q),Te&&et(o,"click",Ti,!0,!0),re&&et(o,"click",Si),X&&et(ye,"gesturestart",Er),p&&et(ye,"gestureend",zt),L&&et(o,Nr+"enter",Jr),B&&et(o,Nr+"leave",er),I&&et(o,Nr+"move",Dr)),x.isEnabled=!0,x.isDragging=x.isGesturing=x.isPressed=J=je=!1,x._vx.reset(),x._vy.reset(),fr=de(),Or=Zt(),V&&V.type&&Mr(V),ie&&ie(x)),x},x.disable=function(){x.isEnabled&&(ui.filter(function(V){return V!==x&&Vi(V.target)}).length||Je(cr?ye:o,"scroll",Os),x.isPressed&&(x._vx.reset(),x._vy.reset(),Je($?o:ye,Bt[1],hr,!0)),Je(cr?ye:o,"scroll",Nt,Ye),Je(o,"wheel",Lt,Ye),Je(o,Bt[0],Mr,Ye),Je(ye,Bt[2],q),Je(ye,Bt[3],q),Je(o,"click",Ti,!0),Je(o,"click",Si),Je(ye,"gesturestart",Er),Je(ye,"gestureend",zt),Je(o,Nr+"enter",Jr),Je(o,Nr+"leave",er),Je(o,Nr+"move",Dr),x.isEnabled=x.isPressed=x.isDragging=!1,Ee&&Ee(x))},x.kill=x.revert=function(){x.disable();var V=ui.indexOf(x);V>=0&&ui.splice(V,1),nr===x&&(nr=0)},ui.push(x),$&&Vi(o)&&(nr=x),x.enable(_)},Ku(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();we.version="3.14.2";we.create=function(a){return new we(a)};we.register=al;we.getAll=function(){return ui.slice()};we.getById=function(a){return ui.filter(function(e){return e.vars.id===a})[0]};nl()&&Ie.registerPlugin(we);/*!
23
+ * ScrollTrigger 3.14.2
24
+ * https://gsap.com
25
+ *
26
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
27
+ * Subject to the terms at https://gsap.com/standard-license
28
+ * @author: Jack Doyle, jack@greensock.com
29
+ */var D,si,G,ae,vt,te,no,Xn,sn,$i,Ai,pn,Ue,Kn,Es,rt,Ao,Fo,oi,ll,ss,ul,tt,Ds,fl,cl,dr,Rs,so,di,oo,Ui,As,os,gn=1,Ge=Date.now,as=Ge(),At=0,Fi=0,zo=function(e,r,t){var i=mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},No=function(e,r){return r&&(!mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},ju=function a(){return Fi&&requestAnimationFrame(a)},Lo=function(){return Kn=1},Io=function(){return Kn=0},$t=function(e){return e},zi=function(e){return Math.round(e*1e5)/1e5||0},hl=function(){return typeof window<"u"},_l=function(){return D||hl()&&(D=window.gsap)&&D.registerPlugin&&D},Hr=function(e){return!!~no.indexOf(e)},dl=function(e){return(e==="Height"?oo:G["inner"+e])||vt["client"+e]||te["client"+e]},pl=function(e){return br(e,"getBoundingClientRect")||(Hr(e)?function(){return An.width=G.innerWidth,An.height=oo,An}:function(){return ir(e)})},Ju=function(e,r,t){var i=t.d,n=t.d2,s=t.a;return(s=br(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(r?dl(n):e["client"+n])||0}},ef=function(e,r){return!r||~qt.indexOf(e)?pl(e):function(){return An}},Ht=function(e,r){var t=r.s,i=r.d2,n=r.d,s=r.a;return Math.max(0,(t="scroll"+i)&&(s=br(e,t))?s()-pl(e)()[n]:Hr(e)?(vt[t]||te[t])-dl(i):e[t]-e["offset"+i])},mn=function(e,r){for(var t=0;t<oi.length;t+=3)(!r||~r.indexOf(oi[t+1]))&&e(oi[t],oi[t+1],oi[t+2])},mt=function(e){return typeof e=="string"},qe=function(e){return typeof e=="function"},Ni=function(e){return typeof e=="number"},Lr=function(e){return typeof e=="object"},Mi=function(e,r,t){return e&&e.progress(r?0:1)&&t&&e.pause()},ls=function(e,r){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return r(e)}):r(e);t&&t.totalTime&&(e.callbackAnimation=t)}},ti=Math.abs,gl="left",ml="top",ao="right",lo="bottom",$r="width",Ur="height",Gi="Right",Hi="Left",qi="Top",Ki="Bottom",Ce="padding",Mt="margin",bi="Width",uo="Height",Oe="px",Et=function(e){return G.getComputedStyle(e)},tf=function(e){var r=Et(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Bo=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},ir=function(e,r){var t=r&&Et(e)[Es]!=="matrix(1, 0, 0, 1, 0, 0)"&&D.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return t&&t.progress(0).kill(),i},Vn=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},yl=function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},rf=function(e){return function(r){return D.utils.snap(yl(e),r)}},fo=function(e){var r=D.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return t?function(i,n,s){s===void 0&&(s=.001);var o;if(!n)return r(i);if(n>0){for(i-=s,o=0;o<t.length;o++)if(t[o]>=i)return t[o];return t[o-1]}else for(o=t.length,i+=s;o--;)if(t[o]<=i)return t[o];return t[0]}:function(i,n,s){s===void 0&&(s=.001);var o=r(i);return!n||Math.abs(o-i)<s||o-i<0==n<0?o:r(n<0?i-e:i+e)}},nf=function(e){return function(r,t){return fo(yl(e))(r,t.direction)}},yn=function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},Fe=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},Ae=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},vn=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},Yo={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},xn={toggleActions:"play",anticipatePin:0},$n={top:0,left:0,center:.5,bottom:1,right:1},Mn=function(e,r){if(mt(e)){var t=e.indexOf("="),i=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(i*=r/100),e=e.substr(0,t-1)),e=i+(e in $n?$n[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},wn=function(e,r,t,i,n,s,o,l){var u=n.startColor,f=n.endColor,h=n.fontSize,d=n.indent,c=n.fontWeight,g=ae.createElement("div"),_=Hr(t)||br(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,T=_?te:t,b=e.indexOf("start")!==-1,P=b?u:f,v="border-color:"+P+";font-size:"+h+";color:"+P+";font-weight:"+c+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((m||l)&&_?"fixed;":"absolute;"),(m||l||!_)&&(v+=(i===Me?ao:lo)+":"+(s+parseFloat(d))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),g._isStart=b,g.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),g.style.cssText=v,g.innerText=r||r===0?e+"-"+r:e,T.children[0]?T.insertBefore(g,T.children[0]):T.appendChild(g),g._offset=g["offset"+i.op.d2],En(g,0,i,b),g},En=function(e,r,t,i){var n={display:"block"},s=t[i?"os2":"p2"],o=t[i?"p2":"os2"];e._isFlipped=i,n[t.a+"Percent"]=i?-100:0,n[t.a]=i?"1px":0,n["border"+s+bi]=1,n["border"+o+bi]=0,n[t.p]=r+"px",D.set(e,n)},U=[],Fs={},on,Wo=function(){return Ge()-At>34&&(on||(on=requestAnimationFrame(sr)))},ri=function(){(!tt||!tt.isPressed||tt.startX>te.clientWidth)&&(H.cache++,tt?on||(on=requestAnimationFrame(sr)):sr(),At||Kr("scrollStart"),At=Ge())},us=function(){cl=G.innerWidth,fl=G.innerHeight},Li=function(e){H.cache++,(e===!0||!Ue&&!ul&&!ae.fullscreenElement&&!ae.webkitFullscreenElement&&(!Ds||cl!==G.innerWidth||Math.abs(G.innerHeight-fl)>G.innerHeight*.25))&&Xn.restart(!0)},qr={},sf=[],vl=function a(){return Ae(K,"scrollEnd",a)||Br(!0)},Kr=function(e){return qr[e]&&qr[e].map(function(r){return r()})||sf},gt=[],xl=function(e){for(var r=0;r<gt.length;r+=5)(!e||gt[r+4]&&gt[r+4].query===e)&&(gt[r].style.cssText=gt[r+1],gt[r].getBBox&&gt[r].setAttribute("transform",gt[r+2]||""),gt[r+3].uncache=1)},wl=function(){return H.forEach(function(e){return qe(e)&&++e.cacheID&&(e.rec=e())})},co=function(e,r){var t;for(rt=0;rt<U.length;rt++)t=U[rt],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));Ui=!0,r&&xl(r),r||Kr("revert")},bl=function(e,r){H.cache++,(r||!it)&&H.forEach(function(t){return qe(t)&&t.cacheID++&&(t.rec=0)}),mt(e)&&(G.history.scrollRestoration=so=e)},it,Gr=0,Xo,of=function(){if(Xo!==Gr){var e=Xo=Gr;requestAnimationFrame(function(){return e===Gr&&Br(!0)})}},Tl=function(){te.appendChild(di),oo=!tt&&di.offsetHeight||G.innerHeight,te.removeChild(di)},Vo=function(e){return sn(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},Br=function(e,r){if(vt=ae.documentElement,te=ae.body,no=[G,ae,vt,te],At&&!e&&!Ui){Fe(K,"scrollEnd",vl);return}Tl(),it=K.isRefreshing=!0,Ui||wl();var t=Kr("refreshInit");ll&&K.sort(),r||co(),H.forEach(function(i){qe(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),U.slice(0).forEach(function(i){return i.refresh()}),Ui=!1,U.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[n];i.revert(!0,1),i.adjustPinSpacing(i.pin[n]-s),i.refresh()}}),As=1,Vo(!0),U.forEach(function(i){var n=Ht(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>n,o=i._startClamp&&i.start>=n;(s||o)&&i.setPositions(o?n-1:i.start,s?Math.max(o?n:i.start+1,n):i.end,!0)}),Vo(!1),As=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),H.forEach(function(i){qe(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),bl(so,1),Xn.pause(),Gr++,it=2,sr(2),U.forEach(function(i){return qe(i.vars.onRefresh)&&i.vars.onRefresh(i)}),it=K.isRefreshing=!1,Kr("refresh")},zs=0,Dn=1,Qi,sr=function(e){if(e===2||!it&&!Ui){K.isUpdating=!0,Qi&&Qi.update(0);var r=U.length,t=Ge(),i=t-as>=50,n=r&&U[0].scroll();if(Dn=zs>n?-1:1,it||(zs=n),i&&(At&&!Kn&&t-At>200&&(At=0,Kr("scrollEnd")),Ai=as,as=t),Dn<0){for(rt=r;rt-- >0;)U[rt]&&U[rt].update(0,i);Dn=1}else for(rt=0;rt<r;rt++)U[rt]&&U[rt].update(0,i);K.isUpdating=!1}on=0},Ns=[gl,ml,lo,ao,Mt+Ki,Mt+Gi,Mt+qi,Mt+Hi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Rn=Ns.concat([$r,Ur,"boxSizing","max"+bi,"max"+uo,"position",Mt,Ce,Ce+qi,Ce+Gi,Ce+Ki,Ce+Hi]),af=function(e,r,t){pi(t);var i=e._gsap;if(i.spacerIsNative)pi(i.spacerState);else if(e._gsap.swappedIn){var n=r.parentNode;n&&(n.insertBefore(e,r),n.removeChild(r))}e._gsap.swappedIn=!1},fs=function(e,r,t,i){if(!e._gsap.swappedIn){for(var n=Ns.length,s=r.style,o=e.style,l;n--;)l=Ns[n],s[l]=t[l];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),o[lo]=o[ao]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$r]=Vn(e,st)+Oe,s[Ur]=Vn(e,Me)+Oe,s[Ce]=o[Mt]=o[ml]=o[gl]="0",pi(i),o[$r]=o["max"+bi]=t[$r],o[Ur]=o["max"+uo]=t[Ur],o[Ce]=t[Ce],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},lf=/([A-Z])/g,pi=function(e){if(e){var r=e.t.style,t=e.length,i=0,n,s;for((e.t._gsap||D.core.getCache(e.t)).uncache=1;i<t;i+=2)s=e[i+1],n=e[i],s?r[n]=s:r[n]&&r.removeProperty(n.replace(lf,"-$1").toLowerCase())}},bn=function(e){for(var r=Rn.length,t=e.style,i=[],n=0;n<r;n++)i.push(Rn[n],t[Rn[n]]);return i.t=e,i},uf=function(e,r,t){for(var i=[],n=e.length,s=t?8:0,o;s<n;s+=2)o=e[s],i.push(o,o in r?r[o]:e[s+1]);return i.t=e.t,i},An={left:0,top:0},$o=function(e,r,t,i,n,s,o,l,u,f,h,d,c,g){qe(e)&&(e=e(l)),mt(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?Mn("0"+e.substr(3),t):0));var _=c?c.time():0,m,T,b;if(c&&c.seek(0),isNaN(e)||(e=+e),Ni(e))c&&(e=D.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,e)),o&&En(o,t,i,!0);else{qe(r)&&(r=r(l));var P=(e||"0").split(" "),v,y,C,w;b=at(r,l)||te,v=ir(b)||{},(!v||!v.left&&!v.top)&&Et(b).display==="none"&&(w=b.style.display,b.style.display="block",v=ir(b),w?b.style.display=w:b.style.removeProperty("display")),y=Mn(P[0],v[i.d]),C=Mn(P[1]||"0",t),e=v[i.p]-u[i.p]-f+y+n-C,o&&En(o,C,i,t-C<20||o._isStart&&C>20),t-=t-C}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var k=e+t,S=s._isStart;m="scroll"+i.d2,En(s,k,i,S&&k>20||!S&&(h?Math.max(te[m],vt[m]):s.parentNode[m])<=k+1),h&&(u=ir(o),h&&(s.style[i.op.p]=u[i.op.p]-i.op.m-s._offset+Oe))}return c&&b&&(m=ir(b),c.seek(d),T=ir(b),c._caScrollDist=m[i.p]-T[i.p],e=e/c._caScrollDist*d),c&&c.seek(_),c?e:Math.round(e)},ff=/(webkit|moz|length|cssText|inset)/i,Uo=function(e,r,t,i){if(e.parentNode!==r){var n=e.style,s,o;if(r===te){e._stOrig=n.cssText,o=Et(e);for(s in o)!+s&&!ff.test(s)&&o[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=o[s]);n.top=t,n.left=i}else n.cssText=e._stOrig;D.core.getCache(e).uncache=1,r.appendChild(e)}},Sl=function(e,r,t){var i=r,n=i;return function(s){var o=Math.round(e());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(s=o,t&&t()),n=i,i=Math.round(s),i}},Tn=function(e,r,t){var i={};i[r.p]="+="+t,D.set(e,i)},Go=function(e,r){var t=kr(e,r),i="_scroll"+r.p2,n=function s(o,l,u,f,h){var d=s.tween,c=l.onComplete,g={};u=u||t();var _=Sl(t,u,function(){d.kill(),s.tween=0});return h=f&&h||0,f=f||o-u,d&&d.kill(),l[i]=o,l.inherit=!1,l.modifiers=g,g[i]=function(){return _(u+f*d.ratio+h*d.ratio*d.ratio)},l.onUpdate=function(){H.cache++,s.tween&&sr()},l.onComplete=function(){s.tween=0,c&&c.call(d)},d=s.tween=D.to(e,l),d};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Fe(e,"wheel",t.wheelHandler),K.isTouch&&Fe(e,"touchmove",t.wheelHandler),n},K=function(){function a(r,t){si||a.register(D)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Rs(this),this.init(r,t)}var e=a.prototype;return e.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fi){this.update=this.refresh=this.kill=$t;return}t=Bo(mt(t)||Ni(t)||t.nodeType?{trigger:t}:t,xn);var n=t,s=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,f=n.onRefresh,h=n.scrub,d=n.trigger,c=n.pin,g=n.pinSpacing,_=n.invalidateOnRefresh,m=n.anticipatePin,T=n.onScrubComplete,b=n.onSnapComplete,P=n.once,v=n.snap,y=n.pinReparent,C=n.pinSpacer,w=n.containerAnimation,k=n.fastScrollEnd,S=n.preventOverlaps,O=t.horizontal||t.containerAnimation&&t.horizontal!==!1?st:Me,z=!h&&h!==0,M=at(t.scroller||G),R=D.core.getCache(M),L=Hr(M),B=("pinType"in t?t.pinType:br(M,"pinType")||L&&"fixed")==="fixed",I=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],A=z&&t.toggleActions.split(" "),$="markers"in t?t.markers:xn.markers,X=L?0:parseFloat(Et(M)["border"+O.p2+bi])||0,p=this,j=t.onRefreshInit&&function(){return t.onRefreshInit(p)},ie=Ju(M,L,O),Ee=ef(M,L),re=0,be=0,Ye=0,Te=kr(M,O),Qe,We,lr,Ze,je,J,me,ot,_t,x,dt,Qt,ur,de,Zt,fr,Or,De,cr,ye,Ft,Pt,jt,Ti,Se,un,Jt,Zr,jr,hr,Mr,q,Er,zt,Nt,Lt,Dr,Jr,er;if(p._startClamp=p._endClamp=!1,p._dir=O,m*=45,p.scroller=M,p.scroll=w?w.time.bind(w):Te,Ze=Te(),p.vars=t,i=i||t.animation,"refreshPriority"in t&&(ll=1,t.refreshPriority===-9999&&(Qi=p)),R.tweenScroll=R.tweenScroll||{top:Go(M,Me),left:Go(M,st)},p.tweenTo=Qe=R.tweenScroll[O.p],p.scrubDuration=function(E){Er=Ni(E)&&E,Er?q?q.duration(E):q=D.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Er,paused:!0,onComplete:function(){return T&&T(p)}}):(q&&q.progress(1).kill(),q=0)},i&&(i.vars.lazy=!1,i._initted&&!p.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),p.animation=i.pause(),i.scrollTrigger=p,p.scrubDuration(h),hr=0,l||(l=i.vars.id)),v&&((!Lr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in te.style&&D.set(L?[te,vt]:M,{scrollBehavior:"auto"}),H.forEach(function(E){return qe(E)&&E.target===(L?ae.scrollingElement||vt:M)&&(E.smooth=!1)}),lr=qe(v.snapTo)?v.snapTo:v.snapTo==="labels"?rf(i):v.snapTo==="labelsDirectional"?nf(i):v.directional!==!1?function(E,Y){return fo(v.snapTo)(E,Ge()-be<500?0:Y.direction)}:D.utils.snap(v.snapTo),zt=v.duration||{min:.1,max:2},zt=Lr(zt)?$i(zt.min,zt.max):$i(zt,zt),Nt=D.delayedCall(v.delay||Er/2||.1,function(){var E=Te(),Y=Ge()-be<500,F=Qe.tween;if((Y||Math.abs(p.getVelocity())<10)&&!F&&!Kn&&re!==E){var W=(E-J)/de,Re=i&&!z?i.totalProgress():W,Q=Y?0:(Re-Mr)/(Ge()-Ai)*1e3||0,ve=D.utils.clamp(-W,1-W,ti(Q/2)*Q/.185),Xe=W+(v.inertia===!1?0:ve),pe,le,ne=v,It=ne.onStart,fe=ne.onInterrupt,pt=ne.onComplete;if(pe=lr(Xe,p),Ni(pe)||(pe=Xe),le=Math.max(0,Math.round(J+pe*de)),E<=me&&E>=J&&le!==E){if(F&&!F._initted&&F.data<=ti(le-E))return;v.inertia===!1&&(ve=pe-W),Qe(le,{duration:zt(ti(Math.max(ti(Xe-Re),ti(pe-Re))*.185/Q/.05||0)),ease:v.ease||"power3",data:ti(le-E),onInterrupt:function(){return Nt.restart(!0)&&fe&&fe(p)},onComplete:function(){p.update(),re=Te(),i&&!z&&(q?q.resetTo("totalProgress",pe,i._tTime/i._tDur):i.progress(pe)),hr=Mr=i&&!z?i.totalProgress():p.progress,b&&b(p),pt&&pt(p)}},E,ve*de,le-E-ve*de),It&&It(p,Qe.tween)}}else p.isActive&&re!==E&&Nt.restart(!0)}).pause()),l&&(Fs[l]=p),d=p.trigger=at(d||c!==!0&&c),er=d&&d._gsap&&d._gsap.stRevert,er&&(er=er(p)),c=c===!0?d:at(c),mt(o)&&(o={targets:d,className:o}),c&&(g===!1||g===Mt||(g=!g&&c.parentNode&&c.parentNode.style&&Et(c.parentNode).display==="flex"?!1:Ce),p.pin=c,We=D.core.getCache(c),We.spacer?Zt=We.pinState:(C&&(C=at(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),We.spacerIsNative=!!C,C&&(We.spacerState=bn(C))),We.spacer=De=C||ae.createElement("div"),De.classList.add("pin-spacer"),l&&De.classList.add("pin-spacer-"+l),We.pinState=Zt=bn(c)),t.force3D!==!1&&D.set(c,{force3D:!0}),p.spacer=De=We.spacer,jr=Et(c),Ti=jr[g+O.os2],ye=D.getProperty(c),Ft=D.quickSetter(c,O.a,Oe),fs(c,De,jr),Or=bn(c)),$){Qt=Lr($)?Bo($,Yo):Yo,x=wn("scroller-start",l,M,O,Qt,0),dt=wn("scroller-end",l,M,O,Qt,0,x),cr=x["offset"+O.op.d2];var Si=at(br(M,"content")||M);ot=this.markerStart=wn("start",l,Si,O,Qt,cr,0,w),_t=this.markerEnd=wn("end",l,Si,O,Qt,cr,0,w),w&&(Jr=D.quickSetter([ot,_t],O.a,Oe)),!B&&!(qt.length&&br(M,"fixedMarkers")===!0)&&(tf(L?te:M),D.set([x,dt],{force3D:!0}),un=D.quickSetter(x,O.a,Oe),Zr=D.quickSetter(dt,O.a,Oe))}if(w){var V=w.vars.onUpdate,N=w.vars.onUpdateParams;w.eventCallback("onUpdate",function(){p.update(0,0,1),V&&V.apply(w,N||[])})}if(p.previous=function(){return U[U.indexOf(p)-1]},p.next=function(){return U[U.indexOf(p)+1]},p.revert=function(E,Y){if(!Y)return p.kill(!0);var F=E!==!1||!p.enabled,W=Ue;F!==p.isReverted&&(F&&(Lt=Math.max(Te(),p.scroll.rec||0),Ye=p.progress,Dr=i&&i.progress()),ot&&[ot,_t,x,dt].forEach(function(Re){return Re.style.display=F?"none":"block"}),F&&(Ue=p,p.update(F)),c&&(!y||!p.isActive)&&(F?af(c,De,Zt):fs(c,De,Et(c),Se)),F||p.update(F),Ue=W,p.isReverted=F)},p.refresh=function(E,Y,F,W){if(!((Ue||!p.enabled)&&!Y)){if(c&&E&&At){Fe(a,"scrollEnd",vl);return}!it&&j&&j(p),Ue=p,Qe.tween&&!F&&(Qe.tween.kill(),Qe.tween=0),q&&q.pause(),_&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(_r){return _r.vars.immediateRender&&_r.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),p.isReverted||p.revert(!0,!0),p._subPinOffset=!1;var Re=ie(),Q=Ee(),ve=w?w.duration():Ht(M,O),Xe=de<=.01||!de,pe=0,le=W||0,ne=Lr(F)?F.end:t.end,It=t.endTrigger||d,fe=Lr(F)?F.start:t.start||(t.start===0||!d?0:c?"0 0":"0 100%"),pt=p.pinnedContainer=t.pinnedContainer&&at(t.pinnedContainer,p),Yt=d&&Math.max(0,U.indexOf(p))||0,Ne=Yt,Le,Ve,Rr,fn,$e,Pe,Wt,Qn,ho,Ci,Xt,ki,cn;for($&&Lr(F)&&(ki=D.getProperty(x,O.p),cn=D.getProperty(dt,O.p));Ne-- >0;)Pe=U[Ne],Pe.end||Pe.refresh(0,1)||(Ue=p),Wt=Pe.pin,Wt&&(Wt===d||Wt===c||Wt===pt)&&!Pe.isReverted&&(Ci||(Ci=[]),Ci.unshift(Pe),Pe.revert(!0,!0)),Pe!==U[Ne]&&(Yt--,Ne--);for(qe(fe)&&(fe=fe(p)),fe=zo(fe,"start",p),J=$o(fe,d,Re,O,Te(),ot,x,p,Q,X,B,ve,w,p._startClamp&&"_startClamp")||(c?-.001:0),qe(ne)&&(ne=ne(p)),mt(ne)&&!ne.indexOf("+=")&&(~ne.indexOf(" ")?ne=(mt(fe)?fe.split(" ")[0]:"")+ne:(pe=Mn(ne.substr(2),Re),ne=mt(fe)?fe:(w?D.utils.mapRange(0,w.duration(),w.scrollTrigger.start,w.scrollTrigger.end,J):J)+pe,It=d)),ne=zo(ne,"end",p),me=Math.max(J,$o(ne||(It?"100% 0":ve),It,Re,O,Te()+pe,_t,dt,p,Q,X,B,ve,w,p._endClamp&&"_endClamp"))||-.001,pe=0,Ne=Yt;Ne--;)Pe=U[Ne]||{},Wt=Pe.pin,Wt&&Pe.start-Pe._pinPush<=J&&!w&&Pe.end>0&&(Le=Pe.end-(p._startClamp?Math.max(0,Pe.start):Pe.start),(Wt===d&&Pe.start-Pe._pinPush<J||Wt===pt)&&isNaN(fe)&&(pe+=Le*(1-Pe.progress)),Wt===c&&(le+=Le));if(J+=pe,me+=pe,p._startClamp&&(p._startClamp+=pe),p._endClamp&&!it&&(p._endClamp=me||-.001,me=Math.min(me,Ht(M,O))),de=me-J||(J-=.01)&&.001,Xe&&(Ye=D.utils.clamp(0,1,D.utils.normalize(J,me,Lt))),p._pinPush=le,ot&&pe&&(Le={},Le[O.a]="+="+pe,pt&&(Le[O.p]="-="+Te()),D.set([ot,_t],Le)),c&&!(As&&p.end>=Ht(M,O)))Le=Et(c),fn=O===Me,Rr=Te(),Pt=parseFloat(ye(O.a))+le,!ve&&me>1&&(Xt=(L?ae.scrollingElement||vt:M).style,Xt={style:Xt,value:Xt["overflow"+O.a.toUpperCase()]},L&&Et(te)["overflow"+O.a.toUpperCase()]!=="scroll"&&(Xt.style["overflow"+O.a.toUpperCase()]="scroll")),fs(c,De,Le),Or=bn(c),Ve=ir(c,!0),Qn=B&&kr(M,fn?st:Me)(),g?(Se=[g+O.os2,de+le+Oe],Se.t=De,Ne=g===Ce?Vn(c,O)+de+le:0,Ne&&(Se.push(O.d,Ne+Oe),De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Oe)),pi(Se),pt&&U.forEach(function(_r){_r.pin===pt&&_r.vars.pinSpacing!==!1&&(_r._subPinOffset=!0)}),B&&Te(Lt)):(Ne=Vn(c,O),Ne&&De.style.flexBasis!=="auto"&&(De.style.flexBasis=Ne+Oe)),B&&($e={top:Ve.top+(fn?Rr-J:Qn)+Oe,left:Ve.left+(fn?Qn:Rr-J)+Oe,boxSizing:"border-box",position:"fixed"},$e[$r]=$e["max"+bi]=Math.ceil(Ve.width)+Oe,$e[Ur]=$e["max"+uo]=Math.ceil(Ve.height)+Oe,$e[Mt]=$e[Mt+qi]=$e[Mt+Gi]=$e[Mt+Ki]=$e[Mt+Hi]="0",$e[Ce]=Le[Ce],$e[Ce+qi]=Le[Ce+qi],$e[Ce+Gi]=Le[Ce+Gi],$e[Ce+Ki]=Le[Ce+Ki],$e[Ce+Hi]=Le[Ce+Hi],fr=uf(Zt,$e,y),it&&Te(0)),i?(ho=i._initted,ss(1),i.render(i.duration(),!0,!0),jt=ye(O.a)-Pt+de+le,Jt=Math.abs(de-jt)>1,B&&Jt&&fr.splice(fr.length-2,2),i.render(0,!0,!0),ho||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),ss(0)):jt=de,Xt&&(Xt.value?Xt.style["overflow"+O.a.toUpperCase()]=Xt.value:Xt.style.removeProperty("overflow-"+O.a));else if(d&&Te()&&!w)for(Ve=d.parentNode;Ve&&Ve!==te;)Ve._pinOffset&&(J-=Ve._pinOffset,me-=Ve._pinOffset),Ve=Ve.parentNode;Ci&&Ci.forEach(function(_r){return _r.revert(!1,!0)}),p.start=J,p.end=me,Ze=je=it?Lt:Te(),!w&&!it&&(Ze<Lt&&Te(Lt),p.scroll.rec=0),p.revert(!1,!0),be=Ge(),Nt&&(re=-1,Nt.restart(!0)),Ue=0,i&&z&&(i._initted||Dr)&&i.progress()!==Dr&&i.progress(Dr||0,!0).render(i.time(),!0,!0),(Xe||Ye!==p.progress||w||_||i&&!i._initted)&&(i&&!z&&(i._initted||Ye||i.vars.immediateRender!==!1)&&i.totalProgress(w&&J<-.001&&!Ye?D.utils.normalize(J,me,0):Ye,!0),p.progress=Xe||(Ze-J)/de===Ye?0:Ye),c&&g&&(De._pinOffset=Math.round(p.progress*jt)),q&&q.invalidate(),isNaN(ki)||(ki-=D.getProperty(x,O.p),cn-=D.getProperty(dt,O.p),Tn(x,O,ki),Tn(ot,O,ki-(W||0)),Tn(dt,O,cn),Tn(_t,O,cn-(W||0))),Xe&&!it&&p.update(),f&&!it&&!ur&&(ur=!0,f(p),ur=!1)}},p.getVelocity=function(){return(Te()-je)/(Ge()-Ai)*1e3||0},p.endAnimation=function(){Mi(p.callbackAnimation),i&&(q?q.progress(1):i.paused()?z||Mi(i,p.direction<0,1):Mi(i,i.reversed()))},p.labelToScroll=function(E){return i&&i.labels&&(J||p.refresh()||J)+i.labels[E]/i.duration()*de||0},p.getTrailing=function(E){var Y=U.indexOf(p),F=p.direction>0?U.slice(0,Y).reverse():U.slice(Y+1);return(mt(E)?F.filter(function(W){return W.vars.preventOverlaps===E}):F).filter(function(W){return p.direction>0?W.end<=J:W.start>=me})},p.update=function(E,Y,F){if(!(w&&!F&&!E)){var W=it===!0?Lt:p.scroll(),Re=E?0:(W-J)/de,Q=Re<0?0:Re>1?1:Re||0,ve=p.progress,Xe,pe,le,ne,It,fe,pt,Yt;if(Y&&(je=Ze,Ze=w?Te():W,v&&(Mr=hr,hr=i&&!z?i.totalProgress():Q)),m&&c&&!Ue&&!gn&&At&&(!Q&&J<W+(W-je)/(Ge()-Ai)*m?Q=1e-4:Q===1&&me>W+(W-je)/(Ge()-Ai)*m&&(Q=.9999)),Q!==ve&&p.enabled){if(Xe=p.isActive=!!Q&&Q<1,pe=!!ve&&ve<1,fe=Xe!==pe,It=fe||!!Q!=!!ve,p.direction=Q>ve?1:-1,p.progress=Q,It&&!Ue&&(le=Q&&!ve?0:Q===1?1:ve===1?2:3,z&&(ne=!fe&&A[le+1]!=="none"&&A[le+1]||A[le],Yt=i&&(ne==="complete"||ne==="reset"||ne in i))),S&&(fe||Yt)&&(Yt||h||!i)&&(qe(S)?S(p):p.getTrailing(S).forEach(function(Rr){return Rr.endAnimation()})),z||(q&&!Ue&&!gn?(q._dp._time-q._start!==q._time&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo("totalProgress",Q,i._tTime/i._tDur):(q.vars.totalProgress=Q,q.invalidate().restart())):i&&i.totalProgress(Q,!!(Ue&&(be||E)))),c){if(E&&g&&(De.style[g+O.os2]=Ti),!B)Ft(zi(Pt+jt*Q));else if(It){if(pt=!E&&Q>ve&&me+1>W&&W+1>=Ht(M,O),y)if(!E&&(Xe||pt)){var Ne=ir(c,!0),Le=W-J;Uo(c,te,Ne.top+(O===Me?Le:0)+Oe,Ne.left+(O===Me?0:Le)+Oe)}else Uo(c,De);pi(Xe||pt?fr:Or),Jt&&Q<1&&Xe||Ft(Pt+(Q===1&&!pt?jt:0))}}v&&!Qe.tween&&!Ue&&!gn&&Nt.restart(!0),o&&(fe||P&&Q&&(Q<1||!os))&&sn(o.targets).forEach(function(Rr){return Rr.classList[Xe||P?"add":"remove"](o.className)}),s&&!z&&!E&&s(p),It&&!Ue?(z&&(Yt&&(ne==="complete"?i.pause().totalProgress(1):ne==="reset"?i.restart(!0).pause():ne==="restart"?i.restart(!0):i[ne]()),s&&s(p)),(fe||!os)&&(u&&fe&&ls(p,u),I[le]&&ls(p,I[le]),P&&(Q===1?p.kill(!1,1):I[le]=0),fe||(le=Q===1?1:3,I[le]&&ls(p,I[le]))),k&&!Xe&&Math.abs(p.getVelocity())>(Ni(k)?k:2500)&&(Mi(p.callbackAnimation),q?q.progress(1):Mi(i,ne==="reverse"?1:!Q,1))):z&&s&&!Ue&&s(p)}if(Zr){var Ve=w?W/w.duration()*(w._caScrollDist||0):W;un(Ve+(x._isFlipped?1:0)),Zr(Ve)}Jr&&Jr(-W/w.duration()*(w._caScrollDist||0))}},p.enable=function(E,Y){p.enabled||(p.enabled=!0,Fe(M,"resize",Li),L||Fe(M,"scroll",ri),j&&Fe(a,"refreshInit",j),E!==!1&&(p.progress=Ye=0,Ze=je=re=Te()),Y!==!1&&p.refresh())},p.getTween=function(E){return E&&Qe?Qe.tween:q},p.setPositions=function(E,Y,F,W){if(w){var Re=w.scrollTrigger,Q=w.duration(),ve=Re.end-Re.start;E=Re.start+ve*E/Q,Y=Re.start+ve*Y/Q}p.refresh(!1,!1,{start:No(E,F&&!!p._startClamp),end:No(Y,F&&!!p._endClamp)},W),p.update()},p.adjustPinSpacing=function(E){if(Se&&E){var Y=Se.indexOf(O.d)+1;Se[Y]=parseFloat(Se[Y])+E+Oe,Se[1]=parseFloat(Se[1])+E+Oe,pi(Se)}},p.disable=function(E,Y){if(E!==!1&&p.revert(!0,!0),p.enabled&&(p.enabled=p.isActive=!1,Y||q&&q.pause(),Lt=0,We&&(We.uncache=1),j&&Ae(a,"refreshInit",j),Nt&&(Nt.pause(),Qe.tween&&Qe.tween.kill()&&(Qe.tween=0)),!L)){for(var F=U.length;F--;)if(U[F].scroller===M&&U[F]!==p)return;Ae(M,"resize",Li),L||Ae(M,"scroll",ri)}},p.kill=function(E,Y){p.disable(E,Y),q&&!Y&&q.kill(),l&&delete Fs[l];var F=U.indexOf(p);F>=0&&U.splice(F,1),F===rt&&Dn>0&&rt--,F=0,U.forEach(function(W){return W.scroller===p.scroller&&(F=1)}),F||it||(p.scroll.rec=0),i&&(i.scrollTrigger=null,E&&i.revert({kill:!1}),Y||i.kill()),ot&&[ot,_t,x,dt].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),Qi===p&&(Qi=0),c&&(We&&(We.uncache=1),F=0,U.forEach(function(W){return W.pin===c&&F++}),F||(We.spacer=0)),t.onKill&&t.onKill(p)},U.push(p),p.enable(!1,!1),er&&er(p),i&&i.add&&!de){var ee=p.update;p.update=function(){p.update=ee,H.cache++,J||me||p.refresh()},D.delayedCall(.01,p.update),de=.01,J=me=0}else p.refresh();c&&of()},a.register=function(t){return si||(D=t||_l(),hl()&&window.document&&a.enable(),si=Fi),si},a.defaults=function(t){if(t)for(var i in t)xn[i]=t[i];return xn},a.disable=function(t,i){Fi=0,U.forEach(function(s){return s[i?"kill":"disable"](t)}),Ae(G,"wheel",ri),Ae(ae,"scroll",ri),clearInterval(pn),Ae(ae,"touchcancel",$t),Ae(te,"touchstart",$t),yn(Ae,ae,"pointerdown,touchstart,mousedown",Lo),yn(Ae,ae,"pointerup,touchend,mouseup",Io),Xn.kill(),mn(Ae);for(var n=0;n<H.length;n+=3)vn(Ae,H[n],H[n+1]),vn(Ae,H[n],H[n+2])},a.enable=function(){if(G=window,ae=document,vt=ae.documentElement,te=ae.body,D&&(sn=D.utils.toArray,$i=D.utils.clamp,Rs=D.core.context||$t,ss=D.core.suppressOverwrites||$t,so=G.history.scrollRestoration||"auto",zs=G.pageYOffset||0,D.core.globals("ScrollTrigger",a),te)){Fi=1,di=document.createElement("div"),di.style.height="100vh",di.style.position="absolute",Tl(),ju(),we.register(D),a.isTouch=we.isTouch,dr=we.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ds=we.isTouch===1,Fe(G,"wheel",ri),no=[G,ae,vt,te],D.matchMedia?(a.matchMedia=function(u){var f=D.matchMedia(),h;for(h in u)f.add(h,u[h]);return f},D.addEventListener("matchMediaInit",function(){wl(),co()}),D.addEventListener("matchMediaRevert",function(){return xl()}),D.addEventListener("matchMedia",function(){Br(0,1),Kr("matchMedia")}),D.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),Fe(ae,"scroll",ri);var t=te.hasAttribute("style"),i=te.style,n=i.borderTopStyle,s=D.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=ir(te),Me.m=Math.round(o.top+Me.sc())||0,st.m=Math.round(o.left+st.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),t||(te.setAttribute("style",""),te.removeAttribute("style")),pn=setInterval(Wo,250),D.delayedCall(.5,function(){return gn=0}),Fe(ae,"touchcancel",$t),Fe(te,"touchstart",$t),yn(Fe,ae,"pointerdown,touchstart,mousedown",Lo),yn(Fe,ae,"pointerup,touchend,mouseup",Io),Es=D.utils.checkPrefix("transform"),Rn.push(Es),si=Ge(),Xn=D.delayedCall(.2,Br).pause(),oi=[ae,"visibilitychange",function(){var u=G.innerWidth,f=G.innerHeight;ae.hidden?(Ao=u,Fo=f):(Ao!==u||Fo!==f)&&Li()},ae,"DOMContentLoaded",Br,G,"load",Br,G,"resize",Li],mn(Fe),U.forEach(function(u){return u.enable(0,1)}),l=0;l<H.length;l+=3)vn(Ae,H[l],H[l+1]),vn(Ae,H[l],H[l+2])}},a.config=function(t){"limitCallbacks"in t&&(os=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(pn)||(pn=i)&&setInterval(Wo,i),"ignoreMobileResize"in t&&(Ds=a.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(mn(Ae)||mn(Fe,t.autoRefreshEvents||"none"),ul=(t.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(t,i){var n=at(t),s=H.indexOf(n),o=Hr(n);~s&&H.splice(s,o?6:2),i&&(o?qt.unshift(G,i,te,i,vt,i):qt.unshift(n,i))},a.clearMatchMedia=function(t){U.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},a.isInViewport=function(t,i,n){var s=(mt(t)?at(t):t).getBoundingClientRect(),o=s[n?$r:Ur]*i||0;return n?s.right-o>0&&s.left+o<G.innerWidth:s.bottom-o>0&&s.top+o<G.innerHeight},a.positionInViewport=function(t,i,n){mt(t)&&(t=at(t));var s=t.getBoundingClientRect(),o=s[n?$r:Ur],l=i==null?o/2:i in $n?$n[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+l)/G.innerWidth:(s.top+l)/G.innerHeight},a.killAll=function(t){if(U.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var i=qr.killAll||[];qr={},i.forEach(function(n){return n()})}},a}();K.version="3.14.2";K.saveStyles=function(a){return a?sn(a).forEach(function(e){if(e&&e.style){var r=gt.indexOf(e);r>=0&&gt.splice(r,5),gt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),D.core.getCache(e),Rs())}}):gt};K.revert=function(a,e){return co(!a,e)};K.create=function(a,e){return new K(a,e)};K.refresh=function(a){return a?Li(!0):(si||K.register())&&Br(!0)};K.update=function(a){return++H.cache&&sr(a===!0?2:0)};K.clearScrollMemory=bl;K.maxScroll=function(a,e){return Ht(a,e?st:Me)};K.getScrollFunc=function(a,e){return kr(at(a),e?st:Me)};K.getById=function(a){return Fs[a]};K.getAll=function(){return U.filter(function(a){return a.vars.id!=="ScrollSmoother"})};K.isScrolling=function(){return!!At};K.snapDirectional=fo;K.addEventListener=function(a,e){var r=qr[a]||(qr[a]=[]);~r.indexOf(e)||r.push(e)};K.removeEventListener=function(a,e){var r=qr[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};K.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(u,f){var h=[],d=[],c=D.delayedCall(i,function(){f(h,d),h=[],d=[]}).pause();return function(g){h.length||c.restart(!0),h.push(g.trigger),d.push(g),n<=h.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&qe(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return qe(n)&&(n=n(),Fe(K,"refresh",function(){return n=e.batchMax()})),sn(a).forEach(function(l){var u={};for(o in t)u[o]=t[o];u.trigger=l,r.push(K.create(u))}),r};var Ho=function(e,r,t,i){return r>i?e(i):r<0&&e(0),t>i?(i-r)/(t-r):t<0?r/(r-t):1},cs=function a(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(we.isTouch?" pinch-zoom":""):"none",e===vt&&a(te,r)},Sn={auto:1,scroll:1},cf=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||D.core.getCache(n),o=Ge(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==te&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Sn[(l=Et(n)).overflowY]||Sn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!Hr(n)&&(Sn[(l=Et(n)).overflowY]||Sn[l.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},Cl=function(e,r,t,i){return we.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&cf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&Fe(ae,we.eventTypes[0],Ko,!1,!0)},onDisable:function(){return Ae(ae,we.eventTypes[0],Ko,!0)}})},hf=/(input|label|select|textarea)/i,qo,Ko=function(e){var r=hf.test(e.target.tagName);(r||qo)&&(e._gsapAllow=!0,qo=r)},_f=function(e){Lr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,t=r.normalizeScrollX,i=r.momentum,n=r.allowNestedScroll,s=r.onRelease,o,l,u=at(e.target)||vt,f=D.core.globals().ScrollSmoother,h=f&&f.get(),d=dr&&(e.content&&at(e.content)||h&&e.content!==!1&&!h.smooth()&&h.content()),c=kr(u,Me),g=kr(u,st),_=1,m=(we.isTouch&&G.visualViewport?G.visualViewport.scale*G.visualViewport.width:G.outerWidth)/G.innerWidth,T=0,b=qe(i)?function(){return i(o)}:function(){return i||2.8},P,v,y=Cl(u,e.type,!0,n),C=function(){return v=!1},w=$t,k=$t,S=function(){l=Ht(u,Me),k=$i(dr?1:0,l),t&&(w=$i(0,Ht(u,st))),P=Gr},O=function(){d._gsap.y=zi(parseFloat(d._gsap.y)+c.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",c.offset=c.cacheID=0},z=function(){if(v){requestAnimationFrame(C);var $=zi(o.deltaY/2),X=k(c.v-$);if(d&&X!==c.v+c.offset){c.offset=X-c.v;var p=zi((parseFloat(d&&d._gsap.y)||0)-c.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+p+", 0, 1)",d._gsap.y=p+"px",c.cacheID=H.cache,sr()}return!0}c.offset&&O(),v=!0},M,R,L,B,I=function(){S(),M.isActive()&&M.vars.scrollY>l&&(c()>l?M.progress(1)&&c(l):M.resetTo("scrollY",l))};return d&&D.set(d,{y:"+=0"}),e.ignoreCheck=function(A){return dr&&A.type==="touchmove"&&z()||_>1.05&&A.type!=="touchstart"||o.isGesturing||A.touches&&A.touches.length>1},e.onPress=function(){v=!1;var A=_;_=zi((G.visualViewport&&G.visualViewport.scale||1)/m),M.pause(),A!==_&&cs(u,_>1.01?!0:t?!1:"x"),R=g(),L=c(),S(),P=Gr},e.onRelease=e.onGestureStart=function(A,$){if(c.offset&&O(),!$)B.restart(!0);else{H.cache++;var X=b(),p,j;t&&(p=g(),j=p+X*.05*-A.velocityX/.227,X*=Ho(g,p,j,Ht(u,st)),M.vars.scrollX=w(j)),p=c(),j=p+X*.05*-A.velocityY/.227,X*=Ho(c,p,j,Ht(u,Me)),M.vars.scrollY=k(j),M.invalidate().duration(X).play(.01),(dr&&M.vars.scrollY>=l||p>=l-1)&&D.to({},{onUpdate:I,duration:X})}s&&s(A)},e.onWheel=function(){M._ts&&M.pause(),Ge()-T>1e3&&(P=0,T=Ge())},e.onChange=function(A,$,X,p,j){if(Gr!==P&&S(),$&&t&&g(w(p[2]===$?R+(A.startX-A.x):g()+$-p[1])),X){c.offset&&O();var ie=j[2]===X,Ee=ie?L+A.startY-A.y:c()+X-j[1],re=k(Ee);ie&&Ee!==re&&(L+=re-Ee),c(re)}(X||$)&&sr()},e.onEnable=function(){cs(u,t?!1:"x"),K.addEventListener("refresh",I),Fe(G,"resize",I),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=g.smooth=!1),y.enable()},e.onDisable=function(){cs(u,!0),Ae(G,"resize",I),K.removeEventListener("refresh",I),y.kill()},e.lockAxis=e.lockAxis!==!1,o=new we(e),o.iOS=dr,dr&&!c()&&c(1),dr&&D.ticker.add($t),B=o._dc,M=D.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Sl(c,c(),function(){return M.pause()})},onUpdate:sr,onComplete:B.vars.onComplete}),o};K.sort=function(a){if(qe(a))return U.sort(a);var e=G.pageYOffset||0;return K.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+G.innerHeight}),U.sort(a||function(r,t){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};K.observe=function(a){return new we(a)};K.normalizeScroll=function(a){if(typeof a>"u")return tt;if(a===!0&&tt)return tt.enable();if(a===!1){tt&&tt.kill(),tt=a;return}var e=a instanceof we?a:_f(a);return tt&&tt.target===e.target&&tt.kill(),Hr(e.target)&&(tt=e),e};K.core={_getVelocityProp:Ms,_inputObserver:Cl,_scrollers:H,_proxies:qt,bridge:{ss:function(){At||Kr("scrollStart"),At=Ge()},ref:function(){return Ue}}};_l()&&D.registerPlugin(K);/*!
30
+ * SplitText 3.14.2
31
+ * https://gsap.com
32
+ *
33
+ * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
34
+ * @author: Jack Doyle
35
+ */let Ei,ii,Qo=typeof Symbol=="function"?Symbol():"_split",Ls,df=()=>Ls||vf.register(window.gsap),Zo=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,an=a=>typeof a=="string"?an(document.querySelectorAll(a)):"length"in a?Array.from(a).reduce((e,r)=>(typeof r=="string"?e.push(...an(r)):e.push(r),e),[]):[a],jo=a=>an(a).filter(e=>e instanceof HTMLElement),Is=[],hs=function(){},pf={add:a=>a()},gf=/\s+/g,Jo=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Un={left:0,top:0,width:0,height:0},mf=(a,e)=>{for(;++e<a.length&&a[e]===Un;);return a[e]||Un},ea=({element:a,html:e,ariaL:r,ariaH:t})=>{a.innerHTML=e,r?a.setAttribute("aria-label",r):a.removeAttribute("aria-label"),t?a.setAttribute("aria-hidden",t):a.removeAttribute("aria-hidden")},ta=(a,e)=>{if(e){let r=new Set(a.join("").match(e)||Is),t=a.length,i,n,s,o;if(r.size)for(;--t>-1;){n=a[t];for(s of r)if(s.startsWith(n)&&s.length>n.length){for(i=0,o=n;s.startsWith(o+=a[t+ ++i])&&o.length<s.length;);if(i&&o.length===s.length){a[t]=s,a.splice(t+1,i);break}}}}return a},ra=a=>window.getComputedStyle(a).display==="inline"&&(a.style.display="inline-block"),ni=(a,e,r)=>e.insertBefore(typeof a=="string"?document.createTextNode(a):a,r),Bs=(a,e,r)=>{let t=e[a+"sClass"]||"",{tag:i="div",aria:n="auto",propIndex:s=!1}=e,o=a==="line"?"block":"inline-block",l=t.indexOf("++")>-1,u=f=>{let h=document.createElement(i),d=r.length+1;return t&&(h.className=t+(l?" "+t+d:"")),s&&h.style.setProperty("--"+a,d+""),n!=="none"&&h.setAttribute("aria-hidden","true"),i!=="span"&&(h.style.position="relative",h.style.display=o),h.textContent=f,r.push(h),h};return l&&(t=t.replace("++","")),u.collection=r,u},yf=(a,e,r,t)=>{let i=Bs("line",r,t),n=window.getComputedStyle(a).textAlign||"left";return(s,o)=>{let l=i("");for(l.style.textAlign=n,a.insertBefore(l,e[s]);s<o;s++)l.appendChild(e[s]);l.normalize()}},kl=(a,e,r,t,i,n,s,o,l,u)=>{var f;let h=Array.from(a.childNodes),d=0,{wordDelimiter:c,reduceWhiteSpace:g=!0,prepareText:_}=e,m=a.getBoundingClientRect(),T=m,b=!g&&window.getComputedStyle(a).whiteSpace.substring(0,3)==="pre",P=0,v=r.collection,y,C,w,k,S,O,z,M,R,L,B,I,A,$,X,p,j,ie;for(typeof c=="object"?(w=c.delimiter||c,C=c.replaceWith||""):C=c===""?"":c||" ",y=C!==" ";d<h.length;d++)if(k=h[d],k.nodeType===3){for(X=k.textContent||"",g?X=X.replace(gf," "):b&&(X=X.replace(/\n/g,C+`
36
+ `)),_&&(X=_(X,a)),k.textContent=X,S=C||w?X.split(w||C):X.match(o)||Is,j=S[S.length-1],M=y?j.slice(-1)===" ":!j,j||S.pop(),T=m,z=y?S[0].charAt(0)===" ":!S[0],z&&ni(" ",a,k),S[0]||S.shift(),ta(S,l),n&&u||(k.textContent=""),R=1;R<=S.length;R++)if(p=S[R-1],!g&&b&&p.charAt(0)===`
37
+ `&&((f=k.previousSibling)==null||f.remove(),ni(document.createElement("br"),a,k),p=p.slice(1)),!g&&p==="")ni(C,a,k);else if(p===" ")a.insertBefore(document.createTextNode(" "),k);else{if(y&&p.charAt(0)===" "&&ni(" ",a,k),P&&R===1&&!z&&v.indexOf(P.parentNode)>-1?(O=v[v.length-1],O.appendChild(document.createTextNode(t?"":p))):(O=r(t?"":p),ni(O,a,k),P&&R===1&&!z&&O.insertBefore(P,O.firstChild)),t)for(B=Zo?ta([...Zo.segment(p)].map(Ee=>Ee.segment),l):p.match(o)||Is,ie=0;ie<B.length;ie++)O.appendChild(B[ie]===" "?document.createTextNode(" "):t(B[ie]));if(n&&u){if(X=k.textContent=X.substring(p.length+1,X.length),L=O.getBoundingClientRect(),L.top>T.top&&L.left<=T.left){for(I=a.cloneNode(),A=a.childNodes[0];A&&A!==O;)$=A,A=A.nextSibling,I.appendChild($);a.parentNode.insertBefore(I,a),i&&ra(I)}T=L}(R<S.length||M)&&ni(R>=S.length?" ":y&&p.slice(-1)===" "?" "+C:C,a,k)}a.removeChild(k),P=0}else k.nodeType===1&&(s&&s.indexOf(k)>-1?(v.indexOf(k.previousSibling)>-1&&v[v.length-1].appendChild(k),P=k):(kl(k,e,r,t,i,n,s,o,l,!0),P=0),i&&ra(k))};const Pl=class Ol{constructor(e,r){this.isSplit=!1,df(),this.elements=jo(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=r,this.elements.forEach(s=>{var o;r.overwrite!==!1&&((o=s[Qo])==null||o._data.orig.filter(({element:l})=>l===s).forEach(ea)),s[Qo]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let t=[],i,n=()=>{let s=t.length,o;for(;s--;){o=t[s];let l=o.element.offsetWidth;if(l!==o.width){o.width=l,this._split();return}}};this._data={orig:t,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(n,200)})},hs(this),this.split(r)}split(e){return(this._ctx||pf).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:r="chars,words,lines",aria:t="auto",deepSlice:i=!0,smartWrap:n,onSplit:s,autoSplit:o=!1,specialChars:l,mask:u}=this.vars,f=r.indexOf("lines")>-1,h=r.indexOf("chars")>-1,d=r.indexOf("words")>-1,c=h&&!d&&!f,g=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),_=g?new RegExp(g.source+"|"+Jo.source,"gu"):Jo,m=!!e.ignore&&jo(e.ignore),{orig:T,animTime:b,obs:P}=this._data,v;(h||d||f)&&(this.elements.forEach((y,C)=>{T[C]={element:y,html:y.innerHTML,ariaL:y.getAttribute("aria-label"),ariaH:y.getAttribute("aria-hidden")},t==="auto"?y.setAttribute("aria-label",(y.textContent||"").trim()):t==="hidden"&&y.setAttribute("aria-hidden","true");let w=[],k=[],S=[],O=h?Bs("char",e,w):null,z=Bs("word",e,k),M,R,L,B;if(kl(y,e,z,O,c,i&&(f||c),m,_,g,!1),f){let I=an(y.childNodes),A=yf(y,I,e,S),$,X=[],p=0,j=I.map(re=>re.nodeType===1?re.getBoundingClientRect():Un),ie=Un,Ee;for(M=0;M<I.length;M++)$=I[M],$.nodeType===1&&($.nodeName==="BR"?((!M||I[M-1].nodeName!=="BR")&&(X.push($),A(p,M+1)),p=M+1,ie=mf(j,M)):(Ee=j[M],M&&Ee.top>ie.top&&Ee.left<ie.left+ie.width-1&&(A(p,M),p=M),ie=Ee));p<M&&A(p,M),X.forEach(re=>{var be;return(be=re.parentNode)==null?void 0:be.removeChild(re)})}if(!d){for(M=0;M<k.length;M++)if(R=k[M],h||!R.nextSibling||R.nextSibling.nodeType!==3)if(n&&!f){for(L=document.createElement("span"),L.style.whiteSpace="nowrap";R.firstChild;)L.appendChild(R.firstChild);R.replaceWith(L)}else R.replaceWith(...R.childNodes);else B=R.nextSibling,B&&B.nodeType===3&&(B.textContent=(R.textContent||"")+(B.textContent||""),R.remove());k.length=0,y.normalize()}this.lines.push(...S),this.words.push(...k),this.chars.push(...w)}),u&&this[u]&&this.masks.push(...this[u].map(y=>{let C=y.cloneNode();return y.replaceWith(C),C.appendChild(y),y.className&&(C.className=y.className.trim()+"-mask"),C.style.overflow="clip",C}))),this.isSplit=!0,ii&&f&&(o?ii.addEventListener("loadingdone",this._split):ii.status==="loading"&&console.warn("SplitText called before fonts loaded")),(v=s&&s(this))&&v.totalTime&&(this._data.anim=b?v.totalTime(b):v),f&&o&&this.elements.forEach((y,C)=>{T[C].width=y.offsetWidth,P&&P.observe(y)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),ii?.removeEventListener("loadingdone",this._split)}revert(){var e,r;if(this.isSplit){let{orig:t,anim:i}=this._data;this.kill(),t.forEach(ea),this.chars.length=this.words.length=this.lines.length=t.length=this.masks.length=0,this.isSplit=!1,i&&(this._data.animTime=i.totalTime(),i.revert()),(r=(e=this.vars).onRevert)==null||r.call(e,this)}return this}static create(e,r){return new Ol(e,r)}static register(e){Ei=Ei||e||window.gsap,Ei&&(an=Ei.utils.toArray,hs=Ei.core.context||hs),!Ls&&window.innerWidth>0&&(ii=document.fonts,Ls=!0)}};Pl.version="3.14.2";let vf=Pl;export{vf as S,K as a,Hu as g};
@@ -0,0 +1 @@
1
+ var _=Object.defineProperty;var k=(t,i,e)=>i in t?_(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e;var s=(t,i,e)=>k(t,typeof i!="symbol"?i+"":i,e);var M="1.3.17";function W(t,i,e){return Math.max(t,Math.min(i,e))}function C(t,i,e){return(1-e)*t+e*i}function D(t,i,e,n){return C(t,i,1-Math.exp(-e*n))}function X(t,i){return(t%i+i)%i}var Y=class{constructor(){s(this,"isRunning",!1);s(this,"value",0);s(this,"from",0);s(this,"to",0);s(this,"currentTime",0);s(this,"lerp");s(this,"duration");s(this,"easing");s(this,"onUpdate")}advance(t){if(!this.isRunning)return;let i=!1;if(this.duration&&this.easing){this.currentTime+=t;const e=W(0,this.currentTime/this.duration,1);i=e>=1;const n=i?1:this.easing(e);this.value=this.from+(this.to-this.from)*n}else this.lerp?(this.value=D(this.value,this.to,this.lerp*60,t),Math.round(this.value)===this.to&&(this.value=this.to,i=!0)):(this.value=this.to,i=!0);i&&this.stop(),this.onUpdate?.(this.value,i)}stop(){this.isRunning=!1}fromTo(t,i,{lerp:e,duration:n,easing:o,onStart:h,onUpdate:r}){this.from=this.value=t,this.to=i,this.lerp=e,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,h?.(),this.onUpdate=r}};function A(t,i){let e;return function(...n){let o=this;clearTimeout(e),e=setTimeout(()=>{e=void 0,t.apply(o,n)},i)}}var P=class{constructor(t,i,{autoResize:e=!0,debounce:n=250}={}){s(this,"width",0);s(this,"height",0);s(this,"scrollHeight",0);s(this,"scrollWidth",0);s(this,"debouncedResize");s(this,"wrapperResizeObserver");s(this,"contentResizeObserver");s(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});s(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});s(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=t,this.content=i,e&&(this.debouncedResize=A(this.resize,n),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},H=class{constructor(){s(this,"events",{})}emit(t,...i){let e=this.events[t]||[];for(let n=0,o=e.length;n<o;n++)e[n]?.(...i)}on(t,i){return this.events[t]?.push(i)||(this.events[t]=[i]),()=>{this.events[t]=this.events[t]?.filter(e=>i!==e)}}off(t,i){this.events[t]=this.events[t]?.filter(e=>i!==e)}destroy(){this.events={}}},N=100/6,w={passive:!1},V=class{constructor(t,i={wheelMultiplier:1,touchMultiplier:1}){s(this,"touchStart",{x:0,y:0});s(this,"lastDelta",{x:0,y:0});s(this,"window",{width:0,height:0});s(this,"emitter",new H);s(this,"onTouchStart",t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})});s(this,"onTouchMove",t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t,n=-(i-this.touchStart.x)*this.options.touchMultiplier,o=-(e-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:n,y:o},this.emitter.emit("scroll",{deltaX:n,deltaY:o,event:t})});s(this,"onTouchEnd",t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})});s(this,"onWheel",t=>{let{deltaX:i,deltaY:e,deltaMode:n}=t;const o=n===1?N:n===2?this.window.width:1,h=n===1?N:n===2?this.window.height:1;i*=o,e*=h,i*=this.options.wheelMultiplier,e*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:i,deltaY:e,event:t})});s(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=t,this.options=i,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,w),this.element.addEventListener("touchstart",this.onTouchStart,w),this.element.addEventListener("touchmove",this.onTouchMove,w),this.element.addEventListener("touchend",this.onTouchEnd,w)}on(t,i){return this.emitter.on(t,i)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,w),this.element.removeEventListener("touchstart",this.onTouchStart,w),this.element.removeEventListener("touchmove",this.onTouchMove,w),this.element.removeEventListener("touchend",this.onTouchEnd,w)}},R=t=>Math.min(1,1.001-Math.pow(2,-10*t)),U=class{constructor({wrapper:t=window,content:i=document.documentElement,eventsTarget:e=t,smoothWheel:n=!0,syncTouch:o=!1,syncTouchLerp:h=.075,touchInertiaExponent:r=1.7,duration:a,easing:c,lerp:u=.1,infinite:f=!1,orientation:v="vertical",gestureOrientation:l=v==="horizontal"?"both":"vertical",touchMultiplier:p=1,wheelMultiplier:d=1,autoResize:S=!0,prevent:m,virtualScroll:y,overscroll:E=!0,autoRaf:T=!1,anchors:L=!1,autoToggle:g=!1,allowNestedScroll:b=!1,__experimental__naiveDimensions:z=!1,naiveDimensions:O=z,stopInertiaOnNavigate:x=!1}={}){s(this,"_isScrolling",!1);s(this,"_isStopped",!1);s(this,"_isLocked",!1);s(this,"_preventNextNativeScrollEvent",!1);s(this,"_resetVelocityTimeout",null);s(this,"_rafId",null);s(this,"isTouching");s(this,"time",0);s(this,"userData",{});s(this,"lastVelocity",0);s(this,"velocity",0);s(this,"direction",0);s(this,"options");s(this,"targetScroll");s(this,"animatedScroll");s(this,"animate",new Y);s(this,"emitter",new H);s(this,"dimensions");s(this,"virtualScroll");s(this,"onScrollEnd",t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()});s(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});s(this,"onTransitionEnd",t=>{t.propertyName.includes("overflow")&&this.checkOverflow()});s(this,"onClick",t=>{const e=t.composedPath().filter(n=>n instanceof HTMLAnchorElement&&n.getAttribute("href"));if(this.options.anchors){const n=e.find(o=>o.getAttribute("href")?.includes("#"));if(n){const o=n.getAttribute("href");if(o){const h=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,r=`#${o.split("#")[1]}`;this.scrollTo(r,h)}}}this.options.stopInertiaOnNavigate&&e.find(o=>o.host===window.location.host)&&this.reset()});s(this,"onPointerDown",t=>{t.button===1&&this.reset()});s(this,"onVirtualScroll",t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:i,deltaY:e,event:n}=t;if(this.emitter.emit("virtual-scroll",{deltaX:i,deltaY:e,event:n}),n.ctrlKey||n.lenisStopPropagation)return;const o=n.type.includes("touch"),h=n.type.includes("wheel");this.isTouching=n.type==="touchstart"||n.type==="touchmove";const r=i===0&&e===0;if(this.options.syncTouch&&o&&n.type==="touchstart"&&r&&!this.isStopped&&!this.isLocked){this.reset();return}const c=this.options.gestureOrientation==="vertical"&&e===0||this.options.gestureOrientation==="horizontal"&&i===0;if(r||c)return;let u=n.composedPath();u=u.slice(0,u.indexOf(this.rootElement));const f=this.options.prevent;if(u.find(m=>m instanceof HTMLElement&&(typeof f=="function"&&f?.(m)||m.hasAttribute?.("data-lenis-prevent")||o&&m.hasAttribute?.("data-lenis-prevent-touch")||h&&m.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(m,{deltaX:i,deltaY:e}))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&h)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let l=e;this.options.gestureOrientation==="both"?l=Math.abs(e)>Math.abs(i)?e:i:this.options.gestureOrientation==="horizontal"&&(l=i),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&e>0||this.animatedScroll===this.limit&&e<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();const p=o&&this.options.syncTouch,S=o&&n.type==="touchend";S&&(l=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+l,{programmatic:!1,...p?{lerp:S?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});s(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});s(this,"raf",t=>{const i=t-(this.time||t);this.time=t,this.animate.advance(i*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=M,(!t||t===document.documentElement)&&(t=window),typeof a=="number"&&typeof c!="function"?c=R:typeof c=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:t,content:i,eventsTarget:e,smoothWheel:n,syncTouch:o,syncTouchLerp:h,touchInertiaExponent:r,duration:a,easing:c,lerp:u,infinite:f,gestureOrientation:l,orientation:v,touchMultiplier:p,wheelMultiplier:d,autoResize:S,prevent:m,virtualScroll:y,overscroll:E,autoRaf:T,anchors:L,autoToggle:g,allowNestedScroll:b,naiveDimensions:O,stopInertiaOnNavigate:x},this.dimensions=new P(t,i,{autoResize:S}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new V(e,{touchMultiplier:p,wheelMultiplier:d}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0})),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,i){return this.emitter.on(t,i)}off(t,i){return this.emitter.off(t,i)}get overflow(){const t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(t,{offset:i=0,immediate:e=!1,lock:n=!1,programmatic:o=!0,lerp:h=o?this.options.lerp:void 0,duration:r=o?this.options.duration:void 0,easing:a=o?this.options.easing:void 0,onStart:c,onComplete:u,force:f=!1,userData:v}={}){if(!((this.isStopped||this.isLocked)&&!f)){if(typeof t=="string"&&["top","left","start","#"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let l;if(typeof t=="string"?(l=document.querySelector(t),l||(t==="#top"?t=0:console.warn("Lenis: Target not found",t))):t instanceof HTMLElement&&t?.nodeType&&(l=t),l){if(this.options.wrapper!==window){const d=this.rootElement.getBoundingClientRect();i-=this.isHorizontal?d.left:d.top}const p=l.getBoundingClientRect();t=(this.isHorizontal?p.left:p.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=i,t=Math.round(t),this.options.infinite){if(o){this.targetScroll=this.animatedScroll=this.scroll;const l=t-this.animatedScroll;l>this.limit/2?t=t-this.limit:l<-this.limit/2&&(t=t+this.limit)}}else t=W(0,t,this.limit);if(t===this.targetScroll){c?.(this),u?.(this);return}if(this.userData=v??{},e){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}o||(this.targetScroll=t),typeof r=="number"&&typeof a!="function"?a=R:typeof a=="function"&&typeof r!="number"&&(r=1),this.animate.fromTo(this.animatedScroll,t,{duration:r,easing:a,lerp:h,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",c?.(this)},onUpdate:(l,p)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=l-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=l,this.setScroll(this.scroll),o&&(this.targetScroll=l),p||this.emit(),p&&(this.reset(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(t,{deltaX:i,deltaY:e}){const n=Date.now(),o=t._lenis??(t._lenis={});let h,r,a,c,u,f,v,l;const p=this.options.gestureOrientation;if(n-(o.time??0)>2e3){o.time=Date.now();const g=window.getComputedStyle(t);o.computedStyle=g;const b=g.overflowX,z=g.overflowY;if(h=["auto","overlay","scroll"].includes(b),r=["auto","overlay","scroll"].includes(z),o.hasOverflowX=h,o.hasOverflowY=r,!h&&!r||p==="vertical"&&!r||p==="horizontal"&&!h)return!1;u=t.scrollWidth,f=t.scrollHeight,v=t.clientWidth,l=t.clientHeight,a=u>v,c=f>l,o.isScrollableX=a,o.isScrollableY=c,o.scrollWidth=u,o.scrollHeight=f,o.clientWidth=v,o.clientHeight=l}else a=o.isScrollableX,c=o.isScrollableY,h=o.hasOverflowX,r=o.hasOverflowY,u=o.scrollWidth,f=o.scrollHeight,v=o.clientWidth,l=o.clientHeight;if(!h&&!r||!a&&!c||p==="vertical"&&(!r||!c)||p==="horizontal"&&(!h||!a))return!1;let d;if(p==="horizontal")d="x";else if(p==="vertical")d="y";else{const g=i!==0,b=e!==0;g&&h&&a&&(d="x"),b&&r&&c&&(d="y")}if(!d)return!1;let S,m,y,E,T;if(d==="x")S=t.scrollLeft,m=u-v,y=i,E=h,T=a;else if(d==="y")S=t.scrollTop,m=f-l,y=e,E=r,T=c;else return!1;return(y>0?S<m:S>0)&&E&&T}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?X(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};export{U as L};
@@ -52,6 +52,35 @@ function sociallane_prepare_image_data( array $image_settings, array $options =
52
52
  return $image;
53
53
  }
54
54
 
55
+ /**
56
+ * Build safe target/rel HTML attributes from Elementor URL control data.
57
+ *
58
+ * Ensures rel is emitted once (e.g. rel="noopener noreferrer nofollow")
59
+ * when both external and nofollow are enabled.
60
+ *
61
+ * @param array $url_settings Elementor URL control: url, is_external, nofollow
62
+ * @return string HTML attributes string
63
+ */
64
+ function sociallane_build_link_attrs( array $url_settings ): string {
65
+ $url_settings = is_array( $url_settings ) ? $url_settings : [];
66
+ $attrs = [];
67
+ $rel_tokens = [];
68
+
69
+ if ( ! empty( $url_settings['is_external'] ) ) {
70
+ $attrs[] = 'target="_blank"';
71
+ $rel_tokens[] = 'noopener';
72
+ $rel_tokens[] = 'noreferrer';
73
+ }
74
+ if ( ! empty( $url_settings['nofollow'] ) ) {
75
+ $rel_tokens[] = 'nofollow';
76
+ }
77
+ if ( ! empty( $rel_tokens ) ) {
78
+ $attrs[] = 'rel="' . esc_attr( implode( ' ', array_values( array_unique( $rel_tokens ) ) ) ) . '"';
79
+ }
80
+
81
+ return implode( ' ', $attrs );
82
+ }
83
+
55
84
  /**
56
85
  * Prepare button data for the button element.
57
86
  *
@@ -78,29 +107,22 @@ function sociallane_prepare_button_data( string $text, array $url, array $option
78
107
  $variant = $options['variant'] ?? 'primary';
79
108
  $size = $options['size'] ?? 'md';
80
109
  $color = $options['color'] ?? 'default';
110
+ if ( function_exists( 'sociallane_normalize_button_color' ) ) {
111
+ $color = sociallane_normalize_button_color( (string) $color );
112
+ }
81
113
  $icon = $options['icon'] ?? [];
82
114
  $icon_position = $options['icon_position'] ?? 'right';
83
115
  $extra_class = $options['class'] ?? '';
84
116
 
85
117
  $href = esc_url( $url['url'] ?? '#' );
86
- $is_external = ! empty( $url['is_external'] );
87
- $nofollow = ! empty( $url['nofollow'] );
88
-
89
- $attrs = [];
90
- if ( $is_external ) {
91
- $attrs[] = 'target="_blank"';
92
- $attrs[] = 'rel="noopener noreferrer"';
93
- }
94
- if ( $nofollow ) {
95
- $attrs[] = 'rel="nofollow"';
96
- }
118
+ $attrs = sociallane_build_link_attrs( $url );
97
119
 
98
120
  $data = [
99
121
  'text' => esc_html( $text ),
100
122
  'url' => $href,
101
123
  'variant' => $variant,
102
124
  'size' => $size,
103
- 'attrs' => implode( ' ', $attrs ),
125
+ 'attrs' => $attrs,
104
126
  ];
105
127
 
106
128
  if ( $color !== 'default' ) {
@@ -269,19 +291,10 @@ function sociallane_stagger_attrs( array $anim ): string {
269
291
  function sociallane_prepare_link_attrs( array $url_settings ): array {
270
292
  $url_settings = is_array( $url_settings ) ? $url_settings : [];
271
293
  $href = esc_url( $url_settings['url'] ?? '#' );
272
- $attrs = [];
273
-
274
- if ( ! empty( $url_settings['is_external'] ) ) {
275
- $attrs[] = 'target="_blank"';
276
- $attrs[] = 'rel="noopener noreferrer"';
277
- }
278
- if ( ! empty( $url_settings['nofollow'] ) ) {
279
- $attrs[] = 'rel="nofollow"';
280
- }
281
294
 
282
295
  return [
283
296
  'url' => $href,
284
- 'attrs' => implode( ' ', $attrs ),
297
+ 'attrs' => sociallane_build_link_attrs( $url_settings ),
285
298
  ];
286
299
  }
287
300
 
@@ -8,7 +8,7 @@
8
8
  "./js": "./assets/dist/animations.js"
9
9
  },
10
10
  "scripts": {
11
- "dev": "vite build --watch",
11
+ "dev": "vite build --watch --mode development",
12
12
  "build": "vite build",
13
13
  "preview": "vite preview"
14
14
  },
@@ -55,6 +55,8 @@ function watchTailwindContent() {
55
55
 
56
56
  export default defineConfig(({ mode }) => {
57
57
  const isDev = mode === 'development';
58
+ const isProd = mode === 'production';
59
+ const isWatchMode = process.argv.includes('--watch');
58
60
 
59
61
  return {
60
62
  plugins: [tailwindcss(), watchTailwindContent()],
@@ -63,24 +65,42 @@ export default defineConfig(({ mode }) => {
63
65
  outDir: 'assets/dist',
64
66
  manifest: true,
65
67
  emptyOutDir: true,
66
- watch: {
67
- usePolling: true,
68
- interval: 300,
69
- },
68
+ watch: isWatchMode
69
+ ? {
70
+ usePolling: true,
71
+ interval: 300,
72
+ }
73
+ : null,
70
74
  rollupOptions: {
71
75
  input: {
72
76
  tailwind: resolve(__dirname, 'assets/css/tailwind.css'),
73
77
  animations: resolve(__dirname, 'assets/js/animations.js'),
74
78
  },
79
+ treeshake: 'recommended',
75
80
  output: {
81
+ manualChunks(id) {
82
+ const normalizedId = id.replace(/\\/g, '/');
83
+ if (!normalizedId.includes('/node_modules/')) {
84
+ return undefined;
85
+ }
86
+ if (normalizedId.includes('/node_modules/gsap/')) {
87
+ return 'vendor-gsap';
88
+ }
89
+ if (normalizedId.includes('/node_modules/lenis/')) {
90
+ return 'vendor-lenis';
91
+ }
92
+ return 'vendor';
93
+ },
76
94
  entryFileNames: '[name]-[hash].js',
77
95
  chunkFileNames: '[name]-[hash].js',
78
96
  assetFileNames: '[name]-[hash][extname]',
79
97
  },
80
98
  },
81
- minify: 'esbuild',
99
+ minify: isProd ? 'esbuild' : false,
100
+ cssMinify: isProd,
82
101
  cssCodeSplit: true,
83
102
  sourcemap: isDev,
103
+ reportCompressedSize: isProd,
84
104
  target: 'es2020',
85
105
  },
86
106
 
@@ -126,15 +126,15 @@ function prepare_bento_grid_view( array $settings, string $widget_id ): array {
126
126
 
127
127
  // Light/dark: section and cards
128
128
  $classes = [
129
- 'section' => 'bg-neutral-100 dark:bg-zinc-900',
130
- 'eyebrow' => 'text-zinc-900 dark:text-neutral-200',
131
- 'headline' => 'text-zinc-900 dark:text-neutral-200',
132
- 'card' => 'bg-white dark:bg-zinc-900 rounded-2xl border border-neutral-200 dark:border-neutral-700 dark:shadow-none',
133
- 'card_title' => 'text-zinc-900 dark:text-neutral-200 font-bold',
134
- 'card_desc' => 'text-zinc-900 dark:text-neutral-200',
135
- 'metric_val' => 'text-zinc-900 dark:text-neutral-200',
129
+ 'section' => 'bg-neutral-100 dark:bg-neutral-900',
130
+ 'eyebrow' => 'text-neutral-900 dark:text-neutral-200',
131
+ 'headline' => 'text-neutral-900 dark:text-neutral-200',
132
+ 'card' => 'bg-white dark:bg-neutral-900 rounded-2xl border border-neutral-200 dark:border-neutral-700 dark:shadow-none',
133
+ 'card_title' => 'text-neutral-900 dark:text-neutral-200 font-bold',
134
+ 'card_desc' => 'text-neutral-900 dark:text-neutral-200',
135
+ 'metric_val' => 'text-neutral-900 dark:text-neutral-200',
136
136
  'metric_change' => 'text-primary dark:text-neutral-200',
137
- 'code_bg' => 'bg-zinc-900 dark:bg-zinc-900 text-neutral-200',
137
+ 'code_bg' => 'bg-neutral-900 dark:bg-neutral-900 text-neutral-200',
138
138
  'badge' => 'bg-primary/20 dark:bg-primary-light/20 text-primary dark:text-primary-light text-xs font-medium px-2.5 py-1 rounded-full',
139
139
  ];
140
140
 
@@ -34,7 +34,7 @@ $tabs = $data['tabs'] ?? [];
34
34
  <div class="p-5 md:p-6 flex-1 flex flex-col">
35
35
  <?php if ( ( $data['project'] ?? '' ) !== '' ) : ?>
36
36
  <div class="flex items-center gap-2 mb-4">
37
- <span class="w-2 h-2 rounded-full bg-green-500 shrink-0" aria-hidden="true"></span>
37
+ <span class="w-2 h-2 rounded-full bg-neutral-500 shrink-0" aria-hidden="true"></span>
38
38
  <span class="<?php echo esc_attr( $cls['card_title'] ); ?> text-sm font-semibold"><?php echo $data['project']; ?></span>
39
39
  </div>
40
40
  <?php if ( ( $data['project_meta'] ?? '' ) !== '' ) : ?>