@zenpatient-org/healthspan-marketing-ui 0.1.23 → 0.1.25

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 (167) hide show
  1. package/dist/components/Accordion/Accordion.cjs.js +1 -0
  2. package/dist/components/Accordion/Accordion.d.ts +8 -0
  3. package/dist/components/Accordion/Accordion.es.js +27 -0
  4. package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
  5. package/dist/components/Accordion/accordion.module.css.es.js +7 -0
  6. package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
  7. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
  8. package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
  9. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
  10. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
  11. package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
  12. package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
  13. package/dist/components/Accordion/components/index.d.ts +1 -0
  14. package/dist/components/Accordion/index.d.ts +1 -0
  15. package/dist/components/Accordion/types.d.ts +6 -0
  16. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
  17. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
  18. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
  19. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
  20. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
  21. package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
  22. package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
  23. package/dist/components/Icon/constants.cjs.js +1 -1
  24. package/dist/components/Icon/constants.d.ts +3 -0
  25. package/dist/components/Icon/constants.es.js +4 -1
  26. package/dist/components/Icon/iconsMap.cjs.js +1 -1
  27. package/dist/components/Icon/iconsMap.es.js +104 -98
  28. package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
  29. package/dist/components/IconBracket/IconBracket.d.ts +3 -0
  30. package/dist/components/IconBracket/IconBracket.es.js +16 -0
  31. package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
  32. package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
  33. package/dist/components/IconBracket/index.d.ts +1 -0
  34. package/dist/components/IconBracket/types.d.ts +8 -0
  35. package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
  36. package/dist/components/PlayButton/PlayButton.d.ts +8 -0
  37. package/dist/components/PlayButton/PlayButton.es.js +9 -0
  38. package/dist/components/PlayButton/index.d.ts +1 -0
  39. package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
  40. package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
  41. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  42. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
  43. package/dist/components/ProgressButton/ProgressButton.es.js +17 -13
  44. package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
  45. package/dist/components/RatingStars/RatingStars.d.ts +6 -0
  46. package/dist/components/RatingStars/RatingStars.es.js +18 -0
  47. package/dist/components/RatingStars/index.d.ts +1 -0
  48. package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
  49. package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
  50. package/dist/healthspan-marketing-ui.css +1 -1
  51. package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
  52. package/dist/icons/action/bracket-left.svg.es.js +5 -0
  53. package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
  54. package/dist/icons/action/bracket-right.svg.es.js +5 -0
  55. package/dist/icons/action/play.svg.cjs.js +1 -0
  56. package/dist/icons/action/play.svg.es.js +5 -0
  57. package/dist/modules/Benefits/Benefits.cjs.js +1 -1
  58. package/dist/modules/Benefits/Benefits.es.js +8 -8
  59. package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -1
  60. package/dist/modules/Benefits/benefits.module.css.es.js +17 -15
  61. package/dist/modules/Callback/Callback.cjs.js +1 -1
  62. package/dist/modules/Callback/Callback.es.js +18 -18
  63. package/dist/modules/Callback/callback.module.css.cjs.js +1 -1
  64. package/dist/modules/Callback/callback.module.css.es.js +8 -6
  65. package/dist/modules/Compare/Compare.cjs.js +1 -0
  66. package/dist/modules/Compare/Compare.es.js +26 -0
  67. package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
  68. package/dist/modules/Compare/compare.module.css.es.js +15 -0
  69. package/dist/modules/Comparison/Comparison.cjs.js +1 -1
  70. package/dist/modules/Comparison/Comparison.es.js +18 -9
  71. package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -1
  72. package/dist/modules/Comparison/comparison.module.css.es.js +34 -32
  73. package/dist/modules/FAQ/FAQ.cjs.js +1 -0
  74. package/dist/modules/FAQ/FAQ.d.ts +3 -0
  75. package/dist/modules/FAQ/FAQ.es.js +17 -0
  76. package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
  77. package/dist/modules/FAQ/faq.module.css.es.js +19 -0
  78. package/dist/modules/FAQ/index.d.ts +1 -0
  79. package/dist/modules/FAQ/types.d.ts +10 -0
  80. package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -1
  81. package/dist/modules/FeaturedIn/FeaturedIn.es.js +7 -7
  82. package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -1
  83. package/dist/modules/FollowTheScience/FollowTheScience.es.js +45 -43
  84. package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -1
  85. package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +10 -8
  86. package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
  87. package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
  88. package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
  89. package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
  90. package/dist/modules/ImageWithText/imageWithText.module.css.es.js +23 -0
  91. package/dist/modules/ImageWithText/index.d.ts +1 -0
  92. package/dist/modules/ImageWithText/types.d.ts +9 -0
  93. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
  94. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
  95. package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
  96. package/dist/modules/LongevityPathways/index.d.ts +2 -0
  97. package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
  98. package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
  99. package/dist/modules/LongevityPathways/types.d.ts +9 -0
  100. package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -2
  101. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  102. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +4 -4
  103. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.cjs.js +1 -1
  104. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/productsDisplayTabs.module.css.es.js +5 -5
  105. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
  106. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
  107. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
  108. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
  109. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
  110. package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
  111. package/dist/modules/Studies/Studies.cjs.js +1 -1
  112. package/dist/modules/Studies/Studies.es.js +16 -16
  113. package/dist/modules/Studies/studies.module.css.cjs.js +1 -1
  114. package/dist/modules/Studies/studies.module.css.es.js +14 -12
  115. package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -1
  116. package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +9 -9
  117. package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
  118. package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
  119. package/dist/modules/Testimonial/Testimonial.es.js +88 -0
  120. package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
  121. package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
  122. package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
  123. package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
  124. package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
  125. package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
  126. package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
  127. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
  128. package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
  129. package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
  130. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
  131. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
  132. package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
  133. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
  134. package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
  135. package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
  136. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
  137. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
  138. package/dist/modules/Testimonial/index.d.ts +1 -0
  139. package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
  140. package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
  141. package/dist/modules/Testimonial/types.d.ts +26 -0
  142. package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
  143. package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
  144. package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
  145. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
  146. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
  147. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
  148. package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
  149. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
  150. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
  151. package/dist/modules/TrackProgress/index.d.ts +1 -0
  152. package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
  153. package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
  154. package/dist/modules/TrackProgress/types.d.ts +6 -0
  155. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  156. package/dist/modules/YourProtocol/YourProtocol.es.js +21 -21
  157. package/dist/modules/YourProtocol/yourProtocol.module.css.cjs.js +1 -1
  158. package/dist/modules/YourProtocol/yourProtocol.module.css.es.js +12 -10
  159. package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
  160. package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
  161. package/dist/node_modules/gsap/Flip.cjs.js +8 -0
  162. package/dist/node_modules/gsap/Flip.es.js +525 -0
  163. package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
  164. package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
  165. package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
  166. package/dist/pageComponents/Gradient/index.d.ts +1 -0
  167. package/package.json +65 -9
@@ -0,0 +1,525 @@
1
+ import { getGlobalMatrix as O, _setDoc as rt, Matrix2D as Ge, _getDocScrollLeft as qe, _getDocScrollTop as Ne, _getCTM as st } from "./utils/matrix.es.js";
2
+ /*!
3
+ * Flip 3.13.0
4
+ * https://gsap.com
5
+ *
6
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
7
+ * Subject to the terms at https://gsap.com/standard-license
8
+ * @author: Jack Doyle, jack@greensock.com
9
+ */
10
+ var at = 1, ie, A, b, ne, J, q, Ie, Se = function(e, i) {
11
+ return e.actions.forEach(function(t) {
12
+ return t.vars[i] && t.vars[i](t);
13
+ });
14
+ }, Pe = {}, ze = 180 / Math.PI, ot = Math.PI / 180, ue = {}, Re = {}, ce = {}, Be = function(e) {
15
+ return typeof e == "string" ? e.split(" ").join("").split(",") : e;
16
+ }, lt = Be("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"), fe = Be("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"), re = function(e) {
17
+ return ie(e)[0] || console.warn("Element not found:", e);
18
+ }, Q = function(e) {
19
+ return Math.round(e * 1e4) / 1e4 || 0;
20
+ }, be = function(e, i, t) {
21
+ return e.forEach(function(r) {
22
+ return r.classList[t](i);
23
+ });
24
+ }, Ye = {
25
+ zIndex: 1,
26
+ kill: 1,
27
+ simple: 1,
28
+ spin: 1,
29
+ clearProps: 1,
30
+ targets: 1,
31
+ toggleClass: 1,
32
+ onComplete: 1,
33
+ onUpdate: 1,
34
+ onInterrupt: 1,
35
+ onStart: 1,
36
+ delay: 1,
37
+ repeat: 1,
38
+ repeatDelay: 1,
39
+ yoyo: 1,
40
+ scale: 1,
41
+ fade: 1,
42
+ absolute: 1,
43
+ props: 1,
44
+ onEnter: 1,
45
+ onLeave: 1,
46
+ custom: 1,
47
+ paused: 1,
48
+ nested: 1,
49
+ prune: 1,
50
+ absoluteOnLeave: 1
51
+ }, Je = {
52
+ zIndex: 1,
53
+ simple: 1,
54
+ clearProps: 1,
55
+ scale: 1,
56
+ absolute: 1,
57
+ fitChild: 1,
58
+ getVars: 1,
59
+ props: 1
60
+ }, Ue = function(e) {
61
+ return e.replace(/([A-Z])/g, "-$1").toLowerCase();
62
+ }, ee = function(e, i) {
63
+ var t = {}, r;
64
+ for (r in e)
65
+ i[r] || (t[r] = e[r]);
66
+ return t;
67
+ }, Ce = {}, Ze = function(e) {
68
+ var i = Ce[e] = Be(e);
69
+ return ce[e] = i.concat(fe), i;
70
+ }, ut = function(e) {
71
+ var i = e._gsap || A.core.getCache(e);
72
+ return i.gmCache === A.ticker.frame ? i.gMatrix : (i.gmCache = A.ticker.frame, i.gMatrix = O(e, !0, !1, !0));
73
+ }, ht = function o(e, i, t) {
74
+ t === void 0 && (t = 0);
75
+ for (var r = e.parentNode, n = 1e3 * Math.pow(10, t) * (i ? -1 : 1), s = i ? -n * 900 : 0; e; )
76
+ s += n, e = e.previousSibling;
77
+ return r ? s + o(r, i, t + 1) : s;
78
+ }, he = function(e, i, t) {
79
+ return e.forEach(function(r) {
80
+ return r.d = ht(t ? r.element : r.t, i);
81
+ }), e.sort(function(r, n) {
82
+ return r.d - n.d;
83
+ }), e;
84
+ }, se = function(e, i) {
85
+ for (var t = e.element.style, r = e.css = e.css || [], n = i.length, s, l; n--; )
86
+ s = i[n], l = t[s] || t.getPropertyValue(s), r.push(l ? s : Re[s] || (Re[s] = Ue(s)), l);
87
+ return t;
88
+ }, pe = function(e) {
89
+ var i = e.css, t = e.element.style, r = 0;
90
+ for (e.cache.uncache = 1; r < i.length; r += 2)
91
+ i[r + 1] ? t[i[r]] = i[r + 1] : t.removeProperty(i[r]);
92
+ !i[i.indexOf("transform") + 1] && t.translate && (t.removeProperty("translate"), t.removeProperty("scale"), t.removeProperty("rotate"));
93
+ }, Oe = function(e, i) {
94
+ e.forEach(function(t) {
95
+ return t.a.cache.uncache = 1;
96
+ }), i || e.finalStates.forEach(pe);
97
+ }, xe = "paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","), Le = function(e, i, t) {
98
+ var r = e.element, n = e.width, s = e.height, l = e.uncache, u = e.getProp, a = r.style, c = 4, h, x, w;
99
+ if (typeof i != "object" && (i = e), b && t !== 1)
100
+ return b._abs.push({
101
+ t: r,
102
+ b: e,
103
+ a: e,
104
+ sd: 0
105
+ }), b._final.push(function() {
106
+ return (e.cache.uncache = 1) && pe(e);
107
+ }), r;
108
+ for (x = u("display") === "none", (!e.isVisible || x) && (x && (se(e, ["display"]).display = i.display), e.matrix = i.matrix, e.width = n = e.width || i.width, e.height = s = e.height || i.height), se(e, xe), w = window.getComputedStyle(r); c--; )
109
+ a[xe[c]] = w[xe[c]];
110
+ if (a.gridArea = "1 / 1 / 1 / 1", a.transition = "none", a.position = "absolute", a.width = n + "px", a.height = s + "px", a.top || (a.top = "0px"), a.left || (a.left = "0px"), l)
111
+ h = new Z(r);
112
+ else if (h = ee(e, ue), h.position = "absolute", e.simple) {
113
+ var _ = r.getBoundingClientRect();
114
+ h.matrix = new Ge(1, 0, 0, 1, _.left + qe(), _.top + Ne());
115
+ } else
116
+ h.matrix = O(r, !1, !1, !0);
117
+ return h = te(h, e, !0), e.x = q(h.x, 0.01), e.y = q(h.y, 0.01), r;
118
+ }, He = function(e, i) {
119
+ return i !== !0 && (i = ie(i), e = e.filter(function(t) {
120
+ if (i.indexOf((t.sd < 0 ? t.b : t.a).element) !== -1)
121
+ return !0;
122
+ t.t._gsap.renderTransform(1), t.b.isVisible && (t.t.style.width = t.b.width + "px", t.t.style.height = t.b.height + "px");
123
+ })), e;
124
+ }, $e = function(e) {
125
+ return he(e, !0).forEach(function(i) {
126
+ return (i.a.isVisible || i.b.isVisible) && Le(i.sd < 0 ? i.b : i.a, i.b, 1);
127
+ });
128
+ }, pt = function(e, i) {
129
+ return i && e.idLookup[Ve(i).id] || e.elementStates[0];
130
+ }, Ve = function(e, i, t, r) {
131
+ return e instanceof Z ? e : e instanceof S ? pt(e, r) : new Z(typeof e == "string" ? re(e) || console.warn(e + " not found") : e, i, t);
132
+ }, ct = function(e, i) {
133
+ for (var t = A.getProperty(e.element, null, "native"), r = e.props = {}, n = i.length; n--; )
134
+ r[i[n]] = (t(i[n]) + "").trim();
135
+ return r.zIndex && (r.zIndex = parseFloat(r.zIndex) || 0), e;
136
+ }, Ke = function(e, i) {
137
+ var t = e.style || e, r;
138
+ for (r in i)
139
+ t[r] = i[r];
140
+ }, ft = function(e) {
141
+ var i = e.getAttribute("data-flip-id");
142
+ return i || e.setAttribute("data-flip-id", i = "auto-" + at++), i;
143
+ }, Qe = function(e) {
144
+ return e.map(function(i) {
145
+ return i.element;
146
+ });
147
+ }, We = function(e, i, t) {
148
+ return e && i.length && t.add(e(Qe(i), t, new S(i, 0, !0)), 0);
149
+ }, te = function(e, i, t, r, n, s) {
150
+ var l = e.element, u = e.cache, a = e.parent, c = e.x, h = e.y, x = i.width, w = i.height, _ = i.scaleX, v = i.scaleY, g = i.rotation, y = i.bounds, M = s && Ie && Ie(l, "transform,width,height"), f = e, B = i.matrix, I = B.e, L = B.f, z = e.bounds.width !== y.width || e.bounds.height !== y.height || e.scaleX !== _ || e.scaleY !== v || e.rotation !== g, R = !z && e.simple && i.simple && !n, C, m, k, H, X, D, d;
151
+ return R || !a ? (_ = v = 1, g = C = 0) : (X = ut(a), D = X.clone().multiply(i.ctm ? i.matrix.clone().multiply(i.ctm) : i.matrix), g = Q(Math.atan2(D.b, D.a) * ze), C = Q(Math.atan2(D.c, D.d) * ze + g) % 360, _ = Math.sqrt(Math.pow(D.a, 2) + Math.pow(D.b, 2)), v = Math.sqrt(Math.pow(D.c, 2) + Math.pow(D.d, 2)) * Math.cos(C * ot), n && (n = ie(n)[0], H = A.getProperty(n), d = n.getBBox && typeof n.getBBox == "function" && n.getBBox(), f = {
152
+ scaleX: H("scaleX"),
153
+ scaleY: H("scaleY"),
154
+ width: d ? d.width : Math.ceil(parseFloat(H("width", "px"))),
155
+ height: d ? d.height : parseFloat(H("height", "px"))
156
+ }), u.rotation = g + "deg", u.skewX = C + "deg"), t ? (_ *= x === f.width || !f.width ? 1 : x / f.width, v *= w === f.height || !f.height ? 1 : w / f.height, u.scaleX = _, u.scaleY = v) : (x = q(x * _ / f.scaleX, 0), w = q(w * v / f.scaleY, 0), l.style.width = x + "px", l.style.height = w + "px"), r && Ke(l, i.props), R || !a ? (c += I - e.matrix.e, h += L - e.matrix.f) : z || a !== i.parent ? (u.renderTransform(1, u), D = O(n || l, !1, !1, !0), m = X.apply({
157
+ x: D.e,
158
+ y: D.f
159
+ }), k = X.apply({
160
+ x: I,
161
+ y: L
162
+ }), c += k.x - m.x, h += k.y - m.y) : (X.e = X.f = 0, k = X.apply({
163
+ x: I - e.matrix.e,
164
+ y: L - e.matrix.f
165
+ }), c += k.x, h += k.y), c = q(c, 0.02), h = q(h, 0.02), s && !(s instanceof Z) ? M && M.revert() : (u.x = c + "px", u.y = h + "px", u.renderTransform(1, u)), s && (s.x = c, s.y = h, s.rotation = g, s.skewX = C, t ? (s.scaleX = _, s.scaleY = v) : (s.width = x, s.height = w)), s || u;
166
+ }, we = function(e, i) {
167
+ return e instanceof S ? e : new S(e, i);
168
+ }, et = function(e, i, t) {
169
+ var r = e.idLookup[t], n = e.alt[t];
170
+ return n.isVisible && (!(i.getElementState(n.element) || n).isVisible || !r.isVisible) ? n : r;
171
+ }, ve = [], ke = "width,height,overflowX,overflowY".split(","), oe, je = function(e) {
172
+ if (e !== oe) {
173
+ var i = J.style, t = J.clientWidth === window.outerWidth, r = J.clientHeight === window.outerHeight, n = 4;
174
+ if (e && (t || r)) {
175
+ for (; n--; )
176
+ ve[n] = i[ke[n]];
177
+ t && (i.width = J.clientWidth + "px", i.overflowY = "hidden"), r && (i.height = J.clientHeight + "px", i.overflowX = "hidden"), oe = e;
178
+ } else if (oe) {
179
+ for (; n--; )
180
+ ve[n] ? i[ke[n]] = ve[n] : i.removeProperty(Ue(ke[n]));
181
+ oe = e;
182
+ }
183
+ }
184
+ }, Ee = function(e, i, t, r) {
185
+ e instanceof S && i instanceof S || console.warn("Not a valid state object."), t = t || {};
186
+ var n = t, s = n.clearProps, l = n.onEnter, u = n.onLeave, a = n.absolute, c = n.absoluteOnLeave, h = n.custom, x = n.delay, w = n.paused, _ = n.repeat, v = n.repeatDelay, g = n.yoyo, y = n.toggleClass, M = n.nested, f = n.zIndex, B = n.scale, I = n.fade, L = n.stagger, z = n.spin, R = n.prune, C = ("props" in t ? t : e).props, m = ee(t, Ye), k = A.timeline({
187
+ delay: x,
188
+ paused: w,
189
+ repeat: _,
190
+ repeatDelay: v,
191
+ yoyo: g,
192
+ data: "isFlip"
193
+ }), H = m, X = [], D = [], d = [], ae = [], tt = z === !0 ? 1 : z || 0, it = typeof z == "function" ? z : function() {
194
+ return tt;
195
+ }, de = e.interrupted || i.interrupted, Ae = k[r !== 1 ? "to" : "from"], $, F, Te, N, V, E, K, Y, me, W, j, ge, P, T;
196
+ for (F in i.idLookup)
197
+ j = i.alt[F] ? et(i, e, F) : i.idLookup[F], V = j.element, W = e.idLookup[F], e.alt[F] && V === W.element && (e.alt[F].isVisible || !j.isVisible) && (W = e.alt[F]), W ? (E = {
198
+ t: V,
199
+ b: W,
200
+ a: j,
201
+ sd: W.element === V ? 0 : j.isVisible ? 1 : -1
202
+ }, d.push(E), E.sd && (E.sd < 0 && (E.b = j, E.a = W), de && se(E.b, C ? ce[C] : fe), I && d.push(E.swap = {
203
+ t: W.element,
204
+ b: E.b,
205
+ a: E.a,
206
+ sd: -E.sd,
207
+ swap: E
208
+ })), V._flip = W.element._flip = b ? b.timeline : k) : j.isVisible && (d.push({
209
+ t: V,
210
+ b: ee(j, {
211
+ isVisible: 1
212
+ }),
213
+ a: j,
214
+ sd: 0,
215
+ entering: 1
216
+ }), V._flip = b ? b.timeline : k);
217
+ if (C && (Ce[C] || Ze(C)).forEach(function(G) {
218
+ return m[G] = function(U) {
219
+ return d[U].a.props[G];
220
+ };
221
+ }), d.finalStates = me = [], ge = function() {
222
+ for (he(d), je(!0), N = 0; N < d.length; N++)
223
+ E = d[N], P = E.a, T = E.b, R && !P.isDifferent(T) && !E.entering ? d.splice(N--, 1) : (V = E.t, M && !(E.sd < 0) && N && (P.matrix = O(V, !1, !1, !0)), T.isVisible && P.isVisible ? (E.sd < 0 ? (K = new Z(V, C, e.simple), te(K, P, B, 0, 0, K), K.matrix = O(V, !1, !1, !0), K.css = E.b.css, E.a = P = K, I && (V.style.opacity = de ? T.opacity : P.opacity), L && ae.push(V)) : E.sd > 0 && I && (V.style.opacity = de ? P.opacity - T.opacity : "0"), te(P, T, B, C)) : T.isVisible !== P.isVisible && (T.isVisible ? P.isVisible || (T.css = P.css, D.push(T), d.splice(N--, 1), a && M && te(P, T, B, C)) : (P.isVisible && X.push(P), d.splice(N--, 1))), B || (V.style.maxWidth = Math.max(P.width, T.width) + "px", V.style.maxHeight = Math.max(P.height, T.height) + "px", V.style.minWidth = Math.min(P.width, T.width) + "px", V.style.minHeight = Math.min(P.height, T.height) + "px"), M && y && V.classList.add(y)), me.push(P);
224
+ var U;
225
+ if (y && (U = me.map(function(p) {
226
+ return p.element;
227
+ }), M && U.forEach(function(p) {
228
+ return p.classList.remove(y);
229
+ })), je(!1), B ? (m.scaleX = function(p) {
230
+ return d[p].a.scaleX;
231
+ }, m.scaleY = function(p) {
232
+ return d[p].a.scaleY;
233
+ }) : (m.width = function(p) {
234
+ return d[p].a.width + "px";
235
+ }, m.height = function(p) {
236
+ return d[p].a.height + "px";
237
+ }, m.autoRound = t.autoRound || !1), m.x = function(p) {
238
+ return d[p].a.x + "px";
239
+ }, m.y = function(p) {
240
+ return d[p].a.y + "px";
241
+ }, m.rotation = function(p) {
242
+ return d[p].a.rotation + (z ? it(p, Y[p], Y) * 360 : 0);
243
+ }, m.skewX = function(p) {
244
+ return d[p].a.skewX;
245
+ }, Y = d.map(function(p) {
246
+ return p.t;
247
+ }), (f || f === 0) && (m.modifiers = {
248
+ zIndex: function() {
249
+ return f;
250
+ }
251
+ }, m.zIndex = f, m.immediateRender = t.immediateRender !== !1), I && (m.opacity = function(p) {
252
+ return d[p].sd < 0 ? 0 : d[p].sd > 0 ? d[p].a.opacity : "+=0";
253
+ }), ae.length) {
254
+ L = A.utils.distribute(L);
255
+ var nt = Y.slice(ae.length);
256
+ m.stagger = function(p, Xe) {
257
+ return L(~ae.indexOf(Xe) ? Y.indexOf(d[p].swap.t) : p, Xe, nt);
258
+ };
259
+ }
260
+ if (lt.forEach(function(p) {
261
+ return t[p] && k.eventCallback(p, t[p], t[p + "Params"]);
262
+ }), h && Y.length) {
263
+ H = ee(m, Ye), "scale" in h && (h.scaleX = h.scaleY = h.scale, delete h.scale);
264
+ for (F in h)
265
+ $ = ee(h[F], Je), $[F] = m[F], !("duration" in $) && "duration" in m && ($.duration = m.duration), $.stagger = m.stagger, Ae.call(k, Y, $, 0), delete H[F];
266
+ }
267
+ (Y.length || D.length || X.length) && (y && k.add(function() {
268
+ return be(U, y, k._zTime < 0 ? "remove" : "add");
269
+ }, 0) && !w && be(U, y, "add"), Y.length && Ae.call(k, Y, H, 0)), We(l, X, k), We(u, D, k);
270
+ var _e = b && b.timeline;
271
+ _e && (_e.add(k, 0), b._final.push(function() {
272
+ return Oe(d, !s);
273
+ })), Te = k.duration(), k.call(function() {
274
+ var p = k.time() >= Te;
275
+ p && !_e && Oe(d, !s), y && be(U, y, p ? "remove" : "add");
276
+ });
277
+ }, c && (a = d.filter(function(G) {
278
+ return !G.sd && !G.a.isVisible && G.b.isVisible;
279
+ }).map(function(G) {
280
+ return G.a.element;
281
+ })), b) {
282
+ var Fe;
283
+ a && (Fe = b._abs).push.apply(Fe, He(d, a)), b._run.push(ge);
284
+ } else
285
+ a && $e(He(d, a)), ge();
286
+ var ye = b ? b.timeline : k;
287
+ return ye.revert = function() {
288
+ return Me(ye, 1, 1);
289
+ }, ye;
290
+ }, dt = function o(e) {
291
+ e.vars.onInterrupt && e.vars.onInterrupt.apply(e, e.vars.onInterruptParams || []), e.getChildren(!0, !1, !0).forEach(o);
292
+ }, Me = function(e, i, t) {
293
+ if (e && e.progress() < 1 && (!e.paused() || t))
294
+ return i && (dt(e), i < 2 && e.progress(1), e.kill()), !0;
295
+ }, le = function(e) {
296
+ for (var i = e.idLookup = {}, t = e.alt = {}, r = e.elementStates, n = r.length, s; n--; )
297
+ s = r[n], i[s.id] ? t[s.id] = s : i[s.id] = s;
298
+ }, S = /* @__PURE__ */ function() {
299
+ function o(i, t, r) {
300
+ if (this.props = t && t.props, this.simple = !!(t && t.simple), r)
301
+ this.targets = Qe(i), this.elementStates = i, le(this);
302
+ else {
303
+ this.targets = ie(i);
304
+ var n = t && (t.kill === !1 || t.batch && !t.kill);
305
+ b && !n && b._kill.push(this), this.update(n || !!b);
306
+ }
307
+ }
308
+ var e = o.prototype;
309
+ return e.update = function(t) {
310
+ var r = this;
311
+ return this.elementStates = this.targets.map(function(n) {
312
+ return new Z(n, r.props, r.simple);
313
+ }), le(this), this.interrupt(t), this.recordInlineStyles(), this;
314
+ }, e.clear = function() {
315
+ return this.targets.length = this.elementStates.length = 0, le(this), this;
316
+ }, e.fit = function(t, r, n) {
317
+ for (var s = he(this.elementStates.slice(0), !1, !0), l = (t || this).idLookup, u = 0, a, c; u < s.length; u++)
318
+ a = s[u], n && (a.matrix = O(a.element, !1, !1, !0)), c = l[a.id], c && te(a, c, r, !0, 0, a), a.matrix = O(a.element, !1, !1, !0);
319
+ return this;
320
+ }, e.getProperty = function(t, r) {
321
+ var n = this.getElementState(t) || ue;
322
+ return (r in n ? n : n.props || ue)[r];
323
+ }, e.add = function(t) {
324
+ for (var r = t.targets.length, n = this.idLookup, s = this.alt, l, u, a; r--; )
325
+ u = t.elementStates[r], a = n[u.id], a && (u.element === a.element || s[u.id] && s[u.id].element === u.element) ? (l = this.elementStates.indexOf(u.element === a.element ? a : s[u.id]), this.targets.splice(l, 1, t.targets[r]), this.elementStates.splice(l, 1, u)) : (this.targets.push(t.targets[r]), this.elementStates.push(u));
326
+ return t.interrupted && (this.interrupted = !0), t.simple || (this.simple = !1), le(this), this;
327
+ }, e.compare = function(t) {
328
+ var r = t.idLookup, n = this.idLookup, s = [], l = [], u = [], a = [], c = [], h = t.alt, x = this.alt, w = function(R, C, m) {
329
+ return (R.isVisible !== C.isVisible ? R.isVisible ? u : a : R.isVisible ? l : s).push(m) && c.push(m);
330
+ }, _ = function(R, C, m) {
331
+ return c.indexOf(m) < 0 && w(R, C, m);
332
+ }, v, g, y, M, f, B, I, L;
333
+ for (y in r)
334
+ f = h[y], B = x[y], v = f ? et(t, this, y) : r[y], M = v.element, g = n[y], B ? (L = g.isVisible || !B.isVisible && M === g.element ? g : B, I = f && !v.isVisible && !f.isVisible && L.element === f.element ? f : v, I.isVisible && L.isVisible && I.element !== L.element ? ((I.isDifferent(L) ? l : s).push(I.element, L.element), c.push(I.element, L.element)) : w(I, L, I.element), f && I.element === f.element && (f = r[y]), _(I.element !== g.element && f ? f : I, g, g.element), _(f && f.element === B.element ? f : I, B, B.element), f && _(f, B.element === f.element ? B : g, f.element)) : (g ? g.isDifferent(v) ? w(v, g, M) : s.push(M) : u.push(M), f && _(f, g, f.element));
335
+ for (y in n)
336
+ r[y] || (a.push(n[y].element), x[y] && a.push(x[y].element));
337
+ return {
338
+ changed: l,
339
+ unchanged: s,
340
+ enter: u,
341
+ leave: a
342
+ };
343
+ }, e.recordInlineStyles = function() {
344
+ for (var t = ce[this.props] || fe, r = this.elementStates.length; r--; )
345
+ se(this.elementStates[r], t);
346
+ }, e.interrupt = function(t) {
347
+ var r = this, n = [];
348
+ this.targets.forEach(function(s) {
349
+ var l = s._flip, u = Me(l, t ? 0 : 1);
350
+ t && u && n.indexOf(l) < 0 && l.add(function() {
351
+ return r.updateVisibility();
352
+ }), u && n.push(l);
353
+ }), !t && n.length && this.updateVisibility(), this.interrupted || (this.interrupted = !!n.length);
354
+ }, e.updateVisibility = function() {
355
+ this.elementStates.forEach(function(t) {
356
+ var r = t.element.getBoundingClientRect();
357
+ t.isVisible = !!(r.width || r.height || r.top || r.left), t.uncache = 1;
358
+ });
359
+ }, e.getElementState = function(t) {
360
+ return this.elementStates[this.targets.indexOf(re(t))];
361
+ }, e.makeAbsolute = function() {
362
+ return he(this.elementStates.slice(0), !0, !0).map(Le);
363
+ }, o;
364
+ }(), Z = /* @__PURE__ */ function() {
365
+ function o(i, t, r) {
366
+ this.element = i, this.update(t, r);
367
+ }
368
+ var e = o.prototype;
369
+ return e.isDifferent = function(t) {
370
+ var r = this.bounds, n = t.bounds;
371
+ return r.top !== n.top || r.left !== n.left || r.width !== n.width || r.height !== n.height || !this.matrix.equals(t.matrix) || this.opacity !== t.opacity || this.props && t.props && JSON.stringify(this.props) !== JSON.stringify(t.props);
372
+ }, e.update = function(t, r) {
373
+ var n = this, s = n.element, l = A.getProperty(s), u = A.core.getCache(s), a = s.getBoundingClientRect(), c = s.getBBox && typeof s.getBBox == "function" && s.nodeName.toLowerCase() !== "svg" && s.getBBox(), h = r ? new Ge(1, 0, 0, 1, a.left + qe(), a.top + Ne()) : O(s, !1, !1, !0);
374
+ u.uncache = 1, n.getProp = l, n.element = s, n.id = ft(s), n.matrix = h, n.cache = u, n.bounds = a, n.isVisible = !!(a.width || a.height || a.left || a.top), n.display = l("display"), n.position = l("position"), n.parent = s.parentNode, n.x = l("x"), n.y = l("y"), n.scaleX = u.scaleX, n.scaleY = u.scaleY, n.rotation = l("rotation"), n.skewX = l("skewX"), n.opacity = l("opacity"), n.width = c ? c.width : q(l("width", "px"), 0.04), n.height = c ? c.height : q(l("height", "px"), 0.04), t && ct(n, Ce[t] || Ze(t)), n.ctm = s.getCTM && s.nodeName.toLowerCase() === "svg" && st(s).inverse(), n.simple = r || Q(h.a) === 1 && !Q(h.b) && !Q(h.c) && Q(h.d) === 1, n.uncache = 0;
375
+ }, o;
376
+ }(), mt = /* @__PURE__ */ function() {
377
+ function o(i, t) {
378
+ this.vars = i, this.batch = t, this.states = [], this.timeline = t.timeline;
379
+ }
380
+ var e = o.prototype;
381
+ return e.getStateById = function(t) {
382
+ for (var r = this.states.length; r--; )
383
+ if (this.states[r].idLookup[t])
384
+ return this.states[r];
385
+ }, e.kill = function() {
386
+ this.batch.remove(this);
387
+ }, o;
388
+ }(), gt = /* @__PURE__ */ function() {
389
+ function o(i) {
390
+ this.id = i, this.actions = [], this._kill = [], this._final = [], this._abs = [], this._run = [], this.data = {}, this.state = new S(), this.timeline = A.timeline();
391
+ }
392
+ var e = o.prototype;
393
+ return e.add = function(t) {
394
+ var r = this.actions.filter(function(n) {
395
+ return n.vars === t;
396
+ });
397
+ return r.length ? r[0] : (r = new mt(typeof t == "function" ? {
398
+ animate: t
399
+ } : t, this), this.actions.push(r), r);
400
+ }, e.remove = function(t) {
401
+ var r = this.actions.indexOf(t);
402
+ return r >= 0 && this.actions.splice(r, 1), this;
403
+ }, e.getState = function(t) {
404
+ var r = this, n = b, s = ne;
405
+ return b = this, this.state.clear(), this._kill.length = 0, this.actions.forEach(function(l) {
406
+ l.vars.getState && (l.states.length = 0, ne = l, l.state = l.vars.getState(l)), t && l.states.forEach(function(u) {
407
+ return r.state.add(u);
408
+ });
409
+ }), ne = s, b = n, this.killConflicts(), this;
410
+ }, e.animate = function() {
411
+ var t = this, r = b, n = this.timeline, s = this.actions.length, l, u;
412
+ for (b = this, n.clear(), this._abs.length = this._final.length = this._run.length = 0, this.actions.forEach(function(a) {
413
+ a.vars.animate && a.vars.animate(a);
414
+ var c = a.vars.onEnter, h = a.vars.onLeave, x = a.targets, w, _;
415
+ x && x.length && (c || h) && (w = new S(), a.states.forEach(function(v) {
416
+ return w.add(v);
417
+ }), _ = w.compare(De.getState(x)), _.enter.length && c && c(_.enter), _.leave.length && h && h(_.leave));
418
+ }), $e(this._abs), this._run.forEach(function(a) {
419
+ return a();
420
+ }), u = n.duration(), l = this._final.slice(0), n.add(function() {
421
+ u <= n.time() && (l.forEach(function(a) {
422
+ return a();
423
+ }), Se(t, "onComplete"));
424
+ }), b = r; s--; )
425
+ this.actions[s].vars.once && this.actions[s].kill();
426
+ return Se(this, "onStart"), n.restart(), this;
427
+ }, e.loadState = function(t) {
428
+ t || (t = function() {
429
+ return 0;
430
+ });
431
+ var r = [];
432
+ return this.actions.forEach(function(n) {
433
+ if (n.vars.loadState) {
434
+ var s, l = function u(a) {
435
+ a && (n.targets = a), s = r.indexOf(u), ~s && (r.splice(s, 1), r.length || t());
436
+ };
437
+ r.push(l), n.vars.loadState(l);
438
+ }
439
+ }), r.length || t(), this;
440
+ }, e.setState = function() {
441
+ return this.actions.forEach(function(t) {
442
+ return t.targets = t.vars.setState && t.vars.setState(t);
443
+ }), this;
444
+ }, e.killConflicts = function(t) {
445
+ return this.state.interrupt(t), this._kill.forEach(function(r) {
446
+ return r.interrupt(t);
447
+ }), this;
448
+ }, e.run = function(t, r) {
449
+ var n = this;
450
+ return this !== b && (t || this.getState(r), this.loadState(function() {
451
+ n._killed || (n.setState(), n.animate());
452
+ })), this;
453
+ }, e.clear = function(t) {
454
+ this.state.clear(), t || (this.actions.length = 0);
455
+ }, e.getStateById = function(t) {
456
+ for (var r = this.actions.length, n; r--; )
457
+ if (n = this.actions[r].getStateById(t), n)
458
+ return n;
459
+ return this.state.idLookup[t] && this.state;
460
+ }, e.kill = function() {
461
+ this._killed = 1, this.clear(), delete Pe[this.id];
462
+ }, o;
463
+ }(), De = /* @__PURE__ */ function() {
464
+ function o() {
465
+ }
466
+ return o.getState = function(i, t) {
467
+ var r = we(i, t);
468
+ return ne && ne.states.push(r), t && t.batch && o.batch(t.batch).state.add(r), r;
469
+ }, o.from = function(i, t) {
470
+ return t = t || {}, "clearProps" in t || (t.clearProps = !0), Ee(i, we(t.targets || i.targets, {
471
+ props: t.props || i.props,
472
+ simple: t.simple,
473
+ kill: !!t.kill
474
+ }), t, -1);
475
+ }, o.to = function(i, t) {
476
+ return Ee(i, we(t.targets || i.targets, {
477
+ props: t.props || i.props,
478
+ simple: t.simple,
479
+ kill: !!t.kill
480
+ }), t, 1);
481
+ }, o.fromTo = function(i, t, r) {
482
+ return Ee(i, t, r);
483
+ }, o.fit = function(i, t, r) {
484
+ var n = r ? ee(r, Je) : {}, s = r || n, l = s.absolute, u = s.scale, a = s.getVars, c = s.props, h = s.runBackwards, x = s.onComplete, w = s.simple, _ = r && r.fitChild && re(r.fitChild), v = Ve(t, c, w, i), g = Ve(i, 0, w, v), y = c ? ce[c] : fe, M = A.context();
485
+ return c && Ke(n, v.props), se(g, y), h && ("immediateRender" in n || (n.immediateRender = !0), n.onComplete = function() {
486
+ pe(g), x && x.apply(this, arguments);
487
+ }), l && Le(g, v), n = te(g, v, u || _, !n.duration && c, _, n.duration || a ? n : 0), typeof r == "object" && "zIndex" in r && (n.zIndex = r.zIndex), M && !a && M.add(function() {
488
+ return function() {
489
+ return pe(g);
490
+ };
491
+ }), a ? n : n.duration ? A.to(g.element, n) : null;
492
+ }, o.makeAbsolute = function(i, t) {
493
+ return (i instanceof S ? i : new S(i, t)).makeAbsolute();
494
+ }, o.batch = function(i) {
495
+ return i || (i = "default"), Pe[i] || (Pe[i] = new gt(i));
496
+ }, o.killFlipsOf = function(i, t) {
497
+ (i instanceof S ? i.targets : ie(i)).forEach(function(r) {
498
+ return r && Me(r._flip, t !== !1 ? 1 : 2);
499
+ });
500
+ }, o.isFlipping = function(i) {
501
+ var t = o.getByTarget(i);
502
+ return !!t && t.isActive();
503
+ }, o.getByTarget = function(i) {
504
+ return (re(i) || ue)._flip;
505
+ }, o.getElementState = function(i, t) {
506
+ return new Z(re(i), t);
507
+ }, o.convertCoordinates = function(i, t, r) {
508
+ var n = O(t, !0, !0).multiply(O(i));
509
+ return r ? n.apply(r) : n;
510
+ }, o.register = function(i) {
511
+ if (J = typeof document < "u" && document.body, J) {
512
+ A = i, rt(J), ie = A.utils.toArray, Ie = A.core.getStyleSaver;
513
+ var t = A.utils.snap(0.1);
514
+ q = function(n, s) {
515
+ return t(parseFloat(n) + s);
516
+ };
517
+ }
518
+ }, o;
519
+ }();
520
+ De.version = "3.13.0";
521
+ typeof window < "u" && window.gsap && window.gsap.registerPlugin(De);
522
+ export {
523
+ De as Flip,
524
+ De as default
525
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!
2
+ * matrix 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * 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 g,b,M,x,w,y,C,v,h="transform",N=h+"Origin",m,D=function(t){var o=t.ownerDocument||t;for(!(h in t.style)&&("msTransform"in t.style)&&(h="msTransform",N=h+"Origin");o.parentNode&&(o=o.parentNode););if(b=window,C=new _,o){g=o,M=o.documentElement,x=o.body,v=g.createElementNS("http://www.w3.org/2000/svg","g"),v.style.transform="none";var e=o.createElement("div"),s=o.createElement("div"),a=o&&(o.body||o.firstElementChild);a&&a.appendChild&&(a.appendChild(e),e.appendChild(s),e.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),m=s.offsetParent!==e,a.removeChild(e))}return o},G=function(t){for(var o,e;t&&t!==x;)e=t._gsap,e&&e.uncache&&e.get(t,"x"),e&&!e.scaleX&&!e.scaleY&&e.renderTransform&&(e.scaleX=e.scaleY=1e-4,e.renderTransform(1,e),o?o.push(e):o=[e]),t=t.parentNode;return o},B=[],A=[],P=function(){return b.pageYOffset||g.scrollTop||M.scrollTop||x.scrollTop||0},R=function(){return b.pageXOffset||g.scrollLeft||M.scrollLeft||x.scrollLeft||0},E=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},I=function c(t){if(b.getComputedStyle(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return c(t)},T=function c(t,o){if(t.parentNode&&(g||D(t))){var e=E(t),s=e?e.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=e?o?"rect":"g":"div",r=o!==2?0:100,l=o===3?100:0,f="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",i=g.createElementNS?g.createElementNS(s.replace(/^https/,"http"),a):g.createElement(a);return o&&(e?(y||(y=c(t)),i.setAttribute("width",.01),i.setAttribute("height",.01),i.setAttribute("transform","translate("+r+","+l+")"),y.appendChild(i)):(w||(w=c(t),w.style.cssText=f),i.style.cssText=f+"width:0.1px;height:0.1px;top:"+l+"px;left:"+r+"px",w.appendChild(i))),i}throw"Need document and parent."},X=function(t){for(var o=new _,e=0;e<t.numberOfItems;e++)o.multiply(t.getItem(e).matrix);return o},F=function(t){var o=t.getCTM(),e;return o||(e=t.style[h],t.style[h]="none",t.appendChild(v),o=v.getCTM(),t.removeChild(v),e?t.style[h]=e:t.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),o||C.clone()},Y=function(t,o){var e=E(t),s=t===e,a=e?B:A,r=t.parentNode,l=r&&!e&&r.shadowRoot&&r.shadowRoot.appendChild?r.shadowRoot:r,f,i,n,d,p,u;if(t===b)return t;if(a.length||a.push(T(t,1),T(t,2),T(t,3)),f=e?y:w,e)s?(n=F(t),d=-n.e/n.a,p=-n.f/n.d,i=C):t.getBBox?(n=t.getBBox(),i=t.transform?t.transform.baseVal:{},i=i.numberOfItems?i.numberOfItems>1?X(i):i.getItem(0).matrix:C,d=i.a*n.x+i.c*n.y,p=i.b*n.x+i.d*n.y):(i=new _,d=p=0),o&&t.tagName.toLowerCase()==="g"&&(d=p=0),(s?e:r).appendChild(f),f.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+d)+","+(i.f+p)+")");else{if(d=p=0,m)for(i=t.offsetParent,n=t;n&&(n=n.parentNode)&&n!==i&&n.parentNode;)(b.getComputedStyle(n)[h]+"").length>4&&(d=n.offsetLeft,p=n.offsetTop,n=0);if(u=b.getComputedStyle(t),u.position!=="absolute"&&u.position!=="fixed")for(i=t.offsetParent;r&&r!==i;)d+=r.scrollLeft||0,p+=r.scrollTop||0,r=r.parentNode;n=f.style,n.top=t.offsetTop-p+"px",n.left=t.offsetLeft-d+"px",n[h]=u[h],n[N]=u[N],n.position=u.position==="fixed"?"fixed":"absolute",l.appendChild(f)}return f},S=function(t,o,e,s,a,r,l){return t.a=o,t.b=e,t.c=s,t.d=a,t.e=r,t.f=l,t},_=function(){function c(o,e,s,a,r,l){o===void 0&&(o=1),e===void 0&&(e=0),s===void 0&&(s=0),a===void 0&&(a=1),r===void 0&&(r=0),l===void 0&&(l=0),S(this,o,e,s,a,r,l)}var t=c.prototype;return t.inverse=function(){var e=this.a,s=this.b,a=this.c,r=this.d,l=this.e,f=this.f,i=e*r-s*a||1e-10;return S(this,r/i,-s/i,-a/i,e/i,(a*f-r*l)/i,-(e*f-s*l)/i)},t.multiply=function(e){var s=this.a,a=this.b,r=this.c,l=this.d,f=this.e,i=this.f,n=e.a,d=e.c,p=e.b,u=e.d,L=e.e,O=e.f;return S(this,n*s+p*r,n*a+p*l,d*s+u*r,d*a+u*l,f+L*s+O*r,i+L*a+O*l)},t.clone=function(){return new c(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(e){var s=this.a,a=this.b,r=this.c,l=this.d,f=this.e,i=this.f;return s===e.a&&a===e.b&&r===e.c&&l===e.d&&f===e.e&&i===e.f},t.apply=function(e,s){s===void 0&&(s={});var a=e.x,r=e.y,l=this.a,f=this.b,i=this.c,n=this.d,d=this.e,p=this.f;return s.x=a*l+r*i+d||0,s.y=a*f+r*n+p||0,s},c}();function V(c,t,o,e){if(!c||!c.parentNode||(g||D(c)).documentElement===c)return new _;var s=G(c),a=E(c),r=a?B:A,l=Y(c,o),f=r[0].getBoundingClientRect(),i=r[1].getBoundingClientRect(),n=r[2].getBoundingClientRect(),d=l.parentNode,p=!e&&I(c),u=new _((i.left-f.left)/100,(i.top-f.top)/100,(n.left-f.left)/100,(n.top-f.top)/100,f.left+(p?0:R()),f.top+(p?0:P()));if(d.removeChild(l),s)for(f=s.length;f--;)i=s[f],i.scaleX=i.scaleY=0,i.renderTransform(1,i);return t?u.inverse():u}exports.Matrix2D=_;exports._getCTM=F;exports._getDocScrollLeft=R;exports._getDocScrollTop=P;exports._isFixed=I;exports._setDoc=D;exports.getGlobalMatrix=V;
@@ -0,0 +1,104 @@
1
+ /*!
2
+ * matrix 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * 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
+ */
9
+ var g, b, E, x, w, y, C, _, u = "transform", S = u + "Origin", D, m = function(t) {
10
+ var o = t.ownerDocument || t;
11
+ for (!(u in t.style) && ("msTransform" in t.style) && (u = "msTransform", S = u + "Origin"); o.parentNode && (o = o.parentNode); )
12
+ ;
13
+ if (b = window, C = new v(), o) {
14
+ g = o, E = o.documentElement, x = o.body, _ = g.createElementNS("http://www.w3.org/2000/svg", "g"), _.style.transform = "none";
15
+ var e = o.createElement("div"), s = o.createElement("div"), a = o && (o.body || o.firstElementChild);
16
+ a && a.appendChild && (a.appendChild(e), e.appendChild(s), e.setAttribute("style", "position:static;transform:translate3d(0,0,1px)"), D = s.offsetParent !== e, a.removeChild(e));
17
+ }
18
+ return o;
19
+ }, R = function(t) {
20
+ for (var o, e; t && t !== x; )
21
+ e = t._gsap, e && e.uncache && e.get(t, "x"), e && !e.scaleX && !e.scaleY && e.renderTransform && (e.scaleX = e.scaleY = 1e-4, e.renderTransform(1, e), o ? o.push(e) : o = [e]), t = t.parentNode;
22
+ return o;
23
+ }, B = [], A = [], P = function() {
24
+ return b.pageYOffset || g.scrollTop || E.scrollTop || x.scrollTop || 0;
25
+ }, I = function() {
26
+ return b.pageXOffset || g.scrollLeft || E.scrollLeft || x.scrollLeft || 0;
27
+ }, L = function(t) {
28
+ return t.ownerSVGElement || ((t.tagName + "").toLowerCase() === "svg" ? t : null);
29
+ }, X = function p(t) {
30
+ if (b.getComputedStyle(t).position === "fixed")
31
+ return !0;
32
+ if (t = t.parentNode, t && t.nodeType === 1)
33
+ return p(t);
34
+ }, T = function p(t, o) {
35
+ if (t.parentNode && (g || m(t))) {
36
+ var e = L(t), s = e ? e.getAttribute("xmlns") || "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", a = e ? o ? "rect" : "g" : "div", r = o !== 2 ? 0 : 100, c = o === 3 ? 100 : 0, f = "position:absolute;display:block;pointer-events:none;margin:0;padding:0;", i = g.createElementNS ? g.createElementNS(s.replace(/^https/, "http"), a) : g.createElement(a);
37
+ return o && (e ? (y || (y = p(t)), i.setAttribute("width", 0.01), i.setAttribute("height", 0.01), i.setAttribute("transform", "translate(" + r + "," + c + ")"), y.appendChild(i)) : (w || (w = p(t), w.style.cssText = f), i.style.cssText = f + "width:0.1px;height:0.1px;top:" + c + "px;left:" + r + "px", w.appendChild(i))), i;
38
+ }
39
+ throw "Need document and parent.";
40
+ }, Y = function(t) {
41
+ for (var o = new v(), e = 0; e < t.numberOfItems; e++)
42
+ o.multiply(t.getItem(e).matrix);
43
+ return o;
44
+ }, F = function(t) {
45
+ var o = t.getCTM(), e;
46
+ return o || (e = t.style[u], t.style[u] = "none", t.appendChild(_), o = _.getCTM(), t.removeChild(_), e ? t.style[u] = e : t.style.removeProperty(u.replace(/([A-Z])/g, "-$1").toLowerCase())), o || C.clone();
47
+ }, G = function(t, o) {
48
+ var e = L(t), s = t === e, a = e ? B : A, r = t.parentNode, c = r && !e && r.shadowRoot && r.shadowRoot.appendChild ? r.shadowRoot : r, f, i, n, l, d, h;
49
+ if (t === b)
50
+ return t;
51
+ if (a.length || a.push(T(t, 1), T(t, 2), T(t, 3)), f = e ? y : w, e)
52
+ s ? (n = F(t), l = -n.e / n.a, d = -n.f / n.d, i = C) : t.getBBox ? (n = t.getBBox(), i = t.transform ? t.transform.baseVal : {}, i = i.numberOfItems ? i.numberOfItems > 1 ? Y(i) : i.getItem(0).matrix : C, l = i.a * n.x + i.c * n.y, d = i.b * n.x + i.d * n.y) : (i = new v(), l = d = 0), o && t.tagName.toLowerCase() === "g" && (l = d = 0), (s ? e : r).appendChild(f), f.setAttribute("transform", "matrix(" + i.a + "," + i.b + "," + i.c + "," + i.d + "," + (i.e + l) + "," + (i.f + d) + ")");
53
+ else {
54
+ if (l = d = 0, D)
55
+ for (i = t.offsetParent, n = t; n && (n = n.parentNode) && n !== i && n.parentNode; )
56
+ (b.getComputedStyle(n)[u] + "").length > 4 && (l = n.offsetLeft, d = n.offsetTop, n = 0);
57
+ if (h = b.getComputedStyle(t), h.position !== "absolute" && h.position !== "fixed")
58
+ for (i = t.offsetParent; r && r !== i; )
59
+ l += r.scrollLeft || 0, d += r.scrollTop || 0, r = r.parentNode;
60
+ n = f.style, n.top = t.offsetTop - d + "px", n.left = t.offsetLeft - l + "px", n[u] = h[u], n[S] = h[S], n.position = h.position === "fixed" ? "fixed" : "absolute", c.appendChild(f);
61
+ }
62
+ return f;
63
+ }, N = function(t, o, e, s, a, r, c) {
64
+ return t.a = o, t.b = e, t.c = s, t.d = a, t.e = r, t.f = c, t;
65
+ }, v = /* @__PURE__ */ function() {
66
+ function p(o, e, s, a, r, c) {
67
+ o === void 0 && (o = 1), e === void 0 && (e = 0), s === void 0 && (s = 0), a === void 0 && (a = 1), r === void 0 && (r = 0), c === void 0 && (c = 0), N(this, o, e, s, a, r, c);
68
+ }
69
+ var t = p.prototype;
70
+ return t.inverse = function() {
71
+ var e = this.a, s = this.b, a = this.c, r = this.d, c = this.e, f = this.f, i = e * r - s * a || 1e-10;
72
+ return N(this, r / i, -s / i, -a / i, e / i, (a * f - r * c) / i, -(e * f - s * c) / i);
73
+ }, t.multiply = function(e) {
74
+ var s = this.a, a = this.b, r = this.c, c = this.d, f = this.e, i = this.f, n = e.a, l = e.c, d = e.b, h = e.d, O = e.e, M = e.f;
75
+ return N(this, n * s + d * r, n * a + d * c, l * s + h * r, l * a + h * c, f + O * s + M * r, i + O * a + M * c);
76
+ }, t.clone = function() {
77
+ return new p(this.a, this.b, this.c, this.d, this.e, this.f);
78
+ }, t.equals = function(e) {
79
+ var s = this.a, a = this.b, r = this.c, c = this.d, f = this.e, i = this.f;
80
+ return s === e.a && a === e.b && r === e.c && c === e.d && f === e.e && i === e.f;
81
+ }, t.apply = function(e, s) {
82
+ s === void 0 && (s = {});
83
+ var a = e.x, r = e.y, c = this.a, f = this.b, i = this.c, n = this.d, l = this.e, d = this.f;
84
+ return s.x = a * c + r * i + l || 0, s.y = a * f + r * n + d || 0, s;
85
+ }, p;
86
+ }();
87
+ function V(p, t, o, e) {
88
+ if (!p || !p.parentNode || (g || m(p)).documentElement === p)
89
+ return new v();
90
+ var s = R(p), a = L(p), r = a ? B : A, c = G(p, o), f = r[0].getBoundingClientRect(), i = r[1].getBoundingClientRect(), n = r[2].getBoundingClientRect(), l = c.parentNode, d = !e && X(p), h = new v((i.left - f.left) / 100, (i.top - f.top) / 100, (n.left - f.left) / 100, (n.top - f.top) / 100, f.left + (d ? 0 : I()), f.top + (d ? 0 : P()));
91
+ if (l.removeChild(c), s)
92
+ for (f = s.length; f--; )
93
+ i = s[f], i.scaleX = i.scaleY = 0, i.renderTransform(1, i);
94
+ return t ? h.inverse() : h;
95
+ }
96
+ export {
97
+ v as Matrix2D,
98
+ F as _getCTM,
99
+ I as _getDocScrollLeft,
100
+ P as _getDocScrollTop,
101
+ X as _isFixed,
102
+ m as _setDoc,
103
+ V as getGlobalMatrix
104
+ };
@@ -0,0 +1,5 @@
1
+ export type GradientVariant = 'blue' | 'gold' | 'orange';
2
+ export type GradientProps = {
3
+ variant: GradientVariant;
4
+ };
5
+ export declare function Gradient({ variant }: GradientProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Gradient } from './Gradient';