@drawbridge/components 0.0.77 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (835) hide show
  1. package/README.md +23 -1
  2. package/components/styles.css +228 -0
  3. package/dist/advertisement.js +64 -1047
  4. package/dist/advertisement.mjs +50 -41
  5. package/dist/bridge/advertisements.js +230 -0
  6. package/dist/bridge/advertisements.mjs +201 -0
  7. package/dist/bridge/countdown.js +88 -0
  8. package/dist/bridge/countdown.mjs +59 -0
  9. package/dist/bridge/fields.js +306 -0
  10. package/dist/bridge/fields.mjs +271 -0
  11. package/dist/bridge/form-subdomain-embed.js +283 -0
  12. package/dist/bridge/form-subdomain-embed.mjs +254 -0
  13. package/dist/bridge/form-subdomain-header.js +118 -0
  14. package/dist/bridge/form-subdomain-header.mjs +85 -0
  15. package/dist/bridge/form-subdomain-issue.js +265 -0
  16. package/dist/bridge/form-subdomain-issue.mjs +236 -0
  17. package/dist/bridge/form-subdomain-prize.js +160 -0
  18. package/dist/bridge/form-subdomain-prize.mjs +131 -0
  19. package/dist/bridge/form-subdomain-shop-modal.js +557 -0
  20. package/dist/bridge/form-subdomain-shop-modal.mjs +523 -0
  21. package/dist/bridge/form-subdomain-shop.js +64 -0
  22. package/dist/bridge/form-subdomain-shop.mjs +35 -0
  23. package/dist/bridge/form-subdomain.js +1012 -0
  24. package/dist/bridge/form-subdomain.mjs +977 -0
  25. package/dist/bridge/lib/age-gate.js +55 -0
  26. package/dist/bridge/lib/age-gate.mjs +21 -0
  27. package/dist/bridge/lib/checkout-kit.js +141 -0
  28. package/dist/bridge/lib/checkout-kit.mjs +107 -0
  29. package/dist/bridge/lib/constants.js +24 -0
  30. package/dist/bridge/lib/constants.mjs +5 -0
  31. package/dist/bridge/lib/css.js +31 -0
  32. package/dist/bridge/lib/css.mjs +8 -0
  33. package/dist/bridge/lib/recaptcha.js +31 -0
  34. package/dist/bridge/lib/recaptcha.mjs +8 -0
  35. package/dist/bridge/lib/url.js +64 -0
  36. package/dist/bridge/lib/url.mjs +39 -0
  37. package/dist/{embla.js → bridge/lib/yup.js} +10 -10
  38. package/dist/bridge/lib/yup.mjs +8 -0
  39. package/dist/bridge/product-tile.js +122 -0
  40. package/dist/bridge/product-tile.mjs +93 -0
  41. package/dist/bridge/provider-analytics.js +184 -0
  42. package/dist/bridge/provider-analytics.mjs +150 -0
  43. package/dist/bridge/share-button.js +239 -0
  44. package/dist/bridge/share-button.mjs +227 -0
  45. package/dist/bridge/subdomain-content.js +195 -0
  46. package/dist/bridge/subdomain-content.mjs +166 -0
  47. package/dist/bridge/template-layout.js +733 -0
  48. package/dist/bridge/template-layout.mjs +704 -0
  49. package/dist/bridge/template-modal.js +638 -0
  50. package/dist/bridge/template-modal.mjs +609 -0
  51. package/dist/bridge/template-not-found.js +83 -0
  52. package/dist/bridge/template-not-found.mjs +54 -0
  53. package/dist/bridge/template-subdomain-gallery.js +524 -0
  54. package/dist/bridge/template-subdomain-gallery.mjs +495 -0
  55. package/dist/bridge/template-subdomain-link.js +134 -0
  56. package/dist/bridge/template-subdomain-link.mjs +105 -0
  57. package/dist/bridge/template-subdomain.js +423 -0
  58. package/dist/bridge/template-subdomain.mjs +394 -0
  59. package/dist/dashboard/accordion.js +141 -0
  60. package/dist/dashboard/accordion.mjs +112 -0
  61. package/dist/dashboard/avatar.js +76 -0
  62. package/dist/dashboard/avatar.mjs +47 -0
  63. package/dist/dashboard/card-affiliate.js +266 -0
  64. package/dist/dashboard/card-affiliate.mjs +237 -0
  65. package/dist/dashboard/card-connection.js +214 -0
  66. package/dist/dashboard/card-connection.mjs +181 -0
  67. package/dist/dashboard/card-data-item.js +76 -0
  68. package/dist/dashboard/card-data-item.mjs +57 -0
  69. package/dist/dashboard/card-integration.js +187 -0
  70. package/dist/dashboard/card-integration.mjs +158 -0
  71. package/dist/dashboard/card-metric.js +147 -0
  72. package/dist/dashboard/card-metric.mjs +118 -0
  73. package/dist/dashboard/card-note.js +151 -0
  74. package/dist/dashboard/card-note.mjs +122 -0
  75. package/dist/dashboard/card-order.js +236 -0
  76. package/dist/dashboard/card-order.mjs +207 -0
  77. package/dist/dashboard/card-overage.js +307 -0
  78. package/dist/dashboard/card-overage.mjs +278 -0
  79. package/dist/dashboard/card-payment-method.js +82 -0
  80. package/dist/dashboard/card-payment-method.mjs +63 -0
  81. package/dist/dashboard/card-plan.js +363 -0
  82. package/dist/dashboard/card-plan.mjs +334 -0
  83. package/dist/dashboard/card-product.js +86 -0
  84. package/dist/dashboard/card-product.mjs +57 -0
  85. package/dist/dashboard/card-score.js +201 -0
  86. package/dist/dashboard/card-score.mjs +172 -0
  87. package/dist/dashboard/card-section.js +82 -0
  88. package/dist/dashboard/card-section.mjs +63 -0
  89. package/dist/dashboard/card-setting.js +136 -0
  90. package/dist/dashboard/card-setting.mjs +107 -0
  91. package/dist/dashboard/card-task.js +133 -0
  92. package/dist/dashboard/card-task.mjs +104 -0
  93. package/dist/dashboard/card-template.js +197 -0
  94. package/dist/dashboard/card-template.mjs +168 -0
  95. package/dist/dashboard/card-tile.js +459 -0
  96. package/dist/dashboard/card-tile.mjs +425 -0
  97. package/dist/dashboard/card-utm.js +83 -0
  98. package/dist/dashboard/card-utm.mjs +54 -0
  99. package/dist/dashboard/carousel-tiles.js +64 -0
  100. package/dist/dashboard/carousel-tiles.mjs +35 -0
  101. package/dist/dashboard/code-formatter.js +134 -0
  102. package/dist/dashboard/code-formatter.mjs +105 -0
  103. package/dist/dashboard/drawer-subscription.js +762 -0
  104. package/dist/dashboard/drawer-subscription.mjs +733 -0
  105. package/dist/dashboard/drawer.js +143 -0
  106. package/dist/dashboard/drawer.mjs +114 -0
  107. package/dist/dashboard/dropdown.js +154 -0
  108. package/dist/dashboard/dropdown.mjs +125 -0
  109. package/dist/dashboard/form-action.js +120 -0
  110. package/dist/dashboard/form-action.mjs +91 -0
  111. package/dist/dashboard/form-address.js +98 -0
  112. package/dist/dashboard/form-address.mjs +69 -0
  113. package/dist/dashboard/form-admin-campaign.js +161 -0
  114. package/dist/dashboard/form-admin-campaign.mjs +132 -0
  115. package/dist/dashboard/form-admin-invoice-refund.js +153 -0
  116. package/dist/dashboard/form-admin-invoice-refund.mjs +124 -0
  117. package/dist/dashboard/form-admin-oauth.js +327 -0
  118. package/dist/dashboard/form-admin-oauth.mjs +298 -0
  119. package/dist/dashboard/form-admin-organization.js +231 -0
  120. package/dist/dashboard/form-admin-organization.mjs +202 -0
  121. package/dist/dashboard/form-admin-provider.js +286 -0
  122. package/dist/dashboard/form-admin-provider.mjs +257 -0
  123. package/dist/dashboard/form-admin-referrer.js +227 -0
  124. package/dist/dashboard/form-admin-referrer.mjs +198 -0
  125. package/dist/dashboard/form-admin-subscription-custom.js +285 -0
  126. package/dist/dashboard/form-admin-subscription-custom.mjs +256 -0
  127. package/dist/dashboard/form-admin-template.js +514 -0
  128. package/dist/dashboard/form-admin-template.mjs +481 -0
  129. package/dist/dashboard/form-admin-user-credit.js +141 -0
  130. package/dist/dashboard/form-admin-user-credit.mjs +112 -0
  131. package/dist/dashboard/form-admin-user-permissions.js +141 -0
  132. package/dist/dashboard/form-admin-user-permissions.mjs +112 -0
  133. package/dist/dashboard/form-admin-user-status.js +151 -0
  134. package/dist/dashboard/form-admin-user-status.mjs +122 -0
  135. package/dist/dashboard/form-admin-utm.js +400 -0
  136. package/dist/dashboard/form-admin-utm.mjs +371 -0
  137. package/dist/dashboard/form-ai.js +779 -0
  138. package/dist/dashboard/form-ai.mjs +742 -0
  139. package/dist/dashboard/form-auth.js +597 -0
  140. package/dist/dashboard/form-auth.mjs +561 -0
  141. package/dist/dashboard/form-credit.js +80 -0
  142. package/dist/dashboard/form-credit.mjs +51 -0
  143. package/dist/dashboard/form-file-upload.js +527 -0
  144. package/dist/dashboard/form-file-upload.mjs +498 -0
  145. package/dist/dashboard/form-file.js +367 -0
  146. package/dist/dashboard/form-file.mjs +338 -0
  147. package/dist/dashboard/form-filters-analytics.js +294 -0
  148. package/dist/dashboard/form-filters-analytics.mjs +265 -0
  149. package/dist/dashboard/form-filters.js +411 -0
  150. package/dist/dashboard/form-filters.mjs +382 -0
  151. package/dist/dashboard/form-note.js +143 -0
  152. package/dist/dashboard/form-note.mjs +114 -0
  153. package/dist/dashboard/form-notification.js +173 -0
  154. package/dist/dashboard/form-notification.mjs +140 -0
  155. package/dist/dashboard/form-organization-affiliate.js +301 -0
  156. package/dist/dashboard/form-organization-affiliate.mjs +268 -0
  157. package/dist/dashboard/form-organization-brand.js +333 -0
  158. package/dist/dashboard/form-organization-brand.mjs +299 -0
  159. package/dist/dashboard/form-organization-campaign-advertisement.js +460 -0
  160. package/dist/dashboard/form-organization-campaign-advertisement.mjs +427 -0
  161. package/dist/dashboard/form-organization-campaign-agreement.js +251 -0
  162. package/dist/dashboard/form-organization-campaign-agreement.mjs +222 -0
  163. package/dist/dashboard/form-organization-campaign-draw.js +458 -0
  164. package/dist/dashboard/form-organization-campaign-draw.mjs +429 -0
  165. package/dist/dashboard/form-organization-campaign-field-email.js +401 -0
  166. package/dist/dashboard/form-organization-campaign-field-email.mjs +372 -0
  167. package/dist/dashboard/form-organization-campaign-field-name.js +185 -0
  168. package/dist/dashboard/form-organization-campaign-field-name.mjs +156 -0
  169. package/dist/dashboard/form-organization-campaign-field-number.js +228 -0
  170. package/dist/dashboard/form-organization-campaign-field-number.mjs +199 -0
  171. package/dist/dashboard/form-organization-campaign-field-phone.js +229 -0
  172. package/dist/dashboard/form-organization-campaign-field-phone.mjs +200 -0
  173. package/dist/dashboard/form-organization-campaign-field-select.js +258 -0
  174. package/dist/dashboard/form-organization-campaign-field-select.mjs +229 -0
  175. package/dist/dashboard/form-organization-campaign-field-text.js +202 -0
  176. package/dist/dashboard/form-organization-campaign-field-text.mjs +173 -0
  177. package/dist/dashboard/form-organization-campaign-field-textarea.js +236 -0
  178. package/dist/dashboard/form-organization-campaign-field-textarea.mjs +207 -0
  179. package/dist/dashboard/form-organization-campaign-integration-age.js +214 -0
  180. package/dist/dashboard/form-organization-campaign-integration-age.mjs +185 -0
  181. package/dist/dashboard/form-organization-campaign-integration-enable.js +105 -0
  182. package/dist/dashboard/form-organization-campaign-integration-enable.mjs +76 -0
  183. package/dist/dashboard/form-organization-campaign-integration-geocode.js +188 -0
  184. package/dist/dashboard/form-organization-campaign-integration-geocode.mjs +159 -0
  185. package/dist/dashboard/form-organization-campaign-integration-gtm.js +176 -0
  186. package/dist/dashboard/form-organization-campaign-integration-gtm.mjs +147 -0
  187. package/dist/dashboard/form-organization-campaign-lead.js +212 -0
  188. package/dist/dashboard/form-organization-campaign-lead.mjs +183 -0
  189. package/dist/dashboard/form-organization-campaign-link.js +241 -0
  190. package/dist/dashboard/form-organization-campaign-link.mjs +212 -0
  191. package/dist/dashboard/form-organization-campaign-page-affiliates.js +133 -0
  192. package/dist/dashboard/form-organization-campaign-page-affiliates.mjs +104 -0
  193. package/dist/dashboard/form-organization-campaign-page-embed.js +102 -0
  194. package/dist/dashboard/form-organization-campaign-page-embed.mjs +73 -0
  195. package/dist/dashboard/form-organization-campaign-page-preview.js +245 -0
  196. package/dist/dashboard/form-organization-campaign-page-preview.mjs +216 -0
  197. package/dist/dashboard/form-organization-campaign-page-qr.js +417 -0
  198. package/dist/dashboard/form-organization-campaign-page-qr.mjs +384 -0
  199. package/dist/dashboard/form-organization-campaign-page-share.js +484 -0
  200. package/dist/dashboard/form-organization-campaign-page-share.mjs +455 -0
  201. package/dist/dashboard/form-organization-campaign-page-slug.js +187 -0
  202. package/dist/dashboard/form-organization-campaign-page-slug.mjs +158 -0
  203. package/dist/dashboard/form-organization-campaign-page.js +400 -0
  204. package/dist/dashboard/form-organization-campaign-page.mjs +366 -0
  205. package/dist/dashboard/form-organization-campaign-prize-edit.js +543 -0
  206. package/dist/dashboard/form-organization-campaign-prize-edit.mjs +514 -0
  207. package/dist/dashboard/form-organization-campaign-prize.js +141 -0
  208. package/dist/dashboard/form-organization-campaign-prize.mjs +112 -0
  209. package/dist/dashboard/form-organization-campaign-range.js +269 -0
  210. package/dist/dashboard/form-organization-campaign-range.mjs +240 -0
  211. package/dist/dashboard/form-organization-campaign.js +1106 -0
  212. package/dist/dashboard/form-organization-campaign.mjs +1067 -0
  213. package/dist/dashboard/form-organization-connection.js +545 -0
  214. package/dist/dashboard/form-organization-connection.mjs +512 -0
  215. package/dist/dashboard/form-organization-export.js +289 -0
  216. package/dist/dashboard/form-organization-export.mjs +260 -0
  217. package/dist/dashboard/form-organization-file-frame.js +168 -0
  218. package/dist/dashboard/form-organization-file-frame.mjs +139 -0
  219. package/dist/dashboard/form-organization-file.js +332 -0
  220. package/dist/dashboard/form-organization-file.mjs +303 -0
  221. package/dist/dashboard/form-organization-identity.js +800 -0
  222. package/dist/dashboard/form-organization-identity.mjs +765 -0
  223. package/dist/dashboard/form-organization-member.js +332 -0
  224. package/dist/dashboard/form-organization-member.mjs +303 -0
  225. package/dist/dashboard/form-organization-segment.js +441 -0
  226. package/dist/dashboard/form-organization-segment.mjs +412 -0
  227. package/dist/dashboard/form-organization-workflow.js +1145 -0
  228. package/dist/dashboard/form-organization-workflow.mjs +1109 -0
  229. package/dist/dashboard/form-organization.js +788 -0
  230. package/dist/dashboard/form-organization.mjs +751 -0
  231. package/dist/dashboard/form-otc.js +228 -0
  232. package/dist/dashboard/form-otc.mjs +194 -0
  233. package/dist/dashboard/form-payment-methods.js +183 -0
  234. package/dist/dashboard/form-payment-methods.mjs +154 -0
  235. package/dist/dashboard/form-profile.js +281 -0
  236. package/dist/dashboard/form-profile.mjs +248 -0
  237. package/dist/dashboard/form-stripe-promotion.js +142 -0
  238. package/dist/dashboard/form-stripe-promotion.mjs +113 -0
  239. package/dist/dashboard/form-stripe.js +236 -0
  240. package/dist/dashboard/form-stripe.mjs +207 -0
  241. package/dist/dashboard/form-verify-prize.js +342 -0
  242. package/dist/dashboard/form-verify-prize.mjs +309 -0
  243. package/dist/dashboard/google.js +671 -0
  244. package/dist/dashboard/google.mjs +637 -0
  245. package/dist/dashboard/guard-navigation.js +228 -0
  246. package/dist/dashboard/guard-navigation.mjs +195 -0
  247. package/dist/dashboard/guide.js +238 -0
  248. package/dist/dashboard/guide.mjs +209 -0
  249. package/dist/dashboard/iframe.js +159 -0
  250. package/dist/dashboard/iframe.mjs +130 -0
  251. package/dist/dashboard/input-address-saved.js +288 -0
  252. package/dist/dashboard/input-address-saved.mjs +259 -0
  253. package/dist/dashboard/input-array.js +272 -0
  254. package/dist/dashboard/input-array.mjs +236 -0
  255. package/dist/dashboard/input-color.js +192 -0
  256. package/dist/dashboard/input-color.mjs +163 -0
  257. package/dist/dashboard/input-combobox.js +281 -0
  258. package/dist/dashboard/input-combobox.mjs +258 -0
  259. package/dist/dashboard/input-date.js +234 -0
  260. package/dist/dashboard/input-date.mjs +201 -0
  261. package/dist/dashboard/input-editor.js +476 -0
  262. package/dist/dashboard/input-editor.mjs +441 -0
  263. package/dist/dashboard/input-fields.js +1101 -0
  264. package/dist/dashboard/input-fields.mjs +1060 -0
  265. package/dist/dashboard/input-file.js +188 -0
  266. package/dist/dashboard/input-file.mjs +159 -0
  267. package/dist/dashboard/input-font.js +506 -0
  268. package/dist/dashboard/input-font.mjs +477 -0
  269. package/dist/dashboard/input-group-ai.js +157 -0
  270. package/dist/dashboard/input-group-ai.mjs +128 -0
  271. package/dist/dashboard/input-radio.js +126 -0
  272. package/dist/dashboard/input-radio.mjs +97 -0
  273. package/dist/dashboard/input-resource.js +206 -0
  274. package/dist/dashboard/input-resource.mjs +177 -0
  275. package/dist/dashboard/input-secret.js +221 -0
  276. package/dist/dashboard/input-secret.mjs +192 -0
  277. package/dist/dashboard/input-time.js +100 -0
  278. package/dist/dashboard/input-time.mjs +71 -0
  279. package/dist/dashboard/lib/confetti.js +70 -0
  280. package/dist/dashboard/lib/confetti.mjs +37 -0
  281. package/dist/dashboard/lib/connection-controls.js +34 -0
  282. package/dist/dashboard/lib/connection-controls.mjs +11 -0
  283. package/dist/dashboard/lib/features.js +57 -0
  284. package/dist/dashboard/lib/features.mjs +22 -0
  285. package/dist/dashboard/lib/frames.js +35 -0
  286. package/dist/dashboard/lib/frames.mjs +11 -0
  287. package/dist/dashboard/lib/geo.js +138 -0
  288. package/dist/dashboard/lib/geo.mjs +113 -0
  289. package/dist/dashboard/lib/hooks.js +426 -0
  290. package/dist/dashboard/lib/hooks.mjs +397 -0
  291. package/dist/dashboard/lib/navigation.js +46 -0
  292. package/dist/dashboard/lib/navigation.mjs +23 -0
  293. package/dist/dashboard/lib/otc.js +45 -0
  294. package/dist/dashboard/lib/otc.mjs +22 -0
  295. package/dist/dashboard/lib/overage.js +30 -0
  296. package/dist/dashboard/lib/overage.mjs +6 -0
  297. package/dist/dashboard/lib/table-actions.js +108 -0
  298. package/dist/dashboard/lib/table-actions.mjs +75 -0
  299. package/dist/dashboard/lib/time-slots.js +72 -0
  300. package/dist/dashboard/lib/time-slots.mjs +44 -0
  301. package/dist/dashboard/lib/trickle.js +31 -0
  302. package/dist/dashboard/lib/trickle.mjs +8 -0
  303. package/dist/dashboard/lib/uppy.js +202 -0
  304. package/dist/dashboard/lib/uppy.mjs +166 -0
  305. package/dist/dashboard/lib/utm.js +66 -0
  306. package/dist/dashboard/lib/utm.mjs +42 -0
  307. package/dist/dashboard/link-back.js +94 -0
  308. package/dist/dashboard/link-back.mjs +65 -0
  309. package/dist/dashboard/link.js +129 -0
  310. package/dist/dashboard/link.mjs +95 -0
  311. package/dist/dashboard/list-resource.js +184 -0
  312. package/dist/dashboard/list-resource.mjs +155 -0
  313. package/dist/dashboard/list.js +96 -0
  314. package/dist/dashboard/list.mjs +67 -0
  315. package/dist/dashboard/menu.js +778 -0
  316. package/dist/dashboard/menu.mjs +740 -0
  317. package/dist/dashboard/modal.js +194 -0
  318. package/dist/dashboard/modal.mjs +165 -0
  319. package/dist/dashboard/notes.js +169 -0
  320. package/dist/dashboard/notes.mjs +140 -0
  321. package/dist/dashboard/notice.js +138 -0
  322. package/dist/dashboard/notice.mjs +109 -0
  323. package/dist/dashboard/paged.js +430 -0
  324. package/dist/dashboard/paged.mjs +401 -0
  325. package/dist/dashboard/provider-resource.js +102 -0
  326. package/dist/dashboard/provider-resource.mjs +73 -0
  327. package/dist/dashboard/provider-ui.js +255 -0
  328. package/dist/dashboard/provider-ui.mjs +226 -0
  329. package/dist/dashboard/provider.js +79 -0
  330. package/dist/dashboard/provider.mjs +50 -0
  331. package/dist/dashboard/recharts.js +630 -0
  332. package/dist/dashboard/recharts.mjs +596 -0
  333. package/dist/dashboard/steps.js +263 -0
  334. package/dist/dashboard/steps.mjs +229 -0
  335. package/dist/dashboard/swatch.js +81 -0
  336. package/dist/dashboard/swatch.mjs +52 -0
  337. package/dist/dashboard/table-cell-title.js +207 -0
  338. package/dist/dashboard/table-cell-title.mjs +174 -0
  339. package/dist/dashboard/table.js +765 -0
  340. package/dist/dashboard/table.mjs +723 -0
  341. package/dist/dashboard/template-dashboard.js +697 -0
  342. package/dist/dashboard/template-dashboard.mjs +662 -0
  343. package/dist/dashboard/template-not-found.js +124 -0
  344. package/dist/dashboard/template-not-found.mjs +95 -0
  345. package/dist/dashboard/template-socket.js +502 -0
  346. package/dist/dashboard/template-socket.mjs +466 -0
  347. package/dist/dashboard/template-suspended.js +64 -0
  348. package/dist/dashboard/template-suspended.mjs +41 -0
  349. package/dist/dashboard/template-ui.js +535 -0
  350. package/dist/dashboard/template-ui.mjs +506 -0
  351. package/dist/dashboard/wrapper-ai.js +79 -0
  352. package/dist/dashboard/wrapper-ai.mjs +50 -0
  353. package/dist/icons/arrow-down-tray.js +1 -3
  354. package/dist/icons/arrow-down-tray.mjs +1 -2
  355. package/dist/icons/arrow-left.js +1 -3
  356. package/dist/icons/arrow-left.mjs +1 -2
  357. package/dist/icons/arrow-right.js +1 -3
  358. package/dist/icons/arrow-right.mjs +1 -2
  359. package/dist/icons/arrow-up-tray.js +1 -3
  360. package/dist/icons/arrow-up-tray.mjs +1 -2
  361. package/dist/icons/bars-arrow-down.js +1 -3
  362. package/dist/icons/bars-arrow-down.mjs +1 -2
  363. package/dist/icons/bars-arrow-up.js +1 -3
  364. package/dist/icons/bars-arrow-up.mjs +1 -2
  365. package/dist/icons/bold.js +1 -3
  366. package/dist/icons/bold.mjs +1 -2
  367. package/dist/icons/bolt.js +1 -3
  368. package/dist/icons/bolt.mjs +1 -2
  369. package/dist/icons/calendar.js +1 -3
  370. package/dist/icons/calendar.mjs +1 -2
  371. package/dist/icons/cancel.js +1 -3
  372. package/dist/icons/cancel.mjs +1 -2
  373. package/dist/icons/card.js +1 -3
  374. package/dist/icons/card.mjs +1 -2
  375. package/dist/icons/chart.js +1 -3
  376. package/dist/icons/chart.mjs +1 -2
  377. package/dist/icons/check.js +1 -3
  378. package/dist/icons/check.mjs +24 -3
  379. package/dist/icons/chevron-down.js +1 -3
  380. package/dist/icons/chevron-down.mjs +24 -3
  381. package/dist/icons/chevron-left.js +1 -3
  382. package/dist/icons/chevron-left.mjs +1 -2
  383. package/dist/icons/chevron-right.js +1 -3
  384. package/dist/icons/chevron-right.mjs +1 -2
  385. package/dist/icons/chevron-up-down.js +1 -3
  386. package/dist/icons/chevron-up-down.mjs +1 -2
  387. package/dist/icons/chevron-up.js +1 -3
  388. package/dist/icons/chevron-up.mjs +1 -2
  389. package/dist/icons/clock.js +1 -3
  390. package/dist/icons/clock.mjs +1 -2
  391. package/dist/icons/code-bracket.js +1 -3
  392. package/dist/icons/code-bracket.mjs +1 -2
  393. package/dist/icons/cog.js +1 -3
  394. package/dist/icons/cog.mjs +1 -2
  395. package/dist/icons/copy.js +1 -3
  396. package/dist/icons/copy.mjs +1 -2
  397. package/dist/icons/discord.js +1 -3
  398. package/dist/icons/discord.mjs +13 -3
  399. package/dist/icons/document.js +1 -3
  400. package/dist/icons/document.mjs +1 -2
  401. package/dist/icons/download.js +1 -3
  402. package/dist/icons/download.mjs +1 -2
  403. package/dist/icons/drag.js +1 -3
  404. package/dist/icons/drag.mjs +1 -2
  405. package/dist/icons/ellipsis.js +1 -3
  406. package/dist/icons/ellipsis.mjs +1 -2
  407. package/dist/icons/email.js +1 -3
  408. package/dist/icons/email.mjs +1 -2
  409. package/dist/icons/external.js +1 -3
  410. package/dist/icons/external.mjs +1 -2
  411. package/dist/icons/facebook.js +1 -3
  412. package/dist/icons/facebook.mjs +13 -3
  413. package/dist/icons/filter.js +1 -3
  414. package/dist/icons/filter.mjs +1 -2
  415. package/dist/icons/flag.js +1 -3
  416. package/dist/icons/flag.mjs +1 -2
  417. package/dist/icons/github.js +1 -3
  418. package/dist/icons/github.mjs +13 -3
  419. package/dist/icons/google.js +1 -3
  420. package/dist/icons/google.mjs +1 -2
  421. package/dist/icons/home.js +1 -3
  422. package/dist/icons/home.mjs +1 -2
  423. package/dist/icons/image.js +1 -3
  424. package/dist/icons/image.mjs +1 -2
  425. package/dist/icons/instagram.js +1 -3
  426. package/dist/icons/instagram.mjs +13 -3
  427. package/dist/icons/italic.js +1 -3
  428. package/dist/icons/italic.mjs +1 -2
  429. package/dist/icons/link.js +1 -3
  430. package/dist/icons/link.mjs +1 -2
  431. package/dist/icons/linkedin.js +1 -3
  432. package/dist/icons/linkedin.mjs +13 -3
  433. package/dist/icons/loader.js +1 -3
  434. package/dist/icons/loader.mjs +40 -3
  435. package/dist/icons/lock.js +1 -3
  436. package/dist/icons/lock.mjs +1 -2
  437. package/dist/icons/logo-mark.js +1 -3
  438. package/dist/icons/logo-mark.mjs +1 -2
  439. package/dist/icons/logo-tagline.js +1 -3
  440. package/dist/icons/logo-tagline.mjs +1 -2
  441. package/dist/icons/map-pin.js +1 -3
  442. package/dist/icons/map-pin.mjs +1 -2
  443. package/dist/icons/menu.js +1 -3
  444. package/dist/icons/menu.mjs +1 -2
  445. package/dist/icons/minus.js +1 -3
  446. package/dist/icons/minus.mjs +24 -3
  447. package/dist/icons/muted.js +1 -3
  448. package/dist/icons/muted.mjs +1 -2
  449. package/dist/icons/pause.js +1 -3
  450. package/dist/icons/pause.mjs +1 -2
  451. package/dist/icons/pencil.js +1 -3
  452. package/dist/icons/pencil.mjs +1 -2
  453. package/dist/icons/pinterest.js +1 -3
  454. package/dist/icons/pinterest.mjs +13 -3
  455. package/dist/icons/play.js +1 -3
  456. package/dist/icons/play.mjs +1 -2
  457. package/dist/icons/plus.js +1 -3
  458. package/dist/icons/plus.mjs +24 -3
  459. package/dist/icons/powered-by.js +1 -3
  460. package/dist/icons/powered-by.mjs +1 -2
  461. package/dist/icons/qr-code.js +1 -3
  462. package/dist/icons/qr-code.mjs +1 -2
  463. package/dist/icons/queue.js +1 -3
  464. package/dist/icons/queue.mjs +1 -2
  465. package/dist/icons/refresh.js +1 -3
  466. package/dist/icons/refresh.mjs +1 -2
  467. package/dist/icons/refund.js +1 -3
  468. package/dist/icons/refund.mjs +1 -2
  469. package/dist/icons/rocket.js +1 -3
  470. package/dist/icons/rocket.mjs +1 -2
  471. package/dist/icons/search.js +1 -3
  472. package/dist/icons/search.mjs +1 -2
  473. package/dist/icons/share.js +1 -3
  474. package/dist/icons/share.mjs +1 -2
  475. package/dist/icons/shop.js +1 -3
  476. package/dist/icons/shop.mjs +1 -2
  477. package/dist/icons/snapchat.js +1 -3
  478. package/dist/icons/snapchat.mjs +13 -3
  479. package/dist/icons/social.js +39 -229
  480. package/dist/icons/social.mjs +29 -59
  481. package/dist/icons/sparkles.js +1 -3
  482. package/dist/icons/sparkles.mjs +1 -2
  483. package/dist/icons/spotify.js +1 -3
  484. package/dist/icons/spotify.mjs +13 -3
  485. package/dist/icons/star.js +1 -3
  486. package/dist/icons/star.mjs +1 -2
  487. package/dist/icons/switch.js +1 -3
  488. package/dist/icons/switch.mjs +1 -2
  489. package/dist/icons/threads.js +1 -3
  490. package/dist/icons/threads.mjs +13 -3
  491. package/dist/icons/tiktok.js +1 -3
  492. package/dist/icons/tiktok.mjs +13 -3
  493. package/dist/icons/times.js +1 -3
  494. package/dist/icons/times.mjs +1 -2
  495. package/dist/icons/trash.js +1 -3
  496. package/dist/icons/trash.mjs +1 -2
  497. package/dist/icons/twitch.js +1 -3
  498. package/dist/icons/twitch.mjs +13 -3
  499. package/dist/icons/underline.js +1 -3
  500. package/dist/icons/underline.mjs +1 -2
  501. package/dist/icons/upload.js +1 -3
  502. package/dist/icons/upload.mjs +1 -2
  503. package/dist/icons/volume.js +1 -3
  504. package/dist/icons/volume.mjs +1 -2
  505. package/dist/icons/warning.js +1 -3
  506. package/dist/icons/warning.mjs +24 -3
  507. package/dist/icons/whatsapp.js +1 -3
  508. package/dist/icons/whatsapp.mjs +13 -3
  509. package/dist/icons/x.js +1 -3
  510. package/dist/icons/x.mjs +13 -3
  511. package/dist/icons/youtube.js +1 -3
  512. package/dist/icons/youtube.mjs +13 -3
  513. package/dist/input-checkbox.js +37 -72
  514. package/dist/input-checkbox.mjs +24 -19
  515. package/dist/input-group.js +43 -153
  516. package/dist/input-group.mjs +125 -6
  517. package/dist/input-name.js +27 -294
  518. package/dist/input-name.mjs +9 -18
  519. package/dist/input-number.js +51 -106
  520. package/dist/input-number.mjs +32 -31
  521. package/dist/input-phone.js +28 -74
  522. package/dist/input-phone.mjs +15 -17
  523. package/dist/input-select.js +27 -63
  524. package/dist/input-select.mjs +91 -5
  525. package/dist/input-text.js +3 -27
  526. package/dist/input-text.mjs +29 -4
  527. package/dist/input-textarea.js +7 -28
  528. package/dist/input-textarea.mjs +6 -7
  529. package/dist/product.js +99 -727
  530. package/dist/product.mjs +375 -11
  531. package/dist/provider-font.js +10 -26
  532. package/dist/provider-font.mjs +4 -10
  533. package/dist/shared/address-lines.js +74 -0
  534. package/dist/shared/address-lines.mjs +55 -0
  535. package/dist/shared/badge.js +88 -0
  536. package/dist/shared/badge.mjs +59 -0
  537. package/dist/shared/button.js +106 -0
  538. package/dist/shared/button.mjs +77 -0
  539. package/dist/shared/card-asset.js +139 -0
  540. package/dist/shared/card-asset.mjs +110 -0
  541. package/dist/shared/card-prize.js +188 -0
  542. package/dist/shared/card-prize.mjs +159 -0
  543. package/dist/shared/carousel.js +175 -0
  544. package/dist/shared/carousel.mjs +146 -0
  545. package/dist/shared/copy-to-clipboard.js +129 -0
  546. package/dist/shared/copy-to-clipboard.mjs +100 -0
  547. package/dist/shared/divider.js +67 -0
  548. package/dist/shared/divider.mjs +48 -0
  549. package/dist/shared/empty.js +56 -0
  550. package/dist/shared/empty.mjs +37 -0
  551. package/dist/shared/error.js +112 -0
  552. package/dist/shared/error.mjs +83 -0
  553. package/dist/shared/fieldset.js +76 -0
  554. package/dist/shared/fieldset.mjs +57 -0
  555. package/dist/shared/form.js +48 -0
  556. package/dist/shared/form.mjs +29 -0
  557. package/dist/shared/indicator.js +50 -0
  558. package/dist/shared/indicator.mjs +31 -0
  559. package/dist/shared/input-checkbox-list.js +114 -0
  560. package/dist/shared/input-checkbox-list.mjs +85 -0
  561. package/dist/shared/input-range.js +111 -0
  562. package/dist/shared/input-range.mjs +92 -0
  563. package/dist/shared/input-switch.js +111 -0
  564. package/dist/shared/input-switch.mjs +82 -0
  565. package/dist/{embla-fade.js → shared/input-url.js} +18 -13
  566. package/dist/shared/input-url.mjs +17 -0
  567. package/dist/shared/lib/form.js +85 -0
  568. package/dist/shared/lib/form.mjs +59 -0
  569. package/dist/shared/lib/helpers.js +401 -0
  570. package/dist/shared/lib/helpers.mjs +341 -0
  571. package/dist/shared/lib/icon-labels.js +53 -0
  572. package/dist/shared/lib/icon-labels.mjs +20 -0
  573. package/dist/shared/lib/yup.js +83 -0
  574. package/dist/shared/lib/yup.mjs +50 -0
  575. package/dist/shared/loader.js +124 -0
  576. package/dist/shared/loader.mjs +90 -0
  577. package/dist/shared/overlay.js +73 -0
  578. package/dist/shared/overlay.mjs +44 -0
  579. package/dist/shared/progress.js +75 -0
  580. package/dist/shared/progress.mjs +56 -0
  581. package/dist/shared/provider-recaptcha.js +43 -0
  582. package/dist/shared/provider-recaptcha.mjs +24 -0
  583. package/dist/shared/sortable.js +227 -0
  584. package/dist/shared/sortable.mjs +198 -0
  585. package/dist/shared/tabs.js +140 -0
  586. package/dist/shared/tabs.mjs +111 -0
  587. package/dist/shared/tooltip.js +108 -0
  588. package/dist/shared/tooltip.mjs +79 -0
  589. package/dist/styles.js +27 -23
  590. package/dist/styles.mjs +89 -18
  591. package/dist/video.js +16 -86
  592. package/dist/video.mjs +8 -14
  593. package/dist/wrapper-gradient.js +4 -6
  594. package/dist/wrapper-gradient.mjs +202 -4
  595. package/package.json +989 -20
  596. package/types/bridge/advertisements.d.ts +33 -0
  597. package/types/bridge/countdown.d.ts +11 -0
  598. package/types/bridge/fields.d.ts +29 -0
  599. package/types/bridge/form-subdomain-embed.d.ts +26 -0
  600. package/types/bridge/form-subdomain-header.d.ts +14 -0
  601. package/types/bridge/form-subdomain-issue.d.ts +16 -0
  602. package/types/bridge/form-subdomain-prize.d.ts +22 -0
  603. package/types/bridge/form-subdomain-shop-modal.d.ts +41 -0
  604. package/types/bridge/form-subdomain-shop.d.ts +14 -0
  605. package/types/bridge/form-subdomain.d.ts +69 -0
  606. package/types/bridge/lib/age-gate.d.ts +11 -0
  607. package/types/bridge/lib/checkout-kit.d.ts +27 -0
  608. package/types/bridge/lib/constants.d.ts +5 -0
  609. package/types/bridge/lib/css.d.ts +3 -0
  610. package/types/bridge/lib/recaptcha.d.ts +5 -0
  611. package/types/bridge/lib/url.d.ts +21 -0
  612. package/types/bridge/lib/yup.d.ts +20 -0
  613. package/types/bridge/product-tile.d.ts +26 -0
  614. package/types/bridge/provider-analytics.d.ts +25 -0
  615. package/types/bridge/share-button.d.ts +18 -0
  616. package/types/bridge/subdomain-content.d.ts +25 -0
  617. package/types/bridge/template-layout.d.ts +12 -0
  618. package/types/bridge/template-modal.d.ts +46 -0
  619. package/types/bridge/template-not-found.d.ts +9 -0
  620. package/types/bridge/template-subdomain-gallery.d.ts +25 -0
  621. package/types/bridge/template-subdomain-link.d.ts +18 -0
  622. package/types/bridge/template-subdomain.d.ts +22 -0
  623. package/types/dashboard/accordion.d.ts +25 -0
  624. package/types/dashboard/avatar.d.ts +17 -0
  625. package/types/dashboard/card-affiliate.d.ts +24 -0
  626. package/types/dashboard/card-connection.d.ts +23 -0
  627. package/types/dashboard/card-data-item.d.ts +15 -0
  628. package/types/dashboard/card-integration.d.ts +24 -0
  629. package/types/dashboard/card-metric.d.ts +16 -0
  630. package/types/dashboard/card-note.d.ts +24 -0
  631. package/types/dashboard/card-order.d.ts +25 -0
  632. package/types/dashboard/card-overage.d.ts +26 -0
  633. package/types/dashboard/card-payment-method.d.ts +16 -0
  634. package/types/dashboard/card-plan.d.ts +28 -0
  635. package/types/dashboard/card-product.d.ts +14 -0
  636. package/types/dashboard/card-score.d.ts +38 -0
  637. package/types/dashboard/card-section.d.ts +13 -0
  638. package/types/dashboard/card-setting.d.ts +21 -0
  639. package/types/dashboard/card-task.d.ts +34 -0
  640. package/types/dashboard/card-template.d.ts +34 -0
  641. package/types/dashboard/card-tile.d.ts +54 -0
  642. package/types/dashboard/card-utm.d.ts +20 -0
  643. package/types/dashboard/carousel-tiles.d.ts +13 -0
  644. package/types/dashboard/code-formatter.d.ts +14 -0
  645. package/types/dashboard/drawer-subscription.d.ts +35 -0
  646. package/types/dashboard/drawer.d.ts +16 -0
  647. package/types/dashboard/dropdown.d.ts +33 -0
  648. package/types/dashboard/form-action.d.ts +20 -0
  649. package/types/dashboard/form-address.d.ts +28 -0
  650. package/types/dashboard/form-admin-campaign.d.ts +19 -0
  651. package/types/dashboard/form-admin-invoice-refund.d.ts +16 -0
  652. package/types/dashboard/form-admin-oauth.d.ts +20 -0
  653. package/types/dashboard/form-admin-organization.d.ts +17 -0
  654. package/types/dashboard/form-admin-provider.d.ts +33 -0
  655. package/types/dashboard/form-admin-referrer.d.ts +18 -0
  656. package/types/dashboard/form-admin-subscription-custom.d.ts +31 -0
  657. package/types/dashboard/form-admin-template.d.ts +16 -0
  658. package/types/dashboard/form-admin-user-credit.d.ts +12 -0
  659. package/types/dashboard/form-admin-user-permissions.d.ts +16 -0
  660. package/types/dashboard/form-admin-user-status.d.ts +11 -0
  661. package/types/dashboard/form-admin-utm.d.ts +39 -0
  662. package/types/dashboard/form-ai.d.ts +64 -0
  663. package/types/dashboard/form-auth.d.ts +64 -0
  664. package/types/dashboard/form-credit.d.ts +10 -0
  665. package/types/dashboard/form-file-upload.d.ts +16 -0
  666. package/types/dashboard/form-file.d.ts +33 -0
  667. package/types/dashboard/form-filters-analytics.d.ts +40 -0
  668. package/types/dashboard/form-filters.d.ts +70 -0
  669. package/types/dashboard/form-note.d.ts +15 -0
  670. package/types/dashboard/form-notification.d.ts +30 -0
  671. package/types/dashboard/form-organization-affiliate.d.ts +29 -0
  672. package/types/dashboard/form-organization-brand.d.ts +37 -0
  673. package/types/dashboard/form-organization-campaign-advertisement.d.ts +49 -0
  674. package/types/dashboard/form-organization-campaign-agreement.d.ts +25 -0
  675. package/types/dashboard/form-organization-campaign-draw.d.ts +30 -0
  676. package/types/dashboard/form-organization-campaign-field-email.d.ts +31 -0
  677. package/types/dashboard/form-organization-campaign-field-name.d.ts +28 -0
  678. package/types/dashboard/form-organization-campaign-field-number.d.ts +27 -0
  679. package/types/dashboard/form-organization-campaign-field-phone.d.ts +29 -0
  680. package/types/dashboard/form-organization-campaign-field-select.d.ts +29 -0
  681. package/types/dashboard/form-organization-campaign-field-text.d.ts +30 -0
  682. package/types/dashboard/form-organization-campaign-field-textarea.d.ts +28 -0
  683. package/types/dashboard/form-organization-campaign-integration-age.d.ts +24 -0
  684. package/types/dashboard/form-organization-campaign-integration-enable.d.ts +24 -0
  685. package/types/dashboard/form-organization-campaign-integration-geocode.d.ts +27 -0
  686. package/types/dashboard/form-organization-campaign-integration-gtm.d.ts +18 -0
  687. package/types/dashboard/form-organization-campaign-lead.d.ts +22 -0
  688. package/types/dashboard/form-organization-campaign-link.d.ts +28 -0
  689. package/types/dashboard/form-organization-campaign-page-affiliates.d.ts +16 -0
  690. package/types/dashboard/form-organization-campaign-page-embed.d.ts +14 -0
  691. package/types/dashboard/form-organization-campaign-page-preview.d.ts +23 -0
  692. package/types/dashboard/form-organization-campaign-page-qr.d.ts +44 -0
  693. package/types/dashboard/form-organization-campaign-page-share.d.ts +23 -0
  694. package/types/dashboard/form-organization-campaign-page-slug.d.ts +23 -0
  695. package/types/dashboard/form-organization-campaign-page.d.ts +43 -0
  696. package/types/dashboard/form-organization-campaign-prize-edit.d.ts +39 -0
  697. package/types/dashboard/form-organization-campaign-prize.d.ts +11 -0
  698. package/types/dashboard/form-organization-campaign-range.d.ts +24 -0
  699. package/types/dashboard/form-organization-campaign.d.ts +49 -0
  700. package/types/dashboard/form-organization-connection.d.ts +47 -0
  701. package/types/dashboard/form-organization-export.d.ts +21 -0
  702. package/types/dashboard/form-organization-file-frame.d.ts +20 -0
  703. package/types/dashboard/form-organization-file.d.ts +33 -0
  704. package/types/dashboard/form-organization-identity.d.ts +87 -0
  705. package/types/dashboard/form-organization-member.d.ts +25 -0
  706. package/types/dashboard/form-organization-segment.d.ts +32 -0
  707. package/types/dashboard/form-organization-workflow.d.ts +78 -0
  708. package/types/dashboard/form-organization.d.ts +50 -0
  709. package/types/dashboard/form-otc.d.ts +29 -0
  710. package/types/dashboard/form-payment-methods.d.ts +22 -0
  711. package/types/dashboard/form-profile.d.ts +23 -0
  712. package/types/dashboard/form-stripe-promotion.d.ts +12 -0
  713. package/types/dashboard/form-stripe.d.ts +20 -0
  714. package/types/dashboard/form-verify-prize.d.ts +40 -0
  715. package/types/dashboard/google.d.ts +48 -0
  716. package/types/dashboard/guard-navigation.d.ts +11 -0
  717. package/types/dashboard/guide.d.ts +23 -0
  718. package/types/dashboard/iframe.d.ts +18 -0
  719. package/types/dashboard/input-address-saved.d.ts +9 -0
  720. package/types/dashboard/input-array.d.ts +56 -0
  721. package/types/dashboard/input-color.d.ts +20 -0
  722. package/types/dashboard/input-combobox.d.ts +30 -0
  723. package/types/dashboard/input-date.d.ts +32 -0
  724. package/types/dashboard/input-editor.d.ts +32 -0
  725. package/types/dashboard/input-fields.d.ts +49 -0
  726. package/types/dashboard/input-file.d.ts +30 -0
  727. package/types/dashboard/input-font.d.ts +20 -0
  728. package/types/dashboard/input-group-ai.d.ts +24 -0
  729. package/types/dashboard/input-radio.d.ts +19 -0
  730. package/types/dashboard/input-resource.d.ts +33 -0
  731. package/types/dashboard/input-secret.d.ts +32 -0
  732. package/types/dashboard/input-time.d.ts +25 -0
  733. package/types/dashboard/lib/confetti.d.ts +2 -0
  734. package/types/dashboard/lib/connection-controls.d.ts +12 -0
  735. package/types/dashboard/lib/features.d.ts +10 -0
  736. package/types/dashboard/lib/frames.d.ts +12 -0
  737. package/types/dashboard/lib/geo.d.ts +37 -0
  738. package/types/dashboard/lib/hooks.d.ts +65 -0
  739. package/types/dashboard/lib/navigation.d.ts +24 -0
  740. package/types/dashboard/lib/otc.d.ts +10 -0
  741. package/types/dashboard/lib/overage.d.ts +9 -0
  742. package/types/dashboard/lib/table-actions.d.ts +18 -0
  743. package/types/dashboard/lib/time-slots.d.ts +34 -0
  744. package/types/dashboard/lib/trickle.d.ts +11 -0
  745. package/types/dashboard/lib/uppy.d.ts +36 -0
  746. package/types/dashboard/lib/utm.d.ts +32 -0
  747. package/types/dashboard/link-back.d.ts +15 -0
  748. package/types/dashboard/link.d.ts +17 -0
  749. package/types/dashboard/list-resource.d.ts +39 -0
  750. package/types/dashboard/list.d.ts +26 -0
  751. package/types/dashboard/menu.d.ts +65 -0
  752. package/types/dashboard/modal.d.ts +20 -0
  753. package/types/dashboard/notes.d.ts +20 -0
  754. package/types/dashboard/notice.d.ts +20 -0
  755. package/types/dashboard/paged.d.ts +57 -0
  756. package/types/dashboard/provider-resource.d.ts +29 -0
  757. package/types/dashboard/provider-ui.d.ts +17 -0
  758. package/types/dashboard/provider.d.ts +12 -0
  759. package/types/dashboard/recharts.d.ts +32 -0
  760. package/types/dashboard/steps.d.ts +40 -0
  761. package/types/dashboard/swatch.d.ts +14 -0
  762. package/types/dashboard/table-cell-title.d.ts +24 -0
  763. package/types/dashboard/table.d.ts +106 -0
  764. package/types/dashboard/template-dashboard.d.ts +110 -0
  765. package/types/dashboard/template-not-found.d.ts +14 -0
  766. package/types/dashboard/template-socket.d.ts +17 -0
  767. package/types/dashboard/template-suspended.d.ts +12 -0
  768. package/types/dashboard/template-ui.d.ts +14 -0
  769. package/types/dashboard/wrapper-ai.d.ts +12 -0
  770. package/types/input-group.d.ts +1 -0
  771. package/types/input-phone.d.ts +2 -0
  772. package/types/input-textarea.d.ts +2 -0
  773. package/types/shared/address-lines.d.ts +14 -0
  774. package/types/shared/badge.d.ts +14 -0
  775. package/types/shared/button.d.ts +29 -0
  776. package/types/shared/card-asset.d.ts +29 -0
  777. package/types/shared/card-prize.d.ts +27 -0
  778. package/types/shared/carousel.d.ts +21 -0
  779. package/types/shared/copy-to-clipboard.d.ts +23 -0
  780. package/types/shared/divider.d.ts +11 -0
  781. package/types/shared/empty.d.ts +18 -0
  782. package/types/shared/error.d.ts +17 -0
  783. package/types/shared/fieldset.d.ts +17 -0
  784. package/types/shared/form.d.ts +13 -0
  785. package/types/shared/indicator.d.ts +10 -0
  786. package/types/shared/input-checkbox-list.d.ts +20 -0
  787. package/types/shared/input-range.d.ts +19 -0
  788. package/types/shared/input-switch.d.ts +16 -0
  789. package/types/shared/input-url.d.ts +14 -0
  790. package/types/shared/lib/form.d.ts +28 -0
  791. package/types/shared/lib/helpers.d.ts +145 -0
  792. package/types/shared/lib/icon-labels.d.ts +6 -0
  793. package/types/shared/lib/yup.d.ts +19 -0
  794. package/types/shared/loader.d.ts +14 -0
  795. package/types/shared/overlay.d.ts +20 -0
  796. package/types/shared/progress.d.ts +14 -0
  797. package/types/shared/provider-recaptcha.d.ts +10 -0
  798. package/types/shared/sortable.d.ts +14 -0
  799. package/types/shared/tabs.d.ts +32 -0
  800. package/types/shared/tooltip.d.ts +18 -0
  801. package/types/styles.d.ts +4 -0
  802. package/dist/chunk-24RIMAX7.mjs +0 -18
  803. package/dist/chunk-2ZYGRSSA.mjs +0 -45
  804. package/dist/chunk-34VHCLEM.mjs +0 -18
  805. package/dist/chunk-3ZVT66SF.mjs +0 -18
  806. package/dist/chunk-6F23WKP2.mjs +0 -104
  807. package/dist/chunk-7GRIGQDC.mjs +0 -98
  808. package/dist/chunk-DTGGUHVT.mjs +0 -18
  809. package/dist/chunk-FYA7EAMR.mjs +0 -29
  810. package/dist/chunk-G3FIQDKF.mjs +0 -18
  811. package/dist/chunk-GDO334JM.mjs +0 -18
  812. package/dist/chunk-GFDZ7ER6.mjs +0 -29
  813. package/dist/chunk-HH7WF5BT.mjs +0 -29
  814. package/dist/chunk-KJMXWB22.mjs +0 -18
  815. package/dist/chunk-KSCQQUFC.mjs +0 -89
  816. package/dist/chunk-OSTKXL5W.mjs +0 -18
  817. package/dist/chunk-PLX5YT4F.mjs +0 -18
  818. package/dist/chunk-PNM4PZ4L.mjs +0 -387
  819. package/dist/chunk-PT7UR6AO.mjs +0 -208
  820. package/dist/chunk-Q3UIVGPQ.mjs +0 -29
  821. package/dist/chunk-S6X5EEMX.mjs +0 -18
  822. package/dist/chunk-T5QQBFM3.mjs +0 -29
  823. package/dist/chunk-TOR3Z64G.mjs +0 -18
  824. package/dist/chunk-WQXZE4EX.mjs +0 -18
  825. package/dist/chunk-WRQM5ECM.mjs +0 -18
  826. package/dist/chunk-WUZE3BIA.mjs +0 -122
  827. package/dist/chunk-Y466XTIK.mjs +0 -37
  828. package/dist/chunk-YEC7KSKN.mjs +0 -18
  829. package/dist/embla-fade.mjs +0 -6
  830. package/dist/embla.mjs +0 -6
  831. package/dist/input-group-error.js +0 -132
  832. package/dist/input-group-error.mjs +0 -7
  833. package/types/embla-fade.d.ts +0 -2
  834. package/types/embla.d.ts +0 -2
  835. package/types/input-group-error.d.ts +0 -14
@@ -26,1021 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // components/advertisement.js
31
29
  var advertisement_exports = {};
32
30
  __export(advertisement_exports, {
33
31
  default: () => advertisement_default
34
32
  });
35
33
  module.exports = __toCommonJS(advertisement_exports);
36
- var import_cdn2 = require("@drawbridge/drawbridge-utils/cdn");
37
-
38
- // components/product.js
39
- var import_react5 = require("react");
40
- var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
41
- var import_cdn = require("@drawbridge/shopify/cdn");
42
- var import_drawbridge_utils = require("@drawbridge/drawbridge-utils");
43
-
44
- // components/input-group.js
45
- var import_react2 = require("react");
46
-
47
- // components/input-group-error.js
48
- var import_react = require("react");
49
-
50
- // components/icons/warning.js
51
34
  var import_jsx_runtime = require("react/jsx-runtime");
52
- var Warning = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
53
- "svg",
54
- {
55
- ...{
56
- fill: "none",
57
- stroke: "currentColor",
58
- strokeWidth: 1.5,
59
- viewBox: "0 0 24 24",
60
- ...props
61
- },
62
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
63
- "path",
64
- {
65
- ...{
66
- d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z",
67
- strokeLinecap: "round",
68
- strokeLinejoin: "round"
69
- }
70
- }
71
- )
72
- }
73
- );
74
- var warning_default = Warning;
75
-
76
- // components/input-group-error.js
77
- var import_jsx_runtime2 = require("react/jsx-runtime");
78
- var InputGroupError = ({
79
- className,
80
- error,
81
- label,
82
- message,
83
- style = {}
84
- }) => {
85
- var _a, _b, _c, _d;
86
- if (!(error || message)) {
87
- return null;
88
- }
89
- const classes = [
90
- "flex items-center justify-start space-x-2 py-1 rounded text-sm"
91
- ];
92
- if (error) {
93
- classes.push("px-1.5");
94
- }
95
- if (className) {
96
- classes.push(className);
97
- }
98
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
99
- "p",
100
- {
101
- ...{
102
- className: classes.join(" "),
103
- ...error && {
104
- style: {
105
- backgroundColor: (((_b = (_a = style == null ? void 0 : style.text) == null ? void 0 : _a.color) == null ? void 0 : _b.rgb) || "rgb( 0, 0, 0 )").replace(")", ",.1)"),
106
- color: ((_d = (_c = style == null ? void 0 : style.text) == null ? void 0 : _c.color) == null ? void 0 : _d.rgb) || "rgb( 0, 0, 0 )"
107
- }
108
- }
109
- },
110
- children: [
111
- error && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react.Fragment, { children: [
112
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
113
- warning_default,
114
- {
115
- ...{
116
- // shrink-0: a long error ("Expected your CNAME record to be …
117
- // but found …") wraps, and a flex item with no floor gets
118
- // squeezed to a sliver beside it.
119
- className: "w-4 h-4 shrink-0",
120
- "aria-hidden": true
121
- }
122
- }
123
- ),
124
- /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
125
- "span",
126
- {
127
- ...{
128
- className: "text-[0px] opacity-0 w-0 h-0 absolute"
129
- },
130
- children: [
131
- label ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react.Fragment, { children: [
132
- label,
133
- ": "
134
- ] }) : null,
135
- error
136
- ]
137
- }
138
- )
139
- ] }),
140
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
141
- "span",
142
- {
143
- ...{
144
- ...error && {
145
- "aria-hidden": true
146
- }
147
- },
148
- children: error || message
149
- }
150
- )
151
- ]
152
- }
153
- );
154
- };
155
- var input_group_error_default = InputGroupError;
156
-
157
- // components/styles.js
158
- var WHITE = "rgb( 255, 255, 255 )";
159
- var BLACK = "rgb( 0, 0, 0 )";
160
- var bgColor = (style) => {
161
- var _a, _b;
162
- return ((_b = (_a = style == null ? void 0 : style.background) == null ? void 0 : _a.color) == null ? void 0 : _b.rgb) || WHITE;
163
- };
164
- var textColor = (style) => {
165
- var _a, _b;
166
- return ((_b = (_a = style == null ? void 0 : style.text) == null ? void 0 : _a.color) == null ? void 0 : _b.rgb) || BLACK;
167
- };
168
- var DEFAULT_FAMILY = "Roboto Flex";
169
- var FONT_FALLBACK = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif';
170
- var toFontFamily = (family) => '"' + (family || DEFAULT_FAMILY) + '", ' + FONT_FALLBACK;
171
- var toFontWeight = (variant) => {
172
- var _a;
173
- if (!variant) return void 0;
174
- if (variant.includes("italic")) return (_a = variant.match(/^\d+/)) == null ? void 0 : _a[0];
175
- if (variant.includes("regular")) return "normal";
176
- return variant;
177
- };
178
- var toFontStyle = (variant) => (variant == null ? void 0 : variant.includes("italic")) ? "italic" : void 0;
179
- var buttonStyle = (style) => {
180
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
181
- return {
182
- backgroundColor: ((_c = (_b = (_a = style == null ? void 0 : style.button) == null ? void 0 : _a.background) == null ? void 0 : _b.color) == null ? void 0 : _c.rgb) || textColor(style),
183
- borderColor: ((_f = (_e = (_d = style == null ? void 0 : style.button) == null ? void 0 : _d.background) == null ? void 0 : _e.color) == null ? void 0 : _f.rgb) || textColor(style),
184
- borderRadius: ((_g = style == null ? void 0 : style.button) == null ? void 0 : _g.radius) != null ? style.button.radius / 4 + "px" : void 0,
185
- color: ((_j = (_i = (_h = style == null ? void 0 : style.button) == null ? void 0 : _h.text) == null ? void 0 : _i.color) == null ? void 0 : _j.rgb) || bgColor(style)
186
- };
187
- };
188
- var headerStyle = (style) => {
189
- var _a, _b, _c, _d;
190
- return {
191
- fontFamily: toFontFamily((_a = style == null ? void 0 : style.heading) == null ? void 0 : _a.family),
192
- fontWeight: toFontWeight((_b = style == null ? void 0 : style.heading) == null ? void 0 : _b.weight),
193
- fontStyle: toFontStyle((_c = style == null ? void 0 : style.heading) == null ? void 0 : _c.weight),
194
- textTransform: (_d = style == null ? void 0 : style.heading) == null ? void 0 : _d.transform
195
- };
196
- };
197
- var inputStyle = (style) => {
198
- var _a;
199
- return {
200
- backgroundColor: bgColor(style),
201
- borderColor: textColor(style),
202
- borderRadius: ((_a = style == null ? void 0 : style.input) == null ? void 0 : _a.radius) != null ? style.input.radius / 4 + "px" : void 0,
203
- color: textColor(style)
204
- };
205
- };
206
-
207
- // components/input-group.js
208
- var import_jsx_runtime3 = require("react/jsx-runtime");
209
- var Addon = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
210
- "span",
211
- {
212
- ...{
213
- className: typeof children === "string" ? "flex items-center shrink-0 px-3 font-mono text-sm opacity-60 whitespace-nowrap select-none" : "flex items-center shrink-0 px-2"
214
- },
215
- children
216
- }
217
- );
218
- var InputGroup = ({
219
- after,
220
- before,
221
- className,
222
- error,
223
- input,
224
- label,
225
- message,
226
- style = {},
227
- ...rest
228
- }) => {
229
- const generated = (0, import_react2.useId)();
230
- const id = (0, import_react2.isValidElement)(input) ? input.props.id || generated : generated;
231
- const named = (0, import_react2.isValidElement)(input) && !input.props.id ? (0, import_react2.cloneElement)(input, { id }) : input;
232
- const addons = after != null || before != null;
233
- const control = addons && (0, import_react2.isValidElement)(named) ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
234
- "div",
235
- {
236
- ...{
237
- className: "input flex items-center overflow-hidden",
238
- style: {
239
- ...inputStyle(style),
240
- // Inline, not `p-0`: see InputNumber — share's unlayered `.input`
241
- // padding beats a layered utility, an inline style beats both.
242
- padding: 0
243
- }
244
- },
245
- children: [
246
- before != null && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Addon, { children: before }),
247
- (0, import_react2.cloneElement)(named, {
248
- className: [named.props.className, "!border-0 !rounded-none !ring-0 !shadow-none flex-1 min-w-0"].filter(Boolean).join(" ")
249
- }),
250
- after != null && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Addon, { children: after })
251
- ]
252
- }
253
- ) : named;
254
- const classes = [
255
- "input-group"
256
- ];
257
- if (className) {
258
- classes.push(className);
259
- }
260
- if (error) {
261
- classes.push("error");
262
- }
263
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
264
- "div",
265
- {
266
- ...{
267
- className: classes.join(" "),
268
- "aria-live": "polite",
269
- ...(rest == null ? void 0 : rest["data-guide"]) && {
270
- "data-guide": rest["data-guide"]
271
- }
272
- },
273
- children: [
274
- label ? (
275
- // A real <label> (not a bare <span>) so the field name is announced by
276
- // screen readers, clicking the text focuses the control, and
277
- // getByLabel()/role queries can find it. The association comes from
278
- // `htmlFor`, never from the wrapping — see the note above the id.
279
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
280
- "label",
281
- {
282
- ...{
283
- className: "space-y-2 block",
284
- htmlFor: id
285
- },
286
- children: [
287
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
288
- "span",
289
- {
290
- ...{
291
- className: "block"
292
- },
293
- children: label
294
- }
295
- ),
296
- control
297
- ]
298
- }
299
- )
300
- ) : control,
301
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
302
- input_group_error_default,
303
- {
304
- ...{
305
- error,
306
- label,
307
- message,
308
- style
309
- }
310
- }
311
- )
312
- ]
313
- }
314
- );
315
- };
316
- var input_group_default = InputGroup;
317
-
318
- // components/input-select.js
319
- var import_react3 = require("react");
320
-
321
- // components/icons/chevron-down.js
322
- var import_jsx_runtime4 = require("react/jsx-runtime");
323
- var ChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
324
- "svg",
325
- {
326
- ...{
327
- fill: "none",
328
- stroke: "currentColor",
329
- strokeWidth: 1.5,
330
- viewBox: "0 0 24 24",
331
- ...props
332
- },
333
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
334
- "path",
335
- {
336
- ...{
337
- d: "m19.5 8.25-7.5 7.5-7.5-7.5",
338
- strokeLinecap: "round",
339
- strokeLinejoin: "round"
340
- }
341
- }
342
- )
343
- }
344
- );
345
- var chevron_down_default = ChevronDown;
346
-
347
- // components/input-select.js
348
- var import_jsx_runtime5 = require("react/jsx-runtime");
349
- var InputSelect = ({
350
- onChange,
351
- options = [],
352
- style,
353
- value,
354
- ...rest
355
- }) => {
356
- const [keyboard, setKeyboard] = (0, import_react3.useState)(false);
357
- (0, import_react3.useEffect)(() => {
358
- const down = (e) => {
359
- if (e.key === "Tab") setKeyboard(true);
360
- };
361
- const click = () => setKeyboard(false);
362
- window.addEventListener("keydown", down);
363
- window.addEventListener("mousedown", click);
364
- return () => {
365
- window.removeEventListener("keydown", down);
366
- window.removeEventListener("mousedown", click);
367
- };
368
- }, []);
369
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
370
- "div",
371
- {
372
- ...{
373
- className: "relative"
374
- },
375
- children: [
376
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
377
- "select",
378
- {
379
- ...{
380
- ...rest,
381
- className: "input appearance-none " + (keyboard ? "focus-visible:!outline-1 focus-visible:!ring-1 focus-visible:!ring-blue-600" : "focus-visible:!outline-0 focus-visible:!ring-0"),
382
- onChange: ({ target }) => onChange(target == null ? void 0 : target.value),
383
- style: inputStyle(style),
384
- value
385
- },
386
- children: [
387
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
388
- "option",
389
- {
390
- ...{
391
- disabled: true,
392
- "aria-label": "Select option",
393
- value: ""
394
- },
395
- children: "Select"
396
- }
397
- ),
398
- options.map(({ label, option, value: optValue }, key) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
399
- "option",
400
- {
401
- ...{
402
- value: optValue ?? option
403
- },
404
- children: label ?? option
405
- },
406
- "input-select-option-" + key
407
- ))
408
- ]
409
- }
410
- ),
411
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
412
- "div",
413
- {
414
- ...{
415
- "aria-hidden": true,
416
- className: "h-full flex items-center absolute inset-y-0 right-0 pointer-events-none px-2.5"
417
- },
418
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
419
- chevron_down_default,
420
- {
421
- ...{
422
- className: "w-5 h-5 text-inherit"
423
- }
424
- }
425
- )
426
- }
427
- )
428
- ]
429
- }
430
- );
431
- };
432
- var input_select_default = InputSelect;
433
-
434
- // components/wrapper-gradient.js
435
- var import_react4 = require("react");
436
- var import_jsx_runtime6 = require("react/jsx-runtime");
437
- var WrapperGradientContext = (0, import_react4.createContext)(null);
438
- var WrapperGradient = ({
439
- children,
440
- className,
441
- classNameGradient,
442
- classNameScroll,
443
- color,
444
- gradientTopOffset,
445
- horizontal = false
446
- }) => {
447
- const showX = horizontal === true || horizontal === "both";
448
- const showY = horizontal === false || horizontal === "both";
449
- const overflowClass = horizontal === "both" ? "overflow-scroll" : horizontal ? "overflow-x-scroll overflow-y-visible" : "overflow-y-scroll overflow-x-visible";
450
- const overscrollClass = horizontal ? "overscroll-x-none" : "";
451
- const themed = Boolean(color);
452
- const gradientDefaults = "absolute z-[2] pointer-events-none transition-all duration-[100ms] ";
453
- const classes = {
454
- container: [
455
- themed ? "relative" : "w-full relative",
456
- ...className ? [className] : []
457
- ],
458
- inner: [
459
- "w-full relative scroll-smooth hide-scrollbar",
460
- overscrollClass,
461
- overflowClass,
462
- ...classNameScroll ? [classNameScroll] : []
463
- ],
464
- topGradient: [
465
- gradientDefaults,
466
- "w-full -top-[1px]",
467
- ...themed ? [] : ["bg-gradient-to-b"],
468
- ...classNameGradient ? [classNameGradient] : themed ? ["h-10"] : ["from-white to-transparent h-10"]
469
- ],
470
- bottomGradient: [
471
- gradientDefaults,
472
- "w-full -bottom-[1px]",
473
- ...themed ? [] : ["bg-gradient-to-t"],
474
- ...classNameGradient ? [classNameGradient] : themed ? ["h-10"] : ["from-white to-transparent h-10"]
475
- ],
476
- leftGradient: [
477
- gradientDefaults,
478
- "h-full top-0 left-0",
479
- ...themed ? [] : ["bg-gradient-to-r"],
480
- ...classNameGradient ? [classNameGradient] : themed ? ["w-4"] : ["from-white from-30% to-transparent w-4"]
481
- ],
482
- rightGradient: [
483
- gradientDefaults,
484
- "h-full top-0 right-0",
485
- ...themed ? [] : ["bg-gradient-to-l"],
486
- ...classNameGradient ? [classNameGradient] : themed ? ["w-4"] : ["from-white from-30% to-transparent w-4"]
487
- ]
488
- };
489
- const gradients = {
490
- top: "linear-gradient( to bottom, " + color + " 0%, transparent 100% )",
491
- bottom: "linear-gradient( to top, " + color + " 0%, transparent 100% )",
492
- left: "linear-gradient( to right, " + color + " 0%, transparent 100% )",
493
- right: "linear-gradient( to left, " + color + " 0%, transparent 100% )"
494
- };
495
- const containerRef = (0, import_react4.useRef)(null);
496
- const [scroll, setScroll] = (0, import_react4.useState)({
497
- top: 0,
498
- left: 0,
499
- atBottom: true,
500
- atRight: true
501
- });
502
- (0, import_react4.useEffect)(
503
- () => {
504
- const container = containerRef.current;
505
- const handleScroll = () => {
506
- const { scrollTop, scrollLeft, scrollHeight, scrollWidth, clientHeight, clientWidth } = container;
507
- setScroll({
508
- top: scrollTop,
509
- left: scrollLeft,
510
- atBottom: scrollTop + clientHeight >= scrollHeight - 1,
511
- atRight: scrollLeft + clientWidth >= scrollWidth - 1
512
- });
513
- };
514
- const handleUpdate = () => {
515
- const { scrollHeight, scrollWidth, clientHeight, clientWidth } = container;
516
- if (scrollHeight <= clientHeight && scrollWidth <= clientWidth) {
517
- setScroll({
518
- top: 0,
519
- left: 0,
520
- atBottom: true,
521
- atRight: true
522
- });
523
- return;
524
- }
525
- ;
526
- handleScroll();
527
- };
528
- handleUpdate();
529
- container.addEventListener("scroll", handleScroll);
530
- const observer = new MutationObserver((mutations) => {
531
- for (const mutation of mutations) {
532
- if (mutation.type === "childList" && mutation.addedNodes.length > 0) {
533
- handleUpdate();
534
- break;
535
- }
536
- }
537
- });
538
- observer.observe(container, {
539
- childList: true,
540
- subtree: true
541
- });
542
- const resizeObserver = new ResizeObserver(handleUpdate);
543
- resizeObserver.observe(container);
544
- return () => {
545
- container.removeEventListener("scroll", handleScroll);
546
- observer.disconnect();
547
- resizeObserver.disconnect();
548
- };
549
- },
550
- [horizontal]
551
- );
552
- const contextValue = (0, import_react4.useMemo)(
553
- () => ({
554
- atBottom: scroll.atBottom,
555
- atRight: scroll.atRight
556
- }),
557
- [scroll.atBottom, scroll.atRight]
558
- );
559
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
560
- "div",
561
- {
562
- ...{
563
- className: classes.container.join(" ")
564
- },
565
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(WrapperGradientContext.Provider, { value: contextValue, children: [
566
- showY && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
567
- "div",
568
- {
569
- ...{
570
- className: classes.topGradient.join(" ") + (scroll.top > 5 ? " opacity-100 visible" : " opacity-0 invisible"),
571
- style: {
572
- ...themed && {
573
- backgroundImage: gradients.top
574
- },
575
- ...gradientTopOffset && {
576
- top: gradientTopOffset
577
- }
578
- }
579
- }
580
- }
581
- ),
582
- showX && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
583
- "div",
584
- {
585
- ...{
586
- className: classes.leftGradient.join(" ") + (scroll.left > 5 ? " opacity-100 visible" : " opacity-0 invisible"),
587
- style: {
588
- ...themed && {
589
- backgroundImage: gradients.left
590
- }
591
- }
592
- }
593
- }
594
- ),
595
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
596
- "div",
597
- {
598
- ...{
599
- className: classes.inner.join(" "),
600
- ref: containerRef
601
- },
602
- children
603
- }
604
- ),
605
- showY && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
606
- "div",
607
- {
608
- ...{
609
- className: classes.bottomGradient.join(" ") + (!scroll.atBottom ? " opacity-100 visible" : " opacity-0 invisible"),
610
- style: {
611
- ...themed && {
612
- backgroundImage: gradients.bottom
613
- }
614
- }
615
- }
616
- }
617
- ),
618
- showX && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
619
- "div",
620
- {
621
- ...{
622
- className: classes.rightGradient.join(" ") + (!scroll.atRight ? " opacity-100 visible" : " opacity-0 invisible"),
623
- style: {
624
- ...themed && {
625
- backgroundImage: gradients.right
626
- }
627
- }
628
- }
629
- }
630
- )
631
- ] })
632
- }
633
- );
634
- };
635
- var wrapper_gradient_default = WrapperGradient;
636
-
637
- // components/icons/loader.js
638
- var import_jsx_runtime7 = require("react/jsx-runtime");
639
- var Loader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
640
- "svg",
641
- {
642
- ...{
643
- fill: "none",
644
- stroke: "none",
645
- strokeWidth: 0,
646
- viewBox: "0 0 24 24",
647
- className: ["animate-spin", className].filter(Boolean).join(" "),
648
- ...props
649
- },
650
- children: [
651
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
652
- "circle",
653
- {
654
- ...{
655
- className: "opacity-25",
656
- cx: 12,
657
- cy: 12,
658
- r: 10,
659
- stroke: "currentColor",
660
- strokeWidth: 4
661
- }
662
- }
663
- ),
664
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
665
- "path",
666
- {
667
- ...{
668
- className: "opacity-75",
669
- fill: "currentColor",
670
- d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
671
- }
672
- }
673
- )
674
- ]
675
- }
676
- );
677
- var loader_default = Loader;
678
-
679
- // components/product.js
680
- var import_jsx_runtime8 = require("react/jsx-runtime");
681
- var DefaultImage = ({ alt, className, src, style }) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
682
- "img",
683
- {
684
- ...{
685
- alt,
686
- className,
687
- src,
688
- style
689
- }
690
- }
691
- );
692
- var Product = ({
693
- action = null,
694
- addToCart = true,
695
- buttonFontSize,
696
- disabled = false,
697
- errors = {},
698
- header,
699
- ImageComponent = DefaultImage,
700
- onAdd = () => {
701
- },
702
- onBuy = () => {
703
- },
704
- onVariantChange = () => {
705
- },
706
- product,
707
- style = {},
708
- variant
709
- }) => {
710
- var _a, _b, _c;
711
- const resolved = {
712
- ...style,
713
- background: {
714
- ...style == null ? void 0 : style.background,
715
- color: ((_a = style == null ? void 0 : style.background) == null ? void 0 : _a.color) || { hex: "#FFFFFF", rgb: "rgb( 255, 255, 255 )" }
716
- },
717
- text: {
718
- ...style == null ? void 0 : style.text,
719
- color: ((_b = style == null ? void 0 : style.text) == null ? void 0 : _b.color) || { hex: "#000000", rgb: "rgb( 0, 0, 0 )" }
720
- }
721
- };
722
- const imageRadius = ((_c = resolved == null ? void 0 : resolved.image) == null ? void 0 : _c.radius) != null ? resolved.image.radius + "px" : "12px";
723
- const available = (0, import_react5.useMemo)(
724
- () => ((product == null ? void 0 : product.variants) || []).filter((v) => v.availableForSale),
725
- [product]
726
- );
727
- const [activeImage, setActiveImage] = (0, import_react5.useState)(0);
728
- const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)();
729
- const selectedVariant = available.find((v) => v.id === variant) || available[0] || null;
730
- const images = (0, import_react5.useMemo)(
731
- () => {
732
- const variants = ((product == null ? void 0 : product.variants) || []).filter((v) => v.availableForSale);
733
- const result = [];
734
- const seen = /* @__PURE__ */ new Set();
735
- if (product == null ? void 0 : product.image) {
736
- seen.add(product.image);
737
- result.push({
738
- src: product.image,
739
- variant: null
740
- });
741
- }
742
- for (const v of variants) {
743
- if (v.image && !seen.has(v.image)) {
744
- seen.add(v.image);
745
- result.push({
746
- src: v.image,
747
- variant: v
748
- });
749
- }
750
- }
751
- return result;
752
- },
753
- [product]
754
- );
755
- (0, import_react5.useEffect)(
756
- () => {
757
- if (!emblaApi) return;
758
- const onSelect = () => {
759
- const idx = emblaApi.selectedScrollSnap();
760
- setActiveImage(idx);
761
- const img = images[idx];
762
- if (img == null ? void 0 : img.variant) onVariantChange(img.variant.id);
763
- };
764
- emblaApi.on("select", onSelect);
765
- return () => emblaApi.off("select", onSelect);
766
- },
767
- [emblaApi, images, onVariantChange]
768
- );
769
- const handleVariant = (value) => {
770
- onVariantChange(value);
771
- const v = available.find((x) => x.id === value);
772
- if (!(v == null ? void 0 : v.image)) return;
773
- const idx = images.findIndex((img) => img.src === v.image);
774
- if (idx >= 0) {
775
- setActiveImage(idx);
776
- emblaApi == null ? void 0 : emblaApi.scrollTo(idx);
777
- }
778
- ;
779
- };
780
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
781
- "div",
782
- {
783
- ...{
784
- className: "space-y-6",
785
- style: {
786
- backgroundColor: resolved.background.color.rgb,
787
- color: resolved.text.color.rgb
788
- }
789
- },
790
- children: [
791
- header,
792
- images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
793
- "div",
794
- {
795
- ...{
796
- className: "flex items-center " + (images.length > 1 ? "pr-12" : ""),
797
- style: {
798
- height: "12rem"
799
- }
800
- },
801
- children: [
802
- images.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
803
- wrapper_gradient_default,
804
- {
805
- ...{
806
- classNameScroll: "flex flex-col w-12 h-48 space-y-3",
807
- color: resolved.background.color.rgb
808
- },
809
- children: images.map(({ src }, key) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
810
- "button",
811
- {
812
- ...{
813
- // Active state is conveyed purely by a dimmed image (no border).
814
- className: "relative w-12 h-12 overflow-hidden shrink-0",
815
- onClick: () => {
816
- setActiveImage(key);
817
- emblaApi == null ? void 0 : emblaApi.scrollTo(key);
818
- },
819
- style: {
820
- borderRadius: imageRadius
821
- },
822
- type: "button"
823
- },
824
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
825
- ImageComponent,
826
- {
827
- ...{
828
- alt: product.title + " thumbnail " + key,
829
- className: "object-cover",
830
- fill: true,
831
- sizes: "48px",
832
- src: (0, import_cdn.cdnShopify)(src, "100x100", product == null ? void 0 : product.updatedAt) || src,
833
- // Always set opacity + transition so switching the active
834
- // thumbnail animates the fade in both directions.
835
- style: {
836
- opacity: activeImage === key ? 0.6 : 1,
837
- transition: "opacity 300ms ease"
838
- },
839
- unoptimized: true
840
- }
841
- }
842
- )
843
- },
844
- "thumbnail-" + key
845
- ))
846
- }
847
- ),
848
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
849
- "div",
850
- {
851
- ...{
852
- // Dimensions are inline rather than Tailwind size utilities:
853
- // those sizes live only in this package's dist, and a consuming
854
- // app's Tailwind scan of node_modules can lag and drop them,
855
- // silently collapsing the carousel. Inline styles are immune.
856
- className: "overflow-hidden m-auto",
857
- ref: emblaRef,
858
- style: {
859
- borderRadius: imageRadius,
860
- width: "12rem",
861
- height: "12rem"
862
- }
863
- },
864
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
865
- "div",
866
- {
867
- ...{
868
- className: "flex",
869
- style: {
870
- height: "100%"
871
- }
872
- },
873
- children: images.map(({ src }, key) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
874
- "div",
875
- {
876
- ...{
877
- className: "min-w-0 relative bg-gray-100",
878
- style: {
879
- flex: "0 0 100%",
880
- height: "100%"
881
- }
882
- },
883
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
884
- ImageComponent,
885
- {
886
- ...{
887
- alt: product.title + " image " + key,
888
- className: "object-cover",
889
- fill: true,
890
- sizes: "192px",
891
- src: (0, import_cdn.cdnShopify)(src, "400x400", product == null ? void 0 : product.updatedAt) || src,
892
- unoptimized: true
893
- }
894
- }
895
- )
896
- },
897
- "image-" + key
898
- ))
899
- }
900
- )
901
- }
902
- )
903
- ]
904
- }
905
- ),
906
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
907
- "div",
908
- {
909
- ...{
910
- className: "text-center space-y-2"
911
- },
912
- children: [
913
- (product == null ? void 0 : product.title) && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
914
- "h2",
915
- {
916
- ...{
917
- className: "max-w-80 mx-auto",
918
- style: headerStyle(style)
919
- },
920
- children: product == null ? void 0 : product.title
921
- }
922
- ),
923
- !available.length ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { children: "Unavailable" }) : (selectedVariant == null ? void 0 : selectedVariant.price) && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { children: (0, import_drawbridge_utils.formatCurrency)({
924
- code: selectedVariant.currency,
925
- display: "parts",
926
- value: selectedVariant.price
927
- }) }),
928
- (product == null ? void 0 : product.description) && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
929
- wrapper_gradient_default,
930
- {
931
- ...{
932
- classNameScroll: "max-h-[4.5em]",
933
- color: resolved.background.color.rgb
934
- },
935
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { children: product.description })
936
- }
937
- )
938
- ]
939
- }
940
- ),
941
- available.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
942
- input_group_default,
943
- {
944
- ...{
945
- error: errors == null ? void 0 : errors.variant,
946
- input: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
947
- input_select_default,
948
- {
949
- ...{
950
- disabled,
951
- onChange: handleVariant,
952
- options: available.map((v) => ({
953
- label: v.title,
954
- value: v.id
955
- })),
956
- style: resolved,
957
- value: variant || ""
958
- }
959
- }
960
- ),
961
- style: resolved
962
- }
963
- }
964
- ),
965
- available.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
966
- input_group_default,
967
- {
968
- ...{
969
- error: errors == null ? void 0 : errors.root,
970
- input: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
971
- "div",
972
- {
973
- ...{
974
- className: addToCart ? "grid grid-cols-2 gap-5" : ""
975
- },
976
- children: [
977
- addToCart && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
978
- "button",
979
- {
980
- ...{
981
- className: "button justify-center border py-3 px-4 rounded",
982
- disabled: disabled || Boolean(action),
983
- onClick: onAdd,
984
- style: {
985
- ...inputStyle(resolved),
986
- borderRadius: buttonStyle(resolved).borderRadius,
987
- ...buttonFontSize && {
988
- fontSize: buttonFontSize
989
- }
990
- },
991
- type: "button"
992
- },
993
- children: action === "add" ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
994
- loader_default,
995
- {
996
- ...{
997
- className: "w-6 h-6 animate-spin"
998
- }
999
- }
1000
- ) : "Add to cart"
1001
- }
1002
- ),
1003
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1004
- "button",
1005
- {
1006
- ...{
1007
- className: "button justify-center py-3 px-4 rounded" + (addToCart ? "" : " w-full"),
1008
- disabled: disabled || Boolean(action),
1009
- onClick: onBuy,
1010
- style: {
1011
- ...buttonStyle(resolved),
1012
- ...buttonFontSize && {
1013
- fontSize: buttonFontSize
1014
- }
1015
- },
1016
- type: "button"
1017
- },
1018
- children: action === "buy" ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1019
- loader_default,
1020
- {
1021
- ...{
1022
- className: "w-6 h-6 animate-spin"
1023
- }
1024
- }
1025
- ) : "Buy now"
1026
- }
1027
- )
1028
- ]
1029
- }
1030
- ),
1031
- style: resolved
1032
- }
1033
- }
1034
- )
1035
- ]
1036
- }
1037
- );
1038
- };
1039
- var product_default = Product;
1040
-
1041
- // components/advertisement.js
1042
- var import_jsx_runtime9 = require("react/jsx-runtime");
1043
- var DefaultImage2 = ({ alt, className, src }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
35
+ var import_cdn = require("@drawbridge/drawbridge-utils/cdn");
36
+ var import_button = __toESM(require("./shared/button"));
37
+ var import_empty = __toESM(require("./shared/empty"));
38
+ var import_product = __toESM(require("./product"));
39
+ var import_video = __toESM(require("./video"));
40
+ const DefaultImage = ({ alt, className, src }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1044
41
  "img",
1045
42
  {
1046
43
  ...{
@@ -1050,17 +47,7 @@ var DefaultImage2 = ({ alt, className, src }) => /* @__PURE__ */ (0, import_jsx_
1050
47
  }
1051
48
  }
1052
49
  );
1053
- var DefaultVideo = ({ className, hls, mp4, poster }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1054
- "video",
1055
- {
1056
- ...{
1057
- className,
1058
- poster,
1059
- src: mp4 || hls
1060
- }
1061
- }
1062
- );
1063
- var Advertisement = ({
50
+ const Advertisement = ({
1064
51
  action = null,
1065
52
  brand,
1066
53
  button,
@@ -1070,7 +57,7 @@ var Advertisement = ({
1070
57
  file,
1071
58
  fonts,
1072
59
  header,
1073
- ImageComponent = DefaultImage2,
60
+ ImageComponent = DefaultImage,
1074
61
  lead,
1075
62
  onAdd,
1076
63
  onBuy,
@@ -1085,12 +72,12 @@ var Advertisement = ({
1085
72
  title,
1086
73
  url,
1087
74
  variant,
1088
- VideoComponent = DefaultVideo
75
+ VideoComponent = import_video.default
1089
76
  }) => {
1090
77
  var _a, _b, _c, _d, _e, _f;
1091
78
  if (product) {
1092
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1093
- product_default,
79
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
80
+ import_product.default,
1094
81
  {
1095
82
  ...{
1096
83
  action,
@@ -1124,7 +111,7 @@ var Advertisement = ({
1124
111
  };
1125
112
  const isVideo = (_c = file == null ? void 0 : file.mimetype) == null ? void 0 : _c.includes("video");
1126
113
  const imageRadius = ((_d = resolved == null ? void 0 : resolved.image) == null ? void 0 : _d.radius) != null ? resolved.image.radius + "px" : "12px";
1127
- const card = (assetNode) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
114
+ const card = (assetNode) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
1128
115
  "div",
1129
116
  {
1130
117
  ...{
@@ -1135,19 +122,40 @@ var Advertisement = ({
1135
122
  }
1136
123
  },
1137
124
  children: [
1138
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
125
+ assetNode ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1139
126
  "span",
1140
127
  {
1141
128
  ...{
1142
- className: "block relative aspect-square overflow-hidden" + (assetNode ? "" : " bg-gray-light"),
129
+ className: "block relative aspect-square overflow-hidden",
1143
130
  style: {
1144
131
  borderRadius: imageRadius
1145
132
  }
1146
133
  },
1147
134
  children: assetNode
1148
135
  }
136
+ ) : (
137
+ // Empty takes no classes: the square and the image's radius are this span's.
138
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
139
+ "span",
140
+ {
141
+ ...{
142
+ className: "block aspect-square overflow-hidden",
143
+ style: {
144
+ borderRadius: imageRadius
145
+ }
146
+ },
147
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
148
+ import_empty.default,
149
+ {
150
+ ...{
151
+ variant: "secondary"
152
+ }
153
+ }
154
+ )
155
+ }
156
+ )
1149
157
  ),
1150
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
158
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
1151
159
  "span",
1152
160
  {
1153
161
  ...{
@@ -1160,13 +168,13 @@ var Advertisement = ({
1160
168
  }
1161
169
  },
1162
170
  children: [
1163
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
171
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1164
172
  "div",
1165
173
  {
1166
174
  ...{
1167
175
  className: "flex-1 min-w-0 space-y-2"
1168
176
  },
1169
- children: title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
177
+ children: title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1170
178
  "p",
1171
179
  {
1172
180
  ...{
@@ -1179,21 +187,28 @@ var Advertisement = ({
1179
187
  )
1180
188
  }
1181
189
  ),
1182
- button && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1183
- "button",
190
+ button && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
191
+ "div",
1184
192
  {
1185
193
  ...{
1186
- className: "flex items-center justify-center py-3 px-4 w-full border",
1187
- disabled: !preview && !url,
1188
- onClick: preview ? () => {
1189
- } : onClick,
194
+ // The card's text is small; its call to action is a fixed 16px.
195
+ className: "w-full",
1190
196
  style: {
1191
- ...buttonStyle(resolved),
1192
197
  fontSize: "16px"
1193
- },
1194
- type: "button"
198
+ }
1195
199
  },
1196
- children: button
200
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
201
+ import_button.default,
202
+ {
203
+ ...{
204
+ disabled: !preview && !url,
205
+ onClick: preview ? () => {
206
+ } : onClick,
207
+ style: resolved
208
+ },
209
+ children: button
210
+ }
211
+ )
1197
212
  }
1198
213
  )
1199
214
  ]
@@ -1204,20 +219,22 @@ var Advertisement = ({
1204
219
  );
1205
220
  if (isVideo) {
1206
221
  return card(
1207
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
222
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1208
223
  "div",
1209
224
  {
1210
225
  ...{
1211
226
  className: "relative h-full w-full aspect-[9/16]"
1212
227
  },
1213
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
228
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1214
229
  VideoComponent,
1215
230
  {
1216
231
  ...{
1217
232
  className: "w-full h-full",
1218
- hls: (0, import_cdn2.cdnSrc)(file, "hls", file == null ? void 0 : file.updatedAt),
1219
- mp4: (0, import_cdn2.cdnSrc)(file, "original", file == null ? void 0 : file.updatedAt),
1220
- poster: (0, import_cdn2.cdnSrc)((_e = file == null ? void 0 : file.frames) == null ? void 0 : _e[file == null ? void 0 : file.poster], "500x500", file == null ? void 0 : file.updatedAt) || (0, import_cdn2.cdnSrc)((_f = file == null ? void 0 : file.frames) == null ? void 0 : _f[file == null ? void 0 : file.poster], "1080x1920", file == null ? void 0 : file.updatedAt),
233
+ // Playable by default; bridge/advertisements overrides it per slide.
234
+ controls: true,
235
+ hls: (0, import_cdn.cdnSrc)(file, "hls", file == null ? void 0 : file.updatedAt),
236
+ mp4: (0, import_cdn.cdnSrc)(file, "original", file == null ? void 0 : file.updatedAt),
237
+ poster: (0, import_cdn.cdnSrc)((_e = file == null ? void 0 : file.frames) == null ? void 0 : _e[file == null ? void 0 : file.poster], "500x500", file == null ? void 0 : file.updatedAt) || (0, import_cdn.cdnSrc)((_f = file == null ? void 0 : file.frames) == null ? void 0 : _f[file == null ? void 0 : file.poster], "1080x1920", file == null ? void 0 : file.updatedAt),
1221
238
  style: resolved
1222
239
  }
1223
240
  }
@@ -1226,9 +243,9 @@ var Advertisement = ({
1226
243
  )
1227
244
  );
1228
245
  }
1229
- const src = (0, import_cdn2.cdnSrc)(file, "400x400", file == null ? void 0 : file.updatedAt);
246
+ const src = (0, import_cdn.cdnSrc)(file, "400x400", file == null ? void 0 : file.updatedAt);
1230
247
  return card(
1231
- src ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
248
+ src ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1232
249
  ImageComponent,
1233
250
  {
1234
251
  ...{