@flamingo-stack/openframe-frontend-core 0.0.811 → 0.0.813

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 (125) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/case-study-card-NLT2JVI7.cjs +23 -0
  3. package/dist/{chunk-5QLDHPPU.cjs → chunk-25HBH4J6.cjs} +15 -15
  4. package/dist/{chunk-TKK66KHU.cjs → chunk-2WD7XGWA.cjs} +6 -6
  5. package/dist/{chunk-LKQ33CMY.cjs → chunk-2XCORRJV.cjs} +3 -3
  6. package/dist/{chunk-JTIGKLKJ.cjs → chunk-2XLPRW7V.cjs} +23 -23
  7. package/dist/{chunk-4WIJI4AK.cjs → chunk-3TOWCFIK.cjs} +20 -26
  8. package/dist/{chunk-KUXHXLJQ.cjs → chunk-3V5JWG27.cjs} +5 -5
  9. package/dist/{chunk-ZZO3FGPM.cjs → chunk-467T3LCG.cjs} +63 -63
  10. package/dist/{chunk-Q7QYAINS.cjs → chunk-4PMD3JUC.cjs} +19 -19
  11. package/dist/{chunk-PCVY63WQ.cjs → chunk-5M5JVVSL.cjs} +13 -13
  12. package/dist/{chunk-CB77J5L7.cjs → chunk-5RBL7A2Y.cjs} +544 -544
  13. package/dist/{chunk-YR74H7Z3.cjs → chunk-5SZ4ILU3.cjs} +7 -7
  14. package/dist/{chunk-J6C7F63P.cjs → chunk-5V3CNLCB.cjs} +199 -199
  15. package/dist/{chunk-7JWFMAQB.cjs → chunk-63A4GZMB.cjs} +18 -2
  16. package/dist/{chunk-ZD6SZLO2.cjs → chunk-6CZVQ72C.cjs} +3 -3
  17. package/dist/{chunk-R55KNVPR.cjs → chunk-7BJ22OH2.cjs} +171 -171
  18. package/dist/{chunk-GU3GJ5DH.cjs → chunk-7O7EX7HQ.cjs} +45 -45
  19. package/dist/{chunk-U2MHQBL4.cjs → chunk-BOS7OIC4.cjs} +30 -30
  20. package/dist/{chunk-SFUNXMY3.cjs → chunk-EHANO6UE.cjs} +16 -16
  21. package/dist/{chunk-XLEWM5X5.cjs → chunk-EJQRX6S5.cjs} +62 -62
  22. package/dist/{chunk-ACCZCRXT.cjs → chunk-F4ZJRMMM.cjs} +20 -20
  23. package/dist/{chunk-AHBTZ7DN.cjs → chunk-FCZAUK4D.cjs} +52 -50
  24. package/dist/{chunk-MDBOYMCW.cjs → chunk-FTGXZHLO.cjs} +31 -31
  25. package/dist/{chunk-CPP2APON.cjs → chunk-G2AN67DP.cjs} +110 -110
  26. package/dist/{chunk-UP3TLY2V.cjs → chunk-GAR2IIU6.cjs} +349 -349
  27. package/dist/{chunk-IQLXO6EI.cjs → chunk-GNGXHIBC.cjs} +119 -119
  28. package/dist/{chunk-FK2WFU7R.cjs → chunk-GTOT4ZQV.cjs} +37 -37
  29. package/dist/{chunk-KVDUWXVZ.cjs → chunk-HM7VCQSX.cjs} +10 -10
  30. package/dist/{chunk-243TS7YL.cjs → chunk-IJCSQFLD.cjs} +209 -209
  31. package/dist/{chunk-CC3Q3MQG.cjs → chunk-IKB6AZPV.cjs} +8 -8
  32. package/dist/{chunk-66J7ZSI5.cjs → chunk-JFA3VHXC.cjs} +51 -51
  33. package/dist/{chunk-PMOMZSCX.cjs → chunk-JOKOQOLJ.cjs} +22 -22
  34. package/dist/{chunk-WX5WDSKV.cjs → chunk-MBU45QUB.cjs} +2050 -2045
  35. package/dist/{chunk-CJ7W2SY4.cjs → chunk-MUH7X7ZA.cjs} +13 -13
  36. package/dist/{chunk-GD47ZGOU.cjs → chunk-N3MBQRCQ.cjs} +3 -3
  37. package/dist/{chunk-ERLMCSGF.cjs → chunk-NONMZ5WJ.cjs} +5 -5
  38. package/dist/{chunk-ZW25QUJK.cjs → chunk-OBQ5WUNG.cjs} +67 -67
  39. package/dist/{chunk-6GT3ZL27.cjs → chunk-OGHG6REG.cjs} +44 -44
  40. package/dist/{chunk-JNWJB4Z5.cjs → chunk-PAI4A3UM.cjs} +60 -60
  41. package/dist/{chunk-O4MEG2ZS.cjs → chunk-PXR27MXW.cjs} +45 -45
  42. package/dist/{chunk-XYZBN6D7.cjs → chunk-QDDBOCG3.cjs} +2 -2
  43. package/dist/{chunk-VXXOUM2K.cjs → chunk-QOAA7ZHB.cjs} +6 -2
  44. package/dist/{chunk-OQDPZOGC.cjs → chunk-QQT23JJ7.cjs} +4 -4
  45. package/dist/{chunk-STLJCAIZ.cjs → chunk-RD66AGUI.cjs} +6 -6
  46. package/dist/{chunk-NL3G642U.cjs → chunk-S3QXLD4X.cjs} +10 -10
  47. package/dist/{chunk-7RM4NM2C.cjs → chunk-SWF6TNZ3.cjs} +14 -14
  48. package/dist/{chunk-O32RLIN4.cjs → chunk-TOBROYSJ.cjs} +4 -4
  49. package/dist/{chunk-P4B6PVSG.cjs → chunk-USUVHAQ7.cjs} +7 -7
  50. package/dist/{chunk-VXMPVDOS.cjs → chunk-WKODIG3L.cjs} +46 -46
  51. package/dist/{chunk-CLU2KJFB.cjs → chunk-XWCZSEW7.cjs} +3 -3
  52. package/dist/{chunk-7Y6M4FW4.cjs → chunk-Y6MJMPHV.cjs} +126 -126
  53. package/dist/{chunk-NZSWROGM.cjs → chunk-ZRDVFADQ.cjs} +61 -61
  54. package/dist/{cloud-tenants-XGGQG7SO.cjs → cloud-tenants-ODZVCP5X.cjs} +32 -32
  55. package/dist/components/calendar.cjs +10 -10
  56. package/dist/components/case-studies/index.cjs +52 -52
  57. package/dist/components/chat/index.cjs +26 -26
  58. package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
  59. package/dist/components/chat/utils/icon-registry.js +4 -0
  60. package/dist/components/contact/index.cjs +33 -33
  61. package/dist/components/docs/index.cjs +36 -36
  62. package/dist/components/embeds/index.cjs +33 -33
  63. package/dist/components/faq/index.cjs +34 -34
  64. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
  65. package/dist/components/features/devices/devices-table-columns.js +1 -1
  66. package/dist/components/features/index.cjs +32 -32
  67. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -1
  68. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
  69. package/dist/components/features/select-button.js +1 -1
  70. package/dist/components/help-center-pages/index.cjs +165 -165
  71. package/dist/components/index.cjs +220 -218
  72. package/dist/components/meeting-scheduler/index.cjs +238 -192
  73. package/dist/components/meeting-scheduler/index.d.ts +30 -1
  74. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  75. package/dist/components/meeting-scheduler/index.js +43 -3
  76. package/dist/components/navigation/index.cjs +35 -35
  77. package/dist/components/onboarding-guides/index.cjs +35 -35
  78. package/dist/components/platform/ScriptArguments.d.ts +2 -0
  79. package/dist/components/platform/ScriptArguments.d.ts.map +1 -1
  80. package/dist/components/platform/ScriptArguments.js +3 -2
  81. package/dist/components/product-demo/index.cjs +45 -45
  82. package/dist/components/related-content/index.cjs +17 -17
  83. package/dist/components/tickets/index.cjs +39 -39
  84. package/dist/components/ui/button/button-styles.d.ts +8 -0
  85. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  86. package/dist/components/ui/button/button-styles.js +8 -1
  87. package/dist/components/ui/button/button.d.ts.map +1 -1
  88. package/dist/components/ui/button/button.js +6 -4
  89. package/dist/components/ui/button/split-button.d.ts.map +1 -1
  90. package/dist/components/ui/button/split-button.js +3 -2
  91. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  92. package/dist/components/ui/checkbox-block.js +3 -1
  93. package/dist/components/ui/file-manager/index.cjs +55 -55
  94. package/dist/components/ui/index.cjs +34 -32
  95. package/dist/components/ui/input-styles.d.ts +2 -0
  96. package/dist/components/ui/input-styles.d.ts.map +1 -1
  97. package/dist/components/ui/input-styles.js +2 -0
  98. package/dist/{devices-H5Y4DBVC.cjs → devices-GWBR7MJD.cjs} +33 -33
  99. package/dist/embed-shims/index.cjs +4 -4
  100. package/dist/embed-shims/next-image.cjs +4 -4
  101. package/dist/{embeddable-chat-77ZOLCCK.cjs → embeddable-chat-4RLUXHDH.cjs} +115 -115
  102. package/dist/hooks/index.cjs +10 -10
  103. package/dist/index.cjs +50 -48
  104. package/dist/{knowledge-MGH65HXM.cjs → knowledge-ZNRITHW5.cjs} +33 -33
  105. package/dist/{logs-OL7ETVK6.cjs → logs-QN5H5JT6.cjs} +41 -41
  106. package/dist/{policies-BCECWQ3F.cjs → policies-SCUYEYGJ.cjs} +36 -36
  107. package/dist/{remote-session-HML4UF7W.cjs → remote-session-BQMTIQTU.cjs} +17 -17
  108. package/dist/{scripts-XCD6V2JB.cjs → scripts-BP7UTAG5.cjs} +39 -39
  109. package/dist/{software-update-U5ESXRG5.cjs → software-update-O4BQJCJ4.cjs} +36 -36
  110. package/dist/{tickets-board-EICQ5VLE.cjs → tickets-board-TRXOX77R.cjs} +17 -17
  111. package/dist/utils/index.cjs +4 -0
  112. package/dist/{video-file-player-4QMVTOBE.cjs → video-file-player-IAMWBKEQ.cjs} +14 -14
  113. package/package.json +1 -1
  114. package/src/components/chat/utils/icon-registry.ts +4 -0
  115. package/src/components/features/devices/devices-table-columns.tsx +5 -2
  116. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +4 -2
  117. package/src/components/features/select-button.tsx +1 -1
  118. package/src/components/meeting-scheduler/index.tsx +85 -3
  119. package/src/components/platform/ScriptArguments.tsx +8 -1
  120. package/src/components/ui/button/button-styles.ts +18 -1
  121. package/src/components/ui/button/button.tsx +7 -4
  122. package/src/components/ui/button/split-button.tsx +3 -2
  123. package/src/components/ui/checkbox-block.tsx +3 -1
  124. package/src/components/ui/input-styles.ts +2 -0
  125. package/dist/case-study-card-AMINZROX.cjs +0 -23
@@ -2,13 +2,13 @@
2
2
  "use client";
3
3
 
4
4
 
5
- var _chunkCC3Q3MQGcjs = require('../../chunk-CC3Q3MQG.cjs');
5
+ var _chunkIKB6AZPVcjs = require('../../chunk-IKB6AZPV.cjs');
6
6
 
7
7
 
8
- var _chunkKVDUWXVZcjs = require('../../chunk-KVDUWXVZ.cjs');
8
+ var _chunkHM7VCQSXcjs = require('../../chunk-HM7VCQSX.cjs');
9
9
 
10
10
 
11
- var _chunkQ7QYAINScjs = require('../../chunk-Q7QYAINS.cjs');
11
+ var _chunk4PMD3JUCcjs = require('../../chunk-4PMD3JUC.cjs');
12
12
 
13
13
 
14
14
 
@@ -22,9 +22,9 @@ var _chunkQ7QYAINScjs = require('../../chunk-Q7QYAINS.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkWX5WDSKVcjs = require('../../chunk-WX5WDSKV.cjs');
26
- require('../../chunk-ZZO3FGPM.cjs');
27
- require('../../chunk-SFUNXMY3.cjs');
25
+ var _chunkMBU45QUBcjs = require('../../chunk-MBU45QUB.cjs');
26
+ require('../../chunk-467T3LCG.cjs');
27
+ require('../../chunk-EHANO6UE.cjs');
28
28
 
29
29
 
30
30
 
@@ -32,7 +32,7 @@ require('../../chunk-SFUNXMY3.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunk243TS7YLcjs = require('../../chunk-243TS7YL.cjs');
35
+ var _chunkIJCSQFLDcjs = require('../../chunk-IJCSQFLD.cjs');
36
36
  require('../../chunk-HQQE74RO.cjs');
37
37
  require('../../chunk-DEY6XXGO.cjs');
38
38
 
@@ -40,25 +40,30 @@ require('../../chunk-DEY6XXGO.cjs');
40
40
 
41
41
 
42
42
 
43
- var _chunkGU3GJ5DHcjs = require('../../chunk-GU3GJ5DH.cjs');
43
+ var _chunk7O7EX7HQcjs = require('../../chunk-7O7EX7HQ.cjs');
44
44
  require('../../chunk-APOMNC7H.cjs');
45
45
  require('../../chunk-24I6RFVU.cjs');
46
46
  require('../../chunk-7Z536SPR.cjs');
47
47
  require('../../chunk-MZ4KBSH7.cjs');
48
48
 
49
49
 
50
- var _chunkYR74H7Z3cjs = require('../../chunk-YR74H7Z3.cjs');
50
+ var _chunk5SZ4ILU3cjs = require('../../chunk-5SZ4ILU3.cjs');
51
51
 
52
52
 
53
53
 
54
- var _chunkJ6C7F63Pcjs = require('../../chunk-J6C7F63P.cjs');
54
+ var _chunk5V3CNLCBcjs = require('../../chunk-5V3CNLCB.cjs');
55
55
 
56
56
 
57
- var _chunkCB77J5L7cjs = require('../../chunk-CB77J5L7.cjs');
58
- require('../../chunk-ZW25QUJK.cjs');
59
- require('../../chunk-ZD6SZLO2.cjs');
60
- require('../../chunk-NZSWROGM.cjs');
61
- require('../../chunk-JTIGKLKJ.cjs');
57
+ var _chunk5RBL7A2Ycjs = require('../../chunk-5RBL7A2Y.cjs');
58
+ require('../../chunk-OBQ5WUNG.cjs');
59
+ require('../../chunk-6CZVQ72C.cjs');
60
+
61
+
62
+
63
+
64
+
65
+ var _chunkZRDVFADQcjs = require('../../chunk-ZRDVFADQ.cjs');
66
+ require('../../chunk-2XLPRW7V.cjs');
62
67
  require('../../chunk-ZOZR3QI2.cjs');
63
68
  require('../../chunk-OMV5S5PI.cjs');
64
69
  require('../../chunk-KHPX3KU4.cjs');
@@ -1849,24 +1854,24 @@ require('../../chunk-IYHH5EIO.cjs');
1849
1854
  require('../../chunk-XIBCMGBW.cjs');
1850
1855
 
1851
1856
 
1852
- var _chunkERLMCSGFcjs = require('../../chunk-ERLMCSGF.cjs');
1857
+ var _chunkNONMZ5WJcjs = require('../../chunk-NONMZ5WJ.cjs');
1853
1858
  require('../../chunk-CNTBGJA7.cjs');
1854
- require('../../chunk-XYZBN6D7.cjs');
1859
+ require('../../chunk-QDDBOCG3.cjs');
1855
1860
  require('../../chunk-JKX2C3I2.cjs');
1856
1861
  require('../../chunk-7DNL734S.cjs');
1857
1862
  require('../../chunk-WWUSFOJ7.cjs');
1858
1863
  require('../../chunk-SKI6NKOE.cjs');
1859
1864
  require('../../chunk-EWPR7662.cjs');
1860
- require('../../chunk-ACCZCRXT.cjs');
1861
- require('../../chunk-UP3TLY2V.cjs');
1865
+ require('../../chunk-F4ZJRMMM.cjs');
1866
+ require('../../chunk-GAR2IIU6.cjs');
1862
1867
 
1863
1868
 
1864
- var _chunk7Y6M4FW4cjs = require('../../chunk-7Y6M4FW4.cjs');
1865
- require('../../chunk-OQDPZOGC.cjs');
1866
- require('../../chunk-P4B6PVSG.cjs');
1869
+ var _chunkY6MJMPHVcjs = require('../../chunk-Y6MJMPHV.cjs');
1870
+ require('../../chunk-QQT23JJ7.cjs');
1871
+ require('../../chunk-USUVHAQ7.cjs');
1867
1872
 
1868
1873
 
1869
- var _chunk5QLDHPPUcjs = require('../../chunk-5QLDHPPU.cjs');
1874
+ var _chunk25HBH4J6cjs = require('../../chunk-25HBH4J6.cjs');
1870
1875
 
1871
1876
 
1872
1877
 
@@ -1874,7 +1879,7 @@ var _chunk5QLDHPPUcjs = require('../../chunk-5QLDHPPU.cjs');
1874
1879
 
1875
1880
 
1876
1881
 
1877
- var _chunkU2MHQBL4cjs = require('../../chunk-U2MHQBL4.cjs');
1882
+ var _chunkBOS7OIC4cjs = require('../../chunk-BOS7OIC4.cjs');
1878
1883
  require('../../chunk-S5C3OZCO.cjs');
1879
1884
  require('../../chunk-32ASZMTV.cjs');
1880
1885
  require('../../chunk-OOYBIS7D.cjs');
@@ -1885,7 +1890,7 @@ require('../../chunk-RUHKTWGB.cjs');
1885
1890
 
1886
1891
 
1887
1892
  var _chunkBLH2SFOOcjs = require('../../chunk-BLH2SFOO.cjs');
1888
- require('../../chunk-STLJCAIZ.cjs');
1893
+ require('../../chunk-RD66AGUI.cjs');
1889
1894
 
1890
1895
 
1891
1896
  var _chunkFX35L4Y6cjs = require('../../chunk-FX35L4Y6.cjs');
@@ -1893,39 +1898,40 @@ require('../../chunk-NTPX5GXI.cjs');
1893
1898
  require('../../chunk-MG3HJIGG.cjs');
1894
1899
  require('../../chunk-LC65AC6M.cjs');
1895
1900
  require('../../chunk-YSDB6HGQ.cjs');
1896
- require('../../chunk-VXXOUM2K.cjs');
1901
+ require('../../chunk-QOAA7ZHB.cjs');
1897
1902
  require('../../chunk-GI3MMBP3.cjs');
1898
- require('../../chunk-KUXHXLJQ.cjs');
1903
+ require('../../chunk-3V5JWG27.cjs');
1899
1904
  require('../../chunk-UJ7AXHRZ.cjs');
1900
1905
 
1901
1906
 
1902
1907
 
1903
1908
 
1904
- var _chunk7RM4NM2Ccjs = require('../../chunk-7RM4NM2C.cjs');
1909
+ var _chunkSWF6TNZ3cjs = require('../../chunk-SWF6TNZ3.cjs');
1905
1910
 
1906
1911
 
1907
- var _chunkGD47ZGOUcjs = require('../../chunk-GD47ZGOU.cjs');
1908
- require('../../chunk-NL3G642U.cjs');
1912
+ var _chunkN3MBQRCQcjs = require('../../chunk-N3MBQRCQ.cjs');
1913
+ require('../../chunk-S3QXLD4X.cjs');
1909
1914
  require('../../chunk-Z74QE57T.cjs');
1910
1915
  require('../../chunk-XZJCBIYR.cjs');
1911
1916
 
1912
1917
 
1913
- var _chunkLKQ33CMYcjs = require('../../chunk-LKQ33CMY.cjs');
1918
+ var _chunk2XCORRJVcjs = require('../../chunk-2XCORRJV.cjs');
1914
1919
 
1915
1920
 
1916
1921
 
1917
1922
 
1918
- var _chunk4WIJI4AKcjs = require('../../chunk-4WIJI4AK.cjs');
1923
+ var _chunk3TOWCFIKcjs = require('../../chunk-3TOWCFIK.cjs');
1919
1924
 
1920
1925
 
1921
- var _chunkAHBTZ7DNcjs = require('../../chunk-AHBTZ7DN.cjs');
1926
+ var _chunkFCZAUK4Dcjs = require('../../chunk-FCZAUK4D.cjs');
1922
1927
 
1923
1928
 
1924
1929
 
1925
1930
 
1926
1931
 
1927
1932
 
1928
- var _chunk7JWFMAQBcjs = require('../../chunk-7JWFMAQB.cjs');
1933
+
1934
+ var _chunk63A4GZMBcjs = require('../../chunk-63A4GZMB.cjs');
1929
1935
 
1930
1936
 
1931
1937
  var _chunkV45KLJQPcjs = require('../../chunk-V45KLJQP.cjs');
@@ -2221,7 +2227,7 @@ function useMeetingBooking(options) {
2221
2227
  const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
2222
2228
  const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
2223
2229
  const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
2224
- setMonthOffsetState(Math.max(0, Math.min(_chunkJ6C7F63Pcjs.MAX_MONTH_OFFSET, offset)));
2230
+ setMonthOffsetState(Math.max(0, Math.min(_chunk5V3CNLCBcjs.MAX_MONTH_OFFSET, offset)));
2225
2231
  }, []);
2226
2232
  const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
2227
2233
  _react.useLayoutEffect.call(void 0, () => {
@@ -2229,7 +2235,7 @@ function useMeetingBooking(options) {
2229
2235
  prevMeetingIdRef.current = meetingId;
2230
2236
  setMonthOffsetState(0);
2231
2237
  }, [meetingId]);
2232
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
2238
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
2233
2239
  const seed = _optionalChain([initialAvailability, 'optionalAccess', _13 => _13.meetingId]) === meetingId && initialAvailability.monthOffset === monthOffset ? initialAvailability : void 0;
2234
2240
  const availabilityQuery = _reactquery.useQuery.call(void 0, {
2235
2241
  queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
@@ -2318,12 +2324,12 @@ function BookingContextSummary({
2318
2324
  slot,
2319
2325
  loading: loadingProp
2320
2326
  }) {
2321
- const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
2327
+ const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
2322
2328
  const items = hasBookingContext(context) ? context.items.filter((item) => item.trim()) : [];
2323
2329
  const label = _nullishCoalesce(_optionalChain([slot, 'optionalAccess', _14 => _14.label]), () => ( _optionalChain([context, 'optionalAccess', _15 => _15.label])));
2324
2330
  if (!label || !slot && items.length === 0) return null;
2325
2331
  if (!slot) {
2326
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", "aria-label": label, children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2MHQBL4cjs.Tag, { label: item, ...LINE_TAG_PROPS }) }, item)) }) });
2332
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", "aria-label": label, children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.Tag, { label: item, ...LINE_TAG_PROPS }) }, item)) }) });
2327
2333
  }
2328
2334
  const cells = Array.from({ length: Math.max(slot.slots, items.length) }, (_, index) => items[index]);
2329
2335
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
@@ -2335,9 +2341,9 @@ function BookingContextSummary({
2335
2341
  className: SLOT_CELL_CLASS,
2336
2342
  "aria-hidden": empty || void 0,
2337
2343
  "data-loading-item": "",
2338
- children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2MHQBL4cjs.Tag, { label: "", loading: true, ...LINE_TAG_PROPS, className: LOADING_LINE_CLASS }) : item ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2MHQBL4cjs.Tag, { label: item, ...LINE_TAG_PROPS }) : (
2344
+ children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.Tag, { label: "", loading: true, ...LINE_TAG_PROPS, className: LOADING_LINE_CLASS }) : item ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.Tag, { label: item, ...LINE_TAG_PROPS }) : (
2339
2345
  // With no line at all the empty state covers every slot; with some, the rest stay as slots.
2340
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, EMPTY_CELL_CLASS, items.length === 0 && "invisible") })
2346
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, EMPTY_CELL_CLASS, items.length === 0 && "invisible") })
2341
2347
  )
2342
2348
  },
2343
2349
  _nullishCoalesce(item, () => ( `empty-${index}`))
@@ -2375,7 +2381,7 @@ var evenSpan = (count, index) => {
2375
2381
  const extra = GRID_COLUMNS - base * count;
2376
2382
  return Math.min(GRID_COLUMNS, Math.max(1, index < extra ? base + 1 : base));
2377
2383
  };
2378
- var slotColumnClass = (row, slot, index) => _chunk7JWFMAQBcjs.cn.call(void 0, row.length === 2 ? "col-span-1" : "col-span-2", SPAN_CLASS[_nullishCoalesce(slot.span, () => ( evenSpan(row.length, index)))]);
2384
+ var slotColumnClass = (row, slot, index) => _chunk63A4GZMBcjs.cn.call(void 0, row.length === 2 ? "col-span-1" : "col-span-2", SPAN_CLASS[_nullishCoalesce(slot.span, () => ( evenSpan(row.length, index)))]);
2379
2385
  var placeholderFor = (field) => _nullishCoalesce(field.placeholder, () => ( _optionalChain([fieldTypeSpec, 'call', _16 => _16(field.type), 'access', _17 => _17.placeholder, 'optionalCall', _18 => _18(field)])));
2380
2386
  var formFieldOptionLabel = (field, value) => _nullishCoalesce(_optionalChain([field, 'access', _19 => _19.optionLabels, 'optionalAccess', _20 => _20[value]]), () => ( value));
2381
2387
  var trimmed = (v) => String(_nullishCoalesce(v, () => ( ""))).trim();
@@ -2389,7 +2395,7 @@ var canonicalNumber = (v) => {
2389
2395
  };
2390
2396
  var FIELD_CONTROLS = {
2391
2397
  text: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2392
- _chunk7RM4NM2Ccjs.Input,
2398
+ _chunkSWF6TNZ3cjs.Input,
2393
2399
  {
2394
2400
  id,
2395
2401
  type: _nullishCoalesce(field.inputType, () => ( "text")),
@@ -2402,7 +2408,7 @@ var FIELD_CONTROLS = {
2402
2408
  }
2403
2409
  ),
2404
2410
  textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2405
- _chunkWX5WDSKVcjs.Textarea,
2411
+ _chunkMBU45QUBcjs.Textarea,
2406
2412
  {
2407
2413
  id,
2408
2414
  required: field.required,
@@ -2413,7 +2419,7 @@ var FIELD_CONTROLS = {
2413
2419
  }
2414
2420
  ),
2415
2421
  number: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2416
- _chunk7RM4NM2Ccjs.Input,
2422
+ _chunkSWF6TNZ3cjs.Input,
2417
2423
  {
2418
2424
  id,
2419
2425
  type: "number",
@@ -2426,7 +2432,7 @@ var FIELD_CONTROLS = {
2426
2432
  }
2427
2433
  ),
2428
2434
  phone: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2429
- _chunk7RM4NM2Ccjs.Input,
2435
+ _chunkSWF6TNZ3cjs.Input,
2430
2436
  {
2431
2437
  id,
2432
2438
  type: "tel",
@@ -2442,7 +2448,7 @@ var FIELD_CONTROLS = {
2442
2448
  date: ({ field, id, registerName, error, register }) => (
2443
2449
  // The native picker emits exactly the wire shape (`YYYY-MM-DD`).
2444
2450
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2445
- _chunk7RM4NM2Ccjs.Input,
2451
+ _chunkSWF6TNZ3cjs.Input,
2446
2452
  {
2447
2453
  id,
2448
2454
  type: "date",
@@ -2458,18 +2464,18 @@ var FIELD_CONTROLS = {
2458
2464
  {
2459
2465
  control,
2460
2466
  name: registerName,
2461
- render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk243TS7YLcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
2467
+ render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIJCSQFLDcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
2462
2468
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2463
- _chunk243TS7YLcjs.SelectTrigger,
2469
+ _chunkIJCSQFLDcjs.SelectTrigger,
2464
2470
  {
2465
2471
  id,
2466
2472
  "aria-required": field.required || void 0,
2467
2473
  "aria-invalid": Boolean(error),
2468
2474
  invalid: Boolean(error),
2469
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectValue, { placeholder: "Select\u2026" })
2475
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.SelectValue, { placeholder: "Select\u2026" })
2470
2476
  }
2471
2477
  ),
2472
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectItem, { value: opt, children: formFieldOptionLabel(field, opt) }, opt)) })
2478
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.SelectItem, { value: opt, children: formFieldOptionLabel(field, opt) }, opt)) })
2473
2479
  ] })
2474
2480
  }
2475
2481
  ),
@@ -2479,15 +2485,15 @@ var FIELD_CONTROLS = {
2479
2485
  control,
2480
2486
  name: registerName,
2481
2487
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2482
- _chunkWX5WDSKVcjs.RadioGroup,
2488
+ _chunkMBU45QUBcjs.RadioGroup,
2483
2489
  {
2484
2490
  value: _nullishCoalesce(rhf.value, () => ( "")),
2485
2491
  onValueChange: rhf.onChange,
2486
2492
  "aria-required": field.required || void 0,
2487
2493
  "aria-invalid": Boolean(error),
2488
2494
  children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
2489
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2490
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2495
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
2496
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2491
2497
  ] }, opt))
2492
2498
  }
2493
2499
  )
@@ -2509,7 +2515,7 @@ var FIELD_CONTROLS = {
2509
2515
  };
2510
2516
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, role: "group", className: "flex flex-col gap-[var(--spacing-system-xs)]", children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
2511
2517
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2512
- _chunkYR74H7Z3cjs.Checkbox,
2518
+ _chunk5SZ4ILU3cjs.Checkbox,
2513
2519
  {
2514
2520
  id: `${id}-${opt}`,
2515
2521
  checked: selected.includes(opt),
@@ -2517,7 +2523,7 @@ var FIELD_CONTROLS = {
2517
2523
  "aria-invalid": Boolean(error)
2518
2524
  }
2519
2525
  ),
2520
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2526
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
2521
2527
  ] }, opt)) });
2522
2528
  }
2523
2529
  }
@@ -2533,7 +2539,7 @@ var FIELD_CONTROLS = {
2533
2539
  // this id — a second inline label would double the visible text AND
2534
2540
  // the accessible name.
2535
2541
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2536
- _chunkYR74H7Z3cjs.Checkbox,
2542
+ _chunk5SZ4ILU3cjs.Checkbox,
2537
2543
  {
2538
2544
  id,
2539
2545
  checked: Boolean(rhf.value),
@@ -2560,7 +2566,7 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2560
2566
  control,
2561
2567
  name: registerName,
2562
2568
  render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2563
- _chunkWX5WDSKVcjs.ToggleGroup,
2569
+ _chunkMBU45QUBcjs.ToggleGroup,
2564
2570
  {
2565
2571
  id,
2566
2572
  type: "single",
@@ -2571,18 +2577,18 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
2571
2577
  },
2572
2578
  ref: (group) => rhf.ref(group && { focus: () => _optionalChain([group, 'access', _23 => _23.querySelector, 'call', _24 => _24("button"), 'optionalAccess', _25 => _25.focus, 'call', _26 => _26()]) }),
2573
2579
  onBlur: rhf.onBlur,
2574
- "aria-labelledby": _chunk7RM4NM2Ccjs.fieldLabelId.call(void 0, id),
2580
+ "aria-labelledby": _chunkSWF6TNZ3cjs.fieldLabelId.call(void 0, id),
2575
2581
  "aria-required": field.required || void 0,
2576
2582
  "aria-invalid": Boolean(error),
2577
2583
  className: CHIP_ROW_CLASS,
2578
- children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.ToggleGroupItem, { value: opt, className: _chunk7JWFMAQBcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2584
+ children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.ToggleGroupItem, { value: opt, className: _chunk63A4GZMBcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
2579
2585
  }
2580
2586
  )
2581
2587
  }
2582
2588
  );
2583
2589
  var builtInId = (name) => `ms-${name.replace(/[A-Z]/g, (m) => `-${m.toLowerCase()}`)}`;
2584
2590
  function BookingForm(props) {
2585
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
2591
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
2586
2592
  const { availability } = props;
2587
2593
  if (inScope || props.loading || !availability) {
2588
2594
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2711,7 +2717,7 @@ function BookingFormBody({
2711
2717
  () => [...BUILT_IN_BOOKING_FIELDS.map((field) => field.name), ...supportedFields.map((field) => field.name)],
2712
2718
  [supportedFields]
2713
2719
  );
2714
- const formRescue = _chunkGU3GJ5DHcjs.useRescuedForm.call(void 0,
2720
+ const formRescue = _chunk7O7EX7HQcjs.useRescuedForm.call(void 0,
2715
2721
  { watch, getValues, setValue },
2716
2722
  {
2717
2723
  rescue,
@@ -2720,7 +2726,7 @@ function BookingFormBody({
2720
2726
  fieldPath: (name) => BUILT_IN_BOOKING_FIELDS.some((field) => field.name === name) ? name : `formFields.${name}`
2721
2727
  }
2722
2728
  );
2723
- const { toast } = _chunkGU3GJ5DHcjs.useToast.call(void 0, );
2729
+ const { toast } = _chunk7O7EX7HQcjs.useToast.call(void 0, );
2724
2730
  const onInvalid = () => {
2725
2731
  if (deniedEmailDomains && emailDomainDenied(getValues("email"), deniedEmailDomains)) {
2726
2732
  toast({
@@ -2761,7 +2767,7 @@ function BookingFormBody({
2761
2767
  const copy = _optionalChain([fieldCopy, 'optionalAccess', _40 => _40[field.name]]);
2762
2768
  const shown = copy ? { ...field, label: _nullishCoalesce(copy.label, () => ( field.label)), placeholder: _nullishCoalesce(copy.placeholder, () => ( field.placeholder)) } : field;
2763
2769
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2764
- _chunk7RM4NM2Ccjs.FieldWrapper,
2770
+ _chunkSWF6TNZ3cjs.FieldWrapper,
2765
2771
  {
2766
2772
  label: shown.label,
2767
2773
  htmlFor: where.id,
@@ -2801,7 +2807,7 @@ function BookingFormBody({
2801
2807
  const { rows: placedRows, unplacedBuiltIns, named: placedNames } = normalizeFieldRows(_nullishCoalesce(fieldRows, () => ( [])), slotResolves);
2802
2808
  const unplacedFields = fieldRows ? supportedFields.filter((f) => !placedNames.has(f.name)) : [];
2803
2809
  const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2804
- _chunkAHBTZ7DNcjs.Button,
2810
+ _chunkFCZAUK4Dcjs.Button,
2805
2811
  {
2806
2812
  type: "submit",
2807
2813
  loading: isSubmitting,
@@ -2810,8 +2816,8 @@ function BookingFormBody({
2810
2816
  children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
2811
2817
  }
2812
2818
  );
2813
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkJ6C7F63Pcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
2814
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.HoneypotField, { ...honeypotInputProps }),
2819
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunk5V3CNLCBcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
2820
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.HoneypotField, { ...honeypotInputProps }),
2815
2821
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { context, slot: contextSlot }),
2816
2822
  fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2817
2823
  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("|"))),
@@ -2825,7 +2831,7 @@ function BookingFormBody({
2825
2831
  supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
2826
2832
  ] }),
2827
2833
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2828
- _chunkWX5WDSKVcjs.CheckboxBlock,
2834
+ _chunkMBU45QUBcjs.CheckboxBlock,
2829
2835
  {
2830
2836
  id: "ms-host-consent",
2831
2837
  checked: consented,
@@ -2844,7 +2850,7 @@ function BookingFormBody({
2844
2850
  // box doesn't shove the submit button down the card. With no error the
2845
2851
  // wrapper is `display:contents` and the panel below is the flex item,
2846
2852
  // exactly as it was.
2847
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { error: _optionalChain([errors, 'access', _44 => _44.legalConsentResponses, 'optionalAccess', _45 => _45.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
2853
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { error: _optionalChain([errors, 'access', _44 => _44.legalConsentResponses, 'optionalAccess', _45 => _45.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
2848
2854
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.processingConsentText }),
2849
2855
  legalConsent.communicationConsentText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.communicationConsentText }),
2850
2856
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2860,7 +2866,7 @@ function BookingFormBody({
2860
2866
  // same block the waitlist form uses): box + label in one
2861
2867
  // bordered row.
2862
2868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2863
- _chunkWX5WDSKVcjs.CheckboxBlock,
2869
+ _chunkMBU45QUBcjs.CheckboxBlock,
2864
2870
  {
2865
2871
  id: `ms-consent-${box.communicationTypeId}`,
2866
2872
  checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _46 => _46.consented]), () => ( false)),
@@ -2896,10 +2902,10 @@ function BookingFormPending({
2896
2902
  contextSlot
2897
2903
  }) {
2898
2904
  const consentId = _react.useId.call(void 0, );
2899
- const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { type: "button", tabIndex: -1, className: footerNote ? SUBMIT_WIDE_CLASS : void 0, children: submitLabel });
2905
+ const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", tabIndex: -1, className: footerNote ? SUBMIT_WIDE_CLASS : void 0, children: submitLabel });
2900
2906
  return (
2901
2907
  // Inert: the fields are the form's own controls, drawn so each is its loaded size; none takes focus.
2902
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex-1", FORM_STACK), "aria-hidden": true, inert: true, children: [
2908
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex-1", FORM_STACK), "aria-hidden": true, inert: true, children: [
2903
2909
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { slot: contextSlot, loading: true }),
2904
2910
  skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS)), optionalFields).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2905
2911
  FieldSkeleton,
@@ -2911,18 +2917,18 @@ function BookingFormPending({
2911
2917
  slot.name
2912
2918
  )) }, row.map((s) => s.name).join("|"))),
2913
2919
  !fieldRows && // An empty label keeps the field's own frame (`FieldWrapper` draws no label for it); the bar stands for it.
2914
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label: "", children: [
2915
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-40" }),
2916
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.Textarea, { tabIndex: -1 })
2920
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { label: "", children: [
2921
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-40" }),
2922
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.Textarea, { tabIndex: -1 })
2917
2923
  ] }),
2918
2924
  consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2919
- _chunkWX5WDSKVcjs.CheckboxBlock,
2925
+ _chunkMBU45QUBcjs.CheckboxBlock,
2920
2926
  {
2921
2927
  id: consentId,
2922
2928
  checked: false,
2923
- onCheckedChange: _chunk7JWFMAQBcjs.LOADING_NOOP,
2929
+ onCheckedChange: _chunk63A4GZMBcjs.LOADING_NOOP,
2924
2930
  required: true,
2925
- label: consent === true ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-64 max-w-full" }) : consent.label,
2931
+ label: consent === true ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-64 max-w-full" }) : consent.label,
2926
2932
  description: consent === true ? void 0 : consent.description
2927
2933
  }
2928
2934
  ),
@@ -2965,9 +2971,9 @@ function FieldSkeleton({
2965
2971
  const label = builtIn ? _nullishCoalesce(_optionalChain([copy, 'optionalAccess', _48 => _48.label]), () => ( builtIn.label)) : _optionalChain([copy, 'optionalAccess', _49 => _49.label]);
2966
2972
  return (
2967
2973
  // An empty label keeps the field's own frame; a read label is the bar under it.
2968
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _50 => _50.required]), className, children: [
2969
- label === void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-32" }),
2970
- !builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { variant: "default", className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkWX5WDSKVcjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { tabIndex: -1 })
2974
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _50 => _50.required]), className, children: [
2975
+ label === void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-32" }),
2976
+ !builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { variant: "default", className: _chunk63A4GZMBcjs.cn.call(void 0, _chunkMBU45QUBcjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.Input, { tabIndex: -1 })
2971
2977
  ] })
2972
2978
  );
2973
2979
  }
@@ -2975,7 +2981,7 @@ function FieldSkeleton({
2975
2981
  // src/components/meeting-scheduler/confirmation.tsx
2976
2982
 
2977
2983
  function Confirmation({ confirmation, timezone }) {
2978
- const when = _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, confirmation.startTimeMs, timezone, "weekdayDateTimeZoned", {
2984
+ const when = _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, confirmation.startTimeMs, timezone, "weekdayDateTimeZoned", {
2979
2985
  viewerLocale: true
2980
2986
  });
2981
2987
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
@@ -2985,7 +2991,7 @@ function Confirmation({ confirmation, timezone }) {
2985
2991
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
2986
2992
  when,
2987
2993
  " \xB7 ",
2988
- _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
2994
+ _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
2989
2995
  ] }),
2990
2996
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "A calendar invite is on its way to your email." })
2991
2997
  ] });
@@ -2999,11 +3005,11 @@ var HOST_TEXT_CLASS = "flex min-w-0 flex-col";
2999
3005
  var HOST_TEAM_CLASS = "flex min-w-0 flex-col gap-[var(--spacing-system-xs)]";
3000
3006
  var MAX_HOST_ROWS = 3;
3001
3007
  function HostIdentity({ hosts, loading = false }) {
3002
- if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HostIdentitySkeleton, {});
3008
+ if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HostIdentitySkeleton, {});
3003
3009
  if (hosts.length === 0) return null;
3004
3010
  if (hosts.length > MAX_HOST_ROWS) {
3005
3011
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HOST_TEAM_CLASS, children: [
3006
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5QLDHPPUcjs.AvatarStack, { people: hosts, max: 4, size: "lg", label: "Hosts" }),
3012
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk25HBH4J6cjs.AvatarStack, { people: hosts, max: 4, size: "lg", label: "Hosts" }),
3007
3013
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
3008
3014
  hosts.length,
3009
3015
  " hosts on this calendar"
@@ -3012,7 +3018,7 @@ function HostIdentity({ hosts, loading = false }) {
3012
3018
  }
3013
3019
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HOST_LIST_CLASS, children: hosts.map((host) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HOST_ROW_CLASS, "data-loading-item": true, children: [
3014
3020
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3015
- _chunkU2MHQBL4cjs.SquareAvatar,
3021
+ _chunkBOS7OIC4cjs.SquareAvatar,
3016
3022
  {
3017
3023
  variant: "round",
3018
3024
  size: "sm",
@@ -3029,10 +3035,10 @@ function HostIdentity({ hosts, loading = false }) {
3029
3035
  }
3030
3036
  function HostIdentitySkeleton() {
3031
3037
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HOST_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HOST_ROW_CLASS, "data-loading-item": true, children: [
3032
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2MHQBL4cjs.SquareAvatar, { loading: true, variant: "round", size: "sm" }),
3038
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBOS7OIC4cjs.SquareAvatar, { loading: true, variant: "round", size: "sm" }),
3033
3039
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HOST_TEXT_CLASS, children: [
3034
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-32" }),
3035
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-24" })
3040
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-32" }),
3041
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-24" })
3036
3042
  ] })
3037
3043
  ] }) });
3038
3044
  }
@@ -3059,24 +3065,24 @@ function ContextPanelSkeleton({
3059
3065
  durations = 0,
3060
3066
  timezone = "shown"
3061
3067
  }) {
3062
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, PANEL_STACK, className), children: [
3063
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
3068
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PANEL_STACK, className), children: [
3069
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
3064
3070
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
3065
3071
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
3066
3072
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
3067
3073
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HostIdentity, { hosts: [], loading: true }),
3068
- durations <= 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-20 shrink-0" })
3074
+ durations <= 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-20 shrink-0" })
3069
3075
  ] }),
3070
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }),
3071
- description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-4/5" }),
3076
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }),
3077
+ description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-4/5" }),
3072
3078
  durations > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DURATION_FIELD_CLASS, children: [
3073
3079
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Duration" }),
3074
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DURATION_CHIPS_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: durations, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.InteractiveSkeleton.Button, { "data-loading-item": true, size: "small-legacy", className: "w-16" }) }) })
3080
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DURATION_CHIPS_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: durations, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.InteractiveSkeleton.Button, { "data-loading-item": true, size: "small-legacy", className: "w-16" }) }) })
3075
3081
  ] })
3076
3082
  ] }),
3077
- timezone !== "hidden" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ASIDE, timezone === "wide" && TIMEZONE_WIDE_ONLY_CLASS), children: [
3083
+ timezone !== "hidden" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ASIDE, timezone === "wide" && TIMEZONE_WIDE_ONLY_CLASS), children: [
3078
3084
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3079
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk7JWFMAQBcjs.LOADING_NOOP })
3085
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3080
3086
  ] })
3081
3087
  ] })
3082
3088
  ] });
@@ -3099,7 +3105,7 @@ function SchedulerContextPanel({
3099
3105
  className,
3100
3106
  loading = false
3101
3107
  }) {
3102
- if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading) {
3108
+ if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loading) {
3103
3109
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3104
3110
  ContextPanelSkeleton,
3105
3111
  {
@@ -3113,8 +3119,8 @@ function SchedulerContextPanel({
3113
3119
  }
3114
3120
  );
3115
3121
  }
3116
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, PANEL_STACK, className), children: [
3117
- onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
3122
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PANEL_STACK, className), children: [
3123
+ onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
3118
3124
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
3119
3125
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
3120
3126
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
@@ -3123,7 +3129,7 @@ function SchedulerContextPanel({
3123
3129
  // Post-selection, or a link that offers one length: a static line,
3124
3130
  // which is what sits beside the host on the header-strip layouts.
3125
3131
  selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: DURATION_LINE_CLASS, children: [
3126
- _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
3132
+ _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
3127
3133
  " call"
3128
3134
  ] })
3129
3135
  ) : null
@@ -3133,14 +3139,14 @@ function SchedulerContextPanel({
3133
3139
  !locked && durationsMs.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DURATION_FIELD_CLASS, children: [
3134
3140
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Duration" }),
3135
3141
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DURATION_CHIPS_CLASS, children: durationsMs.map((ms) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3136
- _chunkAHBTZ7DNcjs.Button,
3142
+ _chunkFCZAUK4Dcjs.Button,
3137
3143
  {
3138
3144
  "data-loading-item": true,
3139
3145
  variant: selectedDurationMs === ms ? void 0 : "outline",
3140
3146
  size: "small-legacy",
3141
3147
  disabled,
3142
3148
  onClick: () => onSelectDuration(ms),
3143
- children: _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, ms / 1e3)
3149
+ children: _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, ms / 1e3)
3144
3150
  },
3145
3151
  ms
3146
3152
  )) })
@@ -3152,10 +3158,10 @@ function SchedulerContextPanel({
3152
3158
  // summary line states the zone one row below — so the fact survives,
3153
3159
  // only the control steps aside. The 280px sidebar has the room, so
3154
3160
  // there it stays.
3155
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ASIDE, locked && TIMEZONE_WIDE_ONLY_CLASS), children: [
3161
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ASIDE, locked && TIMEZONE_WIDE_ONLY_CLASS), children: [
3156
3162
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
3157
3163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3158
- _chunkWX5WDSKVcjs.TimezoneSelect,
3164
+ _chunkMBU45QUBcjs.TimezoneSelect,
3159
3165
  {
3160
3166
  value: _nullishCoalesce(timezone, () => ( null)),
3161
3167
  loading: !timezone,
@@ -3173,9 +3179,9 @@ function SchedulerContextPanel({
3173
3179
  // src/components/meeting-scheduler/modal-header.tsx
3174
3180
 
3175
3181
  var ROW_CLASS = "border-b border-ods-border p-[var(--spacing-system-m)]";
3176
- var STRIP_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, ROW_CLASS, "flex items-center justify-between gap-[var(--spacing-system-m)]");
3182
+ var STRIP_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, ROW_CLASS, "flex items-center justify-between gap-[var(--spacing-system-m)]");
3177
3183
  var FIELD_LABEL_CLASS2 = "text-h4 text-ods-text-primary";
3178
- var TIMEZONE_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, ROW_CLASS, "flex flex-col gap-[var(--spacing-system-xxs)]");
3184
+ var TIMEZONE_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, ROW_CLASS, "flex flex-col gap-[var(--spacing-system-xxs)]");
3179
3185
  var DURATION_LINE_CLASS2 = "shrink-0 text-ods-text-secondary text-h6";
3180
3186
  function SchedulerModalHeader({
3181
3187
  hosts,
@@ -3190,29 +3196,29 @@ function SchedulerModalHeader({
3190
3196
  loading = false
3191
3197
  }) {
3192
3198
  const chips = !locked && durationsMs.length > 1;
3193
- if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerModalHeaderSkeleton, { showTimezone });
3199
+ if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerModalHeaderSkeleton, { showTimezone });
3194
3200
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3195
3201
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_CLASS, children: [
3196
3202
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HostIdentity, { hosts }),
3197
3203
  chips ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 flex-wrap justify-end gap-[var(--spacing-system-xs)]", children: durationsMs.map((ms) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3198
- _chunkAHBTZ7DNcjs.Button,
3204
+ _chunkFCZAUK4Dcjs.Button,
3199
3205
  {
3200
3206
  variant: selectedDurationMs === ms ? void 0 : "outline",
3201
3207
  size: "small-legacy",
3202
3208
  disabled,
3203
3209
  onClick: () => onSelectDuration(ms),
3204
- children: _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, ms / 1e3)
3210
+ children: _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, ms / 1e3)
3205
3211
  },
3206
3212
  ms
3207
3213
  )) }) : selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: DURATION_LINE_CLASS2, children: [
3208
- _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
3214
+ _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
3209
3215
  " call"
3210
3216
  ] })
3211
3217
  ] }),
3212
3218
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3213
3219
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3214
3220
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3215
- _chunkWX5WDSKVcjs.TimezoneSelect,
3221
+ _chunkMBU45QUBcjs.TimezoneSelect,
3216
3222
  {
3217
3223
  value: timezone,
3218
3224
  loading: !timezone,
@@ -3229,11 +3235,11 @@ function SchedulerModalHeaderSkeleton({ showTimezone = true } = {}) {
3229
3235
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3230
3236
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_CLASS, children: [
3231
3237
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HostIdentity, { hosts: [], loading: true }),
3232
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: _chunk7JWFMAQBcjs.cn.call(void 0, DURATION_LINE_CLASS2, "w-20") })
3238
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: _chunk63A4GZMBcjs.cn.call(void 0, DURATION_LINE_CLASS2, "w-20") })
3233
3239
  ] }),
3234
3240
  showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
3235
3241
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
3236
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk7JWFMAQBcjs.LOADING_NOOP })
3242
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk63A4GZMBcjs.LOADING_NOOP })
3237
3243
  ] })
3238
3244
  ] });
3239
3245
  }
@@ -3256,13 +3262,13 @@ function dateFromDayKey(key) {
3256
3262
  return new Date(y, m - 1, d, 12);
3257
3263
  }
3258
3264
  function timeLabelInZone(ms, timeZone) {
3259
- return _chunkU2MHQBL4cjs.formatTimeWithTimezone.call(void 0, ms, timeZone, { viewerLocale: true });
3265
+ return _chunkBOS7OIC4cjs.formatTimeWithTimezone.call(void 0, ms, timeZone, { viewerLocale: true });
3260
3266
  }
3261
3267
  var CALENDAR_W = "content-md:w-[19rem] content-md:shrink-0 content-lg:w-[16rem]";
3262
3268
  var COLUMN_HEADING_CLASS = "shrink-0 text-h4 text-ods-text-primary";
3263
3269
  var COLUMN_STACK = "flex min-h-0 flex-col gap-[var(--spacing-system-xxs)]";
3264
3270
  var SLOT_PICKER_HEADING = "Select Date & Time";
3265
- var CHIP_GRID_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3271
+ var CHIP_GRID_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
3266
3272
  "grid grid-cols-[repeat(auto-fill,minmax(5.5rem,1fr))] content-start gap-[var(--spacing-system-xs)]",
3267
3273
  "overflow-y-auto",
3268
3274
  // PHONE: a stated window (~3 rows, the mock's 156px) that scrolls, rather
@@ -3285,7 +3291,7 @@ var CHIP_GRID_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3285
3291
  "min-h-0 flex-1"
3286
3292
  );
3287
3293
  var CHIP_CLASS = "w-full px-[var(--spacing-system-xxs)]";
3288
- var SLOT_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3294
+ var SLOT_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
3289
3295
  "flex min-w-0 flex-col content-md:flex-row",
3290
3296
  // Default `stretch` at every width, deliberately. Stacked, that is what
3291
3297
  // makes each section span the card — an `items-start` here (it was here, to
@@ -3302,31 +3308,31 @@ var MODAL_CALENDAR_W = "content-md:w-[19rem] content-md:shrink-0";
3302
3308
  var MODAL_COLUMN_BOX = "p-[var(--spacing-system-m)]";
3303
3309
  var MODAL_COLUMN_DIVIDER = "border-b border-ods-border content-md:border-b-0 content-md:border-r";
3304
3310
  var MODAL_TIMES_H = "content-md:h-[21.5rem]";
3305
- var MODAL_CHIP_GRID_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3311
+ var MODAL_CHIP_GRID_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
3306
3312
  "grid grid-cols-4 content-start gap-[var(--spacing-system-xs)] overflow-y-auto content-md:grid-cols-1",
3307
3313
  "max-h-[9.75rem] min-h-0 flex-1 content-md:max-h-none"
3308
3314
  );
3309
3315
  function monthLabelFor(offset) {
3310
3316
  const now = /* @__PURE__ */ new Date();
3311
3317
  const month = new Date(now.getFullYear(), now.getMonth() + offset, 1);
3312
- return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, month, _chunkU2MHQBL4cjs.VIEWER_TIMEZONE, "monthYear");
3318
+ return _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, month, _chunkBOS7OIC4cjs.VIEWER_TIMEZONE, "monthYear");
3313
3319
  }
3314
3320
  var DISABLE_EVERY_DAY = () => true;
3315
3321
  function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
3316
3322
  const now = /* @__PURE__ */ new Date();
3317
3323
  const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
3318
- const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkJ6C7F63Pcjs.MAX_MONTH_OFFSET + 1, 0);
3324
+ const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunk5V3CNLCBcjs.MAX_MONTH_OFFSET + 1, 0);
3319
3325
  const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
3320
3326
  const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _54 => _54.has, 'call', _55 => _55(calendarDayKey(day))]), [slotsByDay]);
3321
3327
  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,
3322
- _chunkWX5WDSKVcjs.DatePickerCalendar,
3328
+ _chunkMBU45QUBcjs.DatePickerCalendar,
3323
3329
  {
3324
3330
  mode: "single",
3325
3331
  bare: true,
3326
3332
  month: visibleMonth,
3327
3333
  onMonthChange: (month) => {
3328
3334
  const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
3329
- onMonthOffsetChange(Math.max(0, Math.min(_chunkJ6C7F63Pcjs.MAX_MONTH_OFFSET, offset)));
3335
+ onMonthOffsetChange(Math.max(0, Math.min(_chunk5V3CNLCBcjs.MAX_MONTH_OFFSET, offset)));
3330
3336
  },
3331
3337
  fromDate: startMonth,
3332
3338
  toDate: endMonth,
@@ -3347,16 +3353,16 @@ function SlotPickerSkeleton({ monthOffset = 0, layout = "card" }) {
3347
3353
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3348
3354
  "div",
3349
3355
  {
3350
- className: modal ? _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_COLUMN_DIVIDER, MODAL_CALENDAR_W) : _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, COLUMN_DIVIDER, CALENDAR_W, "content-md:overflow-y-auto"),
3356
+ className: modal ? _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_COLUMN_DIVIDER, MODAL_CALENDAR_W) : _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, COLUMN_DIVIDER, CALENDAR_W, "content-md:overflow-y-auto"),
3351
3357
  children: [
3352
3358
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: SLOT_PICKER_HEADING }),
3353
3359
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3354
3360
  DayCalendar,
3355
3361
  {
3356
3362
  monthOffset,
3357
- onMonthOffsetChange: _chunk7JWFMAQBcjs.LOADING_NOOP,
3363
+ onMonthOffsetChange: _chunk63A4GZMBcjs.LOADING_NOOP,
3358
3364
  selectedDay: null,
3359
- onSelectDay: _chunk7JWFMAQBcjs.LOADING_NOOP,
3365
+ onSelectDay: _chunk63A4GZMBcjs.LOADING_NOOP,
3360
3366
  slotsByDay: null
3361
3367
  }
3362
3368
  )
@@ -3366,7 +3372,7 @@ function SlotPickerSkeleton({ monthOffset = 0, layout = "card" }) {
3366
3372
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3367
3373
  "div",
3368
3374
  {
3369
- className: modal ? _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_TIMES_H, "min-w-0 content-md:flex-1") : _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"),
3375
+ className: modal ? _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_TIMES_H, "min-w-0 content-md:flex-1") : _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"),
3370
3376
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeChipsSkeleton, { layout })
3371
3377
  }
3372
3378
  )
@@ -3375,8 +3381,8 @@ function SlotPickerSkeleton({ monthOffset = 0, layout = "card" }) {
3375
3381
  var SLOT_PICKER_SKELETON_CHIPS = 16;
3376
3382
  function TimeChipsSkeleton({ layout = "card" } = {}) {
3377
3383
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3378
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-40" }) }),
3379
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout === "modal" ? MODAL_CHIP_GRID_CLASS : CHIP_GRID_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: SLOT_PICKER_SKELETON_CHIPS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { "data-loading-item": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, CHIP_CLASS, "h-11 content-md:h-12") }) }) })
3384
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-40" }) }),
3385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout === "modal" ? MODAL_CHIP_GRID_CLASS : CHIP_GRID_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: SLOT_PICKER_SKELETON_CHIPS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { "data-loading-item": true, className: _chunk63A4GZMBcjs.cn.call(void 0, CHIP_CLASS, "h-11 content-md:h-12") }) }) })
3380
3386
  ] });
3381
3387
  }
3382
3388
  function SlotPicker({
@@ -3393,7 +3399,7 @@ function SlotPicker({
3393
3399
  isSubmitting = false,
3394
3400
  loading = false
3395
3401
  }) {
3396
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading;
3402
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loading;
3397
3403
  const slotsByDay = _react.useMemo.call(void 0, () => {
3398
3404
  const map = /* @__PURE__ */ new Map();
3399
3405
  if (timezone == null) return map;
@@ -3419,7 +3425,7 @@ function SlotPicker({
3419
3425
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3420
3426
  "div",
3421
3427
  {
3422
- className: modal ? _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_COLUMN_DIVIDER, MODAL_CALENDAR_W) : _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, COLUMN_DIVIDER, CALENDAR_W, "content-md:overflow-y-auto"),
3428
+ className: modal ? _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_COLUMN_DIVIDER, MODAL_CALENDAR_W) : _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, COLUMN_DIVIDER, CALENDAR_W, "content-md:overflow-y-auto"),
3423
3429
  children: [
3424
3430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: SLOT_PICKER_HEADING }),
3425
3431
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3438,13 +3444,13 @@ function SlotPicker({
3438
3444
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3439
3445
  "div",
3440
3446
  {
3441
- className: modal ? _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_TIMES_H, "min-w-0 content-md:flex-1") : _chunk7JWFMAQBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"),
3447
+ className: modal ? _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, MODAL_COLUMN_BOX, MODAL_TIMES_H, "min-w-0 content-md:flex-1") : _chunk63A4GZMBcjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"),
3442
3448
  children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeChipsSkeleton, { layout }) : selectedDay ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3443
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, dateFromDayKey(selectedDay), _chunkU2MHQBL4cjs.VIEWER_TIMEZONE, "weekday", { viewerLocale: true }) }),
3449
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, dateFromDayKey(selectedDay), _chunkBOS7OIC4cjs.VIEWER_TIMEZONE, "weekday", { viewerLocale: true }) }),
3444
3450
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: modal ? MODAL_CHIP_GRID_CLASS : CHIP_GRID_CLASS, children: daySlots.map((ms) => {
3445
3451
  const isSelected = selectedSlot === ms;
3446
3452
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3447
- _chunkAHBTZ7DNcjs.Button,
3453
+ _chunkFCZAUK4Dcjs.Button,
3448
3454
  {
3449
3455
  variant: isSelected ? void 0 : "outline",
3450
3456
  disabled: isSubmitting,
@@ -3470,8 +3476,8 @@ function SlotPicker({
3470
3476
  monthLabelFor(monthOffset),
3471
3477
  "."
3472
3478
  ] }),
3473
- monthOffset < _chunkJ6C7F63Pcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3474
- _chunkAHBTZ7DNcjs.Button,
3479
+ monthOffset < _chunk5V3CNLCBcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3480
+ _chunkFCZAUK4Dcjs.Button,
3475
3481
  {
3476
3482
  variant: "outline",
3477
3483
  onClick: () => onMonthOffsetChange(monthOffset + 1),
@@ -3494,10 +3500,10 @@ function SlotPicker({
3494
3500
 
3495
3501
 
3496
3502
  function useNextAvailableLabel(ms) {
3497
- const hydrated = _chunkCB77J5L7cjs.useIsHydrated.call(void 0, );
3503
+ const hydrated = _chunk5RBL7A2Ycjs.useIsHydrated.call(void 0, );
3498
3504
  return _react.useMemo.call(void 0, () => {
3499
3505
  if (!hydrated || ms == null) return null;
3500
- return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, ms, _chunkU2MHQBL4cjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
3506
+ return _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, ms, _chunkBOS7OIC4cjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
3501
3507
  }, [hydrated, ms]);
3502
3508
  }
3503
3509
  var PAGINATION_SLOT_H = "h-[4.5rem]";
@@ -3518,7 +3524,7 @@ function DirectoryRow({
3518
3524
  const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
3519
3525
  const subtitle = [
3520
3526
  link.description,
3521
- link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
3527
+ link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
3522
3528
  link.kind === "team" ? "Team" : null
3523
3529
  ].filter(Boolean).join(" \u2022 ");
3524
3530
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3528,13 +3534,13 @@ function DirectoryRow({
3528
3534
  href: `${bookingBasePath}/${link.slug}`,
3529
3535
  prefetch: false,
3530
3536
  className: "block rounded-lg text-inherit no-underline focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
3531
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, ROW_FRAME_CLASS, "transition-colors duration-150 hover:bg-ods-bg-hover"), children: [
3537
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "transition-colors duration-150 hover:bg-ods-bg-hover"), children: [
3532
3538
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_TITLE_COLUMN_CLASS, children: [
3533
3539
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
3534
3540
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
3535
3541
  ] }),
3536
- audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Y6M4FW4cjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
3537
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5QLDHPPUcjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
3542
+ audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY6MJMPHVcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
3543
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk25HBH4J6cjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
3538
3544
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_NEXT_COLUMN_CLASS, children: [
3539
3545
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: ROW_NEXT_LABEL_CLASS, children: "Next available" }),
3540
3546
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-h-5 text-ods-text-primary text-h6", children: link.nextAvailableMs == null ? "No times published" : _nullishCoalesce(nextLabel, () => ( " ")) })
@@ -3547,16 +3553,16 @@ function DirectoryRow({
3547
3553
  var NO_HOSTS = [];
3548
3554
  var TYPICAL_HOSTS = 1;
3549
3555
  function MeetingSchedulerDirectoryRowSkeleton(props = {}) {
3550
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_FRAME_CLASS, "aria-hidden": true, ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), children: [
3556
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_FRAME_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: [
3551
3557
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_TITLE_COLUMN_CLASS, children: [
3552
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-1/2" }),
3553
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" })
3558
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-1/2" }),
3559
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" })
3554
3560
  ] }),
3555
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "hidden h-6 w-28 shrink-0 content-sm:block" }),
3556
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5QLDHPPUcjs.AvatarStack, { people: NO_HOSTS, loading: true, max: TYPICAL_HOSTS, size: "md", label: "Hosts", className: "flex shrink-0" }),
3561
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "hidden h-6 w-28 shrink-0 content-sm:block" }),
3562
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk25HBH4J6cjs.AvatarStack, { people: NO_HOSTS, loading: true, max: TYPICAL_HOSTS, size: "md", label: "Hosts", className: "flex shrink-0" }),
3557
3563
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_NEXT_COLUMN_CLASS, children: [
3558
3564
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: ROW_NEXT_LABEL_CLASS, children: "Next available" }),
3559
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-32" })
3565
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-32" })
3560
3566
  ] }),
3561
3567
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: ROW_CHEVRON_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "size-6 text-ods-text-secondary" }) })
3562
3568
  ] });
@@ -3565,9 +3571,9 @@ function MeetingSchedulerDirectorySkeleton({
3565
3571
  pageSize = MEETING_DIRECTORY_PAGE_SIZE,
3566
3572
  className
3567
3573
  }) {
3568
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col", className), "aria-hidden": true, children: [
3569
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROWS_CLASS, style: { minHeight: directoryRowsMinHeight(pageSize) }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectoryRowSkeleton, { "data-loading-item": true }) }) }),
3570
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ7QYAINScjs.PaginationSkeleton, {}) })
3574
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col", className), "aria-hidden": true, children: [
3575
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROWS_CLASS, style: { minHeight: directoryRowsMinHeight(pageSize) }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectoryRowSkeleton, { "data-loading-item": true }) }) }),
3576
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4PMD3JUCcjs.PaginationSkeleton, {}) })
3571
3577
  ] });
3572
3578
  }
3573
3579
  function MeetingSchedulerDirectory({
@@ -3583,7 +3589,7 @@ function MeetingSchedulerDirectory({
3583
3589
  const [isLoading, setIsLoading] = _react.useState.call(void 0, initialData === null);
3584
3590
  const [error, setError] = _react.useState.call(void 0, null);
3585
3591
  const [page, setPage] = _react.useState.call(void 0, 1);
3586
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
3592
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
3587
3593
  _react.useEffect.call(void 0, () => {
3588
3594
  if (initialData !== null || inScope) return void 0;
3589
3595
  const controller = new AbortController();
@@ -3621,8 +3627,8 @@ function MeetingSchedulerDirectory({
3621
3627
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectorySkeleton, { pageSize, className });
3622
3628
  }
3623
3629
  if (error) {
3624
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3625
- _chunkKVDUWXVZcjs.EmptyState,
3630
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3631
+ _chunkHM7VCQSXcjs.EmptyState,
3626
3632
  {
3627
3633
  type: "generic",
3628
3634
  title: "We couldn't load available call times",
@@ -3632,8 +3638,8 @@ function MeetingSchedulerDirectory({
3632
3638
  ) });
3633
3639
  }
3634
3640
  if (rows.length === 0) {
3635
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3636
- _chunkKVDUWXVZcjs.EmptyState,
3641
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3642
+ _chunkHM7VCQSXcjs.EmptyState,
3637
3643
  {
3638
3644
  type: "generic",
3639
3645
  title: "No call times are published right now",
@@ -3642,10 +3648,10 @@ function MeetingSchedulerDirectory({
3642
3648
  }
3643
3649
  ) });
3644
3650
  }
3645
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col", className), children: [
3651
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col", className), children: [
3646
3652
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROWS_CLASS, style: { minHeight: rowsMinHeight }, children: pageRows.map(({ link, audienceLabel }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DirectoryRow, { link, audienceLabel, bookingBasePath }, link.id)) }),
3647
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3648
- _chunkCC3Q3MQGcjs.PersistentPaginationWrapper,
3653
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3654
+ _chunkIKB6AZPVcjs.PersistentPaginationWrapper,
3649
3655
  {
3650
3656
  isLoading,
3651
3657
  currentPage: page,
@@ -3669,7 +3675,7 @@ var BOOKING_ERROR_COPY = {
3669
3675
  var CONTEXT_PANEL_CLASS = "p-[var(--spacing-system-l)] shrink-0 content-lg:w-[280px] border-b content-lg:border-b-0 content-lg:border-r border-ods-border content-lg:min-h-0 content-lg:overflow-y-auto";
3670
3676
  var ACTION_PANEL_CLASS = "flex-1 min-w-0 flex flex-col content-md:min-h-0 content-lg:p-[var(--spacing-system-l)]";
3671
3677
  var PANEL_STEP_CLASS = "p-[var(--spacing-system-l)] content-md:min-h-0 content-md:overflow-y-auto content-lg:p-0";
3672
- var STEP_PANEL_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-1 flex-col", PANEL_STEP_CLASS);
3678
+ var STEP_PANEL_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-1 flex-col", PANEL_STEP_CLASS);
3673
3679
  var MEETING_SCHEDULER_H = "content-md:h-[34.375rem] content-lg:h-[23.75rem]";
3674
3680
  var MEETING_SCHEDULER_DETAILS_FIRST_H = "h-[50.75rem] content-md:h-[39.875rem]";
3675
3681
  var DEFAULT_SCHEDULER_FLOW = "slot-first";
@@ -3682,7 +3688,7 @@ var SCHEDULER_FLOW_PRESETS = {
3682
3688
  footerNote: "Next step: pick a slot that works. Calendar invite lands right after."
3683
3689
  }
3684
3690
  };
3685
- var CARD_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3691
+ var CARD_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
3686
3692
  "overflow-hidden rounded-md border border-ods-border bg-ods-card",
3687
3693
  "content-md:flex content-md:flex-col"
3688
3694
  // The height is NOT baked in any more: it is chosen per flow at each render
@@ -3690,7 +3696,7 @@ var CARD_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3690
3696
  // constants are module scope.
3691
3697
  );
3692
3698
  var CARD_INNER_CLASS = "flex flex-col content-md:min-h-0 content-md:flex-1 content-lg:h-full content-lg:flex-row";
3693
- var CARD_DEGRADED_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
3699
+ var CARD_DEGRADED_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
3694
3700
  "flex flex-col items-start gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-lf)]",
3695
3701
  "content-md:justify-center content-md:overflow-y-auto"
3696
3702
  );
@@ -3701,7 +3707,7 @@ function SchedulerDegradedCard({
3701
3707
  action,
3702
3708
  children
3703
3709
  }) {
3704
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CARD_DEGRADED_CLASS, SCHEDULER_FLOW_PRESETS[flow].height, className), children: [
3710
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, CARD_DEGRADED_CLASS, SCHEDULER_FLOW_PRESETS[flow].height, className), children: [
3705
3711
  message && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: message }),
3706
3712
  action,
3707
3713
  children
@@ -3724,7 +3730,7 @@ var MODAL_FIELD_ROWS = [[{ name: "firstName" }, { name: "lastName" }], [{ name:
3724
3730
  var MODAL_PRIMARY_CLASS = "flex-1 content-md:min-w-[15.5rem] content-md:flex-none";
3725
3731
  function ModalFooter({ onCancel, primary }) {
3726
3732
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-l)] content-md:justify-end", children: [
3727
- onCancel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: onCancel, className: "flex-1 content-md:hidden", children: "Cancel" }),
3733
+ onCancel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: onCancel, className: "flex-1 content-md:hidden", children: "Cancel" }),
3728
3734
  primary
3729
3735
  ] });
3730
3736
  }
@@ -3734,7 +3740,7 @@ function schedulerCardClasses(flow, step, className) {
3734
3740
  const boxed = !formOnly;
3735
3741
  return {
3736
3742
  formOnly,
3737
- cardClass: _chunk7JWFMAQBcjs.cn.call(void 0,
3743
+ cardClass: _chunk63A4GZMBcjs.cn.call(void 0,
3738
3744
  CARD_CLASS,
3739
3745
  boxed ? SCHEDULER_FLOW_PRESETS[flow].height : "content-md:h-auto",
3740
3746
  detailsFirst && "flex flex-col",
@@ -3743,9 +3749,9 @@ function schedulerCardClasses(flow, step, className) {
3743
3749
  ),
3744
3750
  /** details-first states a height on phones too (see MEETING_SCHEDULER_DETAILS_FIRST_H), so
3745
3751
  * the wrappers that let content shrink into a stated height run at every width there. */
3746
- innerClass: _chunk7JWFMAQBcjs.cn.call(void 0, CARD_INNER_CLASS, detailsFirst && boxed && "min-h-0 flex-1"),
3747
- actionPanelClass: _chunk7JWFMAQBcjs.cn.call(void 0, ACTION_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto"),
3748
- stepPanelClass: _chunk7JWFMAQBcjs.cn.call(void 0, STEP_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto")
3752
+ innerClass: _chunk63A4GZMBcjs.cn.call(void 0, CARD_INNER_CLASS, detailsFirst && boxed && "min-h-0 flex-1"),
3753
+ actionPanelClass: _chunk63A4GZMBcjs.cn.call(void 0, ACTION_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto"),
3754
+ stepPanelClass: _chunk63A4GZMBcjs.cn.call(void 0, STEP_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto")
3749
3755
  };
3750
3756
  }
3751
3757
  function HubSpotMeetingScheduler({
@@ -3778,13 +3784,13 @@ function HubSpotMeetingScheduler({
3778
3784
  book,
3779
3785
  isSubmitting
3780
3786
  } = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
3781
- const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
3787
+ const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
3782
3788
  const coldStart = inScope || isLoadingAvailability && !availability;
3783
3789
  const detailsFirst = flow === "details-first";
3784
3790
  const modal = layout === "modal" && !detailsFirst;
3785
3791
  const modalFormId = _react.useId.call(void 0, );
3786
3792
  const [modalFormValid, setModalFormValid] = _react.useState.call(void 0, false);
3787
- const hydrated = _chunkCB77J5L7cjs.useIsHydrated.call(void 0, );
3793
+ const hydrated = _chunk5RBL7A2Ycjs.useIsHydrated.call(void 0, );
3788
3794
  const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
3789
3795
  const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
3790
3796
  if (!hydrated) return null;
@@ -3818,8 +3824,8 @@ function HubSpotMeetingScheduler({
3818
3824
  const [selectedSlot, setSelectedSlot] = _react.useState.call(void 0, null);
3819
3825
  const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
3820
3826
  const [bookingError, setBookingError] = _react.useState.call(void 0, null);
3821
- const { honeypotInputProps, getSignals, resetSignals } = _chunkGU3GJ5DHcjs.useHumanitySignals.call(void 0, );
3822
- const { toast } = _chunkGU3GJ5DHcjs.useToast.call(void 0, );
3827
+ const { honeypotInputProps, getSignals, resetSignals } = _chunk7O7EX7HQcjs.useHumanitySignals.call(void 0, );
3828
+ const { toast } = _chunk7O7EX7HQcjs.useToast.call(void 0, );
3823
3829
  const autoAdvanceCount = _react.useRef.call(void 0, 0);
3824
3830
  const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
3825
3831
  if (machineFor !== meetingId) {
@@ -3893,7 +3899,7 @@ function HubSpotMeetingScheduler({
3893
3899
  return;
3894
3900
  }
3895
3901
  if (result.ok && result.confirmation) {
3896
- _chunkGU3GJ5DHcjs.completeFormRescue.call(void 0, rescue, payload[_chunkERLMCSGFcjs.FORM_RESCUE_ATTEMPT_FIELD]);
3902
+ _chunk7O7EX7HQcjs.completeFormRescue.call(void 0, rescue, payload[_chunkNONMZ5WJcjs.FORM_RESCUE_ATTEMPT_FIELD]);
3897
3903
  setConfirmation(result.confirmation);
3898
3904
  setStep("confirmed");
3899
3905
  _optionalChain([onBooked, 'optionalCall', _64 => _64(result.confirmation)]);
@@ -3920,7 +3926,7 @@ function HubSpotMeetingScheduler({
3920
3926
  },
3921
3927
  [book, bookingError, detailsFirst, onBooked, refetchAvailability, rescue, resetSignals, toast]
3922
3928
  );
3923
- const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
3929
+ const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
3924
3930
  const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
3925
3931
  const { cardClass, innerClass, actionPanelClass, stepPanelClass } = schedulerCardClasses(flow, step, className);
3926
3932
  const degraded = (message) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerDegradedCard, { flow, className, message, action: escapeHatch });
@@ -3938,14 +3944,14 @@ function HubSpotMeetingScheduler({
3938
3944
  setSelectedDay(null);
3939
3945
  setSelectedSlot(null);
3940
3946
  };
3941
- const summary = selectedSlot != null && durationMs != null && timezone != null ? `${_chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true })} \xB7 ${_chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, durationMs / 1e3)}` : null;
3942
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MODAL_STACK_CLASS, className), children: [
3943
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading available times", announce: coldStart, className: MODAL_CARD_CLASS, children: [
3947
+ const summary = selectedSlot != null && durationMs != null && timezone != null ? `${_chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true })} \xB7 ${_chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, durationMs / 1e3)}` : null;
3948
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, MODAL_STACK_CLASS, className), children: [
3949
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading available times", announce: coldStart, className: MODAL_CARD_CLASS, children: [
3944
3950
  modalBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3945
- _chunk243TS7YLcjs.BackButton,
3951
+ _chunkIJCSQFLDcjs.BackButton,
3946
3952
  {
3947
3953
  onClick: modalBack,
3948
- className: _chunk7JWFMAQBcjs.cn.call(void 0,
3954
+ className: _chunk63A4GZMBcjs.cn.call(void 0,
3949
3955
  "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]",
3950
3956
  step === "slot" && "content-md:hidden"
3951
3957
  )
@@ -3965,7 +3971,7 @@ function HubSpotMeetingScheduler({
3965
3971
  showTimezone: step === "slot"
3966
3972
  }
3967
3973
  ),
3968
- step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: MODAL_STEP_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && durationMs != null && selectedSlot != null && timezone ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MODAL_STEP_CLASS, "gap-[var(--spacing-system-m)]"), children: [
3974
+ step === "confirmed" && confirmation && timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: MODAL_STEP_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Confirmation, { confirmation, timezone }) }) : step === "details" && durationMs != null && selectedSlot != null && timezone ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, MODAL_STEP_CLASS, "gap-[var(--spacing-system-m)]"), children: [
3969
3975
  summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: summary }),
3970
3976
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3971
3977
  DetailsForm,
@@ -3988,8 +3994,8 @@ function HubSpotMeetingScheduler({
3988
3994
  }
3989
3995
  )
3990
3996
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3991
- bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
3992
- !coldStart && (!timezone || durationMs == null) && durations.length === 0 && !isFetchingAvailability ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MODAL_STEP_CLASS, "items-start gap-[var(--spacing-system-m)]"), children: [
3997
+ bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
3998
+ !coldStart && (!timezone || durationMs == null) && durations.length === 0 && !isFetchingAvailability ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, MODAL_STEP_CLASS, "items-start gap-[var(--spacing-system-m)]"), children: [
3993
3999
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
3994
4000
  escapeHatch
3995
4001
  ] }) : (
@@ -4022,7 +4028,7 @@ function HubSpotMeetingScheduler({
4022
4028
  {
4023
4029
  onCancel: onBack,
4024
4030
  primary: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4025
- _chunkAHBTZ7DNcjs.Button,
4031
+ _chunkFCZAUK4Dcjs.Button,
4026
4032
  {
4027
4033
  disabled: selectedSlot == null || durationMs == null,
4028
4034
  onClick: () => setStep("details"),
@@ -4037,7 +4043,7 @@ function HubSpotMeetingScheduler({
4037
4043
  {
4038
4044
  onCancel: onBack,
4039
4045
  primary: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4040
- _chunkAHBTZ7DNcjs.Button,
4046
+ _chunkFCZAUK4Dcjs.Button,
4041
4047
  {
4042
4048
  type: "submit",
4043
4049
  form: modalFormId,
@@ -4051,7 +4057,7 @@ function HubSpotMeetingScheduler({
4051
4057
  )
4052
4058
  ] });
4053
4059
  }
4054
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading available times", announce: coldStart, className: innerClass, children: [
4060
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cardClass, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading available times", announce: coldStart, className: innerClass, children: [
4055
4061
  !formOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4056
4062
  SchedulerContextPanel,
4057
4063
  {
@@ -4103,11 +4109,11 @@ function HubSpotMeetingScheduler({
4103
4109
  slots,
4104
4110
  timezone,
4105
4111
  monthOffset,
4106
- onMonthOffsetChange: _chunk7JWFMAQBcjs.LOADING_NOOP,
4112
+ onMonthOffsetChange: _chunk63A4GZMBcjs.LOADING_NOOP,
4107
4113
  selectedSlot: null,
4108
- onSelectSlot: _chunk7JWFMAQBcjs.LOADING_NOOP,
4114
+ onSelectSlot: _chunk63A4GZMBcjs.LOADING_NOOP,
4109
4115
  selectedDay: null,
4110
- onSelectDay: _chunk7JWFMAQBcjs.LOADING_NOOP
4116
+ onSelectDay: _chunk63A4GZMBcjs.LOADING_NOOP
4111
4117
  }
4112
4118
  ) })
4113
4119
  ) : 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 ? (
@@ -4117,12 +4123,12 @@ function HubSpotMeetingScheduler({
4117
4123
  // "nothing published" message below at every moment, refetch or
4118
4124
  // not — never a calendar skeleton in the form-only layout.
4119
4125
  durations.length > 0
4120
- ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
4126
+ ) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
4121
4127
  selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
4122
- _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true }),
4128
+ _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true }),
4123
4129
  " \xB7",
4124
4130
  " ",
4125
- _chunkU2MHQBL4cjs.formatDurationCompact.call(void 0, durationMs / 1e3)
4131
+ _chunkBOS7OIC4cjs.formatDurationCompact.call(void 0, durationMs / 1e3)
4126
4132
  ] }),
4127
4133
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4128
4134
  DetailsForm,
@@ -4146,11 +4152,11 @@ function HubSpotMeetingScheduler({
4146
4152
  )
4147
4153
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
4148
4154
  bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4149
- _chunkWX5WDSKVcjs.Alert,
4155
+ _chunkMBU45QUBcjs.Alert,
4150
4156
  {
4151
4157
  variant: "warning",
4152
4158
  className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
4153
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4159
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBU45QUBcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
4154
4160
  }
4155
4161
  ),
4156
4162
  (!timezone || durationMs == null) && durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
@@ -4223,6 +4229,46 @@ function HubSpotMeetingScheduler({
4223
4229
  ] }) })
4224
4230
  ] }) });
4225
4231
  }
4232
+ function MeetingSchedulerModal({
4233
+ isOpen,
4234
+ onClose,
4235
+ title,
4236
+ link,
4237
+ loading = false,
4238
+ apiBaseUrl = "",
4239
+ onBooked,
4240
+ emptyMessage = "No calls can be booked right now.",
4241
+ className
4242
+ }) {
4243
+ const { toast } = _chunk7O7EX7HQcjs.useToast.call(void 0, );
4244
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZRDVFADQcjs.Modal, { isOpen, onClose, className: _chunk63A4GZMBcjs.cn.call(void 0, "md:max-w-[600px]", className), children: [
4245
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZRDVFADQcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZRDVFADQcjs.ModalTitle, { children: title }) }),
4246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZRDVFADQcjs.ModalContent, { className: "flex flex-col", children: link || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingWhen, { loading: !link, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4247
+ HubSpotMeetingScheduler,
4248
+ {
4249
+ layout: "modal",
4250
+ meetingId: _nullishCoalesce(_optionalChain([link, 'optionalAccess', _67 => _67.id]), () => ( "")),
4251
+ apiBaseUrl,
4252
+ hosts: _optionalChain([link, 'optionalAccess', _68 => _68.hosts]),
4253
+ fallbackUrl: _optionalChain([link, 'optionalAccess', _69 => _69.link]),
4254
+ onBack: onClose,
4255
+ onBooked: (booking) => {
4256
+ const when = _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, booking.startTimeMs, _chunkBOS7OIC4cjs.VIEWER_TIMEZONE, "weekdayDateTimeZoned", {
4257
+ viewerLocale: true
4258
+ });
4259
+ toast({
4260
+ title: "Call booked",
4261
+ description: `${booking.title} - ${when}. Check your email for the invite.`,
4262
+ variant: "success"
4263
+ });
4264
+ _optionalChain([onBooked, 'optionalCall', _70 => _70(booking)]);
4265
+ onClose();
4266
+ }
4267
+ }
4268
+ ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: emptyMessage }) })
4269
+ ] });
4270
+ }
4271
+
4226
4272
 
4227
4273
 
4228
4274
 
@@ -4235,4 +4281,4 @@ function HubSpotMeetingScheduler({
4235
4281
 
4236
4282
 
4237
4283
 
4238
- exports.BookingContextSummary = BookingContextSummary; exports.BookingForm = BookingForm; exports.DEFAULT_SCHEDULER_FLOW = DEFAULT_SCHEDULER_FLOW; exports.HubSpotMeetingScheduler = HubSpotMeetingScheduler; exports.MEETING_DIRECTORY_PAGE_SIZE = MEETING_DIRECTORY_PAGE_SIZE; exports.MEETING_SCHEDULER_DETAILS_FIRST_H = MEETING_SCHEDULER_DETAILS_FIRST_H; exports.MEETING_SCHEDULER_H = MEETING_SCHEDULER_H; exports.MeetingSchedulerDirectory = MeetingSchedulerDirectory; exports.SCHEDULER_FLOW_PRESETS = SCHEDULER_FLOW_PRESETS; exports.SchedulerDegradedCard = SchedulerDegradedCard; exports.formFieldOptionLabel = formFieldOptionLabel;
4284
+ exports.BookingContextSummary = BookingContextSummary; exports.BookingForm = BookingForm; exports.DEFAULT_SCHEDULER_FLOW = DEFAULT_SCHEDULER_FLOW; exports.HubSpotMeetingScheduler = HubSpotMeetingScheduler; exports.MEETING_DIRECTORY_PAGE_SIZE = MEETING_DIRECTORY_PAGE_SIZE; exports.MEETING_SCHEDULER_DETAILS_FIRST_H = MEETING_SCHEDULER_DETAILS_FIRST_H; exports.MEETING_SCHEDULER_H = MEETING_SCHEDULER_H; exports.MeetingSchedulerDirectory = MeetingSchedulerDirectory; exports.MeetingSchedulerModal = MeetingSchedulerModal; exports.SCHEDULER_FLOW_PRESETS = SCHEDULER_FLOW_PRESETS; exports.SchedulerDegradedCard = SchedulerDegradedCard; exports.formFieldOptionLabel = formFieldOptionLabel;