@zenpatient-org/healthspan-marketing-ui 0.2.85 → 0.2.87

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 (191) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +1 -2
  2. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +1 -2
  3. package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +0 -1
  4. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  5. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +0 -1
  6. package/dist/components/AnchorLinks/AnchorLinks.d.ts +0 -1
  7. package/dist/components/AnchorLinks/types.d.ts +0 -1
  8. package/dist/components/Benefit/Benefit.d.ts +1 -2
  9. package/dist/components/Button/Button.d.ts +2 -3
  10. package/dist/components/Callback/Callback.d.ts +2 -3
  11. package/dist/components/Callback/constants.d.ts +2 -3
  12. package/dist/components/Checkbox/Checkbox.d.ts +0 -1
  13. package/dist/components/ClaimBlock/ClaimBlock.d.ts +1 -2
  14. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +0 -1
  15. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +0 -1
  16. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +0 -1
  17. package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +0 -1
  18. package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +3 -4
  19. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +1 -2
  20. package/dist/components/ComplexTooltip/types.d.ts +1 -2
  21. package/dist/components/ContentTabs/ContentTabs.d.ts +2 -3
  22. package/dist/components/ContentTabs/contentTabs.module.css +1 -0
  23. package/dist/components/Cursor/Cursor.d.ts +1 -2
  24. package/dist/components/Cursor/components/ClientCursor.d.ts +1 -2
  25. package/dist/components/Cursor/components/ServerCursor.d.ts +1 -2
  26. package/dist/components/FAQComponent/FAQComponent.d.ts +0 -1
  27. package/dist/components/FAQComponent/types.d.ts +0 -1
  28. package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +0 -1
  29. package/dist/components/FAQComponentItem/types.d.ts +1 -2
  30. package/dist/components/FeaturesList/FeaturesList.d.ts +1 -2
  31. package/dist/components/FeaturesList/types.d.ts +1 -2
  32. package/dist/components/FilterError/FilterError.d.ts +0 -1
  33. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -2
  34. package/dist/components/HighlightCard/HighlightCard.d.ts +1 -2
  35. package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +3 -4
  36. package/dist/components/Icon/Icon.d.ts +0 -1
  37. package/dist/components/Icon/iconsMap.d.ts +0 -1
  38. package/dist/components/IconBracket/IconBracket.d.ts +0 -1
  39. package/dist/components/IconBracket/types.d.ts +0 -1
  40. package/dist/components/IconButton/IconButton.d.ts +2 -3
  41. package/dist/components/ImageGallery/ImageGallery.d.ts +0 -1
  42. package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  43. package/dist/components/ImageGallery/imageGallery.module.css +4 -0
  44. package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -2
  45. package/dist/components/Label/Label.d.ts +1 -2
  46. package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
  47. package/dist/components/PlayButton/PlayButton.d.ts +1 -2
  48. package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
  49. package/dist/components/Pricing/Pricing.d.ts +0 -1
  50. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
  51. package/dist/components/Pricing/types.d.ts +3 -4
  52. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
  53. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
  54. package/dist/components/ProductGalleryCard/types.d.ts +1 -2
  55. package/dist/components/ProductListing/ProductListing.d.ts +2 -3
  56. package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
  57. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
  58. package/dist/components/Quote/Quote.d.ts +1 -2
  59. package/dist/components/SmartCallout/SmartCallout.d.ts +0 -1
  60. package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
  61. package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
  62. package/dist/components/Tabs/Tabs.d.ts +1 -2
  63. package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
  64. package/dist/components/Tabs/types.d.ts +1 -2
  65. package/dist/components/Tag/Tag.d.ts +2 -3
  66. package/dist/components/TextButton/TextButton.d.ts +2 -3
  67. package/dist/components/TextInput/TextInput.d.ts +0 -1
  68. package/dist/components/Typography/Typography.d.ts +2 -2
  69. package/dist/icons/arrow/arrow-forward-thin.svg +1 -1
  70. package/dist/icons/arrow/arrow-forward-thin.svg.cjs.js +1 -1
  71. package/dist/icons/arrow/arrow-forward-thin.svg.es.js +1 -1
  72. package/dist/lib/useSwiper.d.ts +2 -3
  73. package/dist/modules/BasicImageText/BasicImageText.cjs.js +1 -1
  74. package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
  75. package/dist/modules/BasicImageText/BasicImageText.es.js +36 -34
  76. package/dist/modules/BasicImageText/basicImageText.module.css +48 -27
  77. package/dist/modules/Benefits/Benefits.d.ts +0 -1
  78. package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
  79. package/dist/modules/Callback/Callback.d.ts +1 -2
  80. package/dist/modules/Claims/Claims.d.ts +0 -1
  81. package/dist/modules/Compare/Compare.d.ts +0 -1
  82. package/dist/modules/Compare/types.d.ts +2 -3
  83. package/dist/modules/Comparison/Comparison.d.ts +2 -3
  84. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
  85. package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
  86. package/dist/modules/ComparisonV2/comparisonV2.module.css +17 -2
  87. package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
  88. package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
  89. package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
  90. package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
  91. package/dist/modules/ExpandingDetails/types.d.ts +0 -1
  92. package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
  93. package/dist/modules/FAQModule/types.d.ts +0 -1
  94. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
  95. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
  96. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
  97. package/dist/modules/HSModal/HSModal.d.ts +0 -1
  98. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
  99. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
  100. package/dist/modules/HSModal/types.d.ts +0 -1
  101. package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
  102. package/dist/modules/HSModal/useHSModal.es.js +1 -1
  103. package/dist/modules/HighestStandards/HighestStandards.d.ts +0 -1
  104. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
  105. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
  106. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
  107. package/dist/modules/HighestStandards/types.d.ts +0 -1
  108. package/dist/modules/Highlight/Highlight.d.ts +1 -2
  109. package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
  110. package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
  111. package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
  112. package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
  113. package/dist/modules/ImageWithText/types.d.ts +1 -2
  114. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
  115. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
  116. package/dist/modules/IndividualProductCard/types.d.ts +2 -3
  117. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
  118. package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
  119. package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
  120. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
  121. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
  122. package/dist/modules/LongevityPathways/types.d.ts +0 -1
  123. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
  124. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
  125. package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
  126. package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
  127. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
  128. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
  129. package/dist/modules/ProductsDisplay/types.d.ts +1 -2
  130. package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
  131. package/dist/modules/ProgramDetails/ProgramDetails.cjs.js +1 -1
  132. package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
  133. package/dist/modules/ProgramDetails/ProgramDetails.es.js +6 -6
  134. package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
  135. package/dist/modules/ProgramDetails/programDetails.module.css +27 -0
  136. package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
  137. package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
  138. package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
  139. package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
  140. package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
  141. package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
  142. package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
  143. package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
  144. package/dist/modules/Reviews/Reviews.d.ts +0 -1
  145. package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
  146. package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
  147. package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
  148. package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
  149. package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
  150. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
  151. package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
  152. package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
  153. package/dist/modules/Studies/Studies.d.ts +2 -3
  154. package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
  155. package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
  156. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
  157. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
  158. package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
  159. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
  160. package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
  161. package/dist/modules/TotalCare/totalCare.module.css +29 -3
  162. package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
  163. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
  164. package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
  165. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  166. package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
  167. package/dist/modules/YourProtocol/YourProtocol.es.js +18 -9
  168. package/dist/modules/YourProtocol/types.d.ts +0 -1
  169. package/dist/modules/YourProtocol/yourProtocol.module.css +146 -44
  170. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
  171. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
  172. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
  173. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
  174. package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
  175. package/dist/node_modules/gsap/CustomEase.es.js +2 -2
  176. package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
  177. package/dist/node_modules/gsap/Draggable.es.js +6 -6
  178. package/dist/node_modules/gsap/Flip.cjs.js +1 -1
  179. package/dist/node_modules/gsap/Flip.es.js +6 -6
  180. package/dist/node_modules/gsap/Observer.cjs.js +1 -1
  181. package/dist/node_modules/gsap/Observer.es.js +2 -2
  182. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
  183. package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
  184. package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
  185. package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
  186. package/dist/pageComponents/Banner/Banner.d.ts +1 -2
  187. package/dist/pageComponents/Footer/Footer.d.ts +0 -1
  188. package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
  189. package/dist/types/articles.d.ts +0 -1
  190. package/dist/utils/isHsIcon.d.ts +0 -1
  191. package/package.json +1 -1
@@ -14,52 +14,54 @@
14
14
  display: grid;
15
15
  grid-template-columns: 1fr auto;
16
16
  grid-template-rows: auto auto auto;
17
- gap: 32px;
18
- padding: 70px 120px;
17
+ grid-template-areas:
18
+ 'title title'
19
+ 'tags image'
20
+ 'button image';
21
+ gap: 32px 96px;
22
+ padding: 72px 120px;
19
23
  max-width: var(--content-max-width);
20
- align-items: start;
21
24
  }
22
25
 
23
26
  .title {
24
- grid-column: 1;
25
- grid-row: 1;
27
+ grid-area: title;
28
+ max-width: 780px;
29
+ margin-bottom: 16px;
26
30
  }
27
31
 
28
32
  .tagsList {
29
- grid-column: 1;
30
- grid-row: 2;
33
+ grid-area: tags;
31
34
  display: flex;
32
35
  flex-direction: column;
33
36
  }
34
37
 
35
38
  .callbackButton {
36
- grid-column: 1;
37
- grid-row: 3;
39
+ grid-area: button;
38
40
  }
39
41
 
40
42
  .image {
41
- grid-column: 2;
42
- grid-row: 1 / 4;
43
- width: 477px;
44
- height: 636px;
45
- object-fit: cover;
43
+ grid-area: image;
44
+ max-width: 477px;
45
+ max-height: 622px;
46
46
  border-radius: 19px;
47
- }
48
-
49
- .title,
50
- .tagsList,
51
- .callbackButton {
52
- width: 100%;
53
- max-width: 627px;
47
+ object-fit: cover;
54
48
  }
55
49
 
56
50
  .tagItem {
57
- padding: 16px 0;
51
+ padding: 18px 0;
58
52
  display: flex;
59
53
  gap: 16px;
60
54
  border-bottom: 1px solid var(--border-color-light);
61
55
  }
62
56
 
57
+ .tagItem:first-child {
58
+ padding-top: 0;
59
+ }
60
+
61
+ .tagItem:last-child {
62
+ padding-bottom: 0;
63
+ }
64
+
63
65
  .root[data-scheme='dark'] .tagItem {
64
66
  border-bottom: 1px solid var(--border-color-alpha-white-10);
65
67
  }
@@ -113,56 +115,156 @@
113
115
  color: var(--color-white);
114
116
  }
115
117
 
116
- @media (max-width: 1300px) {
118
+ @media (max-width: 1240px) {
119
+ .container {
120
+ padding: 64px 120px;
121
+ gap: 32px 64px;
122
+ }
123
+
124
+ .title h2 {
125
+ font-size: var(--font-size-display-md);
126
+ line-height: var(--line-height-xs);
127
+ letter-spacing: var(--letter-spacing-negative-xl);
128
+ }
129
+ }
130
+
131
+ @media (max-width: 1150px) {
132
+ .container {
133
+ gap: 32px 56px;
134
+ padding: 56px 64px;
135
+ }
136
+
137
+ .title {
138
+ margin-bottom: 8px;
139
+ }
140
+
141
+ .title h2 {
142
+ font-size: var(--font-size-display-sm);
143
+ line-height: var(--line-height-xs);
144
+ letter-spacing: var(--letter-spacing-negative-xl);
145
+ }
146
+
147
+ .image {
148
+ grid-area: image;
149
+ max-width: 360px;
150
+ max-height: 480px;
151
+ border-radius: 14px;
152
+ }
153
+ }
154
+
155
+ @media (max-width: 820px) {
117
156
  .container {
118
157
  grid-template-columns: 1fr;
119
158
  grid-template-rows: auto auto auto auto;
120
- padding: 64px 17px;
159
+ grid-template-areas:
160
+ 'title'
161
+ 'image'
162
+ 'tags'
163
+ 'button';
164
+ padding: 56px 48px;
165
+ gap: 32px;
121
166
  }
122
167
 
123
168
  .title {
124
- grid-column: 1;
125
- grid-row: 1;
126
- max-width: 685px;
169
+ max-width: unset;
170
+ }
171
+
172
+ .title h2 {
173
+ font-size: var(--font-size-display-xs);
127
174
  }
128
175
 
129
176
  .image {
130
- grid-column: 1;
131
- grid-row: 2;
132
177
  width: 100%;
133
- height: 350px;
178
+ max-width: unset;
179
+ max-height: 350px;
134
180
  }
135
181
 
136
182
  .tagsList {
137
- grid-column: 1;
138
- grid-row: 3;
183
+ margin-top: 16px;
139
184
  }
185
+ }
140
186
 
141
- .tagsList,
142
- .callbackButton {
143
- max-width: unset;
187
+ @media (max-width: 768px) {
188
+ .container {
189
+ padding: 48px 32px;
144
190
  }
145
191
 
146
- .callbackButton {
147
- grid-column: 1;
148
- grid-row: 4;
192
+ .title {
193
+ margin-bottom: unset;
194
+ }
195
+
196
+ .tagsList {
197
+ margin-top: 8px;
149
198
  }
150
199
  }
151
200
 
152
- @media (max-width: 768px) {
201
+ @media (max-width: 600px) {
202
+
203
+ .image {
204
+ max-height: 270px;
205
+ }
153
206
  .container {
154
- gap: 20px;
207
+ padding: 48px 28px;
208
+ }
209
+
210
+ .tagsList {
211
+ margin-top: unset;
212
+ }
213
+ }
214
+
215
+ @media (max-width: 480px) {
216
+ .container {
217
+ padding: 40px 24px;
218
+ }
219
+
220
+ .title {
221
+ margin-bottom: -4px;
155
222
  }
156
223
 
157
- .tagItem {
158
- padding: 24px 0;
224
+ .title h2 {
225
+ font-size: var(--font-size-heading-xl);
226
+ line-height: var(--line-height-sm);
227
+ letter-spacing: var(--letter-spacing-negative-xl);
159
228
  }
160
229
 
161
230
  .image {
162
- height: 240px;
231
+ max-height: 215px;
232
+ }
233
+
234
+ .iconWrapper {
235
+ width: 42px;
236
+ height: 42px;
237
+ padding: 10px;
238
+ border-radius: 6.3px;
239
+ }
240
+
241
+ .icon {
242
+ width: 22px;
243
+ height: 22px;
244
+ }
245
+ }
246
+
247
+ @media (max-width: 375px) {
248
+ .container {
249
+ padding: 32px 20px;
163
250
  }
164
251
 
165
252
  .title {
166
- max-width: 335px;
253
+ margin-bottom: -8px;
254
+ }
255
+
256
+ .image {
257
+ max-height: 167px;
167
258
  }
168
259
  }
260
+
261
+ @media (max-width: 320px) {
262
+ .container {
263
+ padding: 28px 16px;
264
+ gap: 24px;
265
+ }
266
+
267
+ .title {
268
+ margin-bottom: -4px;
269
+ }
270
+ }
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-FSLSW5KG.cjs.js"),n=require("react"),h=require("react/jsx-runtime");var L=l=>{const s={};return Object.entries(l).forEach(([d,a])=>{typeof a=="boolean"?s[d]=String(a):s[d]=a}),s},q=n.forwardRef((l,s)=>{const{aspect:d,children:a,className:w,embedHost:u,id:o,mediaId:c,roundedPlayer:E,swatch:p,style:P}=l,S=t.getMergedEmbedOption(c,"embedHost",u!=null?u:void 0),f=t.isString(S)?S:"fast.wistia.com",b=n.useRef(null),[m,v]=n.useState(d),[j,W]=n.useState(!1);n.useEffect(()=>{p!==!1&&m===void 0&&t.isString(f)&&t.getSwatchAspectRatio(c,f).then(e=>{v(e)}),Promise.resolve().then(()=>require("./wistia-player-PKAEVX5L.cjs.js")),customElements.whenDefined("wistia-player").then(()=>{W(!0)})},[]);const g={},y={};Object.entries(l).forEach(([e,i])=>{if(e.startsWith("on")&&e[2]===e[2].toUpperCase()){const r=t.camelCaseToKebabCase(e).slice(3);t.isFunction(i)&&(g[r]=i)}else t.isValidEmbedOption(i)&&(y[t.camelCaseToKebabCase(e)]=i)}),Object.entries(g).forEach(([e,i])=>{n.useEffect(()=>{const r=b.current;return r==null||r.addEventListener(e,i),()=>{r==null||r.removeEventListener(e,i)}},[i,j])});const O=m!==void 0,C=t.wistiaPlayerStyleBlock({mediaId:c,embedHost:f,aspect:m,shouldLoadSwatch:p,roundedPlayer:E});return h.jsxs(n.Fragment,{children:[O&&h.jsx("style",{dangerouslySetInnerHTML:{__html:C}}),h.jsx("wistia-player",{ref:e=>{b.current=e,typeof s=="function"?s(e):s!==null&&(s.current=e)},id:o!=null?o:void 0,"media-id":c,class:w,style:P,react:String(!0),...L(y),children:a},o!=null?o:c)]})});exports.WistiaPlayerWrapper=q;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-FSLSW5KG.cjs.js"),n=require("react"),h=require("react/jsx-runtime");var L=l=>{const s={};return Object.entries(l).forEach(([d,a])=>{typeof a=="boolean"?s[d]=String(a):s[d]=a}),s},q=n.forwardRef((l,s)=>{const{aspect:d,children:a,className:w,embedHost:u,id:o,mediaId:c,roundedPlayer:E,swatch:p,style:P}=l,S=t.getMergedEmbedOption(c,"embedHost",u!=null?u:void 0),f=t.isString(S)?S:"fast.wistia.com",b=n.useRef(null),[m,v]=n.useState(d),[j,W]=n.useState(!1);n.useEffect(()=>{p!==!1&&m===void 0&&t.isString(f)&&t.getSwatchAspectRatio(c,f).then(e=>{v(e)}),Promise.resolve().then(()=>require("./wistia-player-PKAEVX5L.cjs.js")),customElements.whenDefined("wistia-player").then(()=>{W(!0)})},[]);const g={},y={};Object.entries(l).forEach(([e,i])=>{if(e.startsWith("on")&&e[2]===e[2].toUpperCase()){const r=t.camelCaseToKebabCase(e).slice(3);t.isFunction(i)&&(g[r]=i)}else t.isValidEmbedOption(i)&&(y[t.camelCaseToKebabCase(e)]=i)}),Object.entries(g).forEach(([e,i])=>{n.useEffect(()=>{const r=b.current;return r==null||r.addEventListener(e,i),()=>{r==null||r.removeEventListener(e,i)}},[i,j])});const O=m!==void 0,C=t.wistiaPlayerStyleBlock({mediaId:c,embedHost:f,aspect:m,shouldLoadSwatch:p,roundedPlayer:E});return h.jsxs(n.Fragment,{children:[O&&h.jsx("style",{dangerouslySetInnerHTML:{__html:C}}),h.jsx("wistia-player",{ref:(e=>{b.current=e,typeof s=="function"?s(e):s!==null&&(s.current=e)}),id:o!=null?o:void 0,"media-id":c,class:w,style:P,react:String(!0),...L(y),children:a},o!=null?o:c)]})});exports.WistiaPlayerWrapper=q;
@@ -43,9 +43,9 @@ var T = (a) => {
43
43
  /* @__PURE__ */ S(
44
44
  "wistia-player",
45
45
  {
46
- ref: (t) => {
46
+ ref: ((t) => {
47
47
  h.current = t, typeof e == "function" ? e(t) : e !== null && (e.current = t);
48
- },
48
+ }),
49
49
  id: o != null ? o : void 0,
50
50
  "media-id": n,
51
51
  class: v,