@anoki/fse-ui 1.0.358 → 1.0.361

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 (288) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs166.js +1 -1
  3. package/dist/index.cjs170.js +1 -1
  4. package/dist/index.cjs177.js +1 -1
  5. package/dist/index.cjs188.js +1 -1
  6. package/dist/index.cjs196.js +1 -1
  7. package/dist/index.cjs205.js +1 -1
  8. package/dist/index.cjs215.js +1 -1
  9. package/dist/index.cjs247.js +2 -0
  10. package/dist/index.cjs247.js.map +1 -0
  11. package/dist/index.cjs248.js +1 -1
  12. package/dist/index.cjs248.js.map +1 -1
  13. package/dist/index.cjs249.js +1 -1
  14. package/dist/index.cjs249.js.map +1 -1
  15. package/dist/index.cjs250.js +1 -1
  16. package/dist/index.cjs250.js.map +1 -1
  17. package/dist/index.cjs251.js +1 -1
  18. package/dist/index.cjs251.js.map +1 -1
  19. package/dist/index.cjs252.js +1 -1
  20. package/dist/index.cjs252.js.map +1 -1
  21. package/dist/index.cjs253.js +1 -1
  22. package/dist/index.cjs253.js.map +1 -1
  23. package/dist/index.cjs255.js +1 -1
  24. package/dist/index.cjs255.js.map +1 -1
  25. package/dist/index.cjs256.js +1 -1
  26. package/dist/index.cjs256.js.map +1 -1
  27. package/dist/index.cjs257.js +1 -1
  28. package/dist/index.cjs257.js.map +1 -1
  29. package/dist/index.cjs258.js +1 -1
  30. package/dist/index.cjs258.js.map +1 -1
  31. package/dist/index.cjs259.js +1 -1
  32. package/dist/index.cjs259.js.map +1 -1
  33. package/dist/index.cjs260.js +1 -1
  34. package/dist/index.cjs260.js.map +1 -1
  35. package/dist/index.cjs261.js +1 -1
  36. package/dist/index.cjs261.js.map +1 -1
  37. package/dist/index.cjs262.js +1 -1
  38. package/dist/index.cjs262.js.map +1 -1
  39. package/dist/index.cjs263.js +1 -1
  40. package/dist/index.cjs263.js.map +1 -1
  41. package/dist/index.cjs264.js +1 -1
  42. package/dist/index.cjs264.js.map +1 -1
  43. package/dist/index.cjs265.js +1 -1
  44. package/dist/index.cjs265.js.map +1 -1
  45. package/dist/index.cjs266.js +1 -1
  46. package/dist/index.cjs266.js.map +1 -1
  47. package/dist/index.cjs267.js +1 -1
  48. package/dist/index.cjs267.js.map +1 -1
  49. package/dist/index.cjs268.js +1 -1
  50. package/dist/index.cjs268.js.map +1 -1
  51. package/dist/index.cjs269.js +1 -1
  52. package/dist/index.cjs269.js.map +1 -1
  53. package/dist/index.cjs272.js +1 -1
  54. package/dist/index.cjs272.js.map +1 -1
  55. package/dist/index.cjs273.js +1 -1
  56. package/dist/index.cjs273.js.map +1 -1
  57. package/dist/index.cjs274.js +2 -0
  58. package/dist/index.cjs274.js.map +1 -0
  59. package/dist/index.cjs275.js +2 -0
  60. package/dist/index.cjs275.js.map +1 -0
  61. package/dist/index.cjs276.js +1 -1
  62. package/dist/index.cjs276.js.map +1 -1
  63. package/dist/index.cjs277.js +1 -1
  64. package/dist/index.cjs277.js.map +1 -1
  65. package/dist/index.cjs278.js +1 -1
  66. package/dist/index.cjs278.js.map +1 -1
  67. package/dist/index.cjs279.js +1 -1
  68. package/dist/index.cjs279.js.map +1 -1
  69. package/dist/index.cjs280.js +2 -0
  70. package/dist/index.cjs280.js.map +1 -0
  71. package/dist/index.cjs281.js +2 -0
  72. package/dist/index.cjs281.js.map +1 -0
  73. package/dist/index.cjs282.js +2 -0
  74. package/dist/index.cjs282.js.map +1 -0
  75. package/dist/index.cjs283.js +4 -1
  76. package/dist/index.cjs283.js.map +1 -1
  77. package/dist/index.cjs284.js +1 -1
  78. package/dist/index.cjs284.js.map +1 -1
  79. package/dist/index.cjs285.js +1 -1
  80. package/dist/index.cjs285.js.map +1 -1
  81. package/dist/index.cjs286.js +1 -1
  82. package/dist/index.cjs286.js.map +1 -1
  83. package/dist/index.cjs287.js +1 -1
  84. package/dist/index.cjs287.js.map +1 -1
  85. package/dist/{index.cjs311.js → index.cjs288.js} +2 -2
  86. package/dist/{index.cjs311.js.map → index.cjs288.js.map} +1 -1
  87. package/dist/{index.cjs312.js → index.cjs289.js} +2 -2
  88. package/dist/{index.cjs312.js.map → index.cjs289.js.map} +1 -1
  89. package/dist/{index.cjs313.js → index.cjs290.js} +1 -1
  90. package/dist/{index.cjs313.js.map → index.cjs290.js.map} +1 -1
  91. package/dist/index.cjs291.js +1 -1
  92. package/dist/index.cjs291.js.map +1 -1
  93. package/dist/index.cjs292.js +1 -1
  94. package/dist/index.cjs292.js.map +1 -1
  95. package/dist/index.cjs293.js +1 -1
  96. package/dist/index.cjs293.js.map +1 -1
  97. package/dist/{index.cjs315.js → index.cjs294.js} +2 -2
  98. package/dist/index.cjs294.js.map +1 -0
  99. package/dist/{index.cjs316.js → index.cjs295.js} +1 -1
  100. package/dist/{index.cjs316.js.map → index.cjs295.js.map} +1 -1
  101. package/dist/{index.cjs317.js → index.cjs296.js} +1 -1
  102. package/dist/{index.cjs317.js.map → index.cjs296.js.map} +1 -1
  103. package/dist/index.cjs297.js +1 -1
  104. package/dist/index.cjs297.js.map +1 -1
  105. package/dist/index.cjs298.js +1 -1
  106. package/dist/index.cjs298.js.map +1 -1
  107. package/dist/index.cjs299.js +1 -1
  108. package/dist/index.cjs299.js.map +1 -1
  109. package/dist/index.cjs300.js +1 -4
  110. package/dist/index.cjs300.js.map +1 -1
  111. package/dist/index.cjs301.js +1 -1
  112. package/dist/index.cjs301.js.map +1 -1
  113. package/dist/index.cjs302.js +1 -1
  114. package/dist/index.cjs302.js.map +1 -1
  115. package/dist/index.cjs303.js +1 -1
  116. package/dist/index.cjs303.js.map +1 -1
  117. package/dist/index.cjs304.js +1 -1
  118. package/dist/index.cjs304.js.map +1 -1
  119. package/dist/index.cjs305.js +2 -0
  120. package/dist/{index.cjs315.js.map → index.cjs305.js.map} +1 -1
  121. package/dist/{index.cjs318.js → index.cjs306.js} +2 -2
  122. package/dist/{index.cjs318.js.map → index.cjs306.js.map} +1 -1
  123. package/dist/index.cjs321.js +1 -1
  124. package/dist/index.cjs321.js.map +1 -1
  125. package/dist/index.cjs322.js +1 -1
  126. package/dist/index.cjs322.js.map +1 -1
  127. package/dist/index.cjs73.js +1 -1
  128. package/dist/index.cjs73.js.map +1 -1
  129. package/dist/index.d.ts +11 -11
  130. package/dist/index.es.js +90 -90
  131. package/dist/index.es166.js +7 -7
  132. package/dist/index.es170.js +1 -1
  133. package/dist/index.es177.js +8 -8
  134. package/dist/index.es188.js +14 -14
  135. package/dist/index.es196.js +1 -1
  136. package/dist/index.es205.js +1 -1
  137. package/dist/index.es215.js +7 -7
  138. package/dist/index.es247.js +10 -0
  139. package/dist/index.es247.js.map +1 -0
  140. package/dist/index.es248.js +25 -5
  141. package/dist/index.es248.js.map +1 -1
  142. package/dist/index.es249.js +64 -23
  143. package/dist/index.es249.js.map +1 -1
  144. package/dist/index.es250.js +27 -65
  145. package/dist/index.es250.js.map +1 -1
  146. package/dist/index.es251.js +32 -29
  147. package/dist/index.es251.js.map +1 -1
  148. package/dist/index.es252.js +620 -31
  149. package/dist/index.es252.js.map +1 -1
  150. package/dist/index.es253.js +10 -621
  151. package/dist/index.es253.js.map +1 -1
  152. package/dist/index.es255.js +10 -5
  153. package/dist/index.es255.js.map +1 -1
  154. package/dist/index.es256.js +45 -24
  155. package/dist/index.es256.js.map +1 -1
  156. package/dist/index.es257.js +43 -66
  157. package/dist/index.es257.js.map +1 -1
  158. package/dist/index.es258.js +8 -29
  159. package/dist/index.es258.js.map +1 -1
  160. package/dist/index.es259.js +124 -10
  161. package/dist/index.es259.js.map +1 -1
  162. package/dist/index.es260.js +13 -44
  163. package/dist/index.es260.js.map +1 -1
  164. package/dist/index.es261.js +130 -41
  165. package/dist/index.es261.js.map +1 -1
  166. package/dist/index.es262.js +217 -7
  167. package/dist/index.es262.js.map +1 -1
  168. package/dist/index.es263.js +13 -124
  169. package/dist/index.es263.js.map +1 -1
  170. package/dist/index.es264.js +67 -13
  171. package/dist/index.es264.js.map +1 -1
  172. package/dist/index.es265.js +170 -127
  173. package/dist/index.es265.js.map +1 -1
  174. package/dist/index.es266.js +49 -217
  175. package/dist/index.es266.js.map +1 -1
  176. package/dist/index.es267.js +7 -12
  177. package/dist/index.es267.js.map +1 -1
  178. package/dist/index.es268.js +3 -177
  179. package/dist/index.es268.js.map +1 -1
  180. package/dist/index.es269.js +14 -49
  181. package/dist/index.es269.js.map +1 -1
  182. package/dist/index.es272.js +11 -41
  183. package/dist/index.es272.js.map +1 -1
  184. package/dist/index.es273.js +204 -14
  185. package/dist/index.es273.js.map +1 -1
  186. package/dist/index.es274.js +25 -0
  187. package/dist/index.es274.js.map +1 -0
  188. package/dist/index.es275.js +28 -0
  189. package/dist/index.es275.js.map +1 -0
  190. package/dist/index.es276.js +391 -10
  191. package/dist/index.es276.js.map +1 -1
  192. package/dist/index.es277.js +22 -202
  193. package/dist/index.es277.js.map +1 -1
  194. package/dist/index.es278.js +27 -20
  195. package/dist/index.es278.js.map +1 -1
  196. package/dist/index.es279.js +5 -393
  197. package/dist/index.es279.js.map +1 -1
  198. package/dist/index.es280.js +8 -0
  199. package/dist/index.es280.js.map +1 -0
  200. package/dist/index.es281.js +6 -0
  201. package/dist/index.es281.js.map +1 -0
  202. package/dist/index.es282.js +27 -0
  203. package/dist/index.es282.js.map +1 -0
  204. package/dist/index.es283.js +104 -119
  205. package/dist/index.es283.js.map +1 -1
  206. package/dist/index.es284.js +15 -134
  207. package/dist/index.es284.js.map +1 -1
  208. package/dist/index.es285.js +523 -14
  209. package/dist/index.es285.js.map +1 -1
  210. package/dist/index.es286.js +126 -32
  211. package/dist/index.es286.js.map +1 -1
  212. package/dist/index.es287.js +125 -38
  213. package/dist/index.es287.js.map +1 -1
  214. package/dist/{index.es311.js → index.es288.js} +4 -4
  215. package/dist/{index.es311.js.map → index.es288.js.map} +1 -1
  216. package/dist/{index.es312.js → index.es289.js} +2 -2
  217. package/dist/{index.es312.js.map → index.es289.js.map} +1 -1
  218. package/dist/{index.es313.js → index.es290.js} +1 -1
  219. package/dist/{index.es313.js.map → index.es290.js.map} +1 -1
  220. package/dist/index.es291.js +60 -23
  221. package/dist/index.es291.js.map +1 -1
  222. package/dist/index.es292.js +65 -29
  223. package/dist/index.es292.js.map +1 -1
  224. package/dist/index.es293.js +6 -5
  225. package/dist/index.es293.js.map +1 -1
  226. package/dist/{index.es315.js → index.es294.js} +2 -2
  227. package/dist/index.es294.js.map +1 -0
  228. package/dist/{index.es316.js → index.es295.js} +1 -1
  229. package/dist/{index.es316.js.map → index.es295.js.map} +1 -1
  230. package/dist/{index.es317.js → index.es296.js} +1 -1
  231. package/dist/{index.es317.js.map → index.es296.js.map} +1 -1
  232. package/dist/index.es297.js +42 -5
  233. package/dist/index.es297.js.map +1 -1
  234. package/dist/index.es298.js +13 -3
  235. package/dist/index.es298.js.map +1 -1
  236. package/dist/index.es299.js +27 -23
  237. package/dist/index.es299.js.map +1 -1
  238. package/dist/index.es300.js +5 -110
  239. package/dist/index.es300.js.map +1 -1
  240. package/dist/index.es301.js +22 -15
  241. package/dist/index.es301.js.map +1 -1
  242. package/dist/index.es302.js +115 -513
  243. package/dist/index.es302.js.map +1 -1
  244. package/dist/index.es303.js +126 -118
  245. package/dist/index.es303.js.map +1 -1
  246. package/dist/index.es304.js +13 -128
  247. package/dist/index.es304.js.map +1 -1
  248. package/dist/index.es305.js +36 -0
  249. package/dist/{index.es315.js.map → index.es305.js.map} +1 -1
  250. package/dist/{index.es318.js → index.es306.js} +2 -2
  251. package/dist/{index.es318.js.map → index.es306.js.map} +1 -1
  252. package/dist/index.es321.js +29 -28
  253. package/dist/index.es321.js.map +1 -1
  254. package/dist/index.es322.js +42 -5
  255. package/dist/index.es322.js.map +1 -1
  256. package/dist/index.es73.js +49 -55
  257. package/dist/index.es73.js.map +1 -1
  258. package/dist/sections/{AggregationItems/AggregationItems.css → HomeServices/HomeServices.css} +1 -1
  259. package/package.json +1 -1
  260. package/dist/index.cjs254.js +0 -2
  261. package/dist/index.cjs254.js.map +0 -1
  262. package/dist/index.cjs270.js +0 -2
  263. package/dist/index.cjs270.js.map +0 -1
  264. package/dist/index.cjs271.js +0 -2
  265. package/dist/index.cjs271.js.map +0 -1
  266. package/dist/index.cjs310.js +0 -2
  267. package/dist/index.cjs310.js.map +0 -1
  268. package/dist/index.cjs314.js +0 -2
  269. package/dist/index.cjs314.js.map +0 -1
  270. package/dist/index.cjs319.js +0 -2
  271. package/dist/index.cjs319.js.map +0 -1
  272. package/dist/index.cjs320.js +0 -2
  273. package/dist/index.cjs320.js.map +0 -1
  274. package/dist/index.es254.js +0 -14
  275. package/dist/index.es254.js.map +0 -1
  276. package/dist/index.es270.js +0 -12
  277. package/dist/index.es270.js.map +0 -1
  278. package/dist/index.es271.js +0 -7
  279. package/dist/index.es271.js.map +0 -1
  280. package/dist/index.es310.js +0 -68
  281. package/dist/index.es310.js.map +0 -1
  282. package/dist/index.es314.js +0 -65
  283. package/dist/index.es314.js.map +0 -1
  284. package/dist/index.es319.js +0 -26
  285. package/dist/index.es319.js.map +0 -1
  286. package/dist/index.es320.js +0 -16
  287. package/dist/index.es320.js.map +0 -1
  288. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es304.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","selector","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAa,IAKrC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,MAAIG;AACJ,UAAQH,KAAQ,SAASG,IAAsBH,EAAK,kBAAkB,OAAO,SAASG,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmBJ,GAAM;AAChC,MAAIK;AACJ,UAAQA,KAAQJ,EAAOD,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,aAAa,OAAO,SAASK,EAAK;AACjH;AACA,SAASJ,EAAOK,GAAO;AACrB,SAAKR,EAAS,IAGPQ,aAAiB,QAAQA,aAAiBJ,EAAUI,CAAK,EAAE,OAFzD;AAGX;AACA,SAASC,EAAUD,GAAO;AACxB,SAAKR,EAAS,IAGPQ,aAAiB,WAAWA,aAAiBJ,EAAUI,CAAK,EAAE,UAF5D;AAGX;AACA,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AACrC,SAAI4B,EAAsBI,CAAU,IAC3BhC,EAAK,gBAAgBA,EAAK,cAAc,OAAOA,EAAK,OAEzDQ,EAAcwB,CAAU,KAAKtB,EAAkBsB,CAAU,IACpDA,IAEFD,EAA2BC,CAAU;AAC9C;AACA,SAASC,EAAqBjC,GAAMkC,GAAMC,GAAiB;AACzD,MAAIC;AACJ,EAAIF,MAAS,WACXA,IAAO,CAAE,IAEPC,MAAoB,WACtBA,IAAkB;AAEpB,QAAME,IAAqBN,EAA2B/B,CAAI,GACpDsC,IAASD,QAAyBD,IAAuBpC,EAAK,kBAAkB,OAAO,SAASoC,EAAqB,OACrHG,IAAMrC,EAAUmC,CAAkB;AACxC,MAAIC,GAAQ;AACV,UAAME,IAAeC,EAAgBF,CAAG;AACxC,WAAOL,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAE,GAAE7B,EAAkB2B,CAAkB,IAAIA,IAAqB,CAAE,GAAEG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,EAAE;AAAA,EAChM;AACE,SAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAA,GAAIF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es304.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":";;;;;AAQA,IAAIA,IAAc,UACdC,IAASC,EAAM,WAAW,CAACC,GAAOC,MAAiB;;AACrD,QAAM,EAAE,WAAWC,GAAe,GAAGC,EAAa,IAAGH,GAC/C,CAACI,GAASC,CAAU,IAAIN,EAAM,SAAS,EAAK;AAClDO,EAAAA,EAAgB,MAAMD,EAAW,EAAI,GAAG,CAAA,CAAE;AAC1C,QAAME,IAAYL,KAAiBE,OAAWI,IAAA,yCAAY,aAAZ,gBAAAA,EAAsB;AACpE,SAAOD,IAAYE,EAAS,aAA6BC,gBAAAA,EAAG,IAACC,EAAU,KAAK,EAAE,GAAGR,GAAa,KAAKF,EAAc,CAAA,GAAGM,CAAS,IAAI;AACnI,CAAC;AACDT,EAAO,cAAcD;","x_google_ignoreList":[0]}
@@ -0,0 +1,36 @@
1
+ import * as n from "react";
2
+ import * as p from "react-dom";
3
+ import { Slot as f } from "./index.es306.js";
4
+ import { j as u } from "./index.es141.js";
5
+ var c = [
6
+ "a",
7
+ "button",
8
+ "div",
9
+ "form",
10
+ "h2",
11
+ "h3",
12
+ "img",
13
+ "input",
14
+ "label",
15
+ "li",
16
+ "nav",
17
+ "ol",
18
+ "p",
19
+ "span",
20
+ "svg",
21
+ "ul"
22
+ ], v = c.reduce((r, i) => {
23
+ const t = n.forwardRef((o, e) => {
24
+ const { asChild: s, ...m } = o, a = s ? f : i;
25
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(a, { ...m, ref: e });
26
+ });
27
+ return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
28
+ }, {});
29
+ function h(r, i) {
30
+ r && p.flushSync(() => r.dispatchEvent(i));
31
+ }
32
+ export {
33
+ v as Primitive,
34
+ h as dispatchDiscreteCustomEvent
35
+ };
36
+ //# sourceMappingURL=index.es305.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es315.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es305.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;AACL,SAASS,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import * as l from "react";
2
- import { composeRefs as u } from "./index.es249.js";
2
+ import { composeRefs as u } from "./index.es248.js";
3
3
  import { j as c } from "./index.es141.js";
4
4
  var d = l.forwardRef((r, n) => {
5
5
  const { children: e, ...t } = r, o = l.Children.toArray(e), i = o.find(g);
@@ -42,4 +42,4 @@ export {
42
42
  d as Slot,
43
43
  m as Slottable
44
44
  };
45
- //# sourceMappingURL=index.es318.js.map
45
+ //# sourceMappingURL=index.es306.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es318.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AAC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F,EAAc,GAAGE,CAAI;AAAA,IACtB,IACQF,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAgB,IACxDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAExF;AACE,SAAO,EAAE,GAAGpB,GAAW,GAAGiB,EAAe;AAC3C;AACA,SAASP,EAAcY,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es306.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,CAAC;AACDJ,EAAK,cAAc;AACnB,IAAIa,IAAYZ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACxD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,MAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,UAAMU,IAAcC,EAAcX,CAAQ,GACpCY,IAASC,EAAWZ,GAAWD,EAAS,KAAK;AACnD,WAAIA,EAAS,SAASH,EAAM,aAC1Be,EAAO,MAAMb,IAAee,EAAYf,GAAcW,CAAW,IAAIA,IAEhEb,EAAM,aAAaG,GAAUY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AQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -1,31 +1,32 @@
1
- import { getNonce as o } from "./index.es322.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
26
- };
27
- };
1
+ import * as s from "react";
2
+ import "react-dom";
3
+ import { Slot as n } from "./index.es322.js";
4
+ import { j as f } from "./index.es141.js";
5
+ var u = [
6
+ "a",
7
+ "button",
8
+ "div",
9
+ "form",
10
+ "h2",
11
+ "h3",
12
+ "img",
13
+ "input",
14
+ "label",
15
+ "li",
16
+ "nav",
17
+ "ol",
18
+ "p",
19
+ "span",
20
+ "svg",
21
+ "ul"
22
+ ], c = u.reduce((o, r) => {
23
+ const i = s.forwardRef((t, e) => {
24
+ const { asChild: m, ...a } = t, p = m ? n : r;
25
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ f.jsx(p, { ...a, ref: e });
26
+ });
27
+ return i.displayName = `Primitive.${r}`, { ...o, [r]: i };
28
+ }, {});
28
29
  export {
29
- c as stylesheetSingleton
30
+ c as Primitive
30
31
  };
31
32
  //# sourceMappingURL=index.es321.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es321.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es321.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;","x_google_ignoreList":[0]}
@@ -1,8 +1,45 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
4
- };
1
+ import * as l from "react";
2
+ import { composeRefs as u } from "./index.es248.js";
3
+ import { j as c } from "./index.es141.js";
4
+ var d = l.forwardRef((r, n) => {
5
+ const { children: e, ...t } = r, o = l.Children.toArray(e), i = o.find(g);
6
+ if (i) {
7
+ const s = i.props.children, a = o.map((p) => p === i ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : p);
8
+ return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: l.isValidElement(s) ? l.cloneElement(s, void 0, a) : null });
9
+ }
10
+ return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: e });
11
+ });
12
+ d.displayName = "Slot";
13
+ var f = l.forwardRef((r, n) => {
14
+ const { children: e, ...t } = r;
15
+ if (l.isValidElement(e)) {
16
+ const o = h(e), i = y(t, e.props);
17
+ return e.type !== l.Fragment && (i.ref = n ? u(n, o) : o), l.cloneElement(e, i);
18
+ }
19
+ return l.Children.count(e) > 1 ? l.Children.only(null) : null;
20
+ });
21
+ f.displayName = "SlotClone";
22
+ var m = ({ children: r }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: r });
23
+ function g(r) {
24
+ return l.isValidElement(r) && r.type === m;
25
+ }
26
+ function y(r, n) {
27
+ const e = { ...n };
28
+ for (const t in n) {
29
+ const o = r[t], i = n[t];
30
+ /^on[A-Z]/.test(t) ? o && i ? e[t] = (...a) => {
31
+ i(...a), o(...a);
32
+ } : o && (e[t] = o) : t === "style" ? e[t] = { ...o, ...i } : t === "className" && (e[t] = [o, i].filter(Boolean).join(" "));
33
+ }
34
+ return { ...r, ...e };
35
+ }
36
+ function h(r) {
37
+ var t, o;
38
+ let n = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, e = n && "isReactWarning" in n && n.isReactWarning;
39
+ return e ? r.ref : (n = (o = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : o.get, e = n && "isReactWarning" in n && n.isReactWarning, e ? r.props.ref : r.props.ref || r.ref);
40
+ }
5
41
  export {
6
- e as getNonce
42
+ d as Slot,
43
+ m as Slottable
7
44
  };
8
45
  //# sourceMappingURL=index.es322.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es322.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es322.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,C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AO,EAAE,GAAGpB,GAAW,GAAGiB,EAAe;AAC3C;AACA,SAASP,EAAcY,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -1,63 +1,57 @@
1
- import { j as r } from "./index.es141.js";
1
+ import { j as s } from "./index.es141.js";
2
2
  import { Section as n } from "./index.es46.js";
3
- import { clsx as d } from "./index.es143.js";
4
- import './sections/AggregationItems/AggregationItems.css';/* empty css */
5
- import { CardCategory as y } from "./index.es26.js";
6
- import { Col as j } from "./index.es10.js";
7
- import { ArrowLink as h } from "./index.es35.js";
8
- const g = {
9
- HomeServices: "HomeServices",
10
- ServicesByEntityType: "ServicesByEntityType"
11
- }, E = ({
12
- title: e,
13
- description: a,
3
+ import { clsx as i } from "./index.es143.js";
4
+ import './sections/HomeServices/HomeServices.css';/* empty css */
5
+ import { CardCategory as j } from "./index.es26.js";
6
+ import { Col as y } from "./index.es10.js";
7
+ import { ArrowLink as L } from "./index.es35.js";
8
+ const x = {
9
+ LayoutOne: "LayoutOne",
10
+ LayoutTwo: "LayoutTwo"
11
+ }, N = ({
12
+ title: a,
13
+ description: l,
14
14
  goToLabel: c,
15
- href: l,
16
- asLink: i = "a",
17
- items: o,
18
- layout: p = g.HomeServices,
19
- className: x
15
+ href: e,
16
+ asLink: u = "a",
17
+ items: r,
18
+ layout: d = x.LayoutOne,
19
+ className: h
20
20
  }) => {
21
- const t = p === g.HomeServices ? "ui-aggregation-items-home-services" : "ui-aggregation-items-services-by-entity-type";
22
- return /* @__PURE__ */ r.jsxs(
23
- n,
24
- {
25
- className: d("base-col ui-aggregation-items-section", x),
26
- children: [
27
- /* @__PURE__ */ r.jsxs(j, { className: "ui-aggregation-items-section-content", children: [
28
- /* @__PURE__ */ r.jsxs("div", { className: "ui-aggregation-items-section-title", children: [
29
- /* @__PURE__ */ r.jsx(n.Title, { fs: "2", children: e }),
30
- c && l && /* @__PURE__ */ r.jsx(h, { href: l, asLink: i, fs: "7", children: c.toUpperCase() })
31
- ] }),
32
- a && /* @__PURE__ */ r.jsx(n.Description, { children: a })
33
- ] }),
34
- /* @__PURE__ */ r.jsx(
35
- "ul",
21
+ const p = d === x.LayoutOne ? "ui-home-services-layout-one" : "ui-home-services-layout-two";
22
+ return /* @__PURE__ */ s.jsxs(n, { className: i("base-col ui-home-services-section", h), children: [
23
+ /* @__PURE__ */ s.jsxs(y, { className: "ui-home-services-section-content", children: [
24
+ /* @__PURE__ */ s.jsxs("div", { className: "ui-home-services-section-title", children: [
25
+ /* @__PURE__ */ s.jsx(n.Title, { fs: "2", children: a }),
26
+ c && e && /* @__PURE__ */ s.jsx(L, { href: e, asLink: u, fs: "7", children: c.toUpperCase() })
27
+ ] }),
28
+ l && /* @__PURE__ */ s.jsx(n.Description, { children: l })
29
+ ] }),
30
+ /* @__PURE__ */ s.jsx(
31
+ "ul",
32
+ {
33
+ role: "list",
34
+ "aria-label": `Lista di ${a}`,
35
+ className: `list-style-none ${p}`,
36
+ children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
37
+ j,
36
38
  {
37
- role: "list",
38
- "aria-label": `Lista di ${e}`,
39
- className: `list-style-none ${t}`,
40
- children: o == null ? void 0 : o.map((s) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
41
- y,
42
- {
43
- title: s == null ? void 0 : s.name,
44
- description: s == null ? void 0 : s.description,
45
- image: s == null ? void 0 : s.image,
46
- href: (s == null ? void 0 : s.link) || (s == null ? void 0 : s.externalLink),
47
- showIcon: s == null ? void 0 : s.externalLink,
48
- asLink: i,
49
- isExternal: s == null ? void 0 : s.externalLink
50
- },
51
- s._id
52
- ) }, s._id))
53
- }
54
- )
55
- ]
56
- }
57
- );
39
+ title: o == null ? void 0 : o.name,
40
+ description: o == null ? void 0 : o.description,
41
+ image: o == null ? void 0 : o.image,
42
+ href: (o == null ? void 0 : o.link) || (o == null ? void 0 : o.externalLink),
43
+ showIcon: o == null ? void 0 : o.externalLink,
44
+ asLink: u,
45
+ isExternal: o == null ? void 0 : o.externalLink
46
+ },
47
+ o._id
48
+ ) }, o._id))
49
+ }
50
+ )
51
+ ] });
58
52
  };
59
53
  export {
60
- E as AggregationItems,
61
- g as LAYOUTS
54
+ x as HOME_SERVICES_LAYOUTS,
55
+ N as HomeServices
62
56
  };
63
57
  //# sourceMappingURL=index.es73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es73.js","sources":["../src/sections/AggregationItems/index.tsx"],"sourcesContent":["import { Section } from \"@/components/ui/Section\";\nimport { ArrowLink, CardCategory, Col } from \"@/components\";\nimport clsx from \"clsx\";\nimport \"./AggregationItems.scss\";\n\nexport const LAYOUTS = {\n HomeServices: \"HomeServices\",\n ServicesByEntityType: \"ServicesByEntityType\",\n} as const;\n\ntype Layout = (typeof LAYOUTS)[keyof typeof LAYOUTS];\n\nexport type AggregationItemsProps = {\n title: React.ReactNode;\n description?: React.ReactNode;\n goToLabel?: string;\n href?: string;\n asLink?: \"a\" | React.ComponentType<any>;\n items: any[];\n layout?: Layout;\n className?: string;\n};\n\nexport const AggregationItems = ({\n title,\n description,\n goToLabel,\n href,\n asLink = \"a\",\n items,\n layout = LAYOUTS.HomeServices,\n className,\n}: AggregationItemsProps) => {\n const layoutClassName =\n layout === LAYOUTS.HomeServices\n ? \"ui-aggregation-items-home-services\"\n : \"ui-aggregation-items-services-by-entity-type\";\n\n return (\n <Section\n className={clsx(\"base-col ui-aggregation-items-section\", className)}\n >\n <Col className=\"ui-aggregation-items-section-content\">\n <div className=\"ui-aggregation-items-section-title\">\n <Section.Title fs=\"2\">{title}</Section.Title>\n {goToLabel && href && (\n <ArrowLink href={href} asLink={asLink} fs=\"7\">\n {goToLabel.toUpperCase()}\n </ArrowLink>\n )}\n </div>\n {description && (\n <Section.Description>{description}</Section.Description>\n )}\n </Col>\n <ul\n role=\"list\"\n aria-label={`Lista di ${title}`}\n className={`list-style-none ${layoutClassName}`}\n >\n {items?.map((item) => {\n return (\n <li key={item._id}>\n <CardCategory\n key={item._id}\n title={item?.name}\n description={item?.description}\n image={item?.image}\n href={item?.link || item?.externalLink}\n showIcon={item?.externalLink}\n asLink={asLink}\n isExternal={item?.externalLink}\n />\n </li>\n );\n })}\n </ul>\n </Section>\n );\n};\n"],"names":["LAYOUTS","AggregationItems","title","description","goToLabel","href","asLink","items","layout","className","layoutClassName","jsxs","Section","clsx","Col","jsx","ArrowLink","item","CardCategory"],"mappings":";;;;;;;AAKO,MAAMA,IAAU;AAAA,EACrB,cAAc;AAAA,EACd,sBAAsB;AACxB,GAeaC,IAAmB,CAAC;AAAA,EAC/B,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,OAAAC;AAAA,EACA,QAAAC,IAASR,EAAQ;AAAA,EACjB,WAAAS;AACF,MAA6B;AAC3B,QAAMC,IACJF,MAAWR,EAAQ,eACf,uCACA;AAGJ,SAAAW,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAK,yCAAyCJ,CAAS;AAAA,MAElE,UAAA;AAAA,QAACE,gBAAAA,EAAAA,KAAAG,GAAA,EAAI,WAAU,wCACb,UAAA;AAAA,UAACH,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,sCACb,UAAA;AAAA,YAAAI,gBAAAA,EAAA,IAACH,EAAQ,OAAR,EAAc,IAAG,KAAK,UAAMV,GAAA;AAAA,YAC5BE,KAAaC,KACZU,gBAAAA,MAACC,GAAU,EAAA,MAAAX,GAAY,QAAAC,GAAgB,IAAG,KACvC,UAAUF,EAAA,YAAA,EACb,CAAA;AAAA,UAAA,GAEJ;AAAA,UACCD,KACCY,gBAAAA,EAAA,IAACH,EAAQ,aAAR,EAAqB,UAAYT,EAAA,CAAA;AAAA,QAAA,GAEtC;AAAA,QACAY,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,cAAY,YAAYb,CAAK;AAAA,YAC7B,WAAW,mBAAmBQ,CAAe;AAAA,YAE5C,UAAAH,KAAA,gBAAAA,EAAO,IAAI,CAACU,4BAER,MACC,EAAA,UAAAF,gBAAAA,EAAA;AAAA,cAACG;AAAA,cAAA;AAAA,gBAEC,OAAOD,KAAA,gBAAAA,EAAM;AAAA,gBACb,aAAaA,KAAA,gBAAAA,EAAM;AAAA,gBACnB,OAAOA,KAAA,gBAAAA,EAAM;AAAA,gBACb,OAAMA,KAAA,gBAAAA,EAAM,UAAQA,KAAA,gBAAAA,EAAM;AAAA,gBAC1B,UAAUA,KAAA,gBAAAA,EAAM;AAAA,gBAChB,QAAAX;AAAA,gBACA,YAAYW,KAAA,gBAAAA,EAAM;AAAA,cAAA;AAAA,cAPbA,EAAK;AAAA,YAAA,EAQZ,GAVOA,EAAK,GAWd;AAAA,UAEH;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"index.es73.js","sources":["../src/sections/HomeServices/index.tsx"],"sourcesContent":["import { Section } from \"@/components/ui/Section\";\nimport { ArrowLink, CardCategory, Col } from \"@/components\";\nimport clsx from \"clsx\";\nimport \"./HomeServices.scss\";\nimport { ComponentType, ReactNode } from \"react\";\n\nexport const HOME_SERVICES_LAYOUTS = {\n LayoutOne: \"LayoutOne\",\n LayoutTwo: \"LayoutTwo\",\n} as const;\n\ntype Layout =\n (typeof HOME_SERVICES_LAYOUTS)[keyof typeof HOME_SERVICES_LAYOUTS];\n\nexport type AggregationItemsProps = {\n title: ReactNode;\n description?: ReactNode;\n goToLabel?: string;\n href?: string;\n asLink?: \"a\" | ComponentType<any>;\n items: any[];\n layout?: Layout;\n className?: string;\n};\n\nexport const HomeServices = ({\n title,\n description,\n goToLabel,\n href,\n asLink = \"a\",\n items,\n layout = HOME_SERVICES_LAYOUTS.LayoutOne,\n className,\n}: AggregationItemsProps) => {\n const layoutClassName =\n layout === HOME_SERVICES_LAYOUTS.LayoutOne\n ? \"ui-home-services-layout-one\"\n : \"ui-home-services-layout-two\";\n\n return (\n <Section className={clsx(\"base-col ui-home-services-section\", className)}>\n <Col className=\"ui-home-services-section-content\">\n <div className=\"ui-home-services-section-title\">\n <Section.Title fs=\"2\">{title}</Section.Title>\n {goToLabel && href && (\n <ArrowLink href={href} asLink={asLink} fs=\"7\">\n {goToLabel.toUpperCase()}\n </ArrowLink>\n )}\n </div>\n {description && (\n <Section.Description>{description}</Section.Description>\n )}\n </Col>\n <ul\n role=\"list\"\n aria-label={`Lista di ${title}`}\n className={`list-style-none ${layoutClassName}`}\n >\n {items?.map((item) => {\n return (\n <li key={item._id}>\n <CardCategory\n key={item._id}\n title={item?.name}\n description={item?.description}\n image={item?.image}\n href={item?.link || item?.externalLink}\n showIcon={item?.externalLink}\n asLink={asLink}\n isExternal={item?.externalLink}\n />\n </li>\n );\n })}\n </ul>\n </Section>\n );\n};\n"],"names":["HOME_SERVICES_LAYOUTS","HomeServices","title","description","goToLabel","href","asLink","items","layout","className","layoutClassName","Section","clsx","jsxs","Col","jsx","ArrowLink","item","CardCategory"],"mappings":";;;;;;;AAMO,MAAMA,IAAwB;AAAA,EACnC,WAAW;AAAA,EACX,WAAW;AACb,GAgBaC,IAAe,CAAC;AAAA,EAC3B,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC,IAAS;AAAA,EACT,OAAAC;AAAA,EAC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