@anoki/fse-ui 2.3.0-16-SNAPSHOT3 → 2.3.0-16-SNAPSHOT4

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 (1435) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs108.js +1 -1
  6. package/dist/index.cjs11.js +1 -1
  7. package/dist/index.cjs111.js +1 -1
  8. package/dist/index.cjs112.js +1 -1
  9. package/dist/index.cjs118.js +1 -1
  10. package/dist/index.cjs125.js +1 -1
  11. package/dist/index.cjs126.js +1 -1
  12. package/dist/index.cjs131.js +1 -1
  13. package/dist/index.cjs134.js +1 -1
  14. package/dist/index.cjs136.js +1 -1
  15. package/dist/index.cjs138.js +1 -1
  16. package/dist/index.cjs141.js +1 -1
  17. package/dist/index.cjs143.js +1 -1
  18. package/dist/index.cjs146.js +1 -1
  19. package/dist/index.cjs153.js +1 -1
  20. package/dist/index.cjs154.js +1 -1
  21. package/dist/index.cjs159.js +1 -1
  22. package/dist/index.cjs162.js +1 -1
  23. package/dist/index.cjs166.js +1 -1
  24. package/dist/index.cjs17.js +1 -1
  25. package/dist/index.cjs170.js +1 -1
  26. package/dist/index.cjs171.js +1 -1
  27. package/dist/index.cjs172.js +1 -1
  28. package/dist/index.cjs173.js +1 -1
  29. package/dist/index.cjs179.js +1 -1
  30. package/dist/index.cjs18.js +1 -1
  31. package/dist/index.cjs19.js +1 -1
  32. package/dist/index.cjs20.js +1 -1
  33. package/dist/index.cjs21.js +1 -1
  34. package/dist/index.cjs24.js +1 -1
  35. package/dist/index.cjs28.js +1 -1
  36. package/dist/index.cjs288.js +1 -1
  37. package/dist/index.cjs288.js.map +1 -1
  38. package/dist/{index.cjs497.js → index.cjs296.js} +2 -2
  39. package/dist/{index.cjs497.js.map → index.cjs296.js.map} +1 -1
  40. package/dist/index.cjs297.js +7 -0
  41. package/dist/index.cjs297.js.map +1 -0
  42. package/dist/{index.cjs501.js → index.cjs301.js} +1 -1
  43. package/dist/{index.cjs501.js.map → index.cjs301.js.map} +1 -1
  44. package/dist/index.cjs302.js +1 -1
  45. package/dist/index.cjs302.js.map +1 -1
  46. package/dist/index.cjs303.js +1 -1
  47. package/dist/index.cjs303.js.map +1 -1
  48. package/dist/index.cjs307.js +1 -1
  49. package/dist/index.cjs307.js.map +1 -1
  50. package/dist/{index.cjs372.js → index.cjs308.js} +2 -2
  51. package/dist/{index.cjs372.js.map → index.cjs308.js.map} +1 -1
  52. package/dist/index.cjs309.js +1 -1
  53. package/dist/index.cjs309.js.map +1 -1
  54. package/dist/index.cjs31.js +1 -1
  55. package/dist/{index.cjs370.js → index.cjs310.js} +2 -2
  56. package/dist/{index.cjs370.js.map → index.cjs310.js.map} +1 -1
  57. package/dist/index.cjs313.js +1 -1
  58. package/dist/index.cjs313.js.map +1 -1
  59. package/dist/{index.cjs511.js → index.cjs318.js} +1 -1
  60. package/dist/{index.cjs511.js.map → index.cjs318.js.map} +1 -1
  61. package/dist/index.cjs322.js +2 -0
  62. package/dist/index.cjs322.js.map +1 -0
  63. package/dist/index.cjs326.js +1 -1
  64. package/dist/index.cjs326.js.map +1 -1
  65. package/dist/{index.cjs293.js → index.cjs327.js} +2 -2
  66. package/dist/{index.cjs293.js.map → index.cjs327.js.map} +1 -1
  67. package/dist/{index.cjs294.js → index.cjs328.js} +1 -1
  68. package/dist/{index.cjs294.js.map → index.cjs328.js.map} +1 -1
  69. package/dist/{index.cjs300.js → index.cjs334.js} +2 -2
  70. package/dist/{index.cjs300.js.map → index.cjs334.js.map} +1 -1
  71. package/dist/index.cjs336.js +2 -0
  72. package/dist/index.cjs336.js.map +1 -0
  73. package/dist/index.cjs337.js +2 -0
  74. package/dist/index.cjs337.js.map +1 -0
  75. package/dist/{index.cjs305.js → index.cjs339.js} +2 -2
  76. package/dist/{index.cjs305.js.map → index.cjs339.js.map} +1 -1
  77. package/dist/index.cjs340.js +2 -0
  78. package/dist/index.cjs340.js.map +1 -0
  79. package/dist/index.cjs341.js +2 -0
  80. package/dist/index.cjs341.js.map +1 -0
  81. package/dist/index.cjs343.js +2 -0
  82. package/dist/index.cjs343.js.map +1 -0
  83. package/dist/index.cjs347.js +2 -0
  84. package/dist/index.cjs347.js.map +1 -0
  85. package/dist/index.cjs348.js +1 -1
  86. package/dist/index.cjs348.js.map +1 -1
  87. package/dist/{index.cjs315.js → index.cjs349.js} +1 -1
  88. package/dist/{index.cjs315.js.map → index.cjs349.js.map} +1 -1
  89. package/dist/index.cjs35.js +1 -1
  90. package/dist/index.cjs353.js +7 -1
  91. package/dist/index.cjs353.js.map +1 -1
  92. package/dist/{index.cjs323.js → index.cjs357.js} +1 -1
  93. package/dist/{index.cjs323.js.map → index.cjs357.js.map} +1 -1
  94. package/dist/{index.cjs324.js → index.cjs358.js} +2 -2
  95. package/dist/{index.cjs324.js.map → index.cjs358.js.map} +1 -1
  96. package/dist/{index.cjs325.js → index.cjs359.js} +1 -1
  97. package/dist/{index.cjs325.js.map → index.cjs359.js.map} +1 -1
  98. package/dist/index.cjs362.js +5 -1
  99. package/dist/index.cjs362.js.map +1 -1
  100. package/dist/{index.cjs330.js → index.cjs363.js} +2 -2
  101. package/dist/{index.cjs330.js.map → index.cjs363.js.map} +1 -1
  102. package/dist/index.cjs364.js +1 -6
  103. package/dist/index.cjs364.js.map +1 -1
  104. package/dist/{index.cjs332.js → index.cjs365.js} +1 -1
  105. package/dist/{index.cjs332.js.map → index.cjs365.js.map} +1 -1
  106. package/dist/{index.cjs333.js → index.cjs366.js} +2 -2
  107. package/dist/{index.cjs333.js.map → index.cjs366.js.map} +1 -1
  108. package/dist/index.cjs378.js +1 -1
  109. package/dist/index.cjs378.js.map +1 -1
  110. package/dist/index.cjs381.js +1 -1
  111. package/dist/index.cjs381.js.map +1 -1
  112. package/dist/index.cjs385.js +1 -1
  113. package/dist/index.cjs385.js.map +1 -1
  114. package/dist/index.cjs386.js +1 -1
  115. package/dist/index.cjs386.js.map +1 -1
  116. package/dist/{index.cjs355.js → index.cjs388.js} +2 -2
  117. package/dist/{index.cjs355.js.map → index.cjs388.js.map} +1 -1
  118. package/dist/{index.cjs356.js → index.cjs389.js} +1 -1
  119. package/dist/{index.cjs356.js.map → index.cjs389.js.map} +1 -1
  120. package/dist/index.cjs395.js +2 -0
  121. package/dist/index.cjs395.js.map +1 -0
  122. package/dist/index.cjs404.js +2 -0
  123. package/dist/index.cjs404.js.map +1 -0
  124. package/dist/index.cjs407.js +2 -0
  125. package/dist/index.cjs407.js.map +1 -0
  126. package/dist/{index.cjs382.js → index.cjs408.js} +1 -1
  127. package/dist/{index.cjs382.js.map → index.cjs408.js.map} +1 -1
  128. package/dist/{index.cjs384.js → index.cjs410.js} +2 -2
  129. package/dist/{index.cjs384.js.map → index.cjs410.js.map} +1 -1
  130. package/dist/index.cjs411.js +2 -0
  131. package/dist/index.cjs411.js.map +1 -0
  132. package/dist/index.cjs412.js +1 -1
  133. package/dist/index.cjs412.js.map +1 -1
  134. package/dist/{index.cjs392.js → index.cjs418.js} +1 -1
  135. package/dist/{index.cjs392.js.map → index.cjs418.js.map} +1 -1
  136. package/dist/{index.cjs393.js → index.cjs419.js} +1 -1
  137. package/dist/{index.cjs393.js.map → index.cjs419.js.map} +1 -1
  138. package/dist/{index.cjs401.js → index.cjs427.js} +1 -1
  139. package/dist/{index.cjs401.js.map → index.cjs427.js.map} +1 -1
  140. package/dist/{index.cjs402.js → index.cjs428.js} +2 -2
  141. package/dist/{index.cjs402.js.map → index.cjs428.js.map} +1 -1
  142. package/dist/{index.cjs403.js → index.cjs429.js} +1 -1
  143. package/dist/{index.cjs403.js.map → index.cjs429.js.map} +1 -1
  144. package/dist/{index.cjs405.js → index.cjs431.js} +1 -1
  145. package/dist/{index.cjs405.js.map → index.cjs431.js.map} +1 -1
  146. package/dist/{index.cjs406.js → index.cjs432.js} +1 -1
  147. package/dist/{index.cjs406.js.map → index.cjs432.js.map} +1 -1
  148. package/dist/index.cjs438.js +2 -0
  149. package/dist/index.cjs438.js.map +1 -0
  150. package/dist/{index.cjs413.js → index.cjs439.js} +1 -1
  151. package/dist/{index.cjs413.js.map → index.cjs439.js.map} +1 -1
  152. package/dist/{index.cjs414.js → index.cjs440.js} +1 -1
  153. package/dist/{index.cjs414.js.map → index.cjs440.js.map} +1 -1
  154. package/dist/{index.cjs415.js → index.cjs441.js} +2 -2
  155. package/dist/{index.cjs415.js.map → index.cjs441.js.map} +1 -1
  156. package/dist/{index.cjs421.js → index.cjs447.js} +2 -2
  157. package/dist/{index.cjs421.js.map → index.cjs447.js.map} +1 -1
  158. package/dist/{index.cjs422.js → index.cjs448.js} +1 -1
  159. package/dist/{index.cjs422.js.map → index.cjs448.js.map} +1 -1
  160. package/dist/index.cjs449.js +2 -0
  161. package/dist/{index.cjs423.js.map → index.cjs449.js.map} +1 -1
  162. package/dist/index.cjs45.js +1 -1
  163. package/dist/{index.cjs426.js → index.cjs452.js} +1 -1
  164. package/dist/{index.cjs426.js.map → index.cjs452.js.map} +1 -1
  165. package/dist/{index.cjs443.js → index.cjs469.js} +2 -2
  166. package/dist/{index.cjs443.js.map → index.cjs469.js.map} +1 -1
  167. package/dist/{index.cjs444.js → index.cjs470.js} +2 -2
  168. package/dist/{index.cjs444.js.map → index.cjs470.js.map} +1 -1
  169. package/dist/index.cjs48.js +1 -1
  170. package/dist/index.cjs49.js +1 -1
  171. package/dist/{index.cjs466.js → index.cjs492.js} +1 -1
  172. package/dist/{index.cjs466.js.map → index.cjs492.js.map} +1 -1
  173. package/dist/{index.cjs467.js → index.cjs493.js} +1 -1
  174. package/dist/{index.cjs467.js.map → index.cjs493.js.map} +1 -1
  175. package/dist/{index.cjs473.js → index.cjs499.js} +1 -1
  176. package/dist/{index.cjs473.js.map → index.cjs499.js.map} +1 -1
  177. package/dist/index.cjs50.js +1 -1
  178. package/dist/{index.cjs474.js → index.cjs500.js} +2 -2
  179. package/dist/{index.cjs474.js.map → index.cjs500.js.map} +1 -1
  180. package/dist/{index.cjs479.js → index.cjs505.js} +2 -2
  181. package/dist/{index.cjs479.js.map → index.cjs505.js.map} +1 -1
  182. package/dist/index.cjs51.js +1 -1
  183. package/dist/{index.cjs486.js → index.cjs512.js} +1 -1
  184. package/dist/{index.cjs486.js.map → index.cjs512.js.map} +1 -1
  185. package/dist/index.cjs52.js +1 -1
  186. package/dist/index.cjs522.js +27 -1
  187. package/dist/index.cjs522.js.map +1 -1
  188. package/dist/index.cjs523.js +2 -0
  189. package/dist/index.cjs523.js.map +1 -0
  190. package/dist/index.cjs524.js +2 -0
  191. package/dist/index.cjs524.js.map +1 -0
  192. package/dist/index.cjs525.js +1 -1
  193. package/dist/index.cjs525.js.map +1 -1
  194. package/dist/index.cjs526.js +1 -1
  195. package/dist/index.cjs526.js.map +1 -1
  196. package/dist/index.cjs527.js +1 -1
  197. package/dist/index.cjs527.js.map +1 -1
  198. package/dist/index.cjs528.js +1 -1
  199. package/dist/index.cjs528.js.map +1 -1
  200. package/dist/index.cjs529.js +1 -1
  201. package/dist/index.cjs529.js.map +1 -1
  202. package/dist/index.cjs530.js +1 -1
  203. package/dist/index.cjs530.js.map +1 -1
  204. package/dist/index.cjs531.js +1 -1
  205. package/dist/index.cjs531.js.map +1 -1
  206. package/dist/index.cjs532.js +1 -1
  207. package/dist/index.cjs532.js.map +1 -1
  208. package/dist/index.cjs533.js +1 -1
  209. package/dist/index.cjs533.js.map +1 -1
  210. package/dist/index.cjs534.js +1 -1
  211. package/dist/index.cjs534.js.map +1 -1
  212. package/dist/index.cjs535.js +1 -1
  213. package/dist/index.cjs535.js.map +1 -1
  214. package/dist/index.cjs536.js +1 -1
  215. package/dist/index.cjs536.js.map +1 -1
  216. package/dist/index.cjs537.js +1 -1
  217. package/dist/index.cjs537.js.map +1 -1
  218. package/dist/index.cjs538.js +1 -1
  219. package/dist/index.cjs538.js.map +1 -1
  220. package/dist/index.cjs539.js +1 -1
  221. package/dist/index.cjs539.js.map +1 -1
  222. package/dist/index.cjs540.js +1 -1
  223. package/dist/index.cjs540.js.map +1 -1
  224. package/dist/index.cjs541.js +1 -1
  225. package/dist/index.cjs541.js.map +1 -1
  226. package/dist/index.cjs542.js +1 -1
  227. package/dist/index.cjs542.js.map +1 -1
  228. package/dist/index.cjs546.js +1 -1
  229. package/dist/index.cjs546.js.map +1 -1
  230. package/dist/index.cjs549.js +1 -1
  231. package/dist/index.cjs549.js.map +1 -1
  232. package/dist/index.cjs550.js +1 -1
  233. package/dist/index.cjs550.js.map +1 -1
  234. package/dist/index.cjs551.js +1 -1
  235. package/dist/index.cjs551.js.map +1 -1
  236. package/dist/index.cjs552.js +1 -1
  237. package/dist/index.cjs552.js.map +1 -1
  238. package/dist/index.cjs553.js +1 -1
  239. package/dist/index.cjs553.js.map +1 -1
  240. package/dist/index.cjs554.js +1 -1
  241. package/dist/index.cjs554.js.map +1 -1
  242. package/dist/index.cjs555.js +1 -1
  243. package/dist/index.cjs555.js.map +1 -1
  244. package/dist/index.cjs556.js +1 -1
  245. package/dist/index.cjs556.js.map +1 -1
  246. package/dist/index.cjs557.js +1 -1
  247. package/dist/index.cjs557.js.map +1 -1
  248. package/dist/index.cjs558.js +1 -1
  249. package/dist/index.cjs558.js.map +1 -1
  250. package/dist/index.cjs559.js +1 -1
  251. package/dist/index.cjs559.js.map +1 -1
  252. package/dist/index.cjs560.js +1 -1
  253. package/dist/index.cjs560.js.map +1 -1
  254. package/dist/index.cjs561.js +4 -1
  255. package/dist/index.cjs561.js.map +1 -1
  256. package/dist/index.cjs562.js +1 -1
  257. package/dist/index.cjs562.js.map +1 -1
  258. package/dist/index.cjs563.js +1 -1
  259. package/dist/index.cjs563.js.map +1 -1
  260. package/dist/index.cjs564.js +1 -1
  261. package/dist/index.cjs564.js.map +1 -1
  262. package/dist/index.cjs565.js +1 -1
  263. package/dist/index.cjs565.js.map +1 -1
  264. package/dist/index.cjs566.js +1 -1
  265. package/dist/index.cjs566.js.map +1 -1
  266. package/dist/index.cjs567.js +1 -1
  267. package/dist/index.cjs567.js.map +1 -1
  268. package/dist/index.cjs568.js +38 -1
  269. package/dist/index.cjs568.js.map +1 -1
  270. package/dist/index.cjs569.js +1 -1
  271. package/dist/index.cjs569.js.map +1 -1
  272. package/dist/index.cjs57.js +1 -1
  273. package/dist/index.cjs570.js +1 -1
  274. package/dist/index.cjs570.js.map +1 -1
  275. package/dist/index.cjs571.js +1 -1
  276. package/dist/index.cjs571.js.map +1 -1
  277. package/dist/index.cjs575.js +1 -1
  278. package/dist/index.cjs575.js.map +1 -1
  279. package/dist/index.cjs577.js +1 -1
  280. package/dist/index.cjs577.js.map +1 -1
  281. package/dist/index.cjs578.js +1 -1
  282. package/dist/index.cjs578.js.map +1 -1
  283. package/dist/index.cjs579.js +1 -1
  284. package/dist/index.cjs579.js.map +1 -1
  285. package/dist/index.cjs58.js +1 -1
  286. package/dist/index.cjs580.js +1 -1
  287. package/dist/index.cjs581.js +1 -1
  288. package/dist/index.cjs581.js.map +1 -1
  289. package/dist/index.cjs582.js +1 -1
  290. package/dist/index.cjs582.js.map +1 -1
  291. package/dist/index.cjs584.js +1 -1
  292. package/dist/index.cjs584.js.map +1 -1
  293. package/dist/index.cjs585.js +1 -1
  294. package/dist/index.cjs585.js.map +1 -1
  295. package/dist/index.cjs586.js +1 -1
  296. package/dist/index.cjs586.js.map +1 -1
  297. package/dist/index.cjs587.js +1 -1
  298. package/dist/index.cjs587.js.map +1 -1
  299. package/dist/index.cjs588.js +1 -1
  300. package/dist/index.cjs588.js.map +1 -1
  301. package/dist/index.cjs589.js +1 -1
  302. package/dist/index.cjs589.js.map +1 -1
  303. package/dist/index.cjs590.js +1 -1
  304. package/dist/index.cjs590.js.map +1 -1
  305. package/dist/index.cjs591.js +1 -1
  306. package/dist/index.cjs591.js.map +1 -1
  307. package/dist/index.cjs592.js +1 -1
  308. package/dist/index.cjs592.js.map +1 -1
  309. package/dist/index.cjs593.js +1 -1
  310. package/dist/index.cjs593.js.map +1 -1
  311. package/dist/index.cjs594.js +1 -1
  312. package/dist/index.cjs594.js.map +1 -1
  313. package/dist/index.cjs595.js +1 -1
  314. package/dist/index.cjs595.js.map +1 -1
  315. package/dist/index.cjs596.js +1 -1
  316. package/dist/index.cjs596.js.map +1 -1
  317. package/dist/index.cjs597.js +1 -1
  318. package/dist/index.cjs597.js.map +1 -1
  319. package/dist/index.cjs598.js +1 -1
  320. package/dist/index.cjs598.js.map +1 -1
  321. package/dist/index.cjs599.js +1 -1
  322. package/dist/index.cjs599.js.map +1 -1
  323. package/dist/index.cjs60.js +1 -1
  324. package/dist/index.cjs600.js +1 -1
  325. package/dist/index.cjs600.js.map +1 -1
  326. package/dist/index.cjs601.js +1 -1
  327. package/dist/index.cjs601.js.map +1 -1
  328. package/dist/index.cjs602.js +1 -1
  329. package/dist/index.cjs602.js.map +1 -1
  330. package/dist/index.cjs603.js +1 -1
  331. package/dist/index.cjs603.js.map +1 -1
  332. package/dist/index.cjs604.js +1 -1
  333. package/dist/index.cjs604.js.map +1 -1
  334. package/dist/index.cjs605.js +1 -1
  335. package/dist/index.cjs605.js.map +1 -1
  336. package/dist/index.cjs606.js +1 -1
  337. package/dist/index.cjs606.js.map +1 -1
  338. package/dist/index.cjs607.js +1 -1
  339. package/dist/index.cjs607.js.map +1 -1
  340. package/dist/index.cjs608.js +1 -1
  341. package/dist/index.cjs608.js.map +1 -1
  342. package/dist/index.cjs609.js +1 -1
  343. package/dist/index.cjs609.js.map +1 -1
  344. package/dist/index.cjs610.js +1 -1
  345. package/dist/index.cjs610.js.map +1 -1
  346. package/dist/index.cjs611.js +1 -1
  347. package/dist/index.cjs611.js.map +1 -1
  348. package/dist/index.cjs612.js +1 -1
  349. package/dist/index.cjs612.js.map +1 -1
  350. package/dist/index.cjs613.js +1 -1
  351. package/dist/index.cjs613.js.map +1 -1
  352. package/dist/index.cjs614.js +1 -1
  353. package/dist/index.cjs614.js.map +1 -1
  354. package/dist/index.cjs615.js +1 -1
  355. package/dist/index.cjs615.js.map +1 -1
  356. package/dist/index.cjs616.js +1 -1
  357. package/dist/index.cjs616.js.map +1 -1
  358. package/dist/index.cjs617.js +1 -1
  359. package/dist/index.cjs617.js.map +1 -1
  360. package/dist/index.cjs618.js +1 -1
  361. package/dist/index.cjs618.js.map +1 -1
  362. package/dist/index.cjs619.js +1 -1
  363. package/dist/index.cjs619.js.map +1 -1
  364. package/dist/index.cjs620.js +2 -0
  365. package/dist/index.cjs620.js.map +1 -0
  366. package/dist/index.cjs622.js +2 -0
  367. package/dist/index.cjs622.js.map +1 -0
  368. package/dist/index.cjs623.js +1 -1
  369. package/dist/index.cjs623.js.map +1 -1
  370. package/dist/index.cjs624.js +2 -0
  371. package/dist/index.cjs624.js.map +1 -0
  372. package/dist/index.cjs625.js +2 -0
  373. package/dist/index.cjs625.js.map +1 -0
  374. package/dist/index.cjs626.js +1 -1
  375. package/dist/index.cjs626.js.map +1 -1
  376. package/dist/index.cjs627.js +1 -1
  377. package/dist/index.cjs627.js.map +1 -1
  378. package/dist/index.cjs628.js +1 -1
  379. package/dist/index.cjs628.js.map +1 -1
  380. package/dist/index.cjs629.js +1 -1
  381. package/dist/index.cjs629.js.map +1 -1
  382. package/dist/index.cjs63.js +1 -1
  383. package/dist/index.cjs630.js +1 -1
  384. package/dist/index.cjs630.js.map +1 -1
  385. package/dist/index.cjs631.js +1 -1
  386. package/dist/index.cjs631.js.map +1 -1
  387. package/dist/index.cjs632.js +1 -1
  388. package/dist/index.cjs632.js.map +1 -1
  389. package/dist/index.cjs633.js +1 -1
  390. package/dist/index.cjs633.js.map +1 -1
  391. package/dist/index.cjs634.js +1 -1
  392. package/dist/index.cjs634.js.map +1 -1
  393. package/dist/{index.cjs573.js → index.cjs635.js} +1 -1
  394. package/dist/index.cjs635.js.map +1 -0
  395. package/dist/{index.cjs572.js → index.cjs636.js} +1 -1
  396. package/dist/index.cjs636.js.map +1 -0
  397. package/dist/{index.cjs574.js → index.cjs637.js} +1 -1
  398. package/dist/index.cjs637.js.map +1 -0
  399. package/dist/index.cjs638.js +1 -1
  400. package/dist/index.cjs638.js.map +1 -1
  401. package/dist/index.cjs639.js +1 -1
  402. package/dist/index.cjs639.js.map +1 -1
  403. package/dist/index.cjs64.js +1 -1
  404. package/dist/index.cjs640.js +1 -1
  405. package/dist/index.cjs640.js.map +1 -1
  406. package/dist/index.cjs641.js +1 -4
  407. package/dist/index.cjs641.js.map +1 -1
  408. package/dist/index.cjs642.js +1 -1
  409. package/dist/index.cjs642.js.map +1 -1
  410. package/dist/index.cjs643.js +1 -38
  411. package/dist/index.cjs643.js.map +1 -1
  412. package/dist/index.cjs644.js +1 -1
  413. package/dist/index.cjs644.js.map +1 -1
  414. package/dist/index.cjs645.js +1 -1
  415. package/dist/index.cjs645.js.map +1 -1
  416. package/dist/index.cjs646.js +1 -1
  417. package/dist/index.cjs646.js.map +1 -1
  418. package/dist/index.cjs647.js +1 -1
  419. package/dist/index.cjs647.js.map +1 -1
  420. package/dist/index.cjs648.js +2 -0
  421. package/dist/index.cjs648.js.map +1 -0
  422. package/dist/index.cjs649.js +1 -1
  423. package/dist/index.cjs649.js.map +1 -1
  424. package/dist/index.cjs650.js +1 -1
  425. package/dist/index.cjs650.js.map +1 -1
  426. package/dist/index.cjs651.js +2 -0
  427. package/dist/index.cjs651.js.map +1 -0
  428. package/dist/index.cjs652.js +1 -1
  429. package/dist/index.cjs652.js.map +1 -1
  430. package/dist/index.cjs653.js +1 -1
  431. package/dist/index.cjs653.js.map +1 -1
  432. package/dist/index.cjs654.js +1 -1
  433. package/dist/index.cjs654.js.map +1 -1
  434. package/dist/index.cjs655.js +1 -1
  435. package/dist/index.cjs655.js.map +1 -1
  436. package/dist/index.cjs656.js +1 -1
  437. package/dist/index.cjs656.js.map +1 -1
  438. package/dist/index.cjs657.js +1 -1
  439. package/dist/index.cjs657.js.map +1 -1
  440. package/dist/index.cjs658.js +1 -1
  441. package/dist/index.cjs658.js.map +1 -1
  442. package/dist/index.cjs659.js +1 -1
  443. package/dist/index.cjs659.js.map +1 -1
  444. package/dist/index.cjs66.js +1 -1
  445. package/dist/index.cjs660.js +1 -1
  446. package/dist/index.cjs660.js.map +1 -1
  447. package/dist/index.cjs661.js +1 -1
  448. package/dist/index.cjs661.js.map +1 -1
  449. package/dist/index.cjs664.js +2 -0
  450. package/dist/index.cjs664.js.map +1 -0
  451. package/dist/index.cjs665.js +2 -0
  452. package/dist/index.cjs665.js.map +1 -0
  453. package/dist/index.cjs67.js +1 -1
  454. package/dist/index.cjs680.js +1 -1
  455. package/dist/index.cjs680.js.map +1 -1
  456. package/dist/index.cjs683.js +2 -0
  457. package/dist/index.cjs683.js.map +1 -0
  458. package/dist/index.cjs684.js +1 -1
  459. package/dist/index.cjs684.js.map +1 -1
  460. package/dist/index.cjs685.js +1 -1
  461. package/dist/index.cjs685.js.map +1 -1
  462. package/dist/index.cjs686.js +1 -1
  463. package/dist/index.cjs686.js.map +1 -1
  464. package/dist/index.cjs687.js +1 -1
  465. package/dist/index.cjs687.js.map +1 -1
  466. package/dist/index.cjs688.js +1 -1
  467. package/dist/index.cjs688.js.map +1 -1
  468. package/dist/index.cjs689.js +1 -1
  469. package/dist/index.cjs689.js.map +1 -1
  470. package/dist/index.cjs69.js +1 -1
  471. package/dist/index.cjs690.js +1 -1
  472. package/dist/index.cjs690.js.map +1 -1
  473. package/dist/index.cjs691.js +1 -1
  474. package/dist/index.cjs691.js.map +1 -1
  475. package/dist/index.cjs692.js +1 -1
  476. package/dist/index.cjs692.js.map +1 -1
  477. package/dist/index.cjs693.js +1 -1
  478. package/dist/index.cjs693.js.map +1 -1
  479. package/dist/index.cjs694.js +1 -1
  480. package/dist/index.cjs694.js.map +1 -1
  481. package/dist/index.cjs695.js +1 -1
  482. package/dist/index.cjs695.js.map +1 -1
  483. package/dist/index.cjs696.js +1 -1
  484. package/dist/index.cjs696.js.map +1 -1
  485. package/dist/index.cjs697.js +1 -1
  486. package/dist/index.cjs697.js.map +1 -1
  487. package/dist/index.cjs698.js +1 -1
  488. package/dist/index.cjs698.js.map +1 -1
  489. package/dist/index.cjs699.js +1 -1
  490. package/dist/index.cjs699.js.map +1 -1
  491. package/dist/index.cjs700.js +1 -1
  492. package/dist/index.cjs700.js.map +1 -1
  493. package/dist/index.cjs701.js +1 -1
  494. package/dist/index.cjs701.js.map +1 -1
  495. package/dist/index.cjs702.js +1 -1
  496. package/dist/index.cjs702.js.map +1 -1
  497. package/dist/index.cjs703.js +1 -1
  498. package/dist/index.cjs703.js.map +1 -1
  499. package/dist/index.cjs704.js +1 -1
  500. package/dist/index.cjs704.js.map +1 -1
  501. package/dist/index.cjs705.js +1 -1
  502. package/dist/index.cjs705.js.map +1 -1
  503. package/dist/index.cjs706.js +1 -1
  504. package/dist/index.cjs706.js.map +1 -1
  505. package/dist/index.cjs707.js +1 -1
  506. package/dist/index.cjs707.js.map +1 -1
  507. package/dist/index.cjs708.js +1 -1
  508. package/dist/index.cjs708.js.map +1 -1
  509. package/dist/index.cjs709.js +1 -1
  510. package/dist/index.cjs709.js.map +1 -1
  511. package/dist/index.cjs710.js +1 -1
  512. package/dist/index.cjs710.js.map +1 -1
  513. package/dist/index.cjs711.js +1 -1
  514. package/dist/index.cjs711.js.map +1 -1
  515. package/dist/index.cjs712.js +1 -1
  516. package/dist/index.cjs712.js.map +1 -1
  517. package/dist/index.cjs713.js +1 -1
  518. package/dist/index.cjs713.js.map +1 -1
  519. package/dist/index.cjs714.js +1 -1
  520. package/dist/index.cjs714.js.map +1 -1
  521. package/dist/index.cjs715.js +1 -1
  522. package/dist/index.cjs715.js.map +1 -1
  523. package/dist/index.cjs716.js +1 -5
  524. package/dist/index.cjs716.js.map +1 -1
  525. package/dist/index.cjs717.js +1 -1
  526. package/dist/index.cjs717.js.map +1 -1
  527. package/dist/index.cjs718.js +1 -1
  528. package/dist/index.cjs718.js.map +1 -1
  529. package/dist/index.cjs719.js +1 -1
  530. package/dist/index.cjs719.js.map +1 -1
  531. package/dist/index.cjs72.js +1 -1
  532. package/dist/index.cjs720.js +5 -1
  533. package/dist/index.cjs720.js.map +1 -1
  534. package/dist/index.cjs721.js +1 -1
  535. package/dist/index.cjs721.js.map +1 -1
  536. package/dist/index.cjs722.js +1 -1
  537. package/dist/index.cjs722.js.map +1 -1
  538. package/dist/index.cjs723.js +1 -1
  539. package/dist/index.cjs723.js.map +1 -1
  540. package/dist/index.cjs724.js +1 -1
  541. package/dist/index.cjs724.js.map +1 -1
  542. package/dist/index.cjs725.js +1 -1
  543. package/dist/index.cjs725.js.map +1 -1
  544. package/dist/index.cjs726.js +1 -1
  545. package/dist/index.cjs726.js.map +1 -1
  546. package/dist/index.cjs727.js +1 -1
  547. package/dist/index.cjs727.js.map +1 -1
  548. package/dist/index.cjs728.js +1 -1
  549. package/dist/index.cjs728.js.map +1 -1
  550. package/dist/index.cjs729.js +2 -0
  551. package/dist/index.cjs729.js.map +1 -0
  552. package/dist/index.cjs73.js +1 -1
  553. package/dist/index.cjs730.js +1 -1
  554. package/dist/index.cjs730.js.map +1 -1
  555. package/dist/index.cjs731.js +1 -1
  556. package/dist/index.cjs731.js.map +1 -1
  557. package/dist/index.cjs732.js +1 -1
  558. package/dist/index.cjs732.js.map +1 -1
  559. package/dist/index.cjs734.js +1 -27
  560. package/dist/index.cjs734.js.map +1 -1
  561. package/dist/index.cjs735.js +1 -1
  562. package/dist/index.cjs735.js.map +1 -1
  563. package/dist/index.cjs736.js +1 -1
  564. package/dist/index.cjs736.js.map +1 -1
  565. package/dist/index.cjs748.js +1 -1
  566. package/dist/index.cjs749.js +1 -1
  567. package/dist/index.cjs750.js +1 -1
  568. package/dist/index.cjs751.js +1 -1
  569. package/dist/index.cjs752.js +1 -1
  570. package/dist/index.cjs757.js +1 -1
  571. package/dist/index.cjs758.js +1 -1
  572. package/dist/index.cjs761.js +1 -1
  573. package/dist/index.cjs762.js +1 -1
  574. package/dist/index.cjs763.js +1 -1
  575. package/dist/index.cjs765.js +1 -1
  576. package/dist/index.cjs766.js +1 -1
  577. package/dist/index.cjs767.js +1 -1
  578. package/dist/index.cjs77.js +1 -1
  579. package/dist/index.cjs771.js +1 -1
  580. package/dist/index.cjs773.js +1 -1
  581. package/dist/index.cjs773.js.map +1 -1
  582. package/dist/index.cjs774.js +1 -1
  583. package/dist/index.cjs774.js.map +1 -1
  584. package/dist/index.cjs775.js +1 -1
  585. package/dist/index.cjs776.js +1 -1
  586. package/dist/index.cjs776.js.map +1 -1
  587. package/dist/index.cjs777.js +1 -1
  588. package/dist/index.cjs777.js.map +1 -1
  589. package/dist/index.cjs778.js +5 -1
  590. package/dist/index.cjs778.js.map +1 -1
  591. package/dist/index.cjs779.js +1 -1
  592. package/dist/index.cjs779.js.map +1 -1
  593. package/dist/index.cjs780.js +12 -2
  594. package/dist/index.cjs780.js.map +1 -1
  595. package/dist/index.cjs781.js +1 -1
  596. package/dist/index.cjs781.js.map +1 -1
  597. package/dist/index.cjs782.js +1 -1
  598. package/dist/index.cjs782.js.map +1 -1
  599. package/dist/index.cjs783.js +1 -1
  600. package/dist/index.cjs783.js.map +1 -1
  601. package/dist/index.cjs784.js +1 -1
  602. package/dist/index.cjs784.js.map +1 -1
  603. package/dist/index.cjs785.js +1 -1
  604. package/dist/index.cjs785.js.map +1 -1
  605. package/dist/index.cjs786.js +1 -1
  606. package/dist/index.cjs786.js.map +1 -1
  607. package/dist/index.cjs787.js +1 -1
  608. package/dist/index.cjs787.js.map +1 -1
  609. package/dist/index.cjs788.js +1 -1
  610. package/dist/index.cjs788.js.map +1 -1
  611. package/dist/index.cjs789.js +1 -1
  612. package/dist/index.cjs790.js +2 -1
  613. package/dist/index.cjs790.js.map +1 -1
  614. package/dist/index.cjs791.js +1 -1
  615. package/dist/index.cjs791.js.map +1 -1
  616. package/dist/index.cjs792.js +1 -5
  617. package/dist/index.cjs792.js.map +1 -1
  618. package/dist/index.cjs793.js +1 -1
  619. package/dist/index.cjs793.js.map +1 -1
  620. package/dist/index.cjs794.js +1 -12
  621. package/dist/index.cjs794.js.map +1 -1
  622. package/dist/index.cjs795.js +1 -1
  623. package/dist/index.cjs795.js.map +1 -1
  624. package/dist/index.cjs796.js +1 -1
  625. package/dist/index.cjs796.js.map +1 -1
  626. package/dist/index.cjs798.js +1 -1
  627. package/dist/index.cjs798.js.map +1 -1
  628. package/dist/index.cjs799.js +1 -1
  629. package/dist/index.cjs799.js.map +1 -1
  630. package/dist/index.cjs8.js +1 -1
  631. package/dist/index.cjs800.js +1 -1
  632. package/dist/index.cjs800.js.map +1 -1
  633. package/dist/index.cjs801.js +1 -1
  634. package/dist/index.cjs801.js.map +1 -1
  635. package/dist/index.cjs802.js +1 -1
  636. package/dist/index.cjs802.js.map +1 -1
  637. package/dist/index.cjs803.js +1 -1
  638. package/dist/index.cjs803.js.map +1 -1
  639. package/dist/index.cjs804.js +1 -1
  640. package/dist/index.cjs804.js.map +1 -1
  641. package/dist/index.cjs805.js +1 -1
  642. package/dist/index.cjs805.js.map +1 -1
  643. package/dist/index.cjs807.js +1 -1
  644. package/dist/index.cjs81.js +1 -1
  645. package/dist/index.cjs815.js +1 -1
  646. package/dist/index.cjs815.js.map +1 -1
  647. package/dist/index.cjs816.js +1 -1
  648. package/dist/index.cjs816.js.map +1 -1
  649. package/dist/index.cjs818.js +1 -1
  650. package/dist/index.cjs818.js.map +1 -1
  651. package/dist/index.cjs819.js +1 -1
  652. package/dist/index.cjs819.js.map +1 -1
  653. package/dist/index.cjs82.js +1 -1
  654. package/dist/index.cjs87.js +1 -1
  655. package/dist/index.cjs88.js +1 -1
  656. package/dist/index.cjs92.js +1 -1
  657. package/dist/index.cjs93.js +1 -1
  658. package/dist/index.cjs94.js +1 -1
  659. package/dist/index.cjs98.js +1 -1
  660. package/dist/index.es101.js +1 -1
  661. package/dist/index.es102.js +2 -2
  662. package/dist/index.es104.js +1 -1
  663. package/dist/index.es105.js +1 -1
  664. package/dist/index.es108.js +4 -4
  665. package/dist/index.es11.js +3 -3
  666. package/dist/index.es111.js +1 -1
  667. package/dist/index.es112.js +2 -2
  668. package/dist/index.es118.js +1 -1
  669. package/dist/index.es125.js +1 -1
  670. package/dist/index.es126.js +1 -1
  671. package/dist/index.es131.js +2 -2
  672. package/dist/index.es134.js +1 -1
  673. package/dist/index.es136.js +1 -1
  674. package/dist/index.es138.js +2 -2
  675. package/dist/index.es141.js +1 -1
  676. package/dist/index.es143.js +1 -1
  677. package/dist/index.es146.js +2 -2
  678. package/dist/index.es153.js +1 -1
  679. package/dist/index.es154.js +1 -1
  680. package/dist/index.es159.js +1 -1
  681. package/dist/index.es162.js +1 -1
  682. package/dist/index.es166.js +2 -2
  683. package/dist/index.es17.js +2 -2
  684. package/dist/index.es170.js +1 -1
  685. package/dist/index.es171.js +6 -6
  686. package/dist/index.es172.js +1 -1
  687. package/dist/index.es173.js +1 -1
  688. package/dist/index.es179.js +1 -1
  689. package/dist/index.es18.js +1 -1
  690. package/dist/index.es19.js +1 -1
  691. package/dist/index.es20.js +2 -2
  692. package/dist/index.es21.js +1 -1
  693. package/dist/index.es24.js +3 -3
  694. package/dist/index.es28.js +1 -1
  695. package/dist/index.es288.js +3 -22
  696. package/dist/index.es288.js.map +1 -1
  697. package/dist/{index.es497.js → index.es296.js} +3 -3
  698. package/dist/{index.es497.js.map → index.es296.js.map} +1 -1
  699. package/dist/index.es297.js +62 -0
  700. package/dist/index.es297.js.map +1 -0
  701. package/dist/{index.es501.js → index.es301.js} +1 -1
  702. package/dist/{index.es501.js.map → index.es301.js.map} +1 -1
  703. package/dist/index.es302.js +57 -9
  704. package/dist/index.es302.js.map +1 -1
  705. package/dist/index.es303.js +5 -29
  706. package/dist/index.es303.js.map +1 -1
  707. package/dist/index.es307.js +125 -3
  708. package/dist/index.es307.js.map +1 -1
  709. package/dist/{index.es372.js → index.es308.js} +4 -4
  710. package/dist/{index.es372.js.map → index.es308.js.map} +1 -1
  711. package/dist/index.es309.js +191 -1
  712. package/dist/index.es309.js.map +1 -1
  713. package/dist/index.es31.js +4 -4
  714. package/dist/{index.es370.js → index.es310.js} +4 -4
  715. package/dist/{index.es370.js.map → index.es310.js.map} +1 -1
  716. package/dist/index.es313.js +45 -26
  717. package/dist/index.es313.js.map +1 -1
  718. package/dist/{index.es511.js → index.es318.js} +1 -1
  719. package/dist/{index.es511.js.map → index.es318.js.map} +1 -1
  720. package/dist/index.es322.js +25 -0
  721. package/dist/index.es322.js.map +1 -0
  722. package/dist/index.es326.js +148 -5
  723. package/dist/index.es326.js.map +1 -1
  724. package/dist/{index.es293.js → index.es327.js} +2 -2
  725. package/dist/{index.es293.js.map → index.es327.js.map} +1 -1
  726. package/dist/{index.es294.js → index.es328.js} +1 -1
  727. package/dist/{index.es294.js.map → index.es328.js.map} +1 -1
  728. package/dist/{index.es300.js → index.es334.js} +2 -2
  729. package/dist/{index.es300.js.map → index.es334.js.map} +1 -1
  730. package/dist/index.es336.js +12 -0
  731. package/dist/index.es336.js.map +1 -0
  732. package/dist/index.es337.js +32 -0
  733. package/dist/index.es337.js.map +1 -0
  734. package/dist/{index.es305.js → index.es339.js} +2 -2
  735. package/dist/{index.es305.js.map → index.es339.js.map} +1 -1
  736. package/dist/index.es340.js +6 -0
  737. package/dist/index.es340.js.map +1 -0
  738. package/dist/index.es341.js +6 -0
  739. package/dist/index.es341.js.map +1 -0
  740. package/dist/index.es343.js +2 -0
  741. package/dist/index.es343.js.map +1 -0
  742. package/dist/index.es347.js +29 -0
  743. package/dist/index.es347.js.map +1 -0
  744. package/dist/index.es348.js +17 -188
  745. package/dist/index.es348.js.map +1 -1
  746. package/dist/{index.es315.js → index.es349.js} +1 -1
  747. package/dist/{index.es315.js.map → index.es349.js.map} +1 -1
  748. package/dist/index.es35.js +5 -5
  749. package/dist/index.es353.js +124 -28
  750. package/dist/index.es353.js.map +1 -1
  751. package/dist/{index.es323.js → index.es357.js} +1 -1
  752. package/dist/{index.es323.js.map → index.es357.js.map} +1 -1
  753. package/dist/{index.es324.js → index.es358.js} +2 -2
  754. package/dist/{index.es324.js.map → index.es358.js.map} +1 -1
  755. package/dist/{index.es325.js → index.es359.js} +1 -1
  756. package/dist/{index.es325.js.map → index.es359.js.map} +1 -1
  757. package/dist/index.es362.js +251 -53
  758. package/dist/index.es362.js.map +1 -1
  759. package/dist/{index.es330.js → index.es363.js} +2 -2
  760. package/dist/{index.es330.js.map → index.es363.js.map} +1 -1
  761. package/dist/index.es364.js +17 -58
  762. package/dist/index.es364.js.map +1 -1
  763. package/dist/{index.es332.js → index.es365.js} +1 -1
  764. package/dist/{index.es332.js.map → index.es365.js.map} +1 -1
  765. package/dist/{index.es333.js → index.es366.js} +2 -2
  766. package/dist/{index.es333.js.map → index.es366.js.map} +1 -1
  767. package/dist/index.es378.js +33 -7
  768. package/dist/index.es378.js.map +1 -1
  769. package/dist/index.es381.js +188 -27
  770. package/dist/index.es381.js.map +1 -1
  771. package/dist/index.es385.js +7 -3
  772. package/dist/index.es385.js.map +1 -1
  773. package/dist/index.es386.js +28 -8
  774. package/dist/index.es386.js.map +1 -1
  775. package/dist/{index.es355.js → index.es388.js} +9 -9
  776. package/dist/{index.es355.js.map → index.es388.js.map} +1 -1
  777. package/dist/{index.es356.js → index.es389.js} +1 -1
  778. package/dist/{index.es356.js.map → index.es389.js.map} +1 -1
  779. package/dist/index.es395.js +64 -0
  780. package/dist/index.es395.js.map +1 -0
  781. package/dist/index.es404.js +11 -0
  782. package/dist/index.es404.js.map +1 -0
  783. package/dist/index.es407.js +30 -0
  784. package/dist/index.es407.js.map +1 -0
  785. package/dist/{index.es382.js → index.es408.js} +1 -1
  786. package/dist/{index.es382.js.map → index.es408.js.map} +1 -1
  787. package/dist/{index.es384.js → index.es410.js} +2 -2
  788. package/dist/{index.es384.js.map → index.es410.js.map} +1 -1
  789. package/dist/index.es411.js +7 -0
  790. package/dist/index.es411.js.map +1 -0
  791. package/dist/index.es412.js +8 -26
  792. package/dist/index.es412.js.map +1 -1
  793. package/dist/{index.es392.js → index.es418.js} +1 -1
  794. package/dist/{index.es392.js.map → index.es418.js.map} +1 -1
  795. package/dist/{index.es393.js → index.es419.js} +1 -1
  796. package/dist/{index.es393.js.map → index.es419.js.map} +1 -1
  797. package/dist/{index.es401.js → index.es427.js} +1 -1
  798. package/dist/{index.es401.js.map → index.es427.js.map} +1 -1
  799. package/dist/{index.es402.js → index.es428.js} +2 -2
  800. package/dist/{index.es402.js.map → index.es428.js.map} +1 -1
  801. package/dist/{index.es403.js → index.es429.js} +1 -1
  802. package/dist/{index.es403.js.map → index.es429.js.map} +1 -1
  803. package/dist/{index.es405.js → index.es431.js} +1 -1
  804. package/dist/{index.es405.js.map → index.es431.js.map} +1 -1
  805. package/dist/{index.es406.js → index.es432.js} +1 -1
  806. package/dist/{index.es406.js.map → index.es432.js.map} +1 -1
  807. package/dist/index.es438.js +29 -0
  808. package/dist/index.es438.js.map +1 -0
  809. package/dist/{index.es413.js → index.es439.js} +1 -1
  810. package/dist/{index.es413.js.map → index.es439.js.map} +1 -1
  811. package/dist/{index.es414.js → index.es440.js} +1 -1
  812. package/dist/{index.es414.js.map → index.es440.js.map} +1 -1
  813. package/dist/{index.es415.js → index.es441.js} +8 -8
  814. package/dist/{index.es415.js.map → index.es441.js.map} +1 -1
  815. package/dist/{index.es421.js → index.es447.js} +2 -2
  816. package/dist/{index.es421.js.map → index.es447.js.map} +1 -1
  817. package/dist/{index.es422.js → index.es448.js} +1 -1
  818. package/dist/{index.es422.js.map → index.es448.js.map} +1 -1
  819. package/dist/index.es449.js +8 -0
  820. package/dist/{index.es423.js.map → index.es449.js.map} +1 -1
  821. package/dist/index.es45.js +1 -1
  822. package/dist/{index.es426.js → index.es452.js} +1 -1
  823. package/dist/{index.es426.js.map → index.es452.js.map} +1 -1
  824. package/dist/{index.es443.js → index.es469.js} +7 -7
  825. package/dist/{index.es443.js.map → index.es469.js.map} +1 -1
  826. package/dist/{index.es444.js → index.es470.js} +3 -3
  827. package/dist/{index.es444.js.map → index.es470.js.map} +1 -1
  828. package/dist/index.es48.js +1 -1
  829. package/dist/index.es49.js +1 -1
  830. package/dist/{index.es466.js → index.es492.js} +1 -1
  831. package/dist/{index.es466.js.map → index.es492.js.map} +1 -1
  832. package/dist/{index.es467.js → index.es493.js} +1 -1
  833. package/dist/{index.es467.js.map → index.es493.js.map} +1 -1
  834. package/dist/{index.es473.js → index.es499.js} +1 -1
  835. package/dist/{index.es473.js.map → index.es499.js.map} +1 -1
  836. package/dist/index.es50.js +2 -2
  837. package/dist/{index.es474.js → index.es500.js} +8 -8
  838. package/dist/{index.es474.js.map → index.es500.js.map} +1 -1
  839. package/dist/{index.es479.js → index.es505.js} +9 -9
  840. package/dist/{index.es479.js.map → index.es505.js.map} +1 -1
  841. package/dist/index.es51.js +3 -3
  842. package/dist/{index.es486.js → index.es512.js} +1 -1
  843. package/dist/{index.es486.js.map → index.es512.js.map} +1 -1
  844. package/dist/index.es52.js +3 -3
  845. package/dist/index.es522.js +3675 -15
  846. package/dist/index.es522.js.map +1 -1
  847. package/dist/index.es523.js +5 -0
  848. package/dist/index.es523.js.map +1 -0
  849. package/dist/index.es524.js +39 -0
  850. package/dist/index.es524.js.map +1 -0
  851. package/dist/index.es525.js +2 -23
  852. package/dist/index.es525.js.map +1 -1
  853. package/dist/index.es526.js +83 -2
  854. package/dist/index.es526.js.map +1 -1
  855. package/dist/index.es527.js +5 -55
  856. package/dist/index.es527.js.map +1 -1
  857. package/dist/index.es528.js +5 -217
  858. package/dist/index.es528.js.map +1 -1
  859. package/dist/index.es529.js +6 -73
  860. package/dist/index.es529.js.map +1 -1
  861. package/dist/index.es530.js +27 -2
  862. package/dist/index.es530.js.map +1 -1
  863. package/dist/index.es531.js +68 -2
  864. package/dist/index.es531.js.map +1 -1
  865. package/dist/index.es532.js +10 -5
  866. package/dist/index.es532.js.map +1 -1
  867. package/dist/index.es533.js +29 -13
  868. package/dist/index.es533.js.map +1 -1
  869. package/dist/index.es534.js +124 -5
  870. package/dist/index.es534.js.map +1 -1
  871. package/dist/index.es535.js +134 -5
  872. package/dist/index.es535.js.map +1 -1
  873. package/dist/index.es536.js +14 -6
  874. package/dist/index.es536.js.map +1 -1
  875. package/dist/index.es537.js +68 -5
  876. package/dist/index.es537.js.map +1 -1
  877. package/dist/index.es538.js +32 -5
  878. package/dist/index.es538.js.map +1 -1
  879. package/dist/index.es539.js +14 -5
  880. package/dist/index.es539.js.map +1 -1
  881. package/dist/index.es540.js +9 -6
  882. package/dist/index.es540.js.map +1 -1
  883. package/dist/index.es541.js +50 -6
  884. package/dist/index.es541.js.map +1 -1
  885. package/dist/index.es542.js +55 -5
  886. package/dist/index.es542.js.map +1 -1
  887. package/dist/index.es546.js +15 -6
  888. package/dist/index.es546.js.map +1 -1
  889. package/dist/index.es549.js +4 -10
  890. package/dist/index.es549.js.map +1 -1
  891. package/dist/index.es550.js +10 -5
  892. package/dist/index.es550.js.map +1 -1
  893. package/dist/index.es551.js +11 -5
  894. package/dist/index.es551.js.map +1 -1
  895. package/dist/index.es552.js +24 -5
  896. package/dist/index.es552.js.map +1 -1
  897. package/dist/index.es553.js +29 -6
  898. package/dist/index.es553.js.map +1 -1
  899. package/dist/index.es554.js +5 -6
  900. package/dist/index.es554.js.map +1 -1
  901. package/dist/index.es555.js +2031 -10
  902. package/dist/index.es555.js.map +1 -1
  903. package/dist/index.es556.js +59 -5
  904. package/dist/index.es556.js.map +1 -1
  905. package/dist/index.es557.js +188 -5
  906. package/dist/index.es557.js.map +1 -1
  907. package/dist/index.es558.js +5 -6
  908. package/dist/index.es558.js.map +1 -1
  909. package/dist/index.es559.js +3 -6
  910. package/dist/index.es559.js.map +1 -1
  911. package/dist/index.es560.js +23 -5
  912. package/dist/index.es560.js.map +1 -1
  913. package/dist/index.es561.js +109 -5
  914. package/dist/index.es561.js.map +1 -1
  915. package/dist/index.es562.js +15 -11
  916. package/dist/index.es562.js.map +1 -1
  917. package/dist/index.es563.js +132 -5
  918. package/dist/index.es563.js.map +1 -1
  919. package/dist/index.es564.js +177 -5
  920. package/dist/index.es564.js.map +1 -1
  921. package/dist/index.es565.js +9 -8
  922. package/dist/index.es565.js.map +1 -1
  923. package/dist/index.es566.js +3 -16
  924. package/dist/index.es566.js.map +1 -1
  925. package/dist/index.es567.js +64 -10
  926. package/dist/index.es567.js.map +1 -1
  927. package/dist/index.es568.js +69 -2
  928. package/dist/index.es568.js.map +1 -1
  929. package/dist/index.es569.js +9 -2
  930. package/dist/index.es569.js.map +1 -1
  931. package/dist/index.es57.js +1 -1
  932. package/dist/index.es570.js +14 -2
  933. package/dist/index.es570.js.map +1 -1
  934. package/dist/index.es571.js +62 -2
  935. package/dist/index.es571.js.map +1 -1
  936. package/dist/index.es575.js +21 -2
  937. package/dist/index.es575.js.map +1 -1
  938. package/dist/index.es577.js +55 -2
  939. package/dist/index.es577.js.map +1 -1
  940. package/dist/index.es578.js +217 -2
  941. package/dist/index.es578.js.map +1 -1
  942. package/dist/index.es579.js +74 -2
  943. package/dist/index.es579.js.map +1 -1
  944. package/dist/index.es58.js +1 -1
  945. package/dist/index.es580.js +2 -2
  946. package/dist/index.es581.js +4 -2
  947. package/dist/index.es581.js.map +1 -1
  948. package/dist/index.es582.js +23 -2
  949. package/dist/index.es582.js.map +1 -1
  950. package/dist/index.es583.js +2 -2
  951. package/dist/index.es584.js +6 -2
  952. package/dist/index.es584.js.map +1 -1
  953. package/dist/index.es585.js +14 -2
  954. package/dist/index.es585.js.map +1 -1
  955. package/dist/index.es586.js +6 -2
  956. package/dist/index.es586.js.map +1 -1
  957. package/dist/index.es587.js +6 -2
  958. package/dist/index.es587.js.map +1 -1
  959. package/dist/index.es588.js +6 -2
  960. package/dist/index.es588.js.map +1 -1
  961. package/dist/index.es589.js +6 -2
  962. package/dist/index.es589.js.map +1 -1
  963. package/dist/index.es590.js +6 -2
  964. package/dist/index.es590.js.map +1 -1
  965. package/dist/index.es591.js +6 -2
  966. package/dist/index.es591.js.map +1 -1
  967. package/dist/index.es592.js +6 -2
  968. package/dist/index.es592.js.map +1 -1
  969. package/dist/index.es593.js +6 -2
  970. package/dist/index.es593.js.map +1 -1
  971. package/dist/index.es594.js +6 -2
  972. package/dist/index.es594.js.map +1 -1
  973. package/dist/index.es595.js +6 -2
  974. package/dist/index.es595.js.map +1 -1
  975. package/dist/index.es596.js +6 -2
  976. package/dist/index.es596.js.map +1 -1
  977. package/dist/index.es597.js +6 -2
  978. package/dist/index.es597.js.map +1 -1
  979. package/dist/index.es598.js +6 -2
  980. package/dist/index.es598.js.map +1 -1
  981. package/dist/index.es599.js +6 -2
  982. package/dist/index.es599.js.map +1 -1
  983. package/dist/index.es60.js +2 -2
  984. package/dist/index.es600.js +6 -2
  985. package/dist/index.es600.js.map +1 -1
  986. package/dist/index.es601.js +10 -2
  987. package/dist/index.es601.js.map +1 -1
  988. package/dist/index.es602.js +6 -2
  989. package/dist/index.es602.js.map +1 -1
  990. package/dist/index.es603.js +6 -2
  991. package/dist/index.es603.js.map +1 -1
  992. package/dist/index.es604.js +6 -2
  993. package/dist/index.es604.js.map +1 -1
  994. package/dist/index.es605.js +6 -36
  995. package/dist/index.es605.js.map +1 -1
  996. package/dist/index.es606.js +5 -6
  997. package/dist/index.es606.js.map +1 -1
  998. package/dist/index.es607.js +10 -26
  999. package/dist/index.es607.js.map +1 -1
  1000. package/dist/index.es608.js +5 -67
  1001. package/dist/index.es608.js.map +1 -1
  1002. package/dist/index.es609.js +5 -10
  1003. package/dist/index.es609.js.map +1 -1
  1004. package/dist/index.es610.js +5 -29
  1005. package/dist/index.es610.js.map +1 -1
  1006. package/dist/index.es611.js +5 -124
  1007. package/dist/index.es611.js.map +1 -1
  1008. package/dist/index.es612.js +5 -134
  1009. package/dist/index.es612.js.map +1 -1
  1010. package/dist/index.es613.js +6 -14
  1011. package/dist/index.es613.js.map +1 -1
  1012. package/dist/index.es614.js +11 -68
  1013. package/dist/index.es614.js.map +1 -1
  1014. package/dist/index.es615.js +5 -32
  1015. package/dist/index.es615.js.map +1 -1
  1016. package/dist/index.es616.js +5 -14
  1017. package/dist/index.es616.js.map +1 -1
  1018. package/dist/index.es617.js +9 -9
  1019. package/dist/index.es617.js.map +1 -1
  1020. package/dist/index.es618.js +17 -50
  1021. package/dist/index.es618.js.map +1 -1
  1022. package/dist/index.es619.js +10 -55
  1023. package/dist/index.es619.js.map +1 -1
  1024. package/dist/index.es620.js +5 -0
  1025. package/dist/index.es620.js.map +1 -0
  1026. package/dist/index.es622.js +26 -0
  1027. package/dist/index.es622.js.map +1 -0
  1028. package/dist/index.es623.js +15 -2
  1029. package/dist/index.es623.js.map +1 -1
  1030. package/dist/index.es624.js +31 -0
  1031. package/dist/index.es624.js.map +1 -0
  1032. package/dist/index.es625.js +8 -0
  1033. package/dist/index.es625.js.map +1 -0
  1034. package/dist/index.es626.js +2 -6
  1035. package/dist/index.es626.js.map +1 -1
  1036. package/dist/index.es627.js +2 -25
  1037. package/dist/index.es627.js.map +1 -1
  1038. package/dist/index.es628.js +2 -4
  1039. package/dist/index.es628.js.map +1 -1
  1040. package/dist/index.es629.js +2 -11
  1041. package/dist/index.es629.js.map +1 -1
  1042. package/dist/index.es63.js +3 -3
  1043. package/dist/index.es630.js +2 -12
  1044. package/dist/index.es630.js.map +1 -1
  1045. package/dist/index.es631.js +2 -83
  1046. package/dist/index.es631.js.map +1 -1
  1047. package/dist/index.es632.js +2 -25
  1048. package/dist/index.es632.js.map +1 -1
  1049. package/dist/index.es633.js +2 -29
  1050. package/dist/index.es633.js.map +1 -1
  1051. package/dist/index.es634.js +2 -5
  1052. package/dist/index.es634.js.map +1 -1
  1053. package/dist/{index.es573.js → index.es635.js} +1 -1
  1054. package/dist/index.es635.js.map +1 -0
  1055. package/dist/{index.es574.js → index.es636.js} +1 -1
  1056. package/dist/index.es636.js.map +1 -0
  1057. package/dist/index.es637.js +5 -0
  1058. package/dist/index.es637.js.map +1 -0
  1059. package/dist/index.es638.js +2 -5
  1060. package/dist/index.es638.js.map +1 -1
  1061. package/dist/index.es639.js +2 -3
  1062. package/dist/index.es639.js.map +1 -1
  1063. package/dist/index.es64.js +1 -1
  1064. package/dist/index.es640.js +2 -24
  1065. package/dist/index.es640.js.map +1 -1
  1066. package/dist/index.es641.js +2 -110
  1067. package/dist/index.es641.js.map +1 -1
  1068. package/dist/index.es642.js +2 -16
  1069. package/dist/index.es642.js.map +1 -1
  1070. package/dist/index.es643.js +2 -69
  1071. package/dist/index.es643.js.map +1 -1
  1072. package/dist/index.es644.js +2 -9
  1073. package/dist/index.es644.js.map +1 -1
  1074. package/dist/index.es645.js +2 -14
  1075. package/dist/index.es645.js.map +1 -1
  1076. package/dist/index.es646.js +2 -62
  1077. package/dist/index.es646.js.map +1 -1
  1078. package/dist/index.es647.js +2 -65
  1079. package/dist/index.es647.js.map +1 -1
  1080. package/dist/index.es648.js +5 -0
  1081. package/dist/index.es648.js.map +1 -0
  1082. package/dist/index.es649.js +2 -4
  1083. package/dist/index.es649.js.map +1 -1
  1084. package/dist/index.es650.js +2 -23
  1085. package/dist/index.es650.js.map +1 -1
  1086. package/dist/index.es651.js +5 -0
  1087. package/dist/index.es651.js.map +1 -0
  1088. package/dist/index.es652.js +2 -13
  1089. package/dist/index.es652.js.map +1 -1
  1090. package/dist/index.es653.js +2 -28
  1091. package/dist/index.es653.js.map +1 -1
  1092. package/dist/index.es654.js +2 -5
  1093. package/dist/index.es654.js.map +1 -1
  1094. package/dist/index.es655.js +2 -23
  1095. package/dist/index.es655.js.map +1 -1
  1096. package/dist/index.es656.js +2 -2032
  1097. package/dist/index.es656.js.map +1 -1
  1098. package/dist/index.es657.js +2 -60
  1099. package/dist/index.es657.js.map +1 -1
  1100. package/dist/index.es658.js +2 -189
  1101. package/dist/index.es658.js.map +1 -1
  1102. package/dist/index.es659.js +2 -10
  1103. package/dist/index.es659.js.map +1 -1
  1104. package/dist/index.es66.js +2 -2
  1105. package/dist/index.es660.js +2 -178
  1106. package/dist/index.es660.js.map +1 -1
  1107. package/dist/index.es661.js +2 -4
  1108. package/dist/index.es661.js.map +1 -1
  1109. package/dist/index.es664.js +9 -0
  1110. package/dist/index.es664.js.map +1 -0
  1111. package/dist/index.es665.js +28 -0
  1112. package/dist/index.es665.js.map +1 -0
  1113. package/dist/index.es67.js +2 -2
  1114. package/dist/index.es680.js +621 -4
  1115. package/dist/index.es680.js.map +1 -1
  1116. package/dist/index.es683.js +8 -0
  1117. package/dist/index.es683.js.map +1 -0
  1118. package/dist/index.es684.js +42 -201
  1119. package/dist/index.es684.js.map +1 -1
  1120. package/dist/index.es685.js +14 -22
  1121. package/dist/index.es685.js.map +1 -1
  1122. package/dist/index.es686.js +212 -387
  1123. package/dist/index.es686.js.map +1 -1
  1124. package/dist/index.es687.js +169 -514
  1125. package/dist/index.es687.js.map +1 -1
  1126. package/dist/index.es688.js +197 -119
  1127. package/dist/index.es688.js.map +1 -1
  1128. package/dist/index.es689.js +20 -127
  1129. package/dist/index.es689.js.map +1 -1
  1130. package/dist/index.es69.js +3 -3
  1131. package/dist/index.es690.js +393 -5
  1132. package/dist/index.es690.js.map +1 -1
  1133. package/dist/index.es691.js +523 -16
  1134. package/dist/index.es691.js.map +1 -1
  1135. package/dist/index.es692.js +127 -13
  1136. package/dist/index.es692.js.map +1 -1
  1137. package/dist/index.es693.js +126 -33
  1138. package/dist/index.es693.js.map +1 -1
  1139. package/dist/index.es694.js +5 -5
  1140. package/dist/index.es694.js.map +1 -1
  1141. package/dist/index.es695.js +16 -2
  1142. package/dist/index.es695.js.map +1 -1
  1143. package/dist/index.es696.js +13 -3
  1144. package/dist/index.es696.js.map +1 -1
  1145. package/dist/index.es697.js +35 -6
  1146. package/dist/index.es697.js.map +1 -1
  1147. package/dist/index.es698.js +5 -6
  1148. package/dist/index.es698.js.map +1 -1
  1149. package/dist/index.es699.js +2 -5
  1150. package/dist/index.es699.js.map +1 -1
  1151. package/dist/index.es700.js +3 -32
  1152. package/dist/index.es700.js.map +1 -1
  1153. package/dist/index.es701.js +6 -241
  1154. package/dist/index.es701.js.map +1 -1
  1155. package/dist/index.es702.js +6 -4
  1156. package/dist/index.es702.js.map +1 -1
  1157. package/dist/index.es703.js +5 -5
  1158. package/dist/index.es703.js.map +1 -1
  1159. package/dist/index.es704.js +32 -10
  1160. package/dist/index.es704.js.map +1 -1
  1161. package/dist/index.es705.js +236 -50
  1162. package/dist/index.es705.js.map +1 -1
  1163. package/dist/index.es706.js +4 -8
  1164. package/dist/index.es706.js.map +1 -1
  1165. package/dist/index.es707.js +4 -5
  1166. package/dist/index.es707.js.map +1 -1
  1167. package/dist/index.es708.js +9 -532
  1168. package/dist/index.es708.js.map +1 -1
  1169. package/dist/index.es709.js +56 -14
  1170. package/dist/index.es709.js.map +1 -1
  1171. package/dist/index.es710.js +8 -2
  1172. package/dist/index.es710.js.map +1 -1
  1173. package/dist/index.es711.js +5 -36
  1174. package/dist/index.es711.js.map +1 -1
  1175. package/dist/index.es712.js +533 -2
  1176. package/dist/index.es712.js.map +1 -1
  1177. package/dist/index.es713.js +14 -273
  1178. package/dist/index.es713.js.map +1 -1
  1179. package/dist/index.es714.js +2 -3
  1180. package/dist/index.es714.js.map +1 -1
  1181. package/dist/index.es715.js +37 -30
  1182. package/dist/index.es715.js.map +1 -1
  1183. package/dist/index.es716.js +2 -40
  1184. package/dist/index.es716.js.map +1 -1
  1185. package/dist/index.es717.js +273 -2
  1186. package/dist/index.es717.js.map +1 -1
  1187. package/dist/index.es718.js +3 -5
  1188. package/dist/index.es718.js.map +1 -1
  1189. package/dist/index.es719.js +30 -2
  1190. package/dist/index.es719.js.map +1 -1
  1191. package/dist/index.es72.js +1 -1
  1192. package/dist/index.es720.js +40 -2
  1193. package/dist/index.es720.js.map +1 -1
  1194. package/dist/index.es721.js +2 -2
  1195. package/dist/index.es721.js.map +1 -1
  1196. package/dist/index.es722.js +3 -14
  1197. package/dist/index.es722.js.map +1 -1
  1198. package/dist/index.es723.js +2 -6
  1199. package/dist/index.es723.js.map +1 -1
  1200. package/dist/index.es724.js +2 -2
  1201. package/dist/index.es724.js.map +1 -1
  1202. package/dist/index.es725.js +2 -2
  1203. package/dist/index.es725.js.map +1 -1
  1204. package/dist/index.es726.js +16 -3
  1205. package/dist/index.es726.js.map +1 -1
  1206. package/dist/index.es727.js +6 -2
  1207. package/dist/index.es727.js.map +1 -1
  1208. package/dist/index.es728.js +2 -4
  1209. package/dist/index.es728.js.map +1 -1
  1210. package/dist/index.es729.js +5 -0
  1211. package/dist/index.es729.js.map +1 -0
  1212. package/dist/index.es73.js +2 -2
  1213. package/dist/index.es730.js +3 -4
  1214. package/dist/index.es730.js.map +1 -1
  1215. package/dist/index.es731.js +2 -3
  1216. package/dist/index.es731.js.map +1 -1
  1217. package/dist/index.es732.js +4 -2
  1218. package/dist/index.es732.js.map +1 -1
  1219. package/dist/index.es734.js +3 -3675
  1220. package/dist/index.es734.js.map +1 -1
  1221. package/dist/index.es735.js +2 -2
  1222. package/dist/index.es735.js.map +1 -1
  1223. package/dist/index.es736.js +4 -5
  1224. package/dist/index.es736.js.map +1 -1
  1225. package/dist/index.es748.js +2 -2
  1226. package/dist/index.es749.js +2 -2
  1227. package/dist/index.es750.js +2 -2
  1228. package/dist/index.es751.js +1 -1
  1229. package/dist/index.es752.js +8 -8
  1230. package/dist/index.es757.js +1 -1
  1231. package/dist/index.es758.js +2 -2
  1232. package/dist/index.es761.js +1 -1
  1233. package/dist/index.es762.js +3 -3
  1234. package/dist/index.es763.js +3 -3
  1235. package/dist/index.es765.js +2 -2
  1236. package/dist/index.es766.js +1 -1
  1237. package/dist/index.es767.js +1 -1
  1238. package/dist/index.es77.js +1 -1
  1239. package/dist/index.es771.js +1 -1
  1240. package/dist/index.es773.js +6 -2
  1241. package/dist/index.es773.js.map +1 -1
  1242. package/dist/index.es774.js +10 -224
  1243. package/dist/index.es774.js.map +1 -1
  1244. package/dist/index.es775.js +4 -2
  1245. package/dist/index.es775.js.map +1 -1
  1246. package/dist/index.es776.js +87 -354
  1247. package/dist/index.es776.js.map +1 -1
  1248. package/dist/index.es777.js +18 -2
  1249. package/dist/index.es777.js.map +1 -1
  1250. package/dist/index.es778.js +169 -2
  1251. package/dist/index.es778.js.map +1 -1
  1252. package/dist/index.es779.js +10 -2
  1253. package/dist/index.es779.js.map +1 -1
  1254. package/dist/index.es780.js +190 -30
  1255. package/dist/index.es780.js.map +1 -1
  1256. package/dist/index.es781.js +317 -43
  1257. package/dist/index.es781.js.map +1 -1
  1258. package/dist/index.es782.js +88 -55
  1259. package/dist/index.es782.js.map +1 -1
  1260. package/dist/index.es783.js +2 -61
  1261. package/dist/index.es783.js.map +1 -1
  1262. package/dist/index.es784.js +222 -70
  1263. package/dist/index.es784.js.map +1 -1
  1264. package/dist/index.es785.js +2 -52
  1265. package/dist/index.es785.js.map +1 -1
  1266. package/dist/index.es786.js +347 -80
  1267. package/dist/index.es786.js.map +1 -1
  1268. package/dist/index.es787.js +2 -6
  1269. package/dist/index.es787.js.map +1 -1
  1270. package/dist/index.es788.js +2 -11
  1271. package/dist/index.es788.js.map +1 -1
  1272. package/dist/index.es789.js +2 -4
  1273. package/dist/index.es789.js.map +1 -1
  1274. package/dist/index.es790.js +31 -87
  1275. package/dist/index.es790.js.map +1 -1
  1276. package/dist/index.es791.js +45 -17
  1277. package/dist/index.es791.js.map +1 -1
  1278. package/dist/index.es792.js +55 -165
  1279. package/dist/index.es792.js.map +1 -1
  1280. package/dist/index.es793.js +60 -9
  1281. package/dist/index.es793.js.map +1 -1
  1282. package/dist/index.es794.js +69 -190
  1283. package/dist/index.es794.js.map +1 -1
  1284. package/dist/index.es795.js +47 -315
  1285. package/dist/index.es795.js.map +1 -1
  1286. package/dist/index.es796.js +87 -89
  1287. package/dist/index.es796.js.map +1 -1
  1288. package/dist/index.es797.js +2 -2
  1289. package/dist/index.es798.js +2 -2
  1290. package/dist/index.es798.js.map +1 -1
  1291. package/dist/index.es799.js +2 -11
  1292. package/dist/index.es799.js.map +1 -1
  1293. package/dist/index.es8.js +1 -1
  1294. package/dist/index.es800.js +111 -10
  1295. package/dist/index.es800.js.map +1 -1
  1296. package/dist/index.es801.js +2 -54
  1297. package/dist/index.es801.js.map +1 -1
  1298. package/dist/index.es802.js +11 -2
  1299. package/dist/index.es802.js.map +1 -1
  1300. package/dist/index.es803.js +11 -2
  1301. package/dist/index.es803.js.map +1 -1
  1302. package/dist/index.es804.js +54 -2
  1303. package/dist/index.es804.js.map +1 -1
  1304. package/dist/index.es805.js +2 -112
  1305. package/dist/index.es805.js.map +1 -1
  1306. package/dist/index.es807.js +3 -3
  1307. package/dist/index.es81.js +3 -3
  1308. package/dist/index.es814.js +2 -2
  1309. package/dist/index.es815.js +2 -88
  1310. package/dist/index.es815.js.map +1 -1
  1311. package/dist/index.es816.js +2 -108
  1312. package/dist/index.es816.js.map +1 -1
  1313. package/dist/index.es817.js +2 -2
  1314. package/dist/index.es818.js +88 -2
  1315. package/dist/index.es818.js.map +1 -1
  1316. package/dist/index.es819.js +108 -2
  1317. package/dist/index.es819.js.map +1 -1
  1318. package/dist/index.es82.js +2 -2
  1319. package/dist/index.es87.js +3 -3
  1320. package/dist/index.es88.js +1 -1
  1321. package/dist/index.es92.js +3 -3
  1322. package/dist/index.es93.js +1 -1
  1323. package/dist/index.es94.js +1 -1
  1324. package/dist/index.es98.js +2 -2
  1325. package/package.json +1 -1
  1326. package/dist/index.cjs292.js +0 -2
  1327. package/dist/index.cjs292.js.map +0 -1
  1328. package/dist/index.cjs306.js +0 -2
  1329. package/dist/index.cjs306.js.map +0 -1
  1330. package/dist/index.cjs314.js +0 -2
  1331. package/dist/index.cjs314.js.map +0 -1
  1332. package/dist/index.cjs319.js +0 -8
  1333. package/dist/index.cjs319.js.map +0 -1
  1334. package/dist/index.cjs329.js +0 -6
  1335. package/dist/index.cjs329.js.map +0 -1
  1336. package/dist/index.cjs331.js +0 -2
  1337. package/dist/index.cjs331.js.map +0 -1
  1338. package/dist/index.cjs345.js +0 -2
  1339. package/dist/index.cjs345.js.map +0 -1
  1340. package/dist/index.cjs352.js +0 -2
  1341. package/dist/index.cjs352.js.map +0 -1
  1342. package/dist/index.cjs371.js +0 -2
  1343. package/dist/index.cjs371.js.map +0 -1
  1344. package/dist/index.cjs423.js +0 -2
  1345. package/dist/index.cjs489.js +0 -2
  1346. package/dist/index.cjs489.js.map +0 -1
  1347. package/dist/index.cjs502.js +0 -2
  1348. package/dist/index.cjs502.js.map +0 -1
  1349. package/dist/index.cjs503.js +0 -2
  1350. package/dist/index.cjs503.js.map +0 -1
  1351. package/dist/index.cjs506.js +0 -2
  1352. package/dist/index.cjs506.js.map +0 -1
  1353. package/dist/index.cjs543.js +0 -2
  1354. package/dist/index.cjs543.js.map +0 -1
  1355. package/dist/index.cjs544.js +0 -2
  1356. package/dist/index.cjs544.js.map +0 -1
  1357. package/dist/index.cjs545.js +0 -2
  1358. package/dist/index.cjs545.js.map +0 -1
  1359. package/dist/index.cjs547.js +0 -2
  1360. package/dist/index.cjs547.js.map +0 -1
  1361. package/dist/index.cjs548.js +0 -2
  1362. package/dist/index.cjs548.js.map +0 -1
  1363. package/dist/index.cjs572.js.map +0 -1
  1364. package/dist/index.cjs573.js.map +0 -1
  1365. package/dist/index.cjs574.js.map +0 -1
  1366. package/dist/index.cjs662.js +0 -2
  1367. package/dist/index.cjs662.js.map +0 -1
  1368. package/dist/index.cjs673.js +0 -2
  1369. package/dist/index.cjs673.js.map +0 -1
  1370. package/dist/index.cjs674.js +0 -2
  1371. package/dist/index.cjs674.js.map +0 -1
  1372. package/dist/index.cjs675.js +0 -2
  1373. package/dist/index.cjs675.js.map +0 -1
  1374. package/dist/index.cjs676.js +0 -2
  1375. package/dist/index.cjs676.js.map +0 -1
  1376. package/dist/index.cjs677.js +0 -2
  1377. package/dist/index.cjs677.js.map +0 -1
  1378. package/dist/index.cjs737.js +0 -2
  1379. package/dist/index.cjs737.js.map +0 -1
  1380. package/dist/index.es292.js +0 -151
  1381. package/dist/index.es292.js.map +0 -1
  1382. package/dist/index.es306.js +0 -6
  1383. package/dist/index.es306.js.map +0 -1
  1384. package/dist/index.es314.js +0 -20
  1385. package/dist/index.es314.js.map +0 -1
  1386. package/dist/index.es319.js +0 -127
  1387. package/dist/index.es319.js.map +0 -1
  1388. package/dist/index.es329.js +0 -262
  1389. package/dist/index.es329.js.map +0 -1
  1390. package/dist/index.es331.js +0 -21
  1391. package/dist/index.es331.js.map +0 -1
  1392. package/dist/index.es345.js +0 -37
  1393. package/dist/index.es345.js.map +0 -1
  1394. package/dist/index.es352.js +0 -11
  1395. package/dist/index.es352.js.map +0 -1
  1396. package/dist/index.es371.js +0 -128
  1397. package/dist/index.es371.js.map +0 -1
  1398. package/dist/index.es423.js +0 -8
  1399. package/dist/index.es489.js +0 -6
  1400. package/dist/index.es489.js.map +0 -1
  1401. package/dist/index.es502.js +0 -60
  1402. package/dist/index.es502.js.map +0 -1
  1403. package/dist/index.es503.js +0 -192
  1404. package/dist/index.es503.js.map +0 -1
  1405. package/dist/index.es506.js +0 -48
  1406. package/dist/index.es506.js.map +0 -1
  1407. package/dist/index.es543.js +0 -9
  1408. package/dist/index.es543.js.map +0 -1
  1409. package/dist/index.es544.js +0 -9
  1410. package/dist/index.es544.js.map +0 -1
  1411. package/dist/index.es545.js +0 -9
  1412. package/dist/index.es545.js.map +0 -1
  1413. package/dist/index.es547.js +0 -9
  1414. package/dist/index.es547.js.map +0 -1
  1415. package/dist/index.es548.js +0 -9
  1416. package/dist/index.es548.js.map +0 -1
  1417. package/dist/index.es572.js +0 -5
  1418. package/dist/index.es572.js.map +0 -1
  1419. package/dist/index.es573.js.map +0 -1
  1420. package/dist/index.es574.js.map +0 -1
  1421. package/dist/index.es662.js +0 -136
  1422. package/dist/index.es662.js.map +0 -1
  1423. package/dist/index.es673.js +0 -625
  1424. package/dist/index.es673.js.map +0 -1
  1425. package/dist/index.es674.js +0 -49
  1426. package/dist/index.es674.js.map +0 -1
  1427. package/dist/index.es675.js +0 -17
  1428. package/dist/index.es675.js.map +0 -1
  1429. package/dist/index.es676.js +0 -221
  1430. package/dist/index.es676.js.map +0 -1
  1431. package/dist/index.es677.js +0 -181
  1432. package/dist/index.es677.js.map +0 -1
  1433. package/dist/index.es737.js +0 -8
  1434. package/dist/index.es737.js.map +0 -1
  1435. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs305.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,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,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,CACnB,EAAE,EAAE,EACL,MAAO,CAACH,EAAOE,EAAQD,CAAQ,CACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs339.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,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,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,CACnB,EAAE,EAAE,EACL,MAAO,CAACH,EAAOE,EAAQD,CAAQ,CACjC","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs575.js");var r=e.__require();exports.distExports=r;
2
+ //# sourceMappingURL=index.cjs340.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs340.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs579.js");var r=e.__require();exports.FileSaver_minExports=r;
2
+ //# sourceMappingURL=index.cjs341.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs341.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.cjs343.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs343.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AddNewModal/AddNewModalHeader/AddNewModalHeader.css');const e=require("./index.cjs284.js"),s=require("./index.cjs362.js"),a=require("./index.cjs37.js");;/* empty css */const d=require("./index.cjs200.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.cjs347.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs347.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":"oPAYaA,EAAoB,CAAC,CAChC,YAAAC,EAAc,UACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,mCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,QAAS,aACT,aAAW,gBACX,QAASN,EAET,SAAA,CAACG,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAW,qBAAuB,SAAYJ,EAAA,0BAClDQ,EAAAA,MAAM,CAAA,UAAU,QAAQ,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CAAA,CAEpD,CAAA,CAAA,EACF"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs284.js"),a=require("react"),d=({className:n,decorative:e=!1,ariaLabel:o="CTA card"})=>{const s=a.useId(),i=`clip0_${s}`,r=`clip1_${s}`,V=`filter0_d_${s}`,x=`path-2-inside-1_${s}`,l=`path-4-inside-2_${s}`,H=`effect1_dropShadow_${s}`;return t.jsxRuntimeExports.jsxs("svg",{className:n,width:"121",height:"49",viewBox:"0 0 121 49",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":e,"aria-label":e?void 0:o,children:[t.jsxRuntimeExports.jsx("rect",{width:"121",height:"49",fill:"#C5C7C9"}),t.jsxRuntimeExports.jsxs("g",{clipPath:`url(#${i})`,children:[t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"35228",transform:"translate(-608 -31452)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"29722",transform:"translate(-608 -29136)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"1055",height:"29848.1",transform:"translate(-223 -29136)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"900",height:"29848.1",transform:"translate(-223 -29136)",fill:"white"}),t.jsxRuntimeExports.jsxs("g",{clipPath:`url(#${r})`,filter:`url(#${V})`,children:[t.jsxRuntimeExports.jsx("rect",{x:"-199",y:"-47.9004",width:"320",height:"96",rx:"4",fill:"#0066CC"}),t.jsxRuntimeExports.jsx("mask",{id:x,fill:"white",children:t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z"})}),t.jsxRuntimeExports.jsx("path",{d:"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z",fill:"white",mask:`url(#${x})`}),t.jsxRuntimeExports.jsxs("g",{opacity:"0.4",children:[t.jsxRuntimeExports.jsx("mask",{id:l,fill:"white",children:t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z"})}),t.jsxRuntimeExports.jsx("path",{d:"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z",fill:"white",mask:`url(#${l})`})]})]})]}),t.jsxRuntimeExports.jsxs("defs",{children:[t.jsxRuntimeExports.jsxs("filter",{id:V,x:"-215",y:"-63.9004",width:"352",height:"128",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[t.jsxRuntimeExports.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),t.jsxRuntimeExports.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.jsxRuntimeExports.jsx("feOffset",{}),t.jsxRuntimeExports.jsx("feGaussianBlur",{stdDeviation:"8"}),t.jsxRuntimeExports.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),t.jsxRuntimeExports.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:H}),t.jsxRuntimeExports.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:H,result:"shape"})]}),t.jsxRuntimeExports.jsx("clipPath",{id:i,children:t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"35228",fill:"white",transform:"translate(-608 -31452)"})}),t.jsxRuntimeExports.jsx("clipPath",{id:r,children:t.jsxRuntimeExports.jsx("rect",{width:"320",height:"96",fill:"white",transform:"translate(-199 -47.9004)"})})]})]})};exports.CtaCardIcon=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AddNewModal/AddNewModalContent/AddNewModalContent.css');const o=require("./index.cjs284.js"),n=require("./index.cjs285.js");;/* empty css */const d=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-add-new-modal-body ui-modal-content-scrollable",e),children:t});exports.AddNewModalContent=d;
2
2
  //# sourceMappingURL=index.cjs348.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs348.js","sources":["../src/icons/CtaCardIcon/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons.ts\";\nimport { useId } from \"react\";\n\nexport const CtaCardIcon = ({\n className,\n decorative = false,\n ariaLabel = \"CTA card\",\n}: IconProps) => {\n const uniqueId = useId();\n const clip0Id = `clip0_${uniqueId}`;\n const clip1Id = `clip1_${uniqueId}`;\n const filterId = `filter0_d_${uniqueId}`;\n const mask1Id = `path-2-inside-1_${uniqueId}`;\n const mask2Id = `path-4-inside-2_${uniqueId}`;\n const effectId = `effect1_dropShadow_${uniqueId}`;\n\n return (\n <svg\n className={className}\n width=\"121\"\n height=\"49\"\n viewBox=\"0 0 121 49\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <rect width=\"121\" height=\"49\" fill=\"#C5C7C9\" />\n <g clipPath={`url(#${clip0Id})`}>\n <rect\n width=\"1440\"\n height=\"35228\"\n transform=\"translate(-608 -31452)\"\n fill=\"white\"\n />\n <rect\n width=\"1440\"\n height=\"29722\"\n transform=\"translate(-608 -29136)\"\n fill=\"white\"\n />\n <rect\n width=\"1055\"\n height=\"29848.1\"\n transform=\"translate(-223 -29136)\"\n fill=\"white\"\n />\n <rect\n width=\"900\"\n height=\"29848.1\"\n transform=\"translate(-223 -29136)\"\n fill=\"white\"\n />\n <g\n clipPath={`url(#${clip1Id})`}\n filter={`url(#${filterId})`}\n >\n <rect\n x=\"-199\"\n y=\"-47.9004\"\n width=\"320\"\n height=\"96\"\n rx=\"4\"\n fill=\"#0066CC\"\n />\n <mask id={mask1Id} fill=\"white\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z\"\n />\n </mask>\n <path\n d=\"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z\"\n fill=\"white\"\n mask={`url(#${mask1Id})`}\n />\n <g opacity=\"0.4\">\n <mask id={mask2Id} fill=\"white\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z\"\n />\n </mask>\n <path\n d=\"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z\"\n fill=\"white\"\n mask={`url(#${mask2Id})`}\n />\n </g>\n </g>\n </g>\n <defs>\n <filter\n id={filterId}\n x=\"-215\"\n y=\"-63.9004\"\n width=\"352\"\n height=\"128\"\n filterUnits=\"userSpaceOnUse\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n <feColorMatrix\n in=\"SourceAlpha\"\n type=\"matrix\"\n values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n result=\"hardAlpha\"\n />\n <feOffset />\n <feGaussianBlur stdDeviation=\"8\" />\n <feColorMatrix\n type=\"matrix\"\n values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"\n />\n <feBlend\n mode=\"normal\"\n in2=\"BackgroundImageFix\"\n result={effectId}\n />\n <feBlend\n mode=\"normal\"\n in=\"SourceGraphic\"\n in2={effectId}\n result=\"shape\"\n />\n </filter>\n <clipPath id={clip0Id}>\n <rect\n width=\"1440\"\n height=\"35228\"\n fill=\"white\"\n transform=\"translate(-608 -31452)\"\n />\n </clipPath>\n <clipPath id={clip1Id}>\n <rect\n width=\"320\"\n height=\"96\"\n fill=\"white\"\n transform=\"translate(-199 -47.9004)\"\n />\n </clipPath>\n </defs>\n </svg>\n );\n};\n\n\n"],"names":["CtaCardIcon","className","decorative","ariaLabel","uniqueId","useId","clip0Id","clip1Id","filterId","mask1Id","mask2Id","effectId","jsxs","jsx"],"mappings":"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"}
1
+ {"version":3,"file":"index.cjs348.js","sources":["../src/components/ui/AddNewModal/AddNewModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./AddNewModalContent.scss\";\nimport { ReactNode } from \"react\";\n\ntype AddNewModalContentProps = {\n overrideClassNames?: string;\n children?: ReactNode;\n};\n\nexport const AddNewModalContent = ({\n overrideClassNames,\n children,\n}: AddNewModalContentProps) => {\n return (\n <div\n className={clsx(\n \"ui-add-new-modal-body ui-modal-content-scrollable\",\n overrideClassNames,\n )}\n >\n {children}\n </div>\n );\n};\n"],"names":["AddNewModalContent","overrideClassNames","children","jsx","clsx"],"mappings":"iLASO,MAAMA,EAAqB,CAAC,CACjC,mBAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACT,oDACAH,CACF,EAEC,SAAAC,CAAA,CACH"}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AddNewModal/AddNewModalFooter/AddNewModalFooter.css');const o=require("./index.cjs284.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-add-new-modal-footer bg-white shadow ui-modal-footer",children:e});exports.AddNewModalFooter=t;
2
- //# sourceMappingURL=index.cjs315.js.map
2
+ //# sourceMappingURL=index.cjs349.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs315.js","sources":["../src/components/ui/AddNewModal/AddNewModalFooter/index.tsx"],"sourcesContent":["import \"./AddNewModalFooter.scss\";\nimport { ReactNode } from \"react\";\n\ntype AddNewModalFooterProps = {\n children?: ReactNode;\n};\n\nexport const AddNewModalFooter = ({ children }: AddNewModalFooterProps) => {\n return (\n <footer className=\"ui-add-new-modal-footer bg-white shadow ui-modal-footer\">\n {children}\n </footer>\n );\n};\n"],"names":["AddNewModalFooter","children","jsx"],"mappings":"kJAOO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0DACf,SAAAD,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs349.js","sources":["../src/components/ui/AddNewModal/AddNewModalFooter/index.tsx"],"sourcesContent":["import \"./AddNewModalFooter.scss\";\nimport { ReactNode } from \"react\";\n\ntype AddNewModalFooterProps = {\n children?: ReactNode;\n};\n\nexport const AddNewModalFooter = ({ children }: AddNewModalFooterProps) => {\n return (\n <footer className=\"ui-add-new-modal-footer bg-white shadow ui-modal-footer\">\n {children}\n </footer>\n );\n};\n"],"names":["AddNewModalFooter","children","jsx"],"mappings":"kJAOO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0DACf,SAAAD,CACH,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModal.css');const o=require("./index.cjs284.js"),s=require("./index.cjs329.js"),n=require("./index.cjs330.js"),p=require("./index.cjs331.js"),q=require("./index.cjs332.js"),R=require("./index.cjs333.js");;/* empty css */const a=require("./index.cjs285.js"),b=require("react"),r=({open:i,setOpen:d,overrideClassNames:l,stacked:e=!1,overrideBaseModalClassName:t="ui-base-modal-overlay",id:x=void 0,role:u="dialog",children:c})=>{const m=e?"div":b.Fragment;return o.jsxRuntimeExports.jsx(m,{...e&&{onPointerDownCapture:j=>{j.stopPropagation()}},children:o.jsxRuntimeExports.jsx(s.Root,{open:i,onOpenChange:d,modal:!e,children:o.jsxRuntimeExports.jsxs(s.Portal,{children:[!e&&o.jsxRuntimeExports.jsx(s.Overlay,{className:t}),e&&o.jsxRuntimeExports.jsx("div",{className:a.clsx(t,"stacked-modal-overlay")}),o.jsxRuntimeExports.jsx(s.Content,{className:a.clsx("bg-white shadow br-x4 ui-base-modal-body",{"stacked-modal-body":e},l),id:x,role:u,children:c})]})})})};r.Header=n.BaseModalHeader;r.HeaderV2=n.BaseModalHeaderV2;r.HeaderBack=R.BaseModalBackHeader;r.Content=q.BaseModalContent;r.Footer=p.BaseModalFooter;exports.BaseModal=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModal.css');const o=require("./index.cjs284.js"),s=require("./index.cjs362.js"),n=require("./index.cjs363.js"),p=require("./index.cjs364.js"),q=require("./index.cjs365.js"),R=require("./index.cjs366.js");;/* empty css */const a=require("./index.cjs285.js"),b=require("react"),r=({open:i,setOpen:d,overrideClassNames:l,stacked:e=!1,overrideBaseModalClassName:t="ui-base-modal-overlay",id:x=void 0,role:u="dialog",children:c})=>{const m=e?"div":b.Fragment;return o.jsxRuntimeExports.jsx(m,{...e&&{onPointerDownCapture:j=>{j.stopPropagation()}},children:o.jsxRuntimeExports.jsx(s.Root,{open:i,onOpenChange:d,modal:!e,children:o.jsxRuntimeExports.jsxs(s.Portal,{children:[!e&&o.jsxRuntimeExports.jsx(s.Overlay,{className:t}),e&&o.jsxRuntimeExports.jsx("div",{className:a.clsx(t,"stacked-modal-overlay")}),o.jsxRuntimeExports.jsx(s.Content,{className:a.clsx("bg-white shadow br-x4 ui-base-modal-body",{"stacked-modal-body":e},l),id:x,role:u,children:c})]})})})};r.Header=n.BaseModalHeader;r.HeaderV2=n.BaseModalHeaderV2;r.HeaderBack=R.BaseModalBackHeader;r.Content=q.BaseModalContent;r.Footer=p.BaseModalFooter;exports.BaseModal=r;
2
2
  //# sourceMappingURL=index.cjs35.js.map
@@ -1,2 +1,8 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardInfoDoctorModal/CardInfoDoctorModalHeader/CardInfoDoctorModalHeader.css');const e=require("./index.cjs284.js"),r=require("./index.cjs329.js");;/* empty css */const d=require("./index.cjs37.js"),o=require("./index.cjs200.js"),n=({closeButton:t="Chiudi",onCloseClick:s,children:a})=>e.jsxRuntimeExports.jsxs("header",{className:"ui-card-info-modal-header bg-white",children:[e.jsxRuntimeExports.jsx(r.Close,{asChild:!0,className:"ui-card-info-modal-header-close",children:e.jsxRuntimeExports.jsxs(d.Button,{size:"4",variant:"closeModal","aria-label":"Chiudi modale",onClick:i=>{i.stopPropagation(),s==null||s()},children:[e.jsxRuntimeExports.jsx("span",{className:"ui-card-info-modal-header-close-label",children:t}),e.jsxRuntimeExports.jsx(o.Close,{className:"ml-x8",width:24,height:24})]})}),e.jsxRuntimeExports.jsx(r.Title,{className:"fs-6 md-fs-custom text-slate-20 fw-bold header-title-with-children",children:a})]});exports.CardInfoDoctorModalHeader=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.cjs531.js"),E=require("./index.cjs530.js"),n=require("./index.cjs362.js"),h=require("./index.cjs529.js"),w=require("./index.cjs542.js"),i=require("./index.cjs284.js");function M(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=M(b);var j="AlertDialog",[q,I]=T.createContextScope(j,[n.createDialogScope]),s=n.createDialogScope(),d=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Root,{...r,...t,modal:!0})};d.displayName=j;var $="AlertDialogTrigger",_=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Trigger,{...a,...r,ref:o})});_.displayName=$;var L="AlertDialogPortal",A=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Portal,{...r,...t})};A.displayName=L;var F="AlertDialogOverlay",D=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Overlay,{...a,...r,ref:o})});D.displayName=F;var c="AlertDialogContent",[G,W]=q(c),Y=w.createSlottable("AlertDialogContent"),v=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,children:r,...a}=e,u=s(t),g=l.useRef(null),P=E.useComposedRefs(o,g),R=l.useRef(null);return i.jsxRuntimeExports.jsx(n.WarningProvider,{contentName:c,titleName:C,docsSlug:"alert-dialog",children:i.jsxRuntimeExports.jsx(G,{scope:t,cancelRef:R,children:i.jsxRuntimeExports.jsxs(n.Content,{role:"alertdialog",...u,...a,ref:P,onOpenAutoFocus:h.composeEventHandlers(a.onOpenAutoFocus,p=>{var y;p.preventDefault(),(y=R.current)==null||y.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[i.jsxRuntimeExports.jsx(Y,{children:r}),i.jsxRuntimeExports.jsx(z,{contentRef:g})]})})})});v.displayName=c;var C="AlertDialogTitle",f=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Title,{...a,...r,ref:o})});f.displayName=C;var N="AlertDialogDescription",x=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Description,{...a,...r,ref:o})});x.displayName=N;var k="AlertDialogAction",S=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Close,{...a,...r,ref:o})});S.displayName=k;var O="AlertDialogCancel",m=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:a}=W(O,t),u=s(t),g=E.useComposedRefs(o,a);return i.jsxRuntimeExports.jsx(n.Close,{...u,...r,ref:g})});m.displayName=O;var z=({contentRef:e})=>{const o=`\`${c}\` requires a description for the component to be accessible for screen reader users.
2
+
3
+ You can add a description to the \`${c}\` by passing a \`${N}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
+
5
+ Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${c}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
6
+
7
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return l.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(o)},[o,e]),null},B=d,H=A,V=D,J=v,K=m,Q=f,U=x;exports.AlertDialog=d;exports.AlertDialogAction=S;exports.AlertDialogCancel=m;exports.AlertDialogContent=v;exports.AlertDialogDescription=x;exports.AlertDialogOverlay=D;exports.AlertDialogPortal=A;exports.AlertDialogTitle=f;exports.AlertDialogTrigger=_;exports.Cancel=K;exports.Content=J;exports.Description=U;exports.Overlay=V;exports.Portal=H;exports.Root=B;exports.Title=Q;exports.createAlertDialogScope=I;
2
8
  //# sourceMappingURL=index.cjs353.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs353.js","sources":["../src/components/ui/CardInfoDoctorModal/CardInfoDoctorModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"@/components\";\nimport { Close } from \"@/icons\";\nimport \"./CardInfoDoctorModalHeader.scss\";\nimport { PropsWithChildren, ReactNode } from \"react\";\n\ntype CardInfoDoctorModalHeaderProps = PropsWithChildren<{\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n}>;\n\nexport const CardInfoDoctorModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: CardInfoDoctorModalHeaderProps) => {\n return (\n <header className=\"ui-card-info-modal-header bg-white\">\n <Dialog.Close asChild className=\"ui-card-info-modal-header-close\">\n <Button\n size=\"4\"\n variant={\"closeModal\"}\n aria-label=\"Chiudi modale\"\n onClick={(e: any) => {\n e.stopPropagation();\n onCloseClick?.();\n }}\n >\n <span className=\"ui-card-info-modal-header-close-label\">\n {closeButton}\n </span>\n <Close className=\"ml-x8\" width={24} height={24} />\n </Button>\n </Dialog.Close>\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold header-title-with-children\">\n {children}\n </Dialog.Title>\n </header>\n );\n};\n"],"names":["CardInfoDoctorModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Close","Button","e","Close","Dialog.Title"],"mappings":"oPAYaA,EAA4B,CAAC,CACxC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,qCAChB,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,MAAA,CAAa,QAAO,GAAC,UAAU,kCAC9B,SAAAF,EAAA,kBAAA,KAACG,EAAA,OAAA,CACC,KAAK,IACL,QAAS,aACT,aAAW,gBACX,QAAUC,GAAW,CACnBA,EAAE,gBAAgB,EACHN,GAAA,MAAAA,GACjB,EAEA,SAAA,CAACG,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,wCACb,SACHJ,EAAA,0BACCQ,EAAAA,MAAM,CAAA,UAAU,QAAQ,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CAAA,EAEpD,0BACCC,EAAAA,MAAA,CAAa,UAAU,qEACrB,SAAAP,CACH,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs353.js","sources":["../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/alert-dialog/src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","createSlottable","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Portal2","Overlay2","Content2","Cancel","Title2","Description2"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs265.js");require("./index.cjs3.js");const o=(t,e="it")=>t?r.default.fromISO(t).setLocale(e).toFormat("dd/MM/yyyy"):null;exports.fromISODateToDateFormatted=o;
2
- //# sourceMappingURL=index.cjs323.js.map
2
+ //# sourceMappingURL=index.cjs357.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs323.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":"gJAkBO,MAAMA,EAA6B,CACxCC,EACAC,EAAiB,OAEZD,EACQE,EAAAA,QAAS,QAAQF,CAAO,EAAE,UAAUC,CAAM,EAC3C,SAAS,YAAY,EAFZ"}
1
+ {"version":3,"file":"index.cjs357.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":"gJAkBO,MAAMA,EAA6B,CACxCC,EACAC,EAAiB,OAEZD,EACQE,EAAAA,QAAS,QAAQF,CAAO,EAAE,UAAUC,CAAM,EAC3C,SAAS,YAAY,EAFZ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs305.js"),s=require("react"),p=()=>{const[o,t]=c.useCopyToClipboard(),[r,e]=s.useState(!1);return{isCopied:r,copiedText:o,copyToClipboard:()=>{if(typeof window>"u")return;const i=window.location.href;t(i).then(()=>{e(()=>!0),setTimeout(()=>{e(!1)},1500)}).catch(n=>{console.debug("Failed to copy!",n)})}}};exports.useCopyToClipboardCurrentPage=p;
2
- //# sourceMappingURL=index.cjs324.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs339.js"),s=require("react"),p=()=>{const[o,t]=c.useCopyToClipboard(),[r,e]=s.useState(!1);return{isCopied:r,copiedText:o,copyToClipboard:()=>{if(typeof window>"u")return;const i=window.location.href;t(i).then(()=>{e(()=>!0),setTimeout(()=>{e(!1)},1500)}).catch(n=>{console.debug("Failed to copy!",n)})}}};exports.useCopyToClipboardCurrentPage=p;
2
+ //# sourceMappingURL=index.cjs358.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs324.js","sources":["../src/hooks/useCopyToClipboardCurrentPage.ts"],"sourcesContent":["import { useCopyToClipboard as useCopyToClipboardNative } from \"usehooks-ts\";\n\nimport { useState } from \"react\";\n\nexport const useCopyToClipboardCurrentPage = () => {\n const [copiedText, copy] = useCopyToClipboardNative();\n const [isCopied, setIsCopied] = useState(false);\n\n const copyToClipboard = () => {\n if (typeof window === \"undefined\") return;\n const completeUrl = window.location.href;\n copy(completeUrl)\n .then(() => {\n setIsCopied(() => true);\n setTimeout(() => {\n setIsCopied(false);\n }, 1500);\n })\n .catch((error) => {\n console.debug(\"Failed to copy!\", error);\n });\n };\n\n return {\n isCopied,\n copiedText,\n copyToClipboard,\n };\n};\n"],"names":["useCopyToClipboardCurrentPage","copiedText","copy","useCopyToClipboardNative","isCopied","setIsCopied","useState","completeUrl","error"],"mappings":"wIAIaA,EAAgC,IAAM,CACjD,KAAM,CAACC,EAAYC,CAAI,EAAIC,qBAAyB,EAC9C,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EAiBvC,MAAA,CACL,SAAAF,EACA,WAAAH,EACA,gBAlBsB,IAAM,CACxB,GAAA,OAAO,OAAW,IAAa,OAC7B,MAAAM,EAAc,OAAO,SAAS,KAC/BL,EAAAK,CAAW,EACb,KAAK,IAAM,CACVF,EAAY,IAAM,EAAI,EACtB,WAAW,IAAM,CACfA,EAAY,EAAK,GAChB,IAAI,CAAA,CACR,EACA,MAAOG,GAAU,CACR,QAAA,MAAM,kBAAmBA,CAAK,CAAA,CACvC,CACL,CAMA,CACF"}
1
+ {"version":3,"file":"index.cjs358.js","sources":["../src/hooks/useCopyToClipboardCurrentPage.ts"],"sourcesContent":["import { useCopyToClipboard as useCopyToClipboardNative } from \"usehooks-ts\";\n\nimport { useState } from \"react\";\n\nexport const useCopyToClipboardCurrentPage = () => {\n const [copiedText, copy] = useCopyToClipboardNative();\n const [isCopied, setIsCopied] = useState(false);\n\n const copyToClipboard = () => {\n if (typeof window === \"undefined\") return;\n const completeUrl = window.location.href;\n copy(completeUrl)\n .then(() => {\n setIsCopied(() => true);\n setTimeout(() => {\n setIsCopied(false);\n }, 1500);\n })\n .catch((error) => {\n console.debug(\"Failed to copy!\", error);\n });\n };\n\n return {\n isCopied,\n copiedText,\n copyToClipboard,\n };\n};\n"],"names":["useCopyToClipboardCurrentPage","copiedText","copy","useCopyToClipboardNative","isCopied","setIsCopied","useState","completeUrl","error"],"mappings":"wIAIaA,EAAgC,IAAM,CACjD,KAAM,CAACC,EAAYC,CAAI,EAAIC,qBAAyB,EAC9C,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EAiBvC,MAAA,CACL,SAAAF,EACA,WAAAH,EACA,gBAlBsB,IAAM,CACxB,GAAA,OAAO,OAAW,IAAa,OAC7B,MAAAM,EAAc,OAAO,SAAS,KAC/BL,EAAAK,CAAW,EACb,KAAK,IAAM,CACVF,EAAY,IAAM,EAAI,EACtB,WAAW,IAAM,CACfA,EAAY,EAAK,GAChB,IAAI,CAAA,CACR,EACA,MAAOG,GAAU,CACR,QAAA,MAAM,kBAAmBA,CAAK,CAAA,CACvC,CACL,CAMA,CACF"}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(t,e)=>{if(!t&&!e)return"";const i=t?t.charAt(0).toLocaleUpperCase():"",l=e?e.charAt(0).toLocaleUpperCase():"";return i+l};exports.getFullNameInitials=r;
2
- //# sourceMappingURL=index.cjs325.js.map
2
+ //# sourceMappingURL=index.cjs359.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs325.js","sources":["../src/utils/getFullNameInitials.ts"],"sourcesContent":["export const getFullNameInitials = (name: string, lastName: string): string => {\n if (!name && !lastName) return \"\";\n\n const nameInitial = name ? name.charAt(0).toLocaleUpperCase() : \"\";\n const lastNameInitial = lastName\n ? lastName.charAt(0).toLocaleUpperCase()\n : \"\";\n\n return nameInitial + lastNameInitial;\n};\n"],"names":["getFullNameInitials","name","lastName","nameInitial","lastNameInitial"],"mappings":"gFAAa,MAAAA,EAAsB,CAACC,EAAcC,IAA6B,CAC7E,GAAI,CAACD,GAAQ,CAACC,EAAiB,MAAA,GAE/B,MAAMC,EAAcF,EAAOA,EAAK,OAAO,CAAC,EAAE,oBAAsB,GAC1DG,EAAkBF,EACpBA,EAAS,OAAO,CAAC,EAAE,oBACnB,GAEJ,OAAOC,EAAcC,CACvB"}
1
+ {"version":3,"file":"index.cjs359.js","sources":["../src/utils/getFullNameInitials.ts"],"sourcesContent":["export const getFullNameInitials = (name: string, lastName: string): string => {\n if (!name && !lastName) return \"\";\n\n const nameInitial = name ? name.charAt(0).toLocaleUpperCase() : \"\";\n const lastNameInitial = lastName\n ? lastName.charAt(0).toLocaleUpperCase()\n : \"\";\n\n return nameInitial + lastNameInitial;\n};\n"],"names":["getFullNameInitials","name","lastName","nameInitial","lastNameInitial"],"mappings":"gFAAa,MAAAA,EAAsB,CAACC,EAAcC,IAA6B,CAC7E,GAAI,CAACD,GAAQ,CAACC,EAAiB,MAAA,GAE/B,MAAMC,EAAcF,EAAOA,EAAK,OAAO,CAAC,EAAE,oBAAsB,GAC1DG,EAAkBF,EACpBA,EAAS,OAAO,CAAC,EAAE,oBACnB,GAEJ,OAAOC,EAAcC,CACvB"}
@@ -1,2 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs284.js"),o=({width:i=21,height:t=21,className:d,decorative:l=!1,ariaLabel:n="Immagine",...s})=>e.jsxRuntimeExports.jsxs("svg",{width:i,height:t,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d,"aria-hidden":l,"aria-label":l?void 0:n,...s,children:[e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7667 1.23854H1.89999V19.1052H19.7667V1.23854ZM0.833328 0.171875V20.1719H20.8333V0.171875H0.833328Z",fill:"white"}),e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8333 7.5941C14.5815 7.5941 14.3444 7.71265 14.1933 7.9141L11.26 11.8252C11.1672 11.9489 11.0254 12.0262 10.8711 12.0372C10.7169 12.0482 10.5655 11.9917 10.4562 11.8823L9.54332 10.9694C9.3793 10.8054 9.15214 10.7206 8.92076 10.7371C8.68939 10.7536 8.47655 10.8697 8.33743 11.0553C8.33209 11.0624 8.32657 11.0694 8.32088 11.0763L5.12494 14.9229L4.30449 14.2413L7.49262 10.404C7.81736 9.97765 8.30993 9.71123 8.845 9.67313C9.38488 9.63469 9.91486 9.83247 10.2976 10.2152L10.7756 10.6933L13.34 7.2741C13.6925 6.80406 14.2458 6.52743 14.8333 6.52743C15.4209 6.52743 15.9741 6.80406 16.3267 7.2741L19.02 10.8652L18.1667 11.5052L15.4733 7.9141C15.3222 7.71265 15.0851 7.5941 14.8333 7.5941Z",fill:"white"}),e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.63333 5.17188C3.63333 3.95685 4.6183 2.97188 5.83333 2.97188C7.04835 2.97188 8.03333 3.95685 8.03333 5.17188C8.03333 6.3869 7.04835 7.37188 5.83333 7.37188C4.6183 7.37188 3.63333 6.3869 3.63333 5.17188ZM5.83333 4.03854C5.20741 4.03854 4.7 4.54595 4.7 5.17188C4.7 5.7978 5.20741 6.30521 5.83333 6.30521C6.45925 6.30521 6.96666 5.7978 6.96666 5.17188C6.96666 4.54595 6.45925 4.03854 5.83333 4.03854Z",fill:"white"}),e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.41111 14.083H20.2556V15.1497H1.41111V14.083Z",fill:"white"})]});exports.Image=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs529.js"),v=require("./index.cjs530.js"),M=require("./index.cjs531.js"),R=require("./index.cjs532.js"),B=require("./index.cjs533.js"),V=require("./index.cjs534.js"),z=require("./index.cjs535.js"),K=require("./index.cjs536.js"),E=require("./index.cjs537.js"),x=require("./index.cjs538.js"),U=require("./index.cjs539.js"),Y=require("./index.cjs540.js"),Z=require("./index.cjs541.js"),J=require("./index.cjs542.js"),s=require("./index.cjs284.js");function Q(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 a=Q(H);var j="Dialog",[S,X]=M.createContextScope(j),[ee,u]=S(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:i,onChange:o});return s.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var w="DialogTrigger",P=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(w,n),o=v.useComposedRefs(t,i.triggerRef);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":A(i.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,i.onOpenToggle)})});P.displayName=w;var _="DialogPortal",[te,F]=S(_,{forceMount:void 0}),y=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=u(_,t);return s.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>s.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:s.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:i,children:c})}))})};y.displayName=_;var m="DialogOverlay",O=a.forwardRef((e,t)=>{const n=F(m,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(m,e.__scopeDialog);return o.modal?s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:s.jsxRuntimeExports.jsx(ne,{...i,ref:t})}):null});O.displayName=m;var oe=J.createSlot("DialogOverlay.RemoveScroll"),ne=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(m,n);return s.jsxRuntimeExports.jsx(Y,{as:oe,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":A(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",h=a.forwardRef((e,t)=>{const n=F(g,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(g,e.__scopeDialog);return s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?s.jsxRuntimeExports.jsx(re,{...i,ref:t}):s.jsxRuntimeExports.jsx(ie,{...i,ref:t})})});h.displayName=g;var re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),i=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),s.jsxRuntimeExports.jsx(q,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),ie=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),i=a.useRef(!1);return s.jsxRuntimeExports.jsx(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),q=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":A(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ae,{titleId:l.titleId}),s.jsxRuntimeExports.jsx(le,{contentRef:d,descriptionId:l.descriptionId})]})]})}),N="DialogTitle",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(N,n);return s.jsxRuntimeExports.jsx(x.Primitive.h2,{id:i.titleId,...r,ref:t})});b.displayName=N;var $="DialogDescription",I=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u($,n);return s.jsxRuntimeExports.jsx(x.Primitive.p,{id:i.descriptionId,...r,ref:t})});I.displayName=$;var W="DialogClose",T=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(W,n);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>i.onOpenChange(!1))})});T.displayName=W;function A(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=M.createContext(k,{contentName:g,titleName:N,docsSlug:"dialog"}),ae=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
+
3
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
+
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ce="DialogDescriptionWarning",le=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${G(ce).contentName}}.`;return a.useEffect(()=>{var o;const i=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},ue=C,de=P,ge=y,fe=O,pe=h,xe=b,me=I,De=T;exports.Close=De;exports.Content=pe;exports.Description=me;exports.Dialog=C;exports.DialogClose=T;exports.DialogContent=h;exports.DialogDescription=I;exports.DialogOverlay=O;exports.DialogPortal=y;exports.DialogTitle=b;exports.DialogTrigger=P;exports.Overlay=fe;exports.Portal=ge;exports.Root=ue;exports.Title=xe;exports.Trigger=de;exports.WarningProvider=se;exports.createDialogScope=X;
2
6
  //# sourceMappingURL=index.cjs362.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs362.js","sources":["../src/icons/Image/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Image = ({\n width = 21,\n height = 21,\n className,\n decorative = false,\n ariaLabel = \"Immagine\",\n ...props\n}: IconProps) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 21 21\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M19.7667 1.23854H1.89999V19.1052H19.7667V1.23854ZM0.833328 0.171875V20.1719H20.8333V0.171875H0.833328Z\"\n fill=\"white\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.8333 7.5941C14.5815 7.5941 14.3444 7.71265 14.1933 7.9141L11.26 11.8252C11.1672 11.9489 11.0254 12.0262 10.8711 12.0372C10.7169 12.0482 10.5655 11.9917 10.4562 11.8823L9.54332 10.9694C9.3793 10.8054 9.15214 10.7206 8.92076 10.7371C8.68939 10.7536 8.47655 10.8697 8.33743 11.0553C8.33209 11.0624 8.32657 11.0694 8.32088 11.0763L5.12494 14.9229L4.30449 14.2413L7.49262 10.404C7.81736 9.97765 8.30993 9.71123 8.845 9.67313C9.38488 9.63469 9.91486 9.83247 10.2976 10.2152L10.7756 10.6933L13.34 7.2741C13.6925 6.80406 14.2458 6.52743 14.8333 6.52743C15.4209 6.52743 15.9741 6.80406 16.3267 7.2741L19.02 10.8652L18.1667 11.5052L15.4733 7.9141C15.3222 7.71265 15.0851 7.5941 14.8333 7.5941Z\"\n fill=\"white\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.63333 5.17188C3.63333 3.95685 4.6183 2.97188 5.83333 2.97188C7.04835 2.97188 8.03333 3.95685 8.03333 5.17188C8.03333 6.3869 7.04835 7.37188 5.83333 7.37188C4.6183 7.37188 3.63333 6.3869 3.63333 5.17188ZM5.83333 4.03854C5.20741 4.03854 4.7 4.54595 4.7 5.17188C4.7 5.7978 5.20741 6.30521 5.83333 6.30521C6.45925 6.30521 6.96666 5.7978 6.96666 5.17188C6.96666 4.54595 6.45925 4.03854 5.83333 4.03854Z\"\n fill=\"white\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M1.41111 14.083H20.2556V15.1497H1.41111V14.083Z\"\n fill=\"white\"\n />\n </svg>\n );\n};\n"],"names":["Image","width","height","className","decorative","ariaLabel","props","jsxs","jsx"],"mappings":"qHAEaA,EAAQ,CAAC,CACpB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,WACZ,GAAGC,CACL,IAEIC,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,UAAAC,EACA,cAAaC,EACb,aAAaA,EAAyB,OAAZC,EACzB,GAAGC,EAEJ,SAAA,CAAAE,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,yGACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,krBACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,mZACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,kDACF,KAAK,OAAA,CAAA,CACP,CAAA,CACF"}
1
+ {"version":3,"file":"index.cjs362.js","sources":["../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","createSlot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","_a","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","_b","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModalHeader/BaseModalHeader.css');const e=require("./index.cjs284.js"),o=require("./index.cjs329.js"),i=require("./index.cjs37.js");;/* empty css */const x=require("./index.cjs285.js"),m=require("./index.cjs184.js"),a=require("./index.cjs131.js"),u=require("./index.cjs200.js"),c=require("./index.cjs67.js"),j=({labels:t={closeButton:"Chiudi",backButton:"Indietro"},onCloseClick:s,onBackClick:r,showBackButton:n=!1,children:d,classNameModalHeader:l="ui-base-modal-header"})=>e.jsxRuntimeExports.jsxs("header",{className:x.clsx(l,"bg-white br-t-x4"),children:[e.jsxRuntimeExports.jsxs(a.Row,{alignItems:"center",justifyContent:"space-between",children:[n&&r&&(t!=null&&t.backButton)?e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Torna indietro",onClick:r,children:[e.jsxRuntimeExports.jsx(m.ArrowLeft,{className:"mr-x8"}),t.backButton]}):null,s&&(t!=null&&t.closeButton)?e.jsxRuntimeExports.jsx(o.Close,{asChild:!0,children:e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:s,className:"ui-base-modal-close",children:[t.closeButton,e.jsxRuntimeExports.jsx(u.Close,{className:"ml-x8"})]})}):null]}),e.jsxRuntimeExports.jsx(c.Col,{children:e.jsxRuntimeExports.jsx(o.Title,{className:"fs-3 text-slate-20 fw-bold",children:d})})]}),p=({labels:t={closeButton:"Chiudi"},onCloseClick:s,children:r,classNameModalHeader:n="ui-base-modal-header"})=>e.jsxRuntimeExports.jsx("header",{className:x.clsx(n,"bg-white br-t-x4"),children:e.jsxRuntimeExports.jsxs(a.Row,{justifyContent:"space-between",children:[e.jsxRuntimeExports.jsx(c.Col,{}),e.jsxRuntimeExports.jsx(o.Title,{className:"fs-3 text-slate-20 fw-bold",children:r}),s&&(t!=null&&t.closeButton)?e.jsxRuntimeExports.jsx(o.Close,{asChild:!0,children:e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:s,className:"ui-base-modal-close",children:[t.closeButton,e.jsxRuntimeExports.jsx(u.Close,{className:"ml-x8"})]})}):null]})});exports.BaseModalHeader=j;exports.BaseModalHeaderV2=p;
2
- //# sourceMappingURL=index.cjs330.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModalHeader/BaseModalHeader.css');const e=require("./index.cjs284.js"),o=require("./index.cjs362.js"),i=require("./index.cjs37.js");;/* empty css */const x=require("./index.cjs285.js"),m=require("./index.cjs184.js"),a=require("./index.cjs131.js"),u=require("./index.cjs200.js"),c=require("./index.cjs67.js"),j=({labels:t={closeButton:"Chiudi",backButton:"Indietro"},onCloseClick:s,onBackClick:r,showBackButton:n=!1,children:d,classNameModalHeader:l="ui-base-modal-header"})=>e.jsxRuntimeExports.jsxs("header",{className:x.clsx(l,"bg-white br-t-x4"),children:[e.jsxRuntimeExports.jsxs(a.Row,{alignItems:"center",justifyContent:"space-between",children:[n&&r&&(t!=null&&t.backButton)?e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Torna indietro",onClick:r,children:[e.jsxRuntimeExports.jsx(m.ArrowLeft,{className:"mr-x8"}),t.backButton]}):null,s&&(t!=null&&t.closeButton)?e.jsxRuntimeExports.jsx(o.Close,{asChild:!0,children:e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:s,className:"ui-base-modal-close",children:[t.closeButton,e.jsxRuntimeExports.jsx(u.Close,{className:"ml-x8"})]})}):null]}),e.jsxRuntimeExports.jsx(c.Col,{children:e.jsxRuntimeExports.jsx(o.Title,{className:"fs-3 text-slate-20 fw-bold",children:d})})]}),p=({labels:t={closeButton:"Chiudi"},onCloseClick:s,children:r,classNameModalHeader:n="ui-base-modal-header"})=>e.jsxRuntimeExports.jsx("header",{className:x.clsx(n,"bg-white br-t-x4"),children:e.jsxRuntimeExports.jsxs(a.Row,{justifyContent:"space-between",children:[e.jsxRuntimeExports.jsx(c.Col,{}),e.jsxRuntimeExports.jsx(o.Title,{className:"fs-3 text-slate-20 fw-bold",children:r}),s&&(t!=null&&t.closeButton)?e.jsxRuntimeExports.jsx(o.Close,{asChild:!0,children:e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:s,className:"ui-base-modal-close",children:[t.closeButton,e.jsxRuntimeExports.jsx(u.Close,{className:"ml-x8"})]})}):null]})});exports.BaseModalHeader=j;exports.BaseModalHeaderV2=p;
2
+ //# sourceMappingURL=index.cjs363.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs330.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close, ArrowLeft } from \"@/icons\";\nimport \"./BaseModalHeader.scss\";\nimport { Col, Row } from \"@/components\";\nimport clsx from \"clsx\";\n\ntype BaseModalHeaderProps = {\n labels?: {\n closeButton?: string;\n backButton?: string;\n };\n onCloseClick?: () => void;\n onBackClick?: () => void;\n showBackButton?: boolean;\n children?: React.ReactNode;\n classNameModalHeader?: string;\n};\n\nexport const BaseModalHeader = ({\n labels = {\n closeButton: \"Chiudi\",\n backButton: \"Indietro\",\n },\n onCloseClick,\n onBackClick,\n showBackButton = false,\n children,\n classNameModalHeader = \"ui-base-modal-header\",\n}: BaseModalHeaderProps) => {\n return (\n <header className={clsx(classNameModalHeader, \"bg-white br-t-x4\")}>\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\n {showBackButton && onBackClick && labels?.backButton ? (\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n >\n <ArrowLeft className=\"mr-x8\" />\n {labels.backButton}\n </Button>\n ) : null}\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n <Col>\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </Col>\n </header>\n );\n};\n\nexport const BaseModalHeaderV2 = ({\n labels = {\n closeButton: \"Chiudi\",\n },\n onCloseClick,\n children,\n classNameModalHeader = \"ui-base-modal-header\",\n}: BaseModalHeaderProps) => {\n return (\n <header className={clsx(classNameModalHeader, \"bg-white br-t-x4\")}>\n <Row justifyContent={\"space-between\"}>\n <Col />\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n </header>\n );\n};\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","classNameModalHeader","clsx","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Col","Dialog.Title","BaseModalHeaderV2"],"mappings":"+WAmBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,EACA,qBAAAC,EAAuB,sBACzB,6BAEK,SAAO,CAAA,UAAWC,EAAK,KAAAD,EAAsB,kBAAkB,EAC9D,SAAA,CAAAE,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBL,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCO,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASP,EAET,SAAA,CAACQ,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BX,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBU,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASR,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRU,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,EACAH,wBAACI,EAAAA,KACC,SAACJ,EAAA,kBAAA,IAAAK,QAAA,CAAa,UAAU,6BACrB,SAAAX,CAAA,CACH,CACF,CAAA,CAAA,EACF,EAISY,EAAoB,CAAC,CAChC,OAAAhB,EAAS,CACP,YAAa,QACf,EACA,aAAAC,EACA,SAAAG,EACA,qBAAAC,EAAuB,sBACzB,IAEIK,EAAA,kBAAA,IAAC,SAAO,CAAA,UAAWJ,EAAAA,KAAKD,EAAsB,kBAAkB,EAC9D,SAAAE,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,eAAgB,gBACnB,SAAA,CAAAE,EAAA,kBAAA,IAACI,EAAI,IAAA,EAAA,0BACJC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAX,CACH,CAAA,EACCH,IAAgBD,GAAA,MAAAA,EAAQ,aACvBU,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASR,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRU,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,CAAA,CACN,CACF,CAAA"}
1
+ {"version":3,"file":"index.cjs363.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close, ArrowLeft } from \"@/icons\";\nimport \"./BaseModalHeader.scss\";\nimport { Col, Row } from \"@/components\";\nimport clsx from \"clsx\";\n\ntype BaseModalHeaderProps = {\n labels?: {\n closeButton?: string;\n backButton?: string;\n };\n onCloseClick?: () => void;\n onBackClick?: () => void;\n showBackButton?: boolean;\n children?: React.ReactNode;\n classNameModalHeader?: string;\n};\n\nexport const BaseModalHeader = ({\n labels = {\n closeButton: \"Chiudi\",\n backButton: \"Indietro\",\n },\n onCloseClick,\n onBackClick,\n showBackButton = false,\n children,\n classNameModalHeader = \"ui-base-modal-header\",\n}: BaseModalHeaderProps) => {\n return (\n <header className={clsx(classNameModalHeader, \"bg-white br-t-x4\")}>\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\n {showBackButton && onBackClick && labels?.backButton ? (\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n >\n <ArrowLeft className=\"mr-x8\" />\n {labels.backButton}\n </Button>\n ) : null}\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n <Col>\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </Col>\n </header>\n );\n};\n\nexport const BaseModalHeaderV2 = ({\n labels = {\n closeButton: \"Chiudi\",\n },\n onCloseClick,\n children,\n classNameModalHeader = \"ui-base-modal-header\",\n}: BaseModalHeaderProps) => {\n return (\n <header className={clsx(classNameModalHeader, \"bg-white br-t-x4\")}>\n <Row justifyContent={\"space-between\"}>\n <Col />\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n </header>\n );\n};\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","classNameModalHeader","clsx","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Col","Dialog.Title","BaseModalHeaderV2"],"mappings":"+WAmBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,EACA,qBAAAC,EAAuB,sBACzB,6BAEK,SAAO,CAAA,UAAWC,EAAK,KAAAD,EAAsB,kBAAkB,EAC9D,SAAA,CAAAE,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBL,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCO,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASP,EAET,SAAA,CAACQ,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BX,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBU,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASR,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRU,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,EACAH,wBAACI,EAAAA,KACC,SAACJ,EAAA,kBAAA,IAAAK,QAAA,CAAa,UAAU,6BACrB,SAAAX,CAAA,CACH,CACF,CAAA,CAAA,EACF,EAISY,EAAoB,CAAC,CAChC,OAAAhB,EAAS,CACP,YAAa,QACf,EACA,aAAAC,EACA,SAAAG,EACA,qBAAAC,EAAuB,sBACzB,IAEIK,EAAA,kBAAA,IAAC,SAAO,CAAA,UAAWJ,EAAAA,KAAKD,EAAsB,kBAAkB,EAC9D,SAAAE,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,eAAgB,gBACnB,SAAA,CAAAE,EAAA,kBAAA,IAACI,EAAI,IAAA,EAAA,0BACJC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAX,CACH,CAAA,EACCH,IAAgBD,GAAA,MAAAA,EAAQ,aACvBU,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASR,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRU,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,CAAA,CACN,CACF,CAAA"}