@nethesis/phone-island 1.0.14-dev.1 → 1.0.15-dev.1

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 (709) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/App.js.map +1 -1
  3. package/dist/_virtual/index8.js +1 -1
  4. package/dist/_virtual/index9.js +1 -1
  5. package/dist/components/AlertGuard.js +1 -1
  6. package/dist/components/AlertGuard.js.map +1 -1
  7. package/dist/components/AlertView/index.js +1 -1
  8. package/dist/components/AlertView/index.js.map +1 -1
  9. package/dist/components/AudioBars.js +1 -1
  10. package/dist/components/AudioBars.js.map +1 -1
  11. package/dist/components/AudioPlayerView/Avatar.js +1 -1
  12. package/dist/components/AudioPlayerView/Avatar.js.map +1 -1
  13. package/dist/components/AudioPlayerView/PlayerFooterActions.js +1 -1
  14. package/dist/components/AudioPlayerView/PlayerFooterActions.js.map +1 -1
  15. package/dist/components/AudioPlayerView/Progress.js +1 -1
  16. package/dist/components/AudioPlayerView/Progress.js.map +1 -1
  17. package/dist/components/AudioPlayerView/index.js +1 -1
  18. package/dist/components/AudioPlayerView/index.js.map +1 -1
  19. package/dist/components/AvatarGroup.js +1 -1
  20. package/dist/components/AvatarGroup.js.map +1 -1
  21. package/dist/components/CallView/Actions.js +1 -1
  22. package/dist/components/CallView/Actions.js.map +1 -1
  23. package/dist/components/CallView/Avatar.js +1 -1
  24. package/dist/components/CallView/Avatar.js.map +1 -1
  25. package/dist/components/CallView/BackCall.js +1 -1
  26. package/dist/components/CallView/BackCall.js.map +1 -1
  27. package/dist/components/CallView/DeviceIcon.js +2 -0
  28. package/dist/components/CallView/DeviceIcon.js.map +1 -0
  29. package/dist/components/CallView/DisplayName.js +1 -1
  30. package/dist/components/CallView/DisplayName.js.map +1 -1
  31. package/dist/components/CallView/Number.js +1 -1
  32. package/dist/components/CallView/Number.js.map +1 -1
  33. package/dist/components/CallView/NumberPopover.js +2 -0
  34. package/dist/components/CallView/NumberPopover.js.map +1 -0
  35. package/dist/components/CallView/Timer.js +1 -1
  36. package/dist/components/CallView/Timer.js.map +1 -1
  37. package/dist/components/CallView/index.js +1 -1
  38. package/dist/components/CallView/index.js.map +1 -1
  39. package/dist/components/ConferenceView/ConferenceUsersList.js +1 -1
  40. package/dist/components/ConferenceView/ConferenceUsersList.js.map +1 -1
  41. package/dist/components/ConferenceView/index.js +1 -1
  42. package/dist/components/ConferenceView/index.js.map +1 -1
  43. package/dist/components/ContactView/ContactListView.js +1 -1
  44. package/dist/components/ContactView/ContactListView.js.map +1 -1
  45. package/dist/components/ContactView/ListAvatar.js +1 -1
  46. package/dist/components/ContactView/ListAvatar.js.map +1 -1
  47. package/dist/components/ContactView/SelectContactNumberView.js +1 -1
  48. package/dist/components/ContactView/SelectContactNumberView.js.map +1 -1
  49. package/dist/components/ContactView/TransferActions.js +1 -1
  50. package/dist/components/ContactView/TransferActions.js.map +1 -1
  51. package/dist/components/CustomThemedTooltip.js +1 -1
  52. package/dist/components/CustomThemedTooltip.js.map +1 -1
  53. package/dist/components/Dropdown.js +1 -1
  54. package/dist/components/Dropdown.js.map +1 -1
  55. package/dist/components/GenericAvatar.js +1 -1
  56. package/dist/components/GenericAvatar.js.map +1 -1
  57. package/dist/components/Hangup.js +1 -1
  58. package/dist/components/Hangup.js.map +1 -1
  59. package/dist/components/Island.js +1 -1
  60. package/dist/components/Island.js.map +1 -1
  61. package/dist/components/IslandDrag.js +1 -1
  62. package/dist/components/IslandDrag.js.map +1 -1
  63. package/dist/components/IslandMotion.js +1 -1
  64. package/dist/components/IslandMotion.js.map +1 -1
  65. package/dist/components/KeypadView/Actions.js +1 -1
  66. package/dist/components/KeypadView/Actions.js.map +1 -1
  67. package/dist/components/KeypadView/index.js +1 -1
  68. package/dist/components/KeypadView/index.js.map +1 -1
  69. package/dist/components/OperatorBusyView/index.js +1 -1
  70. package/dist/components/OperatorBusyView/index.js.map +1 -1
  71. package/dist/components/PhysicalRecorderView/PhysicalRecordingTimer.js +1 -1
  72. package/dist/components/PhysicalRecorderView/PhysicalRecordingTimer.js.map +1 -1
  73. package/dist/components/PhysicalRecorderView/index.js +1 -1
  74. package/dist/components/PhysicalRecorderView/index.js.map +1 -1
  75. package/dist/components/RecorderView/Actions.js +1 -1
  76. package/dist/components/RecorderView/Actions.js.map +1 -1
  77. package/dist/components/RecorderView/Bar.js +1 -1
  78. package/dist/components/RecorderView/Bar.js.map +1 -1
  79. package/dist/components/RecorderView/BarsGroup.js +1 -1
  80. package/dist/components/RecorderView/BarsGroup.js.map +1 -1
  81. package/dist/components/RecorderView/Timer.js +1 -1
  82. package/dist/components/RecorderView/Timer.js.map +1 -1
  83. package/dist/components/RecorderView/index.js +1 -1
  84. package/dist/components/RecorderView/index.js.map +1 -1
  85. package/dist/components/RestAPI.js +1 -1
  86. package/dist/components/RestAPI.js.map +1 -1
  87. package/dist/components/SettingsView/AudioView.js +1 -1
  88. package/dist/components/SettingsView/AudioView.js.map +1 -1
  89. package/dist/components/SettingsView/MicrophoneView.js +1 -1
  90. package/dist/components/SettingsView/MicrophoneView.js.map +1 -1
  91. package/dist/components/SettingsView/SettingsHeader.js +1 -1
  92. package/dist/components/SettingsView/SettingsHeader.js.map +1 -1
  93. package/dist/components/SettingsView/ThemeView.js +1 -1
  94. package/dist/components/SettingsView/ThemeView.js.map +1 -1
  95. package/dist/components/SettingsView/VideoInputView.js +1 -1
  96. package/dist/components/SettingsView/VideoInputView.js.map +1 -1
  97. package/dist/components/SettingsView/index.js +1 -1
  98. package/dist/components/SettingsView/index.js.map +1 -1
  99. package/dist/components/SideView/SideView.js +1 -1
  100. package/dist/components/SideView/SideView.js.map +1 -1
  101. package/dist/components/SideView/components/SideViewButton.js +1 -1
  102. package/dist/components/SideView/components/SideViewButton.js.map +1 -1
  103. package/dist/components/SideView/hooks/useSideViewLogic.js +1 -1
  104. package/dist/components/SideView/hooks/useSideViewLogic.js.map +1 -1
  105. package/dist/components/Socket.js +1 -1
  106. package/dist/components/Socket.js.map +1 -1
  107. package/dist/components/StreamingAnswerView/index.js +1 -1
  108. package/dist/components/StreamingAnswerView/index.js.map +1 -1
  109. package/dist/components/StreamingImage/index.js +1 -1
  110. package/dist/components/StreamingImage/index.js.map +1 -1
  111. package/dist/components/SwitchDeviceView/index.js +1 -1
  112. package/dist/components/SwitchDeviceView/index.js.map +1 -1
  113. package/dist/components/SwitchInputView/DropdownContent.js +1 -1
  114. package/dist/components/SwitchInputView/DropdownContent.js.map +1 -1
  115. package/dist/components/SwitchInputView/Index.js +1 -1
  116. package/dist/components/TextScroll.js +1 -1
  117. package/dist/components/TextScroll.js.map +1 -1
  118. package/dist/components/TranscriptionView/TranscriptionView.js +1 -1
  119. package/dist/components/TranscriptionView/TranscriptionView.js.map +1 -1
  120. package/dist/components/TransferButton.js +1 -1
  121. package/dist/components/TransferButton.js.map +1 -1
  122. package/dist/components/VideoStreamingEmptyState/index.js +1 -1
  123. package/dist/components/VideoStreamingEmptyState/index.js.map +1 -1
  124. package/dist/components/VideoStreamingSkeleton/index.js +1 -1
  125. package/dist/components/VideoStreamingSkeleton/index.js.map +1 -1
  126. package/dist/components/VideoView/index.js +1 -1
  127. package/dist/components/VideoView/index.js.map +1 -1
  128. package/dist/components/ViewsTransition.js +1 -1
  129. package/dist/components/ViewsTransition.js.map +1 -1
  130. package/dist/components/WebRTC.js +1 -1
  131. package/dist/components/WebRTC.js.map +1 -1
  132. package/dist/events/CallEvents.js +1 -1
  133. package/dist/events/CallEvents.js.map +1 -1
  134. package/dist/events/PlayerEvents.js +1 -1
  135. package/dist/events/PlayerEvents.js.map +1 -1
  136. package/dist/events/RecorderEvents.js +1 -1
  137. package/dist/events/RecorderEvents.js.map +1 -1
  138. package/dist/index.css +1 -1
  139. package/dist/lib/avatars/avatars.js +1 -1
  140. package/dist/lib/avatars/avatars.js.map +1 -1
  141. package/dist/lib/devices/devices.js +1 -1
  142. package/dist/lib/devices/devices.js.map +1 -1
  143. package/dist/lib/phone/audio.js +1 -1
  144. package/dist/lib/phone/audio.js.map +1 -1
  145. package/dist/lib/phone/call.js +1 -1
  146. package/dist/lib/phone/call.js.map +1 -1
  147. package/dist/lib/phone/conversation.js +1 -1
  148. package/dist/lib/phone/conversation.js.map +1 -1
  149. package/dist/lib/phone/counterpartDevice.js +2 -0
  150. package/dist/lib/phone/counterpartDevice.js.map +1 -0
  151. package/dist/lib/phone/queue.js +1 -1
  152. package/dist/lib/phone/queue.js.map +1 -1
  153. package/dist/lib/player/audio.js +1 -1
  154. package/dist/lib/player/audio.js.map +1 -1
  155. package/dist/lib/user/extensions.js +1 -1
  156. package/dist/lib/user/extensions.js.map +1 -1
  157. package/dist/lib/webrtc/janus.js +1 -1
  158. package/dist/lib/webrtc/janus.js.map +1 -1
  159. package/dist/lib/webrtc/messages.js +1 -1
  160. package/dist/lib/webrtc/messages.js.map +1 -1
  161. package/dist/models/conference.js +1 -1
  162. package/dist/models/conference.js.map +1 -1
  163. package/dist/models/currentCall.js +1 -1
  164. package/dist/models/currentCall.js.map +1 -1
  165. package/dist/models/mediaDevices.js +1 -1
  166. package/dist/models/mediaDevices.js.map +1 -1
  167. package/dist/models/player.js +1 -1
  168. package/dist/models/player.js.map +1 -1
  169. package/dist/models/queue.js +1 -1
  170. package/dist/models/queue.js.map +1 -1
  171. package/dist/models/ringtones.js +1 -1
  172. package/dist/models/ringtones.js.map +1 -1
  173. package/dist/models/streaming.js +1 -1
  174. package/dist/models/streaming.js.map +1 -1
  175. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -1
  176. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  177. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +1 -1
  178. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -1
  179. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -1
  180. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -1
  181. package/dist/node_modules/@babel/runtime/helpers/toPrimitive.js.map +1 -1
  182. package/dist/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js.map +1 -1
  183. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +1 -1
  184. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -1
  185. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js +1 -1
  186. package/dist/node_modules/@emotion/stylis/dist/stylis.browser.esm.js.map +1 -1
  187. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +1 -1
  188. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +1 -1
  189. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +1 -1
  190. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +1 -1
  191. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.mjs.js +1 -1
  192. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.mjs.js.map +1 -1
  193. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs.js +1 -1
  194. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs.js.map +1 -1
  195. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js +1 -1
  196. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +1 -1
  197. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +1 -1
  198. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js.map +1 -1
  199. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +1 -1
  200. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +1 -1
  201. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js +3 -3
  202. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js.map +1 -1
  203. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +1 -1
  204. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -1
  205. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +2 -0
  206. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js.map +1 -0
  207. package/dist/node_modules/@headlessui/react/dist/components/description/description.js +1 -1
  208. package/dist/node_modules/@headlessui/react/dist/components/description/description.js.map +1 -1
  209. package/dist/node_modules/@headlessui/react/dist/components/label/label.js +1 -1
  210. package/dist/node_modules/@headlessui/react/dist/components/label/label.js.map +1 -1
  211. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +1 -1
  212. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js.map +1 -1
  213. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +1 -1
  214. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js.map +1 -1
  215. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +1 -1
  216. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js.map +1 -1
  217. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +1 -1
  218. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js.map +1 -1
  219. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +1 -1
  220. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js.map +1 -1
  221. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +1 -1
  222. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js.map +1 -1
  223. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +1 -1
  224. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js.map +1 -1
  225. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +1 -1
  226. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js.map +1 -1
  227. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +1 -1
  228. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js.map +1 -1
  229. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +1 -1
  230. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +1 -1
  231. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +1 -1
  232. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +1 -1
  233. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +1 -1
  234. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js.map +1 -1
  235. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +1 -1
  236. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +1 -1
  237. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +1 -1
  238. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +1 -1
  239. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +1 -1
  240. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js.map +1 -1
  241. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +1 -1
  242. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js.map +1 -1
  243. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +1 -1
  244. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +1 -1
  245. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +1 -1
  246. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js.map +1 -1
  247. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +1 -1
  248. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +1 -1
  249. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +1 -1
  250. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +1 -1
  251. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js.map +1 -1
  252. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +1 -1
  253. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js.map +1 -1
  254. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +1 -1
  255. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +1 -1
  256. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +1 -1
  257. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +1 -1
  258. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +1 -1
  259. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js.map +1 -1
  260. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +1 -1
  261. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +1 -1
  262. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +1 -1
  263. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js.map +1 -1
  264. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +1 -1
  265. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +1 -1
  266. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +1 -1
  267. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js.map +1 -1
  268. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +1 -1
  269. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +1 -1
  270. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +1 -1
  271. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js.map +1 -1
  272. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +1 -1
  273. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +1 -1
  274. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +1 -1
  275. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +1 -1
  276. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +1 -1
  277. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +1 -1
  278. package/dist/node_modules/@headlessui/react/dist/internal/disabled.js.map +1 -1
  279. package/dist/node_modules/@headlessui/react/dist/internal/floating.js +1 -1
  280. package/dist/node_modules/@headlessui/react/dist/internal/floating.js.map +1 -1
  281. package/dist/node_modules/@headlessui/react/dist/internal/id.js.map +1 -1
  282. package/dist/node_modules/@headlessui/react/dist/machine.js +1 -1
  283. package/dist/node_modules/@headlessui/react/dist/machine.js.map +1 -1
  284. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +1 -1
  285. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js.map +1 -1
  286. package/dist/node_modules/@headlessui/react/dist/react-glue.js +1 -1
  287. package/dist/node_modules/@headlessui/react/dist/react-glue.js.map +1 -1
  288. package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +1 -1
  289. package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +1 -1
  290. package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +1 -1
  291. package/dist/node_modules/@headlessui/react/dist/utils/default-map.js.map +1 -1
  292. package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +1 -1
  293. package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +1 -1
  294. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +1 -1
  295. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js.map +1 -1
  296. package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +1 -1
  297. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +1 -1
  298. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +1 -1
  299. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +1 -1
  300. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js.map +1 -1
  301. package/dist/node_modules/@headlessui/react/dist/utils/match.js +1 -1
  302. package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +1 -1
  303. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +1 -1
  304. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +1 -1
  305. package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +1 -1
  306. package/dist/node_modules/@headlessui/react/dist/utils/render.js +1 -1
  307. package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +1 -1
  308. package/dist/node_modules/@headlessui/react/dist/utils/store.js +1 -1
  309. package/dist/node_modules/@headlessui/react/dist/utils/store.js.map +1 -1
  310. package/dist/node_modules/@react-aria/focus/dist/FocusScope.mjs.js +1 -1
  311. package/dist/node_modules/@react-aria/focus/dist/FocusScope.mjs.js.map +1 -1
  312. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.mjs.js +1 -1
  313. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.mjs.js.map +1 -1
  314. package/dist/node_modules/@react-aria/interactions/dist/useFocus.mjs.js +1 -1
  315. package/dist/node_modules/@react-aria/interactions/dist/useFocus.mjs.js.map +1 -1
  316. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs.js +1 -1
  317. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs.js.map +1 -1
  318. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs.js +1 -1
  319. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs.js.map +1 -1
  320. package/dist/node_modules/@react-aria/interactions/dist/useHover.mjs.js +1 -1
  321. package/dist/node_modules/@react-aria/interactions/dist/useHover.mjs.js.map +1 -1
  322. package/dist/node_modules/@react-aria/interactions/dist/utils.mjs.js +1 -1
  323. package/dist/node_modules/@react-aria/interactions/dist/utils.mjs.js.map +1 -1
  324. package/dist/node_modules/@react-aria/utils/dist/domHelpers.mjs.js.map +1 -1
  325. package/dist/node_modules/@react-aria/utils/dist/platform.mjs.js +1 -1
  326. package/dist/node_modules/@react-aria/utils/dist/platform.mjs.js.map +1 -1
  327. package/dist/node_modules/@react-aria/utils/dist/runAfterTransition.mjs.js +1 -1
  328. package/dist/node_modules/@react-aria/utils/dist/runAfterTransition.mjs.js.map +1 -1
  329. package/dist/node_modules/@react-aria/utils/dist/useEffectEvent.mjs.js +1 -1
  330. package/dist/node_modules/@react-aria/utils/dist/useEffectEvent.mjs.js.map +1 -1
  331. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs.js +1 -1
  332. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs.js.map +1 -1
  333. package/dist/node_modules/@react-aria/utils/dist/useId.mjs.js +1 -1
  334. package/dist/node_modules/@react-aria/utils/dist/useId.mjs.js.map +1 -1
  335. package/dist/node_modules/@rematch/core/dist/core.esm.js +1 -1
  336. package/dist/node_modules/@rematch/core/dist/core.esm.js.map +1 -1
  337. package/dist/node_modules/@rematch/immer/dist/immer.esm.js +1 -1
  338. package/dist/node_modules/@rematch/immer/dist/immer.esm.js.map +1 -1
  339. package/dist/node_modules/@rematch/select/dist/select.esm.js +1 -1
  340. package/dist/node_modules/@rematch/select/dist/select.esm.js.map +1 -1
  341. package/dist/node_modules/bowser/es5.js +1 -1
  342. package/dist/node_modules/bowser/es5.js.map +1 -1
  343. package/dist/node_modules/ebml-block/index.js +1 -1
  344. package/dist/node_modules/ebml-block/index.js.map +1 -1
  345. package/dist/node_modules/engine.io-client/build/esm/contrib/parseuri.js +1 -1
  346. package/dist/node_modules/engine.io-client/build/esm/contrib/parseuri.js.map +1 -1
  347. package/dist/node_modules/engine.io-client/build/esm/socket.js +1 -1
  348. package/dist/node_modules/engine.io-client/build/esm/socket.js.map +1 -1
  349. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +1 -1
  350. package/dist/node_modules/engine.io-client/build/esm/transports/polling-xhr.js.map +1 -1
  351. package/dist/node_modules/engine.io-client/build/esm/transports/polling.js +1 -1
  352. package/dist/node_modules/engine.io-client/build/esm/transports/polling.js.map +1 -1
  353. package/dist/node_modules/engine.io-client/build/esm/transports/websocket.js +1 -1
  354. package/dist/node_modules/engine.io-client/build/esm/transports/websocket.js.map +1 -1
  355. package/dist/node_modules/engine.io-client/build/esm/transports/webtransport.js +1 -1
  356. package/dist/node_modules/engine.io-client/build/esm/transports/webtransport.js.map +1 -1
  357. package/dist/node_modules/engine.io-client/build/esm/util.js +1 -1
  358. package/dist/node_modules/engine.io-client/build/esm/util.js.map +1 -1
  359. package/dist/node_modules/engine.io-parser/build/esm/commons.js +1 -1
  360. package/dist/node_modules/engine.io-parser/build/esm/commons.js.map +1 -1
  361. package/dist/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js.map +1 -1
  362. package/dist/node_modules/engine.io-parser/build/esm/decodePacket.browser.js.map +1 -1
  363. package/dist/node_modules/engine.io-parser/build/esm/encodePacket.browser.js +1 -1
  364. package/dist/node_modules/engine.io-parser/build/esm/encodePacket.browser.js.map +1 -1
  365. package/dist/node_modules/engine.io-parser/build/esm/index.js +1 -1
  366. package/dist/node_modules/engine.io-parser/build/esm/index.js.map +1 -1
  367. package/dist/node_modules/events/events.js +1 -1
  368. package/dist/node_modules/events/events.js.map +1 -1
  369. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js +1 -1
  370. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js.map +1 -1
  371. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js +1 -1
  372. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js.map +1 -1
  373. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js +1 -1
  374. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js.map +1 -1
  375. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js +1 -1
  376. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js.map +1 -1
  377. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js +1 -1
  378. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js.map +1 -1
  379. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js +1 -1
  380. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js.map +1 -1
  381. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js +1 -1
  382. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js.map +1 -1
  383. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js +1 -1
  384. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js.map +1 -1
  385. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js +1 -1
  386. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js.map +1 -1
  387. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js +1 -1
  388. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js.map +1 -1
  389. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js +1 -1
  390. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js.map +1 -1
  391. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js.map +1 -1
  392. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js +1 -1
  393. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js.map +1 -1
  394. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js +1 -1
  395. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js.map +1 -1
  396. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js +1 -1
  397. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js.map +1 -1
  398. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js +1 -1
  399. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js.map +1 -1
  400. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js +1 -1
  401. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map +1 -1
  402. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js +1 -1
  403. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js.map +1 -1
  404. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map +1 -1
  405. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js +1 -1
  406. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js.map +1 -1
  407. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js +1 -1
  408. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js.map +1 -1
  409. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js.map +1 -1
  410. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js +1 -1
  411. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js.map +1 -1
  412. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js +1 -1
  413. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js.map +1 -1
  414. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js +1 -1
  415. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js.map +1 -1
  416. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js +1 -1
  417. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js.map +1 -1
  418. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.mjs.js.map +1 -1
  419. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js +1 -1
  420. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js.map +1 -1
  421. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +1 -1
  422. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  423. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  424. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  425. package/dist/node_modules/i18next/dist/esm/i18next.js +1 -1
  426. package/dist/node_modules/i18next/dist/esm/i18next.js.map +1 -1
  427. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js +1 -1
  428. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js.map +1 -1
  429. package/dist/node_modules/immer/dist/immer.esm.mjs.js +1 -1
  430. package/dist/node_modules/immer/dist/immer.esm.mjs.js.map +1 -1
  431. package/dist/node_modules/int64-buffer/int64-buffer.js.map +1 -1
  432. package/dist/node_modules/js-base64/base64.mjs.js +1 -1
  433. package/dist/node_modules/js-base64/base64.mjs.js.map +1 -1
  434. package/dist/node_modules/mic-check/lib/index.js.map +1 -1
  435. package/dist/node_modules/mic-check/lib/requestMediaPermissions.js +1 -1
  436. package/dist/node_modules/mic-check/lib/requestMediaPermissions.js.map +1 -1
  437. package/dist/node_modules/moment/moment.js +1 -1
  438. package/dist/node_modules/moment/moment.js.map +1 -1
  439. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js +1 -1
  440. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js.map +1 -1
  441. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js +1 -1
  442. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js.map +1 -1
  443. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js.map +1 -1
  444. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js.map +1 -1
  445. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js.map +1 -1
  446. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js +1 -1
  447. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js.map +1 -1
  448. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js +1 -1
  449. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js.map +1 -1
  450. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js +1 -1
  451. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -1
  452. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +1 -1
  453. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -1
  454. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +1 -1
  455. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -1
  456. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js +1 -1
  457. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -1
  458. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js +1 -1
  459. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js.map +1 -1
  460. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js +1 -1
  461. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js.map +1 -1
  462. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js +1 -1
  463. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js.map +1 -1
  464. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js +1 -1
  465. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js.map +1 -1
  466. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js +1 -1
  467. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js.map +1 -1
  468. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js +1 -1
  469. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +1 -1
  470. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +1 -1
  471. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs.js.map +1 -1
  472. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js +1 -1
  473. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js.map +1 -1
  474. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js +1 -1
  475. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js.map +1 -1
  476. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js +1 -1
  477. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +1 -1
  478. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js +1 -1
  479. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js.map +1 -1
  480. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js.map +1 -1
  481. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs.js.map +1 -1
  482. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs.js.map +1 -1
  483. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js +1 -1
  484. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js.map +1 -1
  485. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js +1 -1
  486. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js.map +1 -1
  487. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js +1 -1
  488. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js.map +1 -1
  489. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +1 -1
  490. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -1
  491. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -1
  492. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +1 -1
  493. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +1 -1
  494. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +1 -1
  495. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +1 -1
  496. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -1
  497. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -1
  498. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +1 -1
  499. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +1 -1
  500. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +1 -1
  501. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -1
  502. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js.map +1 -1
  503. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
  504. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -1
  505. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +1 -1
  506. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -1
  507. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +1 -1
  508. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +1 -1
  509. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +1 -1
  510. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -1
  511. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js +1 -1
  512. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +1 -1
  513. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +1 -1
  514. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +1 -1
  515. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +1 -1
  516. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +1 -1
  517. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +1 -1
  518. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +1 -1
  519. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +1 -1
  520. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js.map +1 -1
  521. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js +1 -1
  522. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js.map +1 -1
  523. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js +1 -1
  524. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js.map +1 -1
  525. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js +1 -1
  526. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js.map +1 -1
  527. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js +1 -1
  528. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js.map +1 -1
  529. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js +1 -1
  530. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js.map +1 -1
  531. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js +1 -1
  532. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js.map +1 -1
  533. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs.js.map +1 -1
  534. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js.map +1 -1
  535. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs.js.map +1 -1
  536. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.mjs.js.map +1 -1
  537. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs.js.map +1 -1
  538. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js +1 -1
  539. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js.map +1 -1
  540. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js +1 -1
  541. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +1 -1
  542. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js +1 -1
  543. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js.map +1 -1
  544. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js.map +1 -1
  545. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js.map +1 -1
  546. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js +1 -1
  547. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js.map +1 -1
  548. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js.map +1 -1
  549. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
  550. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
  551. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -1
  552. package/dist/node_modules/react-i18next/dist/es/context.js +1 -1
  553. package/dist/node_modules/react-i18next/dist/es/context.js.map +1 -1
  554. package/dist/node_modules/react-i18next/dist/es/defaults.js +1 -1
  555. package/dist/node_modules/react-i18next/dist/es/defaults.js.map +1 -1
  556. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +1 -1
  557. package/dist/node_modules/react-i18next/dist/es/useTranslation.js.map +1 -1
  558. package/dist/node_modules/react-i18next/dist/es/utils.js +1 -1
  559. package/dist/node_modules/react-i18next/dist/es/utils.js.map +1 -1
  560. package/dist/node_modules/react-moment/dist/index.js +1 -1
  561. package/dist/node_modules/react-moment/dist/index.js.map +1 -1
  562. package/dist/node_modules/react-redux/es/components/Context.js +1 -1
  563. package/dist/node_modules/react-redux/es/components/Context.js.map +1 -1
  564. package/dist/node_modules/react-redux/es/components/Provider.js +1 -1
  565. package/dist/node_modules/react-redux/es/components/Provider.js.map +1 -1
  566. package/dist/node_modules/react-redux/es/hooks/useSelector.js.map +1 -1
  567. package/dist/node_modules/react-redux/es/utils/Subscription.js +1 -1
  568. package/dist/node_modules/react-redux/es/utils/Subscription.js.map +1 -1
  569. package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js +1 -1
  570. package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js.map +1 -1
  571. package/dist/node_modules/react-redux/es/utils/useSyncExternalStore.js.map +1 -1
  572. package/dist/node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  573. package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js +1 -1
  574. package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js.map +1 -1
  575. package/dist/node_modules/redux/es/redux.js +1 -1
  576. package/dist/node_modules/redux/es/redux.js.map +1 -1
  577. package/dist/node_modules/reselect/es/defaultMemoize.js +1 -1
  578. package/dist/node_modules/reselect/es/defaultMemoize.js.map +1 -1
  579. package/dist/node_modules/reselect/es/index.js +1 -1
  580. package/dist/node_modules/reselect/es/index.js.map +1 -1
  581. package/dist/node_modules/sdp/sdp.js +1 -1
  582. package/dist/node_modules/sdp/sdp.js.map +1 -1
  583. package/dist/node_modules/socket.io-client/build/esm/index.js.map +1 -1
  584. package/dist/node_modules/socket.io-client/build/esm/manager.js +1 -1
  585. package/dist/node_modules/socket.io-client/build/esm/manager.js.map +1 -1
  586. package/dist/node_modules/socket.io-client/build/esm/socket.js +1 -1
  587. package/dist/node_modules/socket.io-client/build/esm/socket.js.map +1 -1
  588. package/dist/node_modules/socket.io-parser/build/esm/is-binary.js +1 -1
  589. package/dist/node_modules/socket.io-parser/build/esm/is-binary.js.map +1 -1
  590. package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js +1 -1
  591. package/dist/node_modules/tslib/tslib.es6.js +1 -1
  592. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  593. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +1 -1
  594. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -1
  595. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +1 -1
  596. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -1
  597. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +1 -1
  598. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
  599. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +1 -1
  600. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -1
  601. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +1 -1
  602. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -1
  603. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +1 -1
  604. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -1
  605. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLDecoder.js +1 -1
  606. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLDecoder.js.map +1 -1
  607. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLEncoder.js +1 -1
  608. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLEncoder.js.map +1 -1
  609. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLReader.js +1 -1
  610. package/dist/node_modules/webm-duration-fix/lib/ebml/EBMLReader.js.map +1 -1
  611. package/dist/node_modules/webm-duration-fix/lib/ebml/ebmlID.js.map +1 -1
  612. package/dist/node_modules/webm-duration-fix/lib/ebml/index.js +1 -1
  613. package/dist/node_modules/webm-duration-fix/lib/ebml/index.js.map +1 -1
  614. package/dist/node_modules/webm-duration-fix/lib/ebml/tools-ebml.js +1 -1
  615. package/dist/node_modules/webm-duration-fix/lib/ebml/tools-ebml.js.map +1 -1
  616. package/dist/node_modules/webm-duration-fix/lib/ebml/tools.js +1 -1
  617. package/dist/node_modules/webm-duration-fix/lib/ebml/tools.js.map +1 -1
  618. package/dist/node_modules/webm-duration-fix/lib/index.js +1 -1
  619. package/dist/node_modules/webm-duration-fix/lib/index.js.map +1 -1
  620. package/dist/node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js +1 -1
  621. package/dist/node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js.map +1 -1
  622. package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js +1 -1
  623. package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js.map +1 -1
  624. package/dist/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
  625. package/dist/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
  626. package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js +1 -1
  627. package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js.map +1 -1
  628. package/dist/node_modules/webrtc-adapter/src/js/safari/safari_shim.js +1 -1
  629. package/dist/node_modules/webrtc-adapter/src/js/safari/safari_shim.js.map +1 -1
  630. package/dist/node_modules/webrtc-adapter/src/js/utils.js +1 -1
  631. package/dist/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
  632. package/dist/package.json.js +1 -1
  633. package/dist/public/locales/en/translation.json.js +1 -1
  634. package/dist/public/locales/it/translation.json.js +1 -1
  635. package/dist/services/astproxy.js +1 -1
  636. package/dist/services/astproxy.js.map +1 -1
  637. package/dist/services/history_call.js +1 -1
  638. package/dist/services/history_call.js.map +1 -1
  639. package/dist/services/offhour.js +1 -1
  640. package/dist/services/offhour.js.map +1 -1
  641. package/dist/services/phonebook.js +1 -1
  642. package/dist/services/phonebook.js.map +1 -1
  643. package/dist/services/user.js +1 -1
  644. package/dist/services/user.js.map +1 -1
  645. package/dist/services/voicemail.js +1 -1
  646. package/dist/services/voicemail.js.map +1 -1
  647. package/dist/store/index.js +1 -1
  648. package/dist/store/index.js.map +1 -1
  649. package/dist/styles/Island.styles.js +1 -1
  650. package/dist/styles/Island.styles.js.map +1 -1
  651. package/dist/utils/customHooks/useCommittedRef.js +1 -1
  652. package/dist/utils/customHooks/useCommittedRef.js.map +1 -1
  653. package/dist/utils/customHooks/useEventCallback.js +1 -1
  654. package/dist/utils/customHooks/useEventCallback.js.map +1 -1
  655. package/dist/utils/customHooks/useEventListener.js +1 -1
  656. package/dist/utils/customHooks/useEventListener.js.map +1 -1
  657. package/dist/utils/customHooks/useIntersectionObserver.js +1 -1
  658. package/dist/utils/customHooks/useIntersectionObserver.js.map +1 -1
  659. package/dist/utils/customHooks/useLocalStorage.js +1 -1
  660. package/dist/utils/customHooks/useLocalStorage.js.map +1 -1
  661. package/dist/utils/customHooks/useLongPress.js +1 -1
  662. package/dist/utils/customHooks/useLongPress.js.map +1 -1
  663. package/dist/utils/deviceUtils.js +1 -1
  664. package/dist/utils/deviceUtils.js.map +1 -1
  665. package/dist/utils/genericFunctions/checkConnection.js +1 -1
  666. package/dist/utils/genericFunctions/checkConnection.js.map +1 -1
  667. package/dist/utils/genericFunctions/isBackCallVisible.js +1 -1
  668. package/dist/utils/genericFunctions/isBackCallVisible.js.map +1 -1
  669. package/dist/utils/genericFunctions/withTimeout.js +1 -1
  670. package/dist/utils/genericFunctions/withTimeout.js.map +1 -1
  671. package/dist/utils/streaming/getStreamingSourceId.js +1 -1
  672. package/dist/utils/streaming/getStreamingSourceId.js.map +1 -1
  673. package/dist/utils/streaming/isFromStreaming.js +1 -1
  674. package/dist/utils/streaming/isFromStreaming.js.map +1 -1
  675. package/dist/utils/streaming/streamingUtils.js +1 -1
  676. package/dist/utils/streaming/streamingUtils.js.map +1 -1
  677. package/dist/workers/wake_up.js +1 -1
  678. package/dist/workers/wake_up.js.map +1 -1
  679. package/package.json +7 -7
  680. package/dist/_virtual/index10.js +0 -2
  681. package/dist/_virtual/index10.js.map +0 -1
  682. package/dist/_virtual/index11.js +0 -2
  683. package/dist/_virtual/index11.js.map +0 -1
  684. package/dist/_virtual/react-is.development4.js +0 -2
  685. package/dist/_virtual/react-is.development4.js.map +0 -1
  686. package/dist/_virtual/react-is.production.min4.js +0 -2
  687. package/dist/_virtual/react-is.production.min4.js.map +0 -1
  688. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -2
  689. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js.map +0 -1
  690. package/dist/node_modules/object-assign/index.js +0 -8
  691. package/dist/node_modules/object-assign/index.js.map +0 -1
  692. package/dist/node_modules/prop-types/checkPropTypes.js +0 -2
  693. package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
  694. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -2
  695. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  696. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -2
  697. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  698. package/dist/node_modules/prop-types/index.js +0 -2
  699. package/dist/node_modules/prop-types/index.js.map +0 -1
  700. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -2
  701. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  702. package/dist/node_modules/prop-types/lib/has.js +0 -2
  703. package/dist/node_modules/prop-types/lib/has.js.map +0 -1
  704. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -10
  705. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  706. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -10
  707. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  708. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -2
  709. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useFocusVisible.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useFocusVisible.mjs"],"sourcesContent":["import {ignoreFocusEvent as $8a9cb279dc87e130$export$fda7da73ab5d4c48} from \"./utils.mjs\";\nimport {isMac as $28AnR$isMac, isVirtualClick as $28AnR$isVirtualClick, getOwnerWindow as $28AnR$getOwnerWindow, getOwnerDocument as $28AnR$getOwnerDocument} from \"@react-aria/utils\";\nimport {useState as $28AnR$useState, useEffect as $28AnR$useEffect} from \"react\";\nimport {useIsSSR as $28AnR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nlet $507fabe10e71c6fb$var$currentModality = null;\nlet $507fabe10e71c6fb$var$changeHandlers = new Set();\nlet $507fabe10e71c6fb$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\nlet $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {\n for (let handler of $507fabe10e71c6fb$var$changeHandlers)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.\n */ function $507fabe10e71c6fb$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $28AnR$isMac)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $507fabe10e71c6fb$var$handleKeyboardEvent(e) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n if ($507fabe10e71c6fb$var$isValidKey(e)) {\n $507fabe10e71c6fb$var$currentModality = 'keyboard';\n $507fabe10e71c6fb$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handlePointerEvent(e) {\n $507fabe10e71c6fb$var$currentModality = 'pointer';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handleClickEvent(e) {\n if ((0, $28AnR$isVirtualClick)(e)) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n }\n}\nfunction $507fabe10e71c6fb$var$handleFocusEvent(e) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n if (e.target === window || e.target === document || (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) || !e.isTrusted) return;\n // If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n $507fabe10e71c6fb$var$triggerChangeHandlers('virtual', e);\n }\n $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n}\nfunction $507fabe10e71c6fb$var$handleWindowBlur() {\n if (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) return;\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {\n if (typeof window === 'undefined' || typeof document === 'undefined' || $507fabe10e71c6fb$export$d90243b58daecda7.get((0, $28AnR$getOwnerWindow)(element))) return;\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n let focus = windowObject.HTMLElement.prototype.focus;\n windowObject.HTMLElement.prototype.focus = function() {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n windowObject.addEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.addEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.removeEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n $507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $507fabe10e71c6fb$export$2f1888112f558a7d(element) {\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);\n}\n// Server-side rendering does not have the document object defined\n// eslint-disable-next-line no-restricted-globals\nif (typeof document !== 'undefined') $507fabe10e71c6fb$export$2f1888112f558a7d();\nfunction $507fabe10e71c6fb$export$b9b3dfddab17db27() {\n return $507fabe10e71c6fb$var$currentModality !== 'pointer';\n}\nfunction $507fabe10e71c6fb$export$630ff653c5ada6a9() {\n return $507fabe10e71c6fb$var$currentModality;\n}\nfunction $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {\n $507fabe10e71c6fb$var$currentModality = modality;\n $507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);\n}\nfunction $507fabe10e71c6fb$export$98e20ec92f614cfe() {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $28AnR$useState)($507fabe10e71c6fb$var$currentModality);\n (0, $28AnR$useEffect)(()=>{\n let handler = ()=>{\n setModality($507fabe10e71c6fb$var$currentModality);\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n }, []);\n return (0, $28AnR$useIsSSR)() ? null : modality;\n}\nconst $507fabe10e71c6fb$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n/**\n * If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that\n * focus visible style can be properly set.\n */ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n let document1 = (0, $28AnR$getOwnerDocument)(e === null || e === void 0 ? void 0 : e.target);\n const IHTMLInputElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;\n // For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)\n // we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element\n isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $507fabe10e71c6fb$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $28AnR$useState)(autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27());\n $507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n (0, $28AnR$useEffect)(()=>{\n let handler = (modality, e)=>{\n // We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape\n if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;\n fn($507fabe10e71c6fb$export$b9b3dfddab17db27());\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$507fabe10e71c6fb$export$d90243b58daecda7 as hasSetupGlobalListeners, $507fabe10e71c6fb$export$2f1888112f558a7d as addWindowFocusTracking, $507fabe10e71c6fb$export$b9b3dfddab17db27 as isFocusVisible, $507fabe10e71c6fb$export$630ff653c5ada6a9 as getInteractionModality, $507fabe10e71c6fb$export$8397ddfc504fdb9a as setInteractionModality, $507fabe10e71c6fb$export$98e20ec92f614cfe as useInteractionModality, $507fabe10e71c6fb$export$ffd9e5021c1fb2d6 as useFocusVisible, $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.module.js.map\n"],"names":["$507fabe10e71c6fb$var$currentModality","$507fabe10e71c6fb$var$changeHandlers","Set","$507fabe10e71c6fb$export$d90243b58daecda7","Map","$507fabe10e71c6fb$var$hasEventBeforeFocus","$507fabe10e71c6fb$var$hasBlurredWindowRecently","$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS","Tab","Escape","$507fabe10e71c6fb$var$triggerChangeHandlers","modality","e","handler","$507fabe10e71c6fb$var$handleKeyboardEvent","metaKey","$28AnR$isMac","altKey","ctrlKey","key","$507fabe10e71c6fb$var$isValidKey","$507fabe10e71c6fb$var$handlePointerEvent","type","$507fabe10e71c6fb$var$handleClickEvent","$28AnR$isVirtualClick","$507fabe10e71c6fb$var$handleFocusEvent","target","window","document","$8a9cb279dc87e130$export$fda7da73ab5d4c48","isTrusted","$507fabe10e71c6fb$var$handleWindowBlur","$507fabe10e71c6fb$var$setupGlobalFocusEvents","element","get","$28AnR$getOwnerWindow","windowObject","documentObject","$28AnR$getOwnerDocument","focus","HTMLElement","prototype","apply","this","arguments","addEventListener","PointerEvent","process","env","NODE_ENV","$507fabe10e71c6fb$var$tearDownWindowFocusTracking","once","set","loadListener","removeEventListener","has","delete","$507fabe10e71c6fb$export$2f1888112f558a7d","readyState","$507fabe10e71c6fb$export$b9b3dfddab17db27","$507fabe10e71c6fb$var$nonTextInputTypes","fn","deps","opts","$28AnR$useEffect","isTextInput","document1","IHTMLInputElement","HTMLInputElement","IHTMLTextAreaElement","HTMLTextAreaElement","IHTMLElement","IKeyboardEvent","KeyboardEvent","activeElement","isContentEditable","$507fabe10e71c6fb$var$isKeyboardFocusEvent","add"],"mappings":"0eAsCA,IAAIA,EAAmC,KACnCC,EAAiB,IAAIC,IAIdC,EAA2D,IAAIC,IACtEC,GAAsB,EACtBC,GAA2B,EAG/B,MAAMC,EAA2B,CAC/BC,KAAK,EACLC,QAAQ,GAGV,SAASC,EAAsBC,EAAoBC,GACjD,IAAK,IAAIC,KAAWZ,EAClBY,EAAQF,EAAUC,EAEtB,CAWA,SAASE,EAAoBF,GAC3BP,GAAsB,EAPxB,SAAoBO,GAElB,QAASA,EAAEG,UAAaC,EAAI,SAAOJ,EAAEK,QAAWL,EAAEM,SAAqB,YAAVN,EAAEO,KAA+B,UAAVP,EAAEO,KAA6B,SAAVP,EAAEO,IAC7G,CAKMC,CAAWR,KACbZ,EAAkB,WAClBU,EAAsB,WAAYE,GAEtC,CAEA,SAASS,EAAmBT,GAC1BZ,EAAkB,UACH,cAAXY,EAAEU,MAAmC,gBAAXV,EAAEU,OAC9BjB,GAAsB,EACtBK,EAAsB,UAAWE,GAErC,CAEA,SAASW,EAAiBX,GACpBY,EAAa,eAAEZ,KACjBP,GAAsB,EACtBL,EAAkB,UAEtB,CAEA,SAASyB,EAAiBb,GAIpBA,EAAEc,SAAWC,QAAUf,EAAEc,SAAWE,WAAYC,EAAe,kBAAMjB,EAAEkB,YAMtEzB,GAAwBC,IAC3BN,EAAkB,UAClBU,EAAsB,UAAWE,IAGnCP,GAAsB,EACtBC,GAA2B,EAC7B,CAEA,SAASyB,IAOP1B,GAAsB,EACtBC,GAA2B,CAC7B,CAKA,SAAS0B,EAAuBC,GAC9B,GAAsB,oBAAXN,QAA8C,oBAAbC,UAA4BzB,EAAwB+B,IAAIC,EAAa,eAAEF,IACjH,OAGF,MAAMG,EAAeD,EAAa,eAAEF,GAC9BI,EAAiBC,EAAe,iBAAEL,GAMxC,IAAIM,EAAQH,EAAaI,YAAYC,UAAUF,MAC/CH,EAAaI,YAAYC,UAAUF,MAAQ,WACzClC,GAAsB,EACtBkC,EAAMG,MAAMC,KAAMC,UACpB,EAEAP,EAAeQ,iBAAiB,UAAW/B,GAAqB,GAChEuB,EAAeQ,iBAAiB,QAAS/B,GAAqB,GAC9DuB,EAAeQ,iBAAiB,QAAStB,GAAkB,GAI3Da,EAAaS,iBAAiB,QAASpB,GAAkB,GACzDW,EAAaS,iBAAiB,OAAQd,GAAkB,GAE5B,oBAAjBe,cACTT,EAAeQ,iBAAiB,cAAexB,GAAoB,GACnEgB,EAAeQ,iBAAiB,cAAexB,GAAoB,GACnEgB,EAAeQ,iBAAiB,YAAaxB,GAAoB,IAC/B,SAAzB0B,QAAQC,IAAIC,WACrBZ,EAAeQ,iBAAiB,YAAaxB,GAAoB,GACjEgB,EAAeQ,iBAAiB,YAAaxB,GAAoB,GACjEgB,EAAeQ,iBAAiB,UAAWxB,GAAoB,IAIjEe,EAAaS,iBAAiB,gBAAgB,KAC5CK,EAA4BjB,EAAA,GAC3B,CAACkB,MAAM,IAEVhD,EAAwBiD,IAAIhB,EAAc,CAACG,MAAAA,GAC7C,CAEA,MAAMW,EAA8BA,CAACjB,EAASoB,KAC5C,MAAMjB,EAAeD,EAAa,eAAEF,GAC9BI,EAAiBC,EAAe,iBAAEL,GACpCoB,GACFhB,EAAeiB,oBAAoB,mBAAoBD,GAEpDlD,EAAwBoD,IAAInB,KAGjCA,EAAaI,YAAYC,UAAUF,MAAQpC,EAAwB+B,IAAIE,GAAeG,MAEtFF,EAAeiB,oBAAoB,UAAWxC,GAAqB,GACnEuB,EAAeiB,oBAAoB,QAASxC,GAAqB,GACjEuB,EAAeiB,oBAAoB,QAAS/B,GAAkB,GAE9Da,EAAakB,oBAAoB,QAAS7B,GAAkB,GAC5DW,EAAakB,oBAAoB,OAAQvB,GAAkB,GAE/B,oBAAjBe,cACTT,EAAeiB,oBAAoB,cAAejC,GAAoB,GACtEgB,EAAeiB,oBAAoB,cAAejC,GAAoB,GACtEgB,EAAeiB,oBAAoB,YAAajC,GAAoB,IAClC,SAAzB0B,QAAQC,IAAIC,WACrBZ,EAAeiB,oBAAoB,YAAajC,GAAoB,GACpEgB,EAAeiB,oBAAoB,YAAajC,GAAoB,GACpEgB,EAAeiB,oBAAoB,UAAWjC,GAAoB,IAGpElB,EAAwBqD,OAAOpB,GAAA,EAoB1B,SAASqB,EAAuBxB,GACrC,MAAMI,EAAiBC,EAAe,iBAAEL,GACxC,IAAIoB,EAUJ,MATkC,YAA9BhB,EAAeqB,WACjB1B,EAAuBC,IAEvBoB,EAAeA,KACbrB,EAAuBC,EAAA,EAEzBI,EAAeQ,iBAAiB,mBAAoBQ,IAG/C,IAAMH,EAA4BjB,EAASoB,EACpD,CAWO,SAASM,IACd,MAA2B,YAApB3D,CACT,CATwB,oBAAb4B,UACT6B,IAwCF,MAAMG,EAAoB,IAAI1D,IAAI,CAChC,WACA,QACA,QACA,QACA,OACA,QACA,SACA,SACA,sIAuCK,SAAiC2D,EAAyBC,EAA0BC,GACzF/B,IAEAgC,EAAQ,WAAE,KACR,IAAInD,EAAUA,CAACF,EAAoBC,MApCvC,SAA8BqD,EAAsBtD,EAAoBC,GACtE,IAAIsD,EAAW5B,EAAe,iBAAE1B,aAAA,EAAAA,EAAGc,QACnC,MAAMyC,EAAsC,oBAAXxC,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB0C,iBAAmBA,iBAC5GC,EAAyC,oBAAX1C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB4C,oBAAsBA,oBAClHC,EAAiC,oBAAX5C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmBc,YAAcA,YAClGgC,EAAmC,oBAAX7C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB+C,cAAgBA,cAQ5G,SAJAR,EAAcA,GACXC,EAASQ,yBAAyBP,IAAsBP,EAAkBL,IAAIW,EAASQ,cAAcpD,OACtG4C,EAASQ,yBAAyBL,GACjCH,EAASQ,yBAAyBH,GAAgBL,EAASQ,cAAcC,oBACvC,aAAbhE,GAA2BC,aAAa4D,IAAmBjE,EAAyBK,EAAEO,KAChH,EAwBWyD,IAAwBb,aAAAA,EAAAA,EAAME,aAActD,EAAUC,IAG3DiD,EAAGF,IAAA,EAGL,OADA1D,EAAe4E,IAAIhE,GACZ,KACLZ,EAAeuD,OAAO3C,EAAA,CACxB,GAECiD,EACL"}
1
+ {"version":3,"file":"useFocusVisible.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useFocusVisible.mjs"],"sourcesContent":["import {ignoreFocusEvent as $8a9cb279dc87e130$export$fda7da73ab5d4c48} from \"./utils.mjs\";\nimport {isMac as $28AnR$isMac, isVirtualClick as $28AnR$isVirtualClick, getOwnerWindow as $28AnR$getOwnerWindow, getOwnerDocument as $28AnR$getOwnerDocument} from \"@react-aria/utils\";\nimport {useState as $28AnR$useState, useEffect as $28AnR$useEffect} from \"react\";\nimport {useIsSSR as $28AnR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nlet $507fabe10e71c6fb$var$currentModality = null;\nlet $507fabe10e71c6fb$var$changeHandlers = new Set();\nlet $507fabe10e71c6fb$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\nlet $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {\n for (let handler of $507fabe10e71c6fb$var$changeHandlers)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.\n */ function $507fabe10e71c6fb$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $28AnR$isMac)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $507fabe10e71c6fb$var$handleKeyboardEvent(e) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n if ($507fabe10e71c6fb$var$isValidKey(e)) {\n $507fabe10e71c6fb$var$currentModality = 'keyboard';\n $507fabe10e71c6fb$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handlePointerEvent(e) {\n $507fabe10e71c6fb$var$currentModality = 'pointer';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $507fabe10e71c6fb$var$handleClickEvent(e) {\n if ((0, $28AnR$isVirtualClick)(e)) {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n }\n}\nfunction $507fabe10e71c6fb$var$handleFocusEvent(e) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n if (e.target === window || e.target === document || (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) || !e.isTrusted) return;\n // If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {\n $507fabe10e71c6fb$var$currentModality = 'virtual';\n $507fabe10e71c6fb$var$triggerChangeHandlers('virtual', e);\n }\n $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;\n}\nfunction $507fabe10e71c6fb$var$handleWindowBlur() {\n if (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) return;\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n $507fabe10e71c6fb$var$hasEventBeforeFocus = false;\n $507fabe10e71c6fb$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {\n if (typeof window === 'undefined' || typeof document === 'undefined' || $507fabe10e71c6fb$export$d90243b58daecda7.get((0, $28AnR$getOwnerWindow)(element))) return;\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n let focus = windowObject.HTMLElement.prototype.focus;\n windowObject.HTMLElement.prototype.focus = function() {\n $507fabe10e71c6fb$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n windowObject.addEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.addEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $28AnR$getOwnerWindow)(element);\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.removeEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);\n }\n $507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $507fabe10e71c6fb$export$2f1888112f558a7d(element) {\n const documentObject = (0, $28AnR$getOwnerDocument)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);\n}\n// Server-side rendering does not have the document object defined\n// eslint-disable-next-line no-restricted-globals\nif (typeof document !== 'undefined') $507fabe10e71c6fb$export$2f1888112f558a7d();\nfunction $507fabe10e71c6fb$export$b9b3dfddab17db27() {\n return $507fabe10e71c6fb$var$currentModality !== 'pointer';\n}\nfunction $507fabe10e71c6fb$export$630ff653c5ada6a9() {\n return $507fabe10e71c6fb$var$currentModality;\n}\nfunction $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {\n $507fabe10e71c6fb$var$currentModality = modality;\n $507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);\n}\nfunction $507fabe10e71c6fb$export$98e20ec92f614cfe() {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $28AnR$useState)($507fabe10e71c6fb$var$currentModality);\n (0, $28AnR$useEffect)(()=>{\n let handler = ()=>{\n setModality($507fabe10e71c6fb$var$currentModality);\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n }, []);\n return (0, $28AnR$useIsSSR)() ? null : modality;\n}\nconst $507fabe10e71c6fb$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n/**\n * If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that\n * focus visible style can be properly set.\n */ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n let document1 = (0, $28AnR$getOwnerDocument)(e === null || e === void 0 ? void 0 : e.target);\n const IHTMLInputElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;\n // For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)\n // we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element\n isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $507fabe10e71c6fb$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $28AnR$useState)(autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27());\n $507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $507fabe10e71c6fb$var$setupGlobalFocusEvents();\n (0, $28AnR$useEffect)(()=>{\n let handler = (modality, e)=>{\n // We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape\n if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;\n fn($507fabe10e71c6fb$export$b9b3dfddab17db27());\n };\n $507fabe10e71c6fb$var$changeHandlers.add(handler);\n return ()=>{\n $507fabe10e71c6fb$var$changeHandlers.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$507fabe10e71c6fb$export$d90243b58daecda7 as hasSetupGlobalListeners, $507fabe10e71c6fb$export$2f1888112f558a7d as addWindowFocusTracking, $507fabe10e71c6fb$export$b9b3dfddab17db27 as isFocusVisible, $507fabe10e71c6fb$export$630ff653c5ada6a9 as getInteractionModality, $507fabe10e71c6fb$export$8397ddfc504fdb9a as setInteractionModality, $507fabe10e71c6fb$export$98e20ec92f614cfe as useInteractionModality, $507fabe10e71c6fb$export$ffd9e5021c1fb2d6 as useFocusVisible, $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.module.js.map\n"],"names":["$507fabe10e71c6fb$var$currentModality","$507fabe10e71c6fb$var$changeHandlers","Set","$507fabe10e71c6fb$export$d90243b58daecda7","Map","$507fabe10e71c6fb$var$hasEventBeforeFocus","$507fabe10e71c6fb$var$hasBlurredWindowRecently","$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS","Tab","Escape","$507fabe10e71c6fb$var$triggerChangeHandlers","modality","e","handler","$507fabe10e71c6fb$var$handleKeyboardEvent","metaKey","$28AnR$isMac","altKey","ctrlKey","key","$507fabe10e71c6fb$var$isValidKey","$507fabe10e71c6fb$var$handlePointerEvent","type","$507fabe10e71c6fb$var$handleClickEvent","$28AnR$isVirtualClick","$507fabe10e71c6fb$var$handleFocusEvent","target","window","document","$8a9cb279dc87e130$export$fda7da73ab5d4c48","isTrusted","$507fabe10e71c6fb$var$handleWindowBlur","$507fabe10e71c6fb$var$setupGlobalFocusEvents","element","get","$28AnR$getOwnerWindow","windowObject","documentObject","$28AnR$getOwnerDocument","focus","HTMLElement","prototype","apply","this","arguments","addEventListener","PointerEvent","process","env","NODE_ENV","$507fabe10e71c6fb$var$tearDownWindowFocusTracking","once","set","loadListener","removeEventListener","has","delete","$507fabe10e71c6fb$export$2f1888112f558a7d","readyState","$507fabe10e71c6fb$export$b9b3dfddab17db27","$507fabe10e71c6fb$var$nonTextInputTypes","fn","deps","opts","$28AnR$useEffect","isTextInput","document1","IHTMLInputElement","HTMLInputElement","IHTMLTextAreaElement","HTMLTextAreaElement","IHTMLElement","IKeyboardEvent","KeyboardEvent","activeElement","isContentEditable","$507fabe10e71c6fb$var$isKeyboardFocusEvent","add"],"mappings":"0eAsCA,IAAIA,EAAmC,KACnCC,EAAiB,IAAIC,IAIdC,EAA2D,IAAIC,IACtEC,GAAsB,EACtBC,GAA2B,EAG/B,MAAMC,EAA2B,CAC/BC,KAAK,EACLC,QAAQ,GAGV,SAASC,EAAsBC,EAAoBC,GACjD,IAAK,IAAIC,KAAWZ,EAClBY,EAAQF,EAAUC,EAEtB,CAWA,SAASE,EAAoBF,GAC3BP,GAAsB,EAPxB,SAAoBO,GAElB,QAASA,EAAEG,UAAaC,EAAI,SAAOJ,EAAEK,QAAWL,EAAEM,SAAqB,YAAVN,EAAEO,KAA+B,UAAVP,EAAEO,KAA6B,SAAVP,EAAEO,IAC7G,CAKMC,CAAWR,KACbZ,EAAkB,WAClBU,EAAsB,WAAYE,GAEtC,CAEA,SAASS,EAAmBT,GAC1BZ,EAAkB,UACH,cAAXY,EAAEU,MAAmC,gBAAXV,EAAEU,OAC9BjB,GAAsB,EACtBK,EAAsB,UAAWE,GAErC,CAEA,SAASW,EAAiBX,GACpBY,EAAa,eAAEZ,KACjBP,GAAsB,EACtBL,EAAkB,UAEtB,CAEA,SAASyB,EAAiBb,GAIpBA,EAAEc,SAAWC,QAAUf,EAAEc,SAAWE,WAAYC,EAAe,kBAAMjB,EAAEkB,YAMtEzB,GAAwBC,IAC3BN,EAAkB,UAClBU,EAAsB,UAAWE,IAGnCP,GAAsB,EACtBC,GAA2B,EAC7B,CAEA,SAASyB,IAOP1B,GAAsB,EACtBC,GAA2B,CAC7B,CAKA,SAAS0B,EAAuBC,GAC9B,GAAsB,oBAAXN,QAA8C,oBAAbC,UAA4BzB,EAAwB+B,IAAIC,EAAa,eAAEF,IACjH,OAGF,MAAMG,EAAeD,EAAa,eAAEF,GAC9BI,EAAiBC,EAAe,iBAAEL,GAMxC,IAAIM,EAAQH,EAAaI,YAAYC,UAAUF,MAC/CH,EAAaI,YAAYC,UAAUF,MAAQ,WACzClC,GAAsB,EACtBkC,EAAMG,MAAMC,KAAMC,UACpB,EAEAP,EAAeQ,iBAAiB,UAAW/B,GAAqB,GAChEuB,EAAeQ,iBAAiB,QAAS/B,GAAqB,GAC9DuB,EAAeQ,iBAAiB,QAAStB,GAAkB,GAI3Da,EAAaS,iBAAiB,QAASpB,GAAkB,GACzDW,EAAaS,iBAAiB,OAAQd,GAAkB,GAE5B,oBAAjBe,cACTT,EAAeQ,iBAAiB,cAAexB,GAAoB,GACnEgB,EAAeQ,iBAAiB,cAAexB,GAAoB,GACnEgB,EAAeQ,iBAAiB,YAAaxB,GAAoB,IAC/B,SAAzB0B,QAAQC,IAAIC,WACrBZ,EAAeQ,iBAAiB,YAAaxB,GAAoB,GACjEgB,EAAeQ,iBAAiB,YAAaxB,GAAoB,GACjEgB,EAAeQ,iBAAiB,UAAWxB,GAAoB,IAIjEe,EAAaS,iBAAiB,eAAgB,KAC5CK,EAA4BjB,IAC3B,CAACkB,MAAM,IAEVhD,EAAwBiD,IAAIhB,EAAc,CAACG,MAAAA,GAC7C,CAEA,MAAMW,EAA8BA,CAACjB,EAASoB,KAC5C,MAAMjB,EAAeD,EAAa,eAAEF,GAC9BI,EAAiBC,EAAe,iBAAEL,GACpCoB,GACFhB,EAAeiB,oBAAoB,mBAAoBD,GAEpDlD,EAAwBoD,IAAInB,KAGjCA,EAAaI,YAAYC,UAAUF,MAAQpC,EAAwB+B,IAAIE,GAAeG,MAEtFF,EAAeiB,oBAAoB,UAAWxC,GAAqB,GACnEuB,EAAeiB,oBAAoB,QAASxC,GAAqB,GACjEuB,EAAeiB,oBAAoB,QAAS/B,GAAkB,GAE9Da,EAAakB,oBAAoB,QAAS7B,GAAkB,GAC5DW,EAAakB,oBAAoB,OAAQvB,GAAkB,GAE/B,oBAAjBe,cACTT,EAAeiB,oBAAoB,cAAejC,GAAoB,GACtEgB,EAAeiB,oBAAoB,cAAejC,GAAoB,GACtEgB,EAAeiB,oBAAoB,YAAajC,GAAoB,IAClC,SAAzB0B,QAAQC,IAAIC,WACrBZ,EAAeiB,oBAAoB,YAAajC,GAAoB,GACpEgB,EAAeiB,oBAAoB,YAAajC,GAAoB,GACpEgB,EAAeiB,oBAAoB,UAAWjC,GAAoB,IAGpElB,EAAwBqD,OAAOpB,KAoB1B,SAASqB,EAAuBxB,GACrC,MAAMI,EAAiBC,EAAe,iBAAEL,GACxC,IAAIoB,EAUJ,MATkC,YAA9BhB,EAAeqB,WACjB1B,EAAuBC,IAEvBoB,EAAeA,KACbrB,EAAuBC,IAEzBI,EAAeQ,iBAAiB,mBAAoBQ,IAG/C,IAAMH,EAA4BjB,EAASoB,EACpD,CAWO,SAASM,IACd,MAA2B,YAApB3D,CACT,CATwB,oBAAb4B,UACT6B,IAwCF,MAAMG,EAAoB,IAAI1D,IAAI,CAChC,WACA,QACA,QACA,QACA,OACA,QACA,SACA,SACA,sIAuCK,SAAiC2D,EAAyBC,EAA0BC,GACzF/B,IAEAgC,EAAQ,UAAE,KACR,IAAInD,EAAUA,CAACF,EAAoBC,MApCvC,SAA8BqD,EAAsBtD,EAAoBC,GACtE,IAAIsD,EAAW5B,EAAe,iBAAE1B,aAAA,EAAAA,EAAGc,QACnC,MAAMyC,EAAsC,oBAAXxC,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB0C,iBAAmBA,iBAC5GC,EAAyC,oBAAX1C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB4C,oBAAsBA,oBAClHC,EAAiC,oBAAX5C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmBc,YAAcA,YAClGgC,EAAmC,oBAAX7C,OAAyBQ,EAAa,eAAEvB,eAAAA,EAAGc,QAAmB+C,cAAgBA,cAQ5G,SAJAR,EAAcA,GACXC,EAASQ,yBAAyBP,IAAsBP,EAAkBL,IAAIW,EAASQ,cAAcpD,OACtG4C,EAASQ,yBAAyBL,GACjCH,EAASQ,yBAAyBH,GAAgBL,EAASQ,cAAcC,oBACvC,aAAbhE,GAA2BC,aAAa4D,IAAmBjE,EAAyBK,EAAEO,KAChH,EAwBWyD,IAAwBb,aAAAA,EAAAA,EAAME,aAActD,EAAUC,IAG3DiD,EAAGF,MAGL,OADA1D,EAAe4E,IAAIhE,GACZ,KACLZ,EAAeuD,OAAO3C,KAGvBiD,EACL"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils.mjs.js"),t=require("react");require("../../utils/dist/useId.mjs.js");var s=require("../../utils/dist/DOMFunctions.mjs.js"),r=require("../../utils/dist/domHelpers.mjs.js");require("../../utils/dist/platform.mjs.js"),require("../../utils/dist/runAfterTransition.mjs.js");var i=require("../../utils/dist/useGlobalListeners.mjs.js");require("../../utils/dist/useLayoutEffect.mjs.js"),require("../../utils/dist/useEffectEvent.mjs.js"),require("react-dom"),exports.useFocusWithin=function(u){let{isDisabled:n,onBlurWithin:o,onFocusWithin:c,onFocusWithinChange:a}=u,l=t.useRef({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:j}=i.useGlobalListeners(),g=t.useCallback((e=>{e.currentTarget.contains(e.target)&&l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,j(),o&&o(e),a&&a(!1))}),[o,a,l,j]),f=e.useSyntheticBlurEvent(g),v=t.useCallback((t=>{if(!t.currentTarget.contains(t.target))return;const i=r.getOwnerDocument(t.target),u=s.getActiveElement(i);if(!l.current.isFocusWithin&&u===s.getEventTarget(t.nativeEvent)){c&&c(t),a&&a(!0),l.current.isFocusWithin=!0,f(t);let r=t.currentTarget;d(i,"focus",(t=>{if(l.current.isFocusWithin&&!s.nodeContains(r,t.target)){let s=new i.defaultView.FocusEvent("blur",{relatedTarget:t.target});e.setEventTarget(s,r);let u=e.createSyntheticEvent(s);g(u)}}),{capture:!0})}}),[c,a,f,d,g]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:g}}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils.mjs.js"),t=require("react");require("../../utils/dist/useId.mjs.js");var s=require("../../utils/dist/DOMFunctions.mjs.js"),r=require("../../utils/dist/domHelpers.mjs.js");require("../../utils/dist/platform.mjs.js"),require("../../utils/dist/runAfterTransition.mjs.js");var i=require("../../utils/dist/useGlobalListeners.mjs.js");require("../../utils/dist/useLayoutEffect.mjs.js"),require("../../utils/dist/useEffectEvent.mjs.js"),require("react-dom"),exports.useFocusWithin=function(u){let{isDisabled:n,onBlurWithin:o,onFocusWithin:c,onFocusWithinChange:a}=u,l=t.useRef({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:j}=i.useGlobalListeners(),g=t.useCallback(e=>{e.currentTarget.contains(e.target)&&l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,j(),o&&o(e),a&&a(!1))},[o,a,l,j]),f=e.useSyntheticBlurEvent(g),v=t.useCallback(t=>{if(!t.currentTarget.contains(t.target))return;const i=r.getOwnerDocument(t.target),u=s.getActiveElement(i);if(!l.current.isFocusWithin&&u===s.getEventTarget(t.nativeEvent)){c&&c(t),a&&a(!0),l.current.isFocusWithin=!0,f(t);let r=t.currentTarget;d(i,"focus",t=>{if(l.current.isFocusWithin&&!s.nodeContains(r,t.target)){let s=new i.defaultView.FocusEvent("blur",{relatedTarget:t.target});e.setEventTarget(s,r);let u=e.createSyntheticEvent(s);g(u)}},{capture:!0})}},[c,a,f,d,g]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:g}}};
2
2
  //# sourceMappingURL=useFocusWithin.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFocusWithin.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useFocusWithin.mjs"],"sourcesContent":["import {createSyntheticEvent as $8a9cb279dc87e130$export$525bc4921d56d4a, setEventTarget as $8a9cb279dc87e130$export$c2b7abe5d61ec696, useSyntheticBlurEvent as $8a9cb279dc87e130$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useRef as $3b9Q0$useRef, useCallback as $3b9Q0$useCallback} from \"react\";\nimport {useGlobalListeners as $3b9Q0$useGlobalListeners, getOwnerDocument as $3b9Q0$getOwnerDocument, getActiveElement as $3b9Q0$getActiveElement, getEventTarget as $3b9Q0$getEventTarget, nodeContains as $3b9Q0$nodeContains} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\nfunction $9ab94262bd0047c7$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $3b9Q0$useRef)({\n isFocusWithin: false\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $3b9Q0$useGlobalListeners)();\n let onBlur = (0, $3b9Q0$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!e.currentTarget.contains(e.target)) return;\n // We don't want to trigger onBlurWithin and then immediately onFocusWithin again\n // when moving focus inside the element. Only trigger if the currentTarget doesn't\n // include the relatedTarget (where focus is moving).\n if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {\n state.current.isFocusWithin = false;\n removeAllGlobalListeners();\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state,\n removeAllGlobalListeners\n ]);\n let onSyntheticFocus = (0, $8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $3b9Q0$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!e.currentTarget.contains(e.target)) return;\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n const ownerDocument = (0, $3b9Q0$getOwnerDocument)(e.target);\n const activeElement = (0, $3b9Q0$getActiveElement)(ownerDocument);\n if (!state.current.isFocusWithin && activeElement === (0, $3b9Q0$getEventTarget)(e.nativeEvent)) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n // Browsers don't fire blur events when elements are removed from the DOM.\n // However, if a focus event occurs outside the element we're tracking, we\n // can manually fire onBlur.\n let currentTarget = e.currentTarget;\n addGlobalListener(ownerDocument, 'focus', (e)=>{\n if (state.current.isFocusWithin && !(0, $3b9Q0$nodeContains)(currentTarget, e.target)) {\n let nativeEvent = new ownerDocument.defaultView.FocusEvent('blur', {\n relatedTarget: e.target\n });\n (0, $8a9cb279dc87e130$export$c2b7abe5d61ec696)(nativeEvent, currentTarget);\n let event = (0, $8a9cb279dc87e130$export$525bc4921d56d4a)(nativeEvent);\n onBlur(event);\n }\n }, {\n capture: true\n });\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus,\n addGlobalListener,\n onBlur\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These cannot be null, that would conflict in mergeProps\n onFocus: undefined,\n onBlur: undefined\n }\n };\n return {\n focusWithinProps: {\n onFocus: onFocus,\n onBlur: onBlur\n }\n };\n}\n\n\nexport {$9ab94262bd0047c7$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.module.js.map\n"],"names":["props","isDisabled","onBlurWithin","onFocusWithin","onFocusWithinChange","state","$3b9Q0$useRef","isFocusWithin","addGlobalListener","removeAllGlobalListeners","$3b9Q0$useGlobalListeners","onBlur","$3b9Q0$useCallback","e","currentTarget","contains","target","current","relatedTarget","onSyntheticFocus","$8a9cb279dc87e130$export$715c682d09d639cc","onFocus","ownerDocument","$3b9Q0$getOwnerDocument","activeElement","$3b9Q0$getActiveElement","$3b9Q0$getEventTarget","nativeEvent","$3b9Q0$nodeContains","defaultView","FocusEvent","$8a9cb279dc87e130$export$c2b7abe5d61ec696","event","$8a9cb279dc87e130$export$525bc4921d56d4a","capture","focusWithinProps","undefined"],"mappings":"qjBAyCO,SAAwBA,GAC7B,IAAIC,WACFA,EAAUC,aACVA,EAAYC,cACZA,EAAaC,oBACbA,GACEJ,EACAK,EAAQC,EAAK,OAAE,CACjBC,eAAe,KAGbC,kBAACA,EAAiBC,yBAAEA,GAA4BC,EAAiB,qBAEjEC,EAASC,EAAU,aAAGC,IAEnBA,EAAEC,cAAcC,SAASF,EAAEG,SAO5BX,EAAMY,QAAQV,gBAAkBM,EAAGC,cAA0BC,SAASF,EAAEK,iBAC1Eb,EAAMY,QAAQV,eAAgB,EAC9BE,IAEIP,GACFA,EAAaW,GAGXT,GACFA,GAAoB,GAExB,GACC,CAACF,EAAcE,EAAqBC,EAAOI,IAE1CU,EAAmBC,EAAoB,sBAAET,GACzCU,EAAUT,EAAU,aAAGC,IAEzB,IAAKA,EAAEC,cAAcC,SAASF,EAAEG,QAC9B,OAKF,MAAMM,EAAgBC,EAAe,iBAAEV,EAAEG,QACnCQ,EAAgBC,EAAe,iBAAEH,GACvC,IAAKjB,EAAMY,QAAQV,eAAiBiB,IAAkBE,EAAa,eAAEb,EAAEc,aAAc,CAC/ExB,GACFA,EAAcU,GAGZT,GACFA,GAAoB,GAGtBC,EAAMY,QAAQV,eAAgB,EAC9BY,EAAiBN,GAKjB,IAAIC,EAAgBD,EAAEC,cACtBN,EAAkBc,EAAe,SAAST,IACxC,GAAIR,EAAMY,QAAQV,gBAAkBqB,EAAW,aAAEd,EAAeD,EAAEG,QAAoB,CACpF,IAAIW,EAAc,IAAIL,EAAcO,YAAaC,WAAW,OAAQ,CAACZ,cAAeL,EAAEG,SACtFe,EAAa,eAAEJ,EAAab,GAC5B,IAAIkB,EAAQC,EAAmB,qBAAcN,GAC7ChB,EAAOqB,EACT,IACC,CAACE,SAAS,GACf,IACC,CAAC/B,EAAeC,EAAqBe,EAAkBX,EAAmBG,IAE7E,OAAIV,EACK,CACLkC,iBAAkB,CAEhBd,aAASe,EACTzB,YAAQyB,IAKP,CACLD,iBAAkB,SAChBd,EACAV,OAAAA,GAGN"}
1
+ {"version":3,"file":"useFocusWithin.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useFocusWithin.mjs"],"sourcesContent":["import {createSyntheticEvent as $8a9cb279dc87e130$export$525bc4921d56d4a, setEventTarget as $8a9cb279dc87e130$export$c2b7abe5d61ec696, useSyntheticBlurEvent as $8a9cb279dc87e130$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useRef as $3b9Q0$useRef, useCallback as $3b9Q0$useCallback} from \"react\";\nimport {useGlobalListeners as $3b9Q0$useGlobalListeners, getOwnerDocument as $3b9Q0$getOwnerDocument, getActiveElement as $3b9Q0$getActiveElement, getEventTarget as $3b9Q0$getEventTarget, nodeContains as $3b9Q0$nodeContains} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\nfunction $9ab94262bd0047c7$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $3b9Q0$useRef)({\n isFocusWithin: false\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $3b9Q0$useGlobalListeners)();\n let onBlur = (0, $3b9Q0$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!e.currentTarget.contains(e.target)) return;\n // We don't want to trigger onBlurWithin and then immediately onFocusWithin again\n // when moving focus inside the element. Only trigger if the currentTarget doesn't\n // include the relatedTarget (where focus is moving).\n if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {\n state.current.isFocusWithin = false;\n removeAllGlobalListeners();\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state,\n removeAllGlobalListeners\n ]);\n let onSyntheticFocus = (0, $8a9cb279dc87e130$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $3b9Q0$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!e.currentTarget.contains(e.target)) return;\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n const ownerDocument = (0, $3b9Q0$getOwnerDocument)(e.target);\n const activeElement = (0, $3b9Q0$getActiveElement)(ownerDocument);\n if (!state.current.isFocusWithin && activeElement === (0, $3b9Q0$getEventTarget)(e.nativeEvent)) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n // Browsers don't fire blur events when elements are removed from the DOM.\n // However, if a focus event occurs outside the element we're tracking, we\n // can manually fire onBlur.\n let currentTarget = e.currentTarget;\n addGlobalListener(ownerDocument, 'focus', (e)=>{\n if (state.current.isFocusWithin && !(0, $3b9Q0$nodeContains)(currentTarget, e.target)) {\n let nativeEvent = new ownerDocument.defaultView.FocusEvent('blur', {\n relatedTarget: e.target\n });\n (0, $8a9cb279dc87e130$export$c2b7abe5d61ec696)(nativeEvent, currentTarget);\n let event = (0, $8a9cb279dc87e130$export$525bc4921d56d4a)(nativeEvent);\n onBlur(event);\n }\n }, {\n capture: true\n });\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus,\n addGlobalListener,\n onBlur\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These cannot be null, that would conflict in mergeProps\n onFocus: undefined,\n onBlur: undefined\n }\n };\n return {\n focusWithinProps: {\n onFocus: onFocus,\n onBlur: onBlur\n }\n };\n}\n\n\nexport {$9ab94262bd0047c7$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.module.js.map\n"],"names":["props","isDisabled","onBlurWithin","onFocusWithin","onFocusWithinChange","state","$3b9Q0$useRef","isFocusWithin","addGlobalListener","removeAllGlobalListeners","$3b9Q0$useGlobalListeners","onBlur","$3b9Q0$useCallback","e","currentTarget","contains","target","current","relatedTarget","onSyntheticFocus","$8a9cb279dc87e130$export$715c682d09d639cc","onFocus","ownerDocument","$3b9Q0$getOwnerDocument","activeElement","$3b9Q0$getActiveElement","$3b9Q0$getEventTarget","nativeEvent","$3b9Q0$nodeContains","defaultView","FocusEvent","$8a9cb279dc87e130$export$c2b7abe5d61ec696","event","$8a9cb279dc87e130$export$525bc4921d56d4a","capture","focusWithinProps","undefined"],"mappings":"qjBAyCO,SAAwBA,GAC7B,IAAIC,WACFA,EAAUC,aACVA,EAAYC,cACZA,EAAaC,oBACbA,GACEJ,EACAK,EAAQC,EAAK,OAAE,CACjBC,eAAe,KAGbC,kBAACA,EAAiBC,yBAAEA,GAA4BC,EAAiB,qBAEjEC,EAASC,EAAU,YAAGC,IAEnBA,EAAEC,cAAcC,SAASF,EAAEG,SAO5BX,EAAMY,QAAQV,gBAAkBM,EAAGC,cAA0BC,SAASF,EAAEK,iBAC1Eb,EAAMY,QAAQV,eAAgB,EAC9BE,IAEIP,GACFA,EAAaW,GAGXT,GACFA,GAAoB,KAGvB,CAACF,EAAcE,EAAqBC,EAAOI,IAE1CU,EAAmBC,EAAoB,sBAAET,GACzCU,EAAUT,EAAU,YAAGC,IAEzB,IAAKA,EAAEC,cAAcC,SAASF,EAAEG,QAC9B,OAKF,MAAMM,EAAgBC,EAAe,iBAAEV,EAAEG,QACnCQ,EAAgBC,EAAe,iBAAEH,GACvC,IAAKjB,EAAMY,QAAQV,eAAiBiB,IAAkBE,EAAa,eAAEb,EAAEc,aAAc,CAC/ExB,GACFA,EAAcU,GAGZT,GACFA,GAAoB,GAGtBC,EAAMY,QAAQV,eAAgB,EAC9BY,EAAiBN,GAKjB,IAAIC,EAAgBD,EAAEC,cACtBN,EAAkBc,EAAe,QAAST,IACxC,GAAIR,EAAMY,QAAQV,gBAAkBqB,EAAW,aAAEd,EAAeD,EAAEG,QAAoB,CACpF,IAAIW,EAAc,IAAIL,EAAcO,YAAaC,WAAW,OAAQ,CAACZ,cAAeL,EAAEG,SACtFe,EAAa,eAAEJ,EAAab,GAC5B,IAAIkB,EAAQC,EAAmB,qBAAcN,GAC7ChB,EAAOqB,EACT,GACC,CAACE,SAAS,GACf,GACC,CAAC/B,EAAeC,EAAqBe,EAAkBX,EAAmBG,IAE7E,OAAIV,EACK,CACLkC,iBAAkB,CAEhBd,aAASe,EACTzB,YAAQyB,IAKP,CACLD,iBAAkB,SAChBd,EACAV,OAAAA,GAGN"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../utils/dist/useId.mjs.js");var e=require("../../utils/dist/DOMFunctions.mjs.js"),t=require("../../utils/dist/domHelpers.mjs.js");require("../../utils/dist/platform.mjs.js");var r=require("react");require("../../utils/dist/runAfterTransition.mjs.js");var n=require("../../utils/dist/useGlobalListeners.mjs.js");require("../../utils/dist/useLayoutEffect.mjs.js"),require("../../utils/dist/useEffectEvent.mjs.js"),require("react-dom");let o=!1,s=0;function i(){o=!0,setTimeout((()=>{o=!1}),50)}function u(e){"touch"===e.pointerType&&i()}function a(){if("undefined"!=typeof document)return 0===s&&("undefined"!=typeof PointerEvent?document.addEventListener("pointerup",u):"test"===process.env.NODE_ENV&&document.addEventListener("touchend",i)),s++,()=>{s--,s>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",u):"test"===process.env.NODE_ENV&&document.removeEventListener("touchend",i))}}exports.useHover=function(s){let{onHoverStart:i,onHoverChange:u,onHoverEnd:d,isDisabled:p}=s,[v,c]=r.useState(!1),l=r.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;r.useEffect(a,[]);let{addGlobalListener:E,removeAllGlobalListeners:g}=n.useGlobalListeners(),{hoverProps:m,triggerHoverEnd:f}=r.useMemo((()=>{let r=(r,o)=>{if(l.pointerType=o,p||"touch"===o||l.isHovered||!r.currentTarget.contains(r.target))return;l.isHovered=!0;let s=r.currentTarget;l.target=s,E(t.getOwnerDocument(r.target),"pointerover",(t=>{l.isHovered&&l.target&&!e.nodeContains(l.target,t.target)&&n(t,t.pointerType)}),{capture:!0}),i&&i({type:"hoverstart",target:s,pointerType:o}),u&&u(!0),c(!0)},n=(e,t)=>{let r=l.target;l.pointerType="",l.target=null,"touch"!==t&&l.isHovered&&r&&(l.isHovered=!1,g(),d&&d({type:"hoverend",target:r,pointerType:t}),u&&u(!1),c(!1))},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=e=>{o&&"mouse"===e.pointerType||r(e,e.pointerType)},s.onPointerLeave=e=>{!p&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):"test"===process.env.NODE_ENV&&(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=e=>{l.ignoreEmulatedMouseEvents||o||r(e,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!p&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}}),[i,u,d,p,l,E,g]);return r.useEffect((()=>{p&&f({currentTarget:l.target},l.pointerType)}),[p]),{hoverProps:m,isHovered:v}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../utils/dist/useId.mjs.js");var e=require("../../utils/dist/DOMFunctions.mjs.js"),t=require("../../utils/dist/domHelpers.mjs.js");require("../../utils/dist/platform.mjs.js");var r=require("react");require("../../utils/dist/runAfterTransition.mjs.js");var n=require("../../utils/dist/useGlobalListeners.mjs.js");require("../../utils/dist/useLayoutEffect.mjs.js"),require("../../utils/dist/useEffectEvent.mjs.js"),require("react-dom");let o=!1,s=0;function i(){o=!0,setTimeout(()=>{o=!1},50)}function u(e){"touch"===e.pointerType&&i()}function a(){if("undefined"!=typeof document)return 0===s&&("undefined"!=typeof PointerEvent?document.addEventListener("pointerup",u):"test"===process.env.NODE_ENV&&document.addEventListener("touchend",i)),s++,()=>{s--,s>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",u):"test"===process.env.NODE_ENV&&document.removeEventListener("touchend",i))}}exports.useHover=function(s){let{onHoverStart:i,onHoverChange:u,onHoverEnd:d,isDisabled:p}=s,[v,c]=r.useState(!1),l=r.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;r.useEffect(a,[]);let{addGlobalListener:E,removeAllGlobalListeners:g}=n.useGlobalListeners(),{hoverProps:m,triggerHoverEnd:f}=r.useMemo(()=>{let r=(r,o)=>{if(l.pointerType=o,p||"touch"===o||l.isHovered||!r.currentTarget.contains(r.target))return;l.isHovered=!0;let s=r.currentTarget;l.target=s,E(t.getOwnerDocument(r.target),"pointerover",t=>{l.isHovered&&l.target&&!e.nodeContains(l.target,t.target)&&n(t,t.pointerType)},{capture:!0}),i&&i({type:"hoverstart",target:s,pointerType:o}),u&&u(!0),c(!0)},n=(e,t)=>{let r=l.target;l.pointerType="",l.target=null,"touch"!==t&&l.isHovered&&r&&(l.isHovered=!1,g(),d&&d({type:"hoverend",target:r,pointerType:t}),u&&u(!1),c(!1))},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=e=>{o&&"mouse"===e.pointerType||r(e,e.pointerType)},s.onPointerLeave=e=>{!p&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):"test"===process.env.NODE_ENV&&(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=e=>{l.ignoreEmulatedMouseEvents||o||r(e,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!p&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}},[i,u,d,p,l,E,g]);return r.useEffect(()=>{p&&f({currentTarget:l.target},l.pointerType)},[p]),{hoverProps:m,isHovered:v}};
2
2
  //# sourceMappingURL=useHover.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHover.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if ($6179b936705e76d3$var$hoverCount === 0) {\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n }\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","setTimeout","$6179b936705e76d3$var$handleGlobalPointerEvent","e","pointerType","$6179b936705e76d3$var$setupGlobalTouchEvents","document","PointerEvent","addEventListener","process","env","NODE_ENV","removeEventListener","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","ignoreEmulatedMouseEvents","target","current","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","currentTarget","contains","$AWxnT$getOwnerDocument","$AWxnT$nodeContains","capture","type","onPointerEnter","onPointerLeave","onTouchStart","onMouseEnter","onMouseLeave"],"mappings":"kgBAmCA,IAAIA,GAAkC,EAClCC,EAAa,EAEjB,SAASC,IACPF,GAAkC,EAMlCG,YAAW,KACTH,GAAkC,CAAA,GACjC,GACL,CAEA,SAASI,EAAyBC,GACV,UAAlBA,EAAEC,aACJJ,GAEJ,CAEA,SAASK,IACP,GAAwB,oBAAbC,SAaX,OATmB,IAAfP,IAC0B,oBAAjBQ,aACTD,SAASE,iBAAiB,YAAaN,GACL,SAAzBO,QAAQC,IAAIC,UACrBL,SAASE,iBAAiB,WAAYR,IAI1CD,IACO,KACLA,IACIA,EAAa,IAIW,oBAAjBQ,aACTD,SAASM,oBAAoB,YAAaV,GACR,SAAzBO,QAAQC,IAAIC,UACrBL,SAASM,oBAAoB,WAAYZ,GAAA,CAG/C,kBAMO,SAAkBa,GACvB,IAAIC,aACFA,EAAYC,cACZA,EAAaC,WACbA,EAAUC,WACVA,GACEJ,GAECK,EAAWC,GAAcC,EAAO,UAAE,GACnCC,EAAQC,EAAK,OAAE,CACjBJ,WAAW,EACXK,2BAA2B,EAC3BnB,YAAa,GACboB,OAAQ,OACPC,QAEHC,EAAQ,UAAErB,EAAwB,IAClC,IAAIsB,kBAACA,EAAiBC,yBAAEA,GAA4BC,EAAiB,sBAEjEC,WAACA,EAAUC,gBAAEA,GAAmBC,EAAM,SAAE,KAC1C,IAAIC,EAAoBA,CAACC,EAAO9B,KAE9B,GADAiB,EAAMjB,YAAcA,EAChBa,GAA8B,UAAhBb,GAA2BiB,EAAMH,YAAcgB,EAAMC,cAAcC,SAASF,EAAMV,QAClG,OAGFH,EAAMH,WAAY,EAClB,IAAIM,EAASU,EAAMC,cACnBd,EAAMG,OAASA,EAMfG,EAAkBU,EAAe,iBAAEH,EAAMV,QAAS,eAAerB,IAC3DkB,EAAMH,WAAaG,EAAMG,SAAWc,EAAW,aAAEjB,EAAMG,OAAQrB,EAAEqB,SACnEO,EAAgB5B,EAAGA,EAAEC,YAAW,GAEjC,CAACmC,SAAS,IAETzB,GACFA,EAAa,CACX0B,KAAM,oBACNhB,EACApB,YAAAA,IAIAW,GACFA,GAAc,GAGhBI,GAAW,EAAA,EAGTY,EAAkBA,CAACG,EAAO9B,KAC5B,IAAIoB,EAASH,EAAMG,OACnBH,EAAMjB,YAAc,GACpBiB,EAAMG,OAAS,KAEK,UAAhBpB,GAA4BiB,EAAMH,WAAcM,IAIpDH,EAAMH,WAAY,EAClBU,IAEIZ,GACFA,EAAW,CACTwB,KAAM,kBACNhB,EACApB,YAAAA,IAIAW,GACFA,GAAc,GAGhBI,GAAW,GAAA,EAGTW,EAA4B,CAAA,EAmChC,MAjC4B,oBAAjBvB,cACTuB,EAAWW,eAAkBtC,IACvBL,GAAqD,UAAlBK,EAAEC,aAIzC6B,EAAkB9B,EAAGA,EAAEC,YAAW,EAGpC0B,EAAWY,eAAkBvC,KACtBc,GAAcd,EAAEgC,cAAcC,SAASjC,EAAEqB,SAC5CO,EAAgB5B,EAAGA,EAAEC,YAAW,GAGF,SAAzBK,QAAQC,IAAIC,WACrBmB,EAAWa,aAAe,KACxBtB,EAAME,2BAA4B,CAAA,EAGpCO,EAAWc,aAAgBzC,IACpBkB,EAAME,2BAA8BzB,GACvCmC,EAAkB9B,EAAG,SAGvBkB,EAAME,2BAA4B,CAAA,EAGpCO,EAAWe,aAAgB1C,KACpBc,GAAcd,EAAEgC,cAAcC,SAASjC,EAAEqB,SAC5CO,EAAgB5B,EAAG,QAAA,GAIlB,YAAC2B,EAAYC,gBAAAA,EAAe,GAClC,CAACjB,EAAcC,EAAeC,EAAYC,EAAYI,EAAOM,EAAmBC,IAWnF,OATAF,EAAQ,WAAE,KAGJT,GACFc,EAAgB,CAACI,cAAed,EAAMG,QAASH,EAAMjB,YAAW,GAGjE,CAACa,IAEG,YACLa,EACAZ,UAAAA,EAEJ"}
1
+ {"version":3,"file":"useHover.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if ($6179b936705e76d3$var$hoverCount === 0) {\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n }\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","setTimeout","$6179b936705e76d3$var$handleGlobalPointerEvent","e","pointerType","$6179b936705e76d3$var$setupGlobalTouchEvents","document","PointerEvent","addEventListener","process","env","NODE_ENV","removeEventListener","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","ignoreEmulatedMouseEvents","target","current","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","currentTarget","contains","$AWxnT$getOwnerDocument","$AWxnT$nodeContains","capture","type","onPointerEnter","onPointerLeave","onTouchStart","onMouseEnter","onMouseLeave"],"mappings":"kgBAmCA,IAAIA,GAAkC,EAClCC,EAAa,EAEjB,SAASC,IACPF,GAAkC,EAMlCG,WAAW,KACTH,GAAkC,GACjC,GACL,CAEA,SAASI,EAAyBC,GACV,UAAlBA,EAAEC,aACJJ,GAEJ,CAEA,SAASK,IACP,GAAwB,oBAAbC,SAaX,OATmB,IAAfP,IAC0B,oBAAjBQ,aACTD,SAASE,iBAAiB,YAAaN,GACL,SAAzBO,QAAQC,IAAIC,UACrBL,SAASE,iBAAiB,WAAYR,IAI1CD,IACO,KACLA,IACIA,EAAa,IAIW,oBAAjBQ,aACTD,SAASM,oBAAoB,YAAaV,GACR,SAAzBO,QAAQC,IAAIC,UACrBL,SAASM,oBAAoB,WAAYZ,IAG/C,kBAMO,SAAkBa,GACvB,IAAIC,aACFA,EAAYC,cACZA,EAAaC,WACbA,EAAUC,WACVA,GACEJ,GAECK,EAAWC,GAAcC,EAAO,UAAE,GACnCC,EAAQC,EAAK,OAAE,CACjBJ,WAAW,EACXK,2BAA2B,EAC3BnB,YAAa,GACboB,OAAQ,OACPC,QAEHC,EAAQ,UAAErB,EAAwB,IAClC,IAAIsB,kBAACA,EAAiBC,yBAAEA,GAA4BC,EAAiB,sBAEjEC,WAACA,EAAUC,gBAAEA,GAAmBC,EAAM,QAAE,KAC1C,IAAIC,EAAoBA,CAACC,EAAO9B,KAE9B,GADAiB,EAAMjB,YAAcA,EAChBa,GAA8B,UAAhBb,GAA2BiB,EAAMH,YAAcgB,EAAMC,cAAcC,SAASF,EAAMV,QAClG,OAGFH,EAAMH,WAAY,EAClB,IAAIM,EAASU,EAAMC,cACnBd,EAAMG,OAASA,EAMfG,EAAkBU,EAAe,iBAAEH,EAAMV,QAAS,cAAerB,IAC3DkB,EAAMH,WAAaG,EAAMG,SAAWc,EAAW,aAAEjB,EAAMG,OAAQrB,EAAEqB,SACnEO,EAAgB5B,EAAGA,EAAEC,cAEtB,CAACmC,SAAS,IAETzB,GACFA,EAAa,CACX0B,KAAM,oBACNhB,EACApB,YAAAA,IAIAW,GACFA,GAAc,GAGhBI,GAAW,IAGTY,EAAkBA,CAACG,EAAO9B,KAC5B,IAAIoB,EAASH,EAAMG,OACnBH,EAAMjB,YAAc,GACpBiB,EAAMG,OAAS,KAEK,UAAhBpB,GAA4BiB,EAAMH,WAAcM,IAIpDH,EAAMH,WAAY,EAClBU,IAEIZ,GACFA,EAAW,CACTwB,KAAM,kBACNhB,EACApB,YAAAA,IAIAW,GACFA,GAAc,GAGhBI,GAAW,KAGTW,EAA4B,CAAA,EAmChC,MAjC4B,oBAAjBvB,cACTuB,EAAWW,eAAkBtC,IACvBL,GAAqD,UAAlBK,EAAEC,aAIzC6B,EAAkB9B,EAAGA,EAAEC,cAGzB0B,EAAWY,eAAkBvC,KACtBc,GAAcd,EAAEgC,cAAcC,SAASjC,EAAEqB,SAC5CO,EAAgB5B,EAAGA,EAAEC,eAGS,SAAzBK,QAAQC,IAAIC,WACrBmB,EAAWa,aAAe,KACxBtB,EAAME,2BAA4B,GAGpCO,EAAWc,aAAgBzC,IACpBkB,EAAME,2BAA8BzB,GACvCmC,EAAkB9B,EAAG,SAGvBkB,EAAME,2BAA4B,GAGpCO,EAAWe,aAAgB1C,KACpBc,GAAcd,EAAEgC,cAAcC,SAASjC,EAAEqB,SAC5CO,EAAgB5B,EAAG,WAIlB,YAAC2B,EAAYC,gBAAAA,IACnB,CAACjB,EAAcC,EAAeC,EAAYC,EAAYI,EAAOM,EAAmBC,IAWnF,OATAF,EAAQ,UAAE,KAGJT,GACFc,EAAgB,CAACI,cAAed,EAAMG,QAASH,EAAMjB,cAGtD,CAACa,IAEG,YACLa,EACAZ,UAAAA,EAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../utils/dist/useId.mjs.js"),require("../../utils/dist/platform.mjs.js");var e=require("react");require("../../utils/dist/runAfterTransition.mjs.js");var t=require("../../utils/dist/useLayoutEffect.mjs.js"),r=require("../../utils/dist/useEffectEvent.mjs.js");function n(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}require("react-dom");exports.createSyntheticEvent=n,exports.ignoreFocusEvent=!1,exports.setEventTarget=function(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})},exports.useSyntheticBlurEvent=function(s){let u=e.useRef({isFocused:!1,observer:null});t.useLayoutEffect((()=>{const e=u.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let i=r.useEffectEvent((e=>{null==s||s(e)}));return e.useCallback((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){u.current.isFocused=!0;let t=e.target,r=e=>{if(u.current.isFocused=!1,t.disabled){let t=n(e);i(t)}u.current.observer&&(u.current.observer.disconnect(),u.current.observer=null)};t.addEventListener("focusout",r,{once:!0}),u.current.observer=new MutationObserver((()=>{if(u.current.isFocused&&t.disabled){var e;null===(e=u.current.observer)||void 0===e||e.disconnect();let r=t===document.activeElement?null:document.activeElement;t.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}})),u.current.observer.observe(t,{attributes:!0,attributeFilter:["disabled"]})}}),[i])};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../utils/dist/useId.mjs.js"),require("../../utils/dist/platform.mjs.js");var e=require("react");require("../../utils/dist/runAfterTransition.mjs.js");var t=require("../../utils/dist/useLayoutEffect.mjs.js"),r=require("../../utils/dist/useEffectEvent.mjs.js");function n(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}require("react-dom");exports.createSyntheticEvent=n,exports.ignoreFocusEvent=!1,exports.setEventTarget=function(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})},exports.useSyntheticBlurEvent=function(s){let u=e.useRef({isFocused:!1,observer:null});t.useLayoutEffect(()=>{const e=u.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let i=r.useEffectEvent(e=>{null==s||s(e)});return e.useCallback(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){u.current.isFocused=!0;let t=e.target,r=e=>{if(u.current.isFocused=!1,t.disabled){let t=n(e);i(t)}u.current.observer&&(u.current.observer.disconnect(),u.current.observer=null)};t.addEventListener("focusout",r,{once:!0}),u.current.observer=new MutationObserver(()=>{if(u.current.isFocused&&t.disabled){var e;null===(e=u.current.observer)||void 0===e||e.disconnect();let r=t===document.activeElement?null:document.activeElement;t.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),u.current.observer.observe(t,{attributes:!0,attributeFilter:["disabled"]})}},[i])};
2
2
  //# sourceMappingURL=utils.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/utils.mjs"],"sourcesContent":["import {useLayoutEffect as $6dfIe$useLayoutEffect, useEffectEvent as $6dfIe$useEffectEvent, isFocusable as $6dfIe$isFocusable, getOwnerWindow as $6dfIe$getOwnerWindow, focusWithoutScrolling as $6dfIe$focusWithoutScrolling} from \"@react-aria/utils\";\nimport {useRef as $6dfIe$useRef, useCallback as $6dfIe$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {\n let event = nativeEvent;\n event.nativeEvent = nativeEvent;\n event.isDefaultPrevented = ()=>event.defaultPrevented;\n // cancelBubble is technically deprecated in the spec, but still supported in all browsers.\n event.isPropagationStopped = ()=>event.cancelBubble;\n event.persist = ()=>{};\n return event;\n}\nfunction $8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target) {\n Object.defineProperty(event, 'target', {\n value: target\n });\n Object.defineProperty(event, 'currentTarget', {\n value: target\n });\n}\nfunction $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $6dfIe$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $6dfIe$useLayoutEffect)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n let dispatchBlur = (0, $6dfIe$useEffectEvent)((e)=>{\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n });\n // This function is called during a React onFocus event.\n return (0, $6dfIe$useCallback)((e)=>{\n // React does not fire onBlur when an element is disabled. https://github.com/facebook/react/issues/9142\n // Most browsers fire a native focusout event in this case, except for Firefox. In that case, we use a\n // MutationObserver to watch for the disabled attribute, and dispatch these events ourselves.\n // For browsers that do, focusout fires before the MutationObserver, so onBlur should not fire twice.\n if (e.target instanceof HTMLButtonElement || e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = e.target;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) {\n // For backward compatibility, dispatch a (fake) React synthetic event.\n let event = $8a9cb279dc87e130$export$525bc4921d56d4a(e);\n dispatchBlur(event);\n }\n // We no longer need the MutationObserver once the target is blurred.\n if (stateRef.current.observer) {\n stateRef.current.observer.disconnect();\n stateRef.current.observer = null;\n }\n };\n target.addEventListener('focusout', onBlurHandler, {\n once: true\n });\n stateRef.current.observer = new MutationObserver(()=>{\n if (stateRef.current.isFocused && target.disabled) {\n var _stateRef_current_observer;\n (_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 ? void 0 : _stateRef_current_observer.disconnect();\n let relatedTargetEl = target === document.activeElement ? null : document.activeElement;\n target.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: relatedTargetEl\n }));\n target.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: relatedTargetEl\n }));\n }\n });\n stateRef.current.observer.observe(target, {\n attributes: true,\n attributeFilter: [\n 'disabled'\n ]\n });\n }\n }, [\n dispatchBlur\n ]);\n}\nlet $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;\nfunction $8a9cb279dc87e130$export$cabe61c495ee3649(target) {\n // The browser will focus the nearest focusable ancestor of our target.\n while(target && !(0, $6dfIe$isFocusable)(target))target = target.parentElement;\n let window = (0, $6dfIe$getOwnerWindow)(target);\n let activeElement = window.document.activeElement;\n if (!activeElement || activeElement === target) return;\n $8a9cb279dc87e130$export$fda7da73ab5d4c48 = true;\n let isRefocusing = false;\n let onBlur = (e)=>{\n if (e.target === activeElement || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusOut = (e)=>{\n if (e.target === activeElement || isRefocusing) {\n e.stopImmediatePropagation();\n // If there was no focusable ancestor, we don't expect a focus event.\n // Re-focus the original active element here.\n if (!target && !isRefocusing) {\n isRefocusing = true;\n (0, $6dfIe$focusWithoutScrolling)(activeElement);\n cleanup();\n }\n }\n };\n let onFocus = (e)=>{\n if (e.target === target || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusIn = (e)=>{\n if (e.target === target || isRefocusing) {\n e.stopImmediatePropagation();\n if (!isRefocusing) {\n isRefocusing = true;\n (0, $6dfIe$focusWithoutScrolling)(activeElement);\n cleanup();\n }\n }\n };\n window.addEventListener('blur', onBlur, true);\n window.addEventListener('focusout', onFocusOut, true);\n window.addEventListener('focusin', onFocusIn, true);\n window.addEventListener('focus', onFocus, true);\n let cleanup = ()=>{\n cancelAnimationFrame(raf);\n window.removeEventListener('blur', onBlur, true);\n window.removeEventListener('focusout', onFocusOut, true);\n window.removeEventListener('focusin', onFocusIn, true);\n window.removeEventListener('focus', onFocus, true);\n $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;\n isRefocusing = false;\n };\n let raf = requestAnimationFrame(cleanup);\n return cleanup;\n}\n\n\nexport {$8a9cb279dc87e130$export$525bc4921d56d4a as createSyntheticEvent, $8a9cb279dc87e130$export$c2b7abe5d61ec696 as setEventTarget, $8a9cb279dc87e130$export$715c682d09d639cc as useSyntheticBlurEvent, $8a9cb279dc87e130$export$fda7da73ab5d4c48 as ignoreFocusEvent, $8a9cb279dc87e130$export$cabe61c495ee3649 as preventFocus};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$8a9cb279dc87e130$export$525bc4921d56d4a","nativeEvent","event","isDefaultPrevented","defaultPrevented","isPropagationStopped","cancelBubble","persist","target","Object","defineProperty","value","onBlur","stateRef","$6dfIe$useRef","isFocused","observer","$6dfIe$useLayoutEffect","state","current","disconnect","dispatchBlur","$6dfIe$useEffectEvent","e","$6dfIe$useCallback","HTMLButtonElement","HTMLInputElement","HTMLTextAreaElement","HTMLSelectElement","onBlurHandler","disabled","addEventListener","once","MutationObserver","_stateRef_current_observer","relatedTargetEl","document","activeElement","dispatchEvent","FocusEvent","relatedTarget","bubbles","observe","attributes","attributeFilter"],"mappings":"mVAiBO,SAASA,EAA+CC,GAC7D,IAAIC,EAAQD,EAMZ,OALAC,EAAMD,YAAcA,EACpBC,EAAMC,mBAAqB,IAAMD,EAAME,iBAEvCF,EAAMG,qBAAuB,IAAMH,EAAeI,aAClDJ,EAAMK,QAAU,OACTL,CACT,+EA4E8B,yBA1EvB,SAAwBA,EAAcM,GAC3CC,OAAOC,eAAeR,EAAO,SAAU,CAACS,MAAOH,IAC/CC,OAAOC,eAAeR,EAAO,gBAAiB,CAACS,MAAOH,GACxD,gCAEO,SAAiEI,GACtE,IAAIC,EAAWC,EAAK,OAAE,CACpBC,WAAW,EACXC,SAAU,OAKZC,EAAc,iBAAE,KACd,MAAMC,EAAQL,EAASM,QACvB,MAAO,KACDD,EAAMF,WACRE,EAAMF,SAASI,aACfF,EAAMF,SAAW,KACnB,CACF,GACC,IAEH,IAAIK,EAAeC,EAAa,gBAAGC,IACjCX,SAAAA,EAASW,EAAA,IAIX,OAAOC,EAAU,aAAGD,IAKlB,GACEA,EAAEf,kBAAkBiB,mBACpBF,EAAEf,kBAAkBkB,kBACpBH,EAAEf,kBAAkBmB,qBACpBJ,EAAEf,kBAAkBoB,kBACpB,CACAf,EAASM,QAAQJ,WAAY,EAE7B,IAAIP,EAASe,EAAEf,OACXqB,EAA4DN,IAG9D,GAFAV,EAASM,QAAQJ,WAAY,EAEzBP,EAAOsB,SAAU,CAEnB,IAAI5B,EAAQF,EAA8CuB,GAC1DF,EAAanB,EACf,CAGIW,EAASM,QAAQH,WACnBH,EAASM,QAAQH,SAASI,aAC1BP,EAASM,QAAQH,SAAW,KAC9B,EAGFR,EAAOuB,iBAAiB,WAAYF,EAAe,CAACG,MAAM,IAE1DnB,EAASM,QAAQH,SAAW,IAAIiB,kBAAiB,KAC/C,GAAIpB,EAASM,QAAQJ,WAAaP,EAAOsB,SAAU,KACjDI,EAAyB,QAAzBA,EAAArB,EAASM,QAAQH,gBAAjB,IAAAkB,GAAAA,EAA2Bd,aAC3B,IAAIe,EAAkB3B,IAAW4B,SAASC,cAAgB,KAAOD,SAASC,cAC1E7B,EAAO8B,cAAc,IAAIC,WAAW,OAAQ,CAACC,cAAeL,KAC5D3B,EAAO8B,cAAc,IAAIC,WAAW,WAAY,CAACE,SAAS,EAAMD,cAAeL,IACjF,KAGFtB,EAASM,QAAQH,SAAS0B,QAAQlC,EAAQ,CAACmC,YAAY,EAAMC,gBAAiB,CAAC,aACjF,IACC,CAACvB,GACN"}
1
+ {"version":3,"file":"utils.mjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/utils.mjs"],"sourcesContent":["import {useLayoutEffect as $6dfIe$useLayoutEffect, useEffectEvent as $6dfIe$useEffectEvent, isFocusable as $6dfIe$isFocusable, getOwnerWindow as $6dfIe$getOwnerWindow, focusWithoutScrolling as $6dfIe$focusWithoutScrolling} from \"@react-aria/utils\";\nimport {useRef as $6dfIe$useRef, useCallback as $6dfIe$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {\n let event = nativeEvent;\n event.nativeEvent = nativeEvent;\n event.isDefaultPrevented = ()=>event.defaultPrevented;\n // cancelBubble is technically deprecated in the spec, but still supported in all browsers.\n event.isPropagationStopped = ()=>event.cancelBubble;\n event.persist = ()=>{};\n return event;\n}\nfunction $8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target) {\n Object.defineProperty(event, 'target', {\n value: target\n });\n Object.defineProperty(event, 'currentTarget', {\n value: target\n });\n}\nfunction $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $6dfIe$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $6dfIe$useLayoutEffect)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n let dispatchBlur = (0, $6dfIe$useEffectEvent)((e)=>{\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n });\n // This function is called during a React onFocus event.\n return (0, $6dfIe$useCallback)((e)=>{\n // React does not fire onBlur when an element is disabled. https://github.com/facebook/react/issues/9142\n // Most browsers fire a native focusout event in this case, except for Firefox. In that case, we use a\n // MutationObserver to watch for the disabled attribute, and dispatch these events ourselves.\n // For browsers that do, focusout fires before the MutationObserver, so onBlur should not fire twice.\n if (e.target instanceof HTMLButtonElement || e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = e.target;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) {\n // For backward compatibility, dispatch a (fake) React synthetic event.\n let event = $8a9cb279dc87e130$export$525bc4921d56d4a(e);\n dispatchBlur(event);\n }\n // We no longer need the MutationObserver once the target is blurred.\n if (stateRef.current.observer) {\n stateRef.current.observer.disconnect();\n stateRef.current.observer = null;\n }\n };\n target.addEventListener('focusout', onBlurHandler, {\n once: true\n });\n stateRef.current.observer = new MutationObserver(()=>{\n if (stateRef.current.isFocused && target.disabled) {\n var _stateRef_current_observer;\n (_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 ? void 0 : _stateRef_current_observer.disconnect();\n let relatedTargetEl = target === document.activeElement ? null : document.activeElement;\n target.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: relatedTargetEl\n }));\n target.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: relatedTargetEl\n }));\n }\n });\n stateRef.current.observer.observe(target, {\n attributes: true,\n attributeFilter: [\n 'disabled'\n ]\n });\n }\n }, [\n dispatchBlur\n ]);\n}\nlet $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;\nfunction $8a9cb279dc87e130$export$cabe61c495ee3649(target) {\n // The browser will focus the nearest focusable ancestor of our target.\n while(target && !(0, $6dfIe$isFocusable)(target))target = target.parentElement;\n let window = (0, $6dfIe$getOwnerWindow)(target);\n let activeElement = window.document.activeElement;\n if (!activeElement || activeElement === target) return;\n $8a9cb279dc87e130$export$fda7da73ab5d4c48 = true;\n let isRefocusing = false;\n let onBlur = (e)=>{\n if (e.target === activeElement || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusOut = (e)=>{\n if (e.target === activeElement || isRefocusing) {\n e.stopImmediatePropagation();\n // If there was no focusable ancestor, we don't expect a focus event.\n // Re-focus the original active element here.\n if (!target && !isRefocusing) {\n isRefocusing = true;\n (0, $6dfIe$focusWithoutScrolling)(activeElement);\n cleanup();\n }\n }\n };\n let onFocus = (e)=>{\n if (e.target === target || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusIn = (e)=>{\n if (e.target === target || isRefocusing) {\n e.stopImmediatePropagation();\n if (!isRefocusing) {\n isRefocusing = true;\n (0, $6dfIe$focusWithoutScrolling)(activeElement);\n cleanup();\n }\n }\n };\n window.addEventListener('blur', onBlur, true);\n window.addEventListener('focusout', onFocusOut, true);\n window.addEventListener('focusin', onFocusIn, true);\n window.addEventListener('focus', onFocus, true);\n let cleanup = ()=>{\n cancelAnimationFrame(raf);\n window.removeEventListener('blur', onBlur, true);\n window.removeEventListener('focusout', onFocusOut, true);\n window.removeEventListener('focusin', onFocusIn, true);\n window.removeEventListener('focus', onFocus, true);\n $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;\n isRefocusing = false;\n };\n let raf = requestAnimationFrame(cleanup);\n return cleanup;\n}\n\n\nexport {$8a9cb279dc87e130$export$525bc4921d56d4a as createSyntheticEvent, $8a9cb279dc87e130$export$c2b7abe5d61ec696 as setEventTarget, $8a9cb279dc87e130$export$715c682d09d639cc as useSyntheticBlurEvent, $8a9cb279dc87e130$export$fda7da73ab5d4c48 as ignoreFocusEvent, $8a9cb279dc87e130$export$cabe61c495ee3649 as preventFocus};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$8a9cb279dc87e130$export$525bc4921d56d4a","nativeEvent","event","isDefaultPrevented","defaultPrevented","isPropagationStopped","cancelBubble","persist","target","Object","defineProperty","value","onBlur","stateRef","$6dfIe$useRef","isFocused","observer","$6dfIe$useLayoutEffect","state","current","disconnect","dispatchBlur","$6dfIe$useEffectEvent","e","$6dfIe$useCallback","HTMLButtonElement","HTMLInputElement","HTMLTextAreaElement","HTMLSelectElement","onBlurHandler","disabled","addEventListener","once","MutationObserver","_stateRef_current_observer","relatedTargetEl","document","activeElement","dispatchEvent","FocusEvent","relatedTarget","bubbles","observe","attributes","attributeFilter"],"mappings":"mVAiBO,SAASA,EAA+CC,GAC7D,IAAIC,EAAQD,EAMZ,OALAC,EAAMD,YAAcA,EACpBC,EAAMC,mBAAqB,IAAMD,EAAME,iBAEvCF,EAAMG,qBAAuB,IAAMH,EAAeI,aAClDJ,EAAMK,QAAU,OACTL,CACT,+EA4E8B,yBA1EvB,SAAwBA,EAAcM,GAC3CC,OAAOC,eAAeR,EAAO,SAAU,CAACS,MAAOH,IAC/CC,OAAOC,eAAeR,EAAO,gBAAiB,CAACS,MAAOH,GACxD,gCAEO,SAAiEI,GACtE,IAAIC,EAAWC,EAAK,OAAE,CACpBC,WAAW,EACXC,SAAU,OAKZC,EAAc,gBAAE,KACd,MAAMC,EAAQL,EAASM,QACvB,MAAO,KACDD,EAAMF,WACRE,EAAMF,SAASI,aACfF,EAAMF,SAAW,QAGpB,IAEH,IAAIK,EAAeC,EAAa,eAAGC,IACjCX,SAAAA,EAASW,KAIX,OAAOC,EAAU,YAAGD,IAKlB,GACEA,EAAEf,kBAAkBiB,mBACpBF,EAAEf,kBAAkBkB,kBACpBH,EAAEf,kBAAkBmB,qBACpBJ,EAAEf,kBAAkBoB,kBACpB,CACAf,EAASM,QAAQJ,WAAY,EAE7B,IAAIP,EAASe,EAAEf,OACXqB,EAA4DN,IAG9D,GAFAV,EAASM,QAAQJ,WAAY,EAEzBP,EAAOsB,SAAU,CAEnB,IAAI5B,EAAQF,EAA8CuB,GAC1DF,EAAanB,EACf,CAGIW,EAASM,QAAQH,WACnBH,EAASM,QAAQH,SAASI,aAC1BP,EAASM,QAAQH,SAAW,OAIhCR,EAAOuB,iBAAiB,WAAYF,EAAe,CAACG,MAAM,IAE1DnB,EAASM,QAAQH,SAAW,IAAIiB,iBAAiB,KAC/C,GAAIpB,EAASM,QAAQJ,WAAaP,EAAOsB,SAAU,KACjDI,EAAyB,QAAzBA,EAAArB,EAASM,QAAQH,gBAAjB,IAAAkB,GAAAA,EAA2Bd,aAC3B,IAAIe,EAAkB3B,IAAW4B,SAASC,cAAgB,KAAOD,SAASC,cAC1E7B,EAAO8B,cAAc,IAAIC,WAAW,OAAQ,CAACC,cAAeL,KAC5D3B,EAAO8B,cAAc,IAAIC,WAAW,WAAY,CAACE,SAAS,EAAMD,cAAeL,IACjF,IAGFtB,EAASM,QAAQH,SAAS0B,QAAQlC,EAAQ,CAACmC,YAAY,EAAMC,gBAAiB,CAAC,aACjF,GACC,CAACvB,GACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"domHelpers.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/domHelpers.mjs"],"sourcesContent":["const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n"],"names":["$431fbd86ca7dc216$export$b204af158042fbac","el","_el_ownerDocument","ownerDocument","document","window","defaultView","node","value","nodeType","Node","DOCUMENT_FRAGMENT_NODE"],"mappings":"oEAAaA,MAAAA,EAAoBC,QACxBC,EAAP,OAAOA,QAAAA,EAAAD,aAAA,EAAAA,EAAIE,qBAAJD,IAAAA,EAAAA,EAAqBE,QAAA,oDAI5BH,IAEA,GAAIA,GAAM,WAAYA,GAAMA,EAAGI,SAAWJ,EACxC,OAAOA,EAIT,OADYD,EAAiBC,GAClBK,aAAeD,MAAA,uBAgBrB,SAAsBE,GAC3B,OAViB,QADHC,EAWAD,IATK,iBAAVC,GACP,aAAcA,GACsB,iBAA7BA,EAAgBC,UAQvBF,EAAKE,WAAaC,KAAKC,wBACvB,SAAUJ,EAbd,IAAgBC,CAchB"}
1
+ {"version":3,"file":"domHelpers.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/domHelpers.mjs"],"sourcesContent":["const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n"],"names":["$431fbd86ca7dc216$export$b204af158042fbac","el","_el_ownerDocument","ownerDocument","document","window","defaultView","node","value","nodeType","Node","DOCUMENT_FRAGMENT_NODE"],"mappings":"oEAAaA,MAAAA,EAAoBC,QACxBC,EAAP,OAAOA,QAAAA,EAAAD,aAAA,EAAAA,EAAIE,qBAAJD,IAAAA,EAAAA,EAAqBE,4DAI5BH,IAEA,GAAIA,GAAM,WAAYA,GAAMA,EAAGI,SAAWJ,EACxC,OAAOA,EAIT,OADYD,EAAiBC,GAClBK,aAAeD,6BAgBrB,SAAsBE,GAC3B,OAViB,QADHC,EAWAD,IATK,iBAAVC,GACP,aAAcA,GACsB,iBAA7BA,EAAgBC,UAQvBF,EAAKE,WAAaC,KAAKC,wBACvB,SAAUJ,EAbd,IAAgBC,CAchB"}
@@ -1,2 +1,2 @@
1
- "use strict";function n(n){var t;if("undefined"==typeof window||null==window.navigator)return!1;let r=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(r)&&r.some((t=>n.test(t.brand)))||n.test(window.navigator.userAgent)}function t(n){var t;return"undefined"!=typeof window&&null!=window.navigator&&n.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function r(n){if("test"===process.env.NODE_ENV)return n;let t=null;return()=>(null==t&&(t=n()),t)}Object.defineProperty(exports,"__esModule",{value:!0});const i=r((function(){return t(/^Mac/i)})),e=r((function(){return t(/^iPhone/i)})),o=r((function(){return t(/^iPad/i)||i()&&navigator.maxTouchPoints>1})),u=r((function(){return e()||o()}));r((function(){return i()||u()})),r((function(){return n(/AppleWebKit/i)&&!a()}));const a=r((function(){return n(/Chrome/i)})),s=r((function(){return n(/Android/i)}));r((function(){return n(/Firefox/i)})),exports.isAndroid=s,exports.isChrome=a,exports.isIOS=u,exports.isIPad=o,exports.isIPhone=e,exports.isMac=i;
1
+ "use strict";function n(n){var t;if("undefined"==typeof window||null==window.navigator)return!1;let r=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(r)&&r.some(t=>n.test(t.brand))||n.test(window.navigator.userAgent)}function t(n){var t;return"undefined"!=typeof window&&null!=window.navigator&&n.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function r(n){if("test"===process.env.NODE_ENV)return n;let t=null;return()=>(null==t&&(t=n()),t)}Object.defineProperty(exports,"__esModule",{value:!0});const i=r(function(){return t(/^Mac/i)}),e=r(function(){return t(/^iPhone/i)}),o=r(function(){return t(/^iPad/i)||i()&&navigator.maxTouchPoints>1}),u=r(function(){return e()||o()});r(function(){return i()||u()}),r(function(){return n(/AppleWebKit/i)&&!a()});const a=r(function(){return n(/Chrome/i)}),s=r(function(){return n(/Android/i)});r(function(){return n(/Firefox/i)}),exports.isAndroid=s,exports.isChrome=a,exports.isIOS=u,exports.isIPad=o,exports.isIPhone=e,exports.isMac=i;
2
2
  //# sourceMappingURL=platform.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"platform.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/platform.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $c87311424ea30a05$var$testUserAgent(re) {\n var _window_navigator_userAgentData;\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = (_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $c87311424ea30a05$var$testPlatform(re) {\n var _window_navigator_userAgentData;\n return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;\n}\nfunction $c87311424ea30a05$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^Mac/i);\n});\nconst $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPhone/i);\n});\nconst $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();\n});\nconst $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();\n});\nconst $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();\n});\nconst $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Chrome/i);\n});\nconst $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Android/i);\n});\nconst $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.module.js.map\n"],"names":["$c87311424ea30a05$var$testUserAgent","re","_window_navigator_userAgentData","window","navigator","brands","Array","isArray","some","brand","test","userAgent","$c87311424ea30a05$var$testPlatform","platform","$c87311424ea30a05$var$cached","fn","process","env","NODE_ENV","res","$c87311424ea30a05$export$9ac100e40613ea10","$c87311424ea30a05$export$186c6964ca17d99","$c87311424ea30a05$export$7bef049ce92e4224","maxTouchPoints","$c87311424ea30a05$export$fedb369cb70207f1","$c87311424ea30a05$export$6446a186d09e379e","$c87311424ea30a05$export$a11b0059900ceec8"],"mappings":"aAYA,SAASA,EAAcC,OAIRC,EAHb,GAAsB,oBAAXC,QAA8C,MAApBA,OAAOC,UAC1C,OAAO,EAET,IAAIC,EAASH,QAAAA,EAAAC,OAAOC,UAAU,qBAAjBF,IAAAA,OAAAA,EAAAA,EAAmCG,OAChD,OAAOC,MAAMC,QAAQF,IAAWA,EAAOG,MAAMC,GAA4CR,EAAGS,KAAKD,EAAMA,UACrGR,EAAGS,KAAKP,OAAOC,UAAUO,UAC7B,CAEA,SAASC,EAAaX,OAERC,EADZ,MAAyB,oBAAXC,QAA8C,MAApBA,OAAOC,WAC3CH,EAAGS,MAAsC,QAAjCR,EAAAC,OAAOC,UAA0B,qBAAjCF,IAAAA,OAAAA,EAAAA,EAAmCW,WAAYV,OAAOC,UAAUS,SAE9E,CAEA,SAASC,EAAOC,GACd,GAA6B,SAAzBC,QAAQC,IAAIC,SACd,OAAOH,EAGT,IAAII,EAAsB,KAC1B,MAAO,KACM,MAAPA,IACFA,EAAMJ,KAEDI,EAEX,wDAEaC,MAAAA,EAAuBN,GAAO,WACzC,OAAOF,EAAa,QACtB,IAEaS,EAA0BP,GAAO,WAC5C,OAAOF,EAAa,WACtB,IAEaU,EAAwBR,GAAO,WAC1C,OAAOF,EAAa,WAEjBQ,KAAWhB,UAAUmB,eAAiB,CAC3C,IAEaC,EAAuBV,GAAO,WACzC,OAAOO,KAAcC,GACvB,IAE4CR,GAAO,WACjD,OAAOM,KAAWI,GACpB,IAEuCV,GAAO,WAC5C,OAAOd,EAAc,kBAAoByB,GAC3C,IAEaA,MAAAA,EAA0BX,GAAO,WAC5C,OAAOd,EAAc,UACvB,IAEa0B,EAA2BZ,GAAO,WAC7C,OAAOd,EAAc,WACvB,IAEwCc,GAAO,WAC7C,OAAOd,EAAc,WACvB"}
1
+ {"version":3,"file":"platform.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/platform.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $c87311424ea30a05$var$testUserAgent(re) {\n var _window_navigator_userAgentData;\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = (_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $c87311424ea30a05$var$testPlatform(re) {\n var _window_navigator_userAgentData;\n return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;\n}\nfunction $c87311424ea30a05$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^Mac/i);\n});\nconst $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPhone/i);\n});\nconst $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();\n});\nconst $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();\n});\nconst $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();\n});\nconst $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Chrome/i);\n});\nconst $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Android/i);\n});\nconst $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.module.js.map\n"],"names":["$c87311424ea30a05$var$testUserAgent","re","_window_navigator_userAgentData","window","navigator","brands","Array","isArray","some","brand","test","userAgent","$c87311424ea30a05$var$testPlatform","platform","$c87311424ea30a05$var$cached","fn","process","env","NODE_ENV","res","$c87311424ea30a05$export$9ac100e40613ea10","$c87311424ea30a05$export$186c6964ca17d99","$c87311424ea30a05$export$7bef049ce92e4224","maxTouchPoints","$c87311424ea30a05$export$fedb369cb70207f1","$c87311424ea30a05$export$6446a186d09e379e","$c87311424ea30a05$export$a11b0059900ceec8"],"mappings":"aAYA,SAASA,EAAcC,OAIRC,EAHb,GAAsB,oBAAXC,QAA8C,MAApBA,OAAOC,UAC1C,OAAO,EAET,IAAIC,EAASH,QAAAA,EAAAC,OAAOC,UAAU,qBAAjBF,IAAAA,OAAAA,EAAAA,EAAmCG,OAChD,OAAOC,MAAMC,QAAQF,IAAWA,EAAOG,KAAMC,GAA4CR,EAAGS,KAAKD,EAAMA,SACrGR,EAAGS,KAAKP,OAAOC,UAAUO,UAC7B,CAEA,SAASC,EAAaX,OAERC,EADZ,MAAyB,oBAAXC,QAA8C,MAApBA,OAAOC,WAC3CH,EAAGS,MAAsC,QAAjCR,EAAAC,OAAOC,UAA0B,qBAAjCF,IAAAA,OAAAA,EAAAA,EAAmCW,WAAYV,OAAOC,UAAUS,SAE9E,CAEA,SAASC,EAAOC,GACd,GAA6B,SAAzBC,QAAQC,IAAIC,SACd,OAAOH,EAGT,IAAII,EAAsB,KAC1B,MAAO,KACM,MAAPA,IACFA,EAAMJ,KAEDI,EAEX,wDAEaC,MAAAA,EAAuBN,EAAO,WACzC,OAAOF,EAAa,QACtB,GAEaS,EAA0BP,EAAO,WAC5C,OAAOF,EAAa,WACtB,GAEaU,EAAwBR,EAAO,WAC1C,OAAOF,EAAa,WAEjBQ,KAAWhB,UAAUmB,eAAiB,CAC3C,GAEaC,EAAuBV,EAAO,WACzC,OAAOO,KAAcC,GACvB,GAE4CR,EAAO,WACjD,OAAOM,KAAWI,GACpB,GAEuCV,EAAO,WAC5C,OAAOd,EAAc,kBAAoByB,GAC3C,GAEaA,MAAAA,EAA0BX,EAAO,WAC5C,OAAOd,EAAc,UACvB,GAEa0B,EAA2BZ,EAAO,WAC7C,OAAOd,EAAc,WACvB,GAEwCc,EAAO,WAC7C,OAAOd,EAAc,WACvB"}
@@ -1,2 +1,2 @@
1
- "use strict";let e=new Map,t=new Set;function n(){if("undefined"==typeof window)return;function n(e){return"propertyName"in e}let r=d=>{if(!n(d)||!d.target)return;let a=e.get(d.target);if(a&&(a.delete(d.propertyName),0===a.size&&(d.target.removeEventListener("transitioncancel",r),e.delete(d.target)),0===e.size)){for(let e of t)e();t.clear()}};document.body.addEventListener("transitionrun",(t=>{if(!n(t)||!t.target)return;let d=e.get(t.target);d||(d=new Set,e.set(t.target,d),t.target.addEventListener("transitioncancel",r,{once:!0})),d.add(t.propertyName)})),document.body.addEventListener("transitionend",r)}"undefined"!=typeof document&&("loading"!==document.readyState?n():document.addEventListener("DOMContentLoaded",n));
1
+ "use strict";let e=new Map,t=new Set;function n(){if("undefined"==typeof window)return;function n(e){return"propertyName"in e}let r=d=>{if(!n(d)||!d.target)return;let a=e.get(d.target);if(a&&(a.delete(d.propertyName),0===a.size&&(d.target.removeEventListener("transitioncancel",r),e.delete(d.target)),0===e.size)){for(let e of t)e();t.clear()}};document.body.addEventListener("transitionrun",t=>{if(!n(t)||!t.target)return;let d=e.get(t.target);d||(d=new Set,e.set(t.target,d),t.target.addEventListener("transitioncancel",r,{once:!0})),d.add(t.propertyName)}),document.body.addEventListener("transitionend",r)}"undefined"!=typeof document&&("loading"!==document.readyState?n():document.addEventListener("DOMContentLoaded",n));
2
2
  //# sourceMappingURL=runAfterTransition.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runAfterTransition.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/runAfterTransition.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","Map","$bbed8b41f857bcc0$var$transitionCallbacks","Set","$bbed8b41f857bcc0$var$setupGlobalEvents","window","isTransitionEvent","event","onTransitionEnd","e","target","properties","get","delete","propertyName","size","removeEventListener","cb","clear","document","body","addEventListener","transitions","set","once","add","readyState"],"mappings":"aAkBA,IAAIA,EAAuB,IAAIC,IAG3BC,EAAsB,IAAIC,IAE9B,SAASC,IACP,GAAsB,oBAAXC,OACT,OAGF,SAASC,EAAkBC,GACzB,MAAO,iBAAkBA,CAC3B,CAEA,IAqBIC,EAAmBC,IACrB,IAAKH,EAAkBG,KAAOA,EAAEC,OAC9B,OAGF,IAAIC,EAAaX,EAAqBY,IAAIH,EAAEC,QAC5C,GAAKC,IAILA,EAAWE,OAAOJ,EAAEK,cAGI,IAApBH,EAAWI,OACbN,EAAEC,OAAOM,oBAAoB,mBAAoBR,GACjDR,EAAqBa,OAAOJ,EAAEC,SAIE,IAA9BV,EAAqBe,MAAY,CACnC,IAAK,IAAIE,KAAMf,EACbe,IAGFf,EAAoBgB,OACtB,GAGFC,SAASC,KAAKC,iBAAiB,iBAjDNZ,IACvB,IAAKH,EAAkBG,KAAOA,EAAEC,OAC9B,OAGF,IAAIY,EAActB,EAAqBY,IAAIH,EAAEC,QACxCY,IACHA,EAAc,IAAInB,IAClBH,EAAqBuB,IAAId,EAAEC,OAAQY,GAKnCb,EAAEC,OAAOW,iBAAiB,mBAAoBb,EAAiB,CAC7DgB,MAAM,KAIVF,EAAYG,IAAIhB,EAAEK,aAAY,IAgChCK,SAASC,KAAKC,iBAAiB,gBAAiBb,EAClD,CAEwB,oBAAbW,WACmB,YAAxBA,SAASO,WACXtB,IAEAe,SAASE,iBAAiB,mBAAoBjB"}
1
+ {"version":3,"file":"runAfterTransition.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/runAfterTransition.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","Map","$bbed8b41f857bcc0$var$transitionCallbacks","Set","$bbed8b41f857bcc0$var$setupGlobalEvents","window","isTransitionEvent","event","onTransitionEnd","e","target","properties","get","delete","propertyName","size","removeEventListener","cb","clear","document","body","addEventListener","transitions","set","once","add","readyState"],"mappings":"aAkBA,IAAIA,EAAuB,IAAIC,IAG3BC,EAAsB,IAAIC,IAE9B,SAASC,IACP,GAAsB,oBAAXC,OACT,OAGF,SAASC,EAAkBC,GACzB,MAAO,iBAAkBA,CAC3B,CAEA,IAqBIC,EAAmBC,IACrB,IAAKH,EAAkBG,KAAOA,EAAEC,OAC9B,OAGF,IAAIC,EAAaX,EAAqBY,IAAIH,EAAEC,QAC5C,GAAKC,IAILA,EAAWE,OAAOJ,EAAEK,cAGI,IAApBH,EAAWI,OACbN,EAAEC,OAAOM,oBAAoB,mBAAoBR,GACjDR,EAAqBa,OAAOJ,EAAEC,SAIE,IAA9BV,EAAqBe,MAAY,CACnC,IAAK,IAAIE,KAAMf,EACbe,IAGFf,EAAoBgB,OACtB,GAGFC,SAASC,KAAKC,iBAAiB,gBAjDNZ,IACvB,IAAKH,EAAkBG,KAAOA,EAAEC,OAC9B,OAGF,IAAIY,EAActB,EAAqBY,IAAIH,EAAEC,QACxCY,IACHA,EAAc,IAAInB,IAClBH,EAAqBuB,IAAId,EAAEC,OAAQY,GAKnCb,EAAEC,OAAOW,iBAAiB,mBAAoBb,EAAiB,CAC7DgB,MAAM,KAIVF,EAAYG,IAAIhB,EAAEK,gBAgCpBK,SAASC,KAAKC,iBAAiB,gBAAiBb,EAClD,CAEwB,oBAAbW,WACmB,YAAxBA,SAASO,WACXtB,IAEAe,SAASE,iBAAiB,mBAAoBjB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("./useLayoutEffect.mjs.js"),u=require("react");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const r=null!==(e=n(u).default.useInsertionEffect)&&void 0!==e?e:t.useLayoutEffect;exports.useEffectEvent=function(e){const t=u.useRef(null);return r((()=>{t.current=e}),[e]),u.useCallback((function(){const e=t.current;return null==e?void 0:e(...arguments)}),[])};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("./useLayoutEffect.mjs.js"),u=require("react");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const r=null!==(e=n(u).default.useInsertionEffect)&&void 0!==e?e:t.useLayoutEffect;exports.useEffectEvent=function(e){const t=u.useRef(null);return r(()=>{t.current=e},[e]),u.useCallback(function(){const e=t.current;return null==e?void 0:e(...arguments)},[])};
2
2
  //# sourceMappingURL=useEffectEvent.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEffectEvent.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useEffectEvent.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n"],"names":["$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","fn","ref","$lmaYr$useRef","current","$lmaYr$useCallback","f","arguments"],"mappings":"wEAiBuBA,mIAAvB,MAAMC,EAA4C,QAA3BD,OAAI,QAAuB,0BAA3B,IAAAA,EAAAA,EAA+BE,EAAc,uCAE7D,SAA4CC,GACjD,MAAMC,EAAMC,EAAK,OAAwB,MAKzC,OAJAJ,GAAe,KACbG,EAAIE,QAAUH,CAAA,GACb,CAACA,IAEGI,EAAU,aAAK,WACpB,MAAMC,EAAIJ,EAAIE,QACd,OAAOE,aAAAA,EAAAA,KAAAC,UACT,GAAG,GACL"}
1
+ {"version":3,"file":"useEffectEvent.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useEffectEvent.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n"],"names":["$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","fn","ref","$lmaYr$useRef","current","$lmaYr$useCallback","f","arguments"],"mappings":"wEAiBuBA,mIAAvB,MAAMC,EAA4C,QAA3BD,OAAI,QAAuB,0BAA3B,IAAAA,EAAAA,EAA+BE,EAAc,uCAE7D,SAA4CC,GACjD,MAAMC,EAAMC,EAAK,OAAwB,MAKzC,OAJAJ,EAAe,KACbG,EAAIE,QAAUH,GACb,CAACA,IAEGI,EAAU,YAAK,WACpB,MAAMC,EAAIJ,EAAIE,QACd,OAAOE,aAAAA,EAAAA,KAAAC,UACT,EAAG,GACL"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useGlobalListeners=function(){let t=e.useRef(new Map),r=e.useCallback(((e,r,n,l)=>{let o=(null==l?void 0:l.once)?function(){t.current.delete(n),n(...arguments)}:n;t.current.set(n,{type:r,eventTarget:e,fn:o,options:l}),e.addEventListener(r,o,l)}),[]),n=e.useCallback(((e,r,n,l)=>{var o;let s=(null===(o=t.current.get(n))||void 0===o?void 0:o.fn)||n;e.removeEventListener(r,s,l),t.current.delete(n)}),[]),l=e.useCallback((()=>{t.current.forEach(((e,t)=>{n(e.eventTarget,e.type,t,e.options)}))}),[n]);return e.useEffect((()=>l),[l]),{addGlobalListener:r,removeGlobalListener:n,removeAllGlobalListeners:l}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useGlobalListeners=function(){let t=e.useRef(new Map),r=e.useCallback((e,r,n,l)=>{let o=(null==l?void 0:l.once)?function(){t.current.delete(n),n(...arguments)}:n;t.current.set(n,{type:r,eventTarget:e,fn:o,options:l}),e.addEventListener(r,o,l)},[]),n=e.useCallback((e,r,n,l)=>{var o;let s=(null===(o=t.current.get(n))||void 0===o?void 0:o.fn)||n;e.removeEventListener(r,s,l),t.current.delete(n)},[]),l=e.useCallback(()=>{t.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return e.useEffect(()=>l,[l]),{addGlobalListener:r,removeGlobalListener:n,removeAllGlobalListeners:l}};
2
2
  //# sourceMappingURL=useGlobalListeners.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useGlobalListeners.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useGlobalListeners.mjs"],"sourcesContent":["import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $03deb23ff14920c4$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $lPAwt$useRef)(new Map());\n let addGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n var _globalListeners_current_get;\n let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $lPAwt$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $lPAwt$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.module.js.map\n"],"names":["globalListeners","$lPAwt$useRef","Map","addGlobalListener","$lPAwt$useCallback","eventTarget","type","listener","options","fn","once","current","delete","arguments","set","addEventListener","removeGlobalListener","_globalListeners_current_get","get","removeEventListener","removeAllGlobalListeners","forEach","value","key","$lPAwt$useEffect"],"mappings":"sHAuBO,WACL,IAAIA,EAAkBC,EAAK,OAAE,IAAIC,KAC7BC,EAAoBC,EAAU,aAAE,CAACC,EAAaC,EAAMC,EAAUC,KAEhE,IAAIC,GAAKD,aAAA,EAAAA,EAASE,MAAO,WACvBV,EAAgBW,QAAQC,OAAOL,GAC/BA,KAAAM,UACF,EAAIN,EACJP,EAAgBW,QAAQG,IAAIP,EAAU,MAACD,cAAMD,KAAaI,EAAID,QAAAA,IAC9DH,EAAYU,iBAAiBT,EAAMG,EAAID,EAAA,GACtC,IACCQ,EAAuBZ,EAAU,aAAE,CAACC,EAAaC,EAAMC,EAAUC,SAC1DS,EAAT,IAAIR,WAAKQ,EAAAjB,EAAgBW,QAAQO,IAAIX,UAA5B,IAAAU,OAAA,EAAAA,EAAuCR,KAAMF,EACtDF,EAAYc,oBAAoBb,EAAMG,EAAID,GAC1CR,EAAgBW,QAAQC,OAAOL,EAAA,GAC9B,IACCa,EAA2BhB,EAAU,aAAE,KACzCJ,EAAgBW,QAAQU,SAAQ,CAACC,EAAOC,KACtCP,EAAqBM,EAAMjB,YAAaiB,EAAMhB,KAAMiB,EAAKD,EAAMd,QAAO,GACxE,GACC,CAACQ,IAOJ,OAJAQ,EAAQ,WAAE,IACDJ,GACN,CAACA,IAEG,mBAACjB,uBAAmBa,EAAsBI,yBAAAA,EACnD"}
1
+ {"version":3,"file":"useGlobalListeners.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useGlobalListeners.mjs"],"sourcesContent":["import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $03deb23ff14920c4$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $lPAwt$useRef)(new Map());\n let addGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n var _globalListeners_current_get;\n let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $lPAwt$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $lPAwt$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.module.js.map\n"],"names":["globalListeners","$lPAwt$useRef","Map","addGlobalListener","$lPAwt$useCallback","eventTarget","type","listener","options","fn","once","current","delete","arguments","set","addEventListener","removeGlobalListener","_globalListeners_current_get","get","removeEventListener","removeAllGlobalListeners","forEach","value","key","$lPAwt$useEffect"],"mappings":"sHAuBO,WACL,IAAIA,EAAkBC,EAAK,OAAE,IAAIC,KAC7BC,EAAoBC,EAAU,YAAE,CAACC,EAAaC,EAAMC,EAAUC,KAEhE,IAAIC,GAAKD,aAAA,EAAAA,EAASE,MAAO,WACvBV,EAAgBW,QAAQC,OAAOL,GAC/BA,KAAAM,UACF,EAAIN,EACJP,EAAgBW,QAAQG,IAAIP,EAAU,MAACD,cAAMD,KAAaI,EAAID,QAAAA,IAC9DH,EAAYU,iBAAiBT,EAAMG,EAAID,IACtC,IACCQ,EAAuBZ,EAAU,YAAE,CAACC,EAAaC,EAAMC,EAAUC,SAC1DS,EAAT,IAAIR,WAAKQ,EAAAjB,EAAgBW,QAAQO,IAAIX,UAA5B,IAAAU,OAAA,EAAAA,EAAuCR,KAAMF,EACtDF,EAAYc,oBAAoBb,EAAMG,EAAID,GAC1CR,EAAgBW,QAAQC,OAAOL,IAC9B,IACCa,EAA2BhB,EAAU,YAAE,KACzCJ,EAAgBW,QAAQU,QAAQ,CAACC,EAAOC,KACtCP,EAAqBM,EAAMjB,YAAaiB,EAAMhB,KAAMiB,EAAKD,EAAMd,YAEhE,CAACQ,IAOJ,OAJAQ,EAAQ,UAAE,IACDJ,EACN,CAACA,IAEG,mBAACjB,uBAAmBa,EAAsBI,yBAAAA,EACnD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./useLayoutEffect.mjs.js"),require("./useEffectEvent.mjs.js"),require("react");let e=new Map;"undefined"!=typeof FinalizationRegistry&&new FinalizationRegistry((t=>{e.delete(t)})),exports.idsUpdaterMap=e;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./useLayoutEffect.mjs.js"),require("./useEffectEvent.mjs.js"),require("react");let e=new Map;"undefined"!=typeof FinalizationRegistry&&new FinalizationRegistry(t=>{e.delete(t)}),exports.idsUpdaterMap=e;
2
2
  //# sourceMappingURL=useId.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useId.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useId.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n"],"names":["$bdb11010cef70236$export$d41a04c74483c6ef","Map","FinalizationRegistry","heldValue","delete"],"mappings":"4JAwBWA,IAAAA,EAA2D,IAAIC,IAKtC,oBAAzBC,sBACE,IAAIA,sBAA8BC,IAC3CH,EAAcI,OAAOD,EAAA"}
1
+ {"version":3,"file":"useId.mjs.js","sources":["../../../../../node_modules/@react-aria/utils/dist/useId.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n"],"names":["$bdb11010cef70236$export$d41a04c74483c6ef","Map","FinalizationRegistry","heldValue","delete"],"mappings":"4JAwBWA,IAAAA,EAA2D,IAAIC,IAKtC,oBAAzBC,sBACE,IAAIA,qBAA8BC,IAC3CH,EAAcI,OAAOD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../redux/es/redux.js");function n(){return n=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},n.apply(this,arguments)}function r(n){var r;n.models.forEach((function(e){return t(n,e)}));var u=o(n),i=e.applyMiddleware.apply(e,n.reduxConfig.middlewares),c=n.reduxConfig.devtoolComposer?(r=n.reduxConfig).devtoolComposer.apply(r,n.reduxConfig.enhancers.concat([i])):function(n){void 0===n&&(n={});return!n.disabled&&"object"==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(n):e.compose}(n.reduxConfig.devtoolOptions).apply(void 0,n.reduxConfig.enhancers.concat([i])),d=n.reduxConfig.createStore||e.createStore,a=n.reduxConfig.initialState;return d(u,void 0===a?{}:a,c)}function t(e,n){var r={};Object.keys(n.reducers).forEach((function(e){var t=function(e){return e.indexOf("/")>-1}(e)?e:n.name+"/"+e;r[t]=n.reducers[e]}));var t=function(e,t){return void 0===e&&(e=n.state),t.type in r?r[t.type](e,t.payload,t.meta):e},o=n.baseReducer,u=o?function(e,r){return void 0===e&&(e=n.state),t(o(e,r),r)}:t;e.forEachPlugin("onReducer",(function(r){u=r(u,n.name,e)||u})),e.reduxConfig.reducers[n.name]=u}function o(n){var r=n.reduxConfig.rootReducers,t=function(n){var r=n.combineReducers||e.combineReducers;if(!Object.keys(n.reducers).length)return function(e){return e};return r(n.reducers)}(n.reduxConfig),o=t;return r&&Object.keys(r).length&&(o=function(e,n){var o=r[n.type];return t(o?o(e,n):e,n)}),n.forEachPlugin("onRootReducer",(function(e){o=e(o,n)||o})),o}var u=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},i=function(e){return!e||"function"==typeof e},c=function(e){if("production"!==process.env.NODE_ENV){var n=e(),r=[];if(n.forEach((function(e){var n=e[0],t=e[1];n&&r.push(t)})),r.length>0)throw new Error(r.join(", "))}},d=function(e){c((function(){return[[!e,"model config is required"],["string"!=typeof e.name,'model "name" [string] is required'],[void 0===e.state&&void 0===e.baseReducer,'model "state" is required'],[!i(e.baseReducer),'model "baseReducer" must be a function']]}))},a=function(e,n,r,t){return Object.assign((function(t,o){var u={type:n+"/"+r};return void 0!==t&&(u.payload=t),void 0!==o&&(u.meta=o),e.dispatch(u)}),{isEffect:t})},f=function(e,n){var r=e.dispatch[n.name];Object.keys(n.reducers).forEach((function(t){!function(e,n,r){c((function(){return[[!!r.match(/\/.+\//),"Invalid reducer name ("+e+"/"+r+")"],["function"!=typeof n[r],"Invalid reducer ("+e+"/"+r+"). Must be a function"]]}))}(n.name,n.reducers,t),r[t]=a(e,n.name,t,!1)}))},s=function(e,n,r){var t=e.dispatch[r.name],o={};r.effects&&(o="function"==typeof r.effects?r.effects(e.dispatch):r.effects),Object.keys(o).forEach((function(u){!function(e,n,r){c((function(){return[[!!r.match(/\//),"Invalid effect name ("+e+"/"+r+")"],["function"!=typeof n[r],"Invalid effect ("+e+"/"+r+"). Must be a function"]]}))}(r.name,o,u),n.effects[r.name+"/"+u]=o[u].bind(t),t[u]=a(e,r.name,u,!0)}))};function l(e){return{models:(r=e.models,Object.keys(r).map((function(e){var t=function(e,r){return n({name:e,reducers:{}},r)}(e,r[e]);return d(t),t}))),reduxConfig:e.redux,forEachPlugin:function(n,r){e.plugins.forEach((function(e){e[n]&&r(e[n])}))},effects:{}};var r}function m(e){var u=l(e);u.reduxConfig.middlewares.push(function(e){return function(n){return function(r){return function(t){return t.type in e.effects?(r(t),e.effects[t.type](t.payload,n.getState(),t.meta)):r(t)}}}}(u)),u.forEachPlugin("createMiddleware",(function(e){u.reduxConfig.middlewares.push(e(u))}));var i,c=r(u),a=n({},c,{name:e.name,addModel:function(e){d(e),t(u,e),p(a,e),x(a,u,e),c.replaceReducer(o(u)),c.dispatch({type:"@@redux/REPLACE"})}});return i=a,e.plugins.forEach((function(e){e.exposed&&Object.keys(e.exposed).forEach((function(n){if(e.exposed){var r=e.exposed[n],t="function"==typeof r;i[n]=t?function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return r.apply(void 0,[i].concat(n))}:Object.create(e.exposed[n])}}))})),u.models.forEach((function(e){return p(a,e)})),u.models.forEach((function(e){return x(a,u,e)})),u.forEachPlugin("onStoreCreated",(function(e){a=e(a,u)||a})),a}function p(e,n){e.dispatch[""+n.name]={},f(e,n)}function x(e,n,r){s(e,n,r),n.forEachPlugin("onModel",(function(n){n(r,e)}))}var g=0;function v(e){var r,t,o,d=null!=(r=e.name)?r:"Rematch Store "+g;g+=1;var a={name:d,models:e.models||{},plugins:e.plugins||[],redux:n({reducers:{},rootReducers:{},enhancers:[],middlewares:[]},e.redux,{devtoolOptions:n({name:d},null!=(t=null==(o=e.redux)?void 0:o.devtoolOptions)?t:{})})};return function(e){c((function(){return[[!Array.isArray(e.plugins),"init config.plugins must be an array"],[!u(e.models),"init config.models must be an object"],[!u(e.redux.reducers),"init config.redux.reducers must be an object"],[!Array.isArray(e.redux.middlewares),"init config.redux.middlewares must be an array"],[!Array.isArray(e.redux.enhancers),"init config.redux.enhancers must be an array of functions"],[!i(e.redux.combineReducers),"init config.redux.combineReducers must be a function"],[!i(e.redux.createStore),"init config.redux.createStore must be a function"]]}))}(a),a.plugins.forEach((function(e){e.config&&(a.models=y(a.models,e.config.models),e.config.redux&&(a.redux.initialState=y(a.redux.initialState,e.config.redux.initialState),a.redux.reducers=y(a.redux.reducers,e.config.redux.reducers),a.redux.rootReducers=y(a.redux.rootReducers,e.config.redux.reducers),a.redux.enhancers=[].concat(a.redux.enhancers,e.config.redux.enhancers||[]),a.redux.middlewares=[].concat(a.redux.middlewares,e.config.redux.middlewares||[]),a.redux.combineReducers=a.redux.combineReducers||e.config.redux.combineReducers,a.redux.createStore=a.redux.createStore||e.config.redux.createStore)),function(e){c((function(){return[[!i(e.onStoreCreated),"Plugin onStoreCreated must be a function"],[!i(e.onModel),"Plugin onModel must be a function"],[!i(e.onReducer),"Plugin onReducer must be a function"],[!i(e.onRootReducer),"Plugin onRootReducer must be a function"],[!i(e.createMiddleware),"Plugin createMiddleware must be a function"]]}))}(e)})),a}function y(e,r){return r?n({},r,e):e}exports.createModel=function(){return function(e){return e}},exports.init=function(e){return m(v(e||{}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../redux/es/redux.js");function n(){return n=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},n.apply(this,arguments)}function r(n){var r;n.models.forEach(function(e){return t(n,e)});var u=o(n),i=e.applyMiddleware.apply(e,n.reduxConfig.middlewares),c=n.reduxConfig.devtoolComposer?(r=n.reduxConfig).devtoolComposer.apply(r,n.reduxConfig.enhancers.concat([i])):function(n){void 0===n&&(n={});return!n.disabled&&"object"==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(n):e.compose}(n.reduxConfig.devtoolOptions).apply(void 0,n.reduxConfig.enhancers.concat([i])),d=n.reduxConfig.createStore||e.createStore,a=n.reduxConfig.initialState;return d(u,void 0===a?{}:a,c)}function t(e,n){var r={};Object.keys(n.reducers).forEach(function(e){var t=function(e){return e.indexOf("/")>-1}(e)?e:n.name+"/"+e;r[t]=n.reducers[e]});var t=function(e,t){return void 0===e&&(e=n.state),t.type in r?r[t.type](e,t.payload,t.meta):e},o=n.baseReducer,u=o?function(e,r){return void 0===e&&(e=n.state),t(o(e,r),r)}:t;e.forEachPlugin("onReducer",function(r){u=r(u,n.name,e)||u}),e.reduxConfig.reducers[n.name]=u}function o(n){var r=n.reduxConfig.rootReducers,t=function(n){var r=n.combineReducers||e.combineReducers;if(!Object.keys(n.reducers).length)return function(e){return e};return r(n.reducers)}(n.reduxConfig),o=t;return r&&Object.keys(r).length&&(o=function(e,n){var o=r[n.type];return t(o?o(e,n):e,n)}),n.forEachPlugin("onRootReducer",function(e){o=e(o,n)||o}),o}var u=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},i=function(e){return!e||"function"==typeof e},c=function(e){if("production"!==process.env.NODE_ENV){var n=e(),r=[];if(n.forEach(function(e){var n=e[0],t=e[1];n&&r.push(t)}),r.length>0)throw new Error(r.join(", "))}},d=function(e){c(function(){return[[!e,"model config is required"],["string"!=typeof e.name,'model "name" [string] is required'],[void 0===e.state&&void 0===e.baseReducer,'model "state" is required'],[!i(e.baseReducer),'model "baseReducer" must be a function']]})},a=function(e,n,r,t){return Object.assign(function(t,o){var u={type:n+"/"+r};return void 0!==t&&(u.payload=t),void 0!==o&&(u.meta=o),e.dispatch(u)},{isEffect:t})},f=function(e,n){var r=e.dispatch[n.name];Object.keys(n.reducers).forEach(function(t){!function(e,n,r){c(function(){return[[!!r.match(/\/.+\//),"Invalid reducer name ("+e+"/"+r+")"],["function"!=typeof n[r],"Invalid reducer ("+e+"/"+r+"). Must be a function"]]})}(n.name,n.reducers,t),r[t]=a(e,n.name,t,!1)})},s=function(e,n,r){var t=e.dispatch[r.name],o={};r.effects&&(o="function"==typeof r.effects?r.effects(e.dispatch):r.effects),Object.keys(o).forEach(function(u){!function(e,n,r){c(function(){return[[!!r.match(/\//),"Invalid effect name ("+e+"/"+r+")"],["function"!=typeof n[r],"Invalid effect ("+e+"/"+r+"). Must be a function"]]})}(r.name,o,u),n.effects[r.name+"/"+u]=o[u].bind(t),t[u]=a(e,r.name,u,!0)})};function l(e){return{models:(r=e.models,Object.keys(r).map(function(e){var t=function(e,r){return n({name:e,reducers:{}},r)}(e,r[e]);return d(t),t})),reduxConfig:e.redux,forEachPlugin:function(n,r){e.plugins.forEach(function(e){e[n]&&r(e[n])})},effects:{}};var r}function m(e){var u=l(e);u.reduxConfig.middlewares.push(function(e){return function(n){return function(r){return function(t){return t.type in e.effects?(r(t),e.effects[t.type](t.payload,n.getState(),t.meta)):r(t)}}}}(u)),u.forEachPlugin("createMiddleware",function(e){u.reduxConfig.middlewares.push(e(u))});var i,c=r(u),a=n({},c,{name:e.name,addModel:function(e){d(e),t(u,e),p(a,e),x(a,u,e),c.replaceReducer(o(u)),c.dispatch({type:"@@redux/REPLACE"})}});return i=a,e.plugins.forEach(function(e){e.exposed&&Object.keys(e.exposed).forEach(function(n){if(e.exposed){var r=e.exposed[n],t="function"==typeof r;i[n]=t?function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return r.apply(void 0,[i].concat(n))}:Object.create(e.exposed[n])}})}),u.models.forEach(function(e){return p(a,e)}),u.models.forEach(function(e){return x(a,u,e)}),u.forEachPlugin("onStoreCreated",function(e){a=e(a,u)||a}),a}function p(e,n){e.dispatch[""+n.name]={},f(e,n)}function x(e,n,r){s(e,n,r),n.forEachPlugin("onModel",function(n){n(r,e)})}var g=0;function v(e){var r,t,o,d=null!=(r=e.name)?r:"Rematch Store "+g;g+=1;var a={name:d,models:e.models||{},plugins:e.plugins||[],redux:n({reducers:{},rootReducers:{},enhancers:[],middlewares:[]},e.redux,{devtoolOptions:n({name:d},null!=(t=null==(o=e.redux)?void 0:o.devtoolOptions)?t:{})})};return function(e){c(function(){return[[!Array.isArray(e.plugins),"init config.plugins must be an array"],[!u(e.models),"init config.models must be an object"],[!u(e.redux.reducers),"init config.redux.reducers must be an object"],[!Array.isArray(e.redux.middlewares),"init config.redux.middlewares must be an array"],[!Array.isArray(e.redux.enhancers),"init config.redux.enhancers must be an array of functions"],[!i(e.redux.combineReducers),"init config.redux.combineReducers must be a function"],[!i(e.redux.createStore),"init config.redux.createStore must be a function"]]})}(a),a.plugins.forEach(function(e){e.config&&(a.models=y(a.models,e.config.models),e.config.redux&&(a.redux.initialState=y(a.redux.initialState,e.config.redux.initialState),a.redux.reducers=y(a.redux.reducers,e.config.redux.reducers),a.redux.rootReducers=y(a.redux.rootReducers,e.config.redux.reducers),a.redux.enhancers=[].concat(a.redux.enhancers,e.config.redux.enhancers||[]),a.redux.middlewares=[].concat(a.redux.middlewares,e.config.redux.middlewares||[]),a.redux.combineReducers=a.redux.combineReducers||e.config.redux.combineReducers,a.redux.createStore=a.redux.createStore||e.config.redux.createStore)),function(e){c(function(){return[[!i(e.onStoreCreated),"Plugin onStoreCreated must be a function"],[!i(e.onModel),"Plugin onModel must be a function"],[!i(e.onReducer),"Plugin onReducer must be a function"],[!i(e.onRootReducer),"Plugin onRootReducer must be a function"],[!i(e.createMiddleware),"Plugin createMiddleware must be a function"]]})}(e)}),a}function y(e,r){return r?n({},r,e):e}exports.createModel=function(){return function(e){return e}},exports.init=function(e){return m(v(e||{}))};
2
2
  //# sourceMappingURL=core.esm.js.map