@anoki/fse-ui 1.0.708 → 1.0.710

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 (683) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs100.js.map +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs103.js +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs109.js +1 -1
  10. package/dist/index.cjs11.js +1 -1
  11. package/dist/index.cjs114.js +1 -1
  12. package/dist/index.cjs116.js +1 -1
  13. package/dist/index.cjs117.js +1 -1
  14. package/dist/index.cjs117.js.map +1 -1
  15. package/dist/index.cjs119.js +1 -1
  16. package/dist/index.cjs119.js.map +1 -1
  17. package/dist/index.cjs12.js +1 -1
  18. package/dist/index.cjs121.js +1 -1
  19. package/dist/index.cjs122.js +1 -1
  20. package/dist/index.cjs123.js +1 -1
  21. package/dist/index.cjs126.js +1 -1
  22. package/dist/index.cjs128.js +1 -1
  23. package/dist/index.cjs13.js +1 -1
  24. package/dist/index.cjs130.js +1 -1
  25. package/dist/index.cjs131.js +1 -1
  26. package/dist/index.cjs132.js +1 -1
  27. package/dist/index.cjs133.js +1 -1
  28. package/dist/index.cjs134.js +1 -1
  29. package/dist/index.cjs135.js +1 -1
  30. package/dist/index.cjs136.js +1 -1
  31. package/dist/index.cjs137.js +1 -1
  32. package/dist/index.cjs138.js +1 -1
  33. package/dist/index.cjs139.js +1 -1
  34. package/dist/index.cjs14.js +1 -1
  35. package/dist/index.cjs140.js +1 -1
  36. package/dist/index.cjs141.js +1 -1
  37. package/dist/index.cjs142.js +1 -1
  38. package/dist/index.cjs143.js +1 -1
  39. package/dist/index.cjs144.js +1 -1
  40. package/dist/index.cjs145.js +1 -1
  41. package/dist/index.cjs146.js +1 -1
  42. package/dist/index.cjs147.js +1 -1
  43. package/dist/index.cjs148.js +1 -1
  44. package/dist/index.cjs149.js +1 -1
  45. package/dist/index.cjs15.js +1 -1
  46. package/dist/index.cjs150.js +1 -1
  47. package/dist/index.cjs151.js +1 -1
  48. package/dist/index.cjs152.js +1 -1
  49. package/dist/index.cjs153.js +1 -1
  50. package/dist/index.cjs154.js +1 -1
  51. package/dist/index.cjs155.js +1 -1
  52. package/dist/index.cjs156.js +1 -1
  53. package/dist/index.cjs157.js +1 -1
  54. package/dist/index.cjs158.js +1 -1
  55. package/dist/index.cjs16.js +1 -1
  56. package/dist/index.cjs160.js +1 -1
  57. package/dist/index.cjs161.js +1 -1
  58. package/dist/index.cjs162.js +1 -1
  59. package/dist/index.cjs163.js +1 -1
  60. package/dist/index.cjs164.js +1 -1
  61. package/dist/index.cjs165.js +1 -1
  62. package/dist/index.cjs166.js +1 -1
  63. package/dist/index.cjs167.js +1 -1
  64. package/dist/index.cjs168.js +1 -1
  65. package/dist/index.cjs17.js +1 -1
  66. package/dist/index.cjs170.js +1 -1
  67. package/dist/index.cjs171.js +1 -1
  68. package/dist/index.cjs172.js +1 -1
  69. package/dist/index.cjs173.js +1 -1
  70. package/dist/index.cjs174.js +1 -1
  71. package/dist/index.cjs175.js +1 -1
  72. package/dist/index.cjs176.js +1 -1
  73. package/dist/index.cjs178.js +1 -1
  74. package/dist/index.cjs179.js +1 -1
  75. package/dist/index.cjs18.js +1 -1
  76. package/dist/index.cjs180.js +1 -1
  77. package/dist/index.cjs181.js +1 -1
  78. package/dist/index.cjs182.js +1 -1
  79. package/dist/index.cjs183.js +1 -1
  80. package/dist/index.cjs184.js +1 -1
  81. package/dist/index.cjs19.js +1 -1
  82. package/dist/index.cjs191.js +1 -1
  83. package/dist/index.cjs193.js +1 -1
  84. package/dist/index.cjs193.js.map +1 -1
  85. package/dist/index.cjs194.js +1 -1
  86. package/dist/index.cjs194.js.map +1 -1
  87. package/dist/index.cjs198.js +1 -1
  88. package/dist/index.cjs198.js.map +1 -1
  89. package/dist/index.cjs20.js +1 -1
  90. package/dist/index.cjs207.js +1 -1
  91. package/dist/index.cjs207.js.map +1 -1
  92. package/dist/index.cjs21.js +1 -1
  93. package/dist/index.cjs211.js +1 -1
  94. package/dist/index.cjs211.js.map +1 -1
  95. package/dist/index.cjs214.js +1 -1
  96. package/dist/index.cjs214.js.map +1 -1
  97. package/dist/index.cjs216.js +2 -0
  98. package/dist/index.cjs216.js.map +1 -0
  99. package/dist/index.cjs22.js +1 -1
  100. package/dist/index.cjs223.js +2 -0
  101. package/dist/index.cjs223.js.map +1 -0
  102. package/dist/index.cjs224.js +6 -1
  103. package/dist/index.cjs224.js.map +1 -1
  104. package/dist/{index.cjs228.js → index.cjs227.js} +1 -1
  105. package/dist/{index.cjs228.js.map → index.cjs227.js.map} +1 -1
  106. package/dist/index.cjs229.js +2 -0
  107. package/dist/index.cjs229.js.map +1 -0
  108. package/dist/index.cjs23.js +1 -1
  109. package/dist/index.cjs237.js +1 -1
  110. package/dist/index.cjs241.js +1 -1
  111. package/dist/index.cjs244.js +1 -1
  112. package/dist/index.cjs244.js.map +1 -1
  113. package/dist/index.cjs247.js +1 -1
  114. package/dist/index.cjs248.js +1 -1
  115. package/dist/index.cjs249.js +1 -1
  116. package/dist/index.cjs25.js +1 -1
  117. package/dist/index.cjs255.js +1 -1
  118. package/dist/index.cjs255.js.map +1 -1
  119. package/dist/index.cjs26.js +1 -1
  120. package/dist/index.cjs265.js +1 -1
  121. package/dist/index.cjs269.js +1 -1
  122. package/dist/index.cjs271.js +1 -1
  123. package/dist/index.cjs271.js.map +1 -1
  124. package/dist/index.cjs279.js +1 -1
  125. package/dist/index.cjs28.js +1 -1
  126. package/dist/index.cjs28.js.map +1 -1
  127. package/dist/index.cjs282.js +1 -1
  128. package/dist/index.cjs288.js +1 -1
  129. package/dist/index.cjs29.js +1 -1
  130. package/dist/index.cjs293.js +1 -1
  131. package/dist/index.cjs296.js +1 -1
  132. package/dist/index.cjs297.js +1 -1
  133. package/dist/index.cjs298.js +1 -1
  134. package/dist/index.cjs298.js.map +1 -1
  135. package/dist/index.cjs30.js +1 -1
  136. package/dist/index.cjs31.js +1 -1
  137. package/dist/index.cjs32.js +1 -1
  138. package/dist/index.cjs33.js +1 -1
  139. package/dist/index.cjs337.js +1 -1
  140. package/dist/index.cjs337.js.map +1 -1
  141. package/dist/index.cjs34.js +1 -1
  142. package/dist/index.cjs345.js +1 -1
  143. package/dist/index.cjs35.js +1 -1
  144. package/dist/index.cjs356.js +1 -1
  145. package/dist/index.cjs358.js +1 -1
  146. package/dist/index.cjs378.js +1 -1
  147. package/dist/index.cjs379.js +3 -12
  148. package/dist/index.cjs379.js.map +1 -1
  149. package/dist/index.cjs380.js +1 -1
  150. package/dist/index.cjs380.js.map +1 -1
  151. package/dist/index.cjs381.js +2 -1
  152. package/dist/index.cjs381.js.map +1 -1
  153. package/dist/index.cjs382.js +27 -1
  154. package/dist/index.cjs382.js.map +1 -1
  155. package/dist/index.cjs383.js +1 -1
  156. package/dist/index.cjs383.js.map +1 -1
  157. package/dist/index.cjs384.js +1 -2
  158. package/dist/index.cjs384.js.map +1 -1
  159. package/dist/index.cjs385.js +1 -27
  160. package/dist/index.cjs385.js.map +1 -1
  161. package/dist/index.cjs386.js +1 -1
  162. package/dist/index.cjs386.js.map +1 -1
  163. package/dist/index.cjs387.js +2 -0
  164. package/dist/index.cjs387.js.map +1 -0
  165. package/dist/index.cjs388.js +1 -1
  166. package/dist/index.cjs388.js.map +1 -1
  167. package/dist/index.cjs389.js +1 -1
  168. package/dist/index.cjs389.js.map +1 -1
  169. package/dist/index.cjs39.js +1 -1
  170. package/dist/index.cjs390.js +1 -1
  171. package/dist/index.cjs390.js.map +1 -1
  172. package/dist/index.cjs391.js +1 -1
  173. package/dist/index.cjs391.js.map +1 -1
  174. package/dist/index.cjs393.js +1 -1
  175. package/dist/index.cjs393.js.map +1 -1
  176. package/dist/{index.cjs412.js → index.cjs396.js} +1 -1
  177. package/dist/{index.cjs412.js.map → index.cjs396.js.map} +1 -1
  178. package/dist/{index.cjs413.js → index.cjs397.js} +2 -2
  179. package/dist/{index.cjs413.js.map → index.cjs397.js.map} +1 -1
  180. package/dist/index.cjs398.js +1 -1
  181. package/dist/index.cjs398.js.map +1 -1
  182. package/dist/index.cjs399.js +1 -1
  183. package/dist/index.cjs399.js.map +1 -1
  184. package/dist/index.cjs40.js +1 -1
  185. package/dist/index.cjs400.js +1 -1
  186. package/dist/index.cjs400.js.map +1 -1
  187. package/dist/index.cjs401.js +1 -1
  188. package/dist/index.cjs401.js.map +1 -1
  189. package/dist/index.cjs402.js +1 -1
  190. package/dist/index.cjs402.js.map +1 -1
  191. package/dist/index.cjs403.js +1 -1
  192. package/dist/index.cjs403.js.map +1 -1
  193. package/dist/index.cjs404.js +1 -1
  194. package/dist/index.cjs404.js.map +1 -1
  195. package/dist/index.cjs405.js +1 -1
  196. package/dist/index.cjs405.js.map +1 -1
  197. package/dist/index.cjs409.js +1 -1
  198. package/dist/index.cjs409.js.map +1 -1
  199. package/dist/index.cjs41.js +1 -1
  200. package/dist/index.cjs410.js +1 -1
  201. package/dist/index.cjs410.js.map +1 -1
  202. package/dist/index.cjs411.js +1 -1
  203. package/dist/index.cjs411.js.map +1 -1
  204. package/dist/index.cjs42.js +1 -1
  205. package/dist/index.cjs42.js.map +1 -1
  206. package/dist/index.cjs420.js +1 -1
  207. package/dist/index.cjs420.js.map +1 -1
  208. package/dist/index.cjs421.js +1 -1
  209. package/dist/index.cjs421.js.map +1 -1
  210. package/dist/index.cjs422.js +2 -0
  211. package/dist/index.cjs422.js.map +1 -0
  212. package/dist/index.cjs423.js +2 -0
  213. package/dist/index.cjs423.js.map +1 -0
  214. package/dist/index.cjs424.js +1 -1
  215. package/dist/index.cjs424.js.map +1 -1
  216. package/dist/index.cjs425.js +1 -1
  217. package/dist/index.cjs425.js.map +1 -1
  218. package/dist/index.cjs43.js +1 -1
  219. package/dist/index.cjs430.js +1 -1
  220. package/dist/index.cjs430.js.map +1 -1
  221. package/dist/index.cjs431.js +1 -1
  222. package/dist/index.cjs431.js.map +1 -1
  223. package/dist/{index.cjs416.js → index.cjs432.js} +2 -2
  224. package/dist/index.cjs432.js.map +1 -0
  225. package/dist/{index.cjs417.js → index.cjs433.js} +2 -2
  226. package/dist/index.cjs433.js.map +1 -0
  227. package/dist/{index.cjs418.js → index.cjs434.js} +1 -1
  228. package/dist/{index.cjs418.js.map → index.cjs434.js.map} +1 -1
  229. package/dist/{index.cjs419.js → index.cjs435.js} +2 -2
  230. package/dist/{index.cjs419.js.map → index.cjs435.js.map} +1 -1
  231. package/dist/index.cjs436.js +2 -0
  232. package/dist/index.cjs436.js.map +1 -0
  233. package/dist/index.cjs437.js +2 -0
  234. package/dist/index.cjs437.js.map +1 -0
  235. package/dist/index.cjs438.js +2 -0
  236. package/dist/index.cjs438.js.map +1 -0
  237. package/dist/{index.cjs426.js → index.cjs439.js} +1 -1
  238. package/dist/{index.cjs426.js.map → index.cjs439.js.map} +1 -1
  239. package/dist/index.cjs44.js +1 -1
  240. package/dist/{index.cjs427.js → index.cjs440.js} +2 -2
  241. package/dist/{index.cjs427.js.map → index.cjs440.js.map} +1 -1
  242. package/dist/{index.cjs428.js → index.cjs441.js} +2 -2
  243. package/dist/{index.cjs428.js.map → index.cjs441.js.map} +1 -1
  244. package/dist/index.cjs442.js +2 -0
  245. package/dist/index.cjs442.js.map +1 -0
  246. package/dist/index.cjs443.js +2 -0
  247. package/dist/index.cjs443.js.map +1 -0
  248. package/dist/index.cjs444.js +1 -1
  249. package/dist/index.cjs444.js.map +1 -1
  250. package/dist/index.cjs445.js +1 -38
  251. package/dist/index.cjs445.js.map +1 -1
  252. package/dist/index.cjs446.js +38 -1
  253. package/dist/index.cjs446.js.map +1 -1
  254. package/dist/index.cjs447.js +1 -1
  255. package/dist/index.cjs447.js.map +1 -1
  256. package/dist/index.cjs448.js +1 -1
  257. package/dist/index.cjs448.js.map +1 -1
  258. package/dist/index.cjs449.js +2 -0
  259. package/dist/index.cjs449.js.map +1 -0
  260. package/dist/index.cjs45.js +1 -1
  261. package/dist/index.cjs452.js +1 -1
  262. package/dist/index.cjs452.js.map +1 -1
  263. package/dist/index.cjs453.js +1 -1
  264. package/dist/index.cjs453.js.map +1 -1
  265. package/dist/index.cjs454.js +1 -1
  266. package/dist/index.cjs454.js.map +1 -1
  267. package/dist/index.cjs455.js +1 -1
  268. package/dist/index.cjs455.js.map +1 -1
  269. package/dist/index.cjs46.js +1 -1
  270. package/dist/index.cjs461.js +1 -1
  271. package/dist/index.cjs462.js +1 -1
  272. package/dist/index.cjs465.js +1 -1
  273. package/dist/index.cjs468.js +1 -1
  274. package/dist/index.cjs468.js.map +1 -1
  275. package/dist/index.cjs476.js +1 -1
  276. package/dist/index.cjs476.js.map +1 -1
  277. package/dist/index.cjs477.js +1 -1
  278. package/dist/index.cjs477.js.map +1 -1
  279. package/dist/index.cjs478.js +1 -1
  280. package/dist/index.cjs478.js.map +1 -1
  281. package/dist/index.cjs479.js +1 -1
  282. package/dist/index.cjs479.js.map +1 -1
  283. package/dist/index.cjs480.js +1 -1
  284. package/dist/index.cjs480.js.map +1 -1
  285. package/dist/index.cjs481.js +1 -1
  286. package/dist/index.cjs481.js.map +1 -1
  287. package/dist/index.cjs482.js +1 -1
  288. package/dist/index.cjs482.js.map +1 -1
  289. package/dist/index.cjs483.js +1 -1
  290. package/dist/index.cjs49.js +1 -1
  291. package/dist/index.cjs49.js.map +1 -1
  292. package/dist/index.cjs50.js +1 -1
  293. package/dist/index.cjs51.js +1 -1
  294. package/dist/index.cjs52.js +1 -1
  295. package/dist/index.cjs53.js +1 -1
  296. package/dist/index.cjs54.js +1 -1
  297. package/dist/index.cjs55.js +1 -1
  298. package/dist/index.cjs57.js +1 -1
  299. package/dist/index.cjs59.js +1 -1
  300. package/dist/index.cjs6.js +1 -1
  301. package/dist/index.cjs60.js +1 -1
  302. package/dist/index.cjs61.js +1 -1
  303. package/dist/index.cjs62.js +1 -1
  304. package/dist/index.cjs62.js.map +1 -1
  305. package/dist/index.cjs64.js +1 -1
  306. package/dist/index.cjs66.js +1 -1
  307. package/dist/index.cjs67.js +1 -1
  308. package/dist/index.cjs68.js +1 -1
  309. package/dist/index.cjs7.js +1 -1
  310. package/dist/index.cjs70.js +1 -1
  311. package/dist/index.cjs71.js +1 -1
  312. package/dist/index.cjs72.js +1 -1
  313. package/dist/index.cjs8.js +1 -1
  314. package/dist/index.cjs9.js +1 -1
  315. package/dist/index.cjs92.js +1 -1
  316. package/dist/index.cjs94.js +1 -1
  317. package/dist/index.cjs96.js +1 -1
  318. package/dist/index.d.ts +6 -3
  319. package/dist/index.es10.js +3 -3
  320. package/dist/index.es100.js +2 -2
  321. package/dist/index.es102.js +1 -1
  322. package/dist/index.es103.js +1 -1
  323. package/dist/index.es104.js +1 -1
  324. package/dist/index.es105.js +1 -1
  325. package/dist/index.es106.js +1 -1
  326. package/dist/index.es109.js +1 -1
  327. package/dist/index.es11.js +1 -1
  328. package/dist/index.es114.js +1 -1
  329. package/dist/index.es116.js +1 -1
  330. package/dist/index.es117.js +1 -1
  331. package/dist/index.es117.js.map +1 -1
  332. package/dist/index.es119.js +50 -42
  333. package/dist/index.es119.js.map +1 -1
  334. package/dist/index.es12.js +1 -1
  335. package/dist/index.es121.js +1 -1
  336. package/dist/index.es122.js +2 -2
  337. package/dist/index.es123.js +1 -1
  338. package/dist/index.es126.js +2 -2
  339. package/dist/index.es128.js +1 -1
  340. package/dist/index.es13.js +1 -1
  341. package/dist/index.es130.js +2 -2
  342. package/dist/index.es131.js +2 -2
  343. package/dist/index.es132.js +2 -2
  344. package/dist/index.es133.js +2 -2
  345. package/dist/index.es134.js +2 -2
  346. package/dist/index.es135.js +2 -2
  347. package/dist/index.es136.js +2 -2
  348. package/dist/index.es137.js +2 -2
  349. package/dist/index.es138.js +2 -2
  350. package/dist/index.es139.js +2 -2
  351. package/dist/index.es14.js +1 -1
  352. package/dist/index.es140.js +2 -2
  353. package/dist/index.es141.js +2 -2
  354. package/dist/index.es142.js +2 -2
  355. package/dist/index.es143.js +2 -2
  356. package/dist/index.es144.js +2 -2
  357. package/dist/index.es145.js +2 -2
  358. package/dist/index.es146.js +2 -2
  359. package/dist/index.es147.js +2 -2
  360. package/dist/index.es148.js +2 -2
  361. package/dist/index.es149.js +2 -2
  362. package/dist/index.es15.js +1 -1
  363. package/dist/index.es150.js +2 -2
  364. package/dist/index.es151.js +2 -2
  365. package/dist/index.es152.js +2 -2
  366. package/dist/index.es153.js +1 -1
  367. package/dist/index.es154.js +1 -1
  368. package/dist/index.es155.js +1 -1
  369. package/dist/index.es156.js +2 -2
  370. package/dist/index.es157.js +2 -2
  371. package/dist/index.es158.js +2 -2
  372. package/dist/index.es16.js +1 -1
  373. package/dist/index.es160.js +2 -2
  374. package/dist/index.es161.js +2 -2
  375. package/dist/index.es162.js +2 -2
  376. package/dist/index.es163.js +2 -2
  377. package/dist/index.es164.js +2 -2
  378. package/dist/index.es165.js +2 -2
  379. package/dist/index.es166.js +2 -2
  380. package/dist/index.es167.js +2 -2
  381. package/dist/index.es168.js +2 -2
  382. package/dist/index.es17.js +1 -1
  383. package/dist/index.es170.js +2 -2
  384. package/dist/index.es171.js +2 -2
  385. package/dist/index.es172.js +2 -2
  386. package/dist/index.es173.js +2 -2
  387. package/dist/index.es174.js +2 -2
  388. package/dist/index.es175.js +2 -2
  389. package/dist/index.es176.js +2 -2
  390. package/dist/index.es178.js +2 -2
  391. package/dist/index.es179.js +2 -2
  392. package/dist/index.es18.js +1 -1
  393. package/dist/index.es180.js +2 -2
  394. package/dist/index.es181.js +2 -2
  395. package/dist/index.es182.js +2 -2
  396. package/dist/index.es183.js +2 -2
  397. package/dist/index.es184.js +2 -2
  398. package/dist/index.es19.js +1 -1
  399. package/dist/index.es191.js +2 -2
  400. package/dist/index.es193.js +76 -71
  401. package/dist/index.es193.js.map +1 -1
  402. package/dist/index.es194.js +11 -1
  403. package/dist/index.es194.js.map +1 -1
  404. package/dist/index.es198.js +63 -58
  405. package/dist/index.es198.js.map +1 -1
  406. package/dist/index.es20.js +1 -1
  407. package/dist/index.es207.js +29 -26
  408. package/dist/index.es207.js.map +1 -1
  409. package/dist/index.es21.js +1 -1
  410. package/dist/index.es211.js +18 -15
  411. package/dist/index.es211.js.map +1 -1
  412. package/dist/index.es214.js +15 -2
  413. package/dist/index.es214.js.map +1 -1
  414. package/dist/index.es216.js +6 -0
  415. package/dist/index.es216.js.map +1 -0
  416. package/dist/index.es22.js +2 -2
  417. package/dist/index.es223.js +8 -0
  418. package/dist/index.es223.js.map +1 -0
  419. package/dist/index.es224.js +59 -5
  420. package/dist/index.es224.js.map +1 -1
  421. package/dist/{index.es228.js → index.es227.js} +1 -1
  422. package/dist/{index.es228.js.map → index.es227.js.map} +1 -1
  423. package/dist/index.es229.js +5 -0
  424. package/dist/index.es229.js.map +1 -0
  425. package/dist/index.es23.js +1 -1
  426. package/dist/index.es237.js +2 -2
  427. package/dist/index.es241.js +1 -1
  428. package/dist/index.es244.js +25 -24
  429. package/dist/index.es244.js.map +1 -1
  430. package/dist/index.es247.js +2 -2
  431. package/dist/index.es248.js +2 -2
  432. package/dist/index.es249.js +2 -2
  433. package/dist/index.es25.js +2 -2
  434. package/dist/index.es255.js +237 -120
  435. package/dist/index.es255.js.map +1 -1
  436. package/dist/index.es26.js +1 -1
  437. package/dist/index.es265.js +1 -1
  438. package/dist/index.es269.js +2 -2
  439. package/dist/index.es271.js +31 -30
  440. package/dist/index.es271.js.map +1 -1
  441. package/dist/index.es279.js +1 -1
  442. package/dist/index.es28.js +5 -5
  443. package/dist/index.es282.js +1 -1
  444. package/dist/index.es288.js +1 -1
  445. package/dist/index.es29.js +1 -1
  446. package/dist/index.es293.js +1 -1
  447. package/dist/index.es296.js +2 -2
  448. package/dist/index.es297.js +2 -2
  449. package/dist/index.es298.js +104 -89
  450. package/dist/index.es298.js.map +1 -1
  451. package/dist/index.es30.js +1 -1
  452. package/dist/index.es31.js +1 -1
  453. package/dist/index.es32.js +1 -1
  454. package/dist/index.es33.js +1 -1
  455. package/dist/index.es337.js +4 -4
  456. package/dist/index.es337.js.map +1 -1
  457. package/dist/index.es34.js +1 -1
  458. package/dist/index.es345.js +1 -1
  459. package/dist/index.es35.js +1 -1
  460. package/dist/index.es356.js +1 -1
  461. package/dist/index.es358.js +1 -1
  462. package/dist/index.es378.js +1 -1
  463. package/dist/index.es379.js +146 -307
  464. package/dist/index.es379.js.map +1 -1
  465. package/dist/index.es380.js +6 -2
  466. package/dist/index.es380.js.map +1 -1
  467. package/dist/index.es381.js +521 -2
  468. package/dist/index.es381.js.map +1 -1
  469. package/dist/index.es382.js +3674 -5
  470. package/dist/index.es382.js.map +1 -1
  471. package/dist/index.es383.js +5 -5
  472. package/dist/index.es383.js.map +1 -1
  473. package/dist/index.es384.js +2 -521
  474. package/dist/index.es384.js.map +1 -1
  475. package/dist/index.es385.js +6 -3674
  476. package/dist/index.es385.js.map +1 -1
  477. package/dist/index.es386.js +27 -2
  478. package/dist/index.es386.js.map +1 -1
  479. package/dist/index.es387.js +71 -0
  480. package/dist/index.es387.js.map +1 -0
  481. package/dist/index.es388.js +51 -6
  482. package/dist/index.es388.js.map +1 -1
  483. package/dist/index.es389.js +33 -26
  484. package/dist/index.es389.js.map +1 -1
  485. package/dist/index.es39.js +1 -1
  486. package/dist/index.es390.js +617 -63
  487. package/dist/index.es390.js.map +1 -1
  488. package/dist/index.es391.js +10 -29
  489. package/dist/index.es391.js.map +1 -1
  490. package/dist/index.es393.js +13 -620
  491. package/dist/index.es393.js.map +1 -1
  492. package/dist/{index.es412.js → index.es396.js} +1 -1
  493. package/dist/{index.es412.js.map → index.es396.js.map} +1 -1
  494. package/dist/{index.es413.js → index.es397.js} +2 -2
  495. package/dist/{index.es413.js.map → index.es397.js.map} +1 -1
  496. package/dist/index.es398.js +68 -10
  497. package/dist/index.es398.js.map +1 -1
  498. package/dist/index.es399.js +120 -48
  499. package/dist/index.es399.js.map +1 -1
  500. package/dist/index.es40.js +1 -1
  501. package/dist/index.es400.js +130 -41
  502. package/dist/index.es400.js.map +1 -1
  503. package/dist/index.es401.js +14 -8
  504. package/dist/index.es401.js.map +1 -1
  505. package/dist/index.es402.js +12 -122
  506. package/dist/index.es402.js.map +1 -1
  507. package/dist/index.es403.js +8 -14
  508. package/dist/index.es403.js.map +1 -1
  509. package/dist/index.es404.js +48 -133
  510. package/dist/index.es404.js.map +1 -1
  511. package/dist/index.es405.js +51 -215
  512. package/dist/index.es405.js.map +1 -1
  513. package/dist/index.es409.js +15 -50
  514. package/dist/index.es409.js.map +1 -1
  515. package/dist/index.es41.js +1 -1
  516. package/dist/index.es410.js +2 -9
  517. package/dist/index.es410.js.map +1 -1
  518. package/dist/index.es411.js +2 -4
  519. package/dist/index.es411.js.map +1 -1
  520. package/dist/index.es42.js +9 -9
  521. package/dist/index.es420.js +4 -5
  522. package/dist/index.es420.js.map +1 -1
  523. package/dist/index.es421.js +44 -13
  524. package/dist/index.es421.js.map +1 -1
  525. package/dist/index.es422.js +11 -0
  526. package/dist/index.es422.js.map +1 -0
  527. package/dist/index.es423.js +221 -0
  528. package/dist/index.es423.js.map +1 -0
  529. package/dist/index.es424.js +181 -5
  530. package/dist/index.es424.js.map +1 -1
  531. package/dist/index.es425.js +11 -3
  532. package/dist/index.es425.js.map +1 -1
  533. package/dist/index.es43.js +1 -1
  534. package/dist/index.es430.js +11 -126
  535. package/dist/index.es430.js.map +1 -1
  536. package/dist/index.es431.js +197 -121
  537. package/dist/index.es431.js.map +1 -1
  538. package/dist/{index.es416.js → index.es432.js} +2 -2
  539. package/dist/index.es432.js.map +1 -0
  540. package/dist/{index.es417.js → index.es433.js} +14 -10
  541. package/dist/index.es433.js.map +1 -0
  542. package/dist/{index.es418.js → index.es434.js} +1 -1
  543. package/dist/{index.es418.js.map → index.es434.js.map} +1 -1
  544. package/dist/{index.es419.js → index.es435.js} +5 -5
  545. package/dist/{index.es419.js.map → index.es435.js.map} +1 -1
  546. package/dist/index.es436.js +8 -0
  547. package/dist/index.es436.js.map +1 -0
  548. package/dist/index.es437.js +8 -0
  549. package/dist/index.es437.js.map +1 -0
  550. package/dist/index.es438.js +6 -0
  551. package/dist/index.es438.js.map +1 -0
  552. package/dist/{index.es426.js → index.es439.js} +1 -1
  553. package/dist/{index.es426.js.map → index.es439.js.map} +1 -1
  554. package/dist/index.es44.js +1 -1
  555. package/dist/{index.es427.js → index.es440.js} +6 -6
  556. package/dist/{index.es427.js.map → index.es440.js.map} +1 -1
  557. package/dist/{index.es428.js → index.es441.js} +2 -2
  558. package/dist/{index.es428.js.map → index.es441.js.map} +1 -1
  559. package/dist/{index.es429.js → index.es442.js} +154 -150
  560. package/dist/index.es442.js.map +1 -0
  561. package/dist/index.es443.js +130 -0
  562. package/dist/index.es443.js.map +1 -0
  563. package/dist/index.es444.js +125 -61
  564. package/dist/index.es444.js.map +1 -1
  565. package/dist/index.es445.js +65 -69
  566. package/dist/index.es445.js.map +1 -1
  567. package/dist/index.es446.js +68 -8
  568. package/dist/index.es446.js.map +1 -1
  569. package/dist/index.es447.js +9 -14
  570. package/dist/index.es447.js.map +1 -1
  571. package/dist/index.es448.js +14 -62
  572. package/dist/index.es448.js.map +1 -1
  573. package/dist/index.es449.js +65 -0
  574. package/dist/index.es449.js.map +1 -0
  575. package/dist/index.es45.js +1 -1
  576. package/dist/index.es452.js +21 -11
  577. package/dist/index.es452.js.map +1 -1
  578. package/dist/index.es453.js +11 -26
  579. package/dist/index.es453.js.map +1 -1
  580. package/dist/index.es454.js +27 -4
  581. package/dist/index.es454.js.map +1 -1
  582. package/dist/index.es455.js +4 -22
  583. package/dist/index.es455.js.map +1 -1
  584. package/dist/index.es46.js +1 -1
  585. package/dist/index.es461.js +1 -1
  586. package/dist/index.es462.js +2 -2
  587. package/dist/index.es465.js +3 -3
  588. package/dist/index.es468.js +9 -9
  589. package/dist/index.es468.js.map +1 -1
  590. package/dist/index.es476.js +4 -2
  591. package/dist/index.es476.js.map +1 -1
  592. package/dist/index.es477.js +3 -2
  593. package/dist/index.es477.js.map +1 -1
  594. package/dist/index.es478.js +2 -3
  595. package/dist/index.es478.js.map +1 -1
  596. package/dist/index.es479.js +4 -2
  597. package/dist/index.es479.js.map +1 -1
  598. package/dist/index.es480.js +4 -3
  599. package/dist/index.es480.js.map +1 -1
  600. package/dist/index.es481.js +3 -4
  601. package/dist/index.es481.js.map +1 -1
  602. package/dist/index.es482.js +2 -6
  603. package/dist/index.es482.js.map +1 -1
  604. package/dist/index.es483.js +1 -1
  605. package/dist/index.es49.js +16 -16
  606. package/dist/index.es50.js +1 -1
  607. package/dist/index.es51.js +1 -1
  608. package/dist/index.es52.js +1 -1
  609. package/dist/index.es53.js +1 -1
  610. package/dist/index.es54.js +1 -1
  611. package/dist/index.es55.js +1 -1
  612. package/dist/index.es57.js +2 -2
  613. package/dist/index.es59.js +1 -1
  614. package/dist/index.es6.js +2 -2
  615. package/dist/index.es60.js +1 -1
  616. package/dist/index.es61.js +1 -1
  617. package/dist/index.es62.js +10 -10
  618. package/dist/index.es64.js +1 -1
  619. package/dist/index.es66.js +1 -1
  620. package/dist/index.es67.js +1 -1
  621. package/dist/index.es68.js +1 -1
  622. package/dist/index.es7.js +2 -2
  623. package/dist/index.es70.js +1 -1
  624. package/dist/index.es71.js +1 -1
  625. package/dist/index.es72.js +1 -1
  626. package/dist/index.es8.js +2 -2
  627. package/dist/index.es9.js +3 -3
  628. package/dist/index.es92.js +1 -1
  629. package/dist/index.es94.js +1 -1
  630. package/dist/index.es96.js +1 -1
  631. package/dist/sections/HomeServices/HomeServices.css +1 -1
  632. package/package.json +1 -1
  633. package/dist/index.cjs213.js +0 -2
  634. package/dist/index.cjs213.js.map +0 -1
  635. package/dist/index.cjs217.js +0 -2
  636. package/dist/index.cjs217.js.map +0 -1
  637. package/dist/index.cjs225.js +0 -7
  638. package/dist/index.cjs225.js.map +0 -1
  639. package/dist/index.cjs392.js +0 -2
  640. package/dist/index.cjs392.js.map +0 -1
  641. package/dist/index.cjs394.js +0 -2
  642. package/dist/index.cjs394.js.map +0 -1
  643. package/dist/index.cjs395.js +0 -2
  644. package/dist/index.cjs395.js.map +0 -1
  645. package/dist/index.cjs406.js +0 -2
  646. package/dist/index.cjs406.js.map +0 -1
  647. package/dist/index.cjs407.js +0 -2
  648. package/dist/index.cjs407.js.map +0 -1
  649. package/dist/index.cjs408.js +0 -2
  650. package/dist/index.cjs408.js.map +0 -1
  651. package/dist/index.cjs414.js +0 -2
  652. package/dist/index.cjs414.js.map +0 -1
  653. package/dist/index.cjs415.js +0 -2
  654. package/dist/index.cjs415.js.map +0 -1
  655. package/dist/index.cjs416.js.map +0 -1
  656. package/dist/index.cjs417.js.map +0 -1
  657. package/dist/index.cjs429.js +0 -2
  658. package/dist/index.cjs429.js.map +0 -1
  659. package/dist/index.es213.js +0 -18
  660. package/dist/index.es213.js.map +0 -1
  661. package/dist/index.es217.js +0 -6
  662. package/dist/index.es217.js.map +0 -1
  663. package/dist/index.es225.js +0 -62
  664. package/dist/index.es225.js.map +0 -1
  665. package/dist/index.es392.js +0 -36
  666. package/dist/index.es392.js.map +0 -1
  667. package/dist/index.es394.js +0 -14
  668. package/dist/index.es394.js.map +0 -1
  669. package/dist/index.es395.js +0 -18
  670. package/dist/index.es395.js.map +0 -1
  671. package/dist/index.es406.js +0 -17
  672. package/dist/index.es406.js.map +0 -1
  673. package/dist/index.es407.js +0 -72
  674. package/dist/index.es407.js.map +0 -1
  675. package/dist/index.es408.js +0 -181
  676. package/dist/index.es408.js.map +0 -1
  677. package/dist/index.es414.js +0 -15
  678. package/dist/index.es414.js.map +0 -1
  679. package/dist/index.es415.js +0 -208
  680. package/dist/index.es415.js.map +0 -1
  681. package/dist/index.es416.js.map +0 -1
  682. package/dist/index.es417.js.map +0 -1
  683. package/dist/index.es429.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs271.js","sources":["../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","createSlot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","_a","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","_b","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":"o1BAmBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,CAAiB,EAAIC,EAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CACJ,cAAAC,EACA,SAAAC,EACA,KAAMC,EACN,YAAAC,EACA,aAAAC,EACA,MAAAC,EAAQ,EACZ,EAAMN,EACEO,EAAaC,EAAM,OAAO,IAAI,EAC9BC,EAAaD,EAAM,OAAO,IAAI,EAC9B,CAACE,EAAO,GAAOC,CAAO,EAAIC,EAAAA,qBAAqB,CACnD,KAAMT,EACN,YAAaC,EACb,SAAUC,CACd,CAAG,EACD,OAAuBQ,EAAG,kBAAA,IACxBhB,GACA,CACE,MAAOI,EACP,WAAAM,EACA,WAAAE,EACA,UAAWK,EAAAA,MAAO,EAClB,QAASA,EAAAA,MAAO,EAChB,cAAeA,EAAAA,MAAO,EACtB,KAAAJ,EACA,aAAcC,EACd,aAAcH,EAAM,YAAY,IAAMG,EAASI,GAAa,CAACA,CAAQ,EAAG,CAACJ,CAAO,CAAC,EACjF,MAAAL,EACA,SAAAJ,CACN,CACG,CACH,EACAH,EAAO,YAAcN,EACrB,IAAIuB,EAA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AOA,EAAO,OAAS,QACzB,CACA,IAAIqE,EAAqB,qBACrB,CAACC,GAAiBC,CAAiB,EAAIC,EAAAA,cAAcH,EAAoB,CAC3E,YAAapC,EACb,UAAW2B,EACX,SAAU,QACZ,CAAC,EACGF,GAAe,CAAC,CAAE,QAAAe,KAAc,CAClC,MAAMC,EAAsBH,EAAkBF,CAAkB,EAC1DM,EAAU,KAAKD,EAAoB,WAAW,mBAAmBA,EAAoB,SAAS;AAAA;AAAA,4BAE1EA,EAAoB,SAAS;AAAA;AAAA,4EAEmBA,EAAoB,QAAQ,GACtG5E,OAAAA,EAAM,UAAU,IAAM,CAChB2E,IACe,SAAS,eAAeA,CAAO,GACjC,QAAQ,MAAME,CAAO,EAE1C,EAAK,CAACA,EAASF,CAAO,CAAC,EACd,IACT,EACIG,GAA2B,2BAC3BjB,GAAqB,CAAC,CAAE,WAAA5D,EAAY,cAAA8E,KAAoB,CAE1D,MAAMF,EAAU,6EADkBJ,EAAkBK,EAAwB,EAC2C,WAAW,KAClI9E,OAAAA,EAAM,UAAU,IAAM,OACpB,MAAMgF,GAAgBnC,EAAA5C,EAAW,UAAX,YAAA4C,EAAoB,aAAa,oBACnDkC,GAAiBC,IACI,SAAS,eAAeD,CAAa,GACvC,QAAQ,KAAKF,CAAO,EAE5C,EAAE,CAACA,EAAS5E,EAAY8E,CAAa,CAAC,EAChC,IACT,EACIE,GAAO1F,EACP2F,GAAUzE,EACV0E,GAAS9D,EACT+D,GAAUxD,EACVyD,GAAUjD,EACVkD,GAAQvB,EACRwB,GAAcrB,EACdsB,GAAQnB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs271.js","sources":["../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","createSlot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","_a","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","_b","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":"o1BAmBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,CAAiB,EAAIC,EAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CACJ,cAAAC,EACA,SAAAC,EACA,KAAMC,EACN,YAAAC,EACA,aAAAC,EACA,MAAAC,EAAQ,EACZ,EAAMN,EACEO,EAAaC,EAAM,OAAO,IAAI,EAC9BC,EAAaD,EAAM,OAAO,IAAI,EAC9B,CAACE,EAAMC,CAAO,EAAIC,uBAAqB,CAC3C,KAAMT,EACN,YAAaC,GAAe,GAC5B,SAAUC,EACV,OAAQZ,CACZ,CAAG,EACD,OAAuBoB,EAAG,kBAAA,IACxBhB,GACA,CACE,MAAOI,EACP,WAAAM,EACA,WAAAE,EACA,UAAWK,EAAAA,MAAO,EAClB,QAASA,EAAAA,MAAO,EAChB,cAAeA,EAAAA,MAAO,EACtB,KAAAJ,EACA,aAAcC,EACd,aAAcH,EAAM,YAAY,IAAMG,EAASI,GAAa,CAACA,CAAQ,EAAG,CAACJ,CAAO,CAAC,EACjF,MAAAL,EACA,SAAAJ,CACN,CACG,CACH,EACAH,EAAO,YAAcN,EACrB,IAAIuB,EAAe,gBACfC,EAAgBT,EAAM,WACxB,CAACR,EAAOkB,IAAiB,CACvB,KAAM,CAAE,cAAAjB,EAAe,GAAGkB,CAAY,EAAKn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3E,YAAapC,EACb,UAAW2B,EACX,SAAU,QACZ,CAAC,EACGF,GAAe,CAAC,CAAE,QAAAe,KAAc,CAClC,MAAMC,EAAsBH,EAAkBF,CAAkB,EAC1DM,EAAU,KAAKD,EAAoB,WAAW,mBAAmBA,EAAoB,SAAS;AAAA;AAAA,4BAE1EA,EAAoB,SAAS;AAAA;AAAA,4EAEmBA,EAAoB,QAAQ,GACtG5E,OAAAA,EAAM,UAAU,IAAM,CAChB2E,IACe,SAAS,eAAeA,CAAO,GACjC,QAAQ,MAAME,CAAO,EAE1C,EAAK,CAACA,EAASF,CAAO,CAAC,EACd,IACT,EACIG,GAA2B,2BAC3BjB,GAAqB,CAAC,CAAE,WAAA5D,EAAY,cAAA8E,KAAoB,CAE1D,MAAMF,EAAU,6EADkBJ,EAAkBK,EAAwB,EAC2C,WAAW,KAClI9E,OAAAA,EAAM,UAAU,IAAM,OACpB,MAAMgF,GAAgBnC,EAAA5C,EAAW,UAAX,YAAA4C,EAAoB,aAAa,oBACnDkC,GAAiBC,IACI,SAAS,eAAeD,CAAa,GACvC,QAAQ,KAAKF,CAAO,EAE5C,EAAE,CAACA,EAAS5E,EAAY8E,CAAa,CAAC,EAChC,IACT,EACIE,GAAO1F,EACP2F,GAAUzE,EACV0E,GAAS9D,EACT+D,GAAUxD,EACVyD,GAAUjD,EACVkD,GAAQvB,EACRwB,GAAcrB,EACdsB,GAAQnB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const n=require("./index.cjs212.js"),o=require("./index.cjs213.js");;/* empty css */const s=({overrideClassNames:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:o.clsx("ui-consent-modal-body",e),children:t});exports.ContentModalContent=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const n=require("./index.cjs212.js"),o=require("./index.cjs214.js");;/* empty css */const s=({overrideClassNames:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:o.clsx("ui-consent-modal-body",e),children:t});exports.ContentModalContent=s;
2
2
  //# sourceMappingURL=index.cjs279.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const e=require("./index.cjs212.js");;/* empty css */const u=require("react"),c=require("./index.cjs255.js"),N=require("./index.cjs256.js"),v=require("./index.cjs9.js"),p=require("./index.cjs10.js"),g=({titleTag:o="h3",availableLabel:m="Disponibile",specialization:x,href:j="/",addressLabel:h,linkLabel:i,asLink:d="a",className:f,doctor:s,setSelectedCard:r=()=>{},keepSelectionOnNavigation:R=!1})=>{const w=d,[n,a]=u.useState(!1),l=u.useRef(null),t=s==null?void 0:s.offices[0];N.useClickOutside(l,n,()=>a(!1),()=>r(""),R);const E=e.jsxRuntimeExports.jsx(w,{className:"text-decoration-none fs-7 fw-bold text-primary",href:j,children:i==null?void 0:i.toUpperCase()}),C=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});return e.jsxRuntimeExports.jsxs(v.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:l,className:`${f} ${n?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{a(!0),r(s==null?void 0:s.code)},children:[e.jsxRuntimeExports.jsx(c.Root,{id:s==null?void 0:s.code,checked:n,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(c.Indicator,{children:e.jsxRuntimeExports.jsx(C,{})})}),e.jsxRuntimeExports.jsxs(p.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(p.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsxs(o,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:["Dott. ",s==null?void 0:s.firstName," ",s==null?void 0:s.lastName]}),!!x&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:x}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:m.toUpperCase()})]}),e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:h}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsxs("p",{className:"fw-regular",children:[t!=null&&t.address?t.address.charAt(0).toUpperCase()+t.address.slice(1).toLowerCase():"",","," ",t!=null&&t.city?t.city.charAt(0).toUpperCase()+t.city.slice(1).toLowerCase():""]})}),i&&e.jsxRuntimeExports.jsx("div",{className:"pt-x8",children:E})]})]})]})};exports.CardMapDoctor=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const e=require("./index.cjs212.js");;/* empty css */const c=require("react"),u=require("./index.cjs255.js"),N=require("./index.cjs256.js"),v=require("./index.cjs9.js"),p=require("./index.cjs10.js"),g=({titleTag:o="h3",availableLabel:m="Disponibile",specialization:x,href:j="/",addressLabel:h,linkLabel:i,asLink:d="a",className:f,doctor:s,setSelectedCard:r=()=>{},keepSelectionOnNavigation:w=!1})=>{const R=d,[n,a]=c.useState(!1),l=c.useRef(null),t=s==null?void 0:s.offices[0];N.useClickOutside(l,n,()=>a(!1),()=>r(""),w);const C=e.jsxRuntimeExports.jsx(R,{className:"text-decoration-none fs-7 fw-bold text-primary",href:j,children:i==null?void 0:i.toUpperCase()}),E=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});return e.jsxRuntimeExports.jsxs(v.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:l,className:`${f} ${n?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{a(!0),r(s==null?void 0:s.code)},children:[e.jsxRuntimeExports.jsx(u.Checkbox,{id:s==null?void 0:s.code,checked:n,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(u.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(E,{})})}),e.jsxRuntimeExports.jsxs(p.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(p.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsxs(o,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:["Dott. ",s==null?void 0:s.firstName," ",s==null?void 0:s.lastName]}),!!x&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:x}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:m.toUpperCase()})]}),e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:h}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsxs("p",{className:"fw-regular",children:[t!=null&&t.address?t.address.charAt(0).toUpperCase()+t.address.slice(1).toLowerCase():"",","," ",t!=null&&t.city?t.city.charAt(0).toUpperCase()+t.city.slice(1).toLowerCase():""]})}),i&&e.jsxRuntimeExports.jsx("div",{className:"pt-x8",children:C})]})]})]})};exports.CardMapDoctor=g;
2
2
  //# sourceMappingURL=index.cjs28.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs28.js","sources":["../src/components/ui/CardMapDoctor/index.tsx"],"sourcesContent":["import \"./CardMapDoctor.scss\";\nimport { useRef, useState } from \"react\";\nimport { GeneralPractitionerResponse } from \"@anoki/fse-common/dist/types/general-practitioner-service\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col, Row } from \"@/components\";\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardMapDoctorProps = {\n titleTag: HeadingLevel;\n availableLabel: string;\n specialization?: string;\n href?: string;\n addressLabel?: string;\n linkLabel?: string;\n asLink?: \"a\";\n className?: string;\n doctor: GeneralPractitionerResponse;\n setSelectedCard?: (id: string) => void;\n keepSelectionOnNavigation?: boolean;\n};\n\nexport const CardMapDoctor = ({\n titleTag: TitleTag = \"h3\",\n availableLabel = \"Disponibile\",\n specialization,\n href = \"/\",\n addressLabel,\n linkLabel,\n asLink = \"a\",\n className,\n doctor,\n setSelectedCard = () => {},\n keepSelectionOnNavigation = false,\n}: CardMapDoctorProps) => {\n const LinkComponent = asLink;\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n const address = doctor?.offices[0];\n useClickOutside(\n dropdownRef,\n isActive,\n () => setIsActive(false),\n () => setSelectedCard(\"\"),\n keepSelectionOnNavigation,\n );\n\n const linkContent = (\n <LinkComponent\n className={\"text-decoration-none fs-7 fw-bold text-primary\"}\n href={href}\n >\n {linkLabel?.toUpperCase()}\n </LinkComponent>\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n return (\n <Row\n br={\"x4\"}\n p={\"x24\"}\n gap={\"x16\"}\n bg={\"white\"}\n text={\"slate-20\"}\n ref={dropdownRef}\n className={`${className} ${isActive ? \"ui-is-active ui-card-search\" : \"ui-card-search\"} shadow cursor-pointer`}\n onClick={() => {\n setIsActive(true);\n setSelectedCard(doctor?.code);\n }}\n >\n <CheckboxRadix.Root\n id={doctor?.code}\n checked={isActive}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col justifyContent={\"center\"} className={`w-full`}>\n <Col pb={\"x16\"}>\n <TitleTag className=\"flex-1 text-decoration-none fs-4 fw-semibold\">\n Dott. {doctor?.firstName} {doctor?.lastName}\n </TitleTag>\n {!!specialization && (\n <p className=\"fs-6 fw-regular text-slate-28\">{specialization}</p>\n )}\n <div\n className={\n \"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7\"\n }\n >\n {availableLabel.toUpperCase()}\n </div>\n </Col>\n <div className={\"text-slate-28 fs-6\"}>\n <div className={\"fw-bold\"}>{addressLabel}</div>\n <div className={\"w-full\"}>\n <p className={\"fw-regular\"}>\n {address?.address\n ? address.address.charAt(0).toUpperCase() +\n address.address.slice(1).toLowerCase()\n : \"\"}\n ,{\" \"}\n {address?.city\n ? address.city.charAt(0).toUpperCase() +\n address.city.slice(1).toLowerCase()\n : \"\"}\n </p>\n </div>\n {linkLabel && <div className={\"pt-x8\"}>{linkContent}</div>}\n </div>\n </Col>\n </Row>\n );\n};\n"],"names":["CardMapDoctor","TitleTag","availableLabel","specialization","href","addressLabel","linkLabel","asLink","className","doctor","setSelectedCard","keepSelectionOnNavigation","LinkComponent","isActive","setIsActive","useState","dropdownRef","useRef","address","useClickOutside","linkContent","jsx","CheckIcon","jsxs","Row","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"oSAuBaA,EAAgB,CAAC,CAC5B,SAAUC,E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AW,SACxC,SAAA,CAACJ,EAAAA,kBAAAA,KAAAI,EAAAA,IAAA,CAAI,GAAI,MACP,SAAA,CAACJ,EAAAA,kBAAAA,KAAAtB,EAAA,CAAS,UAAU,+CAA+C,SAAA,CAAA,SAC1DQ,GAAA,YAAAA,EAAQ,UAAU,IAAEA,GAAA,YAAAA,EAAQ,QAAA,EACrC,EACC,CAAC,CAACN,2BACA,IAAE,CAAA,UAAU,gCAAiC,SAAeA,EAAA,EAE/DkB,EAAA,kBAAA,IAAC,MAAA,CACC,UACE,8FAGD,WAAe,YAAY,CAAA,CAAA,CAC9B,EACF,EACAE,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAW,qBACd,SAAA,CAACF,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAW,UAAY,SAAahB,EAAA,0BACxC,MAAI,CAAA,UAAW,SACd,SAACkB,EAAA,kBAAA,KAAA,IAAA,CAAE,UAAW,aACX,SAAA,CAAAL,GAAA,MAAAA,EAAS,QACNA,EAAQ,QAAQ,OAAO,CAAC,EAAE,YAC1B,EAAAA,EAAQ,QAAQ,MAAM,CAAC,EAAE,YACzB,EAAA,GAAG,IACL,IACDA,GAAA,MAAAA,EAAS,KACNA,EAAQ,KAAK,OAAO,CAAC,EAAE,YAAY,EACnCA,EAAQ,KAAK,MAAM,CAAC,EAAE,cACtB,EAAA,CAAA,CACN,CACF,CAAA,EACCZ,GAAae,EAAA,kBAAA,IAAC,MAAI,CAAA,UAAW,QAAU,SAAYD,CAAA,CAAA,CAAA,CACtD,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs28.js","sources":["../src/components/ui/CardMapDoctor/index.tsx"],"sourcesContent":["import \"./CardMapDoctor.scss\";\nimport { useRef, useState } from \"react\";\nimport { GeneralPractitionerResponse } from \"@anoki/fse-common/dist/types/general-practitioner-service\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col, Row } from \"@/components\";\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardMapDoctorProps = {\n titleTag: HeadingLevel;\n availableLabel: string;\n specialization?: string;\n href?: string;\n addressLabel?: string;\n linkLabel?: string;\n asLink?: \"a\";\n className?: string;\n doctor: GeneralPractitionerResponse;\n setSelectedCard?: (id: string) => void;\n keepSelectionOnNavigation?: boolean;\n};\n\nexport const CardMapDoctor = ({\n titleTag: TitleTag = \"h3\",\n availableLabel = \"Disponibile\",\n specialization,\n href = \"/\",\n addressLabel,\n linkLabel,\n asLink = \"a\",\n className,\n doctor,\n setSelectedCard = () => {},\n keepSelectionOnNavigation = false,\n}: CardMapDoctorProps) => {\n const LinkComponent = asLink;\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n const address = doctor?.offices[0];\n useClickOutside(\n dropdownRef,\n isActive,\n () => setIsActive(false),\n () => setSelectedCard(\"\"),\n keepSelectionOnNavigation,\n );\n\n const linkContent = (\n <LinkComponent\n className={\"text-decoration-none fs-7 fw-bold text-primary\"}\n href={href}\n >\n {linkLabel?.toUpperCase()}\n </LinkComponent>\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n return (\n <Row\n br={\"x4\"}\n p={\"x24\"}\n gap={\"x16\"}\n bg={\"white\"}\n text={\"slate-20\"}\n ref={dropdownRef}\n className={`${className} ${isActive ? \"ui-is-active ui-card-search\" : \"ui-card-search\"} shadow cursor-pointer`}\n onClick={() => {\n setIsActive(true);\n setSelectedCard(doctor?.code);\n }}\n >\n <CheckboxRadix.Root\n id={doctor?.code}\n checked={isActive}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col justifyContent={\"center\"} className={`w-full`}>\n <Col pb={\"x16\"}>\n <TitleTag className=\"flex-1 text-decoration-none fs-4 fw-semibold\">\n Dott. {doctor?.firstName} {doctor?.lastName}\n </TitleTag>\n {!!specialization && (\n <p className=\"fs-6 fw-regular text-slate-28\">{specialization}</p>\n )}\n <div\n className={\n \"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7\"\n }\n >\n {availableLabel.toUpperCase()}\n </div>\n </Col>\n <div className={\"text-slate-28 fs-6\"}>\n <div className={\"fw-bold\"}>{addressLabel}</div>\n <div className={\"w-full\"}>\n <p className={\"fw-regular\"}>\n {address?.address\n ? address.address.charAt(0).toUpperCase() +\n address.address.slice(1).toLowerCase()\n : \"\"}\n ,{\" \"}\n {address?.city\n ? address.city.charAt(0).toUpperCase() +\n address.city.slice(1).toLowerCase()\n : \"\"}\n </p>\n </div>\n {linkLabel && <div className={\"pt-x8\"}>{linkContent}</div>}\n </div>\n </Col>\n </Row>\n );\n};\n"],"names":["CardMapDoctor","TitleTag","availableLabel","specialization","href","addressLabel","linkLabel","asLink","className","doctor","setSelectedCard","keepSelectionOnNavigation","LinkComponent","isActive","setIsActive","useState","dropdownRef","useRef","address","useClickOutside","linkContent","jsx","CheckIcon","jsxs","Row","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"oSAuBaA,EAAgB,CAAC,CAC5B,SAAUC,EAAW,KACrB,eAAAC,EAAiB,cACjB,eAAAC,EACA,KAAAC,EAAO,IACP,aAAAC,EACA,UAAAC,EACA,OAAAC,EAAS,IACT,UAAAC,EACA,OAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,0BAAAC,EAA4B,EAC9B,IAA0B,CACxB,MAAMC,EAAgBL,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Q,QAAA,EACrC,EACC,CAAC,CAACN,2BACA,IAAE,CAAA,UAAU,gCAAiC,SAAeA,EAAA,EAE/DkB,EAAA,kBAAA,IAAC,MAAA,CACC,UACE,8FAGD,WAAe,YAAY,CAAA,CAAA,CAC9B,EACF,EACAE,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAW,qBACd,SAAA,CAACF,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAW,UAAY,SAAahB,EAAA,0BACxC,MAAI,CAAA,UAAW,SACd,SAACkB,EAAA,kBAAA,KAAA,IAAA,CAAE,UAAW,aACX,SAAA,CAAAL,GAAA,MAAAA,EAAS,QACNA,EAAQ,QAAQ,OAAO,CAAC,EAAE,YAC1B,EAAAA,EAAQ,QAAQ,MAAM,CAAC,EAAE,YACzB,EAAA,GAAG,IACL,IACDA,GAAA,MAAAA,EAAS,KACNA,EAAQ,KAAK,OAAO,CAAC,EAAE,YAAY,EACnCA,EAAQ,KAAK,MAAM,CAAC,EAAE,cACtB,EAAA,CAAA,CACN,CACF,CAAA,EACCZ,GAAae,EAAA,kBAAA,IAAC,MAAI,CAAA,UAAW,QAAU,SAAYD,CAAA,CAAA,CAAA,CACtD,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs212.js"),r=require("./index.cjs213.js");;/* empty css */const n=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",e),children:t});exports.DoctorModalContent=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs212.js"),r=require("./index.cjs214.js");;/* empty css */const n=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",e),children:t});exports.DoctorModalContent=n;
2
2
  //# sourceMappingURL=index.cjs282.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const t=require("./index.cjs212.js"),r=require("./index.cjs213.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const t=require("./index.cjs212.js"),r=require("./index.cjs214.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
2
2
  //# sourceMappingURL=index.cjs288.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardService/CardService.css');const e=require("./index.cjs212.js"),s=require("./index.cjs213.js");;/* empty css */const a=require("./index.cjs137.js"),d=require("./index.cjs136.js"),m=require("./index.cjs135.js"),j=({title:r,href:i,titleTag:t="h3",asLink:n="a",className:c,iconType:x="icon1"})=>{const o=u=>{switch(u){case"icon1":return e.jsxRuntimeExports.jsx(m.Ellipse,{});case"icon2":return e.jsxRuntimeExports.jsx(d.Ellipse2,{});case"icon3":return e.jsxRuntimeExports.jsx(a.Ellipse3,{});default:return null}},l=n;return e.jsxRuntimeExports.jsx(l,{className:" text-decoration-none",href:i,children:e.jsxRuntimeExports.jsxs("div",{className:s.clsx(c,"ui-service-card","bg-primary br-x4 py-x24 pl-x24 w-full shadow "),children:[e.jsxRuntimeExports.jsx(t,{className:"flex-1 h-full base-row align-items-center fs-5 md-fs-4 text-white fw-semibold ",children:r}),e.jsxRuntimeExports.jsx("div",{className:s.clsx("ui-service-card-icon"),children:e.jsxRuntimeExports.jsx("span",{children:o(x)})})]})})};exports.CardService=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardService/CardService.css');const e=require("./index.cjs212.js"),s=require("./index.cjs214.js");;/* empty css */const a=require("./index.cjs137.js"),d=require("./index.cjs136.js"),m=require("./index.cjs135.js"),j=({title:r,href:i,titleTag:t="h3",asLink:n="a",className:c,iconType:x="icon1"})=>{const o=u=>{switch(u){case"icon1":return e.jsxRuntimeExports.jsx(m.Ellipse,{});case"icon2":return e.jsxRuntimeExports.jsx(d.Ellipse2,{});case"icon3":return e.jsxRuntimeExports.jsx(a.Ellipse3,{});default:return null}},l=n;return e.jsxRuntimeExports.jsx(l,{className:" text-decoration-none",href:i,children:e.jsxRuntimeExports.jsxs("div",{className:s.clsx(c,"ui-service-card","bg-primary br-x4 py-x24 pl-x24 w-full shadow "),children:[e.jsxRuntimeExports.jsx(t,{className:"flex-1 h-full base-row align-items-center fs-5 md-fs-4 text-white fw-semibold ",children:r}),e.jsxRuntimeExports.jsx("div",{className:s.clsx("ui-service-card-icon"),children:e.jsxRuntimeExports.jsx("span",{children:o(x)})})]})})};exports.CardService=j;
2
2
  //# sourceMappingURL=index.cjs29.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DocumentUploadModal/DocumentUploadModalContent/DocumentUploadModalContent.css');const t=require("./index.cjs212.js"),n=require("./index.cjs213.js");;/* empty css */const r=({overrideClassNames:e,children:o})=>t.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-upload-modal-body",e),children:o});exports.DocumentUploadModalContent=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DocumentUploadModal/DocumentUploadModalContent/DocumentUploadModalContent.css');const t=require("./index.cjs212.js"),n=require("./index.cjs214.js");;/* empty css */const r=({overrideClassNames:e,children:o})=>t.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-upload-modal-body",e),children:o});exports.DocumentUploadModalContent=r;
2
2
  //# sourceMappingURL=index.cjs293.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs212.js"),C=require("./index.cjs214.js"),S=require("./index.cjs213.js"),d=({className:s,fs:t="3",mdFs:e="1",color:o="slate-20",as:r="h2",children:n})=>{const l=r,c=(u=>`fs-${u}`)(t),a=e?`md-fs-${e}`:"",i=C.createColorClasses({text:o});return x.jsxRuntimeExports.jsx(l,{className:S.clsx("fw-bold",c,a,i,s),children:n})};exports.Title=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs212.js"),C=require("./index.cjs229.js"),S=require("./index.cjs214.js"),d=({className:s,fs:t="3",mdFs:e="1",color:o="slate-20",as:r="h2",children:n})=>{const l=r,c=(u=>`fs-${u}`)(t),a=e?`md-fs-${e}`:"",i=C.createColorClasses({text:o});return x.jsxRuntimeExports.jsx(l,{className:S.clsx("fw-bold",c,a,i,s),children:n})};exports.Title=d;
2
2
  //# sourceMappingURL=index.cjs296.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Section/Description/description.css');const n=require("./index.cjs212.js");;/* empty css */const l=require("./index.cjs214.js"),a=require("./index.cjs213.js"),u=({fs:e="6",color:s="slate-28",className:t,children:r})=>{const o=(c=>`fs-${c}`)(e),i=l.createColorClasses({text:s});return n.jsxRuntimeExports.jsx("div",{className:a.clsx(o,i,"fw-regular","ui-max-width-section-description",t,"md-fs-custom","description-rich-text"),children:r})};exports.Description=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Section/Description/description.css');const n=require("./index.cjs212.js");;/* empty css */const l=require("./index.cjs229.js"),a=require("./index.cjs214.js"),u=({fs:e="6",color:s="slate-28",className:t,children:r})=>{const o=(c=>`fs-${c}`)(e),i=l.createColorClasses({text:s});return n.jsxRuntimeExports.jsx("div",{className:a.clsx(o,i,"fw-regular","ui-max-width-section-description",t,"md-fs-custom","description-rich-text"),children:r})};exports.Description=u;
2
2
  //# sourceMappingURL=index.cjs297.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs388.js"),_=require("./index.cjs389.js"),O=require("./index.cjs390.js"),M=require("./index.cjs391.js"),$=require("./index.cjs412.js"),N=require("./index.cjs413.js"),C=require("./index.cjs392.js"),d=require("./index.cjs212.js");function H(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=H(q);var S="Switch",[I,z]=O.createContextScope(S),[B,D]=I(S),v=s.forwardRef((e,o)=>{const{__scopeSwitch:t,name:r,checked:n,defaultChecked:p,required:i,disabled:c,value:a="on",onCheckedChange:b,form:m,...l}=e,[u,R]=s.useState(null),g=_.useComposedRefs(o,f=>R(f)),x=s.useRef(!1),k=u?m||!!u.closest("form"):!0,[h=!1,y]=M.useControllableState({prop:n,defaultProp:p,onChange:b});return d.jsxRuntimeExports.jsxs(B,{scope:t,checked:h,disabled:c,children:[d.jsxRuntimeExports.jsx(C.Primitive.button,{type:"button",role:"switch","aria-checked":h,"aria-required":i,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:a,...l,ref:g,onClick:T.composeEventHandlers(e.onClick,f=>{y(E=>!E),k&&(x.current=f.isPropagationStopped(),x.current||f.stopPropagation())})}),k&&d.jsxRuntimeExports.jsx(A,{control:u,bubbles:!x.current,name:r,value:a,checked:h,required:i,disabled:c,form:m,style:{transform:"translateX(-100%)"}})]})});v.displayName=S;var j="SwitchThumb",w=s.forwardRef((e,o)=>{const{__scopeSwitch:t,...r}=e,n=D(j,t);return d.jsxRuntimeExports.jsx(C.Primitive.span,{"data-state":P(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});w.displayName=j;var A=e=>{const{control:o,checked:t,bubbles:r=!0,...n}=e,p=s.useRef(null),i=$.usePrevious(t),c=N.useSize(o);return s.useEffect(()=>{const a=p.current,b=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(b,"checked").set;if(i!==t&&l){const u=new Event("click",{bubbles:r});l.call(a,t),a.dispatchEvent(u)}},[i,t,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function P(e){return e?"checked":"unchecked"}var F=v,L=w;exports.Root=F;exports.Switch=v;exports.SwitchThumb=w;exports.Thumb=L;exports.createSwitchScope=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),N=require("./index.cjs385.js"),P=require("./index.cjs386.js"),O=require("./index.cjs387.js"),B=require("./index.cjs388.js"),M=require("./index.cjs396.js"),I=require("./index.cjs397.js"),y=require("./index.cjs389.js"),d=require("./index.cjs212.js");function $(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const c=$(T);var m="Switch",[H,z]=O.createContextScope(m),[A,D]=H(m),R=c.forwardRef((t,o)=>{const{__scopeSwitch:e,name:r,checked:n,defaultChecked:S,required:a,disabled:s,value:u="on",onCheckedChange:b,form:i,...x}=t,[p,l]=c.useState(null),w=P.useComposedRefs(o,h=>l(h)),v=c.useRef(!1),j=p?i||!!p.closest("form"):!0,[f,_]=B.useControllableState({prop:n,defaultProp:S??!1,onChange:b,caller:m});return d.jsxRuntimeExports.jsxs(A,{scope:e,checked:f,disabled:s,children:[d.jsxRuntimeExports.jsx(y.Primitive.button,{type:"button",role:"switch","aria-checked":f,"aria-required":a,"data-state":E(f),"data-disabled":s?"":void 0,disabled:s,value:u,...x,ref:w,onClick:N.composeEventHandlers(t.onClick,h=>{_(q=>!q),j&&(v.current=h.isPropagationStopped(),v.current||h.stopPropagation())})}),j&&d.jsxRuntimeExports.jsx(k,{control:p,bubbles:!v.current,name:r,value:u,checked:f,required:a,disabled:s,form:i,style:{transform:"translateX(-100%)"}})]})});R.displayName=m;var g="SwitchThumb",C=c.forwardRef((t,o)=>{const{__scopeSwitch:e,...r}=t,n=D(g,e);return d.jsxRuntimeExports.jsx(y.Primitive.span,{"data-state":E(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});C.displayName=g;var U="SwitchBubbleInput",k=c.forwardRef(({__scopeSwitch:t,control:o,checked:e,bubbles:r=!0,...n},S)=>{const a=c.useRef(null),s=P.useComposedRefs(a,S),u=M.usePrevious(e),b=I.useSize(o);return c.useEffect(()=>{const i=a.current;if(!i)return;const x=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(x,"checked").set;if(u!==e&&l){const w=new Event("click",{bubbles:r});l.call(i,e),i.dispatchEvent(w)}},[u,e,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:e,...n,tabIndex:-1,ref:s,style:{...n.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});k.displayName=U;function E(t){return t?"checked":"unchecked"}var L=R,F=C;exports.Root=L;exports.Switch=R;exports.SwitchThumb=C;exports.Thumb=F;exports.createSwitchScope=z;
2
2
  //# sourceMappingURL=index.cjs298.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs298.js","sources":["../node_modules/@radix-ui/react-switch/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/switch/src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked = false, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked,\n onChange: onCheckedChange\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n BubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BubbleInput = (props) => {\n const { control, checked, bubbles = true, ...inputProps } = props;\n const ref = React.useRef(null);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(inputProto, \"checked\");\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...inputProps,\n tabIndex: -1,\n ref,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n};\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SWITCH_NAME","createSwitchContext","createSwitchScope","createContextScope","SwitchProvider","useSwitchContext","Switch","React","props","forwardedRef","__scopeSwitch","name","checkedProp","defaultChecked","required","disabled","value","onCheckedChange","form","switchProps","button","setButton","composedRefs","useComposedRefs","node","hasConsumerStoppedPropagationRef","isFormControl","checked","setChecked","useControllableState","jsxs","jsx","Primitive","getState","composeEventHandlers","event","prevChecked","BubbleInput","THUMB_NAME","SwitchThumb","thumbProps","context","control","bubbles","inputProps","ref","usePrevious","controlSize","useSize","input","inputProto","Root","Thumb"],"mappings":"2nBAYA,IAAIA,EAAc,SACd,CAACC,EAAqBC,CAAiB,EAAIC,EAAAA,mBAAmBH,CAAW,EACzE,CAACI,EAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAASC,EAAM,WACjB,CAACC,EAAOC,IAAiB,CACvB,KAAM,CACJ,cAAAC,EACA,KAAAC,EACA,QAASC,EACT,eAAAC,EACA,SAAAC,EACA,SAAAC,EACA,MAAAC,EAAQ,KACR,gBAAAC,EACA,KAAAC,EACA,GAAGC,CACT,EAAQX,EACE,CAACY,EAAQC,CAAS,EAAId,EAAM,SAAS,IAAI,EACzCe,EAAeC,EAAAA,gBAAgBd,EAAee,GAASH,EAAUG,CAAI,CAAC,EACtEC,EAAmClB,EAAM,OAAO,EAAK,EACrDmB,EAAgBN,EAASF,GAAQ,CAAC,CAACE,EAAO,QAAQ,MAAM,EAAI,GAC5D,CAACO,EAAU,GAAOC,CAAU,EAAIC,EAAAA,qBAAqB,CACzD,KAAMjB,EACN,YAAaC,EACb,SAAUI,CAChB,CAAK,EACD,OAAuBa,EAAAA,kBAAAA,KAAK1B,EAAgB,CAAE,MAAOM,EAAe,QAAAiB,EAAS,SAAAZ,EAAU,SAAU,CAC/EgB,EAAG,kBAAA,IACjBC,EAAAA,UAAU,OACV,CACE,KAAM,SACN,KAAM,SACN,eAAgBL,EAChB,gBAAiBb,EACjB,aAAcmB,EAASN,CAAO,EAC9B,gBAAiBZ,EAAW,GAAK,OACjC,SAAAA,EACA,MAAAC,EACA,GAAGG,EACH,IAAKG,EACL,QAASY,EAAAA,qBAAqB1B,EAAM,QAAU2B,GAAU,CACtDP,EAAYQ,GAAgB,CAACA,CAAW,EACpCV,IACFD,EAAiC,QAAUU,EAAM,qBAAsB,EAClEV,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ACxB,QACA,CACE,KAAM,WACN,cAAe,GACf,eAAgBJ,EAChB,GAAGiB,EACH,SAAU,GACV,IAAAC,EACA,MAAO,CACL,GAAGrC,EAAM,MACT,GAAGuC,EACH,SAAU,WACV,cAAe,OACf,QAAS,EACT,OAAQ,CAChB,CACA,CACG,CACH,EACA,SAASd,EAASN,EAAS,CACzB,OAAOA,EAAU,UAAY,WAC/B,CACG,IAACwB,EAAO7C,EACP8C,EAAQb","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs298.js","sources":["../node_modules/@radix-ui/react-switch/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: SWITCH_NAME\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n SwitchBubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BUBBLE_INPUT_NAME = \"SwitchBubbleInput\";\nvar SwitchBubbleInput = React.forwardRef(\n ({\n __scopeSwitch,\n control,\n checked,\n bubbles = true,\n ...props\n }, forwardedRef) => {\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(ref, forwardedRef);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n }\n);\nSwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SWITCH_NAME","createSwitchContext","createSwitchScope","createContextScope","SwitchProvider","useSwitchContext","Switch","React","props","forwardedRef","__scopeSwitch","name","checkedProp","defaultChecked","required","disabled","value","onCheckedChange","form","switchProps","button","setButton","composedRefs","useComposedRefs","node","hasConsumerStoppedPropagationRef","isFormControl","checked","setChecked","useControllableState","jsxs","jsx","Primitive","getState","composeEventHandlers","event","prevChecked","SwitchBubbleInput","THUMB_NAME","SwitchThumb","thumbProps","context","BUBBLE_INPUT_NAME","control","bubbles","ref","usePrevious","controlSize","useSize","input","inputProto","Root","Thumb"],"mappings":"2nBAYA,IAAIA,EAAc,SACd,CAACC,EAAqBC,CAAiB,EAAIC,EAAAA,mBAAmBH,CAAW,EACzE,CAACI,EAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAASC,EAAM,WACjB,CAACC,EAAOC,IAAiB,CACvB,KAAM,CACJ,cAAAC,EACA,KAAAC,EACA,QAASC,EACT,eAAAC,EACA,SAAAC,EACA,SAAAC,EACA,MAAAC,EAAQ,KACR,gBAAAC,EACA,KAAAC,EACA,GAAGC,CACT,EAAQX,EACE,CAACY,EAAQC,CAAS,EAAId,EAAM,SAAS,IAAI,EACzCe,EAAeC,EAAAA,gBAA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iBA,EAAQ,SAAW,GAAK,OACzC,GAAGD,EACH,IAAK/B,CACb,CACK,CACL,CACA,EACA8B,EAAY,YAAcD,EAC1B,IAAII,EAAoB,oBACpBL,EAAoB9B,EAAM,WAC5B,CAAC,CACC,cAAAG,EACA,QAAAiC,EACA,QAAAhB,EACA,QAAAiB,EAAU,GACV,GAAGpC,CACJ,EAAEC,IAAiB,CAClB,MAAMoC,EAAMtC,EAAM,OAAO,IAAI,EACvBe,EAAeC,EAAAA,gBAAgBsB,EAAKpC,CAAY,EAChD2B,EAAcU,EAAW,YAACnB,CAAO,EACjCoB,EAAcC,EAAO,QAACL,CAAO,EACnCpC,OAAAA,EAAM,UAAU,IAAM,CACpB,MAAM0C,EAAQJ,EAAI,QAClB,GAAI,CAACI,EAAO,OACZ,MAAMC,EAAa,OAAO,iBAAiB,UAKrCtB,EAJa,OAAO,yBACxBsB,EACA,SACD,EAC6B,IAC9B,GAAId,IAAgBT,GAAWC,EAAY,CACzC,MAAMO,EAAQ,IAAI,MAAM,QAAS,CAAE,QAAAS,CAAO,CAAE,EAC5ChB,EAAW,KAAKqB,EAAOtB,CAAO,EAC9BsB,EAAM,cAAcd,CAAK,CACjC,CACK,EAAE,CAACC,EAAaT,EAASiB,CAAO,CAAC,EACXb,EAAG,kBAAA,IACxB,QACA,CACE,KAAM,WACN,cAAe,GACf,eAAgBJ,EAChB,GAAGnB,EACH,SAAU,GACV,IAAKc,EACL,MAAO,CACL,GAAGd,EAAM,MACT,GAAGuC,EACH,SAAU,WACV,cAAe,OACf,QAAS,EACT,OAAQ,CAClB,CACA,CACK,CACL,CACA,EACAV,EAAkB,YAAcK,EAChC,SAAST,EAASN,EAAS,CACzB,OAAOA,EAAU,UAAY,WAC/B,CACG,IAACwB,EAAO7C,EACP8C,EAAQb","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDocument/CardDocument.css');const e=require("./index.cjs212.js"),m=require("./index.cjs213.js");;/* empty css */const v=require("./index.cjs237.js"),N=require("./index.cjs259.js"),$=require("./index.cjs158.js"),k=require("./index.cjs160.js"),D=require("./index.cjs65.js"),s=require("./index.cjs9.js"),t=require("./index.cjs10.js"),j=require("./index.cjs25.js"),I=require("./index.cjs164.js"),O=({eventNumber:n,date:p="--/--/--",documentType:R,showBottomActions:x=!0,showFavorite:i=!1,showIsHidden:f=!1,documentTitle:h,label:o,subtitle:c,action:l,CTA:d,handleDownloadDocument:E,hrefDocument:a="#",isLoading:r=!1,openDocumentLabel:w="Apri documento",releaseDateLabel:b="Emesso il",eventLabel:y="Evento n.",asLink:g="a"})=>{const q=g,C=N.useIsDesktop(),u=()=>l?e.jsxRuntimeExports.jsxs(s.Row,{alignItems:"center",className:m.clsx(!r&&"cursor-pointer","text-decoration-none text-primary","ui-document-download-row"),onClick:r?void 0:E,children:[e.jsxRuntimeExports.jsx(I.Download,{}),e.jsxRuntimeExports.jsx("p",{children:l}),e.jsxRuntimeExports.jsx(D.Loader,{loading:r,className:"ml-x8"})]}):null;return e.jsxRuntimeExports.jsxs("div",{className:m.clsx("ui-card-document shadow br-x4 fw-semibold text-slate-28 fs-7"),children:[e.jsxRuntimeExports.jsxs(s.Row,{"max-h":"x40","min-h":"x40",as:"header",justifyContent:n||i?"space-between":"flex-end",alignItems:"center",px:"x24",className:"ui-document-header",children:[n&&e.jsxRuntimeExports.jsx(s.Row,{children:n?`${y} ${n}`:""}),i&&e.jsxRuntimeExports.jsxs(s.Row,{alignItems:"center",gap:"x8",children:[e.jsxRuntimeExports.jsx($.Favourite,{filled:!0,color:"secondary"}),e.jsxRuntimeExports.jsx("div",{children:"Preferito"})]}),e.jsxRuntimeExports.jsxs(s.Row,{className:"fw-semibold fs-7",children:[b," ",p]})]}),e.jsxRuntimeExports.jsxs("main",{className:"py-x16 px-x24",children:[e.jsxRuntimeExports.jsxs(s.Row,{justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs(t.Col,{pb:x?"x32":void 0,justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(s.Row,{className:"fw-semibold",pb:"x8",children:R}),e.jsxRuntimeExports.jsx("p",{className:"fs-4 text-slate-20",children:h}),o&&e.jsxRuntimeExports.jsx(s.Row,{pt:"x8",children:e.jsxRuntimeExports.jsx("div",{className:"bg-secondary text-white rounded py-x4 px-x16",style:{width:"max-content"},children:o})})]}),c&&e.jsxRuntimeExports.jsx("p",{className:"fw-regular fs-6 pt-x8",children:c})]}),f&&e.jsxRuntimeExports.jsxs(t.Col,{gap:"x4",alignItems:"center",children:[e.jsxRuntimeExports.jsx(k.Obscured,{}),e.jsxRuntimeExports.jsx("div",{className:"fs-7 fw-semibold",children:"Oscurato"})]})]}),x&&e.jsxRuntimeExports.jsx(t.Col,{mt:"x16",children:C?e.jsxRuntimeExports.jsxs(s.Row,{as:"footer",justifyContent:"space-between",alignItems:"center",children:[u(),d&&e.jsxRuntimeExports.jsx(t.Col,{px:"x16",style:{minWidth:200},children:e.jsxRuntimeExports.jsx(j.Button,{className:"filter-button fs-7 flex-1 text-primary fw-semibold",variant:"secondary",size:"3",asLink:q,href:a,children:d})})]}):e.jsxRuntimeExports.jsxs(t.Col,{as:"footer",gap:"x16",children:[u(),e.jsxRuntimeExports.jsx(v.Divider,{bg:"border-divider"}),e.jsxRuntimeExports.jsx(j.Button,{className:"filter-button fs-7 fw-semibold w-full",variant:"secondary",size:"3",asLink:"a",href:a,children:w})]})})]})]})};exports.CardDocument=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDocument/CardDocument.css');const e=require("./index.cjs212.js"),m=require("./index.cjs214.js");;/* empty css */const v=require("./index.cjs237.js"),N=require("./index.cjs259.js"),$=require("./index.cjs158.js"),k=require("./index.cjs160.js"),D=require("./index.cjs65.js"),s=require("./index.cjs9.js"),t=require("./index.cjs10.js"),j=require("./index.cjs25.js"),I=require("./index.cjs164.js"),O=({eventNumber:n,date:p="--/--/--",documentType:R,showBottomActions:x=!0,showFavorite:i=!1,showIsHidden:f=!1,documentTitle:h,label:o,subtitle:c,action:l,CTA:d,handleDownloadDocument:E,hrefDocument:a="#",isLoading:r=!1,openDocumentLabel:w="Apri documento",releaseDateLabel:b="Emesso il",eventLabel:y="Evento n.",asLink:g="a"})=>{const q=g,C=N.useIsDesktop(),u=()=>l?e.jsxRuntimeExports.jsxs(s.Row,{alignItems:"center",className:m.clsx(!r&&"cursor-pointer","text-decoration-none text-primary","ui-document-download-row"),onClick:r?void 0:E,children:[e.jsxRuntimeExports.jsx(I.Download,{}),e.jsxRuntimeExports.jsx("p",{children:l}),e.jsxRuntimeExports.jsx(D.Loader,{loading:r,className:"ml-x8"})]}):null;return e.jsxRuntimeExports.jsxs("div",{className:m.clsx("ui-card-document shadow br-x4 fw-semibold text-slate-28 fs-7"),children:[e.jsxRuntimeExports.jsxs(s.Row,{"max-h":"x40","min-h":"x40",as:"header",justifyContent:n||i?"space-between":"flex-end",alignItems:"center",px:"x24",className:"ui-document-header",children:[n&&e.jsxRuntimeExports.jsx(s.Row,{children:n?`${y} ${n}`:""}),i&&e.jsxRuntimeExports.jsxs(s.Row,{alignItems:"center",gap:"x8",children:[e.jsxRuntimeExports.jsx($.Favourite,{filled:!0,color:"secondary"}),e.jsxRuntimeExports.jsx("div",{children:"Preferito"})]}),e.jsxRuntimeExports.jsxs(s.Row,{className:"fw-semibold fs-7",children:[b," ",p]})]}),e.jsxRuntimeExports.jsxs("main",{className:"py-x16 px-x24",children:[e.jsxRuntimeExports.jsxs(s.Row,{justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs(t.Col,{pb:x?"x32":void 0,justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(s.Row,{className:"fw-semibold",pb:"x8",children:R}),e.jsxRuntimeExports.jsx("p",{className:"fs-4 text-slate-20",children:h}),o&&e.jsxRuntimeExports.jsx(s.Row,{pt:"x8",children:e.jsxRuntimeExports.jsx("div",{className:"bg-secondary text-white rounded py-x4 px-x16",style:{width:"max-content"},children:o})})]}),c&&e.jsxRuntimeExports.jsx("p",{className:"fw-regular fs-6 pt-x8",children:c})]}),f&&e.jsxRuntimeExports.jsxs(t.Col,{gap:"x4",alignItems:"center",children:[e.jsxRuntimeExports.jsx(k.Obscured,{}),e.jsxRuntimeExports.jsx("div",{className:"fs-7 fw-semibold",children:"Oscurato"})]})]}),x&&e.jsxRuntimeExports.jsx(t.Col,{mt:"x16",children:C?e.jsxRuntimeExports.jsxs(s.Row,{as:"footer",justifyContent:"space-between",alignItems:"center",children:[u(),d&&e.jsxRuntimeExports.jsx(t.Col,{px:"x16",style:{minWidth:200},children:e.jsxRuntimeExports.jsx(j.Button,{className:"filter-button fs-7 flex-1 text-primary fw-semibold",variant:"secondary",size:"3",asLink:q,href:a,children:d})})]}):e.jsxRuntimeExports.jsxs(t.Col,{as:"footer",gap:"x16",children:[u(),e.jsxRuntimeExports.jsx(v.Divider,{bg:"border-divider"}),e.jsxRuntimeExports.jsx(j.Button,{className:"filter-button fs-7 fw-semibold w-full",variant:"secondary",size:"3",asLink:"a",href:a,children:w})]})})]})]})};exports.CardDocument=O;
2
2
  //# sourceMappingURL=index.cjs30.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardOpeningHours/CardOpeningHours.css');const n=require("./index.cjs212.js");;/* empty css */const L=require("./index.cjs213.js"),r=require("react"),F=require("./index.cjs193.js");require("./index.cjs3.js");const C=require("./index.cjs10.js"),g=require("./index.cjs9.js"),ee=({title:K="Orari di apertura",titleTag:P="h3",openingHours:f,weekDaysMap:R,openLabel:a="Aperto",todayLabel:U="Oggi",closeLabel:u="Chiuso",open24Label:x="24 ore su 24",opensSoonLabel:O="Apre tra poco",opensAtLabel:$="Apre alle",opensTomorrowLabel:E="Apre domani",opensOnLabel:T="Apre",atLabel:N="alle",closesAtLabel:S="Chiude alle"})=>{const[z,B]=r.useState(null),[k,G]=r.useState(""),[J,l]=r.useState(""),[Q,I]=r.useState(""),[V,h]=r.useState(!1),[W,m]=r.useState(!1),[X,c]=r.useState(""),d=Object.values(R),p=Object.keys(R),Y=()=>F.default.now().toFormat("HH:mm"),q=t=>{const[e,s]=t.split(":").map(Number);return e*60+s},D=r.useCallback(t=>t.from==="00:00"&&t.to==="00:00",[]),j=r.useCallback(t=>t.some(D),[D]),Z=(t,e)=>{for(const{from:s,to:o}of t)if(e>=s&&e<=o)return{open:!0,closingTime:o};return{open:!1,closingTime:""}},_=(t,e)=>{for(const{from:s}of t)if(s>e)return s;return""},H=r.useCallback((t,e)=>{if(!t)return!1;const s=q(t),o=q(e),i=s-o;return i>0&&i<=60},[]),A=r.useCallback(t=>{for(let e=1;e<=7;e++){const s=(t+e)%7,o=p[s],i=f[o];if(i&&i.length>0)return{dayName:d[s].toLowerCase(),isTomorrow:e===1}}return null},[p,f,d]),v=r.useMemo(()=>t=>t.length===0?u:j(t)?`${a} ${x}`:t.map(({from:e,to:s})=>`${e} - ${s}`).join(" | "),[u,j,x,a]);return r.useEffect(()=>{const e=F.default.now().weekday-1;B(e),G(d[e]||"");const s=p[e],o=f[s];if(!o)return;const i=Y();if(j(o)){l(a),c(` | ${x}`),h(!0),m(!1),I(`${a} ${x}`);return}const{open:b,closingTime:M}=Z(o,i);if(b)l(a),c(M?` | ${S} ${M}`:""),h(!0),m(!1);else{const y=_(o,i);if(h(!1),y)H(y,i)?(l(O),c(` | ${N} ${y}`),m(!0)):(l(u),c(` | ${$} ${y}`),m(!1));else{l(u),m(!1);const w=A(e);c(w?w.isTomorrow?` | ${E}`:` | ${T} ${w.dayName}`:"")}}I(v(o))},[N,H,u,S,v,A,j,x,a,f,$,T,O,E,d,p]),n.jsxRuntimeExports.jsxs(C.Col,{fs:"6",fw:"semibold",className:"ui-card-opening rounded shadow text-slate-28",children:[n.jsxRuntimeExports.jsxs(C.Col,{as:"header",className:"ui-card-header",children:[n.jsxRuntimeExports.jsx(P,{className:"text-slate-20 fw-semibold fs-4",children:K}),n.jsxRuntimeExports.jsxs(g.Row,{justifyContent:"space-between",alignItems:"center",style:{backgroundColor:"#F7F2FC"},py:"x16",px:"x24",fw:"bold",fs:"6",className:"rounded",children:[n.jsxRuntimeExports.jsxs("p",{className:"text-slate-28",children:[U,", ",k]}),n.jsxRuntimeExports.jsxs("p",{children:[n.jsxRuntimeExports.jsx("span",{className:V?"text-success":W?"text-warning":"text-error",children:J}),n.jsxRuntimeExports.jsx("span",{className:"fw-regular text-grey-black",children:X})]})]})]}),n.jsxRuntimeExports.jsxs(C.Col,{as:"main",pt:"x32",gap:"x24",children:[n.jsxRuntimeExports.jsx(g.Row,{justifyContent:"space-around",className:"ui-weekdays-container",children:d.map((t,e)=>n.jsxRuntimeExports.jsx(g.Row,{justifyContent:"center",alignItems:"center",className:L.clsx(z===e?"active-day text-primary":"","flex-1"),children:t.charAt(0).toUpperCase()},e))}),n.jsxRuntimeExports.jsxs(g.Row,{justifyContent:"space-between",alignItems:"center",fw:"regular",children:[n.jsxRuntimeExports.jsx("p",{children:k}),n.jsxRuntimeExports.jsx("p",{children:Q})]})]})]})};exports.CardOpeningHours=ee;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardOpeningHours/CardOpeningHours.css');const n=require("./index.cjs212.js");;/* empty css */const L=require("./index.cjs214.js"),r=require("react"),F=require("./index.cjs193.js");require("./index.cjs3.js");const C=require("./index.cjs10.js"),g=require("./index.cjs9.js"),ee=({title:K="Orari di apertura",titleTag:P="h3",openingHours:f,weekDaysMap:R,openLabel:a="Aperto",todayLabel:U="Oggi",closeLabel:u="Chiuso",open24Label:x="24 ore su 24",opensSoonLabel:O="Apre tra poco",opensAtLabel:$="Apre alle",opensTomorrowLabel:E="Apre domani",opensOnLabel:T="Apre",atLabel:N="alle",closesAtLabel:S="Chiude alle"})=>{const[z,B]=r.useState(null),[k,G]=r.useState(""),[J,l]=r.useState(""),[Q,I]=r.useState(""),[V,h]=r.useState(!1),[W,m]=r.useState(!1),[X,c]=r.useState(""),d=Object.values(R),p=Object.keys(R),Y=()=>F.default.now().toFormat("HH:mm"),q=t=>{const[e,s]=t.split(":").map(Number);return e*60+s},D=r.useCallback(t=>t.from==="00:00"&&t.to==="00:00",[]),j=r.useCallback(t=>t.some(D),[D]),Z=(t,e)=>{for(const{from:s,to:o}of t)if(e>=s&&e<=o)return{open:!0,closingTime:o};return{open:!1,closingTime:""}},_=(t,e)=>{for(const{from:s}of t)if(s>e)return s;return""},H=r.useCallback((t,e)=>{if(!t)return!1;const s=q(t),o=q(e),i=s-o;return i>0&&i<=60},[]),A=r.useCallback(t=>{for(let e=1;e<=7;e++){const s=(t+e)%7,o=p[s],i=f[o];if(i&&i.length>0)return{dayName:d[s].toLowerCase(),isTomorrow:e===1}}return null},[p,f,d]),v=r.useMemo(()=>t=>t.length===0?u:j(t)?`${a} ${x}`:t.map(({from:e,to:s})=>`${e} - ${s}`).join(" | "),[u,j,x,a]);return r.useEffect(()=>{const e=F.default.now().weekday-1;B(e),G(d[e]||"");const s=p[e],o=f[s];if(!o)return;const i=Y();if(j(o)){l(a),c(` | ${x}`),h(!0),m(!1),I(`${a} ${x}`);return}const{open:b,closingTime:M}=Z(o,i);if(b)l(a),c(M?` | ${S} ${M}`:""),h(!0),m(!1);else{const y=_(o,i);if(h(!1),y)H(y,i)?(l(O),c(` | ${N} ${y}`),m(!0)):(l(u),c(` | ${$} ${y}`),m(!1));else{l(u),m(!1);const w=A(e);c(w?w.isTomorrow?` | ${E}`:` | ${T} ${w.dayName}`:"")}}I(v(o))},[N,H,u,S,v,A,j,x,a,f,$,T,O,E,d,p]),n.jsxRuntimeExports.jsxs(C.Col,{fs:"6",fw:"semibold",className:"ui-card-opening rounded shadow text-slate-28",children:[n.jsxRuntimeExports.jsxs(C.Col,{as:"header",className:"ui-card-header",children:[n.jsxRuntimeExports.jsx(P,{className:"text-slate-20 fw-semibold fs-4",children:K}),n.jsxRuntimeExports.jsxs(g.Row,{justifyContent:"space-between",alignItems:"center",style:{backgroundColor:"#F7F2FC"},py:"x16",px:"x24",fw:"bold",fs:"6",className:"rounded",children:[n.jsxRuntimeExports.jsxs("p",{className:"text-slate-28",children:[U,", ",k]}),n.jsxRuntimeExports.jsxs("p",{children:[n.jsxRuntimeExports.jsx("span",{className:V?"text-success":W?"text-warning":"text-error",children:J}),n.jsxRuntimeExports.jsx("span",{className:"fw-regular text-grey-black",children:X})]})]})]}),n.jsxRuntimeExports.jsxs(C.Col,{as:"main",pt:"x32",gap:"x24",children:[n.jsxRuntimeExports.jsx(g.Row,{justifyContent:"space-around",className:"ui-weekdays-container",children:d.map((t,e)=>n.jsxRuntimeExports.jsx(g.Row,{justifyContent:"center",alignItems:"center",className:L.clsx(z===e?"active-day text-primary":"","flex-1"),children:t.charAt(0).toUpperCase()},e))}),n.jsxRuntimeExports.jsxs(g.Row,{justifyContent:"space-between",alignItems:"center",fw:"regular",children:[n.jsxRuntimeExports.jsx("p",{children:k}),n.jsxRuntimeExports.jsx("p",{children:Q})]})]})]})};exports.CardOpeningHours=ee;
2
2
  //# sourceMappingURL=index.cjs31.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/SupportBanner/SupportBanner.css');const e=require("./index.cjs212.js"),n=require("./index.cjs213.js");;/* empty css */const N=require("react"),h=require("./index.cjs170.js"),g=require("./index.cjs36.js"),f=require("./index.cjs10.js"),q=require("./index.cjs25.js"),m={link:(s,i)=>e.jsxRuntimeExports.jsx(g.ArrowLink,{href:i,children:s}),button:s=>e.jsxRuntimeExports.jsx("button",{className:"button-style",children:s}),outlineButton:(s,i,o,l)=>e.jsxRuntimeExports.jsxs(q.Button,{size:"2",textColor:"primary",bg:"lightblue-a03",className:"w-full ",border:"primary",onClick:l,children:[o&&e.jsxRuntimeExports.jsx(h.Attachment,{className:"mr-x8"}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-bold",children:s})]})},w=({cta:s="link",bannerType:i="outline",title:o,description:l="",titleTag:p="h3",href:t="#",icon:x=!0,linkText:r="Vai al supporto",mainLayout:j="layout1",className:d="",classNameTitle:b="",classNameDescription:y="",handleAction:u})=>{const R=N.useMemo(()=>Array.isArray(t)?t.map((c,a)=>{const E=Array.isArray(r)?r[a]:r;return e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](E,c,x,u)},a)}):Array.isArray(r)?r.map((c,a)=>e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](c,t,x,u)},a)):m[s](r,t,x,u),[s,r,t,u]);return e.jsxRuntimeExports.jsxs(f.Col,{br:"x4",gap:"x16",className:n.clsx(d,i==="outline"?"ui-outline":"bg-lightblue-a03","ui-banner shadow "),children:[e.jsxRuntimeExports.jsx(p,{className:n.clsx("ui-banner-title text-slate-20",b||"fs-4 fw-bold"),children:o}),e.jsxRuntimeExports.jsxs("main",{className:n.clsx(j==="layout1"?"ui-banner-content-layout1 fs-6 text-secondary justify-content-between ":"ui-banner-content-layout2","ui-banner-content fs-6 text-secondary w-100"),children:[e.jsxRuntimeExports.jsx("div",{className:n.clsx(y,j==="layout1"?"ui-banner-description":""),children:l}),e.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-banner-cta"),children:R})]})]})};exports.SupportBanner=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/SupportBanner/SupportBanner.css');const e=require("./index.cjs212.js"),n=require("./index.cjs214.js");;/* empty css */const N=require("react"),h=require("./index.cjs170.js"),g=require("./index.cjs36.js"),f=require("./index.cjs10.js"),q=require("./index.cjs25.js"),m={link:(s,i)=>e.jsxRuntimeExports.jsx(g.ArrowLink,{href:i,children:s}),button:s=>e.jsxRuntimeExports.jsx("button",{className:"button-style",children:s}),outlineButton:(s,i,o,l)=>e.jsxRuntimeExports.jsxs(q.Button,{size:"2",textColor:"primary",bg:"lightblue-a03",className:"w-full ",border:"primary",onClick:l,children:[o&&e.jsxRuntimeExports.jsx(h.Attachment,{className:"mr-x8"}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-bold",children:s})]})},w=({cta:s="link",bannerType:i="outline",title:o,description:l="",titleTag:p="h3",href:t="#",icon:x=!0,linkText:r="Vai al supporto",mainLayout:j="layout1",className:d="",classNameTitle:b="",classNameDescription:y="",handleAction:u})=>{const R=N.useMemo(()=>Array.isArray(t)?t.map((c,a)=>{const E=Array.isArray(r)?r[a]:r;return e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](E,c,x,u)},a)}):Array.isArray(r)?r.map((c,a)=>e.jsxRuntimeExports.jsx("div",{className:"ui-banner-link",children:m[s](c,t,x,u)},a)):m[s](r,t,x,u),[s,r,t,u]);return e.jsxRuntimeExports.jsxs(f.Col,{br:"x4",gap:"x16",className:n.clsx(d,i==="outline"?"ui-outline":"bg-lightblue-a03","ui-banner shadow "),children:[e.jsxRuntimeExports.jsx(p,{className:n.clsx("ui-banner-title text-slate-20",b||"fs-4 fw-bold"),children:o}),e.jsxRuntimeExports.jsxs("main",{className:n.clsx(j==="layout1"?"ui-banner-content-layout1 fs-6 text-secondary justify-content-between ":"ui-banner-content-layout2","ui-banner-content fs-6 text-secondary w-100"),children:[e.jsxRuntimeExports.jsx("div",{className:n.clsx(y,j==="layout1"?"ui-banner-description":""),children:l}),e.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-banner-cta"),children:R})]})]})};exports.SupportBanner=w;
2
2
  //# sourceMappingURL=index.cjs32.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/TabsGlossary/TabsGlossary.css');const s=require("./index.cjs212.js");;/* empty css */const n=require("./index.cjs213.js"),r=require("react"),d=require("./index.cjs9.js"),j=require("./index.cjs65.js"),p=({CTA:a="link",navigationItems:l,children:o,activeIndex:x=0,onTabChange:c,actions:i=[]})=>{const[u,m]=r.useState(x);return s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsxs("div",{className:n.clsx("ui-document-container-tabs"),children:[s.jsxRuntimeExports.jsx("nav",{className:"ui-document-container-tabs-nav-new","aria-label":"Menu di navigazione",children:s.jsxRuntimeExports.jsx(d.Row,{gap:"x20",fw:"semibold",text:"secondary",className:n.clsx("ui-document-container-tabs-nav list-style-none ui-tabs"),as:"ul",children:l.map((e,t)=>s.jsxRuntimeExports.jsx("li",{className:n.clsx("ui-document-container-tabs-nav-responsive-flex",e.disabled?"text-muted":"cursor-pointer","ui-tab",u===t&&"text-primary ui-active-tab-glossary "),onClick:()=>{e.disabled||(m(t),c(t))},children:s.jsxRuntimeExports.jsx("a",{className:"text-decoration-none",children:e.label})},t))})}),o,a==="link"&&s.jsxRuntimeExports.jsx("nav",{className:"ui-document-container-tabs-nav-new",children:s.jsxRuntimeExports.jsx("ul",{className:"list-style-none base-row gap-x20 fw-semibold text-primary fs-8 pb-x8",children:i.map((e,t)=>s.jsxRuntimeExports.jsxs(r.Fragment,{children:[s.jsxRuntimeExports.jsxs("li",{className:n.clsx(!e.loading&&"cursor-pointer","text-primary base-row justify-content-center align-items-center gap-x8"),onClick:()=>!e.loading&&e.onClick(),children:[e.icon,s.jsxRuntimeExports.jsx("p",{children:e.label}),e.loading&&s.jsxRuntimeExports.jsx(j.Loader,{loading:e.loading})]}),t<i.length-1&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("span",{className:"ui-divider"})})]},t))})})]})})};exports.TabsGlossary=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/TabsGlossary/TabsGlossary.css');const s=require("./index.cjs212.js");;/* empty css */const n=require("./index.cjs214.js"),r=require("react"),d=require("./index.cjs9.js"),j=require("./index.cjs65.js"),p=({CTA:a="link",navigationItems:l,children:o,activeIndex:x=0,onTabChange:c,actions:i=[]})=>{const[u,m]=r.useState(x);return s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsxs("div",{className:n.clsx("ui-document-container-tabs"),children:[s.jsxRuntimeExports.jsx("nav",{className:"ui-document-container-tabs-nav-new","aria-label":"Menu di navigazione",children:s.jsxRuntimeExports.jsx(d.Row,{gap:"x20",fw:"semibold",text:"secondary",className:n.clsx("ui-document-container-tabs-nav list-style-none ui-tabs"),as:"ul",children:l.map((e,t)=>s.jsxRuntimeExports.jsx("li",{className:n.clsx("ui-document-container-tabs-nav-responsive-flex",e.disabled?"text-muted":"cursor-pointer","ui-tab",u===t&&"text-primary ui-active-tab-glossary "),onClick:()=>{e.disabled||(m(t),c(t))},children:s.jsxRuntimeExports.jsx("a",{className:"text-decoration-none",children:e.label})},t))})}),o,a==="link"&&s.jsxRuntimeExports.jsx("nav",{className:"ui-document-container-tabs-nav-new",children:s.jsxRuntimeExports.jsx("ul",{className:"list-style-none base-row gap-x20 fw-semibold text-primary fs-8 pb-x8",children:i.map((e,t)=>s.jsxRuntimeExports.jsxs(r.Fragment,{children:[s.jsxRuntimeExports.jsxs("li",{className:n.clsx(!e.loading&&"cursor-pointer","text-primary base-row justify-content-center align-items-center gap-x8"),onClick:()=>!e.loading&&e.onClick(),children:[e.icon,s.jsxRuntimeExports.jsx("p",{children:e.label}),e.loading&&s.jsxRuntimeExports.jsx(j.Loader,{loading:e.loading})]}),t<i.length-1&&s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("span",{className:"ui-divider"})})]},t))})})]})})};exports.TabsGlossary=p;
2
2
  //# sourceMappingURL=index.cjs33.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.cjs390.js"),E=require("./index.cjs389.js"),n=require("./index.cjs271.js"),h=require("./index.cjs388.js"),w=require("./index.cjs399.js"),i=require("./index.cjs212.js");function M(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=M(b);var j="AlertDialog",[q,I]=T.createContextScope(j,[n.createDialogScope]),s=n.createDialogScope(),d=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Root,{...r,...t,modal:!0})};d.displayName=j;var $="AlertDialogTrigger",_=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Trigger,{...a,...r,ref:o})});_.displayName=$;var L="AlertDialogPortal",A=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Portal,{...r,...t})};A.displayName=L;var F="AlertDialogOverlay",D=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Overlay,{...a,...r,ref:o})});D.displayName=F;var c="AlertDialogContent",[G,W]=q(c),Y=w.createSlottable("AlertDialogContent"),v=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,children:r,...a}=e,u=s(t),g=l.useRef(null),P=E.useComposedRefs(o,g),R=l.useRef(null);return i.jsxRuntimeExports.jsx(n.WarningProvider,{contentName:c,titleName:C,docsSlug:"alert-dialog",children:i.jsxRuntimeExports.jsx(G,{scope:t,cancelRef:R,children:i.jsxRuntimeExports.jsxs(n.Content,{role:"alertdialog",...u,...a,ref:P,onOpenAutoFocus:h.composeEventHandlers(a.onOpenAutoFocus,p=>{var y;p.preventDefault(),(y=R.current)==null||y.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[i.jsxRuntimeExports.jsx(Y,{children:r}),i.jsxRuntimeExports.jsx(z,{contentRef:g})]})})})});v.displayName=c;var C="AlertDialogTitle",f=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Title,{...a,...r,ref:o})});f.displayName=C;var N="AlertDialogDescription",x=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Description,{...a,...r,ref:o})});x.displayName=N;var k="AlertDialogAction",S=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Close,{...a,...r,ref:o})});S.displayName=k;var O="AlertDialogCancel",m=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:a}=W(O,t),u=s(t),g=E.useComposedRefs(o,a);return i.jsxRuntimeExports.jsx(n.Close,{...u,...r,ref:g})});m.displayName=O;var z=({contentRef:e})=>{const o=`\`${c}\` requires a description for the component to be accessible for screen reader users.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.cjs387.js"),E=require("./index.cjs386.js"),n=require("./index.cjs271.js"),h=require("./index.cjs385.js"),w=require("./index.cjs405.js"),i=require("./index.cjs212.js");function M(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=M(b);var j="AlertDialog",[q,I]=T.createContextScope(j,[n.createDialogScope]),s=n.createDialogScope(),d=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Root,{...r,...t,modal:!0})};d.displayName=j;var $="AlertDialogTrigger",_=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Trigger,{...a,...r,ref:o})});_.displayName=$;var L="AlertDialogPortal",A=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Portal,{...r,...t})};A.displayName=L;var F="AlertDialogOverlay",D=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Overlay,{...a,...r,ref:o})});D.displayName=F;var c="AlertDialogContent",[G,W]=q(c),Y=w.createSlottable("AlertDialogContent"),v=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,children:r,...a}=e,u=s(t),g=l.useRef(null),P=E.useComposedRefs(o,g),R=l.useRef(null);return i.jsxRuntimeExports.jsx(n.WarningProvider,{contentName:c,titleName:C,docsSlug:"alert-dialog",children:i.jsxRuntimeExports.jsx(G,{scope:t,cancelRef:R,children:i.jsxRuntimeExports.jsxs(n.Content,{role:"alertdialog",...u,...a,ref:P,onOpenAutoFocus:h.composeEventHandlers(a.onOpenAutoFocus,p=>{var y;p.preventDefault(),(y=R.current)==null||y.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[i.jsxRuntimeExports.jsx(Y,{children:r}),i.jsxRuntimeExports.jsx(z,{contentRef:g})]})})})});v.displayName=c;var C="AlertDialogTitle",f=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Title,{...a,...r,ref:o})});f.displayName=C;var N="AlertDialogDescription",x=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Description,{...a,...r,ref:o})});x.displayName=N;var k="AlertDialogAction",S=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Close,{...a,...r,ref:o})});S.displayName=k;var O="AlertDialogCancel",m=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:a}=W(O,t),u=s(t),g=E.useComposedRefs(o,a);return i.jsxRuntimeExports.jsx(n.Close,{...u,...r,ref:g})});m.displayName=O;var z=({contentRef:e})=>{const o=`\`${c}\` requires a description for the component to be accessible for screen reader users.
2
2
 
3
3
  You can add a description to the \`${c}\` by passing a \`${N}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs337.js","sources":["../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/alert-dialog/src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","createSlottable","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Portal2","Overlay2","Content2","Cancel","Title2","Description2"],"mappings":"6jBAWA,IAAIA,EAAY,cACZ,CAACC,EAA0BC,CAAsB,EAAIC,EAAAA,mBAAmBH,EAAW,CACrFI,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAmB,EACpCE,EAAeC,GAAU,CAC3B,KAAM,CAAE,mBAAAC,EAAoB,GAAGC,CAAgB,EAAKF,EAC9CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAG,kBAAA,IAACC,EAAoB,KAAE,CAAE,GAAGF,EAAa,GAAGD,EAAkB,MAAO,GAAM,CACvG,EACAH,EAAY,YAAcN,EAC1B,IAAIa,EAAe,qBACfC,EAAqBC,EAAM,WAC7B,CAACR,EAAOS,IAAiB,CACvB,KAAM,CAAE,mBAAAR,EAAoB,GAAGS,CAAY,EAAKV,EAC1CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAG,kBAAA,IAACO,EAAuB,QAAE,CAAE,GAAGR,EAAa,GAAGO,EAAc,IAAKD,EAAc,CAC9G,CACA,EACAF,EAAmB,YAAcD,EACjC,IAAIM,EAAc,oBACdC,EAAqBb,GAAU,CACjC,KAAM,CAAE,mBAAAC,EAAoB,GAAGa,CAAW,EAAKd,EACzCG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAAA,kBAAAA,IAAIW,EAAAA,OAAwB,CAAE,GAAGZ,EAAa,GAAGW,CAAW,CAAE,CACvF,EACAD,EAAkB,YAAcD,EAChC,IAAII,EAAe,qBACfC,EAAqBT,EAAM,WAC7B,CAACR,EAAOS,IAAiB,CACvB,KAAM,CAAE,mBAAAR,EAAoB,GAAGiB,CAAY,EAAKlB,EAC1CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAG,kBAAA,IA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nC,CAAY;AAAA;AAAA,qCAEEA,CAAY,qBAAqBuB,CAAgB;AAAA;AAAA,4JAEsEvB,CAAY;AAAA;AAAA,wFAGtKZ,OAAAA,EAAM,UAAU,IAAM,OACG,SAAS,gBAC9B8B,EAAAV,EAAW,UAAX,YAAAU,EAAoB,aAAa,mBAClC,GACoB,QAAQ,KAAKiB,CAAO,CAC7C,EAAK,CAACA,EAAS3B,CAAU,CAAC,EACjB,IACT,EACI4B,EAAQzD,EAER0D,EAAU5C,EACV6C,EAAWzC,EACX0C,EAAWlC,EAEXmC,EAASR,EACTS,EAASrB,EACTsB,EAAelB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs337.js","sources":["../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","createSlottable","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Portal2","Overlay2","Content2","Cancel","Title2","Description2"],"mappings":"6jBAWA,IAAIA,EAAY,cACZ,CAACC,EAA0BC,CAAsB,EAAIC,EAAAA,mBAAmBH,EAAW,CACrFI,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAmB,EACpCE,EAAeC,GAAU,CAC3B,KAAM,CAAE,mBAAAC,EAAoB,GAAGC,CAAgB,EAAKF,EAC9CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAG,kBAAA,IAACC,EAAoB,KAAE,CAAE,GAAGF,EAAa,GAAGD,EAAkB,MAAO,GAAM,CACvG,EACAH,EAAY,YAAcN,EAC1B,IAAIa,EAAe,qBACfC,EAAqBC,EAAM,WAC7B,CAACR,EAAOS,IAAiB,CACvB,KAAM,CAAE,mBAAAR,EAAoB,GAAGS,CAAY,EAAKV,EAC1CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAG,kBAAA,IAACO,EAAuB,QAAE,CAAE,GAAGR,EAAa,GAAGO,EAAc,IAAKD,EAAc,CAC9G,CACA,EACAF,EAAmB,YAAcD,EACjC,IAAIM,EAAc,oBACdC,EAAqBb,GAAU,CACjC,KAAM,CAAE,mBAAAC,EAAoB,GAAGa,CAAW,EAAKd,EACzCG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBG,EAAAA,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AAcL,EAAeG,CAAkB,EAC/CqD,EAAMxB,EAAAA,gBAAgBrB,EAAcsB,CAAS,EACnD,OAAuB3B,EAAAA,kBAAAA,IAAI8C,EAAAA,MAAuB,CAAE,GAAG/C,EAAa,GAAGkD,EAAa,IAAAC,EAAK,CAC7F,CACA,EACAF,EAAkB,YAAcD,EAChC,IAAIZ,EAAqB,CAAC,CAAE,WAAAX,KAAiB,CAC3C,MAAM2B,EAAU,KAAKnC,CAAY;AAAA;AAAA,qCAEEA,CAAY,qBAAqBuB,CAAgB;AAAA;AAAA,4JAEsEvB,CAAY;AAAA;AAAA,wFAGtKZ,OAAAA,EAAM,UAAU,IAAM,OACG,SAAS,gBAC9B8B,EAAAV,EAAW,UAAX,YAAAU,EAAoB,aAAa,mBAClC,GACoB,QAAQ,KAAKiB,CAAO,CAC7C,EAAK,CAACA,EAAS3B,CAAU,CAAC,EACjB,IACT,EACI4B,EAAQzD,EAER0D,EAAU5C,EACV6C,EAAWzC,EACX0C,EAAWlC,EAEXmC,EAASR,EACTS,EAASrB,EACTsB,EAAelB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AuthorWithImage/AuthorWithImage.css');const i=require("./index.cjs212.js"),t=require("react"),y=require("./index.cjs95.js");;/* empty css */const b=require("./index.cjs264.js"),$=require("./index.cjs265.js"),A=require("./index.cjs266.js"),B=require("./index.cjs9.js"),M=require("./index.cjs267.js"),U=require("./index.cjs60.js"),c=require("./index.cjs213.js"),D=require("./index.cjs114.js"),L=require("./index.cjs178.js"),k=require("./index.cjs125.js"),S=require("./index.cjs10.js"),F=require("./index.cjs26.js"),P={AUTHENTICATED:"authenticated",PUBLIC:"public"},O=({data:e={},ImageComponent:x="img",imageProps:p={},variant:a="service",publishedLabel:j="Pubblicato",readingTimeLabel:g="Tempo di lettura",readingMinuteLabel:v="min",tagsLabelTitle:d="Argomenti trattati",shareLabel:h="Condividi",copyLinkLabel:T="Copia link",copiedTextLabel:E="Link copiato",isPreview:n=!1,modeAuthenticated:r=!1})=>{var l,m,u;const{copyToClipboard:R,isCopied:I}=$.useCopyToClipboardCurrentPage(),w=t.useMemo(()=>e!=null&&e.updatedBy?A.getFullNameInitials(e.updatedBy.name??"",e.updatedBy.surname??""):"-",[e.updatedBy]),[f,o]=t.useMemo(()=>!e.previewImageTitle||e.previewImageTitle.trim()===""?[null,null]:e.previewImageTitle.trim().split(/\s+/).length>=4?M.splitInTwo(e.previewImageTitle.toUpperCase()):[e.previewImageTitle.toUpperCase(),null],[e.previewImageTitle]),N=t.useMemo(()=>{const s=e.readingTime??0;return Math.ceil(Number(s)/60)||0},[e]),C=()=>{if(!e.previewImageUrl)return null;if(a==="event"){const s=q=>"eventTitle"in q;return i.jsxRuntimeExports.jsxs("div",{className:c.clsx(n?"event-preview":"event-image-container",r?"margin-authenticated":""),children:[i.jsxRuntimeExports.jsx("img",{className:"event-background",src:e.previewImageUrl,alt:`Evento ${e.name}`}),i.jsxRuntimeExports.jsx("div",{className:"event-content-overlay",children:i.jsxRuntimeExports.jsxs("div",{className:"event-content",children:[i.jsxRuntimeExports.jsx("img",{className:"event-main-image",src:e.previewImageUrl,alt:`Evento ${e.name}`}),i.jsxRuntimeExports.jsx("div",{className:"event-card-container",children:i.jsxRuntimeExports.jsxs(S.Col,{gap:"x32",children:[i.jsxRuntimeExports.jsx(F.CardCategory,{title:s(e)?e.eventTitle??"-":"-",className:"w-full",description:s(e)?e.eventDescriptionTitle??"-":"-",description2:s(e)?e.eventDescription??"-":"-",classNameTitle:"text-slate-20 fs-5 md-fs-custom-2",classNameDescriptionTitle:"text-slate-28 fw-bold fs-6 md-fs-custom"}),i.jsxRuntimeExports.jsx(k.Tags,{title:d,items:s(e)?e.tags??[]:[]})]})})]})})]})}return i.jsxRuntimeExports.jsxs("div",{className:c.clsx(n?"service-detail-image":"fullscreen-image-container",r?"margin-authenticated":""),children:[i.jsxRuntimeExports.jsx(x,{alt:`Service ${e.name} image`,src:e.previewImageUrl,style:{aspectRatio:21/9},...p}),e.previewImageTitle&&e.previewImageTitle.trim()!==""&&i.jsxRuntimeExports.jsxs("p",{className:"short-title",children:[i.jsxRuntimeExports.jsx("span",{children:f}),o&&i.jsxRuntimeExports.jsx("span",{children:o})]})]})};return i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsxs("div",{className:"action-author",children:[i.jsxRuntimeExports.jsx(y.AuthorBlock,{authorName:(l=e==null?void 0:e.updatedBy)!=null&&l.name?`${(m=e==null?void 0:e.updatedBy)==null?void 0:m.name} ${(u=e==null?void 0:e.updatedBy)==null?void 0:u.surname}`:"-",avatar:{initials:w},publishedLabel:j,publishedDate:b.fromISODateToDateFormatted(e.updatedAt??"","it")??"-",readingTimeLabel:g,readingTimeValue:N,readingMinuteLabel:v}),i.jsxRuntimeExports.jsxs(B.Row,{gap:"x8",className:"action-link",children:[i.jsxRuntimeExports.jsx(D.ShareButton,{textLabel:h,href:window.location.href,titleShared:e.name}),i.jsxRuntimeExports.jsx("div",{className:"share-divider",children:i.jsxRuntimeExports.jsx(U.ActionIconText,{textLabel:I?E:T,icon:i.jsxRuntimeExports.jsx(L.CopyLink,{}),handleAction:R,classNameText:"fw-bold"})})]})]}),C()]})};exports.AuthenticatedModeEnum=P;exports.AuthorWithImage=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AuthorWithImage/AuthorWithImage.css');const i=require("./index.cjs212.js"),t=require("react"),y=require("./index.cjs95.js");;/* empty css */const b=require("./index.cjs264.js"),$=require("./index.cjs265.js"),A=require("./index.cjs266.js"),B=require("./index.cjs9.js"),M=require("./index.cjs267.js"),U=require("./index.cjs60.js"),c=require("./index.cjs214.js"),D=require("./index.cjs114.js"),L=require("./index.cjs178.js"),k=require("./index.cjs125.js"),S=require("./index.cjs10.js"),F=require("./index.cjs26.js"),P={AUTHENTICATED:"authenticated",PUBLIC:"public"},O=({data:e={},ImageComponent:x="img",imageProps:p={},variant:a="service",publishedLabel:j="Pubblicato",readingTimeLabel:g="Tempo di lettura",readingMinuteLabel:v="min",tagsLabelTitle:d="Argomenti trattati",shareLabel:h="Condividi",copyLinkLabel:T="Copia link",copiedTextLabel:E="Link copiato",isPreview:n=!1,modeAuthenticated:r=!1})=>{var l,m,u;const{copyToClipboard:R,isCopied:I}=$.useCopyToClipboardCurrentPage(),w=t.useMemo(()=>e!=null&&e.updatedBy?A.getFullNameInitials(e.updatedBy.name??"",e.updatedBy.surname??""):"-",[e.updatedBy]),[f,o]=t.useMemo(()=>!e.previewImageTitle||e.previewImageTitle.trim()===""?[null,null]:e.previewImageTitle.trim().split(/\s+/).length>=4?M.splitInTwo(e.previewImageTitle.toUpperCase()):[e.previewImageTitle.toUpperCase(),null],[e.previewImageTitle]),N=t.useMemo(()=>{const s=e.readingTime??0;return Math.ceil(Number(s)/60)||0},[e]),C=()=>{if(!e.previewImageUrl)return null;if(a==="event"){const s=q=>"eventTitle"in q;return i.jsxRuntimeExports.jsxs("div",{className:c.clsx(n?"event-preview":"event-image-container",r?"margin-authenticated":""),children:[i.jsxRuntimeExports.jsx("img",{className:"event-background",src:e.previewImageUrl,alt:`Evento ${e.name}`}),i.jsxRuntimeExports.jsx("div",{className:"event-content-overlay",children:i.jsxRuntimeExports.jsxs("div",{className:"event-content",children:[i.jsxRuntimeExports.jsx("img",{className:"event-main-image",src:e.previewImageUrl,alt:`Evento ${e.name}`}),i.jsxRuntimeExports.jsx("div",{className:"event-card-container",children:i.jsxRuntimeExports.jsxs(S.Col,{gap:"x32",children:[i.jsxRuntimeExports.jsx(F.CardCategory,{title:s(e)?e.eventTitle??"-":"-",className:"w-full",description:s(e)?e.eventDescriptionTitle??"-":"-",description2:s(e)?e.eventDescription??"-":"-",classNameTitle:"text-slate-20 fs-5 md-fs-custom-2",classNameDescriptionTitle:"text-slate-28 fw-bold fs-6 md-fs-custom"}),i.jsxRuntimeExports.jsx(k.Tags,{title:d,items:s(e)?e.tags??[]:[]})]})})]})})]})}return i.jsxRuntimeExports.jsxs("div",{className:c.clsx(n?"service-detail-image":"fullscreen-image-container",r?"margin-authenticated":""),children:[i.jsxRuntimeExports.jsx(x,{alt:`Service ${e.name} image`,src:e.previewImageUrl,style:{aspectRatio:21/9},...p}),e.previewImageTitle&&e.previewImageTitle.trim()!==""&&i.jsxRuntimeExports.jsxs("p",{className:"short-title",children:[i.jsxRuntimeExports.jsx("span",{children:f}),o&&i.jsxRuntimeExports.jsx("span",{children:o})]})]})};return i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsxs("div",{className:"action-author",children:[i.jsxRuntimeExports.jsx(y.AuthorBlock,{authorName:(l=e==null?void 0:e.updatedBy)!=null&&l.name?`${(m=e==null?void 0:e.updatedBy)==null?void 0:m.name} ${(u=e==null?void 0:e.updatedBy)==null?void 0:u.surname}`:"-",avatar:{initials:w},publishedLabel:j,publishedDate:b.fromISODateToDateFormatted(e.updatedAt??"","it")??"-",readingTimeLabel:g,readingTimeValue:N,readingMinuteLabel:v}),i.jsxRuntimeExports.jsxs(B.Row,{gap:"x8",className:"action-link",children:[i.jsxRuntimeExports.jsx(D.ShareButton,{textLabel:h,href:window.location.href,titleShared:e.name}),i.jsxRuntimeExports.jsx("div",{className:"share-divider",children:i.jsxRuntimeExports.jsx(U.ActionIconText,{textLabel:I?E:T,icon:i.jsxRuntimeExports.jsx(L.CopyLink,{}),handleAction:R,classNameText:"fw-bold"})})]})]}),C()]})};exports.AuthenticatedModeEnum=P;exports.AuthorWithImage=O;
2
2
  //# sourceMappingURL=index.cjs34.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs212.js"),n=require("./index.cjs213.js");;/* empty css */const r=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-consent-modal-body",e),children:t});exports.ChangeProfileModalContent=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs212.js"),n=require("./index.cjs214.js");;/* empty css */const r=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-consent-modal-body",e),children:t});exports.ChangeProfileModalContent=r;
2
2
  //# sourceMappingURL=index.cjs345.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/VideoPlayer/VideoPlayer.css');const e=require("./index.cjs212.js"),s=require("./index.cjs213.js");;/* empty css */const y=require("./index.cjs131.js"),a=require("react"),v=require("./index.cjs191.js"),b=require("./index.cjs10.js");var d=(t=>(t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.EXTRA_LARGE="extra-large",t.VERTICAL="vertical",t.FULL_WIDTH="full-width",t))(d||{});const w={small:{width:"311px"},medium:{width:"388px"},large:{width:"666px"},vertical:{width:"360px"},"extra-large":{width:"100dvw"},"full-width":{width:"100%"}},R={small:{heightImg:"170px"},medium:{heightImg:"183px"},large:{heightImg:"371px"},"extra-large":{heightImg:"400px"},vertical:{heightImg:"640px"},"full-width":{heightImg:"525px"}},f=({btnText:t="Trascrizione",sizeComp:l="large",transcription:o,previewImageSrc:u,videoSrc:c})=>{const[i,r]=a.useState(!1),[x,m]=a.useState(!1),{width:p}=w[l],{heightImg:h}=R[l],[n,j]=a.useState(!1),g=()=>{x?r(!i):(m(!0),r(!0))};return e.jsxRuntimeExports.jsxs(b.Col,{br:"x4",style:{width:p},className:s.clsx("shadow",n&&"ui-expanded","video-section-container"),children:[e.jsxRuntimeExports.jsxs("div",{className:"video-player-container",style:{height:h},onClick:g,children:[e.jsxRuntimeExports.jsx("div",{className:s.clsx("start-video-container",{"fade-out":i||x}),style:{backgroundImage:`url(${u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",pointerEvents:"none"},children:e.jsxRuntimeExports.jsxs("div",{className:s.clsx("play-button-container",{hidden:i}),children:[e.jsxRuntimeExports.jsx("div",{className:"play-button-icon",children:e.jsxRuntimeExports.jsx(v.PlayVideo,{})}),e.jsxRuntimeExports.jsx("div",{className:"play-button-text",children:"Riproduci"})]})}),e.jsxRuntimeExports.jsx("div",{className:"video-container",children:e.jsxRuntimeExports.jsx("video",{controls:!0,src:c!==""?c:void 0,autoPlay:i,onEnded:()=>r(!1)})})]}),o&&e.jsxRuntimeExports.jsxs("div",{className:"transcription-container",children:[e.jsxRuntimeExports.jsx("div",{className:s.clsx("expand-button-container","accordion","base-row justify-content-between align-items-center px-x24 w-full flex-1"),children:e.jsxRuntimeExports.jsxs("button",{className:s.clsx("ui-btn-accordion-video","base-row justify-content-between align-items-center"),type:"button",onClick:()=>j(!n),children:[e.jsxRuntimeExports.jsx("span",{className:s.clsx("fw-semibold text-primary base-col justify-content-center"),children:t}),e.jsxRuntimeExports.jsx(y.ArrowDown,{color:"primary",className:s.clsx("ui-arrow",{expanded:n})})]})}),n&&e.jsxRuntimeExports.jsx("div",{className:s.clsx("transcription-text-container","pt-x8 px-x24 pb-x40 fs-6 fw-regular text-grey-black"),children:e.jsxRuntimeExports.jsx("p",{children:o})})]})]})};exports.VIDEO_PLAYER_SIZE=d;exports.VideoPlayer=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/VideoPlayer/VideoPlayer.css');const e=require("./index.cjs212.js"),s=require("./index.cjs214.js");;/* empty css */const y=require("./index.cjs131.js"),a=require("react"),v=require("./index.cjs191.js"),b=require("./index.cjs10.js");var d=(t=>(t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.EXTRA_LARGE="extra-large",t.VERTICAL="vertical",t.FULL_WIDTH="full-width",t))(d||{});const w={small:{width:"311px"},medium:{width:"388px"},large:{width:"666px"},vertical:{width:"360px"},"extra-large":{width:"100dvw"},"full-width":{width:"100%"}},R={small:{heightImg:"170px"},medium:{heightImg:"183px"},large:{heightImg:"371px"},"extra-large":{heightImg:"400px"},vertical:{heightImg:"640px"},"full-width":{heightImg:"525px"}},f=({btnText:t="Trascrizione",sizeComp:l="large",transcription:o,previewImageSrc:u,videoSrc:c})=>{const[i,r]=a.useState(!1),[x,m]=a.useState(!1),{width:p}=w[l],{heightImg:h}=R[l],[n,j]=a.useState(!1),g=()=>{x?r(!i):(m(!0),r(!0))};return e.jsxRuntimeExports.jsxs(b.Col,{br:"x4",style:{width:p},className:s.clsx("shadow",n&&"ui-expanded","video-section-container"),children:[e.jsxRuntimeExports.jsxs("div",{className:"video-player-container",style:{height:h},onClick:g,children:[e.jsxRuntimeExports.jsx("div",{className:s.clsx("start-video-container",{"fade-out":i||x}),style:{backgroundImage:`url(${u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",pointerEvents:"none"},children:e.jsxRuntimeExports.jsxs("div",{className:s.clsx("play-button-container",{hidden:i}),children:[e.jsxRuntimeExports.jsx("div",{className:"play-button-icon",children:e.jsxRuntimeExports.jsx(v.PlayVideo,{})}),e.jsxRuntimeExports.jsx("div",{className:"play-button-text",children:"Riproduci"})]})}),e.jsxRuntimeExports.jsx("div",{className:"video-container",children:e.jsxRuntimeExports.jsx("video",{controls:!0,src:c!==""?c:void 0,autoPlay:i,onEnded:()=>r(!1)})})]}),o&&e.jsxRuntimeExports.jsxs("div",{className:"transcription-container",children:[e.jsxRuntimeExports.jsx("div",{className:s.clsx("expand-button-container","accordion","base-row justify-content-between align-items-center px-x24 w-full flex-1"),children:e.jsxRuntimeExports.jsxs("button",{className:s.clsx("ui-btn-accordion-video","base-row justify-content-between align-items-center"),type:"button",onClick:()=>j(!n),children:[e.jsxRuntimeExports.jsx("span",{className:s.clsx("fw-semibold text-primary base-col justify-content-center"),children:t}),e.jsxRuntimeExports.jsx(y.ArrowDown,{color:"primary",className:s.clsx("ui-arrow",{expanded:n})})]})}),n&&e.jsxRuntimeExports.jsx("div",{className:s.clsx("transcription-text-container","pt-x8 px-x24 pb-x40 fs-6 fw-regular text-grey-black"),children:e.jsxRuntimeExports.jsx("p",{children:o})})]})]})};exports.VIDEO_PLAYER_SIZE=d;exports.VideoPlayer=f;
2
2
  //# sourceMappingURL=index.cjs35.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs212.js"),r=require("./index.cjs213.js"),c=require("./index.cjs358.js"),a=({index:t,title:i,content:x,isOpen:e,detailLabels:n,onToggle:l})=>s.jsxRuntimeExports.jsxs("div",{className:"step-item",children:[s.jsxRuntimeExports.jsxs("div",{className:r.clsx("step-header",e&&"open"),children:[s.jsxRuntimeExports.jsx("div",{className:"step-number",children:t+1}),s.jsxRuntimeExports.jsx("div",{className:"step-title",children:i})]}),s.jsxRuntimeExports.jsxs("div",{className:"step-details",children:[s.jsxRuntimeExports.jsxs("div",{className:"step-details-box",children:[s.jsxRuntimeExports.jsx("div",{className:""}),s.jsxRuntimeExports.jsx("div",{className:"line"})]}),s.jsxRuntimeExports.jsxs("div",{className:"step-details-content",children:[s.jsxRuntimeExports.jsx(c,{className:"toggle-btn",onClick:l,isOpen:e,toggleLabels:n}),e&&s.jsxRuntimeExports.jsx("div",{className:"step-content",children:x})]})]})]});exports.StepItem=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs212.js"),r=require("./index.cjs214.js"),c=require("./index.cjs358.js"),a=({index:t,title:i,content:x,isOpen:e,detailLabels:n,onToggle:l})=>s.jsxRuntimeExports.jsxs("div",{className:"step-item",children:[s.jsxRuntimeExports.jsxs("div",{className:r.clsx("step-header",e&&"open"),children:[s.jsxRuntimeExports.jsx("div",{className:"step-number",children:t+1}),s.jsxRuntimeExports.jsx("div",{className:"step-title",children:i})]}),s.jsxRuntimeExports.jsxs("div",{className:"step-details",children:[s.jsxRuntimeExports.jsxs("div",{className:"step-details-box",children:[s.jsxRuntimeExports.jsx("div",{className:""}),s.jsxRuntimeExports.jsx("div",{className:"line"})]}),s.jsxRuntimeExports.jsxs("div",{className:"step-details-content",children:[s.jsxRuntimeExports.jsx(c,{className:"toggle-btn",onClick:l,isOpen:e,toggleLabels:n}),e&&s.jsxRuntimeExports.jsx("div",{className:"step-content",children:x})]})]})]});exports.StepItem=a;
2
2
  //# sourceMappingURL=index.cjs356.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs212.js"),o=require("./index.cjs213.js"),x=require("./index.cjs176.js"),c=require("./index.cjs131.js"),i=({isOpen:e,onClick:t,className:n,toggleLabels:r})=>s.jsxRuntimeExports.jsxs("button",{className:o.clsx("",n),onClick:t,children:[e?r.closeLabel:r.activeLabel,s.jsxRuntimeExports.jsx("span",{className:"arrow",children:e?s.jsxRuntimeExports.jsx(x.ArrowTop,{}):s.jsxRuntimeExports.jsx(c.ArrowDown,{})})]});module.exports=i;
1
+ "use strict";const s=require("./index.cjs212.js"),o=require("./index.cjs214.js"),x=require("./index.cjs176.js"),c=require("./index.cjs131.js"),i=({isOpen:e,onClick:t,className:n,toggleLabels:r})=>s.jsxRuntimeExports.jsxs("button",{className:o.clsx("",n),onClick:t,children:[e?r.closeLabel:r.activeLabel,s.jsxRuntimeExports.jsx("span",{className:"arrow",children:e?s.jsxRuntimeExports.jsx(x.ArrowTop,{}):s.jsxRuntimeExports.jsx(c.ArrowDown,{})})]});module.exports=i;
2
2
  //# sourceMappingURL=index.cjs358.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs380.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs410.js");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *