@anoki/fse-ui 2.3.0-RC22 → 2.3.0-RC23

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 (987) hide show
  1. package/dist/components/ui/ActionBanner/ActionBanner.css +1 -1
  2. package/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
  3. package/dist/components/ui/Section/Description/description.css +1 -1
  4. package/dist/components/ui/TableMobile/TableMobile.css +1 -1
  5. package/dist/components/ui/VideoPlayer/VideoPlayer.css +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs109.js +1 -1
  9. package/dist/index.cjs11.js +1 -1
  10. package/dist/index.cjs110.js +1 -1
  11. package/dist/index.cjs112.js +1 -1
  12. package/dist/index.cjs117.js +1 -1
  13. package/dist/index.cjs118.js +1 -1
  14. package/dist/index.cjs119.js +1 -1
  15. package/dist/index.cjs121.js +1 -1
  16. package/dist/index.cjs122.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs127.js +1 -1
  19. package/dist/index.cjs128.js +1 -1
  20. package/dist/index.cjs13.js +1 -1
  21. package/dist/index.cjs130.js +1 -1
  22. package/dist/index.cjs138.js +1 -1
  23. package/dist/index.cjs14.js +1 -1
  24. package/dist/index.cjs142.js +1 -1
  25. package/dist/index.cjs143.js +1 -1
  26. package/dist/index.cjs144.js +1 -1
  27. package/dist/index.cjs145.js +1 -1
  28. package/dist/index.cjs146.js +1 -1
  29. package/dist/index.cjs147.js +1 -1
  30. package/dist/index.cjs148.js +1 -1
  31. package/dist/index.cjs149.js +1 -1
  32. package/dist/index.cjs150.js +1 -1
  33. package/dist/index.cjs151.js +1 -1
  34. package/dist/index.cjs152.js +1 -1
  35. package/dist/index.cjs160.js +1 -1
  36. package/dist/index.cjs161.js +1 -1
  37. package/dist/index.cjs167.js +1 -1
  38. package/dist/index.cjs168.js +1 -1
  39. package/dist/index.cjs171.js +1 -1
  40. package/dist/index.cjs179.js +1 -1
  41. package/dist/index.cjs18.js +1 -1
  42. package/dist/index.cjs187.js +1 -1
  43. package/dist/index.cjs188.js +1 -1
  44. package/dist/index.cjs189.js +1 -1
  45. package/dist/index.cjs19.js +1 -1
  46. package/dist/index.cjs191.js +1 -1
  47. package/dist/index.cjs193.js +1 -1
  48. package/dist/index.cjs194.js +1 -1
  49. package/dist/index.cjs197.js +1 -1
  50. package/dist/index.cjs198.js +1 -1
  51. package/dist/index.cjs20.js +1 -1
  52. package/dist/index.cjs203.js +1 -1
  53. package/dist/index.cjs204.js +1 -1
  54. package/dist/index.cjs205.js +1 -1
  55. package/dist/index.cjs208.js +1 -1
  56. package/dist/index.cjs209.js +1 -1
  57. package/dist/index.cjs210.js +1 -1
  58. package/dist/index.cjs211.js +1 -1
  59. package/dist/index.cjs214.js +1 -1
  60. package/dist/index.cjs216.js +1 -1
  61. package/dist/index.cjs219.js +1 -1
  62. package/dist/index.cjs22.js +1 -1
  63. package/dist/index.cjs223.js +1 -1
  64. package/dist/index.cjs227.js +1 -1
  65. package/dist/index.cjs23.js +1 -1
  66. package/dist/index.cjs231.js +1 -1
  67. package/dist/index.cjs233.js +1 -1
  68. package/dist/index.cjs234.js +1 -1
  69. package/dist/index.cjs236.js +1 -1
  70. package/dist/index.cjs237.js +1 -1
  71. package/dist/index.cjs238.js +1 -1
  72. package/dist/index.cjs239.js +1 -1
  73. package/dist/index.cjs24.js +1 -1
  74. package/dist/index.cjs240.js +1 -1
  75. package/dist/index.cjs241.js +1 -1
  76. package/dist/index.cjs242.js +1 -1
  77. package/dist/index.cjs253.js +1 -1
  78. package/dist/index.cjs26.js +1 -1
  79. package/dist/index.cjs262.js +1 -1
  80. package/dist/index.cjs264.js +1 -1
  81. package/dist/index.cjs265.js +1 -1
  82. package/dist/index.cjs267.js +1 -1
  83. package/dist/index.cjs270.js +1 -1
  84. package/dist/index.cjs270.js.map +1 -1
  85. package/dist/index.cjs271.js +1 -1
  86. package/dist/index.cjs275.js +1 -1
  87. package/dist/index.cjs276.js +1 -1
  88. package/dist/index.cjs277.js +1 -1
  89. package/dist/index.cjs28.js +1 -1
  90. package/dist/index.cjs313.js +2 -0
  91. package/dist/index.cjs313.js.map +1 -0
  92. package/dist/{index.cjs314.js → index.cjs315.js} +1 -1
  93. package/dist/{index.cjs314.js.map → index.cjs315.js.map} +1 -1
  94. package/dist/index.cjs319.js +1 -1
  95. package/dist/index.cjs319.js.map +1 -1
  96. package/dist/index.cjs320.js +1 -1
  97. package/dist/index.cjs320.js.map +1 -1
  98. package/dist/index.cjs321.js +2 -0
  99. package/dist/index.cjs321.js.map +1 -0
  100. package/dist/{index.cjs326.js → index.cjs327.js} +2 -2
  101. package/dist/{index.cjs326.js.map → index.cjs327.js.map} +1 -1
  102. package/dist/index.cjs329.js +1 -1
  103. package/dist/index.cjs329.js.map +1 -1
  104. package/dist/index.cjs330.js +2 -0
  105. package/dist/index.cjs330.js.map +1 -0
  106. package/dist/index.cjs332.js +1 -1
  107. package/dist/index.cjs332.js.map +1 -1
  108. package/dist/index.cjs333.js +1 -1
  109. package/dist/index.cjs334.js +2 -0
  110. package/dist/index.cjs334.js.map +1 -0
  111. package/dist/index.cjs336.js +2 -0
  112. package/dist/index.cjs336.js.map +1 -0
  113. package/dist/index.cjs340.js +1 -1
  114. package/dist/index.cjs340.js.map +1 -1
  115. package/dist/index.cjs341.js +1 -1
  116. package/dist/index.cjs341.js.map +1 -1
  117. package/dist/index.cjs342.js +2 -0
  118. package/dist/index.cjs342.js.map +1 -0
  119. package/dist/{index.cjs345.js → index.cjs346.js} +2 -2
  120. package/dist/{index.cjs345.js.map → index.cjs346.js.map} +1 -1
  121. package/dist/index.cjs35.js +1 -1
  122. package/dist/index.cjs350.js +1 -1
  123. package/dist/index.cjs350.js.map +1 -1
  124. package/dist/index.cjs351.js +1 -1
  125. package/dist/index.cjs351.js.map +1 -1
  126. package/dist/index.cjs352.js +1 -1
  127. package/dist/index.cjs352.js.map +1 -1
  128. package/dist/index.cjs355.js +1 -1
  129. package/dist/index.cjs36.js +1 -1
  130. package/dist/index.cjs38.js +1 -1
  131. package/dist/index.cjs381.js +1 -1
  132. package/dist/index.cjs39.js +1 -1
  133. package/dist/index.cjs4.js +1 -1
  134. package/dist/index.cjs434.js +1 -1
  135. package/dist/index.cjs445.js +1 -1
  136. package/dist/index.cjs487.js +1 -1
  137. package/dist/index.cjs488.js +1 -1
  138. package/dist/index.cjs495.js +1 -1
  139. package/dist/index.cjs50.js +1 -1
  140. package/dist/index.cjs514.js +1 -1
  141. package/dist/index.cjs515.js +1 -1
  142. package/dist/index.cjs53.js +1 -1
  143. package/dist/index.cjs530.js +1 -1
  144. package/dist/index.cjs530.js.map +1 -1
  145. package/dist/index.cjs531.js +1 -1
  146. package/dist/index.cjs531.js.map +1 -1
  147. package/dist/index.cjs532.js +1 -1
  148. package/dist/index.cjs532.js.map +1 -1
  149. package/dist/index.cjs533.js +2 -0
  150. package/dist/index.cjs533.js.map +1 -0
  151. package/dist/index.cjs534.js +2 -0
  152. package/dist/index.cjs534.js.map +1 -0
  153. package/dist/{index.cjs546.js → index.cjs535.js} +2 -2
  154. package/dist/{index.cjs546.js.map → index.cjs535.js.map} +1 -1
  155. package/dist/index.cjs536.js +2 -0
  156. package/dist/index.cjs536.js.map +1 -0
  157. package/dist/index.cjs537.js +2 -0
  158. package/dist/index.cjs537.js.map +1 -0
  159. package/dist/index.cjs538.js +1 -1
  160. package/dist/index.cjs538.js.map +1 -1
  161. package/dist/index.cjs539.js +1 -1
  162. package/dist/index.cjs539.js.map +1 -1
  163. package/dist/index.cjs54.js +1 -1
  164. package/dist/index.cjs540.js +1 -1
  165. package/dist/index.cjs540.js.map +1 -1
  166. package/dist/index.cjs541.js +1 -1
  167. package/dist/index.cjs541.js.map +1 -1
  168. package/dist/index.cjs542.js +1 -1
  169. package/dist/index.cjs542.js.map +1 -1
  170. package/dist/index.cjs543.js +1 -1
  171. package/dist/index.cjs543.js.map +1 -1
  172. package/dist/index.cjs550.js +1 -1
  173. package/dist/index.cjs550.js.map +1 -1
  174. package/dist/index.cjs551.js +1 -1
  175. package/dist/index.cjs551.js.map +1 -1
  176. package/dist/index.cjs552.js +1 -1
  177. package/dist/index.cjs552.js.map +1 -1
  178. package/dist/index.cjs553.js +1 -1
  179. package/dist/index.cjs553.js.map +1 -1
  180. package/dist/index.cjs554.js +1 -1
  181. package/dist/index.cjs554.js.map +1 -1
  182. package/dist/index.cjs555.js +1 -1
  183. package/dist/index.cjs555.js.map +1 -1
  184. package/dist/index.cjs556.js +1 -1
  185. package/dist/index.cjs556.js.map +1 -1
  186. package/dist/index.cjs557.js +1 -1
  187. package/dist/index.cjs557.js.map +1 -1
  188. package/dist/{index.cjs548.js → index.cjs558.js} +2 -2
  189. package/dist/{index.cjs548.js.map → index.cjs558.js.map} +1 -1
  190. package/dist/index.cjs576.js +1 -1
  191. package/dist/index.cjs581.js +1 -1
  192. package/dist/index.cjs582.js +1 -1
  193. package/dist/index.cjs583.js +1 -1
  194. package/dist/index.cjs584.js +1 -1
  195. package/dist/index.cjs585.js +1 -1
  196. package/dist/index.cjs586.js +1 -1
  197. package/dist/index.cjs587.js +1 -1
  198. package/dist/index.cjs588.js +1 -1
  199. package/dist/index.cjs589.js +1 -1
  200. package/dist/index.cjs590.js +1 -1
  201. package/dist/index.cjs591.js +1 -1
  202. package/dist/index.cjs592.js +1 -1
  203. package/dist/index.cjs593.js +1 -1
  204. package/dist/index.cjs594.js +1 -1
  205. package/dist/index.cjs595.js +1 -1
  206. package/dist/index.cjs596.js +1 -1
  207. package/dist/index.cjs597.js +1 -1
  208. package/dist/index.cjs598.js +1 -1
  209. package/dist/index.cjs599.js +1 -1
  210. package/dist/index.cjs6.js +1 -1
  211. package/dist/index.cjs600.js +1 -1
  212. package/dist/index.cjs601.js +1 -1
  213. package/dist/index.cjs602.js +1 -1
  214. package/dist/index.cjs603.js +1 -1
  215. package/dist/index.cjs604.js +1 -1
  216. package/dist/index.cjs605.js +1 -1
  217. package/dist/index.cjs606.js +1 -1
  218. package/dist/index.cjs607.js +1 -1
  219. package/dist/index.cjs608.js +1 -1
  220. package/dist/index.cjs609.js +1 -1
  221. package/dist/index.cjs610.js +1 -1
  222. package/dist/index.cjs611.js +1 -1
  223. package/dist/index.cjs612.js +1 -1
  224. package/dist/index.cjs613.js +1 -1
  225. package/dist/index.cjs614.js +1 -1
  226. package/dist/index.cjs615.js +1 -1
  227. package/dist/index.cjs616.js +1 -1
  228. package/dist/index.cjs618.js +1 -1
  229. package/dist/index.cjs618.js.map +1 -1
  230. package/dist/index.cjs619.js +2 -0
  231. package/dist/index.cjs619.js.map +1 -0
  232. package/dist/index.cjs620.js +1 -1
  233. package/dist/index.cjs620.js.map +1 -1
  234. package/dist/index.cjs621.js +1 -1
  235. package/dist/index.cjs621.js.map +1 -1
  236. package/dist/index.cjs623.js +1 -1
  237. package/dist/index.cjs625.js +1 -1
  238. package/dist/index.cjs626.js +1 -1
  239. package/dist/index.cjs627.js +1 -1
  240. package/dist/index.cjs627.js.map +1 -1
  241. package/dist/{index.cjs663.js → index.cjs628.js} +1 -1
  242. package/dist/index.cjs628.js.map +1 -0
  243. package/dist/index.cjs629.js +1 -1
  244. package/dist/index.cjs629.js.map +1 -1
  245. package/dist/index.cjs630.js +1 -2
  246. package/dist/index.cjs630.js.map +1 -1
  247. package/dist/index.cjs631.js +1 -8
  248. package/dist/index.cjs631.js.map +1 -1
  249. package/dist/index.cjs632.js +1 -1
  250. package/dist/index.cjs632.js.map +1 -1
  251. package/dist/index.cjs633.js +1 -1
  252. package/dist/index.cjs633.js.map +1 -1
  253. package/dist/index.cjs634.js +1 -6
  254. package/dist/index.cjs634.js.map +1 -1
  255. package/dist/index.cjs635.js +1 -1
  256. package/dist/index.cjs635.js.map +1 -1
  257. package/dist/index.cjs636.js +1 -2
  258. package/dist/index.cjs636.js.map +1 -1
  259. package/dist/index.cjs637.js +1 -3
  260. package/dist/index.cjs637.js.map +1 -1
  261. package/dist/index.cjs643.js +1 -1
  262. package/dist/index.cjs65.js.map +1 -1
  263. package/dist/index.cjs654.js +1 -1
  264. package/dist/index.cjs660.js +1 -1
  265. package/dist/index.cjs664.js +1 -1
  266. package/dist/index.cjs664.js.map +1 -1
  267. package/dist/index.cjs665.js +1 -1
  268. package/dist/index.cjs665.js.map +1 -1
  269. package/dist/index.cjs666.js +2 -1
  270. package/dist/index.cjs666.js.map +1 -1
  271. package/dist/index.cjs667.js +8 -1
  272. package/dist/index.cjs667.js.map +1 -1
  273. package/dist/index.cjs668.js +1 -1
  274. package/dist/index.cjs668.js.map +1 -1
  275. package/dist/index.cjs669.js +1 -1
  276. package/dist/index.cjs669.js.map +1 -1
  277. package/dist/index.cjs670.js +6 -1
  278. package/dist/index.cjs670.js.map +1 -1
  279. package/dist/index.cjs671.js +1 -1
  280. package/dist/index.cjs671.js.map +1 -1
  281. package/dist/index.cjs672.js +2 -1
  282. package/dist/index.cjs672.js.map +1 -1
  283. package/dist/index.cjs673.js +3 -1
  284. package/dist/index.cjs673.js.map +1 -1
  285. package/dist/index.cjs677.js +1 -1
  286. package/dist/index.cjs677.js.map +1 -1
  287. package/dist/index.cjs678.js +1 -1
  288. package/dist/index.cjs678.js.map +1 -1
  289. package/dist/index.cjs679.js +1 -1
  290. package/dist/index.cjs679.js.map +1 -1
  291. package/dist/index.cjs68.js +1 -1
  292. package/dist/index.cjs680.js +1 -1
  293. package/dist/index.cjs680.js.map +1 -1
  294. package/dist/index.cjs681.js +1 -1
  295. package/dist/index.cjs681.js.map +1 -1
  296. package/dist/index.cjs682.js +1 -1
  297. package/dist/index.cjs682.js.map +1 -1
  298. package/dist/index.cjs683.js +1 -1
  299. package/dist/index.cjs683.js.map +1 -1
  300. package/dist/index.cjs684.js +1 -1
  301. package/dist/index.cjs684.js.map +1 -1
  302. package/dist/index.cjs685.js +1 -1
  303. package/dist/index.cjs685.js.map +1 -1
  304. package/dist/index.cjs686.js +1 -1
  305. package/dist/index.cjs686.js.map +1 -1
  306. package/dist/index.cjs687.js +1 -1
  307. package/dist/index.cjs687.js.map +1 -1
  308. package/dist/index.cjs688.js +1 -7
  309. package/dist/index.cjs688.js.map +1 -1
  310. package/dist/index.cjs689.js +1 -1
  311. package/dist/index.cjs689.js.map +1 -1
  312. package/dist/index.cjs690.js +1 -1
  313. package/dist/index.cjs690.js.map +1 -1
  314. package/dist/index.cjs691.js +7 -1
  315. package/dist/index.cjs691.js.map +1 -1
  316. package/dist/index.cjs692.js +1 -2
  317. package/dist/index.cjs692.js.map +1 -1
  318. package/dist/index.cjs693.js +1 -1
  319. package/dist/index.cjs693.js.map +1 -1
  320. package/dist/index.cjs694.js +1 -2
  321. package/dist/index.cjs694.js.map +1 -1
  322. package/dist/index.cjs695.js +2 -3
  323. package/dist/index.cjs695.js.map +1 -1
  324. package/dist/index.cjs696.js +1 -4
  325. package/dist/index.cjs696.js.map +1 -1
  326. package/dist/index.cjs697.js +2 -1
  327. package/dist/index.cjs697.js.map +1 -1
  328. package/dist/index.cjs698.js +3 -1
  329. package/dist/index.cjs698.js.map +1 -1
  330. package/dist/index.cjs699.js +4 -1
  331. package/dist/index.cjs699.js.map +1 -1
  332. package/dist/index.cjs7.js +1 -1
  333. package/dist/index.cjs700.js +1 -1
  334. package/dist/index.cjs700.js.map +1 -1
  335. package/dist/index.cjs701.js +1 -1
  336. package/dist/index.cjs701.js.map +1 -1
  337. package/dist/index.cjs702.js +1 -1
  338. package/dist/index.cjs702.js.map +1 -1
  339. package/dist/index.cjs703.js +1 -1
  340. package/dist/index.cjs703.js.map +1 -1
  341. package/dist/index.cjs704.js +1 -1
  342. package/dist/index.cjs704.js.map +1 -1
  343. package/dist/index.cjs705.js +1 -1
  344. package/dist/index.cjs705.js.map +1 -1
  345. package/dist/index.cjs707.js +1 -1
  346. package/dist/index.cjs71.js +1 -1
  347. package/dist/index.cjs710.js +1 -1
  348. package/dist/index.cjs712.js +1 -1
  349. package/dist/index.cjs715.js +1 -1
  350. package/dist/index.cjs716.js +1 -1
  351. package/dist/index.cjs717.js +1 -1
  352. package/dist/index.cjs72.js +1 -1
  353. package/dist/index.cjs724.js +1 -1
  354. package/dist/index.cjs729.js +1 -1
  355. package/dist/index.cjs73.js +1 -1
  356. package/dist/index.cjs731.js +1 -1
  357. package/dist/index.cjs733.js +1 -1
  358. package/dist/index.cjs735.js +1 -1
  359. package/dist/index.cjs737.js +1 -1
  360. package/dist/index.cjs737.js.map +1 -1
  361. package/dist/index.cjs738.js +1 -1
  362. package/dist/index.cjs738.js.map +1 -1
  363. package/dist/index.cjs739.js +1 -1
  364. package/dist/index.cjs740.js +1 -1
  365. package/dist/index.cjs740.js.map +1 -1
  366. package/dist/index.cjs741.js +1 -1
  367. package/dist/index.cjs741.js.map +1 -1
  368. package/dist/index.cjs742.js +1 -6
  369. package/dist/index.cjs742.js.map +1 -1
  370. package/dist/index.cjs743.js +1 -1
  371. package/dist/index.cjs743.js.map +1 -1
  372. package/dist/index.cjs744.js +2 -12
  373. package/dist/index.cjs744.js.map +1 -1
  374. package/dist/index.cjs745.js +1 -1
  375. package/dist/index.cjs745.js.map +1 -1
  376. package/dist/index.cjs746.js +1 -1
  377. package/dist/index.cjs746.js.map +1 -1
  378. package/dist/index.cjs747.js +1 -1
  379. package/dist/index.cjs747.js.map +1 -1
  380. package/dist/index.cjs748.js +1 -1
  381. package/dist/index.cjs748.js.map +1 -1
  382. package/dist/index.cjs749.js +1 -1
  383. package/dist/index.cjs749.js.map +1 -1
  384. package/dist/index.cjs750.js +1 -1
  385. package/dist/index.cjs750.js.map +1 -1
  386. package/dist/index.cjs751.js +1 -1
  387. package/dist/index.cjs751.js.map +1 -1
  388. package/dist/index.cjs752.js +1 -1
  389. package/dist/index.cjs752.js.map +1 -1
  390. package/dist/index.cjs753.js +1 -1
  391. package/dist/index.cjs754.js +1 -2
  392. package/dist/index.cjs754.js.map +1 -1
  393. package/dist/index.cjs755.js +1 -1
  394. package/dist/index.cjs755.js.map +1 -1
  395. package/dist/index.cjs756.js +6 -1
  396. package/dist/index.cjs756.js.map +1 -1
  397. package/dist/index.cjs757.js +1 -1
  398. package/dist/index.cjs757.js.map +1 -1
  399. package/dist/index.cjs758.js +12 -1
  400. package/dist/index.cjs758.js.map +1 -1
  401. package/dist/index.cjs759.js +1 -1
  402. package/dist/index.cjs759.js.map +1 -1
  403. package/dist/index.cjs76.js +1 -1
  404. package/dist/index.cjs760.js +1 -1
  405. package/dist/index.cjs760.js.map +1 -1
  406. package/dist/index.cjs764.js +1 -1
  407. package/dist/index.cjs764.js.map +1 -1
  408. package/dist/index.cjs765.js +1 -1
  409. package/dist/index.cjs765.js.map +1 -1
  410. package/dist/index.cjs766.js +1 -1
  411. package/dist/index.cjs766.js.map +1 -1
  412. package/dist/index.cjs767.js +1 -1
  413. package/dist/index.cjs767.js.map +1 -1
  414. package/dist/index.cjs768.js +1 -1
  415. package/dist/index.cjs768.js.map +1 -1
  416. package/dist/index.cjs77.js +1 -1
  417. package/dist/index.cjs774.js +38 -1
  418. package/dist/index.cjs774.js.map +1 -1
  419. package/dist/index.cjs775.js +1 -1
  420. package/dist/index.cjs775.js.map +1 -1
  421. package/dist/index.cjs776.js +1 -1
  422. package/dist/index.cjs776.js.map +1 -1
  423. package/dist/index.cjs777.js +1 -1
  424. package/dist/index.cjs777.js.map +1 -1
  425. package/dist/index.cjs778.js +1 -1
  426. package/dist/index.cjs778.js.map +1 -1
  427. package/dist/index.cjs779.js +1 -1
  428. package/dist/index.cjs779.js.map +1 -1
  429. package/dist/index.cjs78.js +1 -1
  430. package/dist/index.cjs780.js +1 -1
  431. package/dist/index.cjs780.js.map +1 -1
  432. package/dist/index.cjs781.js +1 -1
  433. package/dist/index.cjs781.js.map +1 -1
  434. package/dist/index.cjs782.js +1 -1
  435. package/dist/index.cjs782.js.map +1 -1
  436. package/dist/index.cjs784.js +1 -1
  437. package/dist/index.cjs784.js.map +1 -1
  438. package/dist/index.cjs785.js +1 -1
  439. package/dist/index.cjs785.js.map +1 -1
  440. package/dist/index.cjs79.js +1 -1
  441. package/dist/index.cjs791.js +1 -38
  442. package/dist/index.cjs791.js.map +1 -1
  443. package/dist/index.cjs792.js +1 -1
  444. package/dist/index.cjs792.js.map +1 -1
  445. package/dist/index.cjs793.js +1 -1
  446. package/dist/index.cjs793.js.map +1 -1
  447. package/dist/index.cjs794.js +1 -1
  448. package/dist/index.cjs794.js.map +1 -1
  449. package/dist/index.cjs795.js +1 -1
  450. package/dist/index.cjs795.js.map +1 -1
  451. package/dist/index.cjs8.js +1 -1
  452. package/dist/index.cjs80.js +1 -1
  453. package/dist/index.cjs803.js +1 -1
  454. package/dist/index.cjs81.js +1 -1
  455. package/dist/index.cjs82.js +1 -1
  456. package/dist/index.cjs88.js +1 -1
  457. package/dist/index.cjs9.js +1 -1
  458. package/dist/index.cjs93.js +1 -1
  459. package/dist/index.cjs95.js +1 -1
  460. package/dist/index.cjs96.js +1 -1
  461. package/dist/index.es104.js +1 -1
  462. package/dist/index.es105.js +1 -1
  463. package/dist/index.es109.js +1 -1
  464. package/dist/index.es11.js +1 -1
  465. package/dist/index.es110.js +1 -1
  466. package/dist/index.es112.js +1 -1
  467. package/dist/index.es117.js +1 -1
  468. package/dist/index.es118.js +1 -1
  469. package/dist/index.es119.js +1 -1
  470. package/dist/index.es121.js +1 -1
  471. package/dist/index.es122.js +1 -1
  472. package/dist/index.es123.js +1 -1
  473. package/dist/index.es127.js +1 -1
  474. package/dist/index.es128.js +1 -1
  475. package/dist/index.es13.js +1 -1
  476. package/dist/index.es130.js +1 -1
  477. package/dist/index.es138.js +1 -1
  478. package/dist/index.es14.js +3 -3
  479. package/dist/index.es142.js +1 -1
  480. package/dist/index.es143.js +1 -1
  481. package/dist/index.es144.js +1 -1
  482. package/dist/index.es145.js +1 -1
  483. package/dist/index.es146.js +1 -1
  484. package/dist/index.es147.js +1 -1
  485. package/dist/index.es148.js +1 -1
  486. package/dist/index.es149.js +1 -1
  487. package/dist/index.es150.js +1 -1
  488. package/dist/index.es151.js +1 -1
  489. package/dist/index.es152.js +1 -1
  490. package/dist/index.es160.js +1 -1
  491. package/dist/index.es161.js +3 -3
  492. package/dist/index.es167.js +3 -3
  493. package/dist/index.es168.js +1 -1
  494. package/dist/index.es171.js +1 -1
  495. package/dist/index.es179.js +1 -1
  496. package/dist/index.es18.js +1 -1
  497. package/dist/index.es187.js +1 -1
  498. package/dist/index.es188.js +1 -1
  499. package/dist/index.es189.js +1 -1
  500. package/dist/index.es19.js +1 -1
  501. package/dist/index.es191.js +1 -1
  502. package/dist/index.es193.js +1 -1
  503. package/dist/index.es194.js +1 -1
  504. package/dist/index.es197.js +1 -1
  505. package/dist/index.es198.js +1 -1
  506. package/dist/index.es20.js +1 -1
  507. package/dist/index.es203.js +1 -1
  508. package/dist/index.es204.js +1 -1
  509. package/dist/index.es205.js +1 -1
  510. package/dist/index.es208.js +1 -1
  511. package/dist/index.es209.js +1 -1
  512. package/dist/index.es210.js +1 -1
  513. package/dist/index.es211.js +1 -1
  514. package/dist/index.es214.js +1 -1
  515. package/dist/index.es216.js +1 -1
  516. package/dist/index.es219.js +1 -1
  517. package/dist/index.es22.js +1 -1
  518. package/dist/index.es223.js +1 -1
  519. package/dist/index.es227.js +1 -1
  520. package/dist/index.es23.js +1 -1
  521. package/dist/index.es231.js +1 -1
  522. package/dist/index.es233.js +1 -1
  523. package/dist/index.es234.js +1 -1
  524. package/dist/index.es236.js +1 -1
  525. package/dist/index.es237.js +1 -1
  526. package/dist/index.es238.js +1 -1
  527. package/dist/index.es239.js +1 -1
  528. package/dist/index.es24.js +1 -1
  529. package/dist/index.es240.js +1 -1
  530. package/dist/index.es241.js +1 -1
  531. package/dist/index.es242.js +1 -1
  532. package/dist/index.es253.js +1 -1
  533. package/dist/index.es26.js +3 -3
  534. package/dist/index.es262.js +1 -1
  535. package/dist/index.es264.js +1 -1
  536. package/dist/index.es265.js +1 -1
  537. package/dist/index.es267.js +1 -1
  538. package/dist/index.es270.js +50 -50
  539. package/dist/index.es270.js.map +1 -1
  540. package/dist/index.es271.js +1 -1
  541. package/dist/index.es275.js +1 -1
  542. package/dist/index.es276.js +1 -1
  543. package/dist/index.es277.js +1 -1
  544. package/dist/index.es28.js +1 -1
  545. package/dist/index.es313.js +5 -0
  546. package/dist/index.es313.js.map +1 -0
  547. package/dist/{index.es314.js → index.es315.js} +1 -1
  548. package/dist/{index.es314.js.map → index.es315.js.map} +1 -1
  549. package/dist/index.es319.js +134 -187
  550. package/dist/index.es319.js.map +1 -1
  551. package/dist/index.es320.js +200 -27
  552. package/dist/index.es320.js.map +1 -1
  553. package/dist/index.es321.js +31 -0
  554. package/dist/index.es321.js.map +1 -0
  555. package/dist/{index.es326.js → index.es327.js} +2 -2
  556. package/dist/{index.es326.js.map → index.es327.js.map} +1 -1
  557. package/dist/index.es329.js +8 -28
  558. package/dist/index.es329.js.map +1 -1
  559. package/dist/index.es330.js +32 -0
  560. package/dist/index.es330.js.map +1 -0
  561. package/dist/index.es332.js +22 -3
  562. package/dist/index.es332.js.map +1 -1
  563. package/dist/index.es333.js +2 -2
  564. package/dist/index.es334.js +6 -0
  565. package/dist/index.es334.js.map +1 -0
  566. package/dist/index.es336.js +2 -0
  567. package/dist/index.es336.js.map +1 -0
  568. package/dist/index.es340.js +26 -17
  569. package/dist/index.es340.js.map +1 -1
  570. package/dist/index.es341.js +17 -4
  571. package/dist/index.es341.js.map +1 -1
  572. package/dist/index.es342.js +7 -0
  573. package/dist/index.es342.js.map +1 -0
  574. package/dist/{index.es345.js → index.es346.js} +5 -5
  575. package/dist/{index.es345.js.map → index.es346.js.map} +1 -1
  576. package/dist/index.es35.js +1 -1
  577. package/dist/index.es350.js +3 -21
  578. package/dist/index.es350.js.map +1 -1
  579. package/dist/index.es351.js +20 -5
  580. package/dist/index.es351.js.map +1 -1
  581. package/dist/index.es352.js +6 -2
  582. package/dist/index.es352.js.map +1 -1
  583. package/dist/index.es355.js +14 -14
  584. package/dist/index.es36.js +1 -1
  585. package/dist/index.es38.js +1 -1
  586. package/dist/index.es381.js +8 -8
  587. package/dist/index.es39.js +1 -1
  588. package/dist/index.es4.js +1 -1
  589. package/dist/index.es434.js +6 -6
  590. package/dist/index.es445.js +1 -1
  591. package/dist/index.es487.js +1 -1
  592. package/dist/index.es488.js +1 -1
  593. package/dist/index.es495.js +7 -7
  594. package/dist/index.es50.js +1 -1
  595. package/dist/index.es514.js +1 -1
  596. package/dist/index.es515.js +1 -1
  597. package/dist/index.es53.js +1 -1
  598. package/dist/index.es530.js +66 -5
  599. package/dist/index.es530.js.map +1 -1
  600. package/dist/index.es531.js +24 -54
  601. package/dist/index.es531.js.map +1 -1
  602. package/dist/index.es532.js +9 -2
  603. package/dist/index.es532.js.map +1 -1
  604. package/dist/index.es533.js +60 -0
  605. package/dist/index.es533.js.map +1 -0
  606. package/dist/index.es534.js +14 -0
  607. package/dist/index.es534.js.map +1 -0
  608. package/dist/{index.es546.js → index.es535.js} +2 -2
  609. package/dist/{index.es546.js.map → index.es535.js.map} +1 -1
  610. package/dist/index.es536.js +128 -0
  611. package/dist/index.es536.js.map +1 -0
  612. package/dist/index.es537.js +138 -0
  613. package/dist/index.es537.js.map +1 -0
  614. package/dist/index.es538.js +14 -21
  615. package/dist/index.es538.js.map +1 -1
  616. package/dist/index.es539.js +69 -2
  617. package/dist/index.es539.js.map +1 -1
  618. package/dist/index.es54.js +1 -1
  619. package/dist/index.es540.js +33 -54
  620. package/dist/index.es540.js.map +1 -1
  621. package/dist/index.es541.js +14 -219
  622. package/dist/index.es541.js.map +1 -1
  623. package/dist/index.es542.js +9 -74
  624. package/dist/index.es542.js.map +1 -1
  625. package/dist/index.es543.js +50 -2
  626. package/dist/index.es543.js.map +1 -1
  627. package/dist/index.es550.js +2 -36
  628. package/dist/index.es550.js.map +1 -1
  629. package/dist/index.es551.js +20 -10
  630. package/dist/index.es551.js.map +1 -1
  631. package/dist/index.es552.js +2 -125
  632. package/dist/index.es552.js.map +1 -1
  633. package/dist/index.es553.js +54 -134
  634. package/dist/index.es553.js.map +1 -1
  635. package/dist/index.es554.js +220 -14
  636. package/dist/index.es554.js.map +1 -1
  637. package/dist/index.es555.js +73 -14
  638. package/dist/index.es555.js.map +1 -1
  639. package/dist/index.es556.js +2 -9
  640. package/dist/index.es556.js.map +1 -1
  641. package/dist/index.es557.js +6 -50
  642. package/dist/index.es557.js.map +1 -1
  643. package/dist/{index.es548.js → index.es558.js} +2 -2
  644. package/dist/{index.es548.js.map → index.es558.js.map} +1 -1
  645. package/dist/index.es576.js +13 -13
  646. package/dist/index.es581.js +1 -1
  647. package/dist/index.es582.js +1 -1
  648. package/dist/index.es583.js +1 -1
  649. package/dist/index.es584.js +1 -1
  650. package/dist/index.es585.js +1 -1
  651. package/dist/index.es586.js +1 -1
  652. package/dist/index.es587.js +1 -1
  653. package/dist/index.es588.js +1 -1
  654. package/dist/index.es589.js +1 -1
  655. package/dist/index.es590.js +1 -1
  656. package/dist/index.es591.js +1 -1
  657. package/dist/index.es592.js +1 -1
  658. package/dist/index.es593.js +1 -1
  659. package/dist/index.es594.js +1 -1
  660. package/dist/index.es595.js +1 -1
  661. package/dist/index.es596.js +1 -1
  662. package/dist/index.es597.js +1 -1
  663. package/dist/index.es598.js +1 -1
  664. package/dist/index.es599.js +1 -1
  665. package/dist/index.es6.js +1 -1
  666. package/dist/index.es600.js +1 -1
  667. package/dist/index.es601.js +1 -1
  668. package/dist/index.es602.js +1 -1
  669. package/dist/index.es603.js +1 -1
  670. package/dist/index.es604.js +1 -1
  671. package/dist/index.es605.js +1 -1
  672. package/dist/index.es606.js +1 -1
  673. package/dist/index.es607.js +1 -1
  674. package/dist/index.es608.js +1 -1
  675. package/dist/index.es609.js +1 -1
  676. package/dist/index.es610.js +1 -1
  677. package/dist/index.es611.js +1 -1
  678. package/dist/index.es612.js +1 -1
  679. package/dist/index.es613.js +1 -1
  680. package/dist/index.es614.js +1 -1
  681. package/dist/index.es615.js +1 -1
  682. package/dist/index.es616.js +1 -1
  683. package/dist/index.es618.js +4 -83
  684. package/dist/index.es618.js.map +1 -1
  685. package/dist/index.es619.js +14 -0
  686. package/dist/index.es619.js.map +1 -0
  687. package/dist/index.es620.js +12 -4
  688. package/dist/index.es620.js.map +1 -1
  689. package/dist/index.es621.js +82 -10
  690. package/dist/index.es621.js.map +1 -1
  691. package/dist/index.es623.js +3 -3
  692. package/dist/index.es625.js +9 -9
  693. package/dist/index.es626.js +7 -7
  694. package/dist/index.es627.js +2 -36
  695. package/dist/index.es627.js.map +1 -1
  696. package/dist/{index.es663.js → index.es628.js} +1 -1
  697. package/dist/index.es628.js.map +1 -0
  698. package/dist/index.es629.js +2 -6
  699. package/dist/index.es629.js.map +1 -1
  700. package/dist/index.es630.js +2 -596
  701. package/dist/index.es630.js.map +1 -1
  702. package/dist/index.es631.js +2 -714
  703. package/dist/index.es631.js.map +1 -1
  704. package/dist/index.es632.js +2 -70
  705. package/dist/index.es632.js.map +1 -1
  706. package/dist/index.es633.js +2 -9
  707. package/dist/index.es633.js.map +1 -1
  708. package/dist/index.es634.js +2 -21
  709. package/dist/index.es634.js.map +1 -1
  710. package/dist/index.es635.js +2 -77
  711. package/dist/index.es635.js.map +1 -1
  712. package/dist/index.es636.js +2 -69
  713. package/dist/index.es636.js.map +1 -1
  714. package/dist/index.es637.js +2 -50
  715. package/dist/index.es637.js.map +1 -1
  716. package/dist/index.es639.js +2 -2
  717. package/dist/index.es640.js +2 -2
  718. package/dist/index.es641.js +2 -2
  719. package/dist/index.es642.js +2 -2
  720. package/dist/index.es643.js +2 -2
  721. package/dist/index.es644.js +2 -2
  722. package/dist/index.es645.js +2 -2
  723. package/dist/index.es646.js +2 -2
  724. package/dist/index.es647.js +2 -2
  725. package/dist/index.es649.js +2 -2
  726. package/dist/index.es65.js +2 -8
  727. package/dist/index.es65.js.map +1 -1
  728. package/dist/index.es650.js +2 -2
  729. package/dist/index.es651.js +2 -2
  730. package/dist/index.es653.js +2 -2
  731. package/dist/index.es654.js +2 -2
  732. package/dist/index.es656.js +2 -2
  733. package/dist/index.es657.js +2 -2
  734. package/dist/index.es658.js +2 -2
  735. package/dist/index.es662.js +2 -2
  736. package/dist/index.es664.js +36 -2
  737. package/dist/index.es664.js.map +1 -1
  738. package/dist/index.es665.js +6 -2
  739. package/dist/index.es665.js.map +1 -1
  740. package/dist/index.es666.js +596 -2
  741. package/dist/index.es666.js.map +1 -1
  742. package/dist/index.es667.js +714 -2
  743. package/dist/index.es667.js.map +1 -1
  744. package/dist/index.es668.js +70 -2
  745. package/dist/index.es668.js.map +1 -1
  746. package/dist/index.es669.js +9 -2
  747. package/dist/index.es669.js.map +1 -1
  748. package/dist/index.es670.js +21 -2
  749. package/dist/index.es670.js.map +1 -1
  750. package/dist/index.es671.js +77 -2
  751. package/dist/index.es671.js.map +1 -1
  752. package/dist/index.es672.js +69 -2
  753. package/dist/index.es672.js.map +1 -1
  754. package/dist/index.es673.js +50 -2
  755. package/dist/index.es673.js.map +1 -1
  756. package/dist/index.es677.js +230 -2
  757. package/dist/index.es677.js.map +1 -1
  758. package/dist/index.es678.js +21 -257
  759. package/dist/index.es678.js.map +1 -1
  760. package/dist/index.es679.js +399 -83
  761. package/dist/index.es679.js.map +1 -1
  762. package/dist/index.es68.js +1 -1
  763. package/dist/index.es680.js +2 -341
  764. package/dist/index.es680.js.map +1 -1
  765. package/dist/index.es681.js +257 -15
  766. package/dist/index.es681.js.map +1 -1
  767. package/dist/index.es682.js +83 -39
  768. package/dist/index.es682.js.map +1 -1
  769. package/dist/index.es683.js +341 -2
  770. package/dist/index.es683.js.map +1 -1
  771. package/dist/index.es684.js +16 -2
  772. package/dist/index.es684.js.map +1 -1
  773. package/dist/index.es685.js +40 -19
  774. package/dist/index.es685.js.map +1 -1
  775. package/dist/index.es686.js +2 -14
  776. package/dist/index.es686.js.map +1 -1
  777. package/dist/index.es687.js +2 -221
  778. package/dist/index.es687.js.map +1 -1
  779. package/dist/index.es688.js +15 -49
  780. package/dist/index.es688.js.map +1 -1
  781. package/dist/index.es689.js +10 -13
  782. package/dist/index.es689.js.map +1 -1
  783. package/dist/index.es690.js +218 -18
  784. package/dist/index.es690.js.map +1 -1
  785. package/dist/index.es691.js +49 -39
  786. package/dist/index.es691.js.map +1 -1
  787. package/dist/index.es692.js +14 -134
  788. package/dist/index.es692.js.map +1 -1
  789. package/dist/index.es693.js +18 -341
  790. package/dist/index.es693.js.map +1 -1
  791. package/dist/index.es694.js +42 -21
  792. package/dist/index.es694.js.map +1 -1
  793. package/dist/index.es695.js +124 -244
  794. package/dist/index.es695.js.map +1 -1
  795. package/dist/index.es696.js +342 -21
  796. package/dist/index.es696.js.map +1 -1
  797. package/dist/index.es697.js +21 -39
  798. package/dist/index.es697.js.map +1 -1
  799. package/dist/index.es698.js +254 -25
  800. package/dist/index.es698.js.map +1 -1
  801. package/dist/index.es699.js +20 -33
  802. package/dist/index.es699.js.map +1 -1
  803. package/dist/index.es7.js +2 -2
  804. package/dist/index.es700.js +36 -17
  805. package/dist/index.es700.js.map +1 -1
  806. package/dist/index.es701.js +26 -10
  807. package/dist/index.es701.js.map +1 -1
  808. package/dist/index.es702.js +31 -18
  809. package/dist/index.es702.js.map +1 -1
  810. package/dist/index.es703.js +18 -226
  811. package/dist/index.es703.js.map +1 -1
  812. package/dist/index.es704.js +12 -22
  813. package/dist/index.es704.js.map +1 -1
  814. package/dist/index.es705.js +18 -396
  815. package/dist/index.es705.js.map +1 -1
  816. package/dist/index.es707.js +3 -3
  817. package/dist/index.es71.js +1 -1
  818. package/dist/index.es710.js +3 -3
  819. package/dist/index.es712.js +1 -1
  820. package/dist/index.es715.js +2 -2
  821. package/dist/index.es716.js +1 -1
  822. package/dist/index.es717.js +14 -14
  823. package/dist/index.es72.js +1 -1
  824. package/dist/index.es724.js +7 -7
  825. package/dist/index.es729.js +7 -7
  826. package/dist/index.es73.js +1 -1
  827. package/dist/index.es731.js +1 -1
  828. package/dist/index.es733.js +1 -1
  829. package/dist/index.es735.js +4 -4
  830. package/dist/index.es737.js +2 -6
  831. package/dist/index.es737.js.map +1 -1
  832. package/dist/index.es738.js +224 -10
  833. package/dist/index.es738.js.map +1 -1
  834. package/dist/index.es739.js +2 -4
  835. package/dist/index.es739.js.map +1 -1
  836. package/dist/index.es740.js +354 -87
  837. package/dist/index.es740.js.map +1 -1
  838. package/dist/index.es741.js +2 -18
  839. package/dist/index.es741.js.map +1 -1
  840. package/dist/index.es742.js +2 -180
  841. package/dist/index.es742.js.map +1 -1
  842. package/dist/index.es743.js +2 -10
  843. package/dist/index.es743.js.map +1 -1
  844. package/dist/index.es744.js +30 -190
  845. package/dist/index.es744.js.map +1 -1
  846. package/dist/index.es745.js +43 -317
  847. package/dist/index.es745.js.map +1 -1
  848. package/dist/index.es746.js +55 -88
  849. package/dist/index.es746.js.map +1 -1
  850. package/dist/index.es747.js +61 -2
  851. package/dist/index.es747.js.map +1 -1
  852. package/dist/index.es748.js +70 -222
  853. package/dist/index.es748.js.map +1 -1
  854. package/dist/index.es749.js +52 -2
  855. package/dist/index.es749.js.map +1 -1
  856. package/dist/index.es750.js +80 -347
  857. package/dist/index.es750.js.map +1 -1
  858. package/dist/index.es751.js +6 -2
  859. package/dist/index.es751.js.map +1 -1
  860. package/dist/index.es752.js +11 -2
  861. package/dist/index.es752.js.map +1 -1
  862. package/dist/index.es753.js +4 -2
  863. package/dist/index.es753.js.map +1 -1
  864. package/dist/index.es754.js +87 -31
  865. package/dist/index.es754.js.map +1 -1
  866. package/dist/index.es755.js +17 -45
  867. package/dist/index.es755.js.map +1 -1
  868. package/dist/index.es756.js +176 -55
  869. package/dist/index.es756.js.map +1 -1
  870. package/dist/index.es757.js +9 -60
  871. package/dist/index.es757.js.map +1 -1
  872. package/dist/index.es758.js +190 -69
  873. package/dist/index.es758.js.map +1 -1
  874. package/dist/index.es759.js +315 -47
  875. package/dist/index.es759.js.map +1 -1
  876. package/dist/index.es76.js +1 -1
  877. package/dist/index.es760.js +89 -87
  878. package/dist/index.es760.js.map +1 -1
  879. package/dist/index.es764.js +2 -6
  880. package/dist/index.es764.js.map +1 -1
  881. package/dist/index.es765.js +2 -16
  882. package/dist/index.es765.js.map +1 -1
  883. package/dist/index.es766.js +2 -2
  884. package/dist/index.es766.js.map +1 -1
  885. package/dist/index.es767.js +6 -2
  886. package/dist/index.es767.js.map +1 -1
  887. package/dist/index.es768.js +16 -2
  888. package/dist/index.es768.js.map +1 -1
  889. package/dist/index.es77.js +1 -1
  890. package/dist/index.es774.js +69 -2
  891. package/dist/index.es774.js.map +1 -1
  892. package/dist/index.es775.js +9 -2
  893. package/dist/index.es775.js.map +1 -1
  894. package/dist/index.es776.js +14 -2
  895. package/dist/index.es776.js.map +1 -1
  896. package/dist/index.es777.js +65 -111
  897. package/dist/index.es777.js.map +1 -1
  898. package/dist/index.es778.js +65 -2
  899. package/dist/index.es778.js.map +1 -1
  900. package/dist/index.es779.js +2 -11
  901. package/dist/index.es779.js.map +1 -1
  902. package/dist/index.es78.js +1 -1
  903. package/dist/index.es780.js +8 -8
  904. package/dist/index.es780.js.map +1 -1
  905. package/dist/index.es781.js +10 -53
  906. package/dist/index.es781.js.map +1 -1
  907. package/dist/index.es782.js +54 -2
  908. package/dist/index.es782.js.map +1 -1
  909. package/dist/index.es783.js +2 -2
  910. package/dist/index.es784.js +2 -145
  911. package/dist/index.es784.js.map +1 -1
  912. package/dist/index.es785.js +145 -2
  913. package/dist/index.es785.js.map +1 -1
  914. package/dist/index.es786.js +2 -2
  915. package/dist/index.es787.js +2 -2
  916. package/dist/index.es788.js +2 -2
  917. package/dist/index.es789.js +2 -2
  918. package/dist/index.es79.js +1 -1
  919. package/dist/index.es791.js +2 -69
  920. package/dist/index.es791.js.map +1 -1
  921. package/dist/index.es792.js +2 -9
  922. package/dist/index.es792.js.map +1 -1
  923. package/dist/index.es793.js +2 -14
  924. package/dist/index.es793.js.map +1 -1
  925. package/dist/index.es794.js +2 -66
  926. package/dist/index.es794.js.map +1 -1
  927. package/dist/index.es795.js +108 -61
  928. package/dist/index.es795.js.map +1 -1
  929. package/dist/index.es8.js +2 -2
  930. package/dist/index.es80.js +1 -1
  931. package/dist/index.es803.js +1 -1
  932. package/dist/index.es81.js +1 -1
  933. package/dist/index.es82.js +1 -1
  934. package/dist/index.es88.js +1 -1
  935. package/dist/index.es9.js +1 -1
  936. package/dist/index.es93.js +1 -1
  937. package/dist/index.es95.js +1 -1
  938. package/dist/index.es96.js +1 -1
  939. package/dist/sections/FaqSections/FaqSections.css +1 -1
  940. package/package.json +2 -2
  941. package/dist/index.cjs318.js +0 -2
  942. package/dist/index.cjs318.js.map +0 -1
  943. package/dist/index.cjs328.js +0 -2
  944. package/dist/index.cjs328.js.map +0 -1
  945. package/dist/index.cjs331.js +0 -2
  946. package/dist/index.cjs331.js.map +0 -1
  947. package/dist/index.cjs335.js +0 -2
  948. package/dist/index.cjs335.js.map +0 -1
  949. package/dist/index.cjs339.js +0 -2
  950. package/dist/index.cjs339.js.map +0 -1
  951. package/dist/index.cjs349.js +0 -2
  952. package/dist/index.cjs349.js.map +0 -1
  953. package/dist/index.cjs528.js +0 -2
  954. package/dist/index.cjs528.js.map +0 -1
  955. package/dist/index.cjs529.js +0 -2
  956. package/dist/index.cjs529.js.map +0 -1
  957. package/dist/index.cjs547.js +0 -2
  958. package/dist/index.cjs547.js.map +0 -1
  959. package/dist/index.cjs549.js +0 -2
  960. package/dist/index.cjs549.js.map +0 -1
  961. package/dist/index.cjs622.js +0 -2
  962. package/dist/index.cjs622.js.map +0 -1
  963. package/dist/index.cjs663.js.map +0 -1
  964. package/dist/index.es318.js +0 -151
  965. package/dist/index.es318.js.map +0 -1
  966. package/dist/index.es328.js +0 -12
  967. package/dist/index.es328.js.map +0 -1
  968. package/dist/index.es331.js +0 -25
  969. package/dist/index.es331.js.map +0 -1
  970. package/dist/index.es335.js +0 -2
  971. package/dist/index.es335.js.map +0 -1
  972. package/dist/index.es339.js +0 -29
  973. package/dist/index.es339.js.map +0 -1
  974. package/dist/index.es349.js +0 -6
  975. package/dist/index.es349.js.map +0 -1
  976. package/dist/index.es528.js +0 -71
  977. package/dist/index.es528.js.map +0 -1
  978. package/dist/index.es529.js +0 -30
  979. package/dist/index.es529.js.map +0 -1
  980. package/dist/index.es547.js +0 -9
  981. package/dist/index.es547.js.map +0 -1
  982. package/dist/index.es549.js +0 -72
  983. package/dist/index.es549.js.map +0 -1
  984. package/dist/index.es622.js +0 -15
  985. package/dist/index.es622.js.map +0 -1
  986. package/dist/index.es663.js.map +0 -1
  987. /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";const s=require("./index.cjs278.js"),o=require("./index.cjs280.js"),x=require("./index.cjs23.js"),c=require("./index.cjs19.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
- //# sourceMappingURL=index.cjs328.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs328.js","sources":["../src/components/ui/Accordion/AccordionStepper/ToggleContent/ToggleContent.tsx"],"sourcesContent":["import { ArrowDown, ArrowTop } from \"@/icons\";\nimport { ToggleLabel } from \"../types\";\nimport clsx from \"clsx\";\n\ntype Props = {\n className?: string;\n isOpen: boolean;\n onClick: () => void;\n toggleLabels: ToggleLabel;\n};\n\nconst ToggleContent = ({ isOpen, onClick, className, toggleLabels }: Props) => {\n return (\n <button className={clsx(\"\", className)} onClick={onClick}>\n {isOpen ? toggleLabels.closeLabel : toggleLabels.activeLabel}\n <span className=\"arrow\">{isOpen ? <ArrowTop /> : <ArrowDown />}</span>\n </button>\n );\n};\n\nexport default ToggleContent;\n"],"names":["ToggleContent","isOpen","onClick","className","toggleLabels","clsx","jsx","ArrowTop","ArrowDown"],"mappings":"6IAWMA,EAAgB,CAAC,CAAE,OAAAC,EAAQ,QAAAC,EAAS,UAAAC,EAAW,aAAAC,8BAEhD,SAAA,CAAO,UAAWC,EAAAA,KAAK,GAAIF,CAAS,EAAG,QAAAD,EACrC,SAAA,CAAAD,EAASG,EAAa,WAAaA,EAAa,YACjDE,EAAAA,kBAAAA,IAAC,OAAA,CAAK,UAAU,QAAS,SAAAL,0BAAUM,EAAAA,SAAA,CAAA,CAAS,EAAKD,EAAAA,kBAAAA,IAACE,EAAAA,UAAA,CAAA,CAAU,CAAA,CAAG,CAAA,EACjE"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");require("./index.cjs532.js");function n(){const[a,e]=r.useState(null),o=r.useCallback(async t=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(t),e(t),!0}catch(l){return console.warn("Copy failed",l),e(null),!1}},[]);return[a,o]}function u(a){const[e,o]=r.useState(!!a),t=r.useCallback(()=>{o(l=>!l)},[]);return[e,t,o]}exports.useCopyToClipboard=n;exports.useToggle=u;
2
- //# sourceMappingURL=index.cjs331.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs331.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error","useToggle","defaultValue","value","setValue","toggle","x"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACT,OAASC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACT,CACF,EAAG,CAAA,CAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B,CAw6BA,SAASI,EAAUC,EAAc,CAC/B,KAAM,CAACC,EAAOC,CAAQ,EAAIR,EAAAA,SAAS,CAAC,CAACM,CAAY,EAC3CG,EAASP,EAAAA,YAAY,IAAM,CAC/BM,EAAUE,GAAM,CAACA,CAAC,CACpB,EAAG,CAAA,CAAE,EACL,MAAO,CAACH,EAAOE,EAAQD,CAAQ,CACjC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.cjs335.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs335.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AddNewModal/AddNewModalHeader/AddNewModalHeader.css');const e=require("./index.cjs278.js"),s=require("./index.cjs355.js"),a=require("./index.cjs36.js");;/* empty css */const d=require("./index.cjs80.js"),r=({closeButton:i="Annulla",onCloseClick:t,children:l})=>e.jsxRuntimeExports.jsxs("header",{className:"ui-add-new-modal-header bg-white",children:[e.jsxRuntimeExports.jsx(s.Title,{className:"fs-7 md-fs-custom text-slate-20 fw-bold",children:l}),e.jsxRuntimeExports.jsx(s.Close,{asChild:!0,className:"ui-add-new-modal-header-close",children:e.jsxRuntimeExports.jsxs(a.Button,{size:"4",variant:"closeModal","aria-label":"Chiudi modale",onClick:t,children:[e.jsxRuntimeExports.jsx("div",{className:"close-label-mobile",children:i}),e.jsxRuntimeExports.jsx(d.Close,{className:"ml-x8",width:32,height:32})]})})]});exports.AddNewModalHeader=r;
2
- //# sourceMappingURL=index.cjs339.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs339.js","sources":["../src/components/ui/AddNewModal/AddNewModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./AddNewModalHeader.scss\";\nimport { ReactNode } from \"react\";\n\ntype AddNewModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n};\n\nexport const AddNewModalHeader = ({\n closeButton = \"Annulla\",\n onCloseClick,\n children,\n}: AddNewModalHeaderProps) => {\n return (\n <header className=\"ui-add-new-modal-header bg-white\">\n <Dialog.Title className=\"fs-7 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-add-new-modal-header-close\">\n <Button\n size=\"4\"\n variant={\"closeModal\"}\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n <div className={\"close-label-mobile\"}>{closeButton}</div>\n <Close className=\"ml-x8\" width={32} height={32} />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["AddNewModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAYaA,EAAoB,CAAC,CAChC,YAAAC,EAAc,UACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAAA,kBAAAA,KAAC,SAAA,CAAO,UAAU,mCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CAAA,CACH,0BACCI,EAAAA,MAAA,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAAA,kBAAAA,KAACI,EAAAA,OAAA,CACC,KAAK,IACL,QAAS,aACT,aAAW,gBACX,QAASN,EAET,SAAA,CAAAG,EAAAA,kBAAAA,IAAC,MAAA,CAAI,UAAW,qBAAuB,SAAAJ,EAAY,0BAClDQ,EAAAA,MAAA,CAAM,UAAU,QAAQ,MAAO,GAAI,OAAQ,EAAA,CAAI,CAAA,CAAA,CAAA,CAClD,CACF,CAAA,EACF"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs3.js"),r=(t,e="it")=>t?o.DateTime.fromISO(t).setLocale(e).toFormat("dd/MM/yyyy"):null;exports.fromISODateToDateFormatted=r;
2
- //# sourceMappingURL=index.cjs349.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs349.js","sources":["../src/utils/dates.ts"],"sourcesContent":["import { DateTime } from \"luxon\";\n\nexport const fromISODateToRangeFormat = (\n ISODateStartAt: string | null,\n ISODateEndAt: string | null,\n t: (key: string) => string,\n locale = \"it\",\n) => {\n if (!ISODateStartAt || !ISODateEndAt) return null;\n const startDate = DateTime.fromISO(ISODateStartAt).setLocale(locale);\n const endDate = DateTime.fromISO(ISODateEndAt).setLocale(locale);\n\n if (startDate.hasSame(endDate, \"month\")) {\n return `${t(\"from\")} ${startDate.toFormat(\"d\")} ${t(\"to\")} ${endDate.toFormat(\"d MMMM\")}`;\n }\n return `${t(\"from\")} ${startDate.toFormat(\"d MMMM\")} ${t(\"to\")} ${endDate.toFormat(\"d MMMM\")}`;\n};\n\nexport const fromISODateToDateFormatted = (\n ISODate: string | null,\n locale: string = \"it\",\n) => {\n if (!ISODate) return null;\n const date = DateTime.fromISO(ISODate).setLocale(locale);\n return date.toFormat(\"dd/MM/yyyy\");\n};\n\nexport const fromISOToFormat = (ISODate: string | null) => {\n if (!ISODate) return \" - \";\n const date = DateTime.fromISO(ISODate).setLocale(\"it\");\n return date.toFormat(\"dd/MM/yyyy\");\n};\n\nexport const formatRangeDateToISO = (startDate: string, endDate: string) => {\n const startDateTime = DateTime.fromFormat(startDate, \"yyyy-MM-dd\");\n const endDateTime = DateTime.fromFormat(endDate, \"yyyy-MM-dd\");\n\n if (!startDateTime.isValid) {\n console.error(\"Invalid start date:\", startDateTime.invalidExplanation);\n }\n\n if (!endDateTime.isValid) {\n console.error(\"Invalid end date:\", endDateTime.invalidExplanation);\n }\n\n return [\n startDateTime.startOf(\"day\").toISO() ?? \"\",\n endDateTime.endOf(\"day\").toISO() ?? \"\",\n ];\n};\n\nexport const isActiveDate = (expirationDate: string | null) => {\n if (!expirationDate) return false;\n return DateTime.fromISO(expirationDate).toMillis() > Date.now();\n};\n"],"names":["fromISODateToDateFormatted","ISODate","locale","DateTime"],"mappings":"mHAkBaA,EAA6B,CACxCC,EACAC,EAAiB,OAEZD,EACQE,EAAAA,SAAS,QAAQF,CAAO,EAAE,UAAUC,CAAM,EAC3C,SAAS,YAAY,EAFZ"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),b=require("./index.cjs278.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=P(j);function g(e,r){const t=i.createContext(r),s=c=>{const{children:n,...o}=c,u=i.useMemo(()=>o,Object.values(o));return b.jsxRuntimeExports.jsx(t.Provider,{value:u,children:n})};s.displayName=e+"Provider";function a(c){const n=i.useContext(t);if(n)return n;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function _(e,r=[]){let t=[];function s(c,n){const o=i.createContext(n),u=t.length;t=[...t,n];const f=d=>{var S;const{scope:x,children:m,...p}=d,l=((S=x==null?void 0:x[e])==null?void 0:S[u])||o,C=i.useMemo(()=>p,Object.values(p));return b.jsxRuntimeExports.jsx(l.Provider,{value:C,children:m})};f.displayName=c+"Provider";function v(d,x){var l;const m=((l=x==null?void 0:x[e])==null?void 0:l[u])||o,p=i.useContext(m);if(p)return p;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,v]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(o){const u=(o==null?void 0:o[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...o,[e]:u}}),[o,u])}};return a.scopeName=e,[s,h(a,...r)]}function h(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((o,{useScope:u,scopeName:f})=>{const d=u(c)[`__scope${f}`];return{...o,...d}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContext=g;exports.createContextScope=_;
2
- //# sourceMappingURL=index.cjs528.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs528.js","sources":["../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs529.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs529.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACT,CAAC,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAO,EAEPR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAExB,CACF,CAEJ,CACF,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
- //# sourceMappingURL=index.cjs547.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs547.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs529.js"),g=require("./index.cjs620.js");function S(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=S(y);function E(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=R(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function R(n){const[e,t]=a.useState(),r=a.useRef(null),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=E(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(CSS.escape(s.animationName));if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function v(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
- //# sourceMappingURL=index.cjs549.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs549.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs621.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
- //# sourceMappingURL=index.cjs622.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs622.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,EAAAA,eAAeH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAEzB,EACA,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,GAAM,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,GAAM,CAC5F,EAAG,CAACH,EAAiBD,CAAa,CAAC,CACrC","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs663.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,151 +0,0 @@
1
- import { j as e } from "./index.es278.js";
2
- import { Button as u } from "./index.es36.js";
3
- import { HeaderTopBanner as y } from "./index.es165.js";
4
- import { useState as w, useRef as C, useCallback as N, useEffect as h } from "react";
5
- import { clsx as s } from "./index.es280.js";
6
- import { useFocusTrap as k } from "./index.es446.js";
7
- import { Container as L } from "./index.es91.js";
8
- import './components/navigations/HeaderMobile/HeaderMobile.css';/* empty css */
9
- import { Col as E } from "./index.es82.js";
10
- import { Hamburguer as z } from "./index.es160.js";
11
- import { Row as M } from "./index.es219.js";
12
- import { Close as R } from "./index.es80.js";
13
- const J = ({
14
- shortTitle: p,
15
- menuTitle: f = "Menù",
16
- region: x,
17
- asLink: l = "a",
18
- navigatonItems: b,
19
- labels: t,
20
- loginLink: v = "/",
21
- variant: d = "default"
22
- }) => {
23
- const j = l, [i, c] = w(!1), a = "main-navigation", m = C(null);
24
- k(m, i);
25
- const o = N(() => {
26
- c(!i);
27
- }, [i]);
28
- h(() => (i ? document.body.classList.add("ui-body-overflow-hidden") : document.body.classList.remove("ui-body-overflow-hidden"), () => {
29
- document.body.classList.remove("ui-body-overflow-hidden");
30
- }), [i]), h(() => {
31
- const n = (r) => {
32
- r.key === "Escape" && i && o();
33
- };
34
- return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
35
- }, [i, o]);
36
- const g = () => {
37
- c(!1);
38
- };
39
- return /* @__PURE__ */ e.jsxs("div", { className: "sticky-header shadow", children: [
40
- /* @__PURE__ */ e.jsx(
41
- y,
42
- {
43
- asLink: l,
44
- shortTitle: p,
45
- region: x,
46
- variant: d
47
- }
48
- ),
49
- /* @__PURE__ */ e.jsxs(
50
- L,
51
- {
52
- className: s(
53
- d === "operator" ? "bg-radial" : "bg-slate-20 ",
54
- "min-h-x64 base-row align-items-center justify-content-end"
55
- ),
56
- as: "header",
57
- py: "x8",
58
- children: [
59
- /* @__PURE__ */ e.jsxs(M, { gap: "x24", alignItems: "center", justifyContent: "end", children: [
60
- /* @__PURE__ */ e.jsxs(
61
- u,
62
- {
63
- size: "3",
64
- bg: "white",
65
- textColor: "primary",
66
- href: v,
67
- asLink: "a",
68
- className: "ui-login-button-header-mobile",
69
- children: [
70
- t.login,
71
- /* @__PURE__ */ e.jsx("span", { className: "visually-hidden", children: " Accedi con Cohesion" })
72
- ]
73
- }
74
- ),
75
- /* @__PURE__ */ e.jsx(
76
- "button",
77
- {
78
- "aria-expanded": i,
79
- "aria-label": "Apri menu di navigazione",
80
- onClick: o,
81
- className: "ui-mobile-menu-toggle",
82
- "aria-controls": a,
83
- children: /* @__PURE__ */ e.jsx(z, { width: 40, height: 40, color: "white" })
84
- }
85
- )
86
- ] }),
87
- /* @__PURE__ */ e.jsxs(
88
- "nav",
89
- {
90
- id: a,
91
- "aria-label": "Menu di navigazione",
92
- className: s(i ? "ui-mobile-nav-panel" : "visually-hidden"),
93
- ref: m,
94
- children: [
95
- /* @__PURE__ */ e.jsxs(E, { className: "ui-mobile-nav-header", children: [
96
- /* @__PURE__ */ e.jsxs(
97
- u,
98
- {
99
- size: "4",
100
- textColor: "primary",
101
- bg: "transparent",
102
- onClick: o,
103
- "aria-label": "Chiudi menu di navigazione",
104
- "aria-controls": a,
105
- children: [
106
- t.closeMenu,
107
- /* @__PURE__ */ e.jsx(R, {})
108
- ]
109
- }
110
- ),
111
- /* @__PURE__ */ e.jsx("h2", { className: "fs-3 text-slate-20", children: f })
112
- ] }),
113
- /* @__PURE__ */ e.jsx("ul", { className: "list-style-none p-x16", role: "list", children: b.map((n, r) => /* @__PURE__ */ e.jsx(
114
- "li",
115
- {
116
- className: s(
117
- "ui-mobile-nav-item",
118
- n.active && "active"
119
- ),
120
- children: /* @__PURE__ */ e.jsxs(
121
- j,
122
- {
123
- href: n.href,
124
- className: s(
125
- "text-decoration-none text-primary fs-5",
126
- n.active ? "fw-bold" : "fw-normal"
127
- ),
128
- onClick: g,
129
- target: n.isNewTab ? "_blank" : void 0,
130
- rel: n.isNewTab ? "noopener noreferrer" : void 0,
131
- children: [
132
- n.label,
133
- n.active && /* @__PURE__ */ e.jsx("span", { className: "visually-hidden", children: "Attivo" })
134
- ]
135
- }
136
- )
137
- },
138
- r
139
- )) })
140
- ]
141
- }
142
- )
143
- ]
144
- }
145
- )
146
- ] });
147
- };
148
- export {
149
- J as HeaderMobile
150
- };
151
- //# sourceMappingURL=index.es318.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es318.js","sources":["../src/components/navigations/HeaderMobile/index.tsx"],"sourcesContent":["\"use client\";\n\nimport { Button } from \"@/components/ui/Button\";\nimport { Region } from \"../Header\";\nimport { HeaderTopBanner, HeaderTopBannerProps } from \"../HeaderTopBanner\";\nimport { Close, Hamburguer } from \"@/icons\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport clsx from \"clsx\";\nimport { useFocusTrap } from \"@/hooks/useFocusTrap\";\nimport { Container } from \"@/components/ui/Container\";\nimport \"./HeaderMobile.scss\";\nimport { Col } from \"@/components/ui/Col\";\nimport { Row } from \"@/components\";\nimport { WithVariant } from \"@/types/variant\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n active?: boolean;\n isNewTab?: boolean;\n};\n\ntype NavigationLabels = {\n closeMenu: string;\n login: string;\n};\n\nexport type HeaderMobileProps = HeaderTopBannerProps &\n WithVariant<{\n shortTitle: React.ReactNode;\n menuTitle?: string;\n region: Region;\n navigatonItems: NavigationItem[];\n labels: NavigationLabels;\n loginLink?: string;\n }>;\n\nexport const HeaderMobile = ({\n shortTitle,\n menuTitle = \"Menù\",\n region,\n asLink = \"a\",\n navigatonItems,\n labels,\n loginLink = \"/\",\n variant = \"default\",\n}: HeaderMobileProps) => {\n const LinkComponent = asLink;\n const [isOpen, setIsOpen] = useState(false);\n const navId = \"main-navigation\";\n const navRef = useRef<HTMLElement>(null);\n\n useFocusTrap(navRef, isOpen);\n\n const toggleMenu = useCallback(() => {\n setIsOpen(!isOpen);\n }, [isOpen]);\n\n useEffect(() => {\n if (isOpen) {\n document.body.classList.add(\"ui-body-overflow-hidden\");\n } else {\n document.body.classList.remove(\"ui-body-overflow-hidden\");\n }\n\n return () => {\n document.body.classList.remove(\"ui-body-overflow-hidden\");\n };\n }, [isOpen]);\n\n useEffect(() => {\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key === \"Escape\" && isOpen) {\n toggleMenu();\n }\n };\n\n document.addEventListener(\"keydown\", handleEscape);\n return () => document.removeEventListener(\"keydown\", handleEscape);\n }, [isOpen, toggleMenu]);\n\n const handleLinkClick = () => {\n setIsOpen(false);\n };\n\n return (\n <div className=\"sticky-header shadow\">\n <HeaderTopBanner\n asLink={asLink}\n shortTitle={shortTitle}\n region={region}\n variant={variant}\n />\n\n <Container\n className={clsx(\n variant === \"operator\" ? \"bg-radial\" : \"bg-slate-20 \",\n \"min-h-x64 base-row align-items-center justify-content-end\",\n )}\n as=\"header\"\n py=\"x8\"\n >\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"end\"}>\n <Button\n size=\"3\"\n bg=\"white\"\n textColor=\"primary\"\n href={loginLink}\n asLink=\"a\"\n className={\"ui-login-button-header-mobile\"}\n >\n {labels.login}\n <span className=\"visually-hidden\"> Accedi con Cohesion</span>\n </Button>\n <button\n aria-expanded={isOpen}\n aria-label=\"Apri menu di navigazione\"\n onClick={toggleMenu}\n className=\"ui-mobile-menu-toggle\"\n aria-controls={navId}\n >\n <Hamburguer width={40} height={40} color=\"white\" />\n </button>\n </Row>\n\n <nav\n id={navId}\n aria-label=\"Menu di navigazione\"\n className={clsx(isOpen ? \"ui-mobile-nav-panel\" : \"visually-hidden\")}\n ref={navRef}\n >\n <Col className=\"ui-mobile-nav-header\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n onClick={toggleMenu}\n aria-label=\"Chiudi menu di navigazione\"\n aria-controls={navId}\n >\n {labels.closeMenu}\n <Close />\n </Button>\n <h2 className=\"fs-3 text-slate-20\">{menuTitle}</h2>\n </Col>\n\n <ul className=\"list-style-none p-x16\" role=\"list\">\n {navigatonItems.map((item, index) => {\n return (\n <li\n key={index}\n className={clsx(\n \"ui-mobile-nav-item\",\n item.active && \"active\",\n )}\n >\n <LinkComponent\n href={item.href}\n className={clsx(\n \"text-decoration-none text-primary fs-5\",\n item.active ? \"fw-bold\" : \"fw-normal\",\n )}\n onClick={handleLinkClick}\n target={item.isNewTab ? \"_blank\" : undefined}\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\n >\n {item.label}\n {item.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </LinkComponent>\n </li>\n );\n })}\n </ul>\n </nav>\n </Container>\n </div>\n );\n};\n"],"names":["HeaderMobile","shortTitle","menuTitle","region","asLink","navigatonItems","labels","loginLink","variant","LinkComponent","isOpen","setIsOpen","useState","navId","navRef","useRef","useFocusTrap","toggleMenu","useCallback","useEffect","handleEscape","e","handleLinkClick","jsxs","jsx","HeaderTopBanner","Container","clsx","Row","Button","Hamburguer","Col","Close","item","index"],"mappings":"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"}
@@ -1,12 +0,0 @@
1
- import { j as r } from "./index.es278.js";
2
- import { clsx as e } from "./index.es280.js";
3
- import { ArrowTop as m } from "./index.es23.js";
4
- import { ArrowDown as n } from "./index.es19.js";
5
- const p = ({ isOpen: o, onClick: t, className: a, toggleLabels: s }) => /* @__PURE__ */ r.jsxs("button", { className: e("", a), onClick: t, children: [
6
- o ? s.closeLabel : s.activeLabel,
7
- /* @__PURE__ */ r.jsx("span", { className: "arrow", children: o ? /* @__PURE__ */ r.jsx(m, {}) : /* @__PURE__ */ r.jsx(n, {}) })
8
- ] });
9
- export {
10
- p as default
11
- };
12
- //# sourceMappingURL=index.es328.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es328.js","sources":["../src/components/ui/Accordion/AccordionStepper/ToggleContent/ToggleContent.tsx"],"sourcesContent":["import { ArrowDown, ArrowTop } from \"@/icons\";\nimport { ToggleLabel } from \"../types\";\nimport clsx from \"clsx\";\n\ntype Props = {\n className?: string;\n isOpen: boolean;\n onClick: () => void;\n toggleLabels: ToggleLabel;\n};\n\nconst ToggleContent = ({ isOpen, onClick, className, toggleLabels }: Props) => {\n return (\n <button className={clsx(\"\", className)} onClick={onClick}>\n {isOpen ? toggleLabels.closeLabel : toggleLabels.activeLabel}\n <span className=\"arrow\">{isOpen ? <ArrowTop /> : <ArrowDown />}</span>\n </button>\n );\n};\n\nexport default ToggleContent;\n"],"names":["ToggleContent","isOpen","onClick","className","toggleLabels","clsx","jsx","ArrowTop","ArrowDown"],"mappings":";;;;AAWA,MAAMA,IAAgB,CAAC,EAAE,QAAAC,GAAQ,SAAAC,GAAS,WAAAC,GAAW,cAAAC,+BAEhD,UAAA,EAAO,WAAWC,EAAK,IAAIF,CAAS,GAAG,SAAAD,GACrC,UAAA;AAAA,EAAAD,IAASG,EAAa,aAAaA,EAAa;AAAA,EACjDE,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,SAAS,UAAAL,0BAAUM,GAAA,CAAA,CAAS,IAAKD,gBAAAA,EAAAA,IAACE,GAAA,CAAA,CAAU,EAAA,CAAG;AAAA,GACjE;"}
@@ -1,25 +0,0 @@
1
- import { useState as a, useCallback as l } from "react";
2
- import "./index.es532.js";
3
- function c() {
4
- const [t, o] = a(null), e = l(async (r) => {
5
- if (!(navigator != null && navigator.clipboard))
6
- return console.warn("Clipboard not supported"), !1;
7
- try {
8
- return await navigator.clipboard.writeText(r), o(r), !0;
9
- } catch (n) {
10
- return console.warn("Copy failed", n), o(null), !1;
11
- }
12
- }, []);
13
- return [t, e];
14
- }
15
- function s(t) {
16
- const [o, e] = a(!!t), r = l(() => {
17
- e((n) => !n);
18
- }, []);
19
- return [o, r, e];
20
- }
21
- export {
22
- c as useCopyToClipboard,
23
- s as useToggle
24
- };
25
- //# sourceMappingURL=index.es331.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es331.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error","useToggle","defaultValue","value","setValue","toggle","x"],"mappings":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACT,SAASC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACT;AAAA,EACF,GAAG,CAAA,CAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;AAw6BA,SAASI,EAAUC,GAAc;AAC/B,QAAM,CAACC,GAAOC,CAAQ,IAAIR,EAAS,CAAC,CAACM,CAAY,GAC3CG,IAASP,EAAY,MAAM;AAC/B,IAAAM,EAAS,CAACE,MAAM,CAACA,CAAC;AAAA,EACpB,GAAG,CAAA,CAAE;AACL,SAAO,CAACH,GAAOE,GAAQD,CAAQ;AACjC;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=index.es335.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es335.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,29 +0,0 @@
1
- import { j as e } from "./index.es278.js";
2
- import { Title as o, Close as d } from "./index.es355.js";
3
- import { Button as i } from "./index.es36.js";
4
- import './components/ui/AddNewModal/AddNewModalHeader/AddNewModalHeader.css';/* empty css */
5
- import { Close as r } from "./index.es80.js";
6
- const x = ({
7
- closeButton: s = "Annulla",
8
- onCloseClick: l,
9
- children: a
10
- }) => /* @__PURE__ */ e.jsxs("header", { className: "ui-add-new-modal-header bg-white", children: [
11
- /* @__PURE__ */ e.jsx(o, { className: "fs-7 md-fs-custom text-slate-20 fw-bold", children: a }),
12
- /* @__PURE__ */ e.jsx(d, { asChild: !0, className: "ui-add-new-modal-header-close", children: /* @__PURE__ */ e.jsxs(
13
- i,
14
- {
15
- size: "4",
16
- variant: "closeModal",
17
- "aria-label": "Chiudi modale",
18
- onClick: l,
19
- children: [
20
- /* @__PURE__ */ e.jsx("div", { className: "close-label-mobile", children: s }),
21
- /* @__PURE__ */ e.jsx(r, { className: "ml-x8", width: 32, height: 32 })
22
- ]
23
- }
24
- ) })
25
- ] });
26
- export {
27
- x as AddNewModalHeader
28
- };
29
- //# sourceMappingURL=index.es339.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es339.js","sources":["../src/components/ui/AddNewModal/AddNewModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./AddNewModalHeader.scss\";\nimport { ReactNode } from \"react\";\n\ntype AddNewModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n};\n\nexport const AddNewModalHeader = ({\n closeButton = \"Annulla\",\n onCloseClick,\n children,\n}: AddNewModalHeaderProps) => {\n return (\n <header className=\"ui-add-new-modal-header bg-white\">\n <Dialog.Title className=\"fs-7 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-add-new-modal-header-close\">\n <Button\n size=\"4\"\n variant={\"closeModal\"}\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n <div className={\"close-label-mobile\"}>{closeButton}</div>\n <Close className=\"ml-x8\" width={32} height={32} />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["AddNewModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":";;;;;AAYO,MAAMA,IAAoB,CAAC;AAAA,EAChC,aAAAC,IAAc;AAAA,EACd,cAAAC;AAAA,EACA,UAAAC;AACF,MAEIC,gBAAAA,EAAAA,KAAC,UAAA,EAAO,WAAU,oCAChB,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAACC,GAAA,EAAa,WAAU,2CACrB,UAAAH,EAAA,CACH;AAAA,wBACCI,GAAA,EAAa,SAAO,IAAC,WAAU,iCAC9B,UAAAH,gBAAAA,EAAAA;AAAAA,IAACI;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,SAAS;AAAA,MACT,cAAW;AAAA,MACX,SAASN;AAAA,MAET,UAAA;AAAA,QAAAG,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAW,sBAAuB,UAAAJ,GAAY;AAAA,8BAClDQ,GAAA,EAAM,WAAU,SAAQ,OAAO,IAAI,QAAQ,GAAA,CAAI;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,EAClD,CACF;AAAA,GACF;"}
@@ -1,6 +0,0 @@
1
- import { DateTime as e } from "./index.es3.js";
2
- const m = (t, o = "it") => t ? e.fromISO(t).setLocale(o).toFormat("dd/MM/yyyy") : null;
3
- export {
4
- m as fromISODateToDateFormatted
5
- };
6
- //# sourceMappingURL=index.es349.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es349.js","sources":["../src/utils/dates.ts"],"sourcesContent":["import { DateTime } from \"luxon\";\n\nexport const fromISODateToRangeFormat = (\n ISODateStartAt: string | null,\n ISODateEndAt: string | null,\n t: (key: string) => string,\n locale = \"it\",\n) => {\n if (!ISODateStartAt || !ISODateEndAt) return null;\n const startDate = DateTime.fromISO(ISODateStartAt).setLocale(locale);\n const endDate = DateTime.fromISO(ISODateEndAt).setLocale(locale);\n\n if (startDate.hasSame(endDate, \"month\")) {\n return `${t(\"from\")} ${startDate.toFormat(\"d\")} ${t(\"to\")} ${endDate.toFormat(\"d MMMM\")}`;\n }\n return `${t(\"from\")} ${startDate.toFormat(\"d MMMM\")} ${t(\"to\")} ${endDate.toFormat(\"d MMMM\")}`;\n};\n\nexport const fromISODateToDateFormatted = (\n ISODate: string | null,\n locale: string = \"it\",\n) => {\n if (!ISODate) return null;\n const date = DateTime.fromISO(ISODate).setLocale(locale);\n return date.toFormat(\"dd/MM/yyyy\");\n};\n\nexport const fromISOToFormat = (ISODate: string | null) => {\n if (!ISODate) return \" - \";\n const date = DateTime.fromISO(ISODate).setLocale(\"it\");\n return date.toFormat(\"dd/MM/yyyy\");\n};\n\nexport const formatRangeDateToISO = (startDate: string, endDate: string) => {\n const startDateTime = DateTime.fromFormat(startDate, \"yyyy-MM-dd\");\n const endDateTime = DateTime.fromFormat(endDate, \"yyyy-MM-dd\");\n\n if (!startDateTime.isValid) {\n console.error(\"Invalid start date:\", startDateTime.invalidExplanation);\n }\n\n if (!endDateTime.isValid) {\n console.error(\"Invalid end date:\", endDateTime.invalidExplanation);\n }\n\n return [\n startDateTime.startOf(\"day\").toISO() ?? \"\",\n endDateTime.endOf(\"day\").toISO() ?? \"\",\n ];\n};\n\nexport const isActiveDate = (expirationDate: string | null) => {\n if (!expirationDate) return false;\n return DateTime.fromISO(expirationDate).toMillis() > Date.now();\n};\n"],"names":["fromISODateToDateFormatted","ISODate","locale","DateTime"],"mappings":";AAkBO,MAAMA,IAA6B,CACxCC,GACAC,IAAiB,SAEZD,IACQE,EAAS,QAAQF,CAAO,EAAE,UAAUC,CAAM,EAC3C,SAAS,YAAY,IAFZ;"}