@anoki/fse-ui 2.1.0-SNAPSHOT1.8 → 2.1.0-SNAPSHOT10

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 (735) hide show
  1. package/dist/components/ui/Accordion/AccordionStepper/AccordionStepper.css +1 -1
  2. package/dist/components/ui/Accordion/GenericAccordion/GenericAccordion.css +1 -1
  3. package/dist/components/ui/CardPreview/CardPreview.css +1 -1
  4. package/dist/components/ui/Carousel/Carousel.css +1 -1
  5. package/dist/components/ui/FeaturedCard/FeaturedCard.css +1 -1
  6. package/dist/index.cjs.js +1 -1
  7. package/dist/index.cjs117.js +1 -1
  8. package/dist/index.cjs117.js.map +1 -1
  9. package/dist/index.cjs118.js +1 -1
  10. package/dist/index.cjs118.js.map +1 -1
  11. package/dist/index.cjs121.js +1 -1
  12. package/dist/index.cjs121.js.map +1 -1
  13. package/dist/index.cjs123.js +1 -1
  14. package/dist/index.cjs123.js.map +1 -1
  15. package/dist/index.cjs131.js +1 -1
  16. package/dist/index.cjs131.js.map +1 -1
  17. package/dist/index.cjs140.js +1 -1
  18. package/dist/index.cjs140.js.map +1 -1
  19. package/dist/index.cjs141.js +1 -1
  20. package/dist/index.cjs141.js.map +1 -1
  21. package/dist/index.cjs143.js +1 -1
  22. package/dist/index.cjs143.js.map +1 -1
  23. package/dist/index.cjs144.js +1 -1
  24. package/dist/index.cjs144.js.map +1 -1
  25. package/dist/index.cjs145.js +1 -1
  26. package/dist/index.cjs145.js.map +1 -1
  27. package/dist/index.cjs148.js +1 -1
  28. package/dist/index.cjs148.js.map +1 -1
  29. package/dist/index.cjs149.js +1 -1
  30. package/dist/index.cjs149.js.map +1 -1
  31. package/dist/index.cjs150.js +1 -1
  32. package/dist/index.cjs150.js.map +1 -1
  33. package/dist/index.cjs151.js +1 -1
  34. package/dist/index.cjs151.js.map +1 -1
  35. package/dist/index.cjs152.js +1 -1
  36. package/dist/index.cjs152.js.map +1 -1
  37. package/dist/index.cjs153.js +1 -1
  38. package/dist/index.cjs153.js.map +1 -1
  39. package/dist/index.cjs155.js +1 -1
  40. package/dist/index.cjs155.js.map +1 -1
  41. package/dist/index.cjs156.js +1 -1
  42. package/dist/index.cjs156.js.map +1 -1
  43. package/dist/index.cjs157.js +1 -1
  44. package/dist/index.cjs157.js.map +1 -1
  45. package/dist/index.cjs158.js +1 -1
  46. package/dist/index.cjs158.js.map +1 -1
  47. package/dist/index.cjs223.js +1 -1
  48. package/dist/index.cjs223.js.map +1 -1
  49. package/dist/index.cjs267.js +1 -1
  50. package/dist/index.cjs268.js +1 -1
  51. package/dist/index.cjs269.js +1 -1
  52. package/dist/index.cjs32.js +1 -1
  53. package/dist/index.cjs323.js +1 -1
  54. package/dist/index.cjs33.js +1 -1
  55. package/dist/index.cjs330.js +1 -1
  56. package/dist/index.cjs34.js +1 -1
  57. package/dist/index.cjs34.js.map +1 -1
  58. package/dist/index.cjs359.js.map +1 -1
  59. package/dist/index.cjs379.js +1 -1
  60. package/dist/index.cjs380.js +1 -1
  61. package/dist/index.cjs402.js +1 -1
  62. package/dist/index.cjs408.js +1 -1
  63. package/dist/index.cjs41.js +1 -1
  64. package/dist/index.cjs41.js.map +1 -1
  65. package/dist/index.cjs42.js.map +1 -1
  66. package/dist/index.cjs420.js +1 -1
  67. package/dist/index.cjs429.js +1 -1
  68. package/dist/index.cjs429.js.map +1 -1
  69. package/dist/index.cjs439.js +1 -1
  70. package/dist/index.cjs451.js +1 -1
  71. package/dist/index.cjs453.js +1 -1
  72. package/dist/index.cjs453.js.map +1 -1
  73. package/dist/index.cjs462.js +1 -1
  74. package/dist/index.cjs463.js +1 -1
  75. package/dist/index.cjs469.js +1 -1
  76. package/dist/index.cjs475.js +1 -1
  77. package/dist/index.cjs476.js +1 -1
  78. package/dist/index.cjs477.js +1 -1
  79. package/dist/index.cjs478.js +1 -1
  80. package/dist/index.cjs483.js +1 -1
  81. package/dist/index.cjs484.js +1 -1
  82. package/dist/index.cjs485.js +2 -0
  83. package/dist/index.cjs485.js.map +1 -0
  84. package/dist/index.cjs486.js +2 -0
  85. package/dist/index.cjs486.js.map +1 -0
  86. package/dist/index.cjs487.js +2 -0
  87. package/dist/index.cjs487.js.map +1 -0
  88. package/dist/index.cjs488.js +1 -1
  89. package/dist/index.cjs488.js.map +1 -1
  90. package/dist/index.cjs489.js +1 -1
  91. package/dist/index.cjs489.js.map +1 -1
  92. package/dist/index.cjs490.js +1 -1
  93. package/dist/index.cjs490.js.map +1 -1
  94. package/dist/index.cjs491.js +1 -1
  95. package/dist/index.cjs491.js.map +1 -1
  96. package/dist/{index.cjs498.js → index.cjs500.js} +2 -2
  97. package/dist/{index.cjs498.js.map → index.cjs500.js.map} +1 -1
  98. package/dist/index.cjs516.js +1 -1
  99. package/dist/index.cjs516.js.map +1 -1
  100. package/dist/index.cjs517.js +2 -0
  101. package/dist/index.cjs517.js.map +1 -0
  102. package/dist/index.cjs518.js +1 -1
  103. package/dist/index.cjs518.js.map +1 -1
  104. package/dist/index.cjs519.js +1 -1
  105. package/dist/index.cjs519.js.map +1 -1
  106. package/dist/index.cjs520.js +1 -1
  107. package/dist/index.cjs520.js.map +1 -1
  108. package/dist/index.cjs521.js +1 -1
  109. package/dist/index.cjs521.js.map +1 -1
  110. package/dist/index.cjs522.js +2 -0
  111. package/dist/index.cjs522.js.map +1 -0
  112. package/dist/index.cjs527.js +1 -1
  113. package/dist/index.cjs527.js.map +1 -1
  114. package/dist/index.cjs529.js +1 -1
  115. package/dist/index.cjs529.js.map +1 -1
  116. package/dist/index.cjs530.js +1 -1
  117. package/dist/index.cjs530.js.map +1 -1
  118. package/dist/index.cjs531.js +1 -1
  119. package/dist/index.cjs531.js.map +1 -1
  120. package/dist/index.cjs532.js +1 -1
  121. package/dist/index.cjs532.js.map +1 -1
  122. package/dist/index.cjs533.js +1 -1
  123. package/dist/index.cjs533.js.map +1 -1
  124. package/dist/index.cjs534.js +1 -1
  125. package/dist/index.cjs534.js.map +1 -1
  126. package/dist/index.cjs535.js +1 -1
  127. package/dist/index.cjs535.js.map +1 -1
  128. package/dist/index.cjs536.js +1 -1
  129. package/dist/index.cjs536.js.map +1 -1
  130. package/dist/index.cjs537.js +1 -1
  131. package/dist/index.cjs537.js.map +1 -1
  132. package/dist/index.cjs538.js +1 -1
  133. package/dist/index.cjs538.js.map +1 -1
  134. package/dist/index.cjs539.js +1 -1
  135. package/dist/index.cjs539.js.map +1 -1
  136. package/dist/index.cjs540.js +1 -1
  137. package/dist/index.cjs540.js.map +1 -1
  138. package/dist/index.cjs541.js +1 -1
  139. package/dist/index.cjs542.js +1 -1
  140. package/dist/index.cjs542.js.map +1 -1
  141. package/dist/index.cjs543.js +1 -1
  142. package/dist/index.cjs543.js.map +1 -1
  143. package/dist/index.cjs544.js +1 -1
  144. package/dist/index.cjs544.js.map +1 -1
  145. package/dist/index.cjs545.js.map +1 -1
  146. package/dist/index.cjs546.js.map +1 -1
  147. package/dist/index.cjs547.js.map +1 -1
  148. package/dist/index.cjs548.js +1 -1
  149. package/dist/index.cjs548.js.map +1 -1
  150. package/dist/index.cjs549.js +1 -1
  151. package/dist/index.cjs549.js.map +1 -1
  152. package/dist/index.cjs55.js +1 -1
  153. package/dist/index.cjs55.js.map +1 -1
  154. package/dist/index.cjs550.js.map +1 -1
  155. package/dist/index.cjs551.js.map +1 -1
  156. package/dist/index.cjs552.js.map +1 -1
  157. package/dist/index.cjs553.js +1 -1
  158. package/dist/index.cjs553.js.map +1 -1
  159. package/dist/index.cjs554.js +1 -1
  160. package/dist/index.cjs554.js.map +1 -1
  161. package/dist/index.cjs555.js.map +1 -1
  162. package/dist/index.cjs556.js.map +1 -1
  163. package/dist/index.cjs557.js.map +1 -1
  164. package/dist/index.cjs558.js.map +1 -1
  165. package/dist/index.cjs559.js +1 -1
  166. package/dist/index.cjs559.js.map +1 -1
  167. package/dist/index.cjs560.js +1 -1
  168. package/dist/index.cjs560.js.map +1 -1
  169. package/dist/index.cjs561.js.map +1 -1
  170. package/dist/index.cjs562.js.map +1 -1
  171. package/dist/index.cjs563.js.map +1 -1
  172. package/dist/index.cjs564.js.map +1 -1
  173. package/dist/index.cjs565.js +1 -1
  174. package/dist/index.cjs565.js.map +1 -1
  175. package/dist/index.cjs566.js +1 -1
  176. package/dist/index.cjs566.js.map +1 -1
  177. package/dist/index.cjs567.js.map +1 -1
  178. package/dist/index.cjs568.js.map +1 -1
  179. package/dist/index.cjs569.js +1 -1
  180. package/dist/index.cjs569.js.map +1 -1
  181. package/dist/index.cjs570.js +1 -1
  182. package/dist/index.cjs570.js.map +1 -1
  183. package/dist/index.cjs571.js.map +1 -1
  184. package/dist/index.cjs572.js +1 -1
  185. package/dist/index.cjs572.js.map +1 -1
  186. package/dist/index.cjs573.js +1 -1
  187. package/dist/index.cjs573.js.map +1 -1
  188. package/dist/index.cjs574.js.map +1 -1
  189. package/dist/index.cjs575.js +1 -1
  190. package/dist/index.cjs575.js.map +1 -1
  191. package/dist/index.cjs576.js +1 -1
  192. package/dist/index.cjs576.js.map +1 -1
  193. package/dist/index.cjs577.js +1 -1
  194. package/dist/index.cjs577.js.map +1 -1
  195. package/dist/index.cjs578.js +1 -1
  196. package/dist/index.cjs578.js.map +1 -1
  197. package/dist/index.cjs579.js +1 -1
  198. package/dist/index.cjs579.js.map +1 -1
  199. package/dist/index.cjs580.js +1 -1
  200. package/dist/index.cjs580.js.map +1 -1
  201. package/dist/index.cjs581.js +1 -1
  202. package/dist/index.cjs581.js.map +1 -1
  203. package/dist/index.cjs582.js +1 -1
  204. package/dist/index.cjs582.js.map +1 -1
  205. package/dist/index.cjs583.js +1 -1
  206. package/dist/index.cjs583.js.map +1 -1
  207. package/dist/index.cjs584.js +1 -1
  208. package/dist/index.cjs584.js.map +1 -1
  209. package/dist/index.cjs585.js +1 -1
  210. package/dist/index.cjs585.js.map +1 -1
  211. package/dist/index.cjs601.js +1 -1
  212. package/dist/index.cjs602.js +1 -1
  213. package/dist/index.cjs618.js +1 -1
  214. package/dist/index.cjs619.js +1 -1
  215. package/dist/index.cjs620.js +1 -1
  216. package/dist/index.cjs621.js +1 -1
  217. package/dist/index.cjs621.js.map +1 -1
  218. package/dist/index.cjs622.js +1 -1
  219. package/dist/index.cjs622.js.map +1 -1
  220. package/dist/index.cjs623.js +1 -1
  221. package/dist/index.cjs623.js.map +1 -1
  222. package/dist/index.cjs624.js +1 -1
  223. package/dist/index.cjs624.js.map +1 -1
  224. package/dist/index.cjs625.js +1 -1
  225. package/dist/index.cjs625.js.map +1 -1
  226. package/dist/index.cjs626.js +1 -1
  227. package/dist/index.cjs626.js.map +1 -1
  228. package/dist/index.cjs627.js +1 -1
  229. package/dist/index.cjs627.js.map +1 -1
  230. package/dist/index.cjs628.js +1 -1
  231. package/dist/index.cjs628.js.map +1 -1
  232. package/dist/index.cjs629.js +1 -1
  233. package/dist/index.cjs629.js.map +1 -1
  234. package/dist/index.cjs630.js +1 -1
  235. package/dist/index.cjs630.js.map +1 -1
  236. package/dist/index.cjs631.js +1 -1
  237. package/dist/index.cjs631.js.map +1 -1
  238. package/dist/index.cjs632.js +1 -1
  239. package/dist/index.cjs632.js.map +1 -1
  240. package/dist/index.cjs633.js +1 -1
  241. package/dist/index.cjs633.js.map +1 -1
  242. package/dist/index.cjs634.js +1 -1
  243. package/dist/index.cjs634.js.map +1 -1
  244. package/dist/index.cjs635.js +1 -1
  245. package/dist/index.cjs635.js.map +1 -1
  246. package/dist/index.cjs636.js +1 -1
  247. package/dist/index.cjs636.js.map +1 -1
  248. package/dist/index.cjs637.js +1 -1
  249. package/dist/index.cjs637.js.map +1 -1
  250. package/dist/index.cjs638.js +1 -1
  251. package/dist/index.cjs638.js.map +1 -1
  252. package/dist/index.cjs639.js +1 -1
  253. package/dist/index.cjs639.js.map +1 -1
  254. package/dist/index.cjs640.js +1 -1
  255. package/dist/index.cjs640.js.map +1 -1
  256. package/dist/index.cjs641.js +1 -1
  257. package/dist/index.cjs641.js.map +1 -1
  258. package/dist/index.cjs642.js +1 -1
  259. package/dist/index.cjs642.js.map +1 -1
  260. package/dist/index.cjs643.js +1 -1
  261. package/dist/index.cjs643.js.map +1 -1
  262. package/dist/index.cjs644.js +1 -1
  263. package/dist/index.cjs644.js.map +1 -1
  264. package/dist/index.cjs645.js +1 -1
  265. package/dist/index.cjs645.js.map +1 -1
  266. package/dist/index.cjs646.js +1 -1
  267. package/dist/index.cjs646.js.map +1 -1
  268. package/dist/index.cjs647.js +1 -1
  269. package/dist/index.cjs647.js.map +1 -1
  270. package/dist/index.cjs648.js +1 -1
  271. package/dist/index.cjs648.js.map +1 -1
  272. package/dist/index.cjs649.js +1 -4
  273. package/dist/index.cjs649.js.map +1 -1
  274. package/dist/index.cjs650.js +4 -1
  275. package/dist/index.cjs650.js.map +1 -1
  276. package/dist/index.cjs651.js +1 -5
  277. package/dist/index.cjs651.js.map +1 -1
  278. package/dist/index.cjs652.js +5 -1
  279. package/dist/index.cjs652.js.map +1 -1
  280. package/dist/index.cjs653.js +1 -1
  281. package/dist/index.cjs653.js.map +1 -1
  282. package/dist/index.cjs654.js +1 -1
  283. package/dist/index.cjs654.js.map +1 -1
  284. package/dist/index.cjs655.js +1 -1
  285. package/dist/index.cjs655.js.map +1 -1
  286. package/dist/index.cjs656.js +1 -1
  287. package/dist/index.cjs656.js.map +1 -1
  288. package/dist/index.cjs657.js +1 -1
  289. package/dist/index.cjs657.js.map +1 -1
  290. package/dist/index.cjs658.js +1 -1
  291. package/dist/index.cjs658.js.map +1 -1
  292. package/dist/index.cjs659.js +1 -1
  293. package/dist/index.cjs659.js.map +1 -1
  294. package/dist/index.cjs660.js +1 -1
  295. package/dist/index.cjs660.js.map +1 -1
  296. package/dist/index.cjs661.js +1 -1
  297. package/dist/index.cjs661.js.map +1 -1
  298. package/dist/index.cjs662.js +1 -1
  299. package/dist/index.cjs662.js.map +1 -1
  300. package/dist/index.cjs663.js +1 -1
  301. package/dist/index.cjs663.js.map +1 -1
  302. package/dist/index.cjs664.js +1 -1
  303. package/dist/index.cjs664.js.map +1 -1
  304. package/dist/index.cjs665.js +1 -1
  305. package/dist/index.cjs665.js.map +1 -1
  306. package/dist/index.cjs666.js +1 -1
  307. package/dist/index.cjs666.js.map +1 -1
  308. package/dist/index.cjs667.js +1 -1
  309. package/dist/index.cjs667.js.map +1 -1
  310. package/dist/index.cjs668.js +1 -38
  311. package/dist/index.cjs668.js.map +1 -1
  312. package/dist/index.cjs669.js +38 -1
  313. package/dist/index.cjs669.js.map +1 -1
  314. package/dist/index.cjs670.js +1 -1
  315. package/dist/index.cjs670.js.map +1 -1
  316. package/dist/index.cjs671.js +1 -1
  317. package/dist/index.cjs671.js.map +1 -1
  318. package/dist/index.cjs672.js +1 -1
  319. package/dist/index.cjs672.js.map +1 -1
  320. package/dist/index.cjs673.js +1 -1
  321. package/dist/index.cjs673.js.map +1 -1
  322. package/dist/index.cjs674.js +1 -1
  323. package/dist/index.cjs674.js.map +1 -1
  324. package/dist/index.cjs675.js +1 -1
  325. package/dist/index.cjs675.js.map +1 -1
  326. package/dist/index.cjs676.js +1 -1
  327. package/dist/index.cjs676.js.map +1 -1
  328. package/dist/index.cjs677.js +1 -1
  329. package/dist/index.cjs677.js.map +1 -1
  330. package/dist/index.cjs678.js +1 -1
  331. package/dist/index.cjs678.js.map +1 -1
  332. package/dist/index.cjs679.js +1 -1
  333. package/dist/index.cjs679.js.map +1 -1
  334. package/dist/index.cjs680.js +1 -1
  335. package/dist/index.cjs680.js.map +1 -1
  336. package/dist/index.cjs681.js +2 -0
  337. package/dist/index.cjs681.js.map +1 -0
  338. package/dist/index.d.ts +28 -3
  339. package/dist/index.es.js +377 -375
  340. package/dist/index.es117.js +31 -21
  341. package/dist/index.es117.js.map +1 -1
  342. package/dist/index.es118.js +12 -11
  343. package/dist/index.es118.js.map +1 -1
  344. package/dist/index.es121.js +40 -25
  345. package/dist/index.es121.js.map +1 -1
  346. package/dist/index.es123.js +15 -6
  347. package/dist/index.es123.js.map +1 -1
  348. package/dist/index.es131.js +29 -21
  349. package/dist/index.es131.js.map +1 -1
  350. package/dist/index.es140.js +61 -51
  351. package/dist/index.es140.js.map +1 -1
  352. package/dist/index.es141.js +50 -33
  353. package/dist/index.es141.js.map +1 -1
  354. package/dist/index.es143.js +56 -49
  355. package/dist/index.es143.js.map +1 -1
  356. package/dist/index.es144.js +25 -22
  357. package/dist/index.es144.js.map +1 -1
  358. package/dist/index.es145.js +13 -22
  359. package/dist/index.es145.js.map +1 -1
  360. package/dist/index.es148.js +16 -14
  361. package/dist/index.es148.js.map +1 -1
  362. package/dist/index.es149.js +49 -46
  363. package/dist/index.es149.js.map +1 -1
  364. package/dist/index.es150.js +20 -11
  365. package/dist/index.es150.js.map +1 -1
  366. package/dist/index.es151.js +31 -25
  367. package/dist/index.es151.js.map +1 -1
  368. package/dist/index.es152.js +57 -55
  369. package/dist/index.es152.js.map +1 -1
  370. package/dist/index.es153.js +20 -19
  371. package/dist/index.es153.js.map +1 -1
  372. package/dist/index.es155.js +16 -8
  373. package/dist/index.es155.js.map +1 -1
  374. package/dist/index.es156.js +38 -40
  375. package/dist/index.es156.js.map +1 -1
  376. package/dist/index.es157.js +65 -68
  377. package/dist/index.es157.js.map +1 -1
  378. package/dist/index.es158.js +40 -41
  379. package/dist/index.es158.js.map +1 -1
  380. package/dist/index.es223.js +21 -20
  381. package/dist/index.es223.js.map +1 -1
  382. package/dist/index.es267.js +2 -2
  383. package/dist/index.es268.js +3 -3
  384. package/dist/index.es269.js +3 -3
  385. package/dist/index.es32.js +1 -1
  386. package/dist/index.es323.js +1 -1
  387. package/dist/index.es33.js +1 -1
  388. package/dist/index.es330.js +7 -7
  389. package/dist/index.es34.js +1 -1
  390. package/dist/index.es34.js.map +1 -1
  391. package/dist/index.es359.js.map +1 -1
  392. package/dist/index.es379.js +6 -6
  393. package/dist/index.es380.js +2 -2
  394. package/dist/index.es402.js +1 -1
  395. package/dist/index.es408.js +1 -1
  396. package/dist/index.es41.js +74 -67
  397. package/dist/index.es41.js.map +1 -1
  398. package/dist/index.es42.js.map +1 -1
  399. package/dist/index.es420.js +8 -8
  400. package/dist/index.es429.js +28 -16
  401. package/dist/index.es429.js.map +1 -1
  402. package/dist/index.es439.js +1 -1
  403. package/dist/index.es451.js +1 -1
  404. package/dist/index.es453.js +177 -173
  405. package/dist/index.es453.js.map +1 -1
  406. package/dist/index.es462.js +1 -1
  407. package/dist/index.es463.js +1 -1
  408. package/dist/index.es469.js +2 -2
  409. package/dist/index.es475.js +1 -1
  410. package/dist/index.es476.js +1 -1
  411. package/dist/index.es477.js +12 -12
  412. package/dist/index.es478.js +1 -1
  413. package/dist/index.es483.js +1 -1
  414. package/dist/index.es484.js +1 -1
  415. package/dist/index.es485.js +128 -0
  416. package/dist/index.es485.js.map +1 -0
  417. package/dist/index.es486.js +138 -0
  418. package/dist/index.es486.js.map +1 -0
  419. package/dist/index.es487.js +17 -0
  420. package/dist/index.es487.js.map +1 -0
  421. package/dist/index.es488.js +12 -122
  422. package/dist/index.es488.js.map +1 -1
  423. package/dist/index.es489.js +8 -134
  424. package/dist/index.es489.js.map +1 -1
  425. package/dist/index.es490.js +50 -14
  426. package/dist/index.es490.js.map +1 -1
  427. package/dist/index.es491.js +54 -13
  428. package/dist/index.es491.js.map +1 -1
  429. package/dist/{index.es498.js → index.es500.js} +2 -2
  430. package/dist/{index.es498.js.map → index.es500.js.map} +1 -1
  431. package/dist/index.es516.js +74 -2
  432. package/dist/index.es516.js.map +1 -1
  433. package/dist/index.es517.js +5 -0
  434. package/dist/index.es517.js.map +1 -0
  435. package/dist/index.es518.js +34 -21
  436. package/dist/index.es518.js.map +1 -1
  437. package/dist/index.es519.js +21 -2
  438. package/dist/index.es519.js.map +1 -1
  439. package/dist/index.es520.js +2 -54
  440. package/dist/index.es520.js.map +1 -1
  441. package/dist/index.es521.js +52 -201
  442. package/dist/index.es521.js.map +1 -1
  443. package/dist/index.es522.js +206 -0
  444. package/dist/index.es522.js.map +1 -0
  445. package/dist/index.es527.js +5 -2
  446. package/dist/index.es527.js.map +1 -1
  447. package/dist/index.es528.js +2 -2
  448. package/dist/index.es529.js +2 -133
  449. package/dist/index.es529.js.map +1 -1
  450. package/dist/index.es530.js +126 -171
  451. package/dist/index.es530.js.map +1 -1
  452. package/dist/index.es531.js +176 -8
  453. package/dist/index.es531.js.map +1 -1
  454. package/dist/index.es532.js +9 -3
  455. package/dist/index.es532.js.map +1 -1
  456. package/dist/index.es533.js +3 -10
  457. package/dist/index.es533.js.map +1 -1
  458. package/dist/index.es534.js +10 -45
  459. package/dist/index.es534.js.map +1 -1
  460. package/dist/index.es535.js +45 -13
  461. package/dist/index.es535.js.map +1 -1
  462. package/dist/index.es536.js +12 -216
  463. package/dist/index.es536.js.map +1 -1
  464. package/dist/index.es537.js +203 -163
  465. package/dist/index.es537.js.map +1 -1
  466. package/dist/index.es538.js +177 -3
  467. package/dist/index.es538.js.map +1 -1
  468. package/dist/index.es539.js +4 -12
  469. package/dist/index.es539.js.map +1 -1
  470. package/dist/index.es540.js +14 -2
  471. package/dist/index.es540.js.map +1 -1
  472. package/dist/index.es541.js +2 -4
  473. package/dist/index.es541.js.map +1 -1
  474. package/dist/index.es542.js +2 -6
  475. package/dist/index.es542.js.map +1 -1
  476. package/dist/index.es543.js +1 -9
  477. package/dist/index.es543.js.map +1 -1
  478. package/dist/index.es544.js +13 -5
  479. package/dist/index.es544.js.map +1 -1
  480. package/dist/index.es545.js +5 -5
  481. package/dist/index.es545.js.map +1 -1
  482. package/dist/index.es546.js +2 -2
  483. package/dist/index.es546.js.map +1 -1
  484. package/dist/index.es547.js.map +1 -1
  485. package/dist/index.es548.js +2 -2
  486. package/dist/index.es548.js.map +1 -1
  487. package/dist/index.es549.js +2 -2
  488. package/dist/index.es549.js.map +1 -1
  489. package/dist/index.es55.js +42 -7
  490. package/dist/index.es55.js.map +1 -1
  491. package/dist/index.es550.js +2 -2
  492. package/dist/index.es550.js.map +1 -1
  493. package/dist/index.es551.js +2 -2
  494. package/dist/index.es551.js.map +1 -1
  495. package/dist/index.es552.js +2 -2
  496. package/dist/index.es552.js.map +1 -1
  497. package/dist/index.es553.js +2 -2
  498. package/dist/index.es553.js.map +1 -1
  499. package/dist/index.es554.js +2 -2
  500. package/dist/index.es554.js.map +1 -1
  501. package/dist/index.es555.js.map +1 -1
  502. package/dist/index.es556.js +2 -2
  503. package/dist/index.es556.js.map +1 -1
  504. package/dist/index.es557.js +2 -2
  505. package/dist/index.es557.js.map +1 -1
  506. package/dist/index.es558.js +5 -5
  507. package/dist/index.es558.js.map +1 -1
  508. package/dist/index.es559.js +5 -9
  509. package/dist/index.es559.js.map +1 -1
  510. package/dist/index.es560.js +7 -3
  511. package/dist/index.es560.js.map +1 -1
  512. package/dist/index.es561.js +2 -2
  513. package/dist/index.es561.js.map +1 -1
  514. package/dist/index.es562.js +2 -2
  515. package/dist/index.es562.js.map +1 -1
  516. package/dist/index.es563.js +2 -2
  517. package/dist/index.es563.js.map +1 -1
  518. package/dist/index.es564.js +2 -2
  519. package/dist/index.es564.js.map +1 -1
  520. package/dist/index.es565.js +4 -9
  521. package/dist/index.es565.js.map +1 -1
  522. package/dist/index.es566.js +9 -4
  523. package/dist/index.es566.js.map +1 -1
  524. package/dist/index.es567.js +2 -2
  525. package/dist/index.es567.js.map +1 -1
  526. package/dist/index.es568.js +2 -2
  527. package/dist/index.es568.js.map +1 -1
  528. package/dist/index.es569.js +2 -2
  529. package/dist/index.es569.js.map +1 -1
  530. package/dist/index.es570.js +2 -2
  531. package/dist/index.es570.js.map +1 -1
  532. package/dist/index.es571.js +2 -2
  533. package/dist/index.es571.js.map +1 -1
  534. package/dist/index.es572.js +3 -9
  535. package/dist/index.es572.js.map +1 -1
  536. package/dist/index.es573.js +9 -3
  537. package/dist/index.es573.js.map +1 -1
  538. package/dist/index.es574.js.map +1 -1
  539. package/dist/index.es575.js +5 -8
  540. package/dist/index.es575.js.map +1 -1
  541. package/dist/index.es576.js +8 -16
  542. package/dist/index.es576.js.map +1 -1
  543. package/dist/index.es577.js +17 -2
  544. package/dist/index.es577.js.map +1 -1
  545. package/dist/index.es578.js +2 -205
  546. package/dist/index.es578.js.map +1 -1
  547. package/dist/index.es579.js +203 -20
  548. package/dist/index.es579.js.map +1 -1
  549. package/dist/index.es580.js +21 -392
  550. package/dist/index.es580.js.map +1 -1
  551. package/dist/index.es581.js +390 -22
  552. package/dist/index.es581.js.map +1 -1
  553. package/dist/index.es582.js +24 -28
  554. package/dist/index.es582.js.map +1 -1
  555. package/dist/index.es583.js +29 -5
  556. package/dist/index.es583.js.map +1 -1
  557. package/dist/index.es584.js +5 -83
  558. package/dist/index.es584.js.map +1 -1
  559. package/dist/index.es585.js +83 -2
  560. package/dist/index.es585.js.map +1 -1
  561. package/dist/index.es586.js +2 -2
  562. package/dist/index.es588.js +2 -2
  563. package/dist/index.es589.js +2 -2
  564. package/dist/index.es590.js +2 -2
  565. package/dist/index.es591.js +2 -2
  566. package/dist/index.es592.js +2 -2
  567. package/dist/index.es593.js +2 -2
  568. package/dist/index.es595.js +2 -2
  569. package/dist/index.es596.js +2 -2
  570. package/dist/index.es597.js +2 -2
  571. package/dist/index.es599.js +2 -2
  572. package/dist/index.es600.js +2 -2
  573. package/dist/index.es601.js +2 -2
  574. package/dist/index.es603.js +2 -2
  575. package/dist/index.es605.js +2 -2
  576. package/dist/index.es606.js +2 -2
  577. package/dist/index.es607.js +2 -2
  578. package/dist/index.es608.js +2 -2
  579. package/dist/index.es609.js +2 -2
  580. package/dist/index.es610.js +2 -2
  581. package/dist/index.es611.js +2 -2
  582. package/dist/index.es612.js +2 -2
  583. package/dist/index.es613.js +2 -2
  584. package/dist/index.es614.js +2 -2
  585. package/dist/index.es615.js +2 -2
  586. package/dist/index.es616.js +2 -2
  587. package/dist/index.es618.js +2 -2
  588. package/dist/index.es619.js +2 -2
  589. package/dist/index.es620.js +2 -5
  590. package/dist/index.es620.js.map +1 -1
  591. package/dist/index.es621.js +5 -16
  592. package/dist/index.es621.js.map +1 -1
  593. package/dist/index.es622.js +15 -12
  594. package/dist/index.es622.js.map +1 -1
  595. package/dist/index.es623.js +13 -36
  596. package/dist/index.es623.js.map +1 -1
  597. package/dist/index.es624.js +36 -5
  598. package/dist/index.es624.js.map +1 -1
  599. package/dist/index.es625.js +5 -2
  600. package/dist/index.es625.js.map +1 -1
  601. package/dist/index.es626.js +2 -3
  602. package/dist/index.es626.js.map +1 -1
  603. package/dist/index.es627.js +3 -7
  604. package/dist/index.es627.js.map +1 -1
  605. package/dist/index.es628.js +7 -6
  606. package/dist/index.es628.js.map +1 -1
  607. package/dist/index.es629.js +6 -5
  608. package/dist/index.es629.js.map +1 -1
  609. package/dist/index.es630.js +5 -32
  610. package/dist/index.es630.js.map +1 -1
  611. package/dist/index.es631.js +32 -242
  612. package/dist/index.es631.js.map +1 -1
  613. package/dist/index.es632.js +242 -4
  614. package/dist/index.es632.js.map +1 -1
  615. package/dist/index.es633.js +4 -5
  616. package/dist/index.es633.js.map +1 -1
  617. package/dist/index.es634.js +4 -9
  618. package/dist/index.es634.js.map +1 -1
  619. package/dist/index.es635.js +9 -55
  620. package/dist/index.es635.js.map +1 -1
  621. package/dist/index.es636.js +55 -7
  622. package/dist/index.es636.js.map +1 -1
  623. package/dist/index.es637.js +7 -5
  624. package/dist/index.es637.js.map +1 -1
  625. package/dist/index.es638.js +5 -532
  626. package/dist/index.es638.js.map +1 -1
  627. package/dist/index.es639.js +532 -13
  628. package/dist/index.es639.js.map +1 -1
  629. package/dist/index.es640.js +14 -2
  630. package/dist/index.es640.js.map +1 -1
  631. package/dist/index.es641.js +2 -37
  632. package/dist/index.es641.js.map +1 -1
  633. package/dist/index.es642.js +37 -2
  634. package/dist/index.es642.js.map +1 -1
  635. package/dist/index.es643.js +2 -273
  636. package/dist/index.es643.js.map +1 -1
  637. package/dist/index.es644.js +273 -3
  638. package/dist/index.es644.js.map +1 -1
  639. package/dist/index.es645.js +3 -30
  640. package/dist/index.es645.js.map +1 -1
  641. package/dist/index.es646.js +30 -5
  642. package/dist/index.es646.js.map +1 -1
  643. package/dist/index.es647.js +5 -3
  644. package/dist/index.es647.js.map +1 -1
  645. package/dist/index.es648.js +3 -24
  646. package/dist/index.es648.js.map +1 -1
  647. package/dist/index.es649.js +22 -108
  648. package/dist/index.es649.js.map +1 -1
  649. package/dist/index.es650.js +108 -14
  650. package/dist/index.es650.js.map +1 -1
  651. package/dist/index.es651.js +15 -39
  652. package/dist/index.es651.js.map +1 -1
  653. package/dist/index.es652.js +40 -2
  654. package/dist/index.es652.js.map +1 -1
  655. package/dist/index.es653.js +2 -5
  656. package/dist/index.es653.js.map +1 -1
  657. package/dist/index.es654.js +5 -2
  658. package/dist/index.es654.js.map +1 -1
  659. package/dist/index.es655.js +6 -2
  660. package/dist/index.es655.js.map +1 -1
  661. package/dist/index.es656.js +16 -2
  662. package/dist/index.es656.js.map +1 -1
  663. package/dist/index.es657.js +2 -6
  664. package/dist/index.es657.js.map +1 -1
  665. package/dist/index.es658.js +2 -16
  666. package/dist/index.es658.js.map +1 -1
  667. package/dist/index.es659.js +2 -2
  668. package/dist/index.es659.js.map +1 -1
  669. package/dist/index.es660.js +2 -2
  670. package/dist/index.es660.js.map +1 -1
  671. package/dist/index.es661.js +2 -3
  672. package/dist/index.es661.js.map +1 -1
  673. package/dist/index.es662.js +3 -2
  674. package/dist/index.es662.js.map +1 -1
  675. package/dist/index.es663.js +2 -4
  676. package/dist/index.es663.js.map +1 -1
  677. package/dist/index.es664.js +3 -522
  678. package/dist/index.es664.js.map +1 -1
  679. package/dist/index.es665.js +509 -113
  680. package/dist/index.es665.js.map +1 -1
  681. package/dist/index.es666.js +121 -123
  682. package/dist/index.es666.js.map +1 -1
  683. package/dist/index.es667.js +125 -61
  684. package/dist/index.es667.js.map +1 -1
  685. package/dist/index.es668.js +65 -69
  686. package/dist/index.es668.js.map +1 -1
  687. package/dist/index.es669.js +68 -8
  688. package/dist/index.es669.js.map +1 -1
  689. package/dist/index.es670.js +9 -14
  690. package/dist/index.es670.js.map +1 -1
  691. package/dist/index.es671.js +14 -62
  692. package/dist/index.es671.js.map +1 -1
  693. package/dist/index.es672.js +62 -4
  694. package/dist/index.es672.js.map +1 -1
  695. package/dist/index.es673.js +4 -3
  696. package/dist/index.es673.js.map +1 -1
  697. package/dist/index.es674.js +3 -2
  698. package/dist/index.es674.js.map +1 -1
  699. package/dist/index.es675.js +2 -4
  700. package/dist/index.es675.js.map +1 -1
  701. package/dist/index.es676.js +3 -22
  702. package/dist/index.es676.js.map +1 -1
  703. package/dist/index.es677.js +23 -13
  704. package/dist/index.es677.js.map +1 -1
  705. package/dist/index.es678.js +11 -26
  706. package/dist/index.es678.js.map +1 -1
  707. package/dist/index.es679.js +27 -4
  708. package/dist/index.es679.js.map +1 -1
  709. package/dist/index.es680.js +4 -22
  710. package/dist/index.es680.js.map +1 -1
  711. package/dist/index.es681.js +26 -0
  712. package/dist/index.es681.js.map +1 -0
  713. package/dist/sections/SuggestedServices/SuggestedServices.css +1 -1
  714. package/package.json +5 -6
  715. package/dist/index.cjs492.js +0 -2
  716. package/dist/index.cjs492.js.map +0 -1
  717. package/dist/index.cjs493.js +0 -2
  718. package/dist/index.cjs493.js.map +0 -1
  719. package/dist/index.cjs494.js +0 -2
  720. package/dist/index.cjs494.js.map +0 -1
  721. package/dist/index.cjs515.js +0 -2
  722. package/dist/index.cjs515.js.map +0 -1
  723. package/dist/index.cjs526.js +0 -2
  724. package/dist/index.cjs526.js.map +0 -1
  725. package/dist/index.es492.js +0 -12
  726. package/dist/index.es492.js.map +0 -1
  727. package/dist/index.es493.js +0 -53
  728. package/dist/index.es493.js.map +0 -1
  729. package/dist/index.es494.js +0 -59
  730. package/dist/index.es494.js.map +0 -1
  731. package/dist/index.es515.js +0 -77
  732. package/dist/index.es515.js.map +0 -1
  733. package/dist/index.es526.js +0 -8
  734. package/dist/index.es526.js.map +0 -1
  735. /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs149.js","sources":["../src/sections/ImagesDescription/index.tsx"],"sourcesContent":["import { ReactNode } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { Section } from \"../../components\";\r\nimport \"./ImagesDescription.scss\";\r\n\r\nexport const IMAGES_DESCRIPTION_LAYOUTS = {\r\n // Layout FULL (1 colonna)\r\n FULL_1_1: \"FULL_1_1\",\r\n FULL_4_3: \"FULL_4_3\",\r\n FULL_16_9: \"FULL_16_9\",\r\n FULL_21_9: \"FULL_21_9\",\r\n FULL_32_9: \"FULL_32_9\",\r\n // Layout TWO_COL (2 colonne)\r\n TWO_COL_1_1: \"TWO_COL_1_1\",\r\n TWO_COL_4_3: \"TWO_COL_4_3\",\r\n TWO_COL_16_9: \"TWO_COL_16_9\",\r\n TWO_COL_21_9: \"TWO_COL_21_9\",\r\n TWO_COL_32_9: \"TWO_COL_32_9\",\r\n // Layout THREE_COL (3 colonne)\r\n THREE_COL_1_1: \"THREE_COL_1_1\",\r\n THREE_COL_4_3: \"THREE_COL_4_3\",\r\n THREE_COL_16_9: \"THREE_COL_16_9\",\r\n THREE_COL_21_9: \"THREE_COL_21_9\",\r\n THREE_COL_32_9: \"THREE_COL_32_9\",\r\n} as const;\r\n\r\nexport type ImagesDescriptionLayout =\r\n (typeof IMAGES_DESCRIPTION_LAYOUTS)[keyof typeof IMAGES_DESCRIPTION_LAYOUTS];\r\n\r\nexport interface ImageDescriptionItem {\r\n _id: string;\r\n image: {\r\n src: string;\r\n alt: string;\r\n title?: string;\r\n };\r\n description: string;\r\n}\r\n\r\nexport interface ImagesDescriptionProps {\r\n title: ReactNode;\r\n items: ImageDescriptionItem[];\r\n layout?: ImagesDescriptionLayout;\r\n className?: string;\r\n}\r\n\r\nexport const ImagesDescription = ({\r\n title,\r\n items = [],\r\n layout = IMAGES_DESCRIPTION_LAYOUTS.FULL_1_1,\r\n className,\r\n}: ImagesDescriptionProps) => {\r\n const getLayoutClassName = (l: ImagesDescriptionLayout) => {\r\n switch (l) {\r\n // Layout FULL (1 colonna)\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_1_1:\r\n return \"images-description-layout-full-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_4_3:\r\n return \"images-description-layout-full-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_16_9:\r\n return \"images-description-layout-full-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_21_9:\r\n return \"images-description-layout-full-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_32_9:\r\n return \"images-description-layout-full-32-9\";\r\n\r\n // Layout TWO_COL (2 colonne)\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_1_1:\r\n return \"images-description-layout-two-col-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_4_3:\r\n return \"images-description-layout-two-col-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_16_9:\r\n return \"images-description-layout-two-col-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_21_9:\r\n return \"images-description-layout-two-col-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_32_9:\r\n return \"images-description-layout-two-col-32-9\";\r\n\r\n // Layout THREE_COL (3 colonne)\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_1_1:\r\n return \"images-description-layout-three-col-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_4_3:\r\n return \"images-description-layout-three-col-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_16_9:\r\n return \"images-description-layout-three-col-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_21_9:\r\n return \"images-description-layout-three-col-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_32_9:\r\n return \"images-description-layout-three-col-32-9\";\r\n\r\n default:\r\n return \"\";\r\n }\r\n };\r\n\r\n /* const isFullLayout = layout.startsWith(\"FULL_\");\r\n const isThreeColLayout = layout.startsWith(\"THREE_COL_\");\r\n\r\n const limitedItems = isFullLayout\r\n ? items.slice(0, 1)\r\n : isThreeColLayout\r\n ? items.slice(0, 3)\r\n : items.slice(0, 2); */\r\n\r\n const layoutClassName = getLayoutClassName(layout);\r\n\r\n return (\r\n <Section className={clsx(\"base-col images-description-section\", className)}>\r\n <ul\r\n role=\"list\"\r\n aria-label={`Raccolta di ${title}`}\r\n className={`list-style-none ${layoutClassName}`}\r\n >\r\n {items?.map((item) => (\r\n <li key={item._id} className=\"images-description-item\">\r\n <div className=\"images-description-item-image-container\">\r\n <img\r\n src={item.image.src}\r\n alt={item.image.alt}\r\n title={item.image.title}\r\n className=\"images-description-item-image\"\r\n />\r\n </div>\r\n <div className=\"images-description-item-content\">\r\n <p className=\"images-description-item-description text-slate-28 fs-9\">\r\n {item.description}\r\n </p>\r\n </div>\r\n </li>\r\n ))}\r\n </ul>\r\n </Section>\r\n );\r\n};\r\n"],"names":["IMAGES_DESCRIPTION_LAYOUTS","ImagesDescription","title","items","layout","className","layoutClassName","l","Section","clsx","jsx","item","jsxs"],"mappings":"qNAKaA,EAA6B,CAExC,SAAU,WACV,SAAU,WACV,UAAW,YACX,UAAW,YACX,UAAW,YAEX,YAAa,cACb,YAAa,cACb,aAAc,eACd,aAAc,eACd,aAAc,eAEd,cAAe,gBACf,cAAe,gBACf,eAAgB,iBAChB,eAAgB,iBAChB,eAAgB,gBAClB,EAsBaC,EAAoB,CAAC,CAChC,MAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,OAAAC,EAASJ,EAA2B,SACpC,UAAAK,CACF,IAA8B,CAqDtB,MAAAC,GApDsBC,GAA+B,CACzD,OAAQA,EAAG,CAET,KAAKP,EAA2B,SACvB,MAAA,qCACT,KAAKA,EAA2B,SACvB,MAAA,qCACT,KAAKA,EAA2B,UACvB,MAAA,sCACT,KAAKA,EAA2B,UACvB,MAAA,sCACT,KAAKA,EAA2B,UACvB,MAAA,sCAGT,KAAKA,EAA2B,YACvB,MAAA,wCACT,KAAKA,EAA2B,YACvB,MAAA,wCACT,KAAKA,EAA2B,aACvB,MAAA,yCACT,KAAKA,EAA2B,aACvB,MAAA,yCACT,KAAKA,EAA2B,aACvB,MAAA,yCAGT,KAAKA,EAA2B,cACvB,MAAA,0CACT,KAAKA,EAA2B,cACvB,MAAA,0CACT,KAAKA,EAA2B,eACvB,MAAA,2CACT,KAAKA,EAA2B,eACvB,MAAA,2CACT,KAAKA,EAA2B,eACvB,MAAA,2CAET,QACS,MAAA,EAAA,CAEb,GAW2CI,CAAM,EAEjD,+BACGI,EAAQ,QAAA,CAAA,UAAWC,EAAK,KAAA,sCAAuCJ,CAAS,EACvE,SAAAK,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,eAAeR,CAAK,GAChC,UAAW,mBAAmBI,CAAe,GAE5C,0BAAO,IAAKK,GACVC,yBAAA,KAAA,CAAkB,UAAU,0BAC3B,SAAA,CAACF,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAU,0CACb,SAAAA,EAAA,kBAAA,IAAC,MAAA,CACC,IAAKC,EAAK,MAAM,IAChB,IAAKA,EAAK,MAAM,IAChB,MAAOA,EAAK,MAAM,MAClB,UAAU,+BAAA,CAAA,EAEd,EACAD,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,kCACb,SAAAA,EAAA,kBAAA,IAAC,KAAE,UAAU,yDACV,SAAKC,EAAA,WACR,CAAA,CACF,CAAA,CAAA,CAbO,EAAAA,EAAK,GAcd,EACD,CAAA,EAEL,CAEJ"}
1
+ {"version":3,"file":"index.cjs149.js","sources":["../src/sections/ImagesDescription/index.tsx"],"sourcesContent":["import { ReactNode } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { Section, SectionHeading } from \"../../components\";\r\nimport \"./ImagesDescription.scss\";\r\n\r\nexport const IMAGES_DESCRIPTION_LAYOUTS = {\r\n // Layout FULL (1 colonna)\r\n FULL_1_1: \"FULL_1_1\",\r\n FULL_4_3: \"FULL_4_3\",\r\n FULL_16_9: \"FULL_16_9\",\r\n FULL_21_9: \"FULL_21_9\",\r\n FULL_32_9: \"FULL_32_9\",\r\n // Layout TWO_COL (2 colonne)\r\n TWO_COL_1_1: \"TWO_COL_1_1\",\r\n TWO_COL_4_3: \"TWO_COL_4_3\",\r\n TWO_COL_16_9: \"TWO_COL_16_9\",\r\n TWO_COL_21_9: \"TWO_COL_21_9\",\r\n TWO_COL_32_9: \"TWO_COL_32_9\",\r\n // Layout THREE_COL (3 colonne)\r\n THREE_COL_1_1: \"THREE_COL_1_1\",\r\n THREE_COL_4_3: \"THREE_COL_4_3\",\r\n THREE_COL_16_9: \"THREE_COL_16_9\",\r\n THREE_COL_21_9: \"THREE_COL_21_9\",\r\n THREE_COL_32_9: \"THREE_COL_32_9\",\r\n} as const;\r\n\r\nexport type ImagesDescriptionLayout =\r\n (typeof IMAGES_DESCRIPTION_LAYOUTS)[keyof typeof IMAGES_DESCRIPTION_LAYOUTS];\r\n\r\nexport interface ImageDescriptionItem {\r\n _id: string;\r\n image: {\r\n src: string;\r\n alt: string;\r\n title?: string;\r\n };\r\n description: string;\r\n}\r\n\r\nexport interface ImagesDescriptionProps {\r\n title: ReactNode;\r\n items: ImageDescriptionItem[];\r\n layout?: ImagesDescriptionLayout;\r\n className?: string;\r\n}\r\n\r\nexport const ImagesDescription = ({\r\n title,\r\n items = [],\r\n layout = IMAGES_DESCRIPTION_LAYOUTS.FULL_1_1,\r\n className,\r\n}: ImagesDescriptionProps) => {\r\n const getLayoutClassName = (l: ImagesDescriptionLayout) => {\r\n switch (l) {\r\n // Layout FULL (1 colonna)\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_1_1:\r\n return \"images-description-layout-full-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_4_3:\r\n return \"images-description-layout-full-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_16_9:\r\n return \"images-description-layout-full-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_21_9:\r\n return \"images-description-layout-full-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.FULL_32_9:\r\n return \"images-description-layout-full-32-9\";\r\n\r\n // Layout TWO_COL (2 colonne)\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_1_1:\r\n return \"images-description-layout-two-col-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_4_3:\r\n return \"images-description-layout-two-col-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_16_9:\r\n return \"images-description-layout-two-col-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_21_9:\r\n return \"images-description-layout-two-col-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.TWO_COL_32_9:\r\n return \"images-description-layout-two-col-32-9\";\r\n\r\n // Layout THREE_COL (3 colonne)\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_1_1:\r\n return \"images-description-layout-three-col-1-1\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_4_3:\r\n return \"images-description-layout-three-col-4-3\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_16_9:\r\n return \"images-description-layout-three-col-16-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_21_9:\r\n return \"images-description-layout-three-col-21-9\";\r\n case IMAGES_DESCRIPTION_LAYOUTS.THREE_COL_32_9:\r\n return \"images-description-layout-three-col-32-9\";\r\n\r\n default:\r\n return \"\";\r\n }\r\n };\r\n\r\n /* const isFullLayout = layout.startsWith(\"FULL_\");\r\n const isThreeColLayout = layout.startsWith(\"THREE_COL_\");\r\n\r\n const limitedItems = isFullLayout\r\n ? items.slice(0, 1)\r\n : isThreeColLayout\r\n ? items.slice(0, 3)\r\n : items.slice(0, 2); */\r\n\r\n const layoutClassName = getLayoutClassName(layout);\r\n\r\n return (\r\n <Section className={clsx(\"base-col images-description-section\", className)}>\r\n <SectionHeading title={title} />\r\n <ul\r\n role=\"list\"\r\n aria-label={`Raccolta di ${title}`}\r\n className={`list-style-none ${layoutClassName}`}\r\n >\r\n {items?.map((item) => (\r\n <li key={item._id} className=\"images-description-item\">\r\n <div className=\"images-description-item-image-container\">\r\n <img\r\n src={item.image.src}\r\n alt={item.image.alt}\r\n title={item.image.title}\r\n className=\"images-description-item-image\"\r\n />\r\n </div>\r\n <div className=\"images-description-item-content\">\r\n <p className=\"images-description-item-description text-slate-28 fs-9\">\r\n {item.description}\r\n </p>\r\n </div>\r\n </li>\r\n ))}\r\n </ul>\r\n </Section>\r\n );\r\n};\r\n"],"names":["IMAGES_DESCRIPTION_LAYOUTS","ImagesDescription","title","items","layout","className","layoutClassName","l","Section","clsx","jsx","SectionHeading","item","jsxs"],"mappings":"qNAKaA,EAA6B,CAExC,SAAU,WACV,SAAU,WACV,UAAW,YACX,UAAW,YACX,UAAW,YAEX,YAAa,cACb,YAAa,cACb,aAAc,eACd,aAAc,eACd,aAAc,eAEd,cAAe,gBACf,cAAe,gBACf,eAAgB,iBAChB,eAAgB,iBAChB,eAAgB,gBAClB,EAsBaC,EAAoB,CAAC,CAChC,MAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,OAAAC,EAASJ,EAA2B,SACpC,UAAAK,CACF,IAA8B,CAqDtB,MAAAC,GApDsBC,GAA+B,CACzD,OAAQA,EAAG,CAET,KAAKP,EAA2B,SACvB,MAAA,qCACT,KAAKA,EAA2B,SACvB,MAAA,qCACT,KAAKA,EAA2B,UACvB,MAAA,sCACT,KAAKA,EAA2B,UACvB,MAAA,sCACT,KAAKA,EAA2B,UACvB,MAAA,sCAGT,KAAKA,EAA2B,YACvB,MAAA,wCACT,KAAKA,EAA2B,YACvB,MAAA,wCACT,KAAKA,EAA2B,aACvB,MAAA,yCACT,KAAKA,EAA2B,aACvB,MAAA,yCACT,KAAKA,EAA2B,aACvB,MAAA,yCAGT,KAAKA,EAA2B,cACvB,MAAA,0CACT,KAAKA,EAA2B,cACvB,MAAA,0CACT,KAAKA,EAA2B,eACvB,MAAA,2CACT,KAAKA,EAA2B,eACvB,MAAA,2CACT,KAAKA,EAA2B,eACvB,MAAA,2CAET,QACS,MAAA,EAAA,CAEb,GAW2CI,CAAM,EAEjD,gCACGI,EAAQ,QAAA,CAAA,UAAWC,EAAK,KAAA,sCAAuCJ,CAAS,EACvE,SAAA,CAAAK,wBAACC,EAAAA,gBAAe,MAAAT,EAAc,EAC9BQ,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,eAAeR,CAAK,GAChC,UAAW,mBAAmBI,CAAe,GAE5C,0BAAO,IAAKM,GACVC,yBAAA,KAAA,CAAkB,UAAU,0BAC3B,SAAA,CAACH,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAU,0CACb,SAAAA,EAAA,kBAAA,IAAC,MAAA,CACC,IAAKE,EAAK,MAAM,IAChB,IAAKA,EAAK,MAAM,IAChB,MAAOA,EAAK,MAAM,MAClB,UAAU,+BAAA,CAAA,EAEd,EACAF,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,kCACb,SAAAA,EAAA,kBAAA,IAAC,KAAE,UAAU,yDACV,SAAKE,EAAA,WACR,CAAA,CACF,CAAA,CAAA,CAbO,EAAAA,EAAK,GAcd,EACD,CAAA,CACH,EACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs249.js"),c=require("./index.cjs125.js"),t=require("./index.cjs55.js"),o=({title:r,description:s,steps:i,type:n})=>e.jsxRuntimeExports.jsxs(t.Section,{children:[e.jsxRuntimeExports.jsx(t.Section.Title,{color:"blue-48",fs:"2",mdFs:"1",className:"mb-x16",children:r}),e.jsxRuntimeExports.jsx(t.Section.Description,{color:"slate-14",fs:"6",className:"mb-x36",children:s}),e.jsxRuntimeExports.jsx(c.VerticalCardStepper,{steps:i,type:n})]});exports.VerticalCardStepperSection=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs249.js"),s=require("./index.cjs125.js"),t=require("./index.cjs55.js"),c=({title:r,description:i,steps:n,type:o})=>e.jsxRuntimeExports.jsxs(t.Section,{children:[e.jsxRuntimeExports.jsx(t.SectionHeading,{title:r,description:i,color:"primary",titleMarginBottom:"mb-x16",descriptionClassName:"text-slate-14 fs-6",descriptionMarginBottom:"mb-x36"}),e.jsxRuntimeExports.jsx(s.VerticalCardStepper,{steps:n,type:o})]});exports.VerticalCardStepperSection=c;
2
2
  //# sourceMappingURL=index.cjs150.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs150.js","sources":["../src/sections/VerticalCardStepperSection/index.tsx"],"sourcesContent":["import { Section, Step, StepVariantEnum, VerticalCardStepper } from \"@/components\";\r\n\r\ntype Props = {\r\n title: string;\r\n description: string;\r\n steps: Step[];\r\n type: StepVariantEnum;\r\n};\r\n\r\nexport const VerticalCardStepperSection = ({\r\n title,\r\n description,\r\n steps,\r\n type,\r\n}: Props) => {\r\n return (\r\n <Section>\r\n <Section.Title color=\"blue-48\" fs=\"2\" mdFs=\"1\" className=\"mb-x16\">\r\n {title}\r\n </Section.Title>\r\n <Section.Description color=\"slate-14\" fs=\"6\" className=\"mb-x36\">\r\n {description}\r\n </Section.Description>\r\n\r\n <VerticalCardStepper steps={steps} type={type} />\r\n </Section>\r\n );\r\n};\r\n"],"names":["VerticalCardStepperSection","title","description","steps","type","Section","jsx","VerticalCardStepper"],"mappings":"kLASaA,EAA6B,CAAC,CACzC,MAAAC,EACA,YAAAC,EACA,MAAAC,EACA,KAAAC,CACF,6BAEKC,UACC,CAAA,SAAA,CAACC,EAAAA,kBAAAA,IAAAD,EAAAA,QAAQ,MAAR,CAAc,MAAM,UAAU,GAAG,IAAI,KAAK,IAAI,UAAU,SACtD,SACHJ,CAAA,CAAA,EACAK,EAAAA,kBAAAA,IAACD,EAAQ,QAAA,YAAR,CAAoB,MAAM,WAAW,GAAG,IAAI,UAAU,SACpD,SACHH,CAAA,CAAA,EAEAI,EAAAA,kBAAAA,IAACC,EAAoB,oBAAA,CAAA,MAAAJ,EAAc,KAAAC,CAAY,CAAA,CAAA,EACjD"}
1
+ {"version":3,"file":"index.cjs150.js","sources":["../src/sections/VerticalCardStepperSection/index.tsx"],"sourcesContent":["import {\r\n Section,\r\n SectionHeading,\r\n Step,\r\n StepVariantEnum,\r\n VerticalCardStepper,\r\n} from \"@/components\";\r\n\r\ntype Props = {\r\n title: string;\r\n description: string;\r\n steps: Step[];\r\n type: StepVariantEnum;\r\n};\r\n\r\nexport const VerticalCardStepperSection = ({\r\n title,\r\n description,\r\n steps,\r\n type,\r\n}: Props) => {\r\n return (\r\n <Section>\r\n <SectionHeading\r\n title={title}\r\n description={description}\r\n color=\"primary\"\r\n titleMarginBottom=\"mb-x16\"\r\n descriptionClassName=\"text-slate-14 fs-6\"\r\n descriptionMarginBottom=\"mb-x36\"\r\n />\r\n <VerticalCardStepper steps={steps} type={type} />\r\n </Section>\r\n );\r\n};\r\n"],"names":["VerticalCardStepperSection","title","description","steps","type","Section","jsx","SectionHeading","VerticalCardStepper"],"mappings":"kLAeaA,EAA6B,CAAC,CACzC,MAAAC,EACA,YAAAC,EACA,MAAAC,EACA,KAAAC,CACF,6BAEKC,UACC,CAAA,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,eAAA,CACC,MAAAN,EACA,YAAAC,EACA,MAAM,UACN,kBAAkB,SAClB,qBAAqB,qBACrB,wBAAwB,QAAA,CAC1B,EACAI,EAAAA,kBAAAA,IAACE,EAAoB,oBAAA,CAAA,MAAAL,EAAc,KAAAC,CAAY,CAAA,CAAA,EACjD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableCard/TableCard.css');const e=require("./index.cjs249.js");;/* empty css */const u=require("react"),d=require("./index.cjs265.js"),m=require("./index.cjs11.js"),j=require("./index.cjs7.js"),p=require("./index.cjs8.js"),x=require("./index.cjs55.js"),h=require("./index.cjs10.js"),b=require("./index.cjs9.js"),R=require("./index.cjs102.js"),q=({title:c,headerTitle:a,data:r=[]})=>{const[i,l]=u.useState(""),n=d.useDebouncedValue(i.trim().toLowerCase(),300),o=u.useMemo(()=>n?r.filter(s=>[s.title,s.description].some(t=>t==null?void 0:t.toLowerCase().includes(n))):r,[n,r]);return e.jsxRuntimeExports.jsxs(x.Section,{className:"table-card",children:[e.jsxRuntimeExports.jsx(x.Section.Title,{mdFs:"2",fs:"3",color:"blue-48",as:"h1",className:"table-card-section-title",children:c}),e.jsxRuntimeExports.jsxs(h.Col,{children:[e.jsxRuntimeExports.jsxs(b.Row,{alignItems:"flex-start",className:"header-row",justifyContent:"space-between",flexWrap:"wrap",children:[e.jsxRuntimeExports.jsxs("h1",{className:"update-title",children:[a," ",e.jsxRuntimeExports.jsxs("span",{children:["(",o.length,")"]})]}),e.jsxRuntimeExports.jsx(m.Search,{variant:"outlined",btnText:"",helperText:"",value:i,onChangeValue:l})]}),e.jsxRuntimeExports.jsx(j.GridContainer,{gap:"x24",mt:"x32",px:"x12",children:o.map((s,t)=>e.jsxRuntimeExports.jsx(p.GridItem,{sm:6,md:4,children:e.jsxRuntimeExports.jsx(R.CardFile,{...s})},`table-card-${t}`))})]})]})};exports.TableCard=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableCard/TableCard.css');const e=require("./index.cjs249.js");;/* empty css */const x=require("react"),d=require("./index.cjs265.js"),m=require("./index.cjs11.js"),j=require("./index.cjs7.js"),p=require("./index.cjs8.js"),u=require("./index.cjs55.js"),h=require("./index.cjs10.js"),R=require("./index.cjs9.js"),b=require("./index.cjs102.js"),q=({title:a,headerTitle:c,data:r=[]})=>{const[i,l]=x.useState(""),n=d.useDebouncedValue(i.trim().toLowerCase(),300),o=x.useMemo(()=>n?r.filter(s=>[s.title,s.description].some(t=>t==null?void 0:t.toLowerCase().includes(n))):r,[n,r]);return e.jsxRuntimeExports.jsxs(u.Section,{className:"table-card",children:[e.jsxRuntimeExports.jsx(u.SectionHeading,{title:a,mdFs:"2",fs:"3",color:"primary",className:"table-card-section-title"}),e.jsxRuntimeExports.jsxs(h.Col,{children:[e.jsxRuntimeExports.jsxs(R.Row,{alignItems:"flex-start",className:"header-row",justifyContent:"space-between",flexWrap:"wrap",children:[e.jsxRuntimeExports.jsxs("h1",{className:"update-title",children:[c," ",e.jsxRuntimeExports.jsxs("span",{children:["(",o.length,")"]})]}),e.jsxRuntimeExports.jsx(m.Search,{variant:"outlined",btnText:"",helperText:"",value:i,onChangeValue:l})]}),e.jsxRuntimeExports.jsx(j.GridContainer,{gap:"x24",mt:"x32",px:"x12",children:o.map((s,t)=>e.jsxRuntimeExports.jsx(p.GridItem,{sm:6,md:4,children:e.jsxRuntimeExports.jsx(b.CardFile,{...s})},`table-card-${t}`))})]})]})};exports.TableCard=q;
2
2
  //# sourceMappingURL=index.cjs151.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs151.js","sources":["../src/sections/TableCard/index.tsx"],"sourcesContent":["import {\r\n CardFile,\r\n Col,\r\n GridContainer,\r\n GridItem,\r\n Row,\r\n Search,\r\n Section,\r\n} from \"@/components\";\r\nimport \"./TableCard.scss\";\r\nimport { useMemo, useState } from \"react\";\r\nimport { useDebouncedValue } from \"@/utils/useDebouncedValue\";\r\nimport { CardFileProps } from \"@/components/ui/CardFile\";\r\n\r\ntype Props = {\r\n title: string;\r\n headerTitle: string;\r\n data?: CardFileProps[];\r\n};\r\n\r\nexport const TableCard = ({ title, headerTitle, data = [] }: Props) => {\r\n const [query, setQuery] = useState(\"\");\r\n const debouncedQuery = useDebouncedValue(query.trim().toLowerCase(), 300);\r\n\r\n const filtered = useMemo(() => {\r\n if (!debouncedQuery) return data;\r\n return data.filter((u) =>\r\n [\r\n u.title,\r\n u.description,\r\n ].some((field) => \r\n field?.toLowerCase().includes(debouncedQuery)\r\n ),\r\n );\r\n }, [debouncedQuery, data]);\r\n\r\n return (\r\n <Section className=\"table-card\">\r\n <Section.Title mdFs=\"2\" fs=\"3\" color=\"blue-48\" as=\"h1\" className=\"table-card-section-title\">\r\n {title}\r\n </Section.Title>\r\n <Col>\r\n <Row\r\n alignItems=\"flex-start\"\r\n className=\"header-row\"\r\n justifyContent=\"space-between\"\r\n flexWrap=\"wrap\"\r\n >\r\n <h1 className=\"update-title\">\r\n {headerTitle} <span>({filtered.length})</span>\r\n </h1>\r\n <Search\r\n variant=\"outlined\"\r\n btnText=\"\"\r\n helperText=\"\"\r\n value={query}\r\n onChangeValue={setQuery}\r\n />\r\n </Row>\r\n <GridContainer gap=\"x24\" mt=\"x32\" px=\"x12\">\r\n {filtered.map((el, index) => (\r\n <GridItem key={`table-card-${index}`} sm={6} md={4}>\r\n <CardFile {...el} />\r\n </GridItem>\r\n ))}\r\n </GridContainer>\r\n </Col>\r\n </Section>\r\n );\r\n};\r\n"],"names":["TableCard","title","headerTitle","data","query","setQuery","useState","debouncedQuery","useDebouncedValue","filtered","useMemo","u","field","jsxs","Section","jsx","Col","Row","Search","GridContainer","el","index","GridItem","CardFile"],"mappings":"0ZAoBaA,EAAY,CAAC,CAAE,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAO,MAAgB,CACrE,KAAM,CAACC,EAAOC,CAAQ,EAAIC,EAAAA,SAAS,EAAE,EAC/BC,EAAiBC,EAAAA,kBAAkBJ,EAAM,OAAO,cAAe,GAAG,EAElEK,EAAWC,EAAAA,QAAQ,IAClBH,EACEJ,EAAK,OAAQQ,GAClB,CACEA,EAAE,MACFA,EAAE,WAAA,EACF,KAAMC,GACNA,GAAA,YAAAA,EAAO,cAAc,SAASL,EAAc,CAEhD,EAR4BJ,EAS3B,CAACI,EAAgBJ,CAAI,CAAC,EAGvB,OAAAU,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,aACjB,SAAA,CAAAC,EAAA,kBAAA,IAACD,EAAQ,QAAA,MAAR,CAAc,KAAK,IAAI,GAAG,IAAI,MAAM,UAAU,GAAG,KAAK,UAAU,2BAC9D,SACHb,EAAA,2BACCe,EAAAA,IACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,KAACI,EAAA,IAAA,CACC,WAAW,aACX,UAAU,aACV,eAAe,gBACf,SAAS,OAET,SAAA,CAACJ,EAAAA,kBAAAA,KAAA,KAAA,CAAG,UAAU,eACX,SAAA,CAAAX,EAAY,6BAAE,OAAK,CAAA,SAAA,CAAA,IAAEO,EAAS,OAAO,GAAA,CAAC,CAAA,CAAA,EACzC,EACAM,EAAA,kBAAA,IAACG,EAAA,OAAA,CACC,QAAQ,WACR,QAAQ,GACR,WAAW,GACX,MAAOd,EACP,cAAeC,CAAA,CAAA,CACjB,CAAA,CACF,EACCU,EAAA,kBAAA,IAAAI,EAAA,cAAA,CAAc,IAAI,MAAM,GAAG,MAAM,GAAG,MAClC,SAASV,EAAA,IAAI,CAACW,EAAIC,IACjBN,wBAACO,EAAAA,SAAqC,CAAA,GAAI,EAAG,GAAI,EAC/C,SAAAP,EAAA,kBAAA,IAACQ,EAAU,SAAA,CAAA,GAAGH,CAAI,CAAA,CAAA,EADL,cAAcC,CAAK,EAElC,CACD,CACH,CAAA,CAAA,CACF,CAAA,CAAA,EACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs151.js","sources":["../src/sections/TableCard/index.tsx"],"sourcesContent":["import {\r\n CardFile,\r\n Col,\r\n GridContainer,\r\n GridItem,\r\n Row,\r\n Search,\r\n Section,\r\n SectionHeading,\r\n} from \"@/components\";\r\nimport \"./TableCard.scss\";\r\nimport { useMemo, useState } from \"react\";\r\nimport { useDebouncedValue } from \"@/utils/useDebouncedValue\";\r\nimport { CardFileProps } from \"@/components/ui/CardFile\";\r\n\r\ntype Props = {\r\n title: string;\r\n headerTitle: string;\r\n data?: CardFileProps[];\r\n};\r\n\r\nexport const TableCard = ({ title, headerTitle, data = [] }: Props) => {\r\n const [query, setQuery] = useState(\"\");\r\n const debouncedQuery = useDebouncedValue(query.trim().toLowerCase(), 300);\r\n\r\n const filtered = useMemo(() => {\r\n if (!debouncedQuery) return data;\r\n return data.filter((u) =>\r\n [u.title, u.description].some((field) =>\r\n field?.toLowerCase().includes(debouncedQuery),\r\n ),\r\n );\r\n }, [debouncedQuery, data]);\r\n\r\n return (\r\n <Section className=\"table-card\">\r\n <SectionHeading\r\n title={title}\r\n mdFs=\"2\"\r\n fs=\"3\"\r\n color=\"primary\"\r\n className=\"table-card-section-title\"\r\n />\r\n <Col>\r\n <Row\r\n alignItems=\"flex-start\"\r\n className=\"header-row\"\r\n justifyContent=\"space-between\"\r\n flexWrap=\"wrap\"\r\n >\r\n <h1 className=\"update-title\">\r\n {headerTitle} <span>({filtered.length})</span>\r\n </h1>\r\n <Search\r\n variant=\"outlined\"\r\n btnText=\"\"\r\n helperText=\"\"\r\n value={query}\r\n onChangeValue={setQuery}\r\n />\r\n </Row>\r\n <GridContainer gap=\"x24\" mt=\"x32\" px=\"x12\">\r\n {filtered.map((el, index) => (\r\n <GridItem key={`table-card-${index}`} sm={6} md={4}>\r\n <CardFile {...el} />\r\n </GridItem>\r\n ))}\r\n </GridContainer>\r\n </Col>\r\n </Section>\r\n );\r\n};\r\n"],"names":["TableCard","title","headerTitle","data","query","setQuery","useState","debouncedQuery","useDebouncedValue","filtered","useMemo","u","field","jsxs","Section","jsx","SectionHeading","Col","Row","Search","GridContainer","el","index","GridItem","CardFile"],"mappings":"0ZAqBaA,EAAY,CAAC,CAAE,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAO,MAAgB,CACrE,KAAM,CAACC,EAAOC,CAAQ,EAAIC,EAAAA,SAAS,EAAE,EAC/BC,EAAiBC,EAAAA,kBAAkBJ,EAAM,OAAO,cAAe,GAAG,EAElEK,EAAWC,EAAAA,QAAQ,IAClBH,EACEJ,EAAK,OAAQQ,GAClB,CAACA,EAAE,MAAOA,EAAE,WAAW,EAAE,KAAMC,GAC7BA,GAAA,YAAAA,EAAO,cAAc,SAASL,EAAc,CAEhD,EAL4BJ,EAM3B,CAACI,EAAgBJ,CAAI,CAAC,EAGvB,OAAAU,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,aACjB,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,eAAA,CACC,MAAAf,EACA,KAAK,IACL,GAAG,IACH,MAAM,UACN,UAAU,0BAAA,CACZ,2BACCgB,EAAAA,IACC,CAAA,SAAA,CAAAJ,EAAA,kBAAA,KAACK,EAAA,IAAA,CACC,WAAW,aACX,UAAU,aACV,eAAe,gBACf,SAAS,OAET,SAAA,CAACL,EAAAA,kBAAAA,KAAA,KAAA,CAAG,UAAU,eACX,SAAA,CAAAX,EAAY,6BAAE,OAAK,CAAA,SAAA,CAAA,IAAEO,EAAS,OAAO,GAAA,CAAC,CAAA,CAAA,EACzC,EACAM,EAAA,kBAAA,IAACI,EAAA,OAAA,CACC,QAAQ,WACR,QAAQ,GACR,WAAW,GACX,MAAOf,EACP,cAAeC,CAAA,CAAA,CACjB,CAAA,CACF,EACCU,EAAA,kBAAA,IAAAK,EAAA,cAAA,CAAc,IAAI,MAAM,GAAG,MAAM,GAAG,MAClC,SAASX,EAAA,IAAI,CAACY,EAAIC,IACjBP,wBAACQ,EAAAA,SAAqC,CAAA,GAAI,EAAG,GAAI,EAC/C,SAAAR,EAAA,kBAAA,IAACS,EAAU,SAAA,CAAA,GAAGH,CAAI,CAAA,CAAA,EADL,cAAcC,CAAK,EAElC,CACD,CACH,CAAA,CAAA,CACF,CAAA,CAAA,EACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Slider/Slider.css');require('./node_modules/swiper/modules/pagination.css');require('./node_modules/swiper/modules/navigation.css');require('./node_modules/swiper/swiper.css');const t=require("./index.cjs249.js"),s=require("react"),g=require("./index.cjs266.js"),A=require("./index.cjs267.js"),L=require("./index.cjs268.js"),T=require("./index.cjs269.js");;/* empty css */;/* empty css */;/* empty css */;/* empty css */const _=require("./index.cjs251.js"),V=require("./index.cjs274.js"),B=require("./index.cjs188.js"),R=require("./index.cjs175.js"),F=require("./index.cjs223.js"),M=require("./index.cjs10.js"),w=require("./index.cjs9.js"),O=({slides:i=[],asLink:E="a",asImage:f="img",timeout:l=3e3,openInNewTab:y=!1,paginationLabel:q="di",withShadow:N=!0,gradientColor:v="#3d6289",swiperHeight:S=574})=>{const C=E||"a",$=f,r=s.useRef(null),[a,b]=s.useState(0),[n,k]=s.useState(!0),u=()=>{k(!n)},c=s.useCallback(()=>{if(!r.current)return;const e=r.current;e.isEnd&&!e.params.loop?e.slideTo(0):e.slideNext()},[]),I=s.useCallback(()=>{if(!r.current)return;const e=r.current;e.isBeginning&&!e.params.loop?e.slideTo(e.slides.length-1):e.slidePrev()},[]);s.useEffect(()=>{const e=n?setInterval(()=>{c()},l):null;return()=>{e&&clearInterval(e)}},[n,c,l]);const x={"--gradient":v},d={"--swiper-height":`${S}px`};return t.jsxRuntimeExports.jsx(M.Col,{className:"ui-slider-section-wrapper-container",style:d,children:t.jsxRuntimeExports.jsx("div",{className:"ui-slider",children:t.jsxRuntimeExports.jsxs(g.Swiper,{modules:[A,L,T],slidesPerView:1,autoplay:n,observer:!0,observeParents:!0,loop:!0,onSwiper:e=>r.current=e,onSlideChange:e=>b(e.realIndex),style:d,children:[i.map((e,P)=>{var p,h,m;return t.jsxRuntimeExports.jsxs(g.SwiperSlide,{children:[t.jsxRuntimeExports.jsx($,{src:e.src,alt:e.alt,className:"slider-image",onLoad:()=>{var o,j;return(j=(o=r.current)==null?void 0:o.update)==null?void 0:j.call(o)}}),t.jsxRuntimeExports.jsx("div",{className:_.clsx("slider-content",{"with-shadow":N}),style:x,children:t.jsxRuntimeExports.jsx("div",{className:"container",children:t.jsxRuntimeExports.jsxs("div",{className:"slider-content-grid",children:[t.jsxRuntimeExports.jsxs("div",{className:"category",children:[e.category&&t.jsxRuntimeExports.jsx(B.File,{fillColor:"#fff",width:30,height:30}),((p=e.category)==null?void 0:p.type)??" ",t.jsxRuntimeExports.jsx("p",{className:"date",children:((h=e.category)==null?void 0:h.published_at)??" "})]}),t.jsxRuntimeExports.jsx(C,{href:((m=i[a])==null?void 0:m.href)||"",target:y?"_blank":"_self",children:t.jsxRuntimeExports.jsx("h1",{className:"title",children:e.title})})]})})})]},P)}),t.jsxRuntimeExports.jsxs(w.Row,{className:"pagination",gap:"x20",style:x,children:[i.length>1&&t.jsxRuntimeExports.jsxs(w.Row,{alignItems:"center",children:[t.jsxRuntimeExports.jsx(R.ArrowLeft,{width:40,height:40,onClick:I,color:"white",className:"cursor-pointer"}),n?t.jsxRuntimeExports.jsx(V.Pause,{width:20,height:20,onClick:u,className:"cursor-pointer"}):t.jsxRuntimeExports.jsx(F.PlayVideo,{width:20,height:20,onClick:u,color:"white",className:"cursor-pointer"})]}),t.jsxRuntimeExports.jsx("span",{children:`${a+1} ${q} ${i.length}`}),i.length>1&&t.jsxRuntimeExports.jsx(R.ArrowLeft,{width:40,height:40,className:"next cursor-pointer",onClick:c,color:"white"})]})]})})})};exports.Slider=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Slider/Slider.css');require('./node_modules/swiper/modules/pagination.css');require('./node_modules/swiper/modules/navigation.css');require('./node_modules/swiper/swiper.css');const t=require("./index.cjs249.js"),i=require("react"),g=require("./index.cjs266.js"),k=require("./index.cjs267.js"),_=require("./index.cjs268.js"),T=require("./index.cjs269.js");;/* empty css */;/* empty css */;/* empty css */;/* empty css */const M=require("./index.cjs251.js"),G=require("./index.cjs274.js"),U=require("./index.cjs188.js"),R=require("./index.cjs175.js"),B=require("./index.cjs223.js"),F=require("./index.cjs10.js"),w=require("./index.cjs9.js");var E=(s=>(s.STATIC="static",s.MULTIPLE="multiple",s.FULL_IMAGE="full-image",s.BLUR_IMAGE="blur-image",s.STATIC_IMAGE="static_image",s))(E||{});const V=({slides:s=[],asLink:f="a",asImage:q="img",timeout:l=3e3,openInNewTab:N=!1,paginationLabel:v="di",withShadow:y=!0,gradientColor:C="#3d6289",swiperHeight:I=574})=>{const S=f||"a",b=q,r=i.useRef(null),[a,A]=i.useState(0),[n,L]=i.useState(!0),u=()=>{L(!n)},c=i.useCallback(()=>{if(!r.current)return;const e=r.current;e.isEnd&&!e.params.loop?e.slideTo(0):e.slideNext()},[]),P=i.useCallback(()=>{if(!r.current)return;const e=r.current;e.isBeginning&&!e.params.loop?e.slideTo(e.slides.length-1):e.slidePrev()},[]);i.useEffect(()=>{const e=n?setInterval(()=>{c()},l):null;return()=>{e&&clearInterval(e)}},[n,c,l]);const x={"--gradient":C},d={"--swiper-height":`${I}px`};return t.jsxRuntimeExports.jsx(F.Col,{className:"ui-slider-section-wrapper-container",style:d,children:t.jsxRuntimeExports.jsx("div",{className:"ui-slider",children:t.jsxRuntimeExports.jsxs(g.Swiper,{modules:[k,_,T],slidesPerView:1,autoplay:n,observer:!0,observeParents:!0,loop:!0,onSwiper:e=>r.current=e,onSlideChange:e=>A(e.realIndex),style:d,children:[s.map((e,$)=>{var p,h,m;return t.jsxRuntimeExports.jsxs(g.SwiperSlide,{children:[t.jsxRuntimeExports.jsx(b,{src:e.src,alt:e.alt,className:"slider-image",onLoad:()=>{var o,j;return(j=(o=r.current)==null?void 0:o.update)==null?void 0:j.call(o)}}),t.jsxRuntimeExports.jsx("div",{className:M.clsx("slider-content",{"with-shadow":y}),style:x,children:t.jsxRuntimeExports.jsx("div",{className:"container",children:t.jsxRuntimeExports.jsxs("div",{className:"slider-content-grid",children:[t.jsxRuntimeExports.jsxs("div",{className:"category",children:[e.category&&t.jsxRuntimeExports.jsx(U.File,{fillColor:"#fff",width:30,height:30}),((p=e.category)==null?void 0:p.type)??" ",t.jsxRuntimeExports.jsx("p",{className:"date",children:((h=e.category)==null?void 0:h.published_at)??" "})]}),t.jsxRuntimeExports.jsx(S,{href:((m=s[a])==null?void 0:m.href)||"",target:N?"_blank":"_self",children:t.jsxRuntimeExports.jsx("h1",{className:"title",children:e.title})})]})})})]},$)}),t.jsxRuntimeExports.jsxs(w.Row,{className:"pagination",gap:"x20",style:x,children:[s.length>1&&t.jsxRuntimeExports.jsxs(w.Row,{alignItems:"center",children:[t.jsxRuntimeExports.jsx(R.ArrowLeft,{width:40,height:40,onClick:P,color:"white",className:"cursor-pointer"}),n?t.jsxRuntimeExports.jsx(G.Pause,{width:20,height:20,onClick:u,className:"cursor-pointer"}):t.jsxRuntimeExports.jsx(B.PlayVideo,{width:20,height:20,onClick:u,color:"white",className:"cursor-pointer"})]}),t.jsxRuntimeExports.jsx("span",{children:`${a+1} ${v} ${s.length}`}),s.length>1&&t.jsxRuntimeExports.jsx(R.ArrowLeft,{width:40,height:40,className:"next cursor-pointer",onClick:c,color:"white"})]})]})})})};exports.Slider=V;exports.SliderTypeEnum=E;
2
2
  //# sourceMappingURL=index.cjs152.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs152.js","sources":["../src/sections/Slider/index.tsx"],"sourcesContent":["import {\r\n CSSProperties,\r\n ElementType,\r\n useCallback,\r\n useEffect,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport { Swiper, SwiperSlide } from \"swiper/react\";\r\nimport { Navigation, Pagination, A11y } from \"swiper/modules\";\r\nimport \"swiper/css\";\r\nimport \"swiper/css/navigation\";\r\nimport \"swiper/css/pagination\";\r\nimport \"./Slider.scss\";\r\nimport { ArrowLeft, File, PlayVideo } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\nimport { Pause } from \"@/icons/Pause\";\r\nimport { Col, Row } from \"@/components\";\r\n\r\nexport type Slide = {\r\n category?: {\r\n type: string;\r\n published_at: string;\r\n };\r\n src: string;\r\n alt: string;\r\n title: string;\r\n href?: string;\r\n};\r\nexport type SliderType = \"full-image\";\r\nexport type SliderProps = {\r\n slides: Slide[];\r\n asImage: ElementType;\r\n asLink?: ElementType;\r\n timeout?: number;\r\n openInNewTab?: boolean;\r\n paginationLabel?: string;\r\n withShadow?: boolean;\r\n gradientColor?: string;\r\n type?: SliderType;\r\n swiperHeight?: number;\r\n};\r\n\r\nexport const Slider: React.FC<SliderProps> = ({\r\n slides = [],\r\n asLink = \"a\",\r\n asImage = \"img\",\r\n timeout = 3000,\r\n openInNewTab = false,\r\n paginationLabel = \"di\",\r\n withShadow = true,\r\n gradientColor = \"#3d6289\",\r\n swiperHeight = 574,\r\n /* type = \"full-image\" */\r\n}) => {\r\n const LinkTag = asLink || \"a\";\r\n const ImageComponent = asImage;\r\n const swiperRef = useRef<any>(null);\r\n const [currentIndex, setCurrentIndex] = useState(0);\r\n\r\n const [autoplay, setAutoplay] = useState(true);\r\n const toggleAutoPlay = () => {\r\n setAutoplay(!autoplay);\r\n };\r\n\r\n const goNext = useCallback(() => {\r\n if (!swiperRef.current) return;\r\n const swiper = swiperRef.current;\r\n if (swiper.isEnd && !swiper.params.loop) {\r\n swiper.slideTo(0);\r\n } else {\r\n swiper.slideNext();\r\n }\r\n }, []);\r\n\r\n const goPrev = useCallback(() => {\r\n if (!swiperRef.current) return;\r\n const swiper = swiperRef.current;\r\n if (swiper.isBeginning && !swiper.params.loop) {\r\n swiper.slideTo(swiper.slides.length - 1);\r\n } else {\r\n swiper.slidePrev();\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n const intervalId = autoplay\r\n ? setInterval(() => {\r\n goNext();\r\n }, timeout)\r\n : null;\r\n\r\n return () => {\r\n if (intervalId) clearInterval(intervalId);\r\n };\r\n }, [autoplay, goNext, timeout]);\r\n\r\n const gradientColorStyle = {\r\n \"--gradient\": gradientColor,\r\n } as CSSProperties;\r\n\r\n const swiperStyle = {\r\n \"--swiper-height\": `${swiperHeight}px`,\r\n } as CSSProperties;\r\n\r\n return (\r\n <Col className=\"ui-slider-section-wrapper-container\" style={swiperStyle}>\r\n <div className=\"ui-slider\">\r\n <Swiper\r\n modules={[Navigation, Pagination, A11y]}\r\n slidesPerView={1}\r\n autoplay={autoplay}\r\n observer={true}\r\n observeParents={true}\r\n loop={true}\r\n onSwiper={(swiper) => (swiperRef.current = swiper)}\r\n onSlideChange={(swiper) => setCurrentIndex(swiper.realIndex)}\r\n style={swiperStyle}\r\n >\r\n {slides.map((slide, index) => (\r\n <SwiperSlide key={index}>\r\n <ImageComponent\r\n src={slide.src}\r\n alt={slide.alt}\r\n className=\"slider-image\"\r\n onLoad={() => swiperRef.current?.update?.()}\r\n />\r\n <div\r\n className={clsx(\"slider-content\", {\r\n \"with-shadow\": withShadow,\r\n })}\r\n style={gradientColorStyle}\r\n >\r\n <div className=\"container\">\r\n <div className=\"slider-content-grid\">\r\n <div className=\"category\">\r\n {slide.category && (\r\n <File fillColor=\"#fff\" width={30} height={30} />\r\n )}\r\n {slide.category?.type ?? \" \"}\r\n <p className=\"date\">\r\n {slide.category?.published_at ?? \" \"}\r\n </p>\r\n </div>\r\n <LinkTag\r\n href={slides[currentIndex]?.href || \"\"}\r\n target={openInNewTab ? \"_blank\" : \"_self\"}\r\n >\r\n <h1 className=\"title\">{slide.title}</h1>\r\n </LinkTag>\r\n </div>\r\n </div>\r\n </div>\r\n </SwiperSlide>\r\n ))}\r\n <Row className=\"pagination\" gap=\"x20\" style={gradientColorStyle}>\r\n {slides.length > 1 && (\r\n <Row alignItems=\"center\">\r\n <ArrowLeft\r\n width={40}\r\n height={40}\r\n onClick={goPrev}\r\n color=\"white\"\r\n className=\"cursor-pointer\"\r\n />\r\n {autoplay ? (\r\n <Pause\r\n width={20}\r\n height={20}\r\n onClick={toggleAutoPlay}\r\n className=\"cursor-pointer\"\r\n />\r\n ) : (\r\n <PlayVideo\r\n width={20}\r\n height={20}\r\n onClick={toggleAutoPlay}\r\n color=\"white\"\r\n className=\"cursor-pointer\"\r\n />\r\n )}\r\n </Row>\r\n )}\r\n\r\n <span>{`${currentIndex + 1} ${paginationLabel} ${slides.length}`}</span>\r\n {slides.length > 1 && (\r\n <ArrowLeft\r\n width={40}\r\n height={40}\r\n className=\"next cursor-pointer\"\r\n onClick={goNext}\r\n color=\"white\"\r\n />\r\n )}\r\n </Row>\r\n </Swiper>\r\n </div>\r\n </Col>\r\n );\r\n};\r\n"],"names":["Slider","slides","asLink","asImage","timeout","openInNewTab","paginationLabel","withShadow","gradientColor","swiperHeight","LinkTag","ImageComponent","swiperRef","useRef","currentIndex","setCurrentIndex","useState","autoplay","setAutoplay","toggleAutoPlay","goNext","useCallback","swiper","goPrev","useEffect","intervalId","gradientColorStyle","swiperStyle","jsx","Col","jsxs","Swiper","Navigation","Pagination","A11y","slide","index","SwiperSlide","_b","_a","clsx","File","_c","Row","ArrowLeft","Pause","PlayVideo"],"mappings":"olBA2CaA,EAAgC,CAAC,CAC5C,OAAAC,EAAS,CAAC,EACV,OAAAC,EAAS,IACT,QAAAC,EAAU,MACV,QAAAC,EAAU,IACV,aAAAC,EAAe,GACf,gBAAAC,EAAkB,KAClB,WAAAC,EAAa,GACb,cAAAC,EAAgB,UAChB,aAAAC,EAAe,GAEjB,IAAM,CACJ,MAAMC,EAAUR,GAAU,IACpBS,EAAiBR,EACjBS,EAAYC,SAAY,IAAI,EAC5B,CAACC,EAAcC,CAAe,EAAIC,EAAAA,SAAS,CAAC,EAE5C,CAACC,EAAUC,CAAW,EAAIF,EAAAA,SAAS,EAAI,EACvCG,EAAiB,IAAM,CAC3BD,EAAY,CAACD,CAAQ,CACvB,EAEMG,EAASC,EAAAA,YAAY,IAAM,CAC3B,GAAA,CAACT,EAAU,QAAS,OACxB,MAAMU,EAASV,EAAU,QACrBU,EAAO,OAAS,CAACA,EAAO,OAAO,KACjCA,EAAO,QAAQ,CAAC,EAEhBA,EAAO,UAAU,CAErB,EAAG,EAAE,EAECC,EAASF,EAAAA,YAAY,IAAM,CAC3B,GAAA,CAACT,EAAU,QAAS,OACxB,MAAMU,EAASV,EAAU,QACrBU,EAAO,aAAe,CAACA,EAAO,OAAO,KACvCA,EAAO,QAAQA,EAAO,OAAO,OAAS,CAAC,EAEvCA,EAAO,UAAU,CAErB,EAAG,EAAE,EAELE,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAaR,EACf,YAAY,IAAM,CACTG,EAAA,CAAA,EACNhB,CAAO,EACV,KAEJ,MAAO,IAAM,CACPqB,iBAA0BA,CAAU,CAC1C,CACC,EAAA,CAACR,EAAUG,EAAQhB,CAAO,CAAC,EAE9B,MAAMsB,EAAqB,CACzB,aAAclB,CAChB,EAEMmB,EAAc,CAClB,kBAAmB,GAAGlB,CAAY,IACpC,EAGE,OAAAmB,EAAA,kBAAA,IAACC,OAAI,UAAU,sCAAsC,MAAOF,EAC1D,SAAAC,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,YACb,SAAAE,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,QAAS,CAACC,EAAYC,EAAYC,CAAI,EACtC,cAAe,EACf,SAAAjB,EACA,SAAU,GACV,eAAgB,GAChB,KAAM,GACN,SAAWK,GAAYV,EAAU,QAAUU,EAC3C,cAAgBA,GAAWP,EAAgBO,EAAO,SAAS,EAC3D,MAAOK,EAEN,SAAA,CAAA1B,EAAO,IAAI,CAACkC,EAAOC,IAAA,2CACjBC,EAAAA,YACC,CAAA,SAAA,CAAAT,EAAA,kBAAA,IAACjB,EAAA,CACC,IAAKwB,EAAM,IACX,IAAKA,EAAM,IACX,UAAU,eACV,OAAQ,IAAA,SAAM,OAAAG,GAAAC,EAAA3B,EAAU,UAAV,YAAA2B,EAAmB,SAAnB,YAAAD,EAAA,KAAAC,GAA4B,CAC5C,EACAX,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWY,OAAK,iBAAkB,CAChC,cAAejC,CAAA,CAChB,EACD,MAAOmB,EAEP,iCAAC,MAAI,CAAA,UAAU,YACb,SAACI,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,sBACb,SAAA,CAACA,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,WACZ,SAAA,CAAMK,EAAA,kCACJM,EAAAA,KAAK,CAAA,UAAU,OAAO,MAAO,GAAI,OAAQ,EAAI,CAAA,IAE/CF,EAAAJ,EAAM,WAAN,YAAAI,EAAgB,OAAQ,4BACxB,IAAE,CAAA,UAAU,OACV,WAAMD,EAAAH,EAAA,WAAA,YAAAG,EAAU,eAAgB,GACnC,CAAA,CAAA,EACF,EACAV,EAAA,kBAAA,IAAClB,EAAA,CACC,OAAMgC,EAAAzC,EAAOa,CAAY,IAAnB,YAAA4B,EAAsB,OAAQ,GACpC,OAAQrC,EAAe,SAAW,QAElC,SAACuB,EAAAA,kBAAAA,IAAA,KAAA,CAAG,UAAU,QAAS,WAAM,KAAM,CAAA,CAAA,CAAA,CACrC,CAAA,CACF,CACF,CAAA,CAAA,CAAA,CACF,CAAA,EAhCgBQ,CAiClB,EACD,2BACAO,EAAAA,IAAI,CAAA,UAAU,aAAa,IAAI,MAAM,MAAOjB,EAC1C,SAAA,CAAAzB,EAAO,OAAS,GACd6B,EAAA,kBAAA,KAAAa,EAAA,IAAA,CAAI,WAAW,SACd,SAAA,CAAAf,EAAA,kBAAA,IAACgB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,QAASrB,EACT,MAAM,QACN,UAAU,gBAAA,CACZ,EACCN,EACCW,EAAA,kBAAA,IAACiB,EAAA,MAAA,CACC,MAAO,GACP,OAAQ,GACR,QAAS1B,EACT,UAAU,gBAAA,CAAA,EAGZS,EAAA,kBAAA,IAACkB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,QAAS3B,EACT,MAAM,QACN,UAAU,gBAAA,CAAA,CACZ,EAEJ,EAGFS,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAA,GAAGd,EAAe,CAAC,IAAIR,CAAe,IAAIL,EAAO,MAAM,EAAG,CAAA,EAChEA,EAAO,OAAS,GACf2B,EAAA,kBAAA,IAACgB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,UAAU,sBACV,QAASxB,EACT,MAAM,OAAA,CAAA,CACR,CAEJ,CAAA,CAAA,CAAA,GAEJ,CACF,CAAA,CAEJ"}
1
+ {"version":3,"file":"index.cjs152.js","sources":["../src/sections/Slider/index.tsx"],"sourcesContent":["import {\r\n CSSProperties,\r\n ElementType,\r\n useCallback,\r\n useEffect,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport { Swiper, SwiperSlide } from \"swiper/react\";\r\nimport { Navigation, Pagination, A11y } from \"swiper/modules\";\r\nimport \"swiper/css\";\r\nimport \"swiper/css/navigation\";\r\nimport \"swiper/css/pagination\";\r\nimport \"./Slider.scss\";\r\nimport { ArrowLeft, File, PlayVideo } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\nimport { Pause } from \"@/icons/Pause\";\r\nimport { Col, Row } from \"@/components\";\r\nimport { GetValues } from \"@anoki/fse-common/dist\";\r\n\r\nexport type Slide = {\r\n category?: {\r\n type: string;\r\n published_at: string;\r\n };\r\n src: string;\r\n alt: string;\r\n title: string;\r\n href?: string;\r\n};\r\nexport enum SliderTypeEnum {\r\n STATIC = \"static\",\r\n MULTIPLE = \"multiple\",\r\n FULL_IMAGE = \"full-image\",\r\n BLUR_IMAGE = \"blur-image\",\r\n STATIC_IMAGE = \"static_image\",\r\n}\r\n\r\nexport type SliderType = GetValues<SliderTypeEnum>;\r\nexport type SliderProps = {\r\n slides: Slide[];\r\n asImage: ElementType;\r\n asLink?: ElementType;\r\n timeout?: number;\r\n openInNewTab?: boolean;\r\n paginationLabel?: string;\r\n withShadow?: boolean;\r\n gradientColor?: string;\r\n type?: SliderType;\r\n swiperHeight?: number;\r\n};\r\n\r\nexport const Slider: React.FC<SliderProps> = ({\r\n slides = [],\r\n asLink = \"a\",\r\n asImage = \"img\",\r\n timeout = 3000,\r\n openInNewTab = false,\r\n paginationLabel = \"di\",\r\n withShadow = true,\r\n gradientColor = \"#3d6289\",\r\n swiperHeight = 574,\r\n /* type = \"full-image\" */\r\n}) => {\r\n const LinkTag = asLink || \"a\";\r\n const ImageComponent = asImage;\r\n const swiperRef = useRef<any>(null);\r\n const [currentIndex, setCurrentIndex] = useState(0);\r\n\r\n const [autoplay, setAutoplay] = useState(true);\r\n const toggleAutoPlay = () => {\r\n setAutoplay(!autoplay);\r\n };\r\n\r\n const goNext = useCallback(() => {\r\n if (!swiperRef.current) return;\r\n const swiper = swiperRef.current;\r\n if (swiper.isEnd && !swiper.params.loop) {\r\n swiper.slideTo(0);\r\n } else {\r\n swiper.slideNext();\r\n }\r\n }, []);\r\n\r\n const goPrev = useCallback(() => {\r\n if (!swiperRef.current) return;\r\n const swiper = swiperRef.current;\r\n if (swiper.isBeginning && !swiper.params.loop) {\r\n swiper.slideTo(swiper.slides.length - 1);\r\n } else {\r\n swiper.slidePrev();\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n const intervalId = autoplay\r\n ? setInterval(() => {\r\n goNext();\r\n }, timeout)\r\n : null;\r\n\r\n return () => {\r\n if (intervalId) clearInterval(intervalId);\r\n };\r\n }, [autoplay, goNext, timeout]);\r\n\r\n const gradientColorStyle = {\r\n \"--gradient\": gradientColor,\r\n } as CSSProperties;\r\n\r\n const swiperStyle = {\r\n \"--swiper-height\": `${swiperHeight}px`,\r\n } as CSSProperties;\r\n\r\n return (\r\n <Col className=\"ui-slider-section-wrapper-container\" style={swiperStyle}>\r\n <div className=\"ui-slider\">\r\n <Swiper\r\n modules={[Navigation, Pagination, A11y]}\r\n slidesPerView={1}\r\n autoplay={autoplay}\r\n observer={true}\r\n observeParents={true}\r\n loop={true}\r\n onSwiper={(swiper) => (swiperRef.current = swiper)}\r\n onSlideChange={(swiper) => setCurrentIndex(swiper.realIndex)}\r\n style={swiperStyle}\r\n >\r\n {slides.map((slide, index) => (\r\n <SwiperSlide key={index}>\r\n <ImageComponent\r\n src={slide.src}\r\n alt={slide.alt}\r\n className=\"slider-image\"\r\n onLoad={() => swiperRef.current?.update?.()}\r\n />\r\n <div\r\n className={clsx(\"slider-content\", {\r\n \"with-shadow\": withShadow,\r\n })}\r\n style={gradientColorStyle}\r\n >\r\n <div className=\"container\">\r\n <div className=\"slider-content-grid\">\r\n <div className=\"category\">\r\n {slide.category && (\r\n <File fillColor=\"#fff\" width={30} height={30} />\r\n )}\r\n {slide.category?.type ?? \" \"}\r\n <p className=\"date\">\r\n {slide.category?.published_at ?? \" \"}\r\n </p>\r\n </div>\r\n <LinkTag\r\n href={slides[currentIndex]?.href || \"\"}\r\n target={openInNewTab ? \"_blank\" : \"_self\"}\r\n >\r\n <h1 className=\"title\">{slide.title}</h1>\r\n </LinkTag>\r\n </div>\r\n </div>\r\n </div>\r\n </SwiperSlide>\r\n ))}\r\n <Row className=\"pagination\" gap=\"x20\" style={gradientColorStyle}>\r\n {slides.length > 1 && (\r\n <Row alignItems=\"center\">\r\n <ArrowLeft\r\n width={40}\r\n height={40}\r\n onClick={goPrev}\r\n color=\"white\"\r\n className=\"cursor-pointer\"\r\n />\r\n {autoplay ? (\r\n <Pause\r\n width={20}\r\n height={20}\r\n onClick={toggleAutoPlay}\r\n className=\"cursor-pointer\"\r\n />\r\n ) : (\r\n <PlayVideo\r\n width={20}\r\n height={20}\r\n onClick={toggleAutoPlay}\r\n color=\"white\"\r\n className=\"cursor-pointer\"\r\n />\r\n )}\r\n </Row>\r\n )}\r\n\r\n <span>{`${currentIndex + 1} ${paginationLabel} ${slides.length}`}</span>\r\n {slides.length > 1 && (\r\n <ArrowLeft\r\n width={40}\r\n height={40}\r\n className=\"next cursor-pointer\"\r\n onClick={goNext}\r\n color=\"white\"\r\n />\r\n )}\r\n </Row>\r\n </Swiper>\r\n </div>\r\n </Col>\r\n );\r\n};\r\n"],"names":["SliderTypeEnum","Slider","slides","asLink","asImage","timeout","openInNewTab","paginationLabel","withShadow","gradientColor","swiperHeight","LinkTag","ImageComponent","swiperRef","useRef","currentIndex","setCurrentIndex","useState","autoplay","setAutoplay","toggleAutoPlay","goNext","useCallback","swiper","goPrev","useEffect","intervalId","gradientColorStyle","swiperStyle","jsx","Col","jsxs","Swiper","Navigation","Pagination","A11y","slide","index","SwiperSlide","_b","_a","clsx","File","_c","Row","ArrowLeft","Pause","PlayVideo"],"mappings":"olBA8BY,IAAAA,GAAAA,IACVA,EAAA,OAAS,SACTA,EAAA,SAAW,WACXA,EAAA,WAAa,aACbA,EAAA,WAAa,aACbA,EAAA,aAAe,eALLA,IAAAA,GAAA,CAAA,CAAA,EAsBL,MAAMC,EAAgC,CAAC,CAC5C,OAAAC,EAAS,CAAC,EACV,OAAAC,EAAS,IACT,QAAAC,EAAU,MACV,QAAAC,EAAU,IACV,aAAAC,EAAe,GACf,gBAAAC,EAAkB,KAClB,WAAAC,EAAa,GACb,cAAAC,EAAgB,UAChB,aAAAC,EAAe,GAEjB,IAAM,CACJ,MAAMC,EAAUR,GAAU,IACpBS,EAAiBR,EACjBS,EAAYC,SAAY,IAAI,EAC5B,CAACC,EAAcC,CAAe,EAAIC,EAAAA,SAAS,CAAC,EAE5C,CAACC,EAAUC,CAAW,EAAIF,EAAAA,SAAS,EAAI,EACvCG,EAAiB,IAAM,CAC3BD,EAAY,CAACD,CAAQ,CACvB,EAEMG,EAASC,EAAAA,YAAY,IAAM,CAC3B,GAAA,CAACT,EAAU,QAAS,OACxB,MAAMU,EAASV,EAAU,QACrBU,EAAO,OAAS,CAACA,EAAO,OAAO,KACjCA,EAAO,QAAQ,CAAC,EAEhBA,EAAO,UAAU,CAErB,EAAG,EAAE,EAECC,EAASF,EAAAA,YAAY,IAAM,CAC3B,GAAA,CAACT,EAAU,QAAS,OACxB,MAAMU,EAASV,EAAU,QACrBU,EAAO,aAAe,CAACA,EAAO,OAAO,KACvCA,EAAO,QAAQA,EAAO,OAAO,OAAS,CAAC,EAEvCA,EAAO,UAAU,CAErB,EAAG,EAAE,EAELE,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAaR,EACf,YAAY,IAAM,CACTG,EAAA,CAAA,EACNhB,CAAO,EACV,KAEJ,MAAO,IAAM,CACPqB,iBAA0BA,CAAU,CAC1C,CACC,EAAA,CAACR,EAAUG,EAAQhB,CAAO,CAAC,EAE9B,MAAMsB,EAAqB,CACzB,aAAclB,CAChB,EAEMmB,EAAc,CAClB,kBAAmB,GAAGlB,CAAY,IACpC,EAGE,OAAAmB,EAAA,kBAAA,IAACC,OAAI,UAAU,sCAAsC,MAAOF,EAC1D,SAAAC,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,YACb,SAAAE,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,QAAS,CAACC,EAAYC,EAAYC,CAAI,EACtC,cAAe,EACf,SAAAjB,EACA,SAAU,GACV,eAAgB,GAChB,KAAM,GACN,SAAWK,GAAYV,EAAU,QAAUU,EAC3C,cAAgBA,GAAWP,EAAgBO,EAAO,SAAS,EAC3D,MAAOK,EAEN,SAAA,CAAA1B,EAAO,IAAI,CAACkC,EAAOC,IAAA,2CACjBC,EAAAA,YACC,CAAA,SAAA,CAAAT,EAAA,kBAAA,IAACjB,EAAA,CACC,IAAKwB,EAAM,IACX,IAAKA,EAAM,IACX,UAAU,eACV,OAAQ,IAAA,SAAM,OAAAG,GAAAC,EAAA3B,EAAU,UAAV,YAAA2B,EAAmB,SAAnB,YAAAD,EAAA,KAAAC,GAA4B,CAC5C,EACAX,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWY,OAAK,iBAAkB,CAChC,cAAejC,CAAA,CAChB,EACD,MAAOmB,EAEP,iCAAC,MAAI,CAAA,UAAU,YACb,SAACI,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,sBACb,SAAA,CAACA,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,WACZ,SAAA,CAAMK,EAAA,kCACJM,EAAAA,KAAK,CAAA,UAAU,OAAO,MAAO,GAAI,OAAQ,EAAI,CAAA,IAE/CF,EAAAJ,EAAM,WAAN,YAAAI,EAAgB,OAAQ,4BACxB,IAAE,CAAA,UAAU,OACV,WAAMD,EAAAH,EAAA,WAAA,YAAAG,EAAU,eAAgB,GACnC,CAAA,CAAA,EACF,EACAV,EAAA,kBAAA,IAAClB,EAAA,CACC,OAAMgC,EAAAzC,EAAOa,CAAY,IAAnB,YAAA4B,EAAsB,OAAQ,GACpC,OAAQrC,EAAe,SAAW,QAElC,SAACuB,EAAAA,kBAAAA,IAAA,KAAA,CAAG,UAAU,QAAS,WAAM,KAAM,CAAA,CAAA,CAAA,CACrC,CAAA,CACF,CACF,CAAA,CAAA,CAAA,CACF,CAAA,EAhCgBQ,CAiClB,EACD,2BACAO,EAAAA,IAAI,CAAA,UAAU,aAAa,IAAI,MAAM,MAAOjB,EAC1C,SAAA,CAAAzB,EAAO,OAAS,GACd6B,EAAA,kBAAA,KAAAa,EAAA,IAAA,CAAI,WAAW,SACd,SAAA,CAAAf,EAAA,kBAAA,IAACgB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,QAASrB,EACT,MAAM,QACN,UAAU,gBAAA,CACZ,EACCN,EACCW,EAAA,kBAAA,IAACiB,EAAA,MAAA,CACC,MAAO,GACP,OAAQ,GACR,QAAS1B,EACT,UAAU,gBAAA,CAAA,EAGZS,EAAA,kBAAA,IAACkB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,QAAS3B,EACT,MAAM,QACN,UAAU,gBAAA,CAAA,CACZ,EAEJ,EAGFS,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAA,GAAGd,EAAe,CAAC,IAAIR,CAAe,IAAIL,EAAO,MAAM,EAAG,CAAA,EAChEA,EAAO,OAAS,GACf2B,EAAA,kBAAA,IAACgB,EAAA,UAAA,CACC,MAAO,GACP,OAAQ,GACR,UAAU,sBACV,QAASxB,EACT,MAAM,OAAA,CAAA,CACR,CAEJ,CAAA,CAAA,CAAA,GAEJ,CACF,CAAA,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/CommunicationContents/CommunicationContents.css');const i=require("./index.cjs249.js"),d=require("react");;/* empty css */const p=require("./index.cjs276.js"),h=require("./index.cjs135.js"),s=require("./index.cjs9.js"),R=require("./index.cjs198.js"),l=require("./index.cjs28.js");function m({title:c,elements:n=[],total:r,totalLabels:t={first:"Stai visualizzando",middle:"di",end:"elementi"},handleLoadMore:u,loading:x=!1,showMoreTitle:e="Visualizza altro ",noResultsLabel:a="Nessun risultato trovato"}){const j=r>(n==null?void 0:n.length);return i.jsxRuntimeExports.jsxs("section",{className:"communication-contents d-flex section-gap flex-column",children:[i.jsxRuntimeExports.jsx("h2",{className:"title",children:c}),i.jsxRuntimeExports.jsx(p.default,{columns:{0:1,768:2,992:3},gap:24,className:"masonry-component",children:n==null?void 0:n.map(o=>d.createElement(h.AggregationItemCard,{...o,key:o._id}))}),i.jsxRuntimeExports.jsx(s.Row,{className:"w-full-adpt",justifyContent:"center",m:"x12",children:x&&i.jsxRuntimeExports.jsx(R.Spinner,{height:30,width:30})}),i.jsxRuntimeExports.jsx("span",{className:"total-elements-label",children:(n==null?void 0:n.length)===0?i.jsxRuntimeExports.jsx("span",{children:a}):i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx("span",{children:t.first}),i.jsxRuntimeExports.jsxs(s.Row,{justifyContent:"center",gap:"x4",children:[i.jsxRuntimeExports.jsx("b",{children:n==null?void 0:n.length}),i.jsxRuntimeExports.jsx("span",{children:t.middle}),i.jsxRuntimeExports.jsx("span",{children:r}),i.jsxRuntimeExports.jsx("span",{children:t.end})]})]})}),j&&!x&&(n==null?void 0:n.length)>0&&i.jsxRuntimeExports.jsx(s.Row,{justifyContent:"center",alignItems:"center",mt:"x16",children:i.jsxRuntimeExports.jsx(l.Button,{onClick:u,children:e})})]})}exports.CommunicationContents=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/CommunicationContents/CommunicationContents.css');const i=require("./index.cjs249.js"),d=require("react");;/* empty css */const p=require("./index.cjs276.js"),h=require("./index.cjs135.js"),R=require("./index.cjs55.js"),s=require("./index.cjs9.js"),m=require("./index.cjs198.js"),l=require("./index.cjs28.js");function E({title:c,elements:n=[],total:r,totalLabels:t={first:"Stai visualizzando",middle:"di",end:"elementi"},handleLoadMore:u,loading:o=!1,showMoreTitle:e="Visualizza altro ",noResultsLabel:a="Nessun risultato trovato"}){const j=r>(n==null?void 0:n.length);return i.jsxRuntimeExports.jsxs("section",{className:"communication-contents d-flex section-gap flex-column",children:[i.jsxRuntimeExports.jsx(R.SectionHeading,{className:"title",title:c}),i.jsxRuntimeExports.jsx(p.default,{columns:{0:1,768:2,992:3},gap:24,className:"masonry-component",children:n==null?void 0:n.map(x=>d.createElement(h.AggregationItemCard,{...x,key:x._id}))}),i.jsxRuntimeExports.jsx(s.Row,{className:"w-full-adpt",justifyContent:"center",m:"x12",children:o&&i.jsxRuntimeExports.jsx(m.Spinner,{height:30,width:30})}),i.jsxRuntimeExports.jsx("span",{className:"total-elements-label",children:(n==null?void 0:n.length)===0?i.jsxRuntimeExports.jsx("span",{children:a}):i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx("span",{children:t.first}),i.jsxRuntimeExports.jsxs(s.Row,{justifyContent:"center",gap:"x4",children:[i.jsxRuntimeExports.jsx("b",{children:n==null?void 0:n.length}),i.jsxRuntimeExports.jsx("span",{children:t.middle}),i.jsxRuntimeExports.jsx("span",{children:r}),i.jsxRuntimeExports.jsx("span",{children:t.end})]})]})}),j&&!o&&(n==null?void 0:n.length)>0&&i.jsxRuntimeExports.jsx(s.Row,{justifyContent:"center",alignItems:"center",mt:"x16",children:i.jsxRuntimeExports.jsx(l.Button,{onClick:u,children:e})})]})}exports.CommunicationContents=E;
2
2
  //# sourceMappingURL=index.cjs153.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs153.js","sources":["../src/sections/CommunicationContents/index.tsx"],"sourcesContent":["import { Spinner } from \"@/icons\";\r\nimport { AggregationItemCard, Button, Row } from \"../../components\";\r\nimport \"./CommunicationContents.scss\";\r\nimport Masonry from \"react-layout-masonry\";\r\n\r\nexport type CommunicationContentsProps = {\r\n sectionId?: string;\r\n title: string;\r\n elements: any[];\r\n total: number;\r\n totalLabels?: {\r\n first: string;\r\n middle: string;\r\n end: string;\r\n };\r\n loading?: boolean;\r\n handleLoadMore: () => void;\r\n showMoreTitle?: string;\r\n noResultsLabel?: string;\r\n};\r\n\r\nexport function CommunicationContents({\r\n title,\r\n elements = [],\r\n total,\r\n totalLabels = { first: \"Stai visualizzando\", middle: \"di\", end: \"elementi\" },\r\n handleLoadMore,\r\n loading = false,\r\n showMoreTitle = \"Visualizza altro \",\r\n noResultsLabel = \"Nessun risultato trovato\",\r\n}: CommunicationContentsProps) {\r\n const showMoreButtonVisible = total > elements?.length;\r\n\r\n return (\r\n <section className=\"communication-contents d-flex section-gap flex-column\">\r\n <h2 className=\"title\">{title}</h2>\r\n <Masonry\r\n columns={{ 0: 1, 768: 2, 992: 3 }}\r\n gap={24}\r\n className=\"masonry-component\"\r\n >\r\n {elements?.map((element) => (\r\n <AggregationItemCard {...element} key={element._id} />\r\n ))}\r\n </Masonry>\r\n <Row className=\"w-full-adpt\" justifyContent=\"center\" m=\"x12\">\r\n {loading && <Spinner height={30} width={30} />}\r\n </Row>\r\n <span className=\"total-elements-label\">\r\n {elements?.length === 0 ? (\r\n <span>{noResultsLabel}</span>\r\n ) : (\r\n <>\r\n <span>{totalLabels.first}</span>\r\n <Row justifyContent=\"center\" gap=\"x4\">\r\n <b>{elements?.length}</b>\r\n <span>{totalLabels.middle}</span>\r\n <span>{total}</span>\r\n <span>{totalLabels.end}</span>\r\n </Row>\r\n </>\r\n )}\r\n </span>\r\n {showMoreButtonVisible && !loading && elements?.length > 0 && (\r\n <Row justifyContent=\"center\" alignItems=\"center\" mt=\"x16\">\r\n <Button onClick={handleLoadMore}>{showMoreTitle}</Button>\r\n </Row>\r\n )}\r\n </section>\r\n );\r\n}\r\n"],"names":["CommunicationContents","title","elements","total","totalLabels","handleLoadMore","loading","showMoreTitle","noResultsLabel","showMoreButtonVisible","jsxs","jsx","Masonry","element","createElement","AggregationItemCard","Row","Spinner","Fragment","Button"],"mappings":"mUAqBO,SAASA,EAAsB,CACpC,MAAAC,EACA,SAAAC,EAAW,CAAC,EACZ,MAAAC,EACA,YAAAC,EAAc,CAAE,MAAO,qBAAsB,OAAQ,KAAM,IAAK,UAAW,EAC3E,eAAAC,EACA,QAAAC,EAAU,GACV,cAAAC,EAAgB,oBAChB,eAAAC,EAAiB,0BACnB,EAA+B,CACvB,MAAAC,EAAwBN,GAAQD,GAAA,YAAAA,EAAU,QAG9C,OAAAQ,EAAA,kBAAA,KAAC,UAAQ,CAAA,UAAU,wDACjB,SAAA,CAACC,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,QAAS,SAAMV,EAAA,EAC7BU,EAAA,kBAAA,IAACC,EAAA,QAAA,CACC,QAAS,CAAE,EAAG,EAAG,IAAK,EAAG,IAAK,CAAE,EAChC,IAAK,GACL,UAAU,oBAET,SAAAV,GAAA,YAAAA,EAAU,IAAKW,GACdC,EAAA,cAACC,sBAAqB,CAAA,GAAGF,EAAS,IAAKA,EAAQ,GAAA,CAAK,EACrD,CACH,EACCF,wBAAAK,EAAAA,IAAA,CAAI,UAAU,cAAc,eAAe,SAAS,EAAE,MACpD,SAAAV,2BAAYW,EAAQ,QAAA,CAAA,OAAQ,GAAI,MAAO,EAAI,CAAA,EAC9C,EACAN,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,uBACb,UAAAT,GAAA,YAAAA,EAAU,UAAW,EACnBS,EAAA,kBAAA,IAAA,OAAA,CAAM,SAAeH,CAAA,CAAA,EAGpBE,yBAAAQ,EAAAA,kBAAAA,SAAA,CAAA,SAAA,CAACP,EAAAA,kBAAAA,IAAA,OAAA,CAAM,WAAY,KAAM,CAAA,EACxBD,EAAA,kBAAA,KAAAM,EAAA,IAAA,CAAI,eAAe,SAAS,IAAI,KAC/B,SAAA,CAACL,EAAAA,kBAAAA,IAAA,IAAA,CAAG,0BAAU,MAAO,CAAA,EACrBA,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAAP,EAAY,MAAO,CAAA,EAC1BO,EAAAA,kBAAAA,IAAC,QAAM,SAAMR,CAAA,CAAA,EACbQ,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAAP,EAAY,GAAI,CAAA,CAAA,CACzB,CAAA,CAAA,CAAA,CACF,CAEJ,CAAA,EACCK,GAAyB,CAACH,IAAWJ,GAAA,YAAAA,EAAU,QAAS,2BACtDc,MAAI,CAAA,eAAe,SAAS,WAAW,SAAS,GAAG,MAClD,SAAAL,EAAAA,kBAAAA,IAACQ,UAAO,QAASd,EAAiB,WAAc,CAClD,CAAA,CAAA,EAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs153.js","sources":["../src/sections/CommunicationContents/index.tsx"],"sourcesContent":["import { Spinner } from \"@/icons\";\r\nimport {\r\n AggregationItemCard,\r\n Button,\r\n Row,\r\n SectionHeading,\r\n} from \"../../components\";\r\nimport \"./CommunicationContents.scss\";\r\nimport Masonry from \"react-layout-masonry\";\r\n\r\nexport type CommunicationContentsProps = {\r\n sectionId?: string;\r\n title: string;\r\n elements: any[];\r\n total: number;\r\n totalLabels?: {\r\n first: string;\r\n middle: string;\r\n end: string;\r\n };\r\n loading?: boolean;\r\n handleLoadMore: () => void;\r\n showMoreTitle?: string;\r\n noResultsLabel?: string;\r\n};\r\n\r\nexport function CommunicationContents({\r\n title,\r\n elements = [],\r\n total,\r\n totalLabels = { first: \"Stai visualizzando\", middle: \"di\", end: \"elementi\" },\r\n handleLoadMore,\r\n loading = false,\r\n showMoreTitle = \"Visualizza altro \",\r\n noResultsLabel = \"Nessun risultato trovato\",\r\n}: CommunicationContentsProps) {\r\n const showMoreButtonVisible = total > elements?.length;\r\n\r\n return (\r\n <section className=\"communication-contents d-flex section-gap flex-column\">\r\n <SectionHeading className=\"title\" title={title} />\r\n <Masonry\r\n columns={{ 0: 1, 768: 2, 992: 3 }}\r\n gap={24}\r\n className=\"masonry-component\"\r\n >\r\n {elements?.map((element) => (\r\n <AggregationItemCard {...element} key={element._id} />\r\n ))}\r\n </Masonry>\r\n <Row className=\"w-full-adpt\" justifyContent=\"center\" m=\"x12\">\r\n {loading && <Spinner height={30} width={30} />}\r\n </Row>\r\n <span className=\"total-elements-label\">\r\n {elements?.length === 0 ? (\r\n <span>{noResultsLabel}</span>\r\n ) : (\r\n <>\r\n <span>{totalLabels.first}</span>\r\n <Row justifyContent=\"center\" gap=\"x4\">\r\n <b>{elements?.length}</b>\r\n <span>{totalLabels.middle}</span>\r\n <span>{total}</span>\r\n <span>{totalLabels.end}</span>\r\n </Row>\r\n </>\r\n )}\r\n </span>\r\n {showMoreButtonVisible && !loading && elements?.length > 0 && (\r\n <Row justifyContent=\"center\" alignItems=\"center\" mt=\"x16\">\r\n <Button onClick={handleLoadMore}>{showMoreTitle}</Button>\r\n </Row>\r\n )}\r\n </section>\r\n );\r\n}\r\n"],"names":["CommunicationContents","title","elements","total","totalLabels","handleLoadMore","loading","showMoreTitle","noResultsLabel","showMoreButtonVisible","jsxs","jsx","SectionHeading","Masonry","element","createElement","AggregationItemCard","Row","Spinner","Fragment","Button"],"mappings":"iWA0BO,SAASA,EAAsB,CACpC,MAAAC,EACA,SAAAC,EAAW,CAAC,EACZ,MAAAC,EACA,YAAAC,EAAc,CAAE,MAAO,qBAAsB,OAAQ,KAAM,IAAK,UAAW,EAC3E,eAAAC,EACA,QAAAC,EAAU,GACV,cAAAC,EAAgB,oBAChB,eAAAC,EAAiB,0BACnB,EAA+B,CACvB,MAAAC,EAAwBN,GAAQD,GAAA,YAAAA,EAAU,QAG9C,OAAAQ,EAAA,kBAAA,KAAC,UAAQ,CAAA,UAAU,wDACjB,SAAA,CAACC,EAAAA,kBAAAA,IAAAC,EAAAA,eAAA,CAAe,UAAU,QAAQ,MAAAX,CAAc,CAAA,EAChDU,EAAA,kBAAA,IAACE,EAAA,QAAA,CACC,QAAS,CAAE,EAAG,EAAG,IAAK,EAAG,IAAK,CAAE,EAChC,IAAK,GACL,UAAU,oBAET,SAAAX,GAAA,YAAAA,EAAU,IAAKY,GACdC,EAAA,cAACC,sBAAqB,CAAA,GAAGF,EAAS,IAAKA,EAAQ,GAAA,CAAK,EACrD,CACH,EACCH,wBAAAM,EAAAA,IAAA,CAAI,UAAU,cAAc,eAAe,SAAS,EAAE,MACpD,SAAAX,2BAAYY,EAAQ,QAAA,CAAA,OAAQ,GAAI,MAAO,EAAI,CAAA,EAC9C,EACAP,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,uBACb,UAAAT,GAAA,YAAAA,EAAU,UAAW,EACnBS,EAAA,kBAAA,IAAA,OAAA,CAAM,SAAeH,CAAA,CAAA,EAGpBE,yBAAAS,EAAAA,kBAAAA,SAAA,CAAA,SAAA,CAACR,EAAAA,kBAAAA,IAAA,OAAA,CAAM,WAAY,KAAM,CAAA,EACxBD,EAAA,kBAAA,KAAAO,EAAA,IAAA,CAAI,eAAe,SAAS,IAAI,KAC/B,SAAA,CAACN,EAAAA,kBAAAA,IAAA,IAAA,CAAG,0BAAU,MAAO,CAAA,EACrBA,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAAP,EAAY,MAAO,CAAA,EAC1BO,EAAAA,kBAAAA,IAAC,QAAM,SAAMR,CAAA,CAAA,EACbQ,EAAAA,kBAAAA,IAAC,OAAM,CAAA,SAAAP,EAAY,GAAI,CAAA,CAAA,CACzB,CAAA,CAAA,CAAA,CACF,CAEJ,CAAA,EACCK,GAAyB,CAACH,IAAWJ,GAAA,YAAAA,EAAU,QAAS,2BACtDe,MAAI,CAAA,eAAe,SAAS,WAAW,SAAS,GAAG,MAClD,SAAAN,EAAAA,kBAAAA,IAACS,UAAO,QAASf,EAAiB,WAAc,CAClD,CAAA,CAAA,EAEJ,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs249.js"),s=require("./index.cjs136.js"),i=({title:t,searchProps:n})=>e.jsxRuntimeExports.jsxs("section",{className:"d-flex flex-column gap-x28",children:[e.jsxRuntimeExports.jsx("h2",{className:"title text-slate-20 fw-bold fs-2",children:t}),e.jsxRuntimeExports.jsx(s.CommunicationSearch,{...n})]});exports.CommunicationSearchSection=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs249.js"),n=require("./index.cjs136.js"),o=require("./index.cjs55.js"),s=({title:t,searchProps:i})=>e.jsxRuntimeExports.jsxs("section",{className:"d-flex flex-column gap-x28",children:[e.jsxRuntimeExports.jsx(o.SectionHeading,{className:"title",title:t,titleMarginBottom:"mb-x0"}),e.jsxRuntimeExports.jsx(n.CommunicationSearch,{...i})]});exports.CommunicationSearchSection=s;
2
2
  //# sourceMappingURL=index.cjs155.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs155.js","sources":["../src/sections/CommunicationSearchSection/index.tsx"],"sourcesContent":["import { CommunicationSearch, CommunicationSearchProps } from \"@/components\";\r\n\r\ntype Props = {\r\n title: string;\r\n tags?: Array<{ title: string; href: string }>;\r\n searchProps: CommunicationSearchProps;\r\n};\r\n\r\nexport const CommunicationSearchSection = ({\r\n title,\r\n /* tags, */\r\n searchProps,\r\n}: Props) => {\r\n return (\r\n <section className=\"d-flex flex-column gap-x28\">\r\n <h2 className=\"title text-slate-20 fw-bold fs-2\">{title}</h2>\r\n <CommunicationSearch {...searchProps} />\r\n {/* tags && <TagsSection /> */}\r\n </section>\r\n );\r\n};\r\n"],"names":["CommunicationSearchSection","title","searchProps","jsxs","jsx","CommunicationSearch"],"mappings":"oJAQaA,EAA6B,CAAC,CACzC,MAAAC,EAEA,YAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,UAAQ,CAAA,UAAU,6BACjB,SAAA,CAACC,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,mCAAoC,SAAMH,EAAA,EACxDG,wBAACC,EAAAA,oBAAqB,CAAA,GAAGH,CAAa,CAAA,CAAA,EAExC"}
1
+ {"version":3,"file":"index.cjs155.js","sources":["../src/sections/CommunicationSearchSection/index.tsx"],"sourcesContent":["import {\r\n CommunicationSearch,\r\n CommunicationSearchProps,\r\n SectionHeading,\r\n} from \"@/components\";\r\n\r\ntype Props = {\r\n title: string;\r\n tags?: Array<{ title: string; href: string }>;\r\n searchProps: CommunicationSearchProps;\r\n};\r\n\r\nexport const CommunicationSearchSection = ({\r\n title,\r\n /* tags, */\r\n searchProps,\r\n}: Props) => {\r\n return (\r\n <section className=\"d-flex flex-column gap-x28\">\r\n <SectionHeading\r\n className=\"title\"\r\n title={title}\r\n titleMarginBottom=\"mb-x0\"\r\n />\r\n <CommunicationSearch {...searchProps} />\r\n {/* tags && <TagsSection /> */}\r\n </section>\r\n );\r\n};\r\n"],"names":["CommunicationSearchSection","title","searchProps","jsxs","jsx","SectionHeading","CommunicationSearch"],"mappings":"kLAYaA,EAA6B,CAAC,CACzC,MAAAC,EAEA,YAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,UAAQ,CAAA,UAAU,6BACjB,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,eAAA,CACC,UAAU,QACV,MAAAJ,EACA,kBAAkB,OAAA,CACpB,EACAG,wBAACE,EAAAA,oBAAqB,CAAA,GAAGJ,CAAa,CAAA,CAAA,EAExC"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableList/TableList.css');const s=require("./index.cjs249.js");;/* empty css */const m=require("./index.cjs147.js"),j=require("react"),i=require("./index.cjs251.js"),r=require("./index.cjs55.js"),d=require("./index.cjs10.js");var n=(e=>(e.LEFT="text-left",e.CENTER="text-center",e.RIGHT="text-right",e))(n||{});const E=({title:e,description:t,fontSize:l="2",mdFontSize:c="2",classNameTitle:x,additionalClass:o,variantClassTable:u="text-left",children:a})=>s.jsxRuntimeExports.jsxs(r.Section,{className:i.clsx("base-col ui-table-list-section",o),children:[s.jsxRuntimeExports.jsxs(d.Col,{className:"ui-table-list-content",children:[e&&s.jsxRuntimeExports.jsx(r.Section.Title,{fs:l,mdFs:c,className:x,color:"blue-48",children:e}),t&&s.jsxRuntimeExports.jsx(r.Section.Description,{className:i.clsx("text-slate-28",u),children:typeof t=="string"&&j.isValidElement(t)?t:m.HTML(t.toString(),"div")})]}),a]});exports.TableAlignment=n;exports.TableList=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableList/TableList.css');const s=require("./index.cjs249.js");;/* empty css */const m=require("./index.cjs147.js"),j=require("react"),i=require("./index.cjs251.js"),r=require("./index.cjs55.js"),b=require("./index.cjs10.js");var n=(e=>(e.LEFT="text-left",e.CENTER="text-center",e.RIGHT="text-right",e))(n||{});const g=({title:e,description:t,fontSize:o="2",mdFontSize:c="2",classNameTitle:l,additionalClass:a,variantClassTable:x="text-left",children:u})=>{const d=t?typeof t=="string"&&j.isValidElement(t)?t:m.HTML(t.toString(),"div"):void 0;return s.jsxRuntimeExports.jsxs(r.Section,{className:i.clsx("base-col ui-table-list-section",a),children:[s.jsxRuntimeExports.jsx(b.Col,{className:"ui-table-list-content",children:s.jsxRuntimeExports.jsx(r.SectionHeading,{fs:o,mdFs:c,className:l,titleMarginBottom:"0",descriptionMarginBottom:"0",color:"blue-48",title:e,description:d,descriptionClassName:i.clsx("text-slate-28",x)})}),u]})};exports.TableAlignment=n;exports.TableList=g;
2
2
  //# sourceMappingURL=index.cjs156.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs156.js","sources":["../src/sections/TableList/index.tsx"],"sourcesContent":["import { Col, Section } from \"@/components\";\nimport { SectionLink } from \"@anoki/fse-common\";\nimport { PropsWithChildren, ReactNode, ComponentType } from \"react\";\nimport \"./TableList.scss\";\nimport { TypographyKeys } from \"@theme/typography.ts\";\nimport { HTML } from \"../HTMLBalancer\";\nimport React from \"react\";\nimport clsx from \"clsx\";\n\nexport enum TableAlignment {\n LEFT = \"text-left\",\n CENTER = \"text-center\",\n RIGHT = \"text-right\",\n}\n\ntype TableListProps = PropsWithChildren<{\n title?: ReactNode;\n description?: ReactNode;\n links?: SectionLink[];\n asLink?: \"a\" | ComponentType<any>;\n fontSize?: TypographyKeys;\n mdFontSize?: TypographyKeys;\n classNameTitle?: string;\n additionalClass?: string;\n variantClassTable?: TableAlignment;\n}>;\n\nexport const TableList = ({\n title,\n description,\n fontSize = \"2\",\n mdFontSize = \"2\",\n classNameTitle,\n additionalClass,\n variantClassTable = TableAlignment.LEFT,\n children,\n}: TableListProps) => {\n return (\n <Section\n className={clsx(\"base-col ui-table-list-section\", additionalClass)}\n >\n <Col className=\"ui-table-list-content\">\n {title && (\n <Section.Title\n fs={fontSize}\n mdFs={mdFontSize}\n className={classNameTitle}\n color={\"blue-48\"}\n >\n {title}\n </Section.Title>\n )}\n {description && (\n <Section.Description\n className={clsx(\"text-slate-28\", variantClassTable)}\n >\n {typeof description === \"string\" &&\n React.isValidElement(description)\n ? description\n : HTML(description.toString(), \"div\")}\n </Section.Description>\n )}\n </Col>\n {children}\n </Section>\n );\n};\n"],"names":["TableAlignment","TableList","title","description","fontSize","mdFontSize","classNameTitle","additionalClass","variantClassTable","children","jsxs","Section","clsx","Col","jsx","React","HTML"],"mappings":"qSASY,IAAAA,GAAAA,IACVA,EAAA,KAAO,YACPA,EAAA,OAAS,cACTA,EAAA,MAAQ,aAHEA,IAAAA,GAAA,CAAA,CAAA,EAkBL,MAAMC,EAAY,CAAC,CACxB,MAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IACX,WAAAC,EAAa,IACb,eAAAC,EACA,gBAAAC,EACA,kBAAAC,EAAoB,YACpB,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,KAAK,iCAAkCL,CAAe,EAEjE,SAAA,CAACG,EAAAA,kBAAAA,KAAAG,EAAAA,IAAA,CAAI,UAAU,wBACZ,SAAA,CACCX,GAAAY,EAAA,kBAAA,IAACH,EAAAA,QAAQ,MAAR,CACC,GAAIP,EACJ,KAAMC,EACN,UAAWC,EACX,MAAO,UAEN,SAAAJ,CAAA,CACH,EAEDC,GACCW,EAAA,kBAAA,IAACH,EAAAA,QAAQ,YAAR,CACC,UAAWC,EAAAA,KAAK,gBAAiBJ,CAAiB,EAEjD,SAAO,OAAAL,GAAgB,UACxBY,EAAM,eAAeZ,CAAW,EAC5BA,EACAa,EAAK,KAAAb,EAAY,SAAS,EAAG,KAAK,CAAA,CAAA,CACxC,EAEJ,EACCM,CAAA,CAAA,CACH"}
1
+ {"version":3,"file":"index.cjs156.js","sources":["../src/sections/TableList/index.tsx"],"sourcesContent":["import { Col, Section, SectionHeading } from \"@/components\";\r\nimport { SectionLink } from \"@anoki/fse-common\";\r\nimport { PropsWithChildren, ReactNode, ComponentType } from \"react\";\r\nimport \"./TableList.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { HTML } from \"../HTMLBalancer\";\r\nimport React from \"react\";\r\nimport clsx from \"clsx\";\r\n\r\nexport enum TableAlignment {\r\n LEFT = \"text-left\",\r\n CENTER = \"text-center\",\r\n RIGHT = \"text-right\",\r\n}\r\n\r\ntype TableListProps = PropsWithChildren<{\r\n title?: ReactNode;\r\n description?: ReactNode;\r\n links?: SectionLink[];\r\n asLink?: \"a\" | ComponentType<any>;\r\n fontSize?: TypographyKeys;\r\n mdFontSize?: TypographyKeys;\r\n classNameTitle?: string;\r\n additionalClass?: string;\r\n variantClassTable?: TableAlignment;\r\n}>;\r\n\r\nexport const TableList = ({\r\n title,\r\n description,\r\n fontSize = \"2\",\r\n mdFontSize = \"2\",\r\n classNameTitle,\r\n additionalClass,\r\n variantClassTable = TableAlignment.LEFT,\r\n children,\r\n}: TableListProps) => {\r\n const desc = !!description\r\n ? typeof description === \"string\" && React.isValidElement(description)\r\n ? description\r\n : HTML(description.toString(), \"div\")\r\n : undefined;\r\n return (\r\n <Section\r\n className={clsx(\"base-col ui-table-list-section\", additionalClass)}\r\n >\r\n <Col className=\"ui-table-list-content\">\r\n <SectionHeading\r\n fs={fontSize}\r\n mdFs={mdFontSize}\r\n className={classNameTitle}\r\n titleMarginBottom=\"0\"\r\n descriptionMarginBottom=\"0\"\r\n color={\"blue-48\"}\r\n title={title}\r\n description={desc}\r\n descriptionClassName={clsx(\"text-slate-28\", variantClassTable)}\r\n />\r\n </Col>\r\n {children}\r\n </Section>\r\n );\r\n};\r\n"],"names":["TableAlignment","TableList","title","description","fontSize","mdFontSize","classNameTitle","additionalClass","variantClassTable","children","desc","React","HTML","jsxs","Section","clsx","jsx","Col","SectionHeading"],"mappings":"qSASY,IAAAA,GAAAA,IACVA,EAAA,KAAO,YACPA,EAAA,OAAS,cACTA,EAAA,MAAQ,aAHEA,IAAAA,GAAA,CAAA,CAAA,EAkBL,MAAMC,EAAY,CAAC,CACxB,MAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IACX,WAAAC,EAAa,IACb,eAAAC,EACA,gBAAAC,EACA,kBAAAC,EAAoB,YACpB,SAAAC,CACF,IAAsB,CACpB,MAAMC,EAASP,EACX,OAAOA,GAAgB,UAAYQ,EAAM,eAAeR,CAAW,EACjEA,EACAS,OAAKT,EAAY,SAAS,EAAG,KAAK,EACpC,OAEF,OAAAU,EAAA,kBAAA,KAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,KAAK,iCAAkCR,CAAe,EAEjE,SAAA,CAACS,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,UAAU,wBACb,SAAAD,EAAA,kBAAA,IAACE,EAAA,eAAA,CACC,GAAId,EACJ,KAAMC,EACN,UAAWC,EACX,kBAAkB,IAClB,wBAAwB,IACxB,MAAO,UACP,MAAAJ,EACA,YAAaQ,EACb,qBAAsBK,EAAAA,KAAK,gBAAiBP,CAAiB,CAAA,CAAA,EAEjE,EACCC,CAAA,CAAA,CACH,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableMobileList/TableMobileList.css');const t=require("./index.cjs249.js");;/* empty css */const N=require("./index.cjs147.js"),$=require("react"),l=require("./index.cjs251.js"),f=require("./index.cjs156.js"),y=require("./index.cjs75.js"),i=require("./index.cjs55.js"),v=require("./index.cjs10.js"),w=({title:r,description:e,tableJson:s,fontSize:n="2",mdFontSize:o="2",classNameTitle:c,additionalClass:u,variantClassTable:x=f.TableAlignment.LEFT,pagination:m=!0,resultsPerPage:a=5,sortConfig:j,onSortChange:b,totalResults:d,initialCurrentPage:q,serverSidePagination:T,totalItems:E,hasNextPage:R,hasPreviousPage:S,onNextPage:g,onPreviousPage:M,onPageChange:h,setCurrentPage:p,children:L})=>t.jsxRuntimeExports.jsxs(i.Section,{className:l.clsx("base-col ui-table-mobile-list-section",u),children:[t.jsxRuntimeExports.jsxs(v.Col,{className:"ui-table-mobile-list-content",children:[r&&t.jsxRuntimeExports.jsx(i.Section.Title,{fs:n,mdFs:o,className:c,color:"blue-48",children:r}),e&&t.jsxRuntimeExports.jsx(i.Section.Description,{className:l.clsx("text-slate-28",x),children:typeof e=="string"&&$.isValidElement(e)?e:N.HTML(e.toString(),"div")}),s&&s.columns&&s.rows&&t.jsxRuntimeExports.jsx(y.TableMobile,{data:s.rows,columns:s.columns,pagination:m,resultsPerPage:a,sortConfig:j,onSortChange:b,totalResults:d,initialCurrentPage:q,serverSidePagination:T,totalItems:E,hasNextPage:R,hasPreviousPage:S,onNextPage:g,onPreviousPage:M,onPageChange:h,setCurrentPage:p})]}),L]});exports.TableMobileList=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableMobileList/TableMobileList.css');const s=require("./index.cjs249.js");;/* empty css */const $=require("./index.cjs147.js"),f=require("react"),i=require("./index.cjs251.js"),v=require("./index.cjs156.js"),y=require("./index.cjs75.js"),o=require("./index.cjs55.js"),h=require("./index.cjs10.js"),w=({title:r,description:e,tableJson:t,fontSize:n="2",mdFontSize:l="2",classNameTitle:c,additionalClass:u,variantClassTable:x=v.TableAlignment.LEFT,pagination:a=!0,resultsPerPage:m=5,sortConfig:d,onSortChange:b,totalResults:j,initialCurrentPage:q,serverSidePagination:g,totalItems:M,hasNextPage:T,hasPreviousPage:E,onNextPage:R,onPreviousPage:p,onPageChange:S,setCurrentPage:L,children:N})=>s.jsxRuntimeExports.jsxs(o.Section,{className:i.clsx("base-col ui-table-mobile-list-section",u),children:[s.jsxRuntimeExports.jsxs(h.Col,{className:"ui-table-mobile-list-content",children:[s.jsxRuntimeExports.jsx(o.SectionHeading,{title:r,fs:n,mdFs:l,className:c,descriptionClassName:i.clsx("text-slate-28",x),color:"blue-48",description:e?typeof e=="string"&&f.isValidElement(e)?e:$.HTML(e.toString(),"div"):void 0,descriptionMarginBottom:"0",titleMarginBottom:"0"}),t&&t.columns&&t.rows&&s.jsxRuntimeExports.jsx(y.TableMobile,{data:t.rows,columns:t.columns,pagination:a,resultsPerPage:m,sortConfig:d,onSortChange:b,totalResults:j,initialCurrentPage:q,serverSidePagination:g,totalItems:M,hasNextPage:T,hasPreviousPage:E,onNextPage:R,onPreviousPage:p,onPageChange:S,setCurrentPage:L})]}),N]});exports.TableMobileList=w;
2
2
  //# sourceMappingURL=index.cjs157.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs157.js","sources":["../src/sections/TableMobileList/index.tsx"],"sourcesContent":["import { Col, Section } from \"@/components\";\nimport { SectionLink } from \"@anoki/fse-common\";\nimport { PropsWithChildren, ReactNode, ComponentType } from \"react\";\nimport \"./TableMobileList.scss\";\nimport { TypographyKeys } from \"@theme/typography.ts\";\nimport { HTML } from \"../HTMLBalancer\";\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport { TableMobile, ColumnConfig, TableRowData } from \"@/components\";\nimport { TableAlignment } from \"../TableList\";\n\ntype TableMobileListProps = PropsWithChildren<{\n title?: ReactNode;\n description?: ReactNode;\n tableJson?: {\n columns: ColumnConfig[];\n rows: TableRowData[];\n };\n links?: SectionLink[];\n asLink?: \"a\" | ComponentType<any>;\n fontSize?: TypographyKeys;\n mdFontSize?: TypographyKeys;\n classNameTitle?: string;\n additionalClass?: string;\n variantClassTable?: TableAlignment;\n pagination?: boolean;\n resultsPerPage?: number;\n // Sorting props\n sortConfig?: { key: string; direction: \"asc\" | \"desc\" } | null;\n onSortChange?: (key: string, direction: \"asc\" | \"desc\") => void;\n // Server pagination props\n totalResults?: number;\n initialCurrentPage?: number;\n serverSidePagination?: boolean;\n totalItems?: number;\n hasNextPage?: boolean;\n hasPreviousPage?: boolean;\n onNextPage?: () => void;\n onPreviousPage?: () => void;\n onPageChange?: (page: number) => void;\n setCurrentPage?: (page: number) => void;\n}>;\n\nexport const TableMobileList = ({\n title,\n description,\n tableJson,\n fontSize = \"2\",\n mdFontSize = \"2\",\n classNameTitle,\n additionalClass,\n variantClassTable = TableAlignment.LEFT,\n pagination = true,\n resultsPerPage = 5,\n sortConfig,\n onSortChange,\n totalResults,\n initialCurrentPage,\n serverSidePagination,\n totalItems,\n hasNextPage,\n hasPreviousPage,\n onNextPage,\n onPreviousPage,\n onPageChange,\n setCurrentPage,\n children,\n}: TableMobileListProps) => {\n return (\n <Section\n className={clsx(\"base-col ui-table-mobile-list-section\", additionalClass)}\n >\n <Col className=\"ui-table-mobile-list-content\">\n {title && (\n <Section.Title\n fs={fontSize}\n mdFs={mdFontSize}\n className={classNameTitle}\n color={\"blue-48\"}\n >\n {title}\n </Section.Title>\n )}\n {description && (\n <Section.Description\n className={clsx(\"text-slate-28\", variantClassTable)}\n >\n {typeof description === \"string\" &&\n React.isValidElement(description)\n ? description\n : HTML(description.toString(), \"div\")}\n </Section.Description>\n )}\n {tableJson && tableJson.columns && tableJson.rows && (\n <TableMobile\n data={tableJson.rows}\n columns={tableJson.columns}\n pagination={pagination}\n resultsPerPage={resultsPerPage}\n sortConfig={sortConfig}\n onSortChange={onSortChange}\n totalResults={totalResults}\n initialCurrentPage={initialCurrentPage}\n serverSidePagination={serverSidePagination}\n totalItems={totalItems}\n hasNextPage={hasNextPage}\n hasPreviousPage={hasPreviousPage}\n onNextPage={onNextPage}\n onPreviousPage={onPreviousPage}\n onPageChange={onPageChange}\n setCurrentPage={setCurrentPage}\n />\n )}\n </Col>\n {children}\n </Section>\n );\n};\n"],"names":["TableMobileList","title","description","tableJson","fontSize","mdFontSize","classNameTitle","additionalClass","variantClassTable","TableAlignment","pagination","resultsPerPage","sortConfig","onSortChange","totalResults","initialCurrentPage","serverSidePagination","totalItems","hasNextPage","hasPreviousPage","onNextPage","onPreviousPage","onPageChange","setCurrentPage","children","jsxs","Section","clsx","Col","jsx","React","HTML","TableMobile"],"mappings":"kWA2CaA,EAAkB,CAAC,CAC9B,MAAAC,EACA,YAAAC,EACA,UAAAC,EACA,SAAAC,EAAW,IACX,WAAAC,EAAa,IACb,eAAAC,EACA,gBAAAC,EACA,kBAAAC,EAAoBC,EAAe,eAAA,KACnC,WAAAC,EAAa,GACb,eAAAC,EAAiB,EACjB,WAAAC,EACA,aAAAC,EACA,aAAAC,EACA,mBAAAC,EACA,qBAAAC,EACA,WAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,WAAAC,EACA,eAAAC,EACA,aAAAC,EACA,eAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCpB,CAAe,EAExE,SAAA,CAACkB,EAAAA,kBAAAA,KAAAG,EAAAA,IAAA,CAAI,UAAU,+BACZ,SAAA,CACC3B,GAAA4B,EAAA,kBAAA,IAACH,EAAAA,QAAQ,MAAR,CACC,GAAItB,EACJ,KAAMC,EACN,UAAWC,EACX,MAAO,UAEN,SAAAL,CAAA,CACH,EAEDC,GACC2B,EAAA,kBAAA,IAACH,EAAAA,QAAQ,YAAR,CACC,UAAWC,EAAAA,KAAK,gBAAiBnB,CAAiB,EAEjD,SAAO,OAAAN,GAAgB,UACxB4B,EAAM,eAAe5B,CAAW,EAC5BA,EACA6B,EAAK,KAAA7B,EAAY,SAAS,EAAG,KAAK,CAAA,CACxC,EAEDC,GAAaA,EAAU,SAAWA,EAAU,MAC3C0B,EAAA,kBAAA,IAACG,EAAA,YAAA,CACC,KAAM7B,EAAU,KAChB,QAASA,EAAU,QACnB,WAAAO,EACA,eAAAC,EACA,WAAAC,EACA,aAAAC,EACA,aAAAC,EACA,mBAAAC,EACA,qBAAAC,EACA,WAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,WAAAC,EACA,eAAAC,EACA,aAAAC,EACA,eAAAC,CAAA,CAAA,CACF,EAEJ,EACCC,CAAA,CAAA,CACH"}
1
+ {"version":3,"file":"index.cjs157.js","sources":["../src/sections/TableMobileList/index.tsx"],"sourcesContent":["import { Col, Section, SectionHeading } from \"@/components\";\r\nimport { SectionLink } from \"@anoki/fse-common\";\r\nimport { PropsWithChildren, ReactNode, ComponentType } from \"react\";\r\nimport \"./TableMobileList.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { HTML } from \"../HTMLBalancer\";\r\nimport React from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { TableMobile, ColumnConfig, TableRowData } from \"@/components\";\r\nimport { TableAlignment } from \"../TableList\";\r\n\r\ntype TableMobileListProps = PropsWithChildren<{\r\n title?: ReactNode;\r\n description?: ReactNode;\r\n tableJson?: {\r\n columns: ColumnConfig[];\r\n rows: TableRowData[];\r\n };\r\n links?: SectionLink[];\r\n asLink?: \"a\" | ComponentType<any>;\r\n fontSize?: TypographyKeys;\r\n mdFontSize?: TypographyKeys;\r\n classNameTitle?: string;\r\n additionalClass?: string;\r\n variantClassTable?: TableAlignment;\r\n pagination?: boolean;\r\n resultsPerPage?: number;\r\n // Sorting props\r\n sortConfig?: { key: string; direction: \"asc\" | \"desc\" } | null;\r\n onSortChange?: (key: string, direction: \"asc\" | \"desc\") => void;\r\n // Server pagination props\r\n totalResults?: number;\r\n initialCurrentPage?: number;\r\n serverSidePagination?: boolean;\r\n totalItems?: number;\r\n hasNextPage?: boolean;\r\n hasPreviousPage?: boolean;\r\n onNextPage?: () => void;\r\n onPreviousPage?: () => void;\r\n onPageChange?: (page: number) => void;\r\n setCurrentPage?: (page: number) => void;\r\n}>;\r\n\r\nexport const TableMobileList = ({\r\n title,\r\n description,\r\n tableJson,\r\n fontSize = \"2\",\r\n mdFontSize = \"2\",\r\n classNameTitle,\r\n additionalClass,\r\n variantClassTable = TableAlignment.LEFT,\r\n pagination = true,\r\n resultsPerPage = 5,\r\n sortConfig,\r\n onSortChange,\r\n totalResults,\r\n initialCurrentPage,\r\n serverSidePagination,\r\n totalItems,\r\n hasNextPage,\r\n hasPreviousPage,\r\n onNextPage,\r\n onPreviousPage,\r\n onPageChange,\r\n setCurrentPage,\r\n children,\r\n}: TableMobileListProps) => {\r\n return (\r\n <Section\r\n className={clsx(\"base-col ui-table-mobile-list-section\", additionalClass)}\r\n >\r\n <Col className=\"ui-table-mobile-list-content\">\r\n <SectionHeading\r\n title={title}\r\n fs={fontSize}\r\n mdFs={mdFontSize}\r\n className={classNameTitle}\r\n descriptionClassName={clsx(\"text-slate-28\", variantClassTable)}\r\n color={\"blue-48\"}\r\n description={\r\n description\r\n ? typeof description === \"string\" &&\r\n React.isValidElement(description)\r\n ? description\r\n : HTML(description.toString(), \"div\")\r\n : undefined\r\n }\r\n descriptionMarginBottom=\"0\"\r\n titleMarginBottom=\"0\"\r\n />\r\n {tableJson && tableJson.columns && tableJson.rows && (\r\n <TableMobile\r\n data={tableJson.rows}\r\n columns={tableJson.columns}\r\n pagination={pagination}\r\n resultsPerPage={resultsPerPage}\r\n sortConfig={sortConfig}\r\n onSortChange={onSortChange}\r\n totalResults={totalResults}\r\n initialCurrentPage={initialCurrentPage}\r\n serverSidePagination={serverSidePagination}\r\n totalItems={totalItems}\r\n hasNextPage={hasNextPage}\r\n hasPreviousPage={hasPreviousPage}\r\n onNextPage={onNextPage}\r\n onPreviousPage={onPreviousPage}\r\n onPageChange={onPageChange}\r\n setCurrentPage={setCurrentPage}\r\n />\r\n )}\r\n </Col>\r\n {children}\r\n </Section>\r\n );\r\n};\r\n"],"names":["TableMobileList","title","description","tableJson","fontSize","mdFontSize","classNameTitle","additionalClass","variantClassTable","TableAlignment","pagination","resultsPerPage","sortConfig","onSortChange","totalResults","initialCurrentPage","serverSidePagination","totalItems","hasNextPage","hasPreviousPage","onNextPage","onPreviousPage","onPageChange","setCurrentPage","children","jsxs","Section","clsx","Col","jsx","SectionHeading","React","HTML","TableMobile"],"mappings":"kWA2CaA,EAAkB,CAAC,CAC9B,MAAAC,EACA,YAAAC,EACA,UAAAC,EACA,SAAAC,EAAW,IACX,WAAAC,EAAa,IACb,eAAAC,EACA,gBAAAC,EACA,kBAAAC,EAAoBC,EAAe,eAAA,KACnC,WAAAC,EAAa,GACb,eAAAC,EAAiB,EACjB,WAAAC,EACA,aAAAC,EACA,aAAAC,EACA,mBAAAC,EACA,qBAAAC,EACA,WAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,WAAAC,EACA,eAAAC,EACA,aAAAC,EACA,eAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCpB,CAAe,EAExE,SAAA,CAACkB,EAAAA,kBAAAA,KAAAG,EAAAA,IAAA,CAAI,UAAU,+BACb,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,eAAA,CACC,MAAA7B,EACA,GAAIG,EACJ,KAAMC,EACN,UAAWC,EACX,qBAAsBqB,EAAAA,KAAK,gBAAiBnB,CAAiB,EAC7D,MAAO,UACP,YACEN,EACI,OAAOA,GAAgB,UACvB6B,EAAM,eAAe7B,CAAW,EAC9BA,EACA8B,EAAK,KAAA9B,EAAY,SAAS,EAAG,KAAK,EACpC,OAEN,wBAAwB,IACxB,kBAAkB,GAAA,CACpB,EACCC,GAAaA,EAAU,SAAWA,EAAU,MAC3C0B,EAAA,kBAAA,IAACI,EAAA,YAAA,CACC,KAAM9B,EAAU,KAChB,QAASA,EAAU,QACnB,WAAAO,EACA,eAAAC,EACA,WAAAC,EACA,aAAAC,EACA,aAAAC,EACA,mBAAAC,EACA,qBAAAC,EACA,WAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,WAAAC,EACA,eAAAC,EACA,aAAAC,EACA,eAAAC,CAAA,CAAA,CACF,EAEJ,EACCC,CAAA,CAAA,CACH"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/FaqSections/FaqSections.css');const s=require("./index.cjs249.js"),l=require("./index.cjs133.js");;/* empty css */const c=require("react"),S=require("./index.cjs45.js"),m=require("./index.cjs280.js"),o=require("./index.cjs55.js"),E=({title:t,description:a,items:n=[],colorTitle:x="primary",fontSizeTitle:d="2"})=>{const[p,i]=c.useState(!1),[r,u]=c.useState(null),j=e=>{u(e),i(!0)};return s.jsxRuntimeExports.jsxs(o.Section,{className:"faq-sections",children:[t&&s.jsxRuntimeExports.jsx("div",{className:"faq-sections__title",children:s.jsxRuntimeExports.jsx(o.Section.Title,{fs:d,mdFs:"2",as:"h1",color:x,children:t})}),a&&s.jsxRuntimeExports.jsx(o.Section.Description,{className:"faq-sections__description mb-x40",children:a}),s.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${t}`,className:"faq-sections__list",children:n==null?void 0:n.map((e,q)=>s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx(l.CardFaqCTA,{type:e.type,title:e.title,description:e.description,link:e.link??"",isExternal:e.isExternal,openModal:e.type===l.CardFaqCTAType.FAQ?()=>j(e):void 0})},e.key??q))}),r&&s.jsxRuntimeExports.jsx(S.BaseModal,{open:p,setOpen:i,children:s.jsxRuntimeExports.jsx(m,{faq:{question:r.title,answer:r.description||""},handleCloseModal:()=>i(!1)})})]})};exports.FaqSections=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/FaqSections/FaqSections.css');const s=require("./index.cjs249.js"),o=require("./index.cjs133.js");;/* empty css */const a=require("react"),S=require("./index.cjs45.js"),E=require("./index.cjs280.js"),l=require("./index.cjs55.js"),R=({title:r,description:c,items:t=[],colorTitle:x="primary",fontSizeTitle:d="4"})=>{const[u,n]=a.useState(!1),[i,p]=a.useState(null),j=e=>{p(e),n(!0)};return s.jsxRuntimeExports.jsxs(l.Section,{className:"faq-sections",children:[s.jsxRuntimeExports.jsx(l.SectionHeading,{title:r,color:x,fs:d,description:c,className:"faq-sections__title"}),s.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${r}`,className:"faq-sections__list",children:t==null?void 0:t.map((e,q)=>s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx(o.CardFaqCTA,{type:e.type,title:e.title,description:e.description,link:e.link??"",isExternal:e.isExternal,openModal:e.type===o.CardFaqCTAType.FAQ?()=>j(e):void 0})},e.key??q))}),i&&s.jsxRuntimeExports.jsx(S.BaseModal,{open:u,setOpen:n,children:s.jsxRuntimeExports.jsx(E,{faq:{question:i.title,answer:i.description||""},handleCloseModal:()=>n(!1)})})]})};exports.FaqSections=R;
2
2
  //# sourceMappingURL=index.cjs158.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs158.js","sources":["../src/sections/FaqSections/index.tsx"],"sourcesContent":["import { CardFaqCTA, CardFaqCTAType } from \"@/components/ui/CardFaqCTA\";\r\nimport { Section } from \"@/components\";\r\nimport \"./FaqSections.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { ReactNode, useState } from \"react\";\r\nimport { BaseModal } from \"@/components/ui/BaseModal\";\r\nimport SupportModalSimple from \"@/components/ui/SupportModalSimple\";\r\n\r\nexport type FaqItem = {\r\n key?: string;\r\n type: CardFaqCTAType;\r\n title: string;\r\n description?: string;\r\n link?: string;\r\n isExternal?: boolean;\r\n};\r\n\r\ntype Props = {\r\n title?: string;\r\n description?: string | ReactNode;\r\n items: FaqItem[];\r\n colorTitle?: ColorKeys;\r\n fontSizeTitle?: TypographyKeys;\r\n};\r\n\r\nexport const FaqSections = ({\r\n title,\r\n description,\r\n items = [],\r\n colorTitle = \"primary\",\r\n fontSizeTitle = \"2\",\r\n}: Props) => {\r\n const [isSupportModalOpen, setIsSupportModalOpen] = useState(false);\r\n const [selectedItem, setSelectedItem] = useState<FaqItem | null>(null);\r\n\r\n const handleItemClick = (item: FaqItem) => {\r\n setSelectedItem(item);\r\n setIsSupportModalOpen(true);\r\n };\r\n return (\r\n <Section className=\"faq-sections\">\r\n {title && (\r\n <div className=\"faq-sections__title\">\r\n <Section.Title\r\n fs={fontSizeTitle}\r\n mdFs={\"2\"}\r\n as={\"h1\"}\r\n color={colorTitle}\r\n >\r\n {title}\r\n </Section.Title>\r\n </div>\r\n )}\r\n {description && (\r\n <Section.Description className=\"faq-sections__description mb-x40\">\r\n {description}\r\n </Section.Description>\r\n )}\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`faq-sections__list`}\r\n >\r\n {items?.map((item, index) => (\r\n <li key={item.key ?? index}>\r\n <CardFaqCTA\r\n type={item.type}\r\n title={item.title}\r\n description={item.description}\r\n link={item.link ?? \"\"}\r\n isExternal={item.isExternal}\r\n openModal={\r\n item.type === CardFaqCTAType.FAQ\r\n ? () => handleItemClick(item)\r\n : undefined\r\n }\r\n />\r\n </li>\r\n ))}\r\n </ul>\r\n {selectedItem && (\r\n <BaseModal open={isSupportModalOpen} setOpen={setIsSupportModalOpen}>\r\n <SupportModalSimple\r\n faq={{\r\n question: selectedItem.title,\r\n answer: selectedItem.description || \"\",\r\n }}\r\n handleCloseModal={() => setIsSupportModalOpen(false)}\r\n />\r\n </BaseModal>\r\n )}\r\n </Section>\r\n );\r\n};\r\n"],"names":["FaqSections","title","description","items","colorTitle","fontSizeTitle","isSupportModalOpen","setIsSupportModalOpen","useState","selectedItem","setSelectedItem","handleItemClick","item","jsxs","Section","jsx","index","CardFaqCTA","CardFaqCTAType","BaseModal","SupportModalSimple"],"mappings":"qSA0BaA,EAAc,CAAC,CAC1B,MAAAC,EACA,YAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,WAAAC,EAAa,UACb,cAAAC,EAAgB,GAClB,IAAa,CACX,KAAM,CAACC,EAAoBC,CAAqB,EAAIC,EAAAA,SAAS,EAAK,EAC5D,CAACC,EAAcC,CAAe,EAAIF,EAAAA,SAAyB,IAAI,EAE/DG,EAAmBC,GAAkB,CACzCF,EAAgBE,CAAI,EACpBL,EAAsB,EAAI,CAC5B,EAEE,OAAAM,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,eAChB,SAAA,CACCb,GAAAc,EAAA,kBAAA,IAAC,MAAI,CAAA,UAAU,sBACb,SAAAA,EAAA,kBAAA,IAACD,EAAAA,QAAQ,MAAR,CACC,GAAIT,EACJ,KAAM,IACN,GAAI,KACJ,MAAOD,EAEN,SAAAH,CAAA,CAAA,EAEL,EAEDC,GACEa,EAAAA,kBAAAA,IAAAD,EAAAA,QAAQ,YAAR,CAAoB,UAAU,mCAC5B,SACHZ,EAAA,EAEFa,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,YAAYd,CAAK,GAC7B,UAAW,qBAEV,0BAAO,IAAI,CAACW,EAAMI,4BAChB,KACC,CAAA,SAAAD,EAAA,kBAAA,IAACE,EAAA,WAAA,CACC,KAAML,EAAK,KACX,MAAOA,EAAK,MACZ,YAAaA,EAAK,YAClB,KAAMA,EAAK,MAAQ,GACnB,WAAYA,EAAK,WACjB,UACEA,EAAK,OAASM,EAAAA,eAAe,IACzB,IAAMP,EAAgBC,CAAI,EAC1B,MAAA,CAAA,GAVDA,EAAK,KAAOI,CAarB,EACD,CACH,EACCP,GACEM,EAAAA,kBAAAA,IAAAI,EAAAA,UAAA,CAAU,KAAMb,EAAoB,QAASC,EAC5C,SAAAQ,EAAA,kBAAA,IAACK,EAAA,CACC,IAAK,CACH,SAAUX,EAAa,MACvB,OAAQA,EAAa,aAAe,EACtC,EACA,iBAAkB,IAAMF,EAAsB,EAAK,CAAA,CAAA,CAEvD,CAAA,CAAA,EAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs158.js","sources":["../src/sections/FaqSections/index.tsx"],"sourcesContent":["import { CardFaqCTA, CardFaqCTAType } from \"@/components/ui/CardFaqCTA\";\r\nimport { Section, SectionHeading } from \"@/components\";\r\nimport \"./FaqSections.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { ReactNode, useState } from \"react\";\r\nimport { BaseModal } from \"@/components/ui/BaseModal\";\r\nimport SupportModalSimple from \"@/components/ui/SupportModalSimple\";\r\n\r\nexport type FaqItem = {\r\n key?: string;\r\n type: CardFaqCTAType;\r\n title: string;\r\n description?: string;\r\n link?: string;\r\n isExternal?: boolean;\r\n};\r\n\r\ntype Props = {\r\n title?: string;\r\n description?: string | ReactNode;\r\n items: FaqItem[];\r\n colorTitle?: ColorKeys;\r\n fontSizeTitle?: TypographyKeys;\r\n};\r\n\r\nexport const FaqSections = ({\r\n title,\r\n description,\r\n items = [],\r\n colorTitle = \"primary\",\r\n fontSizeTitle = \"4\",\r\n}: Props) => {\r\n const [isSupportModalOpen, setIsSupportModalOpen] = useState(false);\r\n const [selectedItem, setSelectedItem] = useState<FaqItem | null>(null);\r\n\r\n const handleItemClick = (item: FaqItem) => {\r\n setSelectedItem(item);\r\n setIsSupportModalOpen(true);\r\n };\r\n return (\r\n <Section className=\"faq-sections\">\r\n <SectionHeading\r\n title={title}\r\n color={colorTitle}\r\n fs={fontSizeTitle}\r\n description={description}\r\n className=\"faq-sections__title\"\r\n />\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`faq-sections__list`}\r\n >\r\n {items?.map((item, index) => (\r\n <li key={item.key ?? index}>\r\n <CardFaqCTA\r\n type={item.type}\r\n title={item.title}\r\n description={item.description}\r\n link={item.link ?? \"\"}\r\n isExternal={item.isExternal}\r\n openModal={\r\n item.type === CardFaqCTAType.FAQ\r\n ? () => handleItemClick(item)\r\n : undefined\r\n }\r\n />\r\n </li>\r\n ))}\r\n </ul>\r\n {selectedItem && (\r\n <BaseModal open={isSupportModalOpen} setOpen={setIsSupportModalOpen}>\r\n <SupportModalSimple\r\n faq={{\r\n question: selectedItem.title,\r\n answer: selectedItem.description || \"\",\r\n }}\r\n handleCloseModal={() => setIsSupportModalOpen(false)}\r\n />\r\n </BaseModal>\r\n )}\r\n </Section>\r\n );\r\n};\r\n"],"names":["FaqSections","title","description","items","colorTitle","fontSizeTitle","isSupportModalOpen","setIsSupportModalOpen","useState","selectedItem","setSelectedItem","handleItemClick","item","jsxs","Section","jsx","SectionHeading","index","CardFaqCTA","CardFaqCTAType","BaseModal","SupportModalSimple"],"mappings":"qSA0BaA,EAAc,CAAC,CAC1B,MAAAC,EACA,YAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,WAAAC,EAAa,UACb,cAAAC,EAAgB,GAClB,IAAa,CACX,KAAM,CAACC,EAAoBC,CAAqB,EAAIC,EAAAA,SAAS,EAAK,EAC5D,CAACC,EAAcC,CAAe,EAAIF,EAAAA,SAAyB,IAAI,EAE/DG,EAAmBC,GAAkB,CACzCF,EAAgBE,CAAI,EACpBL,EAAsB,EAAI,CAC5B,EAEE,OAAAM,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,eACjB,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,eAAA,CACC,MAAAf,EACA,MAAOG,EACP,GAAIC,EACJ,YAAAH,EACA,UAAU,qBAAA,CACZ,EACAa,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,YAAYd,CAAK,GAC7B,UAAW,qBAEV,0BAAO,IAAI,CAACW,EAAMK,4BAChB,KACC,CAAA,SAAAF,EAAA,kBAAA,IAACG,EAAA,WAAA,CACC,KAAMN,EAAK,KACX,MAAOA,EAAK,MACZ,YAAaA,EAAK,YAClB,KAAMA,EAAK,MAAQ,GACnB,WAAYA,EAAK,WACjB,UACEA,EAAK,OAASO,EAAAA,eAAe,IACzB,IAAMR,EAAgBC,CAAI,EAC1B,MAAA,CAAA,GAVDA,EAAK,KAAOK,CAarB,EACD,CACH,EACCR,GACEM,EAAAA,kBAAAA,IAAAK,EAAAA,UAAA,CAAU,KAAMd,EAAoB,QAASC,EAC5C,SAAAQ,EAAA,kBAAA,IAACM,EAAA,CACC,IAAK,CACH,SAAUZ,EAAa,MACvB,OAAQA,EAAa,aAAe,EACtC,EACA,iBAAkB,IAAMF,EAAsB,EAAK,CAAA,CAAA,CAEvD,CAAA,CAAA,EAEJ,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs249.js"),n=require("./index.cjs251.js"),a=require("./index.cjs283.js"),j=({width:i=73,height:t=73,className:l,color:r,onClick:x,decorative:e=!1,ariaLabel:c="Play video"})=>{const o=a.createColorClasses({color:r});return s.jsxRuntimeExports.jsxs("svg",{width:i,height:t,viewBox:"0 0 73 73",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n.clsx(l,o),onClick:x,"aria-hidden":e,"aria-label":e?void 0:c,children:[s.jsxRuntimeExports.jsx("circle",{cx:"36.5",cy:"36.627",r:"36",fill:"white",fillOpacity:"0.3"}),s.jsxRuntimeExports.jsx("circle",{cx:"36.4991",cy:"36.628",r:"29.0323",fill:"white"}),s.jsxRuntimeExports.jsx("g",{clipPath:"url(#clip0_16404_113675)",children:s.jsxRuntimeExports.jsx("path",{d:"M46.7155 34.6327C47.4077 35.0604 47.8289 35.8138 47.8289 36.6254C47.8289 37.4371 47.4077 38.1904 46.7155 38.5744L32.7755 47.1286C32.0581 47.6097 31.1601 47.6292 30.4272 47.216C29.6942 46.8029 29.2402 46.0253 29.2402 45.1796V28.0713C29.2402 27.2275 29.6942 26.4494 30.4272 26.0363C31.1601 25.6236 32.0581 25.6406 32.7755 26.0805L46.7155 34.6327Z",fill:"#0066CC"})}),s.jsxRuntimeExports.jsx("defs",{children:s.jsxRuntimeExports.jsx("clipPath",{id:"clip0_16404_113675",children:s.jsxRuntimeExports.jsx("rect",{width:"18.5886",height:"24.8848",fill:"white",transform:"translate(29.2402 24.1836)"})})})]})};exports.PlayVideo=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs249.js"),a=require("./index.cjs251.js"),u=require("./index.cjs283.js"),d=require("react"),j=({width:i=73,height:l=73,className:r,color:c,onClick:n,decorative:e=!1,ariaLabel:o="Play video"})=>{const t=`clip0_${d.useId()}`,x=u.createColorClasses({color:c});return s.jsxRuntimeExports.jsxs("svg",{width:i,height:l,viewBox:"0 0 73 73",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a.clsx(r,x),onClick:n,"aria-hidden":e,"aria-label":e?void 0:o,children:[s.jsxRuntimeExports.jsx("circle",{cx:"36.5",cy:"36.627",r:"36",fill:"white",fillOpacity:"0.3"}),s.jsxRuntimeExports.jsx("circle",{cx:"36.4991",cy:"36.628",r:"29.0323",fill:"white"}),s.jsxRuntimeExports.jsx("g",{clipPath:`url(#${t})`,children:s.jsxRuntimeExports.jsx("path",{d:"M46.7155 34.6327C47.4077 35.0604 47.8289 35.8138 47.8289 36.6254C47.8289 37.4371 47.4077 38.1904 46.7155 38.5744L32.7755 47.1286C32.0581 47.6097 31.1601 47.6292 30.4272 47.216C29.6942 46.8029 29.2402 46.0253 29.2402 45.1796V28.0713C29.2402 27.2275 29.6942 26.4494 30.4272 26.0363C31.1601 25.6236 32.0581 25.6406 32.7755 26.0805L46.7155 34.6327Z",fill:"#0066CC"})}),s.jsxRuntimeExports.jsx("defs",{children:s.jsxRuntimeExports.jsx("clipPath",{id:t,children:s.jsxRuntimeExports.jsx("rect",{width:"18.5886",height:"24.8848",fill:"white",transform:"translate(29.2402 24.1836)"})})})]})};exports.PlayVideo=j;
2
2
  //# sourceMappingURL=index.cjs223.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs223.js","sources":["../src/icons/PlayVideo/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"@/types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const PlayVideo = ({\r\n width = 73,\r\n height = 73,\r\n className,\r\n color,\r\n onClick,\r\n decorative = false,\r\n ariaLabel = \"Play video\",\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 73 73\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n className={clsx(className, classes)}\r\n onClick={onClick}\r\n aria-hidden={decorative}\r\n aria-label={!decorative ? ariaLabel : undefined}\r\n >\r\n <circle cx=\"36.5\" cy=\"36.627\" r=\"36\" fill=\"white\" fillOpacity=\"0.3\" />\r\n <circle cx=\"36.4991\" cy=\"36.628\" r=\"29.0323\" fill=\"white\" />\r\n <g clipPath=\"url(#clip0_16404_113675)\">\r\n <path\r\n d=\"M46.7155 34.6327C47.4077 35.0604 47.8289 35.8138 47.8289 36.6254C47.8289 37.4371 47.4077 38.1904 46.7155 38.5744L32.7755 47.1286C32.0581 47.6097 31.1601 47.6292 30.4272 47.216C29.6942 46.8029 29.2402 46.0253 29.2402 45.1796V28.0713C29.2402 27.2275 29.6942 26.4494 30.4272 26.0363C31.1601 25.6236 32.0581 25.6406 32.7755 26.0805L46.7155 34.6327Z\"\r\n fill=\"#0066CC\"\r\n />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_16404_113675\">\r\n <rect\r\n width=\"18.5886\"\r\n height=\"24.8848\"\r\n fill=\"white\"\r\n transform=\"translate(29.2402 24.1836)\"\r\n />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n );\r\n};\r\n"],"names":["PlayVideo","width","height","className","color","onClick","decorative","ariaLabel","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EACA,QAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,YACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAL,EAAO,EAE1C,OAAAM,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAT,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,UAAWS,EAAAA,KAAKR,EAAWK,CAAO,EAClC,QAAAH,EACA,cAAaC,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAA,CAACK,EAAAA,kBAAAA,IAAA,SAAA,CAAO,GAAG,OAAO,GAAG,SAAS,EAAE,KAAK,KAAK,QAAQ,YAAY,KAAM,CAAA,EACpEA,EAAAA,kBAAAA,IAAC,UAAO,GAAG,UAAU,GAAG,SAAS,EAAE,UAAU,KAAK,OAAQ,CAAA,EAC1DA,EAAAA,kBAAAA,IAAC,IAAE,CAAA,SAAS,2BACV,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,2VACF,KAAK,SAAA,CAAA,EAET,EACCA,wBAAA,OAAA,CACC,SAACA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,MAAM,UACN,OAAO,UACP,KAAK,QACL,UAAU,4BAAA,GAEd,CACF,CAAA,CAAA,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs223.js","sources":["../src/icons/PlayVideo/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"@/types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\nimport { useId } from \"react\";\r\n\r\nexport const PlayVideo = ({\r\n width = 73,\r\n height = 73,\r\n className,\r\n color,\r\n onClick,\r\n decorative = false,\r\n ariaLabel = \"Play video\",\r\n}: IconProps) => {\r\n const uniqueId = useId();\r\n const clipPathId = `clip0_${uniqueId}`;\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 73 73\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n className={clsx(className, classes)}\r\n onClick={onClick}\r\n aria-hidden={decorative}\r\n aria-label={!decorative ? ariaLabel : undefined}\r\n >\r\n <circle cx=\"36.5\" cy=\"36.627\" r=\"36\" fill=\"white\" fillOpacity=\"0.3\" />\r\n <circle cx=\"36.4991\" cy=\"36.628\" r=\"29.0323\" fill=\"white\" />\r\n <g clipPath={`url(#${clipPathId})`}>\r\n <path\r\n d=\"M46.7155 34.6327C47.4077 35.0604 47.8289 35.8138 47.8289 36.6254C47.8289 37.4371 47.4077 38.1904 46.7155 38.5744L32.7755 47.1286C32.0581 47.6097 31.1601 47.6292 30.4272 47.216C29.6942 46.8029 29.2402 46.0253 29.2402 45.1796V28.0713C29.2402 27.2275 29.6942 26.4494 30.4272 26.0363C31.1601 25.6236 32.0581 25.6406 32.7755 26.0805L46.7155 34.6327Z\"\r\n fill=\"#0066CC\"\r\n />\r\n </g>\r\n <defs>\r\n <clipPath id={clipPathId}>\r\n <rect\r\n width=\"18.5886\"\r\n height=\"24.8848\"\r\n fill=\"white\"\r\n transform=\"translate(29.2402 24.1836)\"\r\n />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n );\r\n};\r\n"],"names":["PlayVideo","width","height","className","color","onClick","decorative","ariaLabel","clipPathId","useId","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"sMAKaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EACA,QAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,YACd,IAAiB,CAET,MAAAC,EAAa,SADFC,EAAAA,MAAM,CACa,GAC9BC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAP,EAAO,EAG1C,OAAAQ,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAX,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,UAAWW,EAAAA,KAAKV,EAAWO,CAAO,EAClC,QAAAL,EACA,cAAaC,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAA,CAACO,EAAAA,kBAAAA,IAAA,SAAA,CAAO,GAAG,OAAO,GAAG,SAAS,EAAE,KAAK,KAAK,QAAQ,YAAY,KAAM,CAAA,EACpEA,EAAAA,kBAAAA,IAAC,UAAO,GAAG,UAAU,GAAG,SAAS,EAAE,UAAU,KAAK,OAAQ,CAAA,EACzDA,wBAAA,IAAA,CAAE,SAAU,QAAQN,CAAU,IAC7B,SAAAM,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,2VACF,KAAK,SAAA,CAAA,EAET,EACCA,wBAAA,OAAA,CACC,SAACA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAIN,EACZ,SAAAM,EAAA,kBAAA,IAAC,OAAA,CACC,MAAM,UACN,OAAO,UACP,KAAK,QACL,UAAU,4BAAA,GAEd,CACF,CAAA,CAAA,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";const w=require("./index.cjs531.js"),l=require("./index.cjs530.js");function L(x){let{swiper:a,extendParams:C,on:c,emit:g}=x;C({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),a.navigation={nextEl:null,prevEl:null};function u(i){let n;return i&&typeof i=="string"&&a.isElement&&(n=a.el.querySelector(i)||a.hostEl.querySelector(i),n)?n:(i&&(typeof i=="string"&&(n=[...document.querySelectorAll(i)]),a.params.uniqueNavElements&&typeof i=="string"&&n&&n.length>1&&a.el.querySelectorAll(i).length===1?n=a.el.querySelector(i):n&&n.length===1&&(n=n[0])),i&&!n?i:n)}function v(i,n){const t=a.params.navigation;i=l.m(i),i.forEach(e=>{e&&(e.classList[n?"add":"remove"](...t.disabledClass.split(" ")),e.tagName==="BUTTON"&&(e.disabled=n),a.params.watchOverflow&&a.enabled&&e.classList[a.isLocked?"add":"remove"](t.lockClass))})}function d(){const{nextEl:i,prevEl:n}=a.navigation;if(a.params.loop){v(n,!1),v(i,!1);return}v(n,a.isBeginning&&!a.params.rewind),v(i,a.isEnd&&!a.params.rewind)}function E(i){i.preventDefault(),!(a.isBeginning&&!a.params.loop&&!a.params.rewind)&&(a.slidePrev(),g("navigationPrev"))}function h(i){i.preventDefault(),!(a.isEnd&&!a.params.loop&&!a.params.rewind)&&(a.slideNext(),g("navigationNext"))}function f(){const i=a.params.navigation;if(a.params.navigation=w.c(a,a.originalParams.navigation,a.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(i.nextEl||i.prevEl))return;let n=u(i.nextEl),t=u(i.prevEl);Object.assign(a.navigation,{nextEl:n,prevEl:t}),n=l.m(n),t=l.m(t);const e=(s,p)=>{s&&s.addEventListener("click",p==="next"?h:E),!a.enabled&&s&&s.classList.add(...i.lockClass.split(" "))};n.forEach(s=>e(s,"next")),t.forEach(s=>e(s,"prev"))}function m(){let{nextEl:i,prevEl:n}=a.navigation;i=l.m(i),n=l.m(n);const t=(e,s)=>{e.removeEventListener("click",s==="next"?h:E),e.classList.remove(...a.params.navigation.disabledClass.split(" "))};i.forEach(e=>t(e,"next")),n.forEach(e=>t(e,"prev"))}c("init",()=>{a.params.navigation.enabled===!1?b():(f(),d())}),c("toEdge fromEdge lock unlock",()=>{d()}),c("destroy",()=>{m()}),c("enable disable",()=>{let{nextEl:i,prevEl:n}=a.navigation;if(i=l.m(i),n=l.m(n),a.enabled){d();return}[...i,...n].filter(t=>!!t).forEach(t=>t.classList.add(a.params.navigation.lockClass))}),c("click",(i,n)=>{let{nextEl:t,prevEl:e}=a.navigation;t=l.m(t),e=l.m(e);const s=n.target;let p=e.includes(s)||t.includes(s);if(a.isElement&&!p){const r=n.path||n.composedPath&&n.composedPath();r&&(p=r.find(o=>t.includes(o)||e.includes(o)))}if(a.params.navigation.hideOnClick&&!p){if(a.pagination&&a.params.pagination&&a.params.pagination.clickable&&(a.pagination.el===s||a.pagination.el.contains(s)))return;let r;t.length?r=t[0].classList.contains(a.params.navigation.hiddenClass):e.length&&(r=e[0].classList.contains(a.params.navigation.hiddenClass)),g(r===!0?"navigationShow":"navigationHide"),[...t,...e].filter(o=>!!o).forEach(o=>o.classList.toggle(a.params.navigation.hiddenClass))}});const k=()=>{a.el.classList.remove(...a.params.navigation.navigationDisabledClass.split(" ")),f(),d()},b=()=>{a.el.classList.add(...a.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(a.navigation,{enable:k,disable:b,update:d,init:f,destroy:m})}module.exports=L;
1
+ "use strict";const w=require("./index.cjs532.js"),l=require("./index.cjs531.js");function L(x){let{swiper:a,extendParams:C,on:c,emit:g}=x;C({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),a.navigation={nextEl:null,prevEl:null};function u(i){let n;return i&&typeof i=="string"&&a.isElement&&(n=a.el.querySelector(i)||a.hostEl.querySelector(i),n)?n:(i&&(typeof i=="string"&&(n=[...document.querySelectorAll(i)]),a.params.uniqueNavElements&&typeof i=="string"&&n&&n.length>1&&a.el.querySelectorAll(i).length===1?n=a.el.querySelector(i):n&&n.length===1&&(n=n[0])),i&&!n?i:n)}function v(i,n){const t=a.params.navigation;i=l.m(i),i.forEach(e=>{e&&(e.classList[n?"add":"remove"](...t.disabledClass.split(" ")),e.tagName==="BUTTON"&&(e.disabled=n),a.params.watchOverflow&&a.enabled&&e.classList[a.isLocked?"add":"remove"](t.lockClass))})}function d(){const{nextEl:i,prevEl:n}=a.navigation;if(a.params.loop){v(n,!1),v(i,!1);return}v(n,a.isBeginning&&!a.params.rewind),v(i,a.isEnd&&!a.params.rewind)}function E(i){i.preventDefault(),!(a.isBeginning&&!a.params.loop&&!a.params.rewind)&&(a.slidePrev(),g("navigationPrev"))}function h(i){i.preventDefault(),!(a.isEnd&&!a.params.loop&&!a.params.rewind)&&(a.slideNext(),g("navigationNext"))}function f(){const i=a.params.navigation;if(a.params.navigation=w.c(a,a.originalParams.navigation,a.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(i.nextEl||i.prevEl))return;let n=u(i.nextEl),t=u(i.prevEl);Object.assign(a.navigation,{nextEl:n,prevEl:t}),n=l.m(n),t=l.m(t);const e=(s,p)=>{s&&s.addEventListener("click",p==="next"?h:E),!a.enabled&&s&&s.classList.add(...i.lockClass.split(" "))};n.forEach(s=>e(s,"next")),t.forEach(s=>e(s,"prev"))}function m(){let{nextEl:i,prevEl:n}=a.navigation;i=l.m(i),n=l.m(n);const t=(e,s)=>{e.removeEventListener("click",s==="next"?h:E),e.classList.remove(...a.params.navigation.disabledClass.split(" "))};i.forEach(e=>t(e,"next")),n.forEach(e=>t(e,"prev"))}c("init",()=>{a.params.navigation.enabled===!1?b():(f(),d())}),c("toEdge fromEdge lock unlock",()=>{d()}),c("destroy",()=>{m()}),c("enable disable",()=>{let{nextEl:i,prevEl:n}=a.navigation;if(i=l.m(i),n=l.m(n),a.enabled){d();return}[...i,...n].filter(t=>!!t).forEach(t=>t.classList.add(a.params.navigation.lockClass))}),c("click",(i,n)=>{let{nextEl:t,prevEl:e}=a.navigation;t=l.m(t),e=l.m(e);const s=n.target;let p=e.includes(s)||t.includes(s);if(a.isElement&&!p){const r=n.path||n.composedPath&&n.composedPath();r&&(p=r.find(o=>t.includes(o)||e.includes(o)))}if(a.params.navigation.hideOnClick&&!p){if(a.pagination&&a.params.pagination&&a.params.pagination.clickable&&(a.pagination.el===s||a.pagination.el.contains(s)))return;let r;t.length?r=t[0].classList.contains(a.params.navigation.hiddenClass):e.length&&(r=e[0].classList.contains(a.params.navigation.hiddenClass)),g(r===!0?"navigationShow":"navigationHide"),[...t,...e].filter(o=>!!o).forEach(o=>o.classList.toggle(a.params.navigation.hiddenClass))}});const k=()=>{a.el.classList.remove(...a.params.navigation.navigationDisabledClass.split(" ")),f(),d()},b=()=>{a.el.classList.add(...a.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(a.navigation,{enable:k,disable:b,update:d,init:f,destroy:m})}module.exports=L;
2
2
  //# sourceMappingURL=index.cjs267.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const $=require("./index.cjs532.js"),q=require("./index.cjs531.js"),f=require("./index.cjs530.js");function w(S){let{swiper:e,extendParams:H,on:u,emit:v}=S;const d="swiper-pagination";H({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:a=>a,formatFractionTotal:a=>a,bulletClass:`${d}-bullet`,bulletActiveClass:`${d}-bullet-active`,modifierClass:`${d}-`,currentClass:`${d}-current`,totalClass:`${d}-total`,hiddenClass:`${d}-hidden`,progressbarFillClass:`${d}-progressbar-fill`,progressbarOppositeClass:`${d}-progressbar-opposite`,clickableClass:`${d}-clickable`,lockClass:`${d}-lock`,horizontalClass:`${d}-horizontal`,verticalClass:`${d}-vertical`,paginationDisabledClass:`${d}-disabled`}}),e.pagination={el:null,bullets:[]};let b,m=0;function k(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function x(a,s){const{bulletActiveClass:i}=e.params.pagination;a&&(a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&(a.classList.add(`${i}-${s}`),a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&a.classList.add(`${i}-${s}-${s}`)))}function I(a,s,i){if(a=a%i,s=s%i,s===a+1)return"next";if(s===a-1)return"previous"}function D(a){const s=a.target.closest($.c(e.params.pagination.bulletClass));if(!s)return;a.preventDefault();const i=f.h(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=I(e.realIndex,i,e.slides.length);t==="next"?e.slideNext():t==="previous"?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i)}function h(){const a=e.rtl,s=e.params.pagination;if(k())return;let i=e.pagination.el;i=f.m(i);let t,c;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,z=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(t=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,t=e.activeIndex||0),s.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const l=e.pagination.bullets;let g,p,L;if(s.dynamicBullets&&(b=f.f(l[0],e.isHorizontal()?"width":"height"),i.forEach(n=>{n.style[e.isHorizontal()?"width":"height"]=`${b*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&c!==void 0&&(m+=t-(c||0),m>s.dynamicMainBullets-1?m=s.dynamicMainBullets-1:m<0&&(m=0)),g=Math.max(t-m,0),p=g+(Math.min(l.length,s.dynamicMainBullets)-1),L=(p+g)/2),l.forEach(n=>{const r=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(o=>`${s.bulletActiveClass}${o}`)].map(o=>typeof o=="string"&&o.includes(" ")?o.split(" "):o).flat();n.classList.remove(...r)}),i.length>1)l.forEach(n=>{const r=f.h(n);r===t?n.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&n.setAttribute("part","bullet"),s.dynamicBullets&&(r>=g&&r<=p&&n.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),r===g&&x(n,"prev"),r===p&&x(n,"next"))});else{const n=l[t];if(n&&n.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&l.forEach((r,o)=>{r.setAttribute("part",o===t?"bullet-active":"bullet")}),s.dynamicBullets){const r=l[g],o=l[p];for(let y=g;y<=p;y+=1)l[y]&&l[y].classList.add(...`${s.bulletActiveClass}-main`.split(" "));x(r,"prev"),x(o,"next")}}if(s.dynamicBullets){const n=Math.min(l.length,s.dynamicMainBullets+4),r=(b*n-b)/2-L*b,o=a?"right":"left";l.forEach(y=>{y.style[e.isHorizontal()?o:"top"]=`${r}px`})}}i.forEach((l,g)=>{if(s.type==="fraction"&&(l.querySelectorAll($.c(s.currentClass)).forEach(p=>{p.textContent=s.formatFractionCurrent(t+1)}),l.querySelectorAll($.c(s.totalClass)).forEach(p=>{p.textContent=s.formatFractionTotal(z)})),s.type==="progressbar"){let p;s.progressbarOpposite?p=e.isHorizontal()?"vertical":"horizontal":p=e.isHorizontal()?"horizontal":"vertical";const L=(t+1)/z;let n=1,r=1;p==="horizontal"?n=L:r=L,l.querySelectorAll($.c(s.progressbarFillClass)).forEach(o=>{o.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${r})`,o.style.transitionDuration=`${e.params.speed}ms`})}s.type==="custom"&&s.renderCustom?(l.innerHTML=s.renderCustom(e,t+1,z),g===0&&v("paginationRender",l)):(g===0&&v("paginationRender",l),v("paginationUpdate",l)),e.params.watchOverflow&&e.enabled&&l.classList[e.isLocked?"add":"remove"](s.lockClass)})}function B(){const a=e.params.pagination;if(k())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=f.m(i);let t="";if(a.type==="bullets"){let c=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&c>s&&(c=s);for(let C=0;C<c;C+=1)a.renderBullet?t+=a.renderBullet.call(e,C,a.bulletClass):t+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}a.type==="fraction"&&(a.renderFraction?t=a.renderFraction.call(e,a.currentClass,a.totalClass):t=`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),a.type==="progressbar"&&(a.renderProgressbar?t=a.renderProgressbar.call(e,a.progressbarFillClass):t=`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(c=>{a.type!=="custom"&&(c.innerHTML=t||""),a.type==="bullets"&&e.pagination.bullets.push(...c.querySelectorAll($.c(a.bulletClass)))}),a.type!=="custom"&&v("paginationRender",i[0])}function A(){e.params.pagination=q.c(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const a=e.params.pagination;if(!a.el)return;let s;typeof a.el=="string"&&e.isElement&&(s=e.el.querySelector(a.el)),!s&&typeof a.el=="string"&&(s=[...document.querySelectorAll(a.el)]),s||(s=a.el),!(!s||s.length===0)&&(e.params.uniqueNavElements&&typeof a.el=="string"&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(a.el)],s.length>1&&(s=s.find(i=>f.a(i,".swiper")[0]===e.el))),Array.isArray(s)&&s.length===1&&(s=s[0]),Object.assign(e.pagination,{el:s}),s=f.m(s),s.forEach(i=>{a.type==="bullets"&&a.clickable&&i.classList.add(...(a.clickableClass||"").split(" ")),i.classList.add(a.modifierClass+a.type),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.type==="bullets"&&a.dynamicBullets&&(i.classList.add(`${a.modifierClass}${a.type}-dynamic`),m=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),a.type==="progressbar"&&a.progressbarOpposite&&i.classList.add(a.progressbarOppositeClass),a.clickable&&i.addEventListener("click",D),e.enabled||i.classList.add(a.lockClass)}))}function M(){const a=e.params.pagination;if(k())return;let s=e.pagination.el;s&&(s=f.m(s),s.forEach(i=>{i.classList.remove(a.hiddenClass),i.classList.remove(a.modifierClass+a.type),i.classList.remove(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.clickable&&(i.classList.remove(...(a.clickableClass||"").split(" ")),i.removeEventListener("click",D))})),e.pagination.bullets&&e.pagination.bullets.forEach(i=>i.classList.remove(...a.bulletActiveClass.split(" ")))}u("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const a=e.params.pagination;let{el:s}=e.pagination;s=f.m(s),s.forEach(i=>{i.classList.remove(a.horizontalClass,a.verticalClass),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass)})}),u("init",()=>{e.params.pagination.enabled===!1?P():(A(),B(),h())}),u("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),u("snapIndexChange",()=>{h()}),u("snapGridLengthChange",()=>{B(),h()}),u("destroy",()=>{M()}),u("enable disable",()=>{let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),u("lock unlock",()=>{h()}),u("click",(a,s)=>{const i=s.target,t=f.m(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&t&&t.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const c=t[0].classList.contains(e.params.pagination.hiddenClass);v(c===!0?"paginationShow":"paginationHide"),t.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const O=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.remove(e.params.pagination.paginationDisabledClass))),A(),B(),h()},P=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.add(e.params.pagination.paginationDisabledClass))),M()};Object.assign(e.pagination,{enable:O,disable:P,render:B,update:h,init:A,destroy:M})}module.exports=w;
1
+ "use strict";const $=require("./index.cjs533.js"),q=require("./index.cjs532.js"),f=require("./index.cjs531.js");function w(S){let{swiper:e,extendParams:H,on:u,emit:v}=S;const d="swiper-pagination";H({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:a=>a,formatFractionTotal:a=>a,bulletClass:`${d}-bullet`,bulletActiveClass:`${d}-bullet-active`,modifierClass:`${d}-`,currentClass:`${d}-current`,totalClass:`${d}-total`,hiddenClass:`${d}-hidden`,progressbarFillClass:`${d}-progressbar-fill`,progressbarOppositeClass:`${d}-progressbar-opposite`,clickableClass:`${d}-clickable`,lockClass:`${d}-lock`,horizontalClass:`${d}-horizontal`,verticalClass:`${d}-vertical`,paginationDisabledClass:`${d}-disabled`}}),e.pagination={el:null,bullets:[]};let b,m=0;function k(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function x(a,s){const{bulletActiveClass:i}=e.params.pagination;a&&(a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&(a.classList.add(`${i}-${s}`),a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&a.classList.add(`${i}-${s}-${s}`)))}function I(a,s,i){if(a=a%i,s=s%i,s===a+1)return"next";if(s===a-1)return"previous"}function D(a){const s=a.target.closest($.c(e.params.pagination.bulletClass));if(!s)return;a.preventDefault();const i=f.h(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=I(e.realIndex,i,e.slides.length);t==="next"?e.slideNext():t==="previous"?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i)}function h(){const a=e.rtl,s=e.params.pagination;if(k())return;let i=e.pagination.el;i=f.m(i);let t,c;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,z=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(t=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,t=e.activeIndex||0),s.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const l=e.pagination.bullets;let g,p,L;if(s.dynamicBullets&&(b=f.f(l[0],e.isHorizontal()?"width":"height"),i.forEach(n=>{n.style[e.isHorizontal()?"width":"height"]=`${b*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&c!==void 0&&(m+=t-(c||0),m>s.dynamicMainBullets-1?m=s.dynamicMainBullets-1:m<0&&(m=0)),g=Math.max(t-m,0),p=g+(Math.min(l.length,s.dynamicMainBullets)-1),L=(p+g)/2),l.forEach(n=>{const r=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(o=>`${s.bulletActiveClass}${o}`)].map(o=>typeof o=="string"&&o.includes(" ")?o.split(" "):o).flat();n.classList.remove(...r)}),i.length>1)l.forEach(n=>{const r=f.h(n);r===t?n.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&n.setAttribute("part","bullet"),s.dynamicBullets&&(r>=g&&r<=p&&n.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),r===g&&x(n,"prev"),r===p&&x(n,"next"))});else{const n=l[t];if(n&&n.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&l.forEach((r,o)=>{r.setAttribute("part",o===t?"bullet-active":"bullet")}),s.dynamicBullets){const r=l[g],o=l[p];for(let y=g;y<=p;y+=1)l[y]&&l[y].classList.add(...`${s.bulletActiveClass}-main`.split(" "));x(r,"prev"),x(o,"next")}}if(s.dynamicBullets){const n=Math.min(l.length,s.dynamicMainBullets+4),r=(b*n-b)/2-L*b,o=a?"right":"left";l.forEach(y=>{y.style[e.isHorizontal()?o:"top"]=`${r}px`})}}i.forEach((l,g)=>{if(s.type==="fraction"&&(l.querySelectorAll($.c(s.currentClass)).forEach(p=>{p.textContent=s.formatFractionCurrent(t+1)}),l.querySelectorAll($.c(s.totalClass)).forEach(p=>{p.textContent=s.formatFractionTotal(z)})),s.type==="progressbar"){let p;s.progressbarOpposite?p=e.isHorizontal()?"vertical":"horizontal":p=e.isHorizontal()?"horizontal":"vertical";const L=(t+1)/z;let n=1,r=1;p==="horizontal"?n=L:r=L,l.querySelectorAll($.c(s.progressbarFillClass)).forEach(o=>{o.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${r})`,o.style.transitionDuration=`${e.params.speed}ms`})}s.type==="custom"&&s.renderCustom?(l.innerHTML=s.renderCustom(e,t+1,z),g===0&&v("paginationRender",l)):(g===0&&v("paginationRender",l),v("paginationUpdate",l)),e.params.watchOverflow&&e.enabled&&l.classList[e.isLocked?"add":"remove"](s.lockClass)})}function B(){const a=e.params.pagination;if(k())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=f.m(i);let t="";if(a.type==="bullets"){let c=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&c>s&&(c=s);for(let C=0;C<c;C+=1)a.renderBullet?t+=a.renderBullet.call(e,C,a.bulletClass):t+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}a.type==="fraction"&&(a.renderFraction?t=a.renderFraction.call(e,a.currentClass,a.totalClass):t=`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),a.type==="progressbar"&&(a.renderProgressbar?t=a.renderProgressbar.call(e,a.progressbarFillClass):t=`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(c=>{a.type!=="custom"&&(c.innerHTML=t||""),a.type==="bullets"&&e.pagination.bullets.push(...c.querySelectorAll($.c(a.bulletClass)))}),a.type!=="custom"&&v("paginationRender",i[0])}function A(){e.params.pagination=q.c(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const a=e.params.pagination;if(!a.el)return;let s;typeof a.el=="string"&&e.isElement&&(s=e.el.querySelector(a.el)),!s&&typeof a.el=="string"&&(s=[...document.querySelectorAll(a.el)]),s||(s=a.el),!(!s||s.length===0)&&(e.params.uniqueNavElements&&typeof a.el=="string"&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(a.el)],s.length>1&&(s=s.find(i=>f.a(i,".swiper")[0]===e.el))),Array.isArray(s)&&s.length===1&&(s=s[0]),Object.assign(e.pagination,{el:s}),s=f.m(s),s.forEach(i=>{a.type==="bullets"&&a.clickable&&i.classList.add(...(a.clickableClass||"").split(" ")),i.classList.add(a.modifierClass+a.type),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.type==="bullets"&&a.dynamicBullets&&(i.classList.add(`${a.modifierClass}${a.type}-dynamic`),m=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),a.type==="progressbar"&&a.progressbarOpposite&&i.classList.add(a.progressbarOppositeClass),a.clickable&&i.addEventListener("click",D),e.enabled||i.classList.add(a.lockClass)}))}function M(){const a=e.params.pagination;if(k())return;let s=e.pagination.el;s&&(s=f.m(s),s.forEach(i=>{i.classList.remove(a.hiddenClass),i.classList.remove(a.modifierClass+a.type),i.classList.remove(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.clickable&&(i.classList.remove(...(a.clickableClass||"").split(" ")),i.removeEventListener("click",D))})),e.pagination.bullets&&e.pagination.bullets.forEach(i=>i.classList.remove(...a.bulletActiveClass.split(" ")))}u("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const a=e.params.pagination;let{el:s}=e.pagination;s=f.m(s),s.forEach(i=>{i.classList.remove(a.horizontalClass,a.verticalClass),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass)})}),u("init",()=>{e.params.pagination.enabled===!1?P():(A(),B(),h())}),u("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),u("snapIndexChange",()=>{h()}),u("snapGridLengthChange",()=>{B(),h()}),u("destroy",()=>{M()}),u("enable disable",()=>{let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),u("lock unlock",()=>{h()}),u("click",(a,s)=>{const i=s.target,t=f.m(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&t&&t.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const c=t[0].classList.contains(e.params.pagination.hiddenClass);v(c===!0?"paginationShow":"paginationHide"),t.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const O=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.remove(e.params.pagination.paginationDisabledClass))),A(),B(),h()},P=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.add(e.params.pagination.paginationDisabledClass))),M()};Object.assign(e.pagination,{enable:O,disable:P,render:B,update:h,init:A,destroy:M})}module.exports=w;
2
2
  //# sourceMappingURL=index.cjs268.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const F=require("./index.cjs529.js"),y=require("./index.cjs532.js"),a=require("./index.cjs530.js");function K(P){let{swiper:i,extendParams:N,on:o}=P;N({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),i.a11y={clicked:!1};let r=null,p,u,L=new Date().getTime();function f(e){const t=r;t.length!==0&&(t.innerHTML="",t.innerHTML=e)}function B(e){const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function g(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","0")})}function M(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","-1")})}function m(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("role",t)})}function x(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-roledescription",t)})}function q(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-controls",t)})}function E(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-label",t)})}function O(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("id",t)})}function H(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-live",t)})}function w(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!0)})}function A(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!1)})}function d(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y,n=e.target;if(!(i.pagination&&i.pagination.el&&(n===i.pagination.el||i.pagination.el.contains(e.target))&&!e.target.matches(y.c(i.params.pagination.bulletClass)))){if(i.navigation&&i.navigation.prevEl&&i.navigation.nextEl){const s=a.m(i.navigation.prevEl);a.m(i.navigation.nextEl).includes(n)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?f(t.lastSlideMessage):f(t.nextSlideMessage)),s.includes(n)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?f(t.firstSlideMessage):f(t.prevSlideMessage))}i.pagination&&n.matches(y.c(i.params.pagination.bulletClass))&&n.click()}}function G(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;t&&(i.isBeginning?(w(t),M(t)):(A(t),g(t))),e&&(i.isEnd?(w(e),M(e)):(A(e),g(e)))}function k(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function C(){return k()&&i.params.pagination.clickable}function U(){const e=i.params.a11y;k()&&i.pagination.bullets.forEach(t=>{i.params.pagination.clickable&&(g(t),i.params.pagination.renderBullet||(m(t,"button"),E(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.h(t)+1)))),t.matches(y.c(i.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}const S=(e,t,n)=>{g(e),e.tagName!=="BUTTON"&&(m(e,"button"),e.addEventListener("keydown",d)),E(e,n),q(e,t)},R=e=>{u&&u!==e.target&&!u.contains(e.target)&&(p=!0),i.a11y.clicked=!0},T=()=>{p=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.destroyed||(i.a11y.clicked=!1)})})},D=e=>{L=new Date().getTime()},h=e=>{if(i.a11y.clicked||!i.params.a11y.scrollOnFocus||new Date().getTime()-L<100)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;u=t;const n=i.slides.indexOf(t)===i.activeIndex,s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(i.isHorizontal()?i.el.scrollLeft=0:i.el.scrollTop=0,requestAnimationFrame(()=>{p||(i.params.loop?i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")),0):i.slideTo(i.slides.indexOf(t),0),p=!1)}))},I=()=>{const e=i.params.a11y;e.itemRoleDescriptionMessage&&x(i.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(i.slides,e.slideRole);const t=i.slides.length;e.slideLabelMessage&&i.slides.forEach((n,s)=>{const l=i.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,t);E(n,c)})},V=()=>{const e=i.params.a11y;i.el.append(r);const t=i.el;e.containerRoleDescriptionMessage&&x(t,e.containerRoleDescriptionMessage),e.containerMessage&&E(t,e.containerMessage),e.containerRole&&m(t,e.containerRole);const n=i.wrapperEl,s=e.id||n.getAttribute("id")||`swiper-wrapper-${B(16)}`,l=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";O(n,s),H(n,l),I();let{nextEl:c,prevEl:v}=i.navigation?i.navigation:{};c=a.m(c),v=a.m(v),c&&c.forEach(b=>S(b,s,e.nextSlideMessage)),v&&v.forEach(b=>S(b,s,e.prevSlideMessage)),C()&&a.m(i.pagination.el).forEach(z=>{z.addEventListener("keydown",d)}),F.g().addEventListener("visibilitychange",D),i.el.addEventListener("focus",h,!0),i.el.addEventListener("focus",h,!0),i.el.addEventListener("pointerdown",R,!0),i.el.addEventListener("pointerup",T,!0)};function $(){r&&r.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a.m(e),t=a.m(t),e&&e.forEach(s=>s.removeEventListener("keydown",d)),t&&t.forEach(s=>s.removeEventListener("keydown",d)),C()&&a.m(i.pagination.el).forEach(l=>{l.removeEventListener("keydown",d)}),F.g().removeEventListener("visibilitychange",D),i.el&&typeof i.el!="string"&&(i.el.removeEventListener("focus",h,!0),i.el.removeEventListener("pointerdown",R,!0),i.el.removeEventListener("pointerup",T,!0))}o("beforeInit",()=>{r=a.c("span",i.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),o("afterInit",()=>{i.params.a11y.enabled&&V()}),o("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{i.params.a11y.enabled&&I()}),o("fromEdge toEdge afterInit lock unlock",()=>{i.params.a11y.enabled&&G()}),o("paginationUpdate",()=>{i.params.a11y.enabled&&U()}),o("destroy",()=>{i.params.a11y.enabled&&$()})}module.exports=K;
1
+ "use strict";const F=require("./index.cjs530.js"),y=require("./index.cjs533.js"),a=require("./index.cjs531.js");function K(P){let{swiper:i,extendParams:N,on:o}=P;N({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),i.a11y={clicked:!1};let r=null,p,u,L=new Date().getTime();function f(e){const t=r;t.length!==0&&(t.innerHTML="",t.innerHTML=e)}function B(e){const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function g(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","0")})}function M(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","-1")})}function m(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("role",t)})}function x(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-roledescription",t)})}function q(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-controls",t)})}function E(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-label",t)})}function O(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("id",t)})}function H(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-live",t)})}function w(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!0)})}function A(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!1)})}function d(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y,n=e.target;if(!(i.pagination&&i.pagination.el&&(n===i.pagination.el||i.pagination.el.contains(e.target))&&!e.target.matches(y.c(i.params.pagination.bulletClass)))){if(i.navigation&&i.navigation.prevEl&&i.navigation.nextEl){const s=a.m(i.navigation.prevEl);a.m(i.navigation.nextEl).includes(n)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?f(t.lastSlideMessage):f(t.nextSlideMessage)),s.includes(n)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?f(t.firstSlideMessage):f(t.prevSlideMessage))}i.pagination&&n.matches(y.c(i.params.pagination.bulletClass))&&n.click()}}function G(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;t&&(i.isBeginning?(w(t),M(t)):(A(t),g(t))),e&&(i.isEnd?(w(e),M(e)):(A(e),g(e)))}function k(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function C(){return k()&&i.params.pagination.clickable}function U(){const e=i.params.a11y;k()&&i.pagination.bullets.forEach(t=>{i.params.pagination.clickable&&(g(t),i.params.pagination.renderBullet||(m(t,"button"),E(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.h(t)+1)))),t.matches(y.c(i.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}const S=(e,t,n)=>{g(e),e.tagName!=="BUTTON"&&(m(e,"button"),e.addEventListener("keydown",d)),E(e,n),q(e,t)},R=e=>{u&&u!==e.target&&!u.contains(e.target)&&(p=!0),i.a11y.clicked=!0},T=()=>{p=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.destroyed||(i.a11y.clicked=!1)})})},D=e=>{L=new Date().getTime()},h=e=>{if(i.a11y.clicked||!i.params.a11y.scrollOnFocus||new Date().getTime()-L<100)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;u=t;const n=i.slides.indexOf(t)===i.activeIndex,s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(i.isHorizontal()?i.el.scrollLeft=0:i.el.scrollTop=0,requestAnimationFrame(()=>{p||(i.params.loop?i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")),0):i.slideTo(i.slides.indexOf(t),0),p=!1)}))},I=()=>{const e=i.params.a11y;e.itemRoleDescriptionMessage&&x(i.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(i.slides,e.slideRole);const t=i.slides.length;e.slideLabelMessage&&i.slides.forEach((n,s)=>{const l=i.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,t);E(n,c)})},V=()=>{const e=i.params.a11y;i.el.append(r);const t=i.el;e.containerRoleDescriptionMessage&&x(t,e.containerRoleDescriptionMessage),e.containerMessage&&E(t,e.containerMessage),e.containerRole&&m(t,e.containerRole);const n=i.wrapperEl,s=e.id||n.getAttribute("id")||`swiper-wrapper-${B(16)}`,l=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";O(n,s),H(n,l),I();let{nextEl:c,prevEl:v}=i.navigation?i.navigation:{};c=a.m(c),v=a.m(v),c&&c.forEach(b=>S(b,s,e.nextSlideMessage)),v&&v.forEach(b=>S(b,s,e.prevSlideMessage)),C()&&a.m(i.pagination.el).forEach(z=>{z.addEventListener("keydown",d)}),F.g().addEventListener("visibilitychange",D),i.el.addEventListener("focus",h,!0),i.el.addEventListener("focus",h,!0),i.el.addEventListener("pointerdown",R,!0),i.el.addEventListener("pointerup",T,!0)};function $(){r&&r.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a.m(e),t=a.m(t),e&&e.forEach(s=>s.removeEventListener("keydown",d)),t&&t.forEach(s=>s.removeEventListener("keydown",d)),C()&&a.m(i.pagination.el).forEach(l=>{l.removeEventListener("keydown",d)}),F.g().removeEventListener("visibilitychange",D),i.el&&typeof i.el!="string"&&(i.el.removeEventListener("focus",h,!0),i.el.removeEventListener("pointerdown",R,!0),i.el.removeEventListener("pointerup",T,!0))}o("beforeInit",()=>{r=a.c("span",i.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),o("afterInit",()=>{i.params.a11y.enabled&&V()}),o("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{i.params.a11y.enabled&&I()}),o("fromEdge toEdge afterInit lock unlock",()=>{i.params.a11y.enabled&&G()}),o("paginationUpdate",()=>{i.params.a11y.enabled&&U()}),o("destroy",()=>{i.params.a11y.enabled&&$()})}module.exports=K;
2
2
  //# sourceMappingURL=index.cjs269.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctorV2/CardMapDoctorV2.css');const s=require("./index.cjs249.js");;/* empty css */const c=require("react"),p=require("./index.cjs312.js"),w=require("./index.cjs313.js"),b=require("./index.cjs215.js"),C=require("./index.cjs43.js"),j=require("./index.cjs9.js"),m=require("./index.cjs10.js"),E=({titleTag:h="h1",availableLabel:o="Disponibile",specialization:n,addressLabel:f,className:R,doctor:e,setSelectedCard:r=()=>{},keepSelectionOnNavigation:d=!1,ctaTitle:x,ctaAction:a})=>{const[t,l]=c.useState(!1),u=c.useRef(null),i=e==null?void 0:e.offices[0];return w.useClickOutside(u,t,()=>l(!1),()=>r(""),d),s.jsxRuntimeExports.jsxs(j.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:u,className:`${R} ${t?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{l(!0),r(e==null?void 0:e.code)},children:[s.jsxRuntimeExports.jsx(p.Root,{id:e==null?void 0:e.code,checked:t,className:"ui-checkbox-filter",children:s.jsxRuntimeExports.jsx(p.Indicator,{children:s.jsxRuntimeExports.jsx(b.CheckIcon,{width:14,height:14,color:"white"})})}),s.jsxRuntimeExports.jsxs(m.Col,{justifyContent:"center",className:"w-full",children:[s.jsxRuntimeExports.jsxs(m.Col,{pb:"x16",children:[s.jsxRuntimeExports.jsxs(h,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:["Dott. ",e==null?void 0:e.firstName," ",e==null?void 0:e.lastName]}),!!n&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:n}),s.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:o.toUpperCase()})]}),s.jsxRuntimeExports.jsxs(j.Row,{justifyContent:"space-between",alignItems:"end",children:[s.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[s.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:f}),s.jsxRuntimeExports.jsx("div",{className:"w-full",children:s.jsxRuntimeExports.jsxs("p",{className:"fw-regular",children:[i!=null&&i.address?i.address.charAt(0).toUpperCase()+i.address.slice(1).toLowerCase():"",","," ",i!=null&&i.city?i.city.charAt(0).toUpperCase()+i.city.slice(1).toLowerCase():""]})})]}),x&&a&&s.jsxRuntimeExports.jsx(C.ArrowLink,{asButton:!0,onClick:a,arrowVisible:!1,className:"cursor-pointer",children:x})]})]})]})};exports.CardMapDoctor=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const s=require("./index.cjs249.js");;/* empty css */const c=require("react"),p=require("./index.cjs312.js"),w=require("./index.cjs313.js"),b=require("./index.cjs215.js"),C=require("./index.cjs43.js"),j=require("./index.cjs9.js"),m=require("./index.cjs10.js"),E=({titleTag:h="h1",availableLabel:o="Disponibile",specialization:n,addressLabel:f,className:R,doctor:e,setSelectedCard:r=()=>{},keepSelectionOnNavigation:d=!1,ctaTitle:x,ctaAction:a})=>{const[t,l]=c.useState(!1),u=c.useRef(null),i=e==null?void 0:e.offices[0];return w.useClickOutside(u,t,()=>l(!1),()=>r(""),d),s.jsxRuntimeExports.jsxs(j.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:u,className:`${R} ${t?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{l(!0),r(e==null?void 0:e.code)},children:[s.jsxRuntimeExports.jsx(p.Root,{id:e==null?void 0:e.code,checked:t,className:"ui-checkbox-filter",children:s.jsxRuntimeExports.jsx(p.Indicator,{children:s.jsxRuntimeExports.jsx(b.CheckIcon,{width:14,height:14,color:"white"})})}),s.jsxRuntimeExports.jsxs(m.Col,{justifyContent:"center",className:"w-full",children:[s.jsxRuntimeExports.jsxs(m.Col,{pb:"x16",children:[s.jsxRuntimeExports.jsxs(h,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:["Dott. ",e==null?void 0:e.firstName," ",e==null?void 0:e.lastName]}),!!n&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:n}),s.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:o.toUpperCase()})]}),s.jsxRuntimeExports.jsxs(j.Row,{justifyContent:"space-between",alignItems:"end",children:[s.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[s.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:f}),s.jsxRuntimeExports.jsx("div",{className:"w-full",children:s.jsxRuntimeExports.jsxs("p",{className:"fw-regular",children:[i!=null&&i.address?i.address.charAt(0).toUpperCase()+i.address.slice(1).toLowerCase():"",","," ",i!=null&&i.city?i.city.charAt(0).toUpperCase()+i.city.slice(1).toLowerCase():""]})})]}),x&&a&&s.jsxRuntimeExports.jsx(C.ArrowLink,{asButton:!0,onClick:a,arrowVisible:!1,className:"cursor-pointer",children:x})]})]})]})};exports.CardMapDoctor=E;
2
2
  //# sourceMappingURL=index.cjs32.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs498.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs500.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
2
  //# sourceMappingURL=index.cjs323.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctorV2/CardMapDoctorV2.css');const e=require("./index.cjs249.js");;/* empty css */const f=require("react"),a=require("./index.cjs312.js"),w=require("./index.cjs313.js"),c=require("./index.cjs9.js"),b=require("./index.cjs215.js"),u=require("./index.cjs10.js"),E=require("./index.cjs43.js"),N=({titleTag:d="h1",title:s,specialization:t,tag:j,officeAddressLabel:m,officeAddress:p,className:h,doctorCode:n,setSelectedDoctorCode:r,keepSelectionOnNavigation:R=!1,ctaTitle:x,ctaAction:l,isActive:i})=>{const o=f.useRef(null);return w.useClickOutside(o,i,()=>r(void 0),()=>r(void 0),R),e.jsxRuntimeExports.jsxs(c.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:o,className:`${h} ${i?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{r(n)},children:[e.jsxRuntimeExports.jsx(a.Root,{id:n,checked:i,className:"ui-checkbox-filter",title:`Seleziona ${s}`,"aria-label":`Seleziona ${s}`,children:e.jsxRuntimeExports.jsx(a.Indicator,{children:e.jsxRuntimeExports.jsx(b.CheckIcon,{width:14,height:14,color:"white"})})}),e.jsxRuntimeExports.jsxs(u.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(u.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsx(d,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:s}),!!t&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:t}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:j})]}),e.jsxRuntimeExports.jsxs(c.Row,{justifyContent:"space-between",alignItems:"end",children:[e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:m}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsx("p",{className:"fw-regular",children:p})})]}),x&&l&&e.jsxRuntimeExports.jsx(E.ArrowLink,{asButton:!0,onClick:l,arrowVisible:!1,className:"cursor-pointer",children:x})]})]})]})};exports.CardMapDoctorV2=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const e=require("./index.cjs249.js");;/* empty css */const f=require("react"),a=require("./index.cjs312.js"),w=require("./index.cjs313.js"),c=require("./index.cjs9.js"),b=require("./index.cjs215.js"),u=require("./index.cjs10.js"),E=require("./index.cjs43.js"),N=({titleTag:d="h1",title:s,specialization:t,tag:j,officeAddressLabel:m,officeAddress:p,className:h,doctorCode:n,setSelectedDoctorCode:r,keepSelectionOnNavigation:R=!1,ctaTitle:x,ctaAction:l,isActive:i})=>{const o=f.useRef(null);return w.useClickOutside(o,i,()=>r(void 0),()=>r(void 0),R),e.jsxRuntimeExports.jsxs(c.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:o,className:`${h} ${i?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{r(n)},children:[e.jsxRuntimeExports.jsx(a.Root,{id:n,checked:i,className:"ui-checkbox-filter",title:`Seleziona ${s}`,"aria-label":`Seleziona ${s}`,children:e.jsxRuntimeExports.jsx(a.Indicator,{children:e.jsxRuntimeExports.jsx(b.CheckIcon,{width:14,height:14,color:"white"})})}),e.jsxRuntimeExports.jsxs(u.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(u.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsx(d,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:s}),!!t&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:t}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:j})]}),e.jsxRuntimeExports.jsxs(c.Row,{justifyContent:"space-between",alignItems:"end",children:[e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:m}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsx("p",{className:"fw-regular",children:p})})]}),x&&l&&e.jsxRuntimeExports.jsx(E.ArrowLink,{asButton:!0,onClick:l,arrowVisible:!1,className:"cursor-pointer",children:x})]})]})]})};exports.CardMapDoctorV2=N;
2
2
  //# sourceMappingURL=index.cjs33.js.map