@anoki/fse-ui 1.0.625 → 1.0.627

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 (311) hide show
  1. package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
  2. package/dist/components/ui/Carousel/Carousel.css +1 -1
  3. package/dist/index.cjs112.js +1 -1
  4. package/dist/index.cjs112.js.map +1 -1
  5. package/dist/index.cjs200.js +1 -1
  6. package/dist/index.cjs207.js +1 -1
  7. package/dist/index.cjs225.js +1 -1
  8. package/dist/index.cjs229.js +1 -1
  9. package/dist/index.cjs236.js +1 -1
  10. package/dist/index.cjs246.js +1 -1
  11. package/dist/index.cjs253.js +1 -1
  12. package/dist/index.cjs260.js +1 -1
  13. package/dist/index.cjs261.js +1 -1
  14. package/dist/index.cjs265.js +1 -1
  15. package/dist/index.cjs270.js +1 -1
  16. package/dist/index.cjs272.js +1 -1
  17. package/dist/index.cjs280.js +1 -1
  18. package/dist/index.cjs318.js +1 -1
  19. package/dist/index.cjs34.js +1 -1
  20. package/dist/index.cjs34.js.map +1 -1
  21. package/dist/index.cjs345.js +1 -1
  22. package/dist/index.cjs346.js +1 -1
  23. package/dist/index.cjs347.js +1 -1
  24. package/dist/index.cjs355.js +1 -1
  25. package/dist/index.cjs356.js +1 -1
  26. package/dist/index.cjs357.js +27 -1
  27. package/dist/index.cjs357.js.map +1 -1
  28. package/dist/index.cjs358.js +1 -2
  29. package/dist/index.cjs358.js.map +1 -1
  30. package/dist/index.cjs359.js +1 -27
  31. package/dist/index.cjs359.js.map +1 -1
  32. package/dist/index.cjs360.js +1 -1
  33. package/dist/index.cjs360.js.map +1 -1
  34. package/dist/index.cjs361.js +2 -1
  35. package/dist/index.cjs361.js.map +1 -1
  36. package/dist/index.cjs362.js +1 -1
  37. package/dist/index.cjs362.js.map +1 -1
  38. package/dist/index.cjs363.js +2 -0
  39. package/dist/index.cjs363.js.map +1 -0
  40. package/dist/index.cjs364.js +2 -0
  41. package/dist/index.cjs364.js.map +1 -0
  42. package/dist/{index.cjs369.js → index.cjs365.js} +1 -1
  43. package/dist/{index.cjs369.js.map → index.cjs365.js.map} +1 -1
  44. package/dist/index.cjs366.js +1 -1
  45. package/dist/index.cjs366.js.map +1 -1
  46. package/dist/index.cjs367.js +1 -1
  47. package/dist/index.cjs367.js.map +1 -1
  48. package/dist/index.cjs368.js +1 -1
  49. package/dist/index.cjs368.js.map +1 -1
  50. package/dist/index.cjs370.js +1 -1
  51. package/dist/index.cjs370.js.map +1 -1
  52. package/dist/index.cjs373.js +1 -1
  53. package/dist/index.cjs373.js.map +1 -1
  54. package/dist/index.cjs374.js +1 -1
  55. package/dist/index.cjs374.js.map +1 -1
  56. package/dist/index.cjs375.js +1 -1
  57. package/dist/index.cjs375.js.map +1 -1
  58. package/dist/{index.cjs378.js → index.cjs385.js} +2 -2
  59. package/dist/{index.cjs378.js.map → index.cjs385.js.map} +1 -1
  60. package/dist/{index.cjs379.js → index.cjs386.js} +2 -2
  61. package/dist/{index.cjs379.js.map → index.cjs386.js.map} +1 -1
  62. package/dist/{index.cjs380.js → index.cjs387.js} +2 -2
  63. package/dist/{index.cjs380.js.map → index.cjs387.js.map} +1 -1
  64. package/dist/{index.cjs381.js → index.cjs388.js} +1 -1
  65. package/dist/{index.cjs381.js.map → index.cjs388.js.map} +1 -1
  66. package/dist/{index.cjs382.js → index.cjs389.js} +2 -2
  67. package/dist/{index.cjs382.js.map → index.cjs389.js.map} +1 -1
  68. package/dist/{index.cjs383.js → index.cjs390.js} +1 -1
  69. package/dist/{index.cjs383.js.map → index.cjs390.js.map} +1 -1
  70. package/dist/{index.cjs384.js → index.cjs391.js} +2 -2
  71. package/dist/{index.cjs384.js.map → index.cjs391.js.map} +1 -1
  72. package/dist/{index.cjs392.js → index.cjs396.js} +1 -1
  73. package/dist/{index.cjs392.js.map → index.cjs396.js.map} +1 -1
  74. package/dist/index.cjs399.js +2 -0
  75. package/dist/index.cjs399.js.map +1 -0
  76. package/dist/index.cjs400.js +2 -0
  77. package/dist/index.cjs400.js.map +1 -0
  78. package/dist/index.cjs403.js +1 -1
  79. package/dist/index.cjs403.js.map +1 -1
  80. package/dist/index.cjs404.js +1 -1
  81. package/dist/index.cjs404.js.map +1 -1
  82. package/dist/index.cjs405.js +1 -1
  83. package/dist/index.cjs405.js.map +1 -1
  84. package/dist/index.cjs407.js +1 -1
  85. package/dist/index.cjs407.js.map +1 -1
  86. package/dist/index.cjs408.js +1 -1
  87. package/dist/index.cjs408.js.map +1 -1
  88. package/dist/index.cjs409.js +1 -1
  89. package/dist/index.cjs409.js.map +1 -1
  90. package/dist/index.cjs410.js +1 -1
  91. package/dist/index.cjs410.js.map +1 -1
  92. package/dist/index.cjs411.js +1 -1
  93. package/dist/index.cjs411.js.map +1 -1
  94. package/dist/index.cjs414.js +1 -1
  95. package/dist/index.cjs414.js.map +1 -1
  96. package/dist/index.cjs415.js +1 -1
  97. package/dist/index.cjs416.js +1 -1
  98. package/dist/index.cjs416.js.map +1 -1
  99. package/dist/index.cjs417.js +1 -1
  100. package/dist/index.cjs417.js.map +1 -1
  101. package/dist/index.cjs418.js +1 -1
  102. package/dist/index.cjs418.js.map +1 -1
  103. package/dist/index.cjs419.js +1 -1
  104. package/dist/index.cjs419.js.map +1 -1
  105. package/dist/index.cjs420.js +1 -1
  106. package/dist/index.cjs420.js.map +1 -1
  107. package/dist/index.cjs421.js +1 -1
  108. package/dist/index.cjs421.js.map +1 -1
  109. package/dist/index.cjs422.js +1 -1
  110. package/dist/index.cjs422.js.map +1 -1
  111. package/dist/index.cjs423.js +1 -1
  112. package/dist/index.cjs423.js.map +1 -1
  113. package/dist/index.cjs424.js +1 -1
  114. package/dist/index.cjs425.js +1 -1
  115. package/dist/index.cjs432.js +1 -1
  116. package/dist/index.cjs434.js +1 -1
  117. package/dist/index.cjs436.js +1 -1
  118. package/dist/index.cjs437.js +1 -1
  119. package/dist/index.cjs446.js +38 -1
  120. package/dist/index.cjs446.js.map +1 -1
  121. package/dist/index.cjs447.js +1 -38
  122. package/dist/index.cjs447.js.map +1 -1
  123. package/dist/index.cjs448.js +1 -1
  124. package/dist/index.cjs448.js.map +1 -1
  125. package/dist/index.cjs449.js +1 -1
  126. package/dist/index.cjs449.js.map +1 -1
  127. package/dist/index.cjs450.js +1 -1
  128. package/dist/index.cjs450.js.map +1 -1
  129. package/dist/index.cjs451.js +1 -1
  130. package/dist/index.cjs451.js.map +1 -1
  131. package/dist/index.cjs452.js +1 -1
  132. package/dist/index.cjs452.js.map +1 -1
  133. package/dist/index.cjs453.js +1 -1
  134. package/dist/index.cjs453.js.map +1 -1
  135. package/dist/index.cjs454.js +1 -1
  136. package/dist/index.cjs454.js.map +1 -1
  137. package/dist/index.cjs457.js +1 -1
  138. package/dist/index.cjs457.js.map +1 -1
  139. package/dist/index.cjs458.js +1 -1
  140. package/dist/index.cjs458.js.map +1 -1
  141. package/dist/index.cjs459.js +1 -1
  142. package/dist/index.cjs459.js.map +1 -1
  143. package/dist/index.cjs460.js +1 -1
  144. package/dist/index.cjs460.js.map +1 -1
  145. package/dist/index.cjs94.js +1 -1
  146. package/dist/index.cjs94.js.map +1 -1
  147. package/dist/index.d.ts +37 -22
  148. package/dist/index.es112.js +10 -6
  149. package/dist/index.es112.js.map +1 -1
  150. package/dist/index.es200.js +1 -1
  151. package/dist/index.es207.js +2 -2
  152. package/dist/index.es225.js +7 -7
  153. package/dist/index.es229.js +1 -1
  154. package/dist/index.es236.js +8 -8
  155. package/dist/index.es246.js +1 -1
  156. package/dist/index.es253.js +14 -14
  157. package/dist/index.es260.js +1 -1
  158. package/dist/index.es261.js +1 -1
  159. package/dist/index.es265.js +1 -1
  160. package/dist/index.es270.js +1 -1
  161. package/dist/index.es272.js +1 -1
  162. package/dist/index.es280.js +7 -7
  163. package/dist/index.es318.js +4 -4
  164. package/dist/index.es34.js +125 -107
  165. package/dist/index.es34.js.map +1 -1
  166. package/dist/index.es345.js +3 -3
  167. package/dist/index.es346.js +1 -1
  168. package/dist/index.es347.js +2 -2
  169. package/dist/index.es355.js +1 -1
  170. package/dist/index.es356.js +1 -1
  171. package/dist/index.es357.js +3674 -5
  172. package/dist/index.es357.js.map +1 -1
  173. package/dist/index.es358.js +5 -520
  174. package/dist/index.es358.js.map +1 -1
  175. package/dist/index.es359.js +2 -3675
  176. package/dist/index.es359.js.map +1 -1
  177. package/dist/index.es360.js +5 -5
  178. package/dist/index.es360.js.map +1 -1
  179. package/dist/index.es361.js +521 -2
  180. package/dist/index.es361.js.map +1 -1
  181. package/dist/index.es362.js +7 -15
  182. package/dist/index.es362.js.map +1 -1
  183. package/dist/index.es363.js +30 -0
  184. package/dist/index.es363.js.map +1 -0
  185. package/dist/index.es364.js +71 -0
  186. package/dist/index.es364.js.map +1 -0
  187. package/dist/{index.es369.js → index.es365.js} +1 -1
  188. package/dist/{index.es369.js.map → index.es365.js.map} +1 -1
  189. package/dist/index.es366.js +32 -26
  190. package/dist/index.es366.js.map +1 -1
  191. package/dist/index.es367.js +617 -63
  192. package/dist/index.es367.js.map +1 -1
  193. package/dist/index.es368.js +10 -6
  194. package/dist/index.es368.js.map +1 -1
  195. package/dist/index.es370.js +15 -6
  196. package/dist/index.es370.js.map +1 -1
  197. package/dist/index.es373.js +5 -32
  198. package/dist/index.es373.js.map +1 -1
  199. package/dist/index.es374.js +24 -621
  200. package/dist/index.es374.js.map +1 -1
  201. package/dist/index.es375.js +68 -10
  202. package/dist/index.es375.js.map +1 -1
  203. package/dist/{index.es378.js → index.es385.js} +4 -4
  204. package/dist/{index.es378.js.map → index.es385.js.map} +1 -1
  205. package/dist/{index.es379.js → index.es386.js} +3 -3
  206. package/dist/{index.es379.js.map → index.es386.js.map} +1 -1
  207. package/dist/{index.es380.js → index.es387.js} +3 -3
  208. package/dist/{index.es380.js.map → index.es387.js.map} +1 -1
  209. package/dist/{index.es381.js → index.es388.js} +1 -1
  210. package/dist/{index.es381.js.map → index.es388.js.map} +1 -1
  211. package/dist/{index.es382.js → index.es389.js} +4 -4
  212. package/dist/{index.es382.js.map → index.es389.js.map} +1 -1
  213. package/dist/{index.es383.js → index.es390.js} +1 -1
  214. package/dist/{index.es383.js.map → index.es390.js.map} +1 -1
  215. package/dist/{index.es384.js → index.es391.js} +2 -2
  216. package/dist/{index.es384.js.map → index.es391.js.map} +1 -1
  217. package/dist/{index.es392.js → index.es396.js} +1 -1
  218. package/dist/{index.es392.js.map → index.es396.js.map} +1 -1
  219. package/dist/index.es399.js +5 -0
  220. package/dist/index.es399.js.map +1 -0
  221. package/dist/index.es400.js +5 -0
  222. package/dist/index.es400.js.map +1 -0
  223. package/dist/index.es403.js +2017 -174
  224. package/dist/index.es403.js.map +1 -1
  225. package/dist/index.es404.js +60 -2
  226. package/dist/index.es404.js.map +1 -1
  227. package/dist/index.es405.js +189 -2
  228. package/dist/index.es405.js.map +1 -1
  229. package/dist/index.es407.js +46 -4
  230. package/dist/index.es407.js.map +1 -1
  231. package/dist/index.es408.js +7 -45
  232. package/dist/index.es408.js.map +1 -1
  233. package/dist/index.es409.js +217 -7
  234. package/dist/index.es409.js.map +1 -1
  235. package/dist/index.es410.js +163 -203
  236. package/dist/index.es410.js.map +1 -1
  237. package/dist/index.es411.js +3 -177
  238. package/dist/index.es411.js.map +1 -1
  239. package/dist/index.es414.js +8 -131
  240. package/dist/index.es414.js.map +1 -1
  241. package/dist/index.es415.js +1 -1
  242. package/dist/index.es416.js +3 -9
  243. package/dist/index.es416.js.map +1 -1
  244. package/dist/index.es417.js +131 -2
  245. package/dist/index.es417.js.map +1 -1
  246. package/dist/index.es418.js +202 -22
  247. package/dist/index.es418.js.map +1 -1
  248. package/dist/index.es419.js +20 -27
  249. package/dist/index.es419.js.map +1 -1
  250. package/dist/index.es420.js +393 -5
  251. package/dist/index.es420.js.map +1 -1
  252. package/dist/index.es421.js +22 -202
  253. package/dist/index.es421.js.map +1 -1
  254. package/dist/index.es422.js +27 -20
  255. package/dist/index.es422.js.map +1 -1
  256. package/dist/index.es423.js +5 -393
  257. package/dist/index.es423.js.map +1 -1
  258. package/dist/index.es424.js +1 -1
  259. package/dist/index.es425.js +1 -1
  260. package/dist/index.es432.js +8 -8
  261. package/dist/index.es434.js +1 -1
  262. package/dist/index.es436.js +5 -5
  263. package/dist/index.es437.js +1 -1
  264. package/dist/index.es446.js +69 -65
  265. package/dist/index.es446.js.map +1 -1
  266. package/dist/index.es447.js +8 -68
  267. package/dist/index.es447.js.map +1 -1
  268. package/dist/index.es448.js +14 -9
  269. package/dist/index.es448.js.map +1 -1
  270. package/dist/index.es449.js +62 -14
  271. package/dist/index.es449.js.map +1 -1
  272. package/dist/index.es450.js +64 -61
  273. package/dist/index.es450.js.map +1 -1
  274. package/dist/index.es451.js +3 -522
  275. package/dist/index.es451.js.map +1 -1
  276. package/dist/index.es452.js +509 -113
  277. package/dist/index.es452.js.map +1 -1
  278. package/dist/index.es453.js +121 -123
  279. package/dist/index.es453.js.map +1 -1
  280. package/dist/index.es454.js +128 -3
  281. package/dist/index.es454.js.map +1 -1
  282. package/dist/index.es457.js +11 -21
  283. package/dist/index.es457.js.map +1 -1
  284. package/dist/index.es458.js +26 -11
  285. package/dist/index.es458.js.map +1 -1
  286. package/dist/index.es459.js +4 -27
  287. package/dist/index.es459.js.map +1 -1
  288. package/dist/index.es460.js +22 -4
  289. package/dist/index.es460.js.map +1 -1
  290. package/dist/index.es94.js +1 -1
  291. package/dist/index.es94.js.map +1 -1
  292. package/dist/sections/Documents/Documents.css +1 -1
  293. package/package.json +1 -1
  294. package/dist/index.cjs371.js +0 -2
  295. package/dist/index.cjs371.js.map +0 -1
  296. package/dist/index.cjs372.js +0 -2
  297. package/dist/index.cjs372.js.map +0 -1
  298. package/dist/index.cjs401.js +0 -2
  299. package/dist/index.cjs401.js.map +0 -1
  300. package/dist/index.cjs402.js +0 -2
  301. package/dist/index.cjs402.js.map +0 -1
  302. package/dist/index.es371.js +0 -28
  303. package/dist/index.es371.js.map +0 -1
  304. package/dist/index.es372.js +0 -72
  305. package/dist/index.es372.js.map +0 -1
  306. package/dist/index.es401.js +0 -2035
  307. package/dist/index.es401.js.map +0 -1
  308. package/dist/index.es402.js +0 -63
  309. package/dist/index.es402.js.map +0 -1
  310. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
  311. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es411.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":";;;;;;;;;;;AAcA,IAAIA,IAAc,iCACdC,IAAgB,EAAE,SAAS,IAAO,YAAY,GAAM,GACpDC,IAAa,oBACb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AAA,cAC3D;AAAA,YACa,CAAA;AAAA,UACb;AAAA,QACA;AAAA,MACA;AAAA,IACK;AAAA,EACL;AACA;AACAG,EAAqB,cAAcD;AACnC,IAAIgB,KAA0B;AAAA,EAC5B,WAAW;AAAA,EACX,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,KAAK;AACP;AACA,SAASC,GAAqBC,GAAKvD,GAAK;AACtC,SAAIA,MAAQ,QAAcuD,IACnBA,MAAQ,cAAc,eAAeA,MAAQ,eAAe,cAAcA;AACnF;AACA,SAASL,GAAetB,GAAO9B,GAAaE,GAAK;AAC/C,QAAMuD,IAAMD,GAAqB1B,EAAM,KAAK5B,CAAG;AAC/C,MAAI,EAAAF,MAAgB,cAAc,CAAC,aAAa,YAAY,EAAE,SAASyD,CAAG,MACtE,EAAAzD,MAAgB,gBAAgB,CAAC,WAAW,WAAW,EAAE,SAASyD,CAAG;AACzE,WAAOF,GAAwBE,CAAG;AACpC;AACA,SAASnB,EAAWoB,GAAYC,IAAgB,IAAO;AACrD,QAAMC,IAA6B,SAAS;AAC5C,aAAWC,KAAaH;AAGtB,QAFIG,MAAcD,MAClBC,EAAU,MAAM,EAAE,eAAAF,GAAe,GAC7B,SAAS,kBAAkBC,GAA4B;AAE/D;AACA,SAASN,GAAUQ,GAAOC,GAAY;AACpC,SAAOD,EAAM,IAAI,CAACE,GAAGC,MAAUH,GAAOC,IAAaE,KAASH,EAAM,MAAM,CAAC;AAC3E;AACG,IAACI,KAAOzE,GACP0E,KAAO3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es411.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":";AAEG,IAACA,IAAmB,iCAAY,WAAWC,EAAM,kBAAkB,MAAM;AAC5E;","x_google_ignoreList":[0]}
@@ -1,136 +1,13 @@
1
- function r(e) {
2
- return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
- }
4
- function o(e, n) {
5
- e === void 0 && (e = {}), n === void 0 && (n = {});
6
- const u = ["__proto__", "constructor", "prototype"];
7
- Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
8
- typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
9
- });
10
- }
11
- const i = {
12
- body: {},
13
- addEventListener() {
14
- },
15
- removeEventListener() {
16
- },
17
- activeElement: {
18
- blur() {
19
- },
20
- nodeName: ""
21
- },
22
- querySelector() {
23
- return null;
24
- },
25
- querySelectorAll() {
26
- return [];
27
- },
28
- getElementById() {
29
- return null;
30
- },
31
- createEvent() {
32
- return {
33
- initEvent() {
34
- }
35
- };
36
- },
37
- createElement() {
38
- return {
39
- children: [],
40
- childNodes: [],
41
- style: {},
42
- setAttribute() {
43
- },
44
- getElementsByTagName() {
45
- return [];
46
- }
47
- };
48
- },
49
- createElementNS() {
50
- return {};
51
- },
52
- importNode() {
53
- return null;
54
- },
55
- location: {
56
- hash: "",
57
- host: "",
58
- hostname: "",
59
- href: "",
60
- origin: "",
61
- pathname: "",
62
- protocol: "",
63
- search: ""
64
- }
65
- };
66
- function s() {
67
- const e = typeof document < "u" ? document : {};
68
- return o(e, i), e;
69
- }
70
- const c = {
71
- document: i,
72
- navigator: {
73
- userAgent: ""
74
- },
75
- location: {
76
- hash: "",
77
- host: "",
78
- hostname: "",
79
- href: "",
80
- origin: "",
81
- pathname: "",
82
- protocol: "",
83
- search: ""
84
- },
85
- history: {
86
- replaceState() {
87
- },
88
- pushState() {
89
- },
90
- go() {
91
- },
92
- back() {
1
+ import { e as i, c as m } from "./index.es415.js";
2
+ function o(f, a, n, l) {
3
+ return f.params.createElements && Object.keys(l).forEach((e) => {
4
+ if (!n[e] && n.auto === !0) {
5
+ let t = i(f.el, `.${l[e]}`)[0];
6
+ t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
93
7
  }
94
- },
95
- CustomEvent: function() {
96
- return this;
97
- },
98
- addEventListener() {
99
- },
100
- removeEventListener() {
101
- },
102
- getComputedStyle() {
103
- return {
104
- getPropertyValue() {
105
- return "";
106
- }
107
- };
108
- },
109
- Image() {
110
- },
111
- Date() {
112
- },
113
- screen: {},
114
- setTimeout() {
115
- },
116
- clearTimeout() {
117
- },
118
- matchMedia() {
119
- return {};
120
- },
121
- requestAnimationFrame(e) {
122
- return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
123
- },
124
- cancelAnimationFrame(e) {
125
- typeof setTimeout > "u" || clearTimeout(e);
126
- }
127
- };
128
- function a() {
129
- const e = typeof window < "u" ? window : {};
130
- return o(e, c), e;
8
+ }), n;
131
9
  }
132
10
  export {
133
- a,
134
- s as g
11
+ o as c
135
12
  };
136
13
  //# sourceMappingURL=index.es414.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es414.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAOA,M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BAAqBC,GAAI;AACvB,IAAI,OAAO,aAAe,OAG1B,aAAaA,CAAE;AAAA,EACnB;AACA;AACA,SAASC,IAAY;AACnB,QAAMC,IAAM,OAAO,SAAW,MAAc,SAAS,CAAE;AACvD,SAAAZ,EAAOY,GAAKJ,CAAS,GACdI;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es414.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { a } from "./index.es414.js";
1
+ import { a } from "./index.es417.js";
2
2
  function y(e) {
3
3
  return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
4
4
  }
@@ -1,13 +1,7 @@
1
- import { e as i, c as m } from "./index.es415.js";
2
- function o(f, a, n, l) {
3
- return f.params.createElements && Object.keys(l).forEach((e) => {
4
- if (!n[e] && n.auto === !0) {
5
- let t = i(f.el, `.${l[e]}`)[0];
6
- t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
7
- }
8
- }), n;
1
+ function r(e) {
2
+ return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
9
3
  }
10
4
  export {
11
- o as c
5
+ r as c
12
6
  };
13
7
  //# sourceMappingURL=index.es416.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es416.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es416.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
@@ -1,7 +1,136 @@
1
1
  function r(e) {
2
- return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
2
+ return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
+ }
4
+ function o(e, n) {
5
+ e === void 0 && (e = {}), n === void 0 && (n = {});
6
+ const u = ["__proto__", "constructor", "prototype"];
7
+ Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
8
+ typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
9
+ });
10
+ }
11
+ const i = {
12
+ body: {},
13
+ addEventListener() {
14
+ },
15
+ removeEventListener() {
16
+ },
17
+ activeElement: {
18
+ blur() {
19
+ },
20
+ nodeName: ""
21
+ },
22
+ querySelector() {
23
+ return null;
24
+ },
25
+ querySelectorAll() {
26
+ return [];
27
+ },
28
+ getElementById() {
29
+ return null;
30
+ },
31
+ createEvent() {
32
+ return {
33
+ initEvent() {
34
+ }
35
+ };
36
+ },
37
+ createElement() {
38
+ return {
39
+ children: [],
40
+ childNodes: [],
41
+ style: {},
42
+ setAttribute() {
43
+ },
44
+ getElementsByTagName() {
45
+ return [];
46
+ }
47
+ };
48
+ },
49
+ createElementNS() {
50
+ return {};
51
+ },
52
+ importNode() {
53
+ return null;
54
+ },
55
+ location: {
56
+ hash: "",
57
+ host: "",
58
+ hostname: "",
59
+ href: "",
60
+ origin: "",
61
+ pathname: "",
62
+ protocol: "",
63
+ search: ""
64
+ }
65
+ };
66
+ function s() {
67
+ const e = typeof document < "u" ? document : {};
68
+ return o(e, i), e;
69
+ }
70
+ const c = {
71
+ document: i,
72
+ navigator: {
73
+ userAgent: ""
74
+ },
75
+ location: {
76
+ hash: "",
77
+ host: "",
78
+ hostname: "",
79
+ href: "",
80
+ origin: "",
81
+ pathname: "",
82
+ protocol: "",
83
+ search: ""
84
+ },
85
+ history: {
86
+ replaceState() {
87
+ },
88
+ pushState() {
89
+ },
90
+ go() {
91
+ },
92
+ back() {
93
+ }
94
+ },
95
+ CustomEvent: function() {
96
+ return this;
97
+ },
98
+ addEventListener() {
99
+ },
100
+ removeEventListener() {
101
+ },
102
+ getComputedStyle() {
103
+ return {
104
+ getPropertyValue() {
105
+ return "";
106
+ }
107
+ };
108
+ },
109
+ Image() {
110
+ },
111
+ Date() {
112
+ },
113
+ screen: {},
114
+ setTimeout() {
115
+ },
116
+ clearTimeout() {
117
+ },
118
+ matchMedia() {
119
+ return {};
120
+ },
121
+ requestAnimationFrame(e) {
122
+ return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
123
+ },
124
+ cancelAnimationFrame(e) {
125
+ typeof setTimeout > "u" || clearTimeout(e);
126
+ }
127
+ };
128
+ function a() {
129
+ const e = typeof window < "u" ? window : {};
130
+ return o(e, c), e;
3
131
  }
4
132
  export {
5
- r as c
133
+ a,
134
+ s as g
6
135
  };
7
136
  //# sourceMappingURL=index.es417.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es417.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es417.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAOA,MAAQ,QAAQ,OAAOA,KAAQ,YAAY,iBAAiBA,KAAOA,EAAI,gBAAgB;AAChG;AACA,SAASC,EAAOC,GAAQC,GAAK;AAC3B,EAAID,MAAW,WACbA,IAAS,CAAE,IAETC,MAAQ,WACVA,IAAM,CAAE;AAEV,QAAMC,IAAW,CAAC,aAAa,eAAe,WAAW;AACzD,SAAO,KAAKD,CAAG,EAAE,OAAO,CAAAE,MAAOD,EAAS,QAAQC,CAAG,IAAI,CAAC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AOO,GAAKF,CAAW,GAChBE;AACT;AACA,MAAMC,IAAY;AAAA,EAChB,UAAUH;AAAA,EACV,WAAW;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACD,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,UAAU;AAAA,IACV,QAAQ;AAAA,EACT;AAAA,EACD,SAAS;AAAA,IACP,eAAe;AAAA,IAAE;AAAA,IACjB,YAAY;AAAA,IAAE;AAAA,IACd,KAAK;AAAA,IAAE;AAAA,IACP,OAAO;AAAA,IAAA;AAAA,EACR;AAAA,EACD,aAAa,WAAuB;AAClC,WAAO;AAAA,EACR;AAAA,EACD,mBAAmB;AAAA,EAAE;AAAA,EACrB,sBAAsB;AAAA,EAAE;AAAA,EACxB,mBAAmB;AACjB,WAAO;AAAA,MACL,mBAAmB;AACjB,eAAO;AAAA,MACf;AAAA,IACK;AAAA,EACF;AAAA,EACD,QAAQ;AAAA,EAAE;AAAA,EACV,OAAO;AAAA,EAAE;AAAA,EACT,QAAQ,CAAE;AAAA,EACV,aAAa;AAAA,EAAE;AAAA,EACf,eAAe;AAAA,EAAE;AAAA,EACjB,aAAa;AACX,WAAO,CAAE;AAAA,EACV;AAAA,EACD,sBAAsBI,GAAU;AAC9B,WAAI,OAAO,aAAe,OACxBA,EAAU,GACH,QAEF,WAAWA,GAAU,CAAC;AAAA,EAC9B;AAAA,EACD,qBAAqBC,GAAI;AACvB,IAAI,OAAO,aAAe,OAG1B,aAAaA,CAAE;AAAA,EACnB;AACA;AACA,SAASC,IAAY;AACnB,QAAMC,IAAM,OAAO,SAAW,MAAc,SAAS,CAAE;AACvD,SAAAZ,EAAOY,GAAKJ,CAAS,GACdI;AACT;","x_google_ignoreList":[0]}
@@ -1,28 +1,208 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
1
+ import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, limitShift as X, arrow as L } from "./index.es420.js";
2
+ import { autoUpdate as me, platform as pe } from "./index.es420.js";
3
+ import * as f from "react";
4
+ import { useLayoutEffect as Y, useEffect as Z } from "react";
5
+ import * as b from "react-dom";
6
+ var w = typeof document < "u" ? Y : Z;
7
+ function R(e, t) {
8
+ if (e === t)
9
+ return !0;
10
+ if (typeof e != typeof t)
11
+ return !1;
12
+ if (typeof e == "function" && e.toString() === t.toString())
13
+ return !0;
14
+ let n, r, s;
15
+ if (e && t && typeof e == "object") {
16
+ if (Array.isArray(e)) {
17
+ if (n = e.length, n !== t.length) return !1;
18
+ for (r = n; r-- !== 0; )
19
+ if (!R(e[r], t[r]))
20
+ return !1;
21
+ return !0;
6
22
  }
7
- return e;
8
- }, p.apply(this, arguments);
9
- };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
23
+ if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
24
+ return !1;
25
+ for (r = n; r-- !== 0; )
26
+ if (!{}.hasOwnProperty.call(t, s[r]))
27
+ return !1;
28
+ for (r = n; r-- !== 0; ) {
29
+ const p = s[r];
30
+ if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
31
+ return !1;
32
+ }
33
+ return !0;
34
+ }
35
+ return e !== e && t !== t;
36
+ }
37
+ function A(e) {
38
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
39
+ }
40
+ function v(e, t) {
41
+ const n = A(e);
42
+ return Math.round(t * n) / n;
17
43
  }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
44
+ function E(e) {
45
+ const t = f.useRef(e);
46
+ return w(() => {
47
+ t.current = e;
48
+ }), t;
22
49
  }
50
+ function re(e) {
51
+ e === void 0 && (e = {});
52
+ const {
53
+ placement: t = "bottom",
54
+ strategy: n = "absolute",
55
+ middleware: r = [],
56
+ platform: s,
57
+ elements: {
58
+ reference: p,
59
+ floating: q
60
+ } = {},
61
+ transform: k = !0,
62
+ whileElementsMounted: D,
63
+ open: x
64
+ } = e, [i, O] = f.useState({
65
+ x: 0,
66
+ y: 0,
67
+ strategy: n,
68
+ placement: t,
69
+ middlewareData: {},
70
+ isPositioned: !1
71
+ }), [M, B] = f.useState(r);
72
+ R(M, r) || B(r);
73
+ const [U, V] = f.useState(null), [W, G] = f.useState(null), _ = f.useCallback((o) => {
74
+ o !== a.current && (a.current = o, V(o));
75
+ }, []), C = f.useCallback((o) => {
76
+ o !== d.current && (d.current = o, G(o));
77
+ }, []), u = p || U, l = q || W, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, S = E(D), P = E(s), F = E(x), g = f.useCallback(() => {
78
+ if (!a.current || !d.current)
79
+ return;
80
+ const o = {
81
+ placement: t,
82
+ strategy: n,
83
+ middleware: M
84
+ };
85
+ P.current && (o.platform = P.current), I(a.current, d.current, o).then((h) => {
86
+ const m = {
87
+ ...h,
88
+ // The floating element's position may be recomputed while it's closed
89
+ // but still mounted (such as when transitioning out). To ensure
90
+ // `isPositioned` will be `false` initially on the next open, avoid
91
+ // setting it to `true` when `open === false` (must be specified).
92
+ isPositioned: F.current !== !1
93
+ };
94
+ $.current && !R(y.current, m) && (y.current = m, b.flushSync(() => {
95
+ O(m);
96
+ }));
97
+ });
98
+ }, [M, t, n, P, F]);
99
+ w(() => {
100
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
101
+ ...o,
102
+ isPositioned: !1
103
+ })));
104
+ }, [x]);
105
+ const $ = f.useRef(!1);
106
+ w(() => ($.current = !0, () => {
107
+ $.current = !1;
108
+ }), []), w(() => {
109
+ if (u && (a.current = u), l && (d.current = l), u && l) {
110
+ if (S.current)
111
+ return S.current(u, l, g);
112
+ g();
113
+ }
114
+ }, [u, l, g, S, H]);
115
+ const j = f.useMemo(() => ({
116
+ reference: a,
117
+ floating: d,
118
+ setReference: _,
119
+ setFloating: C
120
+ }), [_, C]), c = f.useMemo(() => ({
121
+ reference: u,
122
+ floating: l
123
+ }), [u, l]), z = f.useMemo(() => {
124
+ const o = {
125
+ position: n,
126
+ left: 0,
127
+ top: 0
128
+ };
129
+ if (!c.floating)
130
+ return o;
131
+ const h = v(c.floating, i.x), m = v(c.floating, i.y);
132
+ return k ? {
133
+ ...o,
134
+ transform: "translate(" + h + "px, " + m + "px)",
135
+ ...A(c.floating) >= 1.5 && {
136
+ willChange: "transform"
137
+ }
138
+ } : {
139
+ position: n,
140
+ left: h,
141
+ top: m
142
+ };
143
+ }, [n, k, c.floating, i.x, i.y]);
144
+ return f.useMemo(() => ({
145
+ ...i,
146
+ update: g,
147
+ refs: j,
148
+ elements: c,
149
+ floatingStyles: z
150
+ }), [i, g, j, c, z]);
151
+ }
152
+ const ee = (e) => {
153
+ function t(n) {
154
+ return {}.hasOwnProperty.call(n, "current");
155
+ }
156
+ return {
157
+ name: "arrow",
158
+ options: e,
159
+ fn(n) {
160
+ const {
161
+ element: r,
162
+ padding: s
163
+ } = typeof e == "function" ? e(n) : e;
164
+ return r && t(r) ? r.current != null ? L({
165
+ element: r.current,
166
+ padding: s
167
+ }).fn(n) : {} : r ? L({
168
+ element: r,
169
+ padding: s
170
+ }).fn(n) : {};
171
+ }
172
+ };
173
+ }, fe = (e, t) => ({
174
+ ...J(e),
175
+ options: [e, t]
176
+ }), oe = (e, t) => ({
177
+ ...K(e),
178
+ options: [e, t]
179
+ }), se = (e, t) => ({
180
+ ...X(e),
181
+ options: [e, t]
182
+ }), ie = (e, t) => ({
183
+ ...N(e),
184
+ options: [e, t]
185
+ }), ue = (e, t) => ({
186
+ ...Q(e),
187
+ options: [e, t]
188
+ }), le = (e, t) => ({
189
+ ...T(e),
190
+ options: [e, t]
191
+ }), ce = (e, t) => ({
192
+ ...ee(e),
193
+ options: [e, t]
194
+ });
23
195
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
196
+ ce as arrow,
197
+ me as autoUpdate,
198
+ I as computePosition,
199
+ ie as flip,
200
+ le as hide,
201
+ se as limitShift,
202
+ fe as offset,
203
+ pe as platform,
204
+ oe as shift,
205
+ ue as size,
206
+ re as useFloating
27
207
  };
28
208
  //# sourceMappingURL=index.es418.js.map