@sonordev/site-kit 4.0.0 → 4.0.2

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 (263) hide show
  1. package/agent-manifest.json +6 -1
  2. package/dist/AnalyticsProvider-5SX4ZRGN.js +31 -0
  3. package/dist/{AnalyticsProvider-HZTP36TY.js.map → AnalyticsProvider-5SX4ZRGN.js.map} +1 -1
  4. package/dist/AnalyticsProvider-6DIRTRRA.mjs +10 -0
  5. package/dist/{AnalyticsProvider-P6J5ZGZB.mjs.map → AnalyticsProvider-6DIRTRRA.mjs.map} +1 -1
  6. package/dist/ChatWidget-3SUC7HZA.js +20 -0
  7. package/dist/{ChatWidget-XJFFNLTK.js.map → ChatWidget-3SUC7HZA.js.map} +1 -1
  8. package/dist/ChatWidget-JTTERPI5.mjs +11 -0
  9. package/dist/{ChatWidget-Q4YJUQ36.mjs.map → ChatWidget-JTTERPI5.mjs.map} +1 -1
  10. package/dist/DatePicker-4WNKNNCV.mjs +4 -0
  11. package/dist/DatePicker-4WNKNNCV.mjs.map +1 -0
  12. package/dist/DatePicker-VPZR7RU3.js +13 -0
  13. package/dist/DatePicker-VPZR7RU3.js.map +1 -0
  14. package/dist/EngageWidget-3MDY2W5G.mjs +9 -0
  15. package/dist/{EngageWidget-IMQBLBII.mjs.map → EngageWidget-3MDY2W5G.mjs.map} +1 -1
  16. package/dist/EngageWidget-YVAIP2NW.js +18 -0
  17. package/dist/{EngageWidget-NGPAVLLE.js.map → EngageWidget-YVAIP2NW.js.map} +1 -1
  18. package/dist/FileField-PD52URLX.js +91 -0
  19. package/dist/FileField-PD52URLX.js.map +1 -0
  20. package/dist/FileField-XMBF3XCG.mjs +85 -0
  21. package/dist/FileField-XMBF3XCG.mjs.map +1 -0
  22. package/dist/{FormSpotlight-5YFKFZYS.mjs → FormSpotlight-72TYHDPV.mjs} +8 -7
  23. package/dist/FormSpotlight-72TYHDPV.mjs.map +1 -0
  24. package/dist/{FormSpotlight-7BH6QE6T.js → FormSpotlight-AL6KGMGG.js} +23 -22
  25. package/dist/FormSpotlight-AL6KGMGG.js.map +1 -0
  26. package/dist/{FormStage-KB4GYL5K.mjs → FormStage-GNBPJ7WX.mjs} +7 -7
  27. package/dist/FormStage-GNBPJ7WX.mjs.map +1 -0
  28. package/dist/{FormStage-7BVPTSSE.js → FormStage-NLO52ER2.js} +19 -19
  29. package/dist/FormStage-NLO52ER2.js.map +1 -0
  30. package/dist/ManagedForm-2SYVMJY6.mjs +14 -0
  31. package/dist/ManagedForm-2SYVMJY6.mjs.map +1 -0
  32. package/dist/ManagedForm-XWN3TVQQ.js +23 -0
  33. package/dist/ManagedForm-XWN3TVQQ.js.map +1 -0
  34. package/dist/{SignalCore-6GXPHNFA.mjs → SignalCore-4NOVH33M.mjs} +5 -5
  35. package/dist/{SignalCore-6GXPHNFA.mjs.map → SignalCore-4NOVH33M.mjs.map} +1 -1
  36. package/dist/{SignalCore-LJ3NUEU4.js → SignalCore-PD75O7GB.js} +11 -11
  37. package/dist/{SignalCore-LJ3NUEU4.js.map → SignalCore-PD75O7GB.js.map} +1 -1
  38. package/dist/SitemapSync-KKUF43DS.js +17 -0
  39. package/dist/{SitemapSync-BG2ZWSM6.js.map → SitemapSync-KKUF43DS.js.map} +1 -1
  40. package/dist/SitemapSync-UH6VZ55T.mjs +8 -0
  41. package/dist/{SitemapSync-5DGS2XLM.mjs.map → SitemapSync-UH6VZ55T.mjs.map} +1 -1
  42. package/dist/analytics/index.js +9 -9
  43. package/dist/analytics/index.mjs +4 -4
  44. package/dist/{chunk-BFADBU2B.js → chunk-2ACKOMAL.js} +105 -514
  45. package/dist/chunk-2ACKOMAL.js.map +1 -0
  46. package/dist/{chunk-64DQANST.js → chunk-2MIOQYF5.js} +6 -6
  47. package/dist/{chunk-64DQANST.js.map → chunk-2MIOQYF5.js.map} +1 -1
  48. package/dist/{chunk-FLTTRX4O.mjs → chunk-53RHVKTD.mjs} +5 -5
  49. package/dist/{chunk-FLTTRX4O.mjs.map → chunk-53RHVKTD.mjs.map} +1 -1
  50. package/dist/{chunk-NQRUCOI7.js → chunk-5QVXHD6V.js} +14 -14
  51. package/dist/{chunk-NQRUCOI7.js.map → chunk-5QVXHD6V.js.map} +1 -1
  52. package/dist/{chunk-J6UKM476.js → chunk-62Z4D3QR.js} +5 -5
  53. package/dist/{chunk-J6UKM476.js.map → chunk-62Z4D3QR.js.map} +1 -1
  54. package/dist/{chunk-744TJ7SN.mjs → chunk-6PNWJXAE.mjs} +3 -3
  55. package/dist/{chunk-744TJ7SN.mjs.map → chunk-6PNWJXAE.mjs.map} +1 -1
  56. package/dist/{chunk-NKKXKN5L.mjs → chunk-6ZFXASW6.mjs} +4 -4
  57. package/dist/{chunk-NKKXKN5L.mjs.map → chunk-6ZFXASW6.mjs.map} +1 -1
  58. package/dist/{chunk-YNIZKOEW.js → chunk-A624YYDG.js} +2 -2
  59. package/dist/{chunk-YNIZKOEW.js.map → chunk-A624YYDG.js.map} +1 -1
  60. package/dist/chunk-AJNT5GCU.mjs +183 -0
  61. package/dist/chunk-AJNT5GCU.mjs.map +1 -0
  62. package/dist/chunk-AQA4PFMJ.mjs +44 -0
  63. package/dist/chunk-AQA4PFMJ.mjs.map +1 -0
  64. package/dist/{chunk-AVHXVWWG.mjs → chunk-B7J7SU5A.mjs} +8 -8
  65. package/dist/{chunk-AVHXVWWG.mjs.map → chunk-B7J7SU5A.mjs.map} +1 -1
  66. package/dist/chunk-DVYYGHSG.js +285 -0
  67. package/dist/chunk-DVYYGHSG.js.map +1 -0
  68. package/dist/{chunk-HUYPO33T.mjs → chunk-FGN27J35.mjs} +4 -4
  69. package/dist/{chunk-HUYPO33T.mjs.map → chunk-FGN27J35.mjs.map} +1 -1
  70. package/dist/{chunk-O5Z7ZKYS.mjs → chunk-FZ643CZK.mjs} +4 -4
  71. package/dist/{chunk-O5Z7ZKYS.mjs.map → chunk-FZ643CZK.mjs.map} +1 -1
  72. package/dist/{chunk-3IXGYUUR.mjs → chunk-GCS4XZHC.mjs} +3 -3
  73. package/dist/{chunk-3IXGYUUR.mjs.map → chunk-GCS4XZHC.mjs.map} +1 -1
  74. package/dist/{chunk-BH3XILNX.mjs → chunk-HOB2A6JM.mjs} +3 -3
  75. package/dist/{chunk-BH3XILNX.mjs.map → chunk-HOB2A6JM.mjs.map} +1 -1
  76. package/dist/{chunk-U3OU4V56.mjs → chunk-JFVEKSZT.mjs} +5 -182
  77. package/dist/chunk-JFVEKSZT.mjs.map +1 -0
  78. package/dist/{chunk-PMCNKBYS.mjs → chunk-KNYK2VLX.mjs} +3 -3
  79. package/dist/{chunk-PMCNKBYS.mjs.map → chunk-KNYK2VLX.mjs.map} +1 -1
  80. package/dist/{chunk-6DJEXHZE.mjs → chunk-LB7LHVWI.mjs} +107 -503
  81. package/dist/chunk-LB7LHVWI.mjs.map +1 -0
  82. package/dist/{chunk-YOTQH4X4.js → chunk-LP6MC2RH.js} +14 -14
  83. package/dist/{chunk-YOTQH4X4.js.map → chunk-LP6MC2RH.js.map} +1 -1
  84. package/dist/chunk-LVCUT2OX.js +148 -0
  85. package/dist/chunk-LVCUT2OX.js.map +1 -0
  86. package/dist/chunk-LYAU5PRS.js +8 -0
  87. package/dist/{chunk-T7QIXFFM.js.map → chunk-LYAU5PRS.js.map} +1 -1
  88. package/dist/{chunk-OTAIUZED.js → chunk-MPACJDDG.js} +8 -8
  89. package/dist/{chunk-OTAIUZED.js.map → chunk-MPACJDDG.js.map} +1 -1
  90. package/dist/{chunk-W4WGNWQG.js → chunk-MRRTAJWQ.js} +3 -3
  91. package/dist/{chunk-W4WGNWQG.js.map → chunk-MRRTAJWQ.js.map} +1 -1
  92. package/dist/chunk-MU3D5IO7.mjs +283 -0
  93. package/dist/chunk-MU3D5IO7.mjs.map +1 -0
  94. package/dist/{chunk-L5NLP3EW.js → chunk-MVHR77V4.js} +11 -2
  95. package/dist/chunk-MVHR77V4.js.map +1 -0
  96. package/dist/chunk-MZY3MEUO.mjs +138 -0
  97. package/dist/chunk-MZY3MEUO.mjs.map +1 -0
  98. package/dist/chunk-NCWVR4BU.mjs +508 -0
  99. package/dist/chunk-NCWVR4BU.mjs.map +1 -0
  100. package/dist/{chunk-LKZF7343.js → chunk-NJN467OM.js} +14 -14
  101. package/dist/{chunk-LKZF7343.js.map → chunk-NJN467OM.js.map} +1 -1
  102. package/dist/{chunk-EZCDDRXA.mjs → chunk-NWJX6NHR.mjs} +4 -4
  103. package/dist/{chunk-EZCDDRXA.mjs.map → chunk-NWJX6NHR.mjs.map} +1 -1
  104. package/dist/chunk-NWPNFCNY.js +511 -0
  105. package/dist/chunk-NWPNFCNY.js.map +1 -0
  106. package/dist/{chunk-P64SKDBS.js → chunk-OP5FYTWJ.js} +12 -191
  107. package/dist/chunk-OP5FYTWJ.js.map +1 -0
  108. package/dist/{chunk-JM5JCIAY.js → chunk-PGND73EV.js} +4 -4
  109. package/dist/{chunk-JM5JCIAY.js.map → chunk-PGND73EV.js.map} +1 -1
  110. package/dist/chunk-QO5NS62X.js +46 -0
  111. package/dist/chunk-QO5NS62X.js.map +1 -0
  112. package/dist/chunk-QTN3F7D7.mjs +6 -0
  113. package/dist/{chunk-LLQEJDCA.mjs.map → chunk-QTN3F7D7.mjs.map} +1 -1
  114. package/dist/chunk-R4PCXP3F.mjs +60 -0
  115. package/dist/chunk-R4PCXP3F.mjs.map +1 -0
  116. package/dist/{chunk-BOWEGDKJ.js → chunk-RAX3HS4T.js} +15 -15
  117. package/dist/{chunk-BOWEGDKJ.js.map → chunk-RAX3HS4T.js.map} +1 -1
  118. package/dist/{chunk-SXE2TRRU.js → chunk-T2YAEBEY.js} +4 -4
  119. package/dist/{chunk-SXE2TRRU.js.map → chunk-T2YAEBEY.js.map} +1 -1
  120. package/dist/{chunk-I76F26IS.mjs → chunk-T5DXYGWK.mjs} +3 -3
  121. package/dist/{chunk-I76F26IS.mjs.map → chunk-T5DXYGWK.mjs.map} +1 -1
  122. package/dist/{chunk-KHJYA64F.mjs → chunk-U2CJZ6O5.mjs} +2 -2
  123. package/dist/{chunk-KHJYA64F.mjs.map → chunk-U2CJZ6O5.mjs.map} +1 -1
  124. package/dist/{chunk-TUVJQ6FS.mjs → chunk-UBNVD567.mjs} +3 -3
  125. package/dist/{chunk-TUVJQ6FS.mjs.map → chunk-UBNVD567.mjs.map} +1 -1
  126. package/dist/chunk-UQPUFRXF.mjs +104 -0
  127. package/dist/chunk-UQPUFRXF.mjs.map +1 -0
  128. package/dist/chunk-VLY3SFNH.js +64 -0
  129. package/dist/chunk-VLY3SFNH.js.map +1 -0
  130. package/dist/{chunk-MVMORDOM.mjs → chunk-VUIQLKJB.mjs} +3 -3
  131. package/dist/{chunk-MVMORDOM.mjs.map → chunk-VUIQLKJB.mjs.map} +1 -1
  132. package/dist/chunk-WHVUSVHA.js +110 -0
  133. package/dist/chunk-WHVUSVHA.js.map +1 -0
  134. package/dist/{chunk-H4F557CO.js → chunk-WNNY2BCV.js} +8 -8
  135. package/dist/{chunk-H4F557CO.js.map → chunk-WNNY2BCV.js.map} +1 -1
  136. package/dist/{chunk-KN2EYZYV.mjs → chunk-WSPGXSBU.mjs} +11 -2
  137. package/dist/chunk-WSPGXSBU.mjs.map +1 -0
  138. package/dist/{chunk-ZLVZOAJG.js → chunk-WXKEYKE6.js} +15 -15
  139. package/dist/{chunk-ZLVZOAJG.js.map → chunk-WXKEYKE6.js.map} +1 -1
  140. package/dist/{chunk-NWYXTJNW.mjs → chunk-XNPITFJ5.mjs} +3 -3
  141. package/dist/{chunk-NWYXTJNW.mjs.map → chunk-XNPITFJ5.mjs.map} +1 -1
  142. package/dist/{chunk-ZBFBNGQK.mjs → chunk-XRC3JZAK.mjs} +3 -3
  143. package/dist/{chunk-ZBFBNGQK.mjs.map → chunk-XRC3JZAK.mjs.map} +1 -1
  144. package/dist/{chunk-OWQFWDE2.js → chunk-Y26LKDE4.js} +9 -9
  145. package/dist/{chunk-OWQFWDE2.js.map → chunk-Y26LKDE4.js.map} +1 -1
  146. package/dist/{chunk-2OD3EGPO.js → chunk-ZK5VSIRO.js} +12 -12
  147. package/dist/{chunk-2OD3EGPO.js.map → chunk-ZK5VSIRO.js.map} +1 -1
  148. package/dist/{chunk-IPQ7Z5VT.js → chunk-ZPG4GTU7.js} +5 -5
  149. package/dist/{chunk-IPQ7Z5VT.js.map → chunk-ZPG4GTU7.js.map} +1 -1
  150. package/dist/chunk-ZRGCKWIT.js +188 -0
  151. package/dist/chunk-ZRGCKWIT.js.map +1 -0
  152. package/dist/cli/index.js +3 -3
  153. package/dist/cli/index.mjs +1 -1
  154. package/dist/client/index.js +5 -5
  155. package/dist/client/index.mjs +4 -4
  156. package/dist/commerce/index.js +56 -56
  157. package/dist/commerce/index.mjs +5 -5
  158. package/dist/engage/index.js +10 -9
  159. package/dist/engage/index.js.map +1 -1
  160. package/dist/engage/index.mjs +7 -6
  161. package/dist/engage/index.mjs.map +1 -1
  162. package/dist/fleet/index.js +9 -9
  163. package/dist/fleet/index.mjs +5 -5
  164. package/dist/forms/FileField.d.ts +31 -0
  165. package/dist/forms/FileField.d.ts.map +1 -0
  166. package/dist/forms/FormClient.d.ts +12 -1
  167. package/dist/forms/FormClient.d.ts.map +1 -1
  168. package/dist/forms/FormEnhancer.d.ts +72 -0
  169. package/dist/forms/FormEnhancer.d.ts.map +1 -0
  170. package/dist/forms/FormField.d.ts +26 -3
  171. package/dist/forms/FormField.d.ts.map +1 -1
  172. package/dist/forms/FormSpotlight.d.ts.map +1 -1
  173. package/dist/forms/FormStage.d.ts.map +1 -1
  174. package/dist/forms/HoneypotField.d.ts +8 -2
  175. package/dist/forms/HoneypotField.d.ts.map +1 -1
  176. package/dist/forms/ManagedForm.d.ts +1 -1
  177. package/dist/forms/ManagedForm.d.ts.map +1 -1
  178. package/dist/forms/ServerForm.d.ts +73 -0
  179. package/dist/forms/ServerForm.d.ts.map +1 -0
  180. package/dist/forms/StaticForm.d.ts +50 -0
  181. package/dist/forms/StaticForm.d.ts.map +1 -0
  182. package/dist/forms/experience-chrome.d.ts.map +1 -1
  183. package/dist/forms/field-controls.d.ts +7 -0
  184. package/dist/forms/field-controls.d.ts.map +1 -0
  185. package/dist/forms/index.d.ts +7 -0
  186. package/dist/forms/index.d.ts.map +1 -1
  187. package/dist/forms/index.js +33 -537
  188. package/dist/forms/index.js.map +1 -1
  189. package/dist/forms/index.mjs +14 -530
  190. package/dist/forms/index.mjs.map +1 -1
  191. package/dist/forms/native-fallback.d.ts +41 -0
  192. package/dist/forms/native-fallback.d.ts.map +1 -0
  193. package/dist/forms/native-fallback.test.d.ts +2 -0
  194. package/dist/forms/native-fallback.test.d.ts.map +1 -0
  195. package/dist/forms/normalize-config.d.ts +18 -0
  196. package/dist/forms/normalize-config.d.ts.map +1 -0
  197. package/dist/forms/server.d.ts +5 -0
  198. package/dist/forms/server.d.ts.map +1 -1
  199. package/dist/forms/server.js +47 -0
  200. package/dist/forms/server.js.map +1 -1
  201. package/dist/forms/server.mjs +44 -1
  202. package/dist/forms/server.mjs.map +1 -1
  203. package/dist/forms/static-form.test.d.ts +2 -0
  204. package/dist/forms/static-form.test.d.ts.map +1 -0
  205. package/dist/forms/static.d.ts +17 -0
  206. package/dist/forms/static.d.ts.map +1 -0
  207. package/dist/forms/static.js +20 -0
  208. package/dist/forms/static.js.map +1 -0
  209. package/dist/forms/static.mjs +11 -0
  210. package/dist/forms/static.mjs.map +1 -0
  211. package/dist/forms/submitForm.d.ts +4 -0
  212. package/dist/forms/submitForm.d.ts.map +1 -1
  213. package/dist/forms/types.d.ts +19 -0
  214. package/dist/forms/types.d.ts.map +1 -1
  215. package/dist/forms/useForm.d.ts.map +1 -1
  216. package/dist/images/index.js +11 -11
  217. package/dist/images/index.mjs +4 -4
  218. package/dist/index.js +109 -109
  219. package/dist/index.mjs +9 -9
  220. package/dist/layout/client.js +9 -9
  221. package/dist/layout/client.mjs +8 -8
  222. package/dist/layout/index.js +11 -11
  223. package/dist/layout/index.mjs +9 -9
  224. package/dist/maps/index.js +5 -5
  225. package/dist/maps/index.mjs +3 -3
  226. package/dist/search/index.js +4 -4
  227. package/dist/search/index.mjs +3 -3
  228. package/dist/seo/client.js +5 -5
  229. package/dist/seo/client.mjs +4 -4
  230. package/dist/seo/index.js +14 -14
  231. package/dist/seo/index.mjs +6 -6
  232. package/dist/seo/server.js +5 -5
  233. package/dist/seo/server.mjs +1 -1
  234. package/dist/server/index.js +3 -3
  235. package/dist/server/index.mjs +2 -2
  236. package/dist/shared/build-entries.d.ts +6 -0
  237. package/dist/shared/build-entries.d.ts.map +1 -1
  238. package/dist/shared/version.d.ts +1 -1
  239. package/dist/signal/index.js +11 -11
  240. package/dist/signal/index.mjs +2 -2
  241. package/dist/sync/index.js +16 -16
  242. package/dist/sync/index.mjs +4 -4
  243. package/package.json +9 -4
  244. package/dist/AnalyticsProvider-HZTP36TY.js +0 -31
  245. package/dist/AnalyticsProvider-P6J5ZGZB.mjs +0 -10
  246. package/dist/ChatWidget-Q4YJUQ36.mjs +0 -10
  247. package/dist/ChatWidget-XJFFNLTK.js +0 -19
  248. package/dist/EngageWidget-IMQBLBII.mjs +0 -9
  249. package/dist/EngageWidget-NGPAVLLE.js +0 -18
  250. package/dist/FormSpotlight-5YFKFZYS.mjs.map +0 -1
  251. package/dist/FormSpotlight-7BH6QE6T.js.map +0 -1
  252. package/dist/FormStage-7BVPTSSE.js.map +0 -1
  253. package/dist/FormStage-KB4GYL5K.mjs.map +0 -1
  254. package/dist/SitemapSync-5DGS2XLM.mjs +0 -8
  255. package/dist/SitemapSync-BG2ZWSM6.js +0 -17
  256. package/dist/chunk-6DJEXHZE.mjs.map +0 -1
  257. package/dist/chunk-BFADBU2B.js.map +0 -1
  258. package/dist/chunk-KN2EYZYV.mjs.map +0 -1
  259. package/dist/chunk-L5NLP3EW.js.map +0 -1
  260. package/dist/chunk-LLQEJDCA.mjs +0 -6
  261. package/dist/chunk-P64SKDBS.js.map +0 -1
  262. package/dist/chunk-T7QIXFFM.js +0 -8
  263. package/dist/chunk-U3OU4V56.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/forms/HoneypotField.tsx","../src/forms/native-fallback.tsx"],"names":["jsx"],"mappings":";;;AAqCO,SAAS,aAAA,CAAc,EAAE,IAAA,EAAM,KAAA,EAAO,UAAS,EAAuB;AAC3E,EAAA,MAAM,WAAA,GAAc,OAAO,QAAA,KAAa,UAAA;AACxC,EAAA,uBACE,GAAA;AAAA,IAAC,OAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAK,MAAA;AAAA,MACL,IAAA;AAAA,MACA,QAAA,EAAU,EAAA;AAAA,MACV,YAAA,EAAa,cAAA;AAAA,MACb,aAAA,EAAY,MAAA;AAAA,MACZ,KAAA,EAAK,IAAA;AAAA,MACL,kBAAA,EAAiB,EAAA;AAAA,MAGjB,gBAAA,EAAe,EAAA;AAAA,MACf,eAAA,EAAc,MAAA;AAAA,MACd,gBAAA,EAAe,OAAA;AAAA,MACf,eAAA,EAAc,EAAA;AAAA,MACd,KAAA,EAAO;AAAA,QACL,QAAA,EAAU,UAAA;AAAA,QACV,IAAA,EAAM,KAAA;AAAA,QACN,KAAA,EAAO,CAAA;AAAA,QACP,MAAA,EAAQ,CAAA;AAAA,QACR,QAAA,EAAU,QAAA;AAAA,QACV,OAAA,EAAS,CAAA;AAAA,QACT,UAAA,EAAY,QAAA;AAAA,QACZ,aAAA,EAAe;AAAA,OACjB;AAAA,MACC,GAAI,WAAA,GACD;AAAA,QACE,OAAO,KAAA,IAAS,EAAA;AAAA,QAChB,QAAA,EAAU,CAAC,CAAA,KAA2C;AACpD,UAAA,QAAA,CAAU,CAAA,CAAE,OAAO,KAAK,CAAA;AACxB,UAAA,IAAI,CAAA,CAAE,OAAO,KAAA,EAAO;AAElB,YAAA,OAAA,CAAQ,KAAK,4BAA4B,CAAA;AAAA,UAC3C;AAAA,QACF;AAAA,OACF,GACA,EAAE,YAAA,EAAc,EAAA;AAAG;AAAA,GACzB;AAEJ;ACjDA,SAAS,eAAe,MAAA,EAAuD;AAC7E,EAAA,OAAO,CAAC,CAAC,MAAA,EAAQ,YAAA,IAAgB,CAAC,MAAA,CAAO,aAAA;AAC3C;AAGO,SAAS,gBACd,MAAA,EACsC;AACtC,EAAA,IAAI,CAAC,cAAA,CAAe,MAAM,CAAA,SAAU,EAAC;AACrC,EAAA,MAAM,EAAE,MAAA,EAAO,GAAI,YAAA,EAAa;AAChC,EAAA,OAAO,EAAE,MAAA,EAAQ,CAAA,EAAG,MAAM,CAAA,+BAAA,CAAA,EAAmC,QAAQ,MAAA,EAAO;AAC9E;AAaO,SAAS,oBAAA,CAAqB,EAAE,MAAA,EAAQ,QAAA,EAAS,EAA8B;AACpF,EAAA,IAAI,CAAC,cAAA,CAAe,MAAM,CAAA,EAAG,OAAO,IAAA;AACpC,EAAA,uBACE,IAAA,CAAA,QAAA,EAAA,EACE,QAAA,EAAA;AAAA,oBAAAA,GAAAA,CAAC,OAAA,EAAA,EAAM,IAAA,EAAK,QAAA,EAAS,IAAA,EAAK,aAAY,KAAA,EAAO,MAAA,CAAQ,YAAA,EAAc,QAAA,EAAQ,IAAA,EAAC,CAAA;AAAA,IAC3E,QAAA,mBAAWA,GAAAA,CAAC,OAAA,EAAA,EAAM,IAAA,EAAK,QAAA,EAAS,IAAA,EAAK,YAAA,EAAa,KAAA,EAAO,QAAA,EAAU,QAAA,EAAQ,IAAA,EAAC,CAAA,GAAK;AAAA,GAAA,EACpF,CAAA;AAEJ","file":"chunk-R4PCXP3F.mjs","sourcesContent":["/**\n * Single source of truth for the honeypot input — rendered by BOTH form\n * experiences (classic and stage) inside their <form>. The customRender path\n * deliberately gets none (documented limitation: custom renders lose the\n * honeypot, which is why alternate experiences must be render branches).\n *\n * Invariants (do not weaken any of these):\n * - `inert` blocks focus/interaction at the browser level, surviving hostile\n * site CSS that could defeat the inline styles.\n * - data-sk-honeypot gives site CSS a stable opt-OUT hook.\n * - Controlled input: bots filling via JS still fire React onChange, so the\n * value reaches submitForm's data payload.\n * - Name comes from config (`honeypot_field || DEFAULT_HONEYPOT_FIELD` from\n * the shared contract) — resolved by the caller, never forked here.\n * - The trap must be invisible to AUTOFILL as well as to people. A browser or\n * password manager filling a hidden input flags a real visitor as a bot, and\n * because the value is stripped server-side the mistake is undiagnosable\n * after the fact. `autocomplete=\"off\"` does not achieve this — it is the one\n * value Chrome deliberately ignores for contact/address autofill — so the\n * trap declares `new-password` (never offered saved contact data) plus the\n * documented per-manager opt-outs.\n */\n\nimport React from 'react'\n\nexport interface HoneypotFieldProps {\n name: string\n value?: string\n /**\n * Omit for STATIC mode — an uncontrolled trap a Server Component can render.\n * The trap's whole job is server-side (the value is read off the submission\n * and stripped), so it needs no client state to work; the controlled form is\n * only so the hydrated JSON path can read it back out of React state.\n */\n onChange?: (value: string) => void\n}\n\nexport function HoneypotField({ name, value, onChange }: HoneypotFieldProps) {\n const interactive = typeof onChange === 'function'\n return (\n <input\n type=\"text\"\n name={name}\n tabIndex={-1}\n autoComplete=\"new-password\"\n aria-hidden=\"true\"\n inert\n data-sk-honeypot=\"\"\n // Password-manager opt-outs: 1Password, LastPass, Dashlane, Bitwarden.\n // Each ignores its own attribute; none respects autocomplete alone.\n data-1p-ignore=\"\"\n data-lpignore=\"true\"\n data-form-type=\"other\"\n data-bwignore=\"\"\n style={{\n position: 'absolute',\n left: -9999,\n width: 1,\n height: 1,\n overflow: 'hidden',\n opacity: 0,\n visibility: 'hidden',\n pointerEvents: 'none',\n }}\n {...(interactive\n ? {\n value: value ?? '',\n onChange: (e: React.ChangeEvent<HTMLInputElement>) => {\n onChange!(e.target.value)\n if (e.target.value) {\n // Bot detected\n console.warn('[Forms] Honeypot triggered')\n }\n },\n }\n : { defaultValue: '' })}\n />\n )\n}\n","'use client'\n\n/**\n * No-JS native submission fallback — the floor under every managed form.\n *\n * The classic form is the SSR/no-JS surface (experiences are post-hydration\n * chunks), so it alone carries a real `action`/`method` pointing at\n * sonor-api's POST /api/public/forms/submit-native. With JS running, the\n * form's onSubmit preventDefault()s and the JSON path wins; without JS the\n * browser performs an ordinary form-encoded POST and the lead still lands.\n *\n * Auth rides in the hidden `_sk_token` field: a signed, single-purpose\n * credential minted by the api-key-authenticated forms/config endpoint\n * (`native_token` in the response). No token in the config (older API, or no\n * signing secret) means no fallback — the form keeps its historical behavior\n * rather than pointing at an endpoint that will reject it.\n *\n * Multi-step forms are excluded: step navigation is JS, and a native POST of\n * step-1 fields alone fails whole-form validation server-side. Single-step\n * forms are the overwhelming lead-capture case.\n *\n * Single source of truth for the gating — the form attrs and the hidden\n * fields must always agree, so both read the same predicate.\n */\n\nimport React from 'react'\nimport type { ManagedFormConfig } from './types'\nimport { getApiConfig } from './submitForm'\n\nfunction nativeEligible(config: ManagedFormConfig | null | undefined): boolean {\n return !!config?.native_token && !config.is_multi_step\n}\n\n/** `action`/`method` for the classic <form> — empty when ineligible. */\nexport function nativeFormProps(\n config: ManagedFormConfig | null | undefined,\n): { action?: string; method?: 'post' } {\n if (!nativeEligible(config)) return {}\n const { apiUrl } = getApiConfig()\n return { action: `${apiUrl}/api/public/forms/submit-native`, method: 'post' }\n}\n\nexport interface NativeFallbackFieldsProps {\n config: ManagedFormConfig | null | undefined\n /**\n * Absolute URL the native 303 should land on (usually the page hosting the\n * form). Optional — without it the server falls back to the Referer origin,\n * which loses the path but still returns the visitor to the right site.\n */\n returnTo?: string\n}\n\n/** Hidden control fields the native endpoint reads (`_sk_*` namespace). */\nexport function NativeFallbackFields({ config, returnTo }: NativeFallbackFieldsProps) {\n if (!nativeEligible(config)) return null\n return (\n <>\n <input type=\"hidden\" name=\"_sk_token\" value={config!.native_token} readOnly />\n {returnTo ? <input type=\"hidden\" name=\"_sk_return\" value={returnTo} readOnly /> : null}\n </>\n )\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkP64SKDBS_js = require('./chunk-P64SKDBS.js');
5
- var chunkZLVZOAJG_js = require('./chunk-ZLVZOAJG.js');
4
+ var chunkOP5FYTWJ_js = require('./chunk-OP5FYTWJ.js');
5
+ var chunkWXKEYKE6_js = require('./chunk-WXKEYKE6.js');
6
6
  var react = require('react');
7
7
  var ReactMarkdown = require('react-markdown');
8
8
  var jsxRuntime = require('react/jsx-runtime');
@@ -37,7 +37,7 @@ function InlineManagedForm({ slug, prefill, primaryColor, primaryRgb }) {
37
37
  submit,
38
38
  isSubmitting,
39
39
  isComplete
40
- } = chunkP64SKDBS_js.useForm(slug, { initialValues: prefill || {} });
40
+ } = chunkOP5FYTWJ_js.useForm(slug, { initialValues: prefill || {} });
41
41
  const cardStyle = {
42
42
  marginTop: 8,
43
43
  padding: 12,
@@ -389,7 +389,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
389
389
  const { apiKey } = getApiConfig();
390
390
  if (!apiKey) return;
391
391
  let cancelled = false;
392
- chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/api/public/seo/project-info`, {}, { apiKey, retries: 0 }).then((res) => res.ok ? res.json() : null).then((data) => {
392
+ chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/api/public/seo/project-info`, {}, { apiKey, retries: 0 }).then((res) => res.ok ? res.json() : null).then((data) => {
393
393
  if (cancelled || !data?.valid || !data?.project_id) return;
394
394
  setResolvedProjectId(data.project_id);
395
395
  }).catch(() => {
@@ -403,7 +403,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
403
403
  const apiKey = ensureApiKey();
404
404
  if (!apiKey) return;
405
405
  try {
406
- const response = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/config?projectId=${projectId}`, {}, { apiKey, retries: 0 });
406
+ const response = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/config?projectId=${projectId}`, {}, { apiKey, retries: 0 });
407
407
  if (response.ok) {
408
408
  const { data } = await response.json();
409
409
  setWidgetConfig(data ?? null);
@@ -419,7 +419,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
419
419
  const apiKey = ensureApiKey();
420
420
  if (!apiKey) return null;
421
421
  try {
422
- const response = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/availability?projectId=${projectId}`, {}, { apiKey, retries: 0 });
422
+ const response = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/availability?projectId=${projectId}`, {}, { apiKey, retries: 0 });
423
423
  if (response.ok) {
424
424
  const { data } = await response.json();
425
425
  setAvailability(data);
@@ -436,7 +436,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
436
436
  const apiKey = ensureApiKey();
437
437
  if (!apiKey) return null;
438
438
  try {
439
- const response = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/session`, {
439
+ const response = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/session`, {
440
440
  method: "POST",
441
441
  headers: { "Content-Type": "application/json" },
442
442
  body: JSON.stringify({
@@ -497,7 +497,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
497
497
  pageUrl: typeof window !== "undefined" ? window.location.href : void 0,
498
498
  ...siteContext ? { siteContext } : {}
499
499
  };
500
- const res = await chunkZLVZOAJG_js.sonorFetch(url, {
500
+ const res = await chunkWXKEYKE6_js.sonorFetch(url, {
501
501
  method: "POST",
502
502
  headers: {
503
503
  "Content-Type": "application/json"
@@ -608,7 +608,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
608
608
  if (currentSessionId) {
609
609
  const apiKey = ensureApiKey();
610
610
  if (apiKey) {
611
- chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/messages?sessionId=${currentSessionId}`, {}, { apiKey, retries: 0 }).then((res) => res.ok ? res.json() : null).then((json) => {
611
+ chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/messages?sessionId=${currentSessionId}`, {}, { apiKey, retries: 0 }).then((res) => res.ok ? res.json() : null).then((json) => {
612
612
  const data = json?.data ?? json;
613
613
  if (Array.isArray(data) && data.length) {
614
614
  setMessages((prev) => {
@@ -671,7 +671,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
671
671
  try {
672
672
  const apiKey = ensureApiKey();
673
673
  if (!apiKey) return;
674
- const response = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/messages?sessionId=${currentSessionId}`, {}, { apiKey, retries: 0 });
674
+ const response = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/messages?sessionId=${currentSessionId}`, {}, { apiKey, retries: 0 });
675
675
  if (response.ok) {
676
676
  const { data } = await response.json();
677
677
  setMessages((prev) => {
@@ -824,7 +824,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
824
824
  form.append("file", file);
825
825
  form.append("sessionId", sessionId);
826
826
  form.append("visitorId", visitorId);
827
- const res = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/upload`, {
827
+ const res = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/upload`, {
828
828
  method: "POST",
829
829
  body: form
830
830
  }, { apiKey, retries: 0 });
@@ -971,7 +971,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
971
971
  if (!apiKey) return;
972
972
  setCheckingHandoff(true);
973
973
  try {
974
- const res = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/handoff`, {
974
+ const res = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/handoff`, {
975
975
  method: "POST",
976
976
  headers: { "Content-Type": "application/json" },
977
977
  body: JSON.stringify({ sessionId })
@@ -1010,7 +1010,7 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
1010
1010
  setIsLoading(true);
1011
1011
  setOfflineError(null);
1012
1012
  try {
1013
- const response = await chunkZLVZOAJG_js.sonorFetch(`${baseUrl}/engage/widget/offline-form`, {
1013
+ const response = await chunkWXKEYKE6_js.sonorFetch(`${baseUrl}/engage/widget/offline-form`, {
1014
1014
  method: "POST",
1015
1015
  headers: { "Content-Type": "application/json" },
1016
1016
  body: JSON.stringify({
@@ -1611,5 +1611,5 @@ function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, sign
1611
1611
  }
1612
1612
 
1613
1613
  exports.ChatWidget = ChatWidget;
1614
- //# sourceMappingURL=chunk-BOWEGDKJ.js.map
1615
- //# sourceMappingURL=chunk-BOWEGDKJ.js.map
1614
+ //# sourceMappingURL=chunk-RAX3HS4T.js.map
1615
+ //# sourceMappingURL=chunk-RAX3HS4T.js.map