@flamingo-stack/openframe-frontend-core 0.0.596-2034.5687.1 → 0.0.596

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 (152) hide show
  1. package/dist/{chunk-SQXNSIGS.cjs → chunk-4S5E7NOM.cjs} +5 -5
  2. package/dist/{chunk-SQXNSIGS.cjs.map → chunk-4S5E7NOM.cjs.map} +1 -1
  3. package/dist/{chunk-MRW4QU2L.js → chunk-6EBKO275.js} +3 -3
  4. package/dist/{chunk-5JMMSSMV.js → chunk-7L5ROE3Z.js} +3 -3
  5. package/dist/{chunk-PHNFKPWJ.js → chunk-AVIZUQRW.js} +2 -2
  6. package/dist/{chunk-XW4JIRYE.cjs → chunk-AYVTVUZT.cjs} +15 -15
  7. package/dist/{chunk-XW4JIRYE.cjs.map → chunk-AYVTVUZT.cjs.map} +1 -1
  8. package/dist/{chunk-KQ2X5FUP.cjs → chunk-B3NX4GZS.cjs} +3 -3
  9. package/dist/{chunk-KQ2X5FUP.cjs.map → chunk-B3NX4GZS.cjs.map} +1 -1
  10. package/dist/{chunk-Y3VGUQIW.cjs → chunk-DVSTM6QK.cjs} +33 -33
  11. package/dist/{chunk-Y3VGUQIW.cjs.map → chunk-DVSTM6QK.cjs.map} +1 -1
  12. package/dist/{chunk-WVSUQTPS.cjs → chunk-EQ3DAGD7.cjs} +43 -43
  13. package/dist/{chunk-WVSUQTPS.cjs.map → chunk-EQ3DAGD7.cjs.map} +1 -1
  14. package/dist/{chunk-H7NBAAIH.cjs → chunk-FCNICDWP.cjs} +9 -9
  15. package/dist/{chunk-H7NBAAIH.cjs.map → chunk-FCNICDWP.cjs.map} +1 -1
  16. package/dist/{chunk-6QBKSVAZ.cjs → chunk-FV5VGJE6.cjs} +3 -3
  17. package/dist/{chunk-6QBKSVAZ.cjs.map → chunk-FV5VGJE6.cjs.map} +1 -1
  18. package/dist/{chunk-XIEV46BX.js → chunk-GOD47MJM.js} +6 -4
  19. package/dist/{chunk-XIEV46BX.js.map → chunk-GOD47MJM.js.map} +1 -1
  20. package/dist/{chunk-PMIKKJMI.js → chunk-HFJSBIXL.js} +3 -3
  21. package/dist/{chunk-R6IV75YP.cjs → chunk-IMIR5V6E.cjs} +26 -24
  22. package/dist/chunk-IMIR5V6E.cjs.map +1 -0
  23. package/dist/{chunk-MEHPKLH5.js → chunk-KU3JQWYJ.js} +5 -5
  24. package/dist/{chunk-36PHDSTO.js → chunk-MF324FSD.js} +30 -30
  25. package/dist/chunk-MF324FSD.js.map +1 -0
  26. package/dist/{chunk-KJ4O6NSF.js → chunk-MGBWMZEL.js} +2 -2
  27. package/dist/{chunk-DYTFM2MX.cjs → chunk-MIC4HHVZ.cjs} +23 -21
  28. package/dist/chunk-MIC4HHVZ.cjs.map +1 -0
  29. package/dist/{chunk-PWXQBKFP.js → chunk-N7SFQMCH.js} +2 -2
  30. package/dist/{chunk-VNQ2LF6G.cjs → chunk-OEDUVTPT.cjs} +10 -10
  31. package/dist/{chunk-VNQ2LF6G.cjs.map → chunk-OEDUVTPT.cjs.map} +1 -1
  32. package/dist/{chunk-BTRH2YFY.cjs → chunk-OGTXZFFE.cjs} +71 -70
  33. package/dist/chunk-OGTXZFFE.cjs.map +1 -0
  34. package/dist/{chunk-EWBOBUCM.js → chunk-P2SECY3U.js} +5 -5
  35. package/dist/{chunk-NM5Q56PX.js → chunk-PTXOWFRB.js} +8 -7
  36. package/dist/chunk-PTXOWFRB.js.map +1 -0
  37. package/dist/{chunk-VZMCNCW5.js → chunk-PYWF5JJW.js} +5 -5
  38. package/dist/{chunk-JF56KVHW.cjs → chunk-R5IWJONE.cjs} +187 -187
  39. package/dist/chunk-R5IWJONE.cjs.map +1 -0
  40. package/dist/{chunk-2VGIM6WY.js → chunk-SSSZ64YG.js} +5 -3
  41. package/dist/chunk-SSSZ64YG.js.map +1 -0
  42. package/dist/{chunk-E2ALHISW.cjs → chunk-SXVGFJ24.cjs} +22 -22
  43. package/dist/{chunk-E2ALHISW.cjs.map → chunk-SXVGFJ24.cjs.map} +1 -1
  44. package/dist/{chunk-AOANH6ZJ.js → chunk-TRJJMZSQ.js} +2 -2
  45. package/dist/{chunk-47IZN43H.js → chunk-VD3ZAA2O.js} +3 -3
  46. package/dist/{chunk-E7MTTLKC.js → chunk-VNSRNVPD.js} +2 -2
  47. package/dist/{chunk-E7MTTLKC.js.map → chunk-VNSRNVPD.js.map} +1 -1
  48. package/dist/{chunk-SSUJ4Z62.cjs → chunk-WRWXND3X.cjs} +10 -10
  49. package/dist/{chunk-SSUJ4Z62.cjs.map → chunk-WRWXND3X.cjs.map} +1 -1
  50. package/dist/{chunk-L7GNBUXF.cjs → chunk-YBPFIXV4.cjs} +2 -2
  51. package/dist/{chunk-L7GNBUXF.cjs.map → chunk-YBPFIXV4.cjs.map} +1 -1
  52. package/dist/{chunk-26GIURMP.cjs → chunk-YNO4DEXK.cjs} +4 -4
  53. package/dist/{chunk-26GIURMP.cjs.map → chunk-YNO4DEXK.cjs.map} +1 -1
  54. package/dist/components/case-studies/index.cjs +9 -9
  55. package/dist/components/case-studies/index.js +3 -3
  56. package/dist/components/chat/index.cjs +2 -2
  57. package/dist/components/chat/index.js +1 -1
  58. package/dist/components/contact/contact-form.d.ts.map +1 -1
  59. package/dist/components/contact/index.cjs +4 -4
  60. package/dist/components/contact/index.js +3 -3
  61. package/dist/components/docs/index.cjs +7 -7
  62. package/dist/components/docs/index.js +6 -6
  63. package/dist/components/embeds/index.cjs +4 -4
  64. package/dist/components/embeds/index.js +3 -3
  65. package/dist/components/faq/index.cjs +4 -4
  66. package/dist/components/faq/index.js +3 -3
  67. package/dist/components/features/auth/terms-agreement-label.d.ts.map +1 -1
  68. package/dist/components/features/index.cjs +3 -3
  69. package/dist/components/features/index.js +2 -2
  70. package/dist/components/help-center-pages/index.cjs +23 -23
  71. package/dist/components/help-center-pages/index.js +14 -14
  72. package/dist/components/index.cjs +38 -38
  73. package/dist/components/index.js +13 -13
  74. package/dist/components/meeting-scheduler/booking-form.d.ts +8 -4
  75. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  76. package/dist/components/meeting-scheduler/index.cjs +53 -38
  77. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  78. package/dist/components/meeting-scheduler/index.d.ts +12 -1
  79. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  80. package/dist/components/meeting-scheduler/index.js +31 -16
  81. package/dist/components/meeting-scheduler/index.js.map +1 -1
  82. package/dist/components/navigation/header-global-search.d.ts.map +1 -1
  83. package/dist/components/navigation/index.cjs +6 -6
  84. package/dist/components/navigation/index.js +5 -5
  85. package/dist/components/onboarding-guides/index.cjs +6 -6
  86. package/dist/components/onboarding-guides/index.js +5 -5
  87. package/dist/components/tickets/index.cjs +7 -7
  88. package/dist/components/tickets/index.js +6 -6
  89. package/dist/components/tickets/ticket-open-form.d.ts.map +1 -1
  90. package/dist/components/ui/admin-form-modal.d.ts.map +1 -1
  91. package/dist/components/ui/benefit-card.d.ts +1 -1
  92. package/dist/components/ui/benefit-card.d.ts.map +1 -1
  93. package/dist/components/ui/checkbox-block.d.ts +2 -1
  94. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  95. package/dist/components/ui/icon-tile.d.ts +3 -2
  96. package/dist/components/ui/icon-tile.d.ts.map +1 -1
  97. package/dist/components/ui/index.cjs +3 -3
  98. package/dist/components/ui/index.js +2 -2
  99. package/dist/components/ui/policy-link.d.ts +9 -1
  100. package/dist/components/ui/policy-link.d.ts.map +1 -1
  101. package/dist/index.cjs +9 -7
  102. package/dist/index.cjs.map +1 -1
  103. package/dist/index.js +8 -6
  104. package/dist/index.js.map +1 -1
  105. package/dist/utils/hubspot-collected-forms.d.ts +22 -0
  106. package/dist/utils/hubspot-collected-forms.d.ts.map +1 -0
  107. package/dist/utils/hubspot-meetings-convention.d.ts +3 -1
  108. package/dist/utils/hubspot-meetings-convention.d.ts.map +1 -1
  109. package/dist/utils/index.cjs +5 -1
  110. package/dist/utils/index.cjs.map +1 -1
  111. package/dist/utils/index.d.ts +1 -0
  112. package/dist/utils/index.d.ts.map +1 -1
  113. package/dist/utils/index.js +5 -2
  114. package/dist/utils/index.js.map +1 -1
  115. package/package.json +1 -1
  116. package/src/__tests__/meeting-scheduler-details-first.test.tsx +25 -4
  117. package/src/components/contact/contact-form.tsx +2 -0
  118. package/src/components/features/auth/terms-agreement-label.tsx +6 -16
  119. package/src/components/features/video-center-badge.tsx +2 -2
  120. package/src/components/meeting-scheduler/booking-form.tsx +22 -7
  121. package/src/components/meeting-scheduler/index.tsx +39 -17
  122. package/src/components/navigation/header-global-search.tsx +2 -0
  123. package/src/components/tickets/ticket-open-form.tsx +2 -1
  124. package/src/components/ui/admin-form-modal.tsx +2 -0
  125. package/src/components/ui/benefit-card.tsx +5 -1
  126. package/src/components/ui/checkbox-block.tsx +4 -1
  127. package/src/components/ui/icon-tile.tsx +3 -2
  128. package/src/components/ui/policy-link.tsx +18 -2
  129. package/src/styles/app-globals.css +1 -1
  130. package/src/styles/index.css +1 -0
  131. package/src/styles/ods-effects.css +53 -0
  132. package/src/utils/hubspot-collected-forms.ts +19 -0
  133. package/src/utils/hubspot-meetings-convention.ts +4 -2
  134. package/src/utils/index.ts +1 -0
  135. package/dist/chunk-2VGIM6WY.js.map +0 -1
  136. package/dist/chunk-36PHDSTO.js.map +0 -1
  137. package/dist/chunk-BTRH2YFY.cjs.map +0 -1
  138. package/dist/chunk-DYTFM2MX.cjs.map +0 -1
  139. package/dist/chunk-JF56KVHW.cjs.map +0 -1
  140. package/dist/chunk-NM5Q56PX.js.map +0 -1
  141. package/dist/chunk-R6IV75YP.cjs.map +0 -1
  142. /package/dist/{chunk-MRW4QU2L.js.map → chunk-6EBKO275.js.map} +0 -0
  143. /package/dist/{chunk-5JMMSSMV.js.map → chunk-7L5ROE3Z.js.map} +0 -0
  144. /package/dist/{chunk-PHNFKPWJ.js.map → chunk-AVIZUQRW.js.map} +0 -0
  145. /package/dist/{chunk-PMIKKJMI.js.map → chunk-HFJSBIXL.js.map} +0 -0
  146. /package/dist/{chunk-MEHPKLH5.js.map → chunk-KU3JQWYJ.js.map} +0 -0
  147. /package/dist/{chunk-KJ4O6NSF.js.map → chunk-MGBWMZEL.js.map} +0 -0
  148. /package/dist/{chunk-PWXQBKFP.js.map → chunk-N7SFQMCH.js.map} +0 -0
  149. /package/dist/{chunk-EWBOBUCM.js.map → chunk-P2SECY3U.js.map} +0 -0
  150. /package/dist/{chunk-VZMCNCW5.js.map → chunk-PYWF5JJW.js.map} +0 -0
  151. /package/dist/{chunk-AOANH6ZJ.js.map → chunk-TRJJMZSQ.js.map} +0 -0
  152. /package/dist/{chunk-47IZN43H.js.map → chunk-VD3ZAA2O.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  SoftwareInfo,
16
16
  SoftwareSourceBadge,
17
17
  ToolBadge
18
- } from "../chunk-MRW4QU2L.js";
18
+ } from "../chunk-6EBKO275.js";
19
19
  import {
20
20
  AppHeader,
21
21
  AppLayout,
@@ -34,7 +34,7 @@ import {
34
34
  SlidingSidebar,
35
35
  TicketAlertsButton,
36
36
  TopNavigation
37
- } from "../chunk-XIEV46BX.js";
37
+ } from "../chunk-GOD47MJM.js";
38
38
  import {
39
39
  DeliveryLists,
40
40
  DeliveryTable,
@@ -48,7 +48,7 @@ import {
48
48
  RoadmapView,
49
49
  useLegalDocs,
50
50
  useRoadmapVoting
51
- } from "../chunk-MEHPKLH5.js";
51
+ } from "../chunk-KU3JQWYJ.js";
52
52
  import {
53
53
  DocNavigationProvider,
54
54
  DocViewer,
@@ -62,12 +62,12 @@ import {
62
62
  useDocNavigation,
63
63
  useDocumentTree,
64
64
  useScrollSpy
65
- } from "../chunk-VZMCNCW5.js";
65
+ } from "../chunk-PYWF5JJW.js";
66
66
  import {
67
67
  FileDownloadCard,
68
68
  GoogleSheetsViewer,
69
69
  PdfViewer
70
- } from "../chunk-PHNFKPWJ.js";
70
+ } from "../chunk-AVIZUQRW.js";
71
71
  import {
72
72
  PersistentPagination,
73
73
  PersistentPaginationWrapper,
@@ -77,13 +77,13 @@ import {
77
77
  FaqAccordion,
78
78
  FaqDocumentPage,
79
79
  FaqSection
80
- } from "../chunk-5JMMSSMV.js";
80
+ } from "../chunk-7L5ROE3Z.js";
81
81
  import {
82
82
  MobileNavigationDropdown,
83
83
  MultiLevelNavigation,
84
84
  StickySectionNav,
85
85
  useSectionNavigation
86
- } from "../chunk-KJ4O6NSF.js";
86
+ } from "../chunk-MGBWMZEL.js";
87
87
  import {
88
88
  DeliveryRow,
89
89
  DevCardRowContent,
@@ -91,16 +91,16 @@ import {
91
91
  DevCardRowSkeletonList,
92
92
  DevSectionPage,
93
93
  DevSectionView
94
- } from "../chunk-AOANH6ZJ.js";
94
+ } from "../chunk-TRJJMZSQ.js";
95
95
  import {
96
96
  EmptyState,
97
97
  UnifiedPagination
98
98
  } from "../chunk-2JNCZDJR.js";
99
- import "../chunk-PMIKKJMI.js";
99
+ import "../chunk-HFJSBIXL.js";
100
100
  import {
101
101
  ArticleAuthorByline,
102
102
  DetailPageSkeleton
103
- } from "../chunk-PWXQBKFP.js";
103
+ } from "../chunk-N7SFQMCH.js";
104
104
  import {
105
105
  DocSearchBar,
106
106
  DocSearchResultRow,
@@ -108,7 +108,7 @@ import {
108
108
  mapDocSearchResults,
109
109
  resolveSearchResultAction,
110
110
  useDocSearch
111
- } from "../chunk-47IZN43H.js";
111
+ } from "../chunk-VD3ZAA2O.js";
112
112
  import {
113
113
  useSelfFetch
114
114
  } from "../chunk-WZJOILPU.js";
@@ -614,7 +614,7 @@ import {
614
614
  useTimeTracker,
615
615
  useTrackerClock,
616
616
  useWalkthroughVideo
617
- } from "../chunk-36PHDSTO.js";
617
+ } from "../chunk-MF324FSD.js";
618
618
  import "../chunk-L2SLFCXP.js";
619
619
  import "../chunk-BJXDHKUX.js";
620
620
  import {
@@ -980,7 +980,7 @@ import {
980
980
  useVideoOriginPreconnect,
981
981
  useVideoWarmup,
982
982
  usesCanonicalStatusStyle
983
- } from "../chunk-E7MTTLKC.js";
983
+ } from "../chunk-VNSRNVPD.js";
984
984
  import {
985
985
  errorMessage,
986
986
  scrollElementIntoView
@@ -108,12 +108,16 @@ export declare function BookingForm({ availability, meetingId, startTimeMs, dura
108
108
  * The slot-first skeleton (`SlotPickerSkeleton`) would put a grey calendar
109
109
  * where the form belongs — above the fold on a page whose entire content is
110
110
  * this card. Same footprint discipline as its sibling: fixed heights, and no
111
- * shift when the real form swaps in for single-line fields. A textarea row is
112
- * taller than its placeholder — the rows carry no type, so the skeleton cannot
113
- * know which slot is one.
111
+ * shift when the real form swaps in for single-line fields. Two footprints it
112
+ * cannot know: a textarea row is taller than its placeholder (the rows carry no
113
+ * type), and a HubSpot `legalConsent` block only exists once availability lands.
114
114
  */
115
- export declare function BookingFormSkeleton({ fieldRows, footerNote }: {
115
+ export declare function BookingFormSkeleton({ fieldRows, consent, footerNote, }: {
116
116
  fieldRows?: BookingFieldRow[];
117
+ /** Whether the host adds its consent row (drawn only then). A HubSpot
118
+ * `legalConsent` block is unknown until availability lands — the one
119
+ * footprint this skeleton cannot budget for. */
120
+ consent?: boolean;
117
121
  footerNote?: string;
118
122
  }): import("react").JSX.Element;
119
123
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"booking-form.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/booking-form.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAa,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAEL,KAAK,uBAAuB,EAM5B,KAAK,mBAAmB,EAIzB,MAAM,sCAAsC,CAAC;AAqB9C;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yFAAyF;IACzF,IAAI,EAAE,uBAAuB,GAAG,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,gFAAgF;IAChF,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,+EAA+E;AAC/E,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiBD;6CAC6C;AAC7C,QAAA,MAAM,UAAU;;;;;CAKN,CAAC;AAOX,0GAA0G;AAC1G,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAYtD;iFACiF;AACjF,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,gBAIvD,CAAC;AAoJF,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,mBAAmB,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;qEACiE;IACjE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,uFAAuF;IACvF,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,mFAAmF;IACnF,kBAAkB,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACnD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,UAAU,GACX,EAAE,gBAAgB,+BAmTlB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,+BA2BpH"}
1
+ {"version":3,"file":"booking-form.d.ts","sourceRoot":"","sources":["../../../src/components/meeting-scheduler/booking-form.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAa,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAEL,KAAK,uBAAuB,EAM5B,KAAK,mBAAmB,EAKzB,MAAM,sCAAsC,CAAC;AAsB9C;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yFAAyF;IACzF,IAAI,EAAE,uBAAuB,GAAG,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,gFAAgF;IAChF,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,+EAA+E;AAC/E,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiBD;6CAC6C;AAC7C,QAAA,MAAM,UAAU;;;;;CAKN,CAAC;AAOX,0GAA0G;AAC1G,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAYtD;iFACiF;AACjF,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,gBAIvD,CAAC;AAqJF,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,mBAAmB,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;qEACiE;IACjE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,uFAAuF;IACvF,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,mFAAmF;IACnF,kBAAkB,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACnD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,UAAU,GACX,EAAE,gBAAgB,+BAoTlB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE;IACD,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B;;qDAEiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,+BA2BA"}
@@ -23,7 +23,8 @@ var _chunkO4VZOA2Qcjs = require('../../chunk-O4VZOA2Q.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunkJF56KVHWcjs = require('../../chunk-JF56KVHW.cjs');
26
+
27
+ var _chunkR5IWJONEcjs = require('../../chunk-R5IWJONE.cjs');
27
28
  require('../../chunk-GQWM3ECA.cjs');
28
29
  require('../../chunk-TON3YCCW.cjs');
29
30
 
@@ -43,7 +44,7 @@ var _chunkH64ZHSYRcjs = require('../../chunk-H64ZHSYR.cjs');
43
44
  var _chunkN6HNK25Acjs = require('../../chunk-N6HNK25A.cjs');
44
45
 
45
46
 
46
- var _chunkL7GNBUXFcjs = require('../../chunk-L7GNBUXF.cjs');
47
+ var _chunkYBPFIXV4cjs = require('../../chunk-YBPFIXV4.cjs');
47
48
  require('../../chunk-YXWGSDK4.cjs');
48
49
  require('../../chunk-SADRZ4YI.cjs');
49
50
  require('../../chunk-KOQCA5X5.cjs');
@@ -253,7 +254,7 @@ function useMeetingBooking(options) {
253
254
  const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
254
255
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
255
256
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
256
- setMonthOffsetState(Math.max(0, Math.min(_chunkJF56KVHWcjs.MAX_MONTH_OFFSET, offset)));
257
+ setMonthOffsetState(Math.max(0, Math.min(_chunkR5IWJONEcjs.MAX_MONTH_OFFSET, offset)));
257
258
  }, []);
258
259
  const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
259
260
  _react.useLayoutEffect.call(void 0, () => {
@@ -380,7 +381,7 @@ var FIELD_CONTROLS = {
380
381
  }
381
382
  ),
382
383
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
383
- _chunkJF56KVHWcjs.Textarea,
384
+ _chunkR5IWJONEcjs.Textarea,
384
385
  {
385
386
  id,
386
387
  required: field.required,
@@ -406,9 +407,9 @@ var FIELD_CONTROLS = {
406
407
  {
407
408
  control,
408
409
  name: registerName,
409
- render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJF56KVHWcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
410
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectValue, { placeholder: "Select\u2026" }) }),
411
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.SelectItem, { value: opt, children: opt }, opt)) })
410
+ render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkR5IWJONEcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
411
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectValue, { placeholder: "Select\u2026" }) }),
412
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.SelectItem, { value: opt, children: opt }, opt)) })
412
413
  ] })
413
414
  }
414
415
  ),
@@ -418,14 +419,14 @@ var FIELD_CONTROLS = {
418
419
  control,
419
420
  name: registerName,
420
421
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
421
- _chunkJF56KVHWcjs.RadioGroup,
422
+ _chunkR5IWJONEcjs.RadioGroup,
422
423
  {
423
424
  value: _nullishCoalesce(rhf.value, () => ( "")),
424
425
  onValueChange: rhf.onChange,
425
426
  "aria-required": field.required || void 0,
426
427
  "aria-invalid": Boolean(error),
427
428
  children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
428
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
429
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
429
430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: `${id}-${opt}`, children: opt })
430
431
  ] }, opt))
431
432
  }
@@ -589,8 +590,8 @@ function BookingForm({
589
590
  children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
590
591
  }
591
592
  );
592
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, children: [
593
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.HoneypotField, { ...honeypotInputProps }),
593
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkR5IWJONEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
594
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.HoneypotField, { ...honeypotInputProps }),
594
595
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
595
596
  placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
596
597
  [...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
@@ -603,7 +604,7 @@ function BookingForm({
603
604
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
604
605
  ] }),
605
606
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
606
- _chunkJF56KVHWcjs.CheckboxBlock,
607
+ _chunkR5IWJONEcjs.CheckboxBlock,
607
608
  {
608
609
  id: "ms-host-consent",
609
610
  checked: consented,
@@ -638,7 +639,7 @@ function BookingForm({
638
639
  // same block the waitlist form uses): box + label in one
639
640
  // bordered row.
640
641
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
641
- _chunkJF56KVHWcjs.CheckboxBlock,
642
+ _chunkR5IWJONEcjs.CheckboxBlock,
642
643
  {
643
644
  id: `ms-consent-${box.communicationTypeId}`,
644
645
  checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _22 => _22.consented]), () => ( false)),
@@ -664,11 +665,15 @@ function BookingForm({
664
665
  ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: FOOTER_BARE_CLASS, children: submitButton })
665
666
  ] });
666
667
  }
667
- function BookingFormSkeleton({ fieldRows, footerNote }) {
668
+ function BookingFormSkeleton({
669
+ fieldRows,
670
+ consent,
671
+ footerNote
672
+ }) {
668
673
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex-1", FORM_STACK), children: [
669
674
  skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS))).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: _chunk23V5BSHDcjs.cn.call(void 0, FIELD_SKELETON_CLASS, slotColumnClass(row, slot, slotIndex)) }, slot.name)) }, row.map((s) => s.name).join("|"))),
670
675
  !fieldRows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[7.75rem] w-full" }),
671
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[4.25rem] w-full" }),
676
+ consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-[4.25rem] w-full" }),
672
677
  footerNote ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: FOOTER_ROW_CLASS, children: [
673
678
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: "h-5 min-w-40 flex-1" }),
674
679
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Skeleton, { className: _chunk23V5BSHDcjs.cn.call(void 0, "h-12 w-full", SUBMIT_WIDE_CLASS) })
@@ -750,7 +755,7 @@ function ContextPanelSkeleton({
750
755
  backLabel = "Back"
751
756
  }) {
752
757
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
753
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
758
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
754
759
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
755
760
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
756
761
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] lg:flex-none", children: [
@@ -798,7 +803,7 @@ function SchedulerContextPanel({
798
803
  return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
799
804
  }, [timezone]);
800
805
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
801
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
806
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
802
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
803
808
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
804
809
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
@@ -860,7 +865,7 @@ function SchedulerContextPanel({
860
865
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
861
866
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
862
867
  timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
863
- _chunkJF56KVHWcjs.Autocomplete,
868
+ _chunkR5IWJONEcjs.Autocomplete,
864
869
  {
865
870
  value: timezone,
866
871
  disabled,
@@ -947,18 +952,18 @@ var NOOP = () => void 0;
947
952
  function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
948
953
  const now = /* @__PURE__ */ new Date();
949
954
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
950
- const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkJF56KVHWcjs.MAX_MONTH_OFFSET + 1, 0);
955
+ const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkR5IWJONEcjs.MAX_MONTH_OFFSET + 1, 0);
951
956
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
952
957
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _27 => _27.has, 'call', _28 => _28(calendarDayKey(day))]), [slotsByDay]);
953
958
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
954
- _chunkJF56KVHWcjs.DatePickerCalendar,
959
+ _chunkR5IWJONEcjs.DatePickerCalendar,
955
960
  {
956
961
  mode: "single",
957
962
  bare: true,
958
963
  month: visibleMonth,
959
964
  onMonthChange: (month) => {
960
965
  const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
961
- onMonthOffsetChange(Math.max(0, Math.min(_chunkJF56KVHWcjs.MAX_MONTH_OFFSET, offset)));
966
+ onMonthOffsetChange(Math.max(0, Math.min(_chunkR5IWJONEcjs.MAX_MONTH_OFFSET, offset)));
962
967
  },
963
968
  fromDate: startMonth,
964
969
  toDate: endMonth,
@@ -1078,7 +1083,7 @@ function SlotPicker({
1078
1083
  monthLabelFor(monthOffset),
1079
1084
  "."
1080
1085
  ] }),
1081
- monthOffset < _chunkJF56KVHWcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1086
+ monthOffset < _chunkR5IWJONEcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1082
1087
  _chunkCJBSU3XBcjs.Button,
1083
1088
  {
1084
1089
  variant: "outline",
@@ -1100,7 +1105,7 @@ function SlotPicker({
1100
1105
 
1101
1106
 
1102
1107
  function useNextAvailableLabel(ms) {
1103
- const hydrated = _chunkL7GNBUXFcjs.useIsHydrated.call(void 0, );
1108
+ const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
1104
1109
  return _react.useMemo.call(void 0, () => {
1105
1110
  if (!hydrated || ms == null) return null;
1106
1111
  try {
@@ -1268,7 +1273,7 @@ var ACTION_PANEL_CLASS = "flex-1 min-w-0 flex flex-col md:min-h-0 lg:p-[var(--sp
1268
1273
  var PANEL_STEP_CLASS = "p-[var(--spacing-system-l)] md:min-h-0 md:overflow-y-auto lg:p-0";
1269
1274
  var STEP_PANEL_CLASS = _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-1 flex-col", PANEL_STEP_CLASS);
1270
1275
  var MEETING_SCHEDULER_H = "md:h-[34.375rem] lg:h-[23.75rem]";
1271
- var MEETING_SCHEDULER_DETAILS_FIRST_H = "md:h-[39.875rem]";
1276
+ var MEETING_SCHEDULER_DETAILS_FIRST_H = "h-[50.75rem] md:h-[39.875rem]";
1272
1277
  var DEFAULT_SCHEDULER_FLOW = "slot-first";
1273
1278
  var SCHEDULER_FLOW_PRESETS = {
1274
1279
  "slot-first": { initialStep: "slot", height: MEETING_SCHEDULER_H, submitLabel: DEFAULT_SUBMIT_LABEL },
@@ -1341,7 +1346,7 @@ function HubSpotMeetingScheduler({
1341
1346
  isSubmitting
1342
1347
  } = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
1343
1348
  const detailsFirst = flow === "details-first";
1344
- const hydrated = _chunkL7GNBUXFcjs.useIsHydrated.call(void 0, );
1349
+ const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
1345
1350
  const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
1346
1351
  const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
1347
1352
  if (!hydrated) return null;
@@ -1415,11 +1420,11 @@ function HubSpotMeetingScheduler({
1415
1420
  setBookingError(null);
1416
1421
  }, []);
1417
1422
  const backToDetails = _react.useCallback.call(void 0, () => {
1418
- if (inFlightRef.current) return;
1423
+ if (postInFlight()) return;
1419
1424
  setSelectedSlot(null);
1420
1425
  setStep("details");
1421
1426
  setBookingError(null);
1422
- }, []);
1427
+ }, [postInFlight]);
1423
1428
  const stashDetails = _react.useCallback.call(void 0,
1424
1429
  (payload) => {
1425
1430
  setBookingError(null);
@@ -1454,8 +1459,8 @@ function HubSpotMeetingScheduler({
1454
1459
  if (!detailsFirst) resetSignals();
1455
1460
  void refetchAvailability();
1456
1461
  } else {
1462
+ if (detailsFirst) setSelectedSlot(null);
1457
1463
  if (detailsFirst && (code === "VALIDATION" || code === "INVALID_EMAIL")) {
1458
- setSelectedSlot(null);
1459
1464
  setStep("details");
1460
1465
  }
1461
1466
  toast({
@@ -1469,16 +1474,26 @@ function HubSpotMeetingScheduler({
1469
1474
  );
1470
1475
  const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
1471
1476
  const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
1472
- const cardClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_CLASS, preset.height, formOnly && "bg-ods-bg", className);
1477
+ const cardClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_CLASS, preset.height, detailsFirst && "flex flex-col", formOnly && "bg-ods-bg", className);
1478
+ const innerClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_INNER_CLASS, detailsFirst && "min-h-0 flex-1");
1479
+ const actionPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, ACTION_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1480
+ const stepPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, STEP_PANEL_CLASS, detailsFirst && "min-h-0 overflow-y-auto");
1473
1481
  const degraded = (message) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerDegradedCard, { flow, className, message, action: escapeHatch });
1474
1482
  const degradedCard = degraded("We couldn't load available call times. Please try again shortly.");
1475
1483
  if (isLoadingAvailability && !availability) {
1476
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
1484
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: innerClass, children: [
1477
1485
  !formOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextPanelSkeleton, { onBack: backEdge, className: CONTEXT_PANEL_CLASS }),
1478
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_PANEL_CLASS, children: formOnly ? (
1486
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: actionPanelClass, children: formOnly ? (
1479
1487
  // The SAME wrapper the loaded form gets, so the skeleton never
1480
1488
  // states its own inset.
1481
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STEP_PANEL_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingFormSkeleton, { fieldRows: _optionalChain([detailsFormProps, 'optionalAccess', _36 => _36.fieldRows]), footerNote: preset.footerNote }) })
1489
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: stepPanelClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1490
+ BookingFormSkeleton,
1491
+ {
1492
+ fieldRows: _optionalChain([detailsFormProps, 'optionalAccess', _36 => _36.fieldRows]),
1493
+ consent: Boolean(_optionalChain([detailsFormProps, 'optionalAccess', _37 => _37.consent])),
1494
+ footerNote: preset.footerNote
1495
+ }
1496
+ ) })
1482
1497
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SlotPickerSkeleton, { monthOffset }) })
1483
1498
  ] }) });
1484
1499
  }
@@ -1486,7 +1501,7 @@ function HubSpotMeetingScheduler({
1486
1501
  if (!isNativelyBookable(availability)) {
1487
1502
  return degraded("This meeting type is booked directly on HubSpot.");
1488
1503
  }
1489
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
1504
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: innerClass, children: [
1490
1505
  !formOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1491
1506
  SchedulerContextPanel,
1492
1507
  {
@@ -1510,14 +1525,14 @@ function HubSpotMeetingScheduler({
1510
1525
  className: CONTEXT_PANEL_CLASS
1511
1526
  }
1512
1527
  ),
1513
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_PANEL_CLASS, children: step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STEP_PANEL_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && (detailsFirst ? (
1528
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: actionPanelClass, children: step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: stepPanelClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && (detailsFirst ? (
1514
1529
  // The form is step ONE here: no slot yet, and `timezone` is null
1515
1530
  // on the server render, so neither may gate the PANEL. A link
1516
1531
  // publishing no durations has no form worth showing; it gets the
1517
1532
  // "nothing published" message below at every moment, refetch or
1518
1533
  // not — never a calendar skeleton in the form-only layout.
1519
1534
  durations.length > 0
1520
- ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STEP_PANEL_CLASS, "gap-[var(--spacing-system-m)]"), children: [
1535
+ ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
1521
1536
  selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
1522
1537
  new Intl.DateTimeFormat(void 0, {
1523
1538
  timeZone: timezone,
@@ -1544,7 +1559,7 @@ function HubSpotMeetingScheduler({
1544
1559
  deferSlot: detailsFirst,
1545
1560
  submitLabel: preset.submitLabel,
1546
1561
  footerNote: preset.footerNote,
1547
- initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _37 => _37.payload]) : void 0,
1562
+ initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _38 => _38.payload]) : void 0,
1548
1563
  isSubmitting,
1549
1564
  onSubmit: detailsFirst ? stashDetails : handleSubmit,
1550
1565
  honeypotInputProps,
@@ -1553,11 +1568,11 @@ function HubSpotMeetingScheduler({
1553
1568
  )
1554
1569
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
1555
1570
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1556
- _chunkJF56KVHWcjs.Alert,
1571
+ _chunkR5IWJONEcjs.Alert,
1557
1572
  {
1558
1573
  variant: "warning",
1559
1574
  className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
1560
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJF56KVHWcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
1575
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR5IWJONEcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
1561
1576
  }
1562
1577
  ),
1563
1578
  timezone && durationMs != null ? (