@sonordev/site-kit 6.0.1 → 6.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 (231) hide show
  1. package/README.md +11 -0
  2. package/agent-manifest.json +8 -1
  3. package/dist/{AnalyticsProvider-YU6QANW5.mjs → AnalyticsProvider-PO6SSJG2.mjs} +6 -6
  4. package/dist/{AnalyticsProvider-YU6QANW5.mjs.map → AnalyticsProvider-PO6SSJG2.mjs.map} +1 -1
  5. package/dist/{AnalyticsProvider-4RLYTVWO.js → AnalyticsProvider-V6G45QG7.js} +10 -10
  6. package/dist/{AnalyticsProvider-4RLYTVWO.js.map → AnalyticsProvider-V6G45QG7.js.map} +1 -1
  7. package/dist/{ArticleViewTracker-LI44SA4T.mjs → ArticleViewTracker-CML36HJZ.mjs} +5 -5
  8. package/dist/{ArticleViewTracker-LI44SA4T.mjs.map → ArticleViewTracker-CML36HJZ.mjs.map} +1 -1
  9. package/dist/{ArticleViewTracker-OQB2VT73.js → ArticleViewTracker-FE2YWHX4.js} +6 -6
  10. package/dist/{ArticleViewTracker-OQB2VT73.js.map → ArticleViewTracker-FE2YWHX4.js.map} +1 -1
  11. package/dist/ChatWidget-GVNDKGUU.mjs +16 -0
  12. package/dist/{ChatWidget-56SW5ITH.mjs.map → ChatWidget-GVNDKGUU.mjs.map} +1 -1
  13. package/dist/ChatWidget-YL34KOZM.js +25 -0
  14. package/dist/{ChatWidget-HR3OC3WA.js.map → ChatWidget-YL34KOZM.js.map} +1 -1
  15. package/dist/EngageWidget-465O5XUV.mjs +12 -0
  16. package/dist/{EngageWidget-L4X35N2B.mjs.map → EngageWidget-465O5XUV.mjs.map} +1 -1
  17. package/dist/EngageWidget-IQRKRYPG.js +21 -0
  18. package/dist/{EngageWidget-HXGI3ZKG.js.map → EngageWidget-IQRKRYPG.js.map} +1 -1
  19. package/dist/{FileField-N2P6E2PN.js → FileField-F3PFKMIF.js} +6 -6
  20. package/dist/{FileField-N2P6E2PN.js.map → FileField-F3PFKMIF.js.map} +1 -1
  21. package/dist/{FileField-GSTLU42O.mjs → FileField-FWKSBFRX.mjs} +5 -5
  22. package/dist/{FileField-GSTLU42O.mjs.map → FileField-FWKSBFRX.mjs.map} +1 -1
  23. package/dist/{FormSpotlight-QLXOS5LN.js → FormSpotlight-DJQ3P3EX.js} +9 -9
  24. package/dist/{FormSpotlight-QLXOS5LN.js.map → FormSpotlight-DJQ3P3EX.js.map} +1 -1
  25. package/dist/{FormSpotlight-UFATQTN3.mjs → FormSpotlight-K4LP2DMP.mjs} +3 -3
  26. package/dist/{FormSpotlight-UFATQTN3.mjs.map → FormSpotlight-K4LP2DMP.mjs.map} +1 -1
  27. package/dist/{FormStage-4HYDMCYU.js → FormStage-QMGZ3MOT.js} +9 -9
  28. package/dist/{FormStage-4HYDMCYU.js.map → FormStage-QMGZ3MOT.js.map} +1 -1
  29. package/dist/{FormStage-SYOKD5TJ.mjs → FormStage-YKVTHPKV.mjs} +3 -3
  30. package/dist/{FormStage-SYOKD5TJ.mjs.map → FormStage-YKVTHPKV.mjs.map} +1 -1
  31. package/dist/ManagedForm-MLPETHSQ.js +25 -0
  32. package/dist/{ManagedForm-TUSGW5EH.js.map → ManagedForm-MLPETHSQ.js.map} +1 -1
  33. package/dist/ManagedForm-P3L34ALG.mjs +16 -0
  34. package/dist/{ManagedForm-3TDSIRCM.mjs.map → ManagedForm-P3L34ALG.mjs.map} +1 -1
  35. package/dist/{ManagedNewsletterForm-CNGCBA2N.mjs → ManagedNewsletterForm-C5YQH7MP.mjs} +7 -7
  36. package/dist/{ManagedNewsletterForm-CNGCBA2N.mjs.map → ManagedNewsletterForm-C5YQH7MP.mjs.map} +1 -1
  37. package/dist/{ManagedNewsletterForm-XJEPVJRM.js → ManagedNewsletterForm-R4LLZBRQ.js} +8 -8
  38. package/dist/{ManagedNewsletterForm-XJEPVJRM.js.map → ManagedNewsletterForm-R4LLZBRQ.js.map} +1 -1
  39. package/dist/{SignalCore-ARRVP6F7.mjs → SignalCore-BNYNS6P7.mjs} +5 -5
  40. package/dist/{SignalCore-ARRVP6F7.mjs.map → SignalCore-BNYNS6P7.mjs.map} +1 -1
  41. package/dist/{SignalCore-AXK6RCR4.js → SignalCore-CLELIKFI.js} +11 -11
  42. package/dist/{SignalCore-AXK6RCR4.js.map → SignalCore-CLELIKFI.js.map} +1 -1
  43. package/dist/SitemapSync-P7XWL6VV.js +18 -0
  44. package/dist/{SitemapSync-GAGREAX6.js.map → SitemapSync-P7XWL6VV.js.map} +1 -1
  45. package/dist/SitemapSync-SIKJCK7N.mjs +9 -0
  46. package/dist/{SitemapSync-42VKJUOU.mjs.map → SitemapSync-SIKJCK7N.mjs.map} +1 -1
  47. package/dist/analytics/index.js +9 -9
  48. package/dist/analytics/index.mjs +4 -4
  49. package/dist/articles/index.js +2 -2
  50. package/dist/articles/index.mjs +2 -2
  51. package/dist/articles/server-ui.js +1 -1
  52. package/dist/articles/server-ui.mjs +1 -1
  53. package/dist/{chunk-UILVPI2R.js → chunk-36NE4PSS.js} +3 -3
  54. package/dist/{chunk-UILVPI2R.js.map → chunk-36NE4PSS.js.map} +1 -1
  55. package/dist/{chunk-L63DFM4R.mjs → chunk-3DXJHMQM.mjs} +3 -3
  56. package/dist/{chunk-L63DFM4R.mjs.map → chunk-3DXJHMQM.mjs.map} +1 -1
  57. package/dist/{chunk-NYNL6UQV.mjs → chunk-4EJI4IOX.mjs} +63 -50
  58. package/dist/chunk-4EJI4IOX.mjs.map +1 -0
  59. package/dist/{chunk-6URNNS3V.mjs → chunk-6OSHL7H5.mjs} +4 -4
  60. package/dist/{chunk-6URNNS3V.mjs.map → chunk-6OSHL7H5.mjs.map} +1 -1
  61. package/dist/chunk-ACKFL6WA.mjs +6 -0
  62. package/dist/{chunk-7MAHP735.mjs.map → chunk-ACKFL6WA.mjs.map} +1 -1
  63. package/dist/{chunk-4NBJDP6Y.js → chunk-AQUWWATH.js} +4 -4
  64. package/dist/{chunk-4NBJDP6Y.js.map → chunk-AQUWWATH.js.map} +1 -1
  65. package/dist/{chunk-QXPGIOU7.mjs → chunk-BDSNEB3O.mjs} +3 -3
  66. package/dist/{chunk-QXPGIOU7.mjs.map → chunk-BDSNEB3O.mjs.map} +1 -1
  67. package/dist/{chunk-ZRWIMNQF.js → chunk-BGOPF6J2.js} +3 -3
  68. package/dist/{chunk-ZRWIMNQF.js.map → chunk-BGOPF6J2.js.map} +1 -1
  69. package/dist/chunk-BZR6RUIN.mjs +128 -0
  70. package/dist/chunk-BZR6RUIN.mjs.map +1 -0
  71. package/dist/{chunk-XLFTZV34.mjs → chunk-CJX2MC62.mjs} +3 -3
  72. package/dist/{chunk-XLFTZV34.mjs.map → chunk-CJX2MC62.mjs.map} +1 -1
  73. package/dist/{chunk-AQMQOH7V.js → chunk-DQXEYUTD.js} +3 -3
  74. package/dist/{chunk-AQMQOH7V.js.map → chunk-DQXEYUTD.js.map} +1 -1
  75. package/dist/{chunk-PKZMNDZJ.js → chunk-DXBSBWSS.js} +5 -5
  76. package/dist/{chunk-PKZMNDZJ.js.map → chunk-DXBSBWSS.js.map} +1 -1
  77. package/dist/{chunk-NVWUXCUQ.mjs → chunk-ESAPT5JT.mjs} +3 -3
  78. package/dist/{chunk-NVWUXCUQ.mjs.map → chunk-ESAPT5JT.mjs.map} +1 -1
  79. package/dist/{chunk-QP56JXMH.mjs → chunk-F6BYWNHU.mjs} +3 -3
  80. package/dist/{chunk-QP56JXMH.mjs.map → chunk-F6BYWNHU.mjs.map} +1 -1
  81. package/dist/{chunk-NNQG25M2.mjs → chunk-FQAZBJJO.mjs} +3 -3
  82. package/dist/{chunk-NNQG25M2.mjs.map → chunk-FQAZBJJO.mjs.map} +1 -1
  83. package/dist/{chunk-RX4TVHSN.mjs → chunk-H5FCJBAN.mjs} +3 -3
  84. package/dist/{chunk-RX4TVHSN.mjs.map → chunk-H5FCJBAN.mjs.map} +1 -1
  85. package/dist/{chunk-6ZOMIPU5.js → chunk-I4RU3RCS.js} +8 -8
  86. package/dist/{chunk-6ZOMIPU5.js.map → chunk-I4RU3RCS.js.map} +1 -1
  87. package/dist/{chunk-GCZHKHEH.js → chunk-IDJY2JWU.js} +5 -5
  88. package/dist/{chunk-GCZHKHEH.js.map → chunk-IDJY2JWU.js.map} +1 -1
  89. package/dist/{chunk-6YEPFH3Q.js → chunk-ITVQV7DK.js} +10 -10
  90. package/dist/{chunk-6YEPFH3Q.js.map → chunk-ITVQV7DK.js.map} +1 -1
  91. package/dist/chunk-IWSN4DGG.js +132 -0
  92. package/dist/chunk-IWSN4DGG.js.map +1 -0
  93. package/dist/{chunk-P2HOVWJW.js → chunk-K4LLYQFZ.js} +14 -14
  94. package/dist/{chunk-P2HOVWJW.js.map → chunk-K4LLYQFZ.js.map} +1 -1
  95. package/dist/{chunk-XWKY46NU.js → chunk-KDNB6BYH.js} +11 -11
  96. package/dist/{chunk-XWKY46NU.js.map → chunk-KDNB6BYH.js.map} +1 -1
  97. package/dist/{chunk-U6F6AN23.mjs → chunk-KKTSAT7I.mjs} +4 -4
  98. package/dist/{chunk-U6F6AN23.mjs.map → chunk-KKTSAT7I.mjs.map} +1 -1
  99. package/dist/{chunk-BMH2D2EP.mjs → chunk-L3GAEBJU.mjs} +3 -3
  100. package/dist/{chunk-BMH2D2EP.mjs.map → chunk-L3GAEBJU.mjs.map} +1 -1
  101. package/dist/{chunk-TC3JSQUS.js → chunk-LF44SJPP.js} +4 -4
  102. package/dist/{chunk-TC3JSQUS.js.map → chunk-LF44SJPP.js.map} +1 -1
  103. package/dist/{chunk-QD4BNYMM.js → chunk-MZK5APTV.js} +18 -18
  104. package/dist/{chunk-QD4BNYMM.js.map → chunk-MZK5APTV.js.map} +1 -1
  105. package/dist/chunk-NBOBOYMT.js +52 -0
  106. package/dist/chunk-NBOBOYMT.js.map +1 -0
  107. package/dist/{chunk-ZYJYBE5G.js → chunk-NDVKIDMN.js} +4 -4
  108. package/dist/{chunk-ZYJYBE5G.js.map → chunk-NDVKIDMN.js.map} +1 -1
  109. package/dist/{chunk-IDOHDP7D.mjs → chunk-NMKUYGKK.mjs} +4 -4
  110. package/dist/{chunk-IDOHDP7D.mjs.map → chunk-NMKUYGKK.mjs.map} +1 -1
  111. package/dist/chunk-OBKS3CPP.mjs +50 -0
  112. package/dist/chunk-OBKS3CPP.mjs.map +1 -0
  113. package/dist/{chunk-WLCPBZOS.mjs → chunk-OF4V7CSP.mjs} +3 -3
  114. package/dist/{chunk-WLCPBZOS.mjs.map → chunk-OF4V7CSP.mjs.map} +1 -1
  115. package/dist/{chunk-LCYODFNY.mjs → chunk-OQWAJBYA.mjs} +3 -3
  116. package/dist/{chunk-LCYODFNY.mjs.map → chunk-OQWAJBYA.mjs.map} +1 -1
  117. package/dist/chunk-OXA4ZSX2.js +8 -0
  118. package/dist/{chunk-F3EAAAZ3.js.map → chunk-OXA4ZSX2.js.map} +1 -1
  119. package/dist/{chunk-QJ3SMLND.mjs → chunk-QC6VQ2IW.mjs} +3 -3
  120. package/dist/{chunk-QJ3SMLND.mjs.map → chunk-QC6VQ2IW.mjs.map} +1 -1
  121. package/dist/{chunk-UCBBZXJI.js → chunk-QF3XTEXV.js} +4 -4
  122. package/dist/{chunk-UCBBZXJI.js.map → chunk-QF3XTEXV.js.map} +1 -1
  123. package/dist/{chunk-SU42KCQD.mjs → chunk-RGCUND5Q.mjs} +4 -4
  124. package/dist/{chunk-SU42KCQD.mjs.map → chunk-RGCUND5Q.mjs.map} +1 -1
  125. package/dist/{chunk-BWSYPQ5E.js → chunk-RVFOUPK4.js} +6 -6
  126. package/dist/{chunk-BWSYPQ5E.js.map → chunk-RVFOUPK4.js.map} +1 -1
  127. package/dist/{chunk-ULSFOC3J.js → chunk-SDGS2R5O.js} +12 -12
  128. package/dist/{chunk-ULSFOC3J.js.map → chunk-SDGS2R5O.js.map} +1 -1
  129. package/dist/{chunk-BIU234TJ.mjs → chunk-TA3TQTDA.mjs} +8 -8
  130. package/dist/{chunk-BIU234TJ.mjs.map → chunk-TA3TQTDA.mjs.map} +1 -1
  131. package/dist/{chunk-R6UE6MC5.js → chunk-TMNFPVK5.js} +7 -7
  132. package/dist/{chunk-R6UE6MC5.js.map → chunk-TMNFPVK5.js.map} +1 -1
  133. package/dist/{chunk-4VCR6TXK.js → chunk-VK74LC4H.js} +5 -5
  134. package/dist/{chunk-4VCR6TXK.js.map → chunk-VK74LC4H.js.map} +1 -1
  135. package/dist/{chunk-GJCQVVO3.mjs → chunk-XGELGOF6.mjs} +7 -7
  136. package/dist/{chunk-GJCQVVO3.mjs.map → chunk-XGELGOF6.mjs.map} +1 -1
  137. package/dist/{chunk-LZPICBND.js → chunk-XKJLJLQ4.js} +74 -61
  138. package/dist/chunk-XKJLJLQ4.js.map +1 -0
  139. package/dist/{chunk-YTJKVWHY.mjs → chunk-XOYQKFKI.mjs} +4 -4
  140. package/dist/{chunk-YTJKVWHY.mjs.map → chunk-XOYQKFKI.mjs.map} +1 -1
  141. package/dist/{chunk-NVOYCK2S.js → chunk-Y53BIB7A.js} +14 -14
  142. package/dist/{chunk-NVOYCK2S.js.map → chunk-Y53BIB7A.js.map} +1 -1
  143. package/dist/{chunk-GKPVGVHY.mjs → chunk-YKNXBWPZ.mjs} +3 -3
  144. package/dist/{chunk-GKPVGVHY.mjs.map → chunk-YKNXBWPZ.mjs.map} +1 -1
  145. package/dist/{chunk-KUHMHKG5.mjs → chunk-YP5WAFTI.mjs} +4 -4
  146. package/dist/{chunk-KUHMHKG5.mjs.map → chunk-YP5WAFTI.mjs.map} +1 -1
  147. package/dist/{chunk-FKFVN3GT.js → chunk-YS7Y2PQG.js} +8 -8
  148. package/dist/{chunk-FKFVN3GT.js.map → chunk-YS7Y2PQG.js.map} +1 -1
  149. package/dist/{chunk-5ABTBPPK.js → chunk-ZQJGCQHC.js} +15 -15
  150. package/dist/{chunk-5ABTBPPK.js.map → chunk-ZQJGCQHC.js.map} +1 -1
  151. package/dist/{chunk-LFASEDBO.mjs → chunk-ZQSJK65K.mjs} +3 -3
  152. package/dist/{chunk-LFASEDBO.mjs.map → chunk-ZQSJK65K.mjs.map} +1 -1
  153. package/dist/cli/index.js +3 -3
  154. package/dist/cli/index.mjs +1 -1
  155. package/dist/client/index.js +4 -4
  156. package/dist/client/index.mjs +3 -3
  157. package/dist/commerce/index.js +57 -57
  158. package/dist/commerce/index.mjs +5 -5
  159. package/dist/cta-bar/CtaBar.d.ts +71 -0
  160. package/dist/cta-bar/CtaBar.d.ts.map +1 -0
  161. package/dist/cta-bar/CtaBarBehavior.d.ts +46 -0
  162. package/dist/cta-bar/CtaBarBehavior.d.ts.map +1 -0
  163. package/dist/cta-bar/client.d.ts +46 -0
  164. package/dist/cta-bar/client.d.ts.map +1 -0
  165. package/dist/cta-bar/client.js +23 -0
  166. package/dist/cta-bar/client.js.map +1 -0
  167. package/dist/cta-bar/client.mjs +6 -0
  168. package/dist/cta-bar/client.mjs.map +1 -0
  169. package/dist/cta-bar/index.d.ts +12 -0
  170. package/dist/cta-bar/index.d.ts.map +1 -0
  171. package/dist/cta-bar/index.js +230 -0
  172. package/dist/cta-bar/index.js.map +1 -0
  173. package/dist/cta-bar/index.mjs +224 -0
  174. package/dist/cta-bar/index.mjs.map +1 -0
  175. package/dist/cta-bar/styles.d.ts +46 -0
  176. package/dist/cta-bar/styles.d.ts.map +1 -0
  177. package/dist/engage/ChatWidget.d.ts.map +1 -1
  178. package/dist/engage/EchoUiActions.d.ts.map +1 -1
  179. package/dist/engage/index.js +14 -13
  180. package/dist/engage/index.js.map +1 -1
  181. package/dist/engage/index.mjs +8 -7
  182. package/dist/engage/index.mjs.map +1 -1
  183. package/dist/fleet/index.js +8 -8
  184. package/dist/fleet/index.mjs +4 -4
  185. package/dist/forms/index.js +22 -22
  186. package/dist/forms/index.mjs +9 -9
  187. package/dist/forms/server.js +10 -10
  188. package/dist/forms/server.mjs +8 -8
  189. package/dist/forms/static.js +7 -7
  190. package/dist/forms/static.mjs +6 -6
  191. package/dist/images/index.js +11 -11
  192. package/dist/images/index.mjs +4 -4
  193. package/dist/index.js +63 -63
  194. package/dist/index.mjs +9 -9
  195. package/dist/layout/client.js +8 -8
  196. package/dist/layout/client.mjs +7 -7
  197. package/dist/layout/index.js +10 -10
  198. package/dist/layout/index.mjs +8 -8
  199. package/dist/maps/index.js +5 -5
  200. package/dist/maps/index.mjs +3 -3
  201. package/dist/search/index.js +4 -4
  202. package/dist/search/index.mjs +3 -3
  203. package/dist/seo/client.js +5 -5
  204. package/dist/seo/client.mjs +4 -4
  205. package/dist/seo/index.js +5 -5
  206. package/dist/seo/index.mjs +4 -4
  207. package/dist/server/index.js +3 -3
  208. package/dist/server/index.mjs +2 -2
  209. package/dist/shared/build-entries.d.ts +4 -1
  210. package/dist/shared/build-entries.d.ts.map +1 -1
  211. package/dist/shared/glass.d.ts +51 -0
  212. package/dist/shared/glass.d.ts.map +1 -0
  213. package/dist/shared/version.d.ts +1 -1
  214. package/dist/signal/index.js +11 -11
  215. package/dist/signal/index.mjs +2 -2
  216. package/dist/sync/index.js +17 -17
  217. package/dist/sync/index.mjs +4 -4
  218. package/package.json +6 -1
  219. package/skills/site-kit/SKILL.md +6 -0
  220. package/dist/ChatWidget-56SW5ITH.mjs +0 -15
  221. package/dist/ChatWidget-HR3OC3WA.js +0 -24
  222. package/dist/EngageWidget-HXGI3ZKG.js +0 -21
  223. package/dist/EngageWidget-L4X35N2B.mjs +0 -12
  224. package/dist/ManagedForm-3TDSIRCM.mjs +0 -16
  225. package/dist/ManagedForm-TUSGW5EH.js +0 -25
  226. package/dist/SitemapSync-42VKJUOU.mjs +0 -9
  227. package/dist/SitemapSync-GAGREAX6.js +0 -18
  228. package/dist/chunk-7MAHP735.mjs +0 -6
  229. package/dist/chunk-F3EAAAZ3.js +0 -8
  230. package/dist/chunk-LZPICBND.js.map +0 -1
  231. package/dist/chunk-NYNL6UQV.mjs.map +0 -1
package/dist/cli/index.js CHANGED
@@ -8,7 +8,7 @@ var chunkCUNZAD46_js = require('../chunk-CUNZAD46.js');
8
8
  var chunkNN2YE5WT_js = require('../chunk-NN2YE5WT.js');
9
9
  var chunkY2CP5J6Q_js = require('../chunk-Y2CP5J6Q.js');
10
10
  var chunkJONWE26J_js = require('../chunk-JONWE26J.js');
11
- var chunkF3EAAAZ3_js = require('../chunk-F3EAAAZ3.js');
11
+ var chunkOXA4ZSX2_js = require('../chunk-OXA4ZSX2.js');
12
12
  var chunkSNAQBZPT_js = require('../chunk-SNAQBZPT.js');
13
13
  var events = require('events');
14
14
  var childProcess = require('child_process');
@@ -13545,7 +13545,7 @@ function buildEnvelope(input, nowMs = Date.now()) {
13545
13545
  ok: exitCode === 0 /* OK */,
13546
13546
  command,
13547
13547
  schemaVersion: 1,
13548
- siteKitVersion: chunkF3EAAAZ3_js.SITE_KIT_VERSION,
13548
+ siteKitVersion: chunkOXA4ZSX2_js.SITE_KIT_VERSION,
13549
13549
  exitCode,
13550
13550
  status: statusForCode(exitCode),
13551
13551
  summary,
@@ -32851,7 +32851,7 @@ async function geoCommand(options) {
32851
32851
  (0, import_dotenv2.config)({ path: ".env.local", quiet: true });
32852
32852
  (0, import_dotenv2.config)({ path: ".env", quiet: true });
32853
32853
  var program2 = new Command();
32854
- program2.name("sonor-setup").description("Setup + verification toolchain for @sonordev/site-kit").version(chunkF3EAAAZ3_js.SITE_KIT_VERSION);
32854
+ program2.name("sonor-setup").description("Setup + verification toolchain for @sonordev/site-kit").version(chunkOXA4ZSX2_js.SITE_KIT_VERSION);
32855
32855
  withAgentFlags(
32856
32856
  program2.command("verify").description("Verify the integration actually works (health + key + SSR) \u2014 exit 0 = done").option("--url <url>", "Verify a running/deployed URL server-renders (recommended for agents)").option("--offline", "Skip the network key-validity ping").option("--strict", "Treat warnings as failures")
32857
32857
  ).action(verifyCommand);
@@ -6,7 +6,7 @@ import { TITLE_MAX_PX, OG_REPORT_ATTR } from '../chunk-YU7QZ3PP.mjs';
6
6
  import { require_main } from '../chunk-NNZDWY3L.mjs';
7
7
  import { findAppDirForDiscovery, NEXT_PROXY_FILES, NEXT_MIDDLEWARE_FILES, findConventionFile, NEXT_APP_DIRS, findSitemapRoute, findProxyFiles, findNextConfig, findRootLayout, discoverNextJsRoutes, hasPageFile, NEXT_SOURCE_EXTENSIONS } from '../chunk-UHYRVALN.mjs';
8
8
  import { applyTrailingSlash } from '../chunk-C2CTLLIO.mjs';
9
- import { SITE_KIT_VERSION } from '../chunk-7MAHP735.mjs';
9
+ import { SITE_KIT_VERSION } from '../chunk-ACKFL6WA.mjs';
10
10
  import { __commonJS, __require, __toESM, __export, __privateAdd, __publicField, __privateGet, __privateMethod, __privateSet, __privateWrapper } from '../chunk-BEXTDHO4.mjs';
11
11
  import { EventEmitter } from 'events';
12
12
  import childProcess, { execFile as execFile$1, execSync, spawnSync, spawn } from 'child_process';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkGCZHKHEH_js = require('../chunk-GCZHKHEH.js');
4
+ var chunkIDJY2JWU_js = require('../chunk-IDJY2JWU.js');
5
5
  var chunkHGNSJXWT_js = require('../chunk-HGNSJXWT.js');
6
6
  require('../chunk-UZKXOZHR.js');
7
7
  require('../chunk-SWIKKSKL.js');
@@ -9,8 +9,8 @@ var chunk3DWIYCQX_js = require('../chunk-3DWIYCQX.js');
9
9
  var chunkG6WF4G3E_js = require('../chunk-G6WF4G3E.js');
10
10
  var chunkRC4WWQXR_js = require('../chunk-RC4WWQXR.js');
11
11
  require('../chunk-VJMPIRSD.js');
12
- require('../chunk-TC3JSQUS.js');
13
- require('../chunk-F3EAAAZ3.js');
12
+ require('../chunk-LF44SJPP.js');
13
+ require('../chunk-OXA4ZSX2.js');
14
14
  require('../chunk-SNAQBZPT.js');
15
15
 
16
16
  // src/client/SiteKitCredential.tsx
@@ -20,7 +20,7 @@ function SiteKitCredential({
20
20
  site,
21
21
  debug
22
22
  }) {
23
- chunkGCZHKHEH_js.publishSiteCredential({ apiKey, apiUrl, site, debug });
23
+ chunkIDJY2JWU_js.publishSiteCredential({ apiKey, apiUrl, site, debug });
24
24
  return null;
25
25
  }
26
26
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { publishSiteCredential } from '../chunk-RX4TVHSN.mjs';
2
+ import { publishSiteCredential } from '../chunk-H5FCJBAN.mjs';
3
3
  export { useDeferredActivation } from '../chunk-ZVBLXXNJ.mjs';
4
4
  import '../chunk-KZVSB5WE.mjs';
5
5
  import '../chunk-ZN4HBK5C.mjs';
@@ -7,8 +7,8 @@ export { trackConversion, trackEvent } from '../chunk-SHLWA6JY.mjs';
7
7
  export { VISUAL_VIEWPORT_GAP_PROPERTY, VisualViewportGap, useVisualViewportGap } from '../chunk-NSWO43XW.mjs';
8
8
  export { getOrCreateSessionId, getOrCreateVisitorId, useSiteKitIdentity } from '../chunk-ZZQAGCSI.mjs';
9
9
  import '../chunk-6EDVCUAG.mjs';
10
- import '../chunk-L63DFM4R.mjs';
11
- import '../chunk-7MAHP735.mjs';
10
+ import '../chunk-3DXJHMQM.mjs';
11
+ import '../chunk-ACKFL6WA.mjs';
12
12
  import '../chunk-BEXTDHO4.mjs';
13
13
 
14
14
  // src/client/SiteKitCredential.tsx
@@ -1,228 +1,228 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkNVOYCK2S_js = require('../chunk-NVOYCK2S.js');
4
+ var chunkY53BIB7A_js = require('../chunk-Y53BIB7A.js');
5
5
  require('../chunk-3SDMJMN2.js');
6
- require('../chunk-PKZMNDZJ.js');
6
+ require('../chunk-DXBSBWSS.js');
7
7
  require('../chunk-3DWIYCQX.js');
8
8
  require('../chunk-RC4WWQXR.js');
9
9
  require('../chunk-P4Y75QSU.js');
10
10
  require('../chunk-VJMPIRSD.js');
11
11
  require('../chunk-5RNAUYWE.js');
12
- require('../chunk-5ABTBPPK.js');
13
- require('../chunk-TC3JSQUS.js');
14
- require('../chunk-F3EAAAZ3.js');
12
+ require('../chunk-ZQJGCQHC.js');
13
+ require('../chunk-LF44SJPP.js');
14
+ require('../chunk-OXA4ZSX2.js');
15
15
  require('../chunk-SNAQBZPT.js');
16
16
 
17
17
 
18
18
 
19
19
  Object.defineProperty(exports, "CalendarView", {
20
20
  enumerable: true,
21
- get: function () { return chunkNVOYCK2S_js.CalendarView; }
21
+ get: function () { return chunkY53BIB7A_js.CalendarView; }
22
22
  });
23
23
  Object.defineProperty(exports, "CapacityBadge", {
24
24
  enumerable: true,
25
- get: function () { return chunkNVOYCK2S_js.CapacityBadge; }
25
+ get: function () { return chunkY53BIB7A_js.CapacityBadge; }
26
26
  });
27
27
  Object.defineProperty(exports, "CheckoutForm", {
28
28
  enumerable: true,
29
- get: function () { return chunkNVOYCK2S_js.CheckoutForm; }
29
+ get: function () { return chunkY53BIB7A_js.CheckoutForm; }
30
30
  });
31
31
  Object.defineProperty(exports, "EventCalendar", {
32
32
  enumerable: true,
33
- get: function () { return chunkNVOYCK2S_js.EventCalendar; }
33
+ get: function () { return chunkY53BIB7A_js.EventCalendar; }
34
34
  });
35
35
  Object.defineProperty(exports, "EventCheckout", {
36
36
  enumerable: true,
37
- get: function () { return chunkNVOYCK2S_js.EventCheckout; }
37
+ get: function () { return chunkY53BIB7A_js.EventCheckout; }
38
38
  });
39
39
  Object.defineProperty(exports, "EventEmbed", {
40
40
  enumerable: true,
41
- get: function () { return chunkNVOYCK2S_js.EventEmbed; }
41
+ get: function () { return chunkY53BIB7A_js.EventEmbed; }
42
42
  });
43
43
  Object.defineProperty(exports, "EventJsonLd", {
44
44
  enumerable: true,
45
- get: function () { return chunkNVOYCK2S_js.EventJsonLd; }
45
+ get: function () { return chunkY53BIB7A_js.EventJsonLd; }
46
46
  });
47
47
  Object.defineProperty(exports, "EventModal", {
48
48
  enumerable: true,
49
- get: function () { return chunkNVOYCK2S_js.EventModal; }
49
+ get: function () { return chunkY53BIB7A_js.EventModal; }
50
50
  });
51
51
  Object.defineProperty(exports, "EventTile", {
52
52
  enumerable: true,
53
- get: function () { return chunkNVOYCK2S_js.EventTile; }
53
+ get: function () { return chunkY53BIB7A_js.EventTile; }
54
54
  });
55
55
  Object.defineProperty(exports, "EventsAgenda", {
56
56
  enumerable: true,
57
- get: function () { return chunkNVOYCK2S_js.EventsAgenda; }
57
+ get: function () { return chunkY53BIB7A_js.EventsAgenda; }
58
58
  });
59
59
  Object.defineProperty(exports, "EventsWidget", {
60
60
  enumerable: true,
61
- get: function () { return chunkNVOYCK2S_js.EventsWidget; }
61
+ get: function () { return chunkY53BIB7A_js.EventsWidget; }
62
62
  });
63
63
  Object.defineProperty(exports, "OfferingCard", {
64
64
  enumerable: true,
65
- get: function () { return chunkNVOYCK2S_js.OfferingCard; }
65
+ get: function () { return chunkY53BIB7A_js.OfferingCard; }
66
66
  });
67
67
  Object.defineProperty(exports, "OfferingList", {
68
68
  enumerable: true,
69
- get: function () { return chunkNVOYCK2S_js.OfferingList; }
69
+ get: function () { return chunkY53BIB7A_js.OfferingList; }
70
70
  });
71
71
  Object.defineProperty(exports, "ProductDetail", {
72
72
  enumerable: true,
73
- get: function () { return chunkNVOYCK2S_js.ProductDetail; }
73
+ get: function () { return chunkY53BIB7A_js.ProductDetail; }
74
74
  });
75
75
  Object.defineProperty(exports, "ProductEmbed", {
76
76
  enumerable: true,
77
- get: function () { return chunkNVOYCK2S_js.ProductEmbed; }
77
+ get: function () { return chunkY53BIB7A_js.ProductEmbed; }
78
78
  });
79
79
  Object.defineProperty(exports, "ProductGrid", {
80
80
  enumerable: true,
81
- get: function () { return chunkNVOYCK2S_js.ProductGrid; }
81
+ get: function () { return chunkY53BIB7A_js.ProductGrid; }
82
82
  });
83
83
  Object.defineProperty(exports, "ProductPage", {
84
84
  enumerable: true,
85
- get: function () { return chunkNVOYCK2S_js.ProductPage; }
85
+ get: function () { return chunkY53BIB7A_js.ProductPage; }
86
86
  });
87
87
  Object.defineProperty(exports, "RegistrationForm", {
88
88
  enumerable: true,
89
- get: function () { return chunkNVOYCK2S_js.RegistrationForm; }
89
+ get: function () { return chunkY53BIB7A_js.RegistrationForm; }
90
90
  });
91
91
  Object.defineProperty(exports, "SizeChart", {
92
92
  enumerable: true,
93
- get: function () { return chunkNVOYCK2S_js.SizeChart; }
93
+ get: function () { return chunkY53BIB7A_js.SizeChart; }
94
94
  });
95
95
  Object.defineProperty(exports, "UpcomingEvents", {
96
96
  enumerable: true,
97
- get: function () { return chunkNVOYCK2S_js.UpcomingEvents; }
97
+ get: function () { return chunkY53BIB7A_js.UpcomingEvents; }
98
98
  });
99
99
  Object.defineProperty(exports, "createCheckoutSession", {
100
100
  enumerable: true,
101
- get: function () { return chunkNVOYCK2S_js.createCheckoutSession; }
101
+ get: function () { return chunkY53BIB7A_js.createCheckoutSession; }
102
102
  });
103
103
  Object.defineProperty(exports, "createPaymentIntent", {
104
104
  enumerable: true,
105
- get: function () { return chunkNVOYCK2S_js.createPaymentIntent; }
105
+ get: function () { return chunkY53BIB7A_js.createPaymentIntent; }
106
106
  });
107
107
  Object.defineProperty(exports, "fetchActiveProcessor", {
108
108
  enumerable: true,
109
- get: function () { return chunkNVOYCK2S_js.fetchActiveProcessor; }
109
+ get: function () { return chunkY53BIB7A_js.fetchActiveProcessor; }
110
110
  });
111
111
  Object.defineProperty(exports, "fetchCategories", {
112
112
  enumerable: true,
113
- get: function () { return chunkNVOYCK2S_js.fetchCategories; }
113
+ get: function () { return chunkY53BIB7A_js.fetchCategories; }
114
114
  });
115
115
  Object.defineProperty(exports, "fetchLatestOffering", {
116
116
  enumerable: true,
117
- get: function () { return chunkNVOYCK2S_js.fetchLatestOffering; }
117
+ get: function () { return chunkY53BIB7A_js.fetchLatestOffering; }
118
118
  });
119
119
  Object.defineProperty(exports, "fetchNextEvent", {
120
120
  enumerable: true,
121
- get: function () { return chunkNVOYCK2S_js.fetchNextEvent; }
121
+ get: function () { return chunkY53BIB7A_js.fetchNextEvent; }
122
122
  });
123
123
  Object.defineProperty(exports, "fetchOffering", {
124
124
  enumerable: true,
125
- get: function () { return chunkNVOYCK2S_js.fetchOffering; }
125
+ get: function () { return chunkY53BIB7A_js.fetchOffering; }
126
126
  });
127
127
  Object.defineProperty(exports, "fetchOfferings", {
128
128
  enumerable: true,
129
- get: function () { return chunkNVOYCK2S_js.fetchOfferings; }
129
+ get: function () { return chunkY53BIB7A_js.fetchOfferings; }
130
130
  });
131
131
  Object.defineProperty(exports, "fetchProcessorConfig", {
132
132
  enumerable: true,
133
- get: function () { return chunkNVOYCK2S_js.fetchProcessorConfig; }
133
+ get: function () { return chunkY53BIB7A_js.fetchProcessorConfig; }
134
134
  });
135
135
  Object.defineProperty(exports, "fetchProductBySlug", {
136
136
  enumerable: true,
137
- get: function () { return chunkNVOYCK2S_js.fetchProductBySlug; }
137
+ get: function () { return chunkY53BIB7A_js.fetchProductBySlug; }
138
138
  });
139
139
  Object.defineProperty(exports, "fetchProducts", {
140
140
  enumerable: true,
141
- get: function () { return chunkNVOYCK2S_js.fetchProducts; }
141
+ get: function () { return chunkY53BIB7A_js.fetchProducts; }
142
142
  });
143
143
  Object.defineProperty(exports, "fetchProductsPublic", {
144
144
  enumerable: true,
145
- get: function () { return chunkNVOYCK2S_js.fetchProductsPublic; }
145
+ get: function () { return chunkY53BIB7A_js.fetchProductsPublic; }
146
146
  });
147
147
  Object.defineProperty(exports, "fetchServices", {
148
148
  enumerable: true,
149
- get: function () { return chunkNVOYCK2S_js.fetchServices; }
149
+ get: function () { return chunkY53BIB7A_js.fetchServices; }
150
150
  });
151
151
  Object.defineProperty(exports, "fetchShippingRates", {
152
152
  enumerable: true,
153
- get: function () { return chunkNVOYCK2S_js.fetchShippingRates; }
153
+ get: function () { return chunkY53BIB7A_js.fetchShippingRates; }
154
154
  });
155
155
  Object.defineProperty(exports, "fetchUpcomingEvents", {
156
156
  enumerable: true,
157
- get: function () { return chunkNVOYCK2S_js.fetchUpcomingEvents; }
157
+ get: function () { return chunkY53BIB7A_js.fetchUpcomingEvents; }
158
158
  });
159
159
  Object.defineProperty(exports, "formatDate", {
160
160
  enumerable: true,
161
- get: function () { return chunkNVOYCK2S_js.formatDate; }
161
+ get: function () { return chunkY53BIB7A_js.formatDate; }
162
162
  });
163
163
  Object.defineProperty(exports, "formatDateRange", {
164
164
  enumerable: true,
165
- get: function () { return chunkNVOYCK2S_js.formatDateRange; }
165
+ get: function () { return chunkY53BIB7A_js.formatDateRange; }
166
166
  });
167
167
  Object.defineProperty(exports, "formatDateTime", {
168
168
  enumerable: true,
169
- get: function () { return chunkNVOYCK2S_js.formatDateTime; }
169
+ get: function () { return chunkY53BIB7A_js.formatDateTime; }
170
170
  });
171
171
  Object.defineProperty(exports, "formatPrice", {
172
172
  enumerable: true,
173
- get: function () { return chunkNVOYCK2S_js.formatPrice; }
173
+ get: function () { return chunkY53BIB7A_js.formatPrice; }
174
174
  });
175
175
  Object.defineProperty(exports, "formatTime", {
176
176
  enumerable: true,
177
- get: function () { return chunkNVOYCK2S_js.formatTime; }
177
+ get: function () { return chunkY53BIB7A_js.formatTime; }
178
178
  });
179
179
  Object.defineProperty(exports, "getOfferingUrl", {
180
180
  enumerable: true,
181
- get: function () { return chunkNVOYCK2S_js.getOfferingUrl; }
181
+ get: function () { return chunkY53BIB7A_js.getOfferingUrl; }
182
182
  });
183
183
  Object.defineProperty(exports, "getRelativeTimeUntil", {
184
184
  enumerable: true,
185
- get: function () { return chunkNVOYCK2S_js.getRelativeTimeUntil; }
185
+ get: function () { return chunkY53BIB7A_js.getRelativeTimeUntil; }
186
186
  });
187
187
  Object.defineProperty(exports, "getSpotsRemaining", {
188
188
  enumerable: true,
189
- get: function () { return chunkNVOYCK2S_js.getSpotsRemaining; }
189
+ get: function () { return chunkY53BIB7A_js.getSpotsRemaining; }
190
190
  });
191
191
  Object.defineProperty(exports, "googleCalendarUrl", {
192
192
  enumerable: true,
193
- get: function () { return chunkNVOYCK2S_js.googleCalendarUrl; }
193
+ get: function () { return chunkY53BIB7A_js.googleCalendarUrl; }
194
194
  });
195
195
  Object.defineProperty(exports, "icsForEvent", {
196
196
  enumerable: true,
197
- get: function () { return chunkNVOYCK2S_js.icsForEvent; }
197
+ get: function () { return chunkY53BIB7A_js.icsForEvent; }
198
198
  });
199
199
  Object.defineProperty(exports, "icsResponse", {
200
200
  enumerable: true,
201
- get: function () { return chunkNVOYCK2S_js.icsResponse; }
201
+ get: function () { return chunkY53BIB7A_js.icsResponse; }
202
202
  });
203
203
  Object.defineProperty(exports, "isEventSoldOut", {
204
204
  enumerable: true,
205
- get: function () { return chunkNVOYCK2S_js.isEventSoldOut; }
205
+ get: function () { return chunkY53BIB7A_js.isEventSoldOut; }
206
206
  });
207
207
  Object.defineProperty(exports, "registerForEvent", {
208
208
  enumerable: true,
209
- get: function () { return chunkNVOYCK2S_js.registerForEvent; }
209
+ get: function () { return chunkY53BIB7A_js.registerForEvent; }
210
210
  });
211
211
  Object.defineProperty(exports, "shippingSelection", {
212
212
  enumerable: true,
213
- get: function () { return chunkNVOYCK2S_js.shippingSelection; }
213
+ get: function () { return chunkY53BIB7A_js.shippingSelection; }
214
214
  });
215
215
  Object.defineProperty(exports, "useEventModal", {
216
216
  enumerable: true,
217
- get: function () { return chunkNVOYCK2S_js.useEventModal; }
217
+ get: function () { return chunkY53BIB7A_js.useEventModal; }
218
218
  });
219
219
  Object.defineProperty(exports, "validateAddress", {
220
220
  enumerable: true,
221
- get: function () { return chunkNVOYCK2S_js.validateAddress; }
221
+ get: function () { return chunkY53BIB7A_js.validateAddress; }
222
222
  });
223
223
  Object.defineProperty(exports, "validateDiscountCode", {
224
224
  enumerable: true,
225
- get: function () { return chunkNVOYCK2S_js.validateDiscountCode; }
225
+ get: function () { return chunkY53BIB7A_js.validateDiscountCode; }
226
226
  });
227
227
  //# sourceMappingURL=index.js.map
228
228
  //# sourceMappingURL=index.js.map
@@ -1,15 +1,15 @@
1
1
  'use client';
2
- export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-U6F6AN23.mjs';
2
+ export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-KKTSAT7I.mjs';
3
3
  import '../chunk-64BOVMXG.mjs';
4
- import '../chunk-QXPGIOU7.mjs';
4
+ import '../chunk-BDSNEB3O.mjs';
5
5
  import '../chunk-SHLWA6JY.mjs';
6
6
  import '../chunk-ZZQAGCSI.mjs';
7
7
  import '../chunk-5SANRSX3.mjs';
8
8
  import '../chunk-6EDVCUAG.mjs';
9
9
  import '../chunk-A6UYV475.mjs';
10
- import '../chunk-SU42KCQD.mjs';
11
- import '../chunk-L63DFM4R.mjs';
12
- import '../chunk-7MAHP735.mjs';
10
+ import '../chunk-RGCUND5Q.mjs';
11
+ import '../chunk-3DXJHMQM.mjs';
12
+ import '../chunk-ACKFL6WA.mjs';
13
13
  import '../chunk-BEXTDHO4.mjs';
14
14
  //# sourceMappingURL=index.mjs.map
15
15
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,71 @@
1
+ /**
2
+ * @sonordev/site-kit/cta-bar — the Liquid Glass mobile CTA bar
3
+ *
4
+ * Single source of truth for the fleet's sticky mobile action bar. Before
5
+ * 6.1.0 eleven sites each carried their own, and each had solved a different
6
+ * subset of the same problems: hiding over the form it points at, staying off
7
+ * the hero until the hero CTA scrolls away, getting out from under the Echo
8
+ * launcher, riding out iOS toolbar resizes. This component does all of them.
9
+ *
10
+ * Server component. It renders plain markup plus a childless behaviour
11
+ * island, so a server layout can pass Next <Link>s straight in:
12
+ *
13
+ * <CtaBar label="Call or book" showAfter="#hero-cta" hideOver="#quote">
14
+ * <CtaBarAction href="tel:+15135550100" icon={<Phone />} variant="secondary">Call</CtaBarAction>
15
+ * <CtaBarAction as={Link} href="/quote" icon={<ClipboardCheck />}>Free quote</CtaBarAction>
16
+ * </CtaBar>
17
+ *
18
+ * Render it once, at the layout root and outside <main> (it's an <aside>
19
+ * landmark). Never inside a blurred header: backdrop-filter on an ancestor
20
+ * turns it into the containing block for this fixed bar.
21
+ */
22
+ import * as React from 'react';
23
+ import { type CtaBarBreakpoint } from './styles';
24
+ export interface CtaBarProps {
25
+ children: React.ReactNode;
26
+ /** Accessible name of the bar's landmark. Default "Quick actions". */
27
+ label?: string;
28
+ /** The bar is hidden at this width and above. `none` shows it at every width. Default `lg` (1024px). */
29
+ breakpoint?: CtaBarBreakpoint;
30
+ /** `fill` stretches actions across the bar; `fit` hugs a single action in a centred capsule. Default `fill`. */
31
+ layout?: 'fill' | 'fit';
32
+ /**
33
+ * CSS selector. The bar stays off screen until this element has scrolled
34
+ * off the top, e.g. the hero's own CTA. If nothing matches, the bar shows.
35
+ */
36
+ showAfter?: string;
37
+ /** CSS selector(s). The bar steps aside while any match is on screen, e.g. the form it points at, or the footer. */
38
+ hideOver?: string | string[];
39
+ /** Hide while a text field has focus (the keyboard is up). Default true. */
40
+ hideWhileTyping?: boolean;
41
+ /** Tighten while scrolling down, restore on scroll up. Default true. */
42
+ compactOnScroll?: boolean;
43
+ /** Lift the Echo launcher above the bar while the bar is on screen. Default true. */
44
+ echoClearance?: boolean;
45
+ /** Reserve the bar's height at the end of the page so it never covers the footer. Default true. */
46
+ spacer?: boolean;
47
+ /** Send a `cta_click` analytics event for each action tap. Default true. */
48
+ track?: boolean;
49
+ className?: string;
50
+ id?: string;
51
+ }
52
+ export declare function CtaBar({ children, label, breakpoint, layout, showAfter, hideOver, hideWhileTyping, compactOnScroll, echoClearance, spacer, track, className, id, }: CtaBarProps): React.JSX.Element;
53
+ type CtaBarActionOwnProps = {
54
+ /** Element or component to render, e.g. Next's Link. Default: `a` with an href, `button` without. */
55
+ as?: React.ElementType;
56
+ /** Leading icon; decorative, hidden from assistive tech. */
57
+ icon?: React.ReactNode;
58
+ /** `primary` = solid brand, `secondary` = tinted glass, `plain` = layout only (style it yourself). Default `primary`. */
59
+ variant?: 'primary' | 'secondary' | 'plain';
60
+ /**
61
+ * Fold to icon-only while the bar is compact. Default: true for a
62
+ * secondary action with an icon. The label stays in the accessible name.
63
+ */
64
+ collapse?: boolean;
65
+ children: React.ReactNode;
66
+ className?: string;
67
+ };
68
+ export type CtaBarActionProps = CtaBarActionOwnProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CtaBarActionOwnProps> & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof CtaBarActionOwnProps | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>>;
69
+ export declare function CtaBarAction({ as, icon, variant, collapse, children, className, ...rest }: CtaBarActionProps): React.JSX.Element;
70
+ export {};
71
+ //# sourceMappingURL=CtaBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CtaBar.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE9D,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wGAAwG;IACxG,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,gHAAgH;IAChH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,4EAA4E;IAC5E,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,wEAAwE;IACxE,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,qFAAqF;IACrF,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,mGAAmG;IACnG,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAMD,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAuB,EACvB,UAAiB,EACjB,MAAe,EACf,SAAS,EACT,QAAQ,EACR,eAAsB,EACtB,eAAsB,EACtB,aAAoB,EACpB,MAAa,EACb,KAAY,EACZ,SAAS,EACT,EAAE,GACH,EAAE,WAAW,qBA+Bb;AAED,KAAK,oBAAoB,GAAG;IAC1B,qGAAqG;IACrG,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,yHAAyH;IACzH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAA;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAClD,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,oBAAoB,CAAC,GAC/E,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,oBAAoB,GAAG,MAAM,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAEvI,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,IAAI,EACJ,OAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,iBAAiB,qBAmBnB"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @sonordev/site-kit/cta-bar — behaviour island
3
+ *
4
+ * Childless. It renders one hidden <span> so it can find the bar it sits in,
5
+ * then drives that bar entirely through data attributes the stylesheet reads:
6
+ *
7
+ * data-hidden off screen: before `showAfter` has scrolled away, while
8
+ * a `hideOver` target is on screen, or while a text field
9
+ * has focus (the keyboard is up and the bar would sit on it)
10
+ * data-compact scrolling down: the bar tightens and icon-bearing
11
+ * secondary actions fold to icons. Scrolling up restores it.
12
+ *
13
+ * Nothing here re-renders React. The bar is server-rendered markup and the
14
+ * island only flips attributes, so a server layout can hand the bar Next
15
+ * <Link> children and none of it crosses a client boundary.
16
+ *
17
+ * Scroll work is one passive listener coalesced to a frame; visibility is
18
+ * IntersectionObserver, so there is no per-frame layout read for it.
19
+ */
20
+ export interface CtaBarBehaviorProps {
21
+ showAfter?: string;
22
+ hideOver?: string[];
23
+ hideWhileTyping: boolean;
24
+ compactOnScroll: boolean;
25
+ track: boolean;
26
+ }
27
+ /**
28
+ * Scroll-direction state for compact mode. Pure, so it is tested without a
29
+ * DOM. `anchorY` only moves once a change is committed, so slow scrolling
30
+ * still accumulates past the threshold instead of resetting every frame.
31
+ */
32
+ export declare function nextCompactState(state: {
33
+ compact: boolean;
34
+ anchorY: number;
35
+ }, y: number): {
36
+ compact: boolean;
37
+ anchorY: number;
38
+ };
39
+ /**
40
+ * Focus targets that raise an on-screen keyboard. Checks tag names rather
41
+ * than `instanceof`, which fails for elements from another realm (an iframe
42
+ * form) and can't run where there is no DOM.
43
+ */
44
+ export declare function isTextEntry(el: Pick<Element, 'tagName'> | null): boolean;
45
+ export declare function CtaBarBehavior({ showAfter, hideOver, hideWhileTyping, compactOnScroll, track }: CtaBarBehaviorProps): import("react").JSX.Element;
46
+ //# sourceMappingURL=CtaBarBehavior.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CtaBarBehavior.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBarBehavior.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,OAAO,CAAA;IACxB,KAAK,EAAE,OAAO,CAAA;CACf;AAOD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC5C,CAAC,EAAE,MAAM,GACR;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAKvC;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,IAAI,GAAG,OAAO,CAOxE;AAUD,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,mBAAmB,+BAgHnH"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @sonordev/site-kit/cta-bar — behaviour island
3
+ *
4
+ * Childless. It renders one hidden <span> so it can find the bar it sits in,
5
+ * then drives that bar entirely through data attributes the stylesheet reads:
6
+ *
7
+ * data-hidden off screen: before `showAfter` has scrolled away, while
8
+ * a `hideOver` target is on screen, or while a text field
9
+ * has focus (the keyboard is up and the bar would sit on it)
10
+ * data-compact scrolling down: the bar tightens and icon-bearing
11
+ * secondary actions fold to icons. Scrolling up restores it.
12
+ *
13
+ * Nothing here re-renders React. The bar is server-rendered markup and the
14
+ * island only flips attributes, so a server layout can hand the bar Next
15
+ * <Link> children and none of it crosses a client boundary.
16
+ *
17
+ * Scroll work is one passive listener coalesced to a frame; visibility is
18
+ * IntersectionObserver, so there is no per-frame layout read for it.
19
+ */
20
+ export interface CtaBarBehaviorProps {
21
+ showAfter?: string;
22
+ hideOver?: string[];
23
+ hideWhileTyping: boolean;
24
+ compactOnScroll: boolean;
25
+ track: boolean;
26
+ }
27
+ /**
28
+ * Scroll-direction state for compact mode. Pure, so it is tested without a
29
+ * DOM. `anchorY` only moves once a change is committed, so slow scrolling
30
+ * still accumulates past the threshold instead of resetting every frame.
31
+ */
32
+ export declare function nextCompactState(state: {
33
+ compact: boolean;
34
+ anchorY: number;
35
+ }, y: number): {
36
+ compact: boolean;
37
+ anchorY: number;
38
+ };
39
+ /**
40
+ * Focus targets that raise an on-screen keyboard. Checks tag names rather
41
+ * than `instanceof`, which fails for elements from another realm (an iframe
42
+ * form) and can't run where there is no DOM.
43
+ */
44
+ export declare function isTextEntry(el: Pick<Element, 'tagName'> | null): boolean;
45
+ export declare function CtaBarBehavior({ showAfter, hideOver, hideWhileTyping, compactOnScroll, track }: CtaBarBehaviorProps): import("react").JSX.Element;
46
+ //# sourceMappingURL=CtaBarBehavior.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CtaBarBehavior.d.ts","sourceRoot":"","sources":["../../src/cta-bar/CtaBarBehavior.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAQH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,OAAO,CAAA;IACxB,KAAK,EAAE,OAAO,CAAA;CACf;AAOD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC5C,CAAC,EAAE,MAAM,GACR;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAKvC;AAID;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,IAAI,GAAG,OAAO,CAOxE;AAUD,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,mBAAmB,+BAgHnH"}
@@ -0,0 +1,23 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var chunkIWSN4DGG_js = require('../chunk-IWSN4DGG.js');
5
+ require('../chunk-3DWIYCQX.js');
6
+ require('../chunk-SNAQBZPT.js');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "CtaBarBehavior", {
11
+ enumerable: true,
12
+ get: function () { return chunkIWSN4DGG_js.CtaBarBehavior; }
13
+ });
14
+ Object.defineProperty(exports, "isTextEntry", {
15
+ enumerable: true,
16
+ get: function () { return chunkIWSN4DGG_js.isTextEntry; }
17
+ });
18
+ Object.defineProperty(exports, "nextCompactState", {
19
+ enumerable: true,
20
+ get: function () { return chunkIWSN4DGG_js.nextCompactState; }
21
+ });
22
+ //# sourceMappingURL=client.js.map
23
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"client.js"}
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+ export { CtaBarBehavior, isTextEntry, nextCompactState } from '../chunk-BZR6RUIN.mjs';
3
+ import '../chunk-SHLWA6JY.mjs';
4
+ import '../chunk-BEXTDHO4.mjs';
5
+ //# sourceMappingURL=client.mjs.map
6
+ //# sourceMappingURL=client.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"client.mjs"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @sonordev/site-kit/cta-bar — the Liquid Glass mobile CTA bar (6.1.0)
3
+ *
4
+ * Server-usable entry: <CtaBar> and <CtaBarAction> are plain components and
5
+ * can be rendered from a server layout. The only client code is the
6
+ * behaviour island they mount, which ships as its own chunk.
7
+ */
8
+ export { CtaBar, CtaBarAction } from './CtaBar';
9
+ export type { CtaBarProps, CtaBarActionProps } from './CtaBar';
10
+ export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, ECHO_CLEARANCE } from './styles';
11
+ export type { CtaBarBreakpoint } from './styles';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cta-bar/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC/C,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC7E,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA"}