@monimesl/dot-renderer-react 0.1.0-alpha.8 → 0.1.0-alpha.9

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 (240) hide show
  1. package/README.md +39 -1
  2. package/dist/LICENSE-PHOSPHOR +21 -21
  3. package/dist/_virtual/_rolldown/runtime.js +14 -0
  4. package/dist/_virtual/builtin_esm-external-require-react.js +9 -0
  5. package/dist/color.js +105 -0
  6. package/dist/components/amount-input.d.ts +6 -0
  7. package/dist/components/amount-input.js +106 -0
  8. package/dist/components/button.d.ts +6 -0
  9. package/dist/components/button.js +42 -0
  10. package/dist/components/carousel.d.ts +6 -0
  11. package/dist/components/carousel.js +254 -0
  12. package/dist/components/chip.d.ts +6 -0
  13. package/dist/components/chip.js +41 -0
  14. package/dist/components/code-input.d.ts +6 -0
  15. package/dist/components/code-input.js +97 -0
  16. package/dist/components/detail-row.d.ts +6 -0
  17. package/dist/components/detail-row.js +40 -0
  18. package/dist/components/divider.d.ts +6 -0
  19. package/dist/components/divider.js +18 -0
  20. package/dist/components/empty-state.d.ts +6 -0
  21. package/dist/components/empty-state.js +66 -0
  22. package/dist/components/feedback.d.ts +8 -0
  23. package/dist/components/feedback.js +85 -0
  24. package/dist/components/field-box.js +44 -0
  25. package/dist/components/field.js +43 -0
  26. package/dist/components/footer.d.ts +6 -0
  27. package/dist/components/footer.js +24 -0
  28. package/dist/components/grid.d.ts +7 -0
  29. package/dist/components/grid.js +98 -0
  30. package/dist/components/icon-artwork.js +74 -0
  31. package/dist/components/icon.d.ts +6 -0
  32. package/dist/components/icon.js +40 -0
  33. package/dist/components/image.d.ts +6 -0
  34. package/dist/components/image.js +40 -0
  35. package/dist/components/index.d.ts +30 -0
  36. package/dist/components/index.js +72 -0
  37. package/dist/components/input.d.ts +6 -0
  38. package/dist/components/input.js +86 -0
  39. package/dist/components/link.d.ts +6 -0
  40. package/dist/components/link.js +39 -0
  41. package/dist/components/list.d.ts +7 -0
  42. package/dist/components/list.js +143 -0
  43. package/dist/components/option-place.js +9 -0
  44. package/dist/components/option.d.ts +6 -0
  45. package/dist/components/option.js +43 -0
  46. package/dist/components/padding.d.ts +2 -0
  47. package/dist/components/padding.js +27 -0
  48. package/dist/components/pressable.js +17 -0
  49. package/dist/components/qr-code.d.ts +6 -0
  50. package/dist/components/qr-code.js +58 -0
  51. package/dist/components/scroll.d.ts +6 -0
  52. package/dist/components/scroll.js +55 -0
  53. package/dist/components/select.d.ts +6 -0
  54. package/dist/components/select.js +92 -0
  55. package/dist/components/sheet.d.ts +8 -0
  56. package/dist/components/sheet.js +105 -0
  57. package/dist/components/skeleton.d.ts +6 -0
  58. package/dist/components/skeleton.js +55 -0
  59. package/dist/components/spinner.d.ts +6 -0
  60. package/dist/components/spinner.js +48 -0
  61. package/dist/components/tabs.d.ts +7 -0
  62. package/dist/components/tabs.js +91 -0
  63. package/dist/components/text-area.d.ts +6 -0
  64. package/dist/components/text-area.js +42 -0
  65. package/dist/components/text.d.ts +6 -0
  66. package/dist/components/text.js +46 -0
  67. package/dist/components/toast.d.ts +6 -0
  68. package/dist/components/toast.js +56 -0
  69. package/dist/components/toggles.d.ts +9 -0
  70. package/dist/components/toggles.js +149 -0
  71. package/dist/components/tokens.js +37 -0
  72. package/dist/components/tones.js +24 -0
  73. package/dist/components/typed-text.js +28 -0
  74. package/dist/components/view.d.ts +6 -0
  75. package/dist/components/view.js +51 -0
  76. package/dist/index.d.ts +35 -64
  77. package/dist/index.js +32 -22636
  78. package/dist/page-root.d.ts +2 -0
  79. package/dist/page-root.js +20 -0
  80. package/dist/portal.js +8 -0
  81. package/dist/renderer.d.ts +17 -0
  82. package/dist/renderer.js +33 -0
  83. package/dist/root.d.ts +10 -0
  84. package/dist/root.js +51 -0
  85. package/dist/styles.css +95 -1
  86. package/dist/theme.d.ts +25 -0
  87. package/dist/theme.js +84 -0
  88. package/dist/types.d.ts +7 -0
  89. package/dist/vendor/@base-ui/react/checkbox/indicator/CheckboxIndicator.js +51 -0
  90. package/dist/vendor/@base-ui/react/checkbox/root/CheckboxRoot.js +265 -0
  91. package/dist/vendor/@base-ui/react/checkbox/root/CheckboxRootContext.js +13 -0
  92. package/dist/vendor/@base-ui/react/checkbox/root/CheckboxRootDataAttributes.js +11 -0
  93. package/dist/vendor/@base-ui/react/checkbox/utils/getCheckboxStateAttributesMapping.js +15 -0
  94. package/dist/vendor/@base-ui/react/checkbox-group/CheckboxGroupContext.js +10 -0
  95. package/dist/vendor/@base-ui/react/dialog/backdrop/DialogBackdrop.js +40 -0
  96. package/dist/vendor/@base-ui/react/dialog/close/DialogClose.js +39 -0
  97. package/dist/vendor/@base-ui/react/dialog/popup/DialogPopup.js +92 -0
  98. package/dist/vendor/@base-ui/react/dialog/popup/DialogPopupCssVars.js +8 -0
  99. package/dist/vendor/@base-ui/react/dialog/popup/DialogPopupDataAttributes.js +7 -0
  100. package/dist/vendor/@base-ui/react/dialog/portal/DialogPortal.js +38 -0
  101. package/dist/vendor/@base-ui/react/dialog/portal/DialogPortalContext.js +13 -0
  102. package/dist/vendor/@base-ui/react/dialog/root/DialogRoot.js +16 -0
  103. package/dist/vendor/@base-ui/react/dialog/root/DialogRootContext.js +13 -0
  104. package/dist/vendor/@base-ui/react/dialog/root/useDialogRoot.js +77 -0
  105. package/dist/vendor/@base-ui/react/dialog/root/useRenderDialogRoot.js +65 -0
  106. package/dist/vendor/@base-ui/react/dialog/store/DialogStore.js +70 -0
  107. package/dist/vendor/@base-ui/react/dialog/title/DialogTitle.js +25 -0
  108. package/dist/vendor/@base-ui/react/dialog/utils/stateAttributesMapping.js +17 -0
  109. package/dist/vendor/@base-ui/react/field/control/FieldControlDataAttributes.js +11 -0
  110. package/dist/vendor/@base-ui/react/field/item/FieldItemContext.js +10 -0
  111. package/dist/vendor/@base-ui/react/field/root/useFieldValidation.js +18 -0
  112. package/dist/vendor/@base-ui/react/fieldset/root/FieldsetRootContext.js +13 -0
  113. package/dist/vendor/@base-ui/react/floating-ui-react/components/FloatingFocusManager.js +477 -0
  114. package/dist/vendor/@base-ui/react/floating-ui-react/components/FloatingPortal.js +165 -0
  115. package/dist/vendor/@base-ui/react/floating-ui-react/components/FloatingRootStore.js +65 -0
  116. package/dist/vendor/@base-ui/react/floating-ui-react/components/FloatingTree.js +22 -0
  117. package/dist/vendor/@base-ui/react/floating-ui-react/hooks/useDismiss.js +373 -0
  118. package/dist/vendor/@base-ui/react/floating-ui-react/hooks/useSyncedFloatingRootContext.js +58 -0
  119. package/dist/vendor/@base-ui/react/floating-ui-react/utils/composite.js +40 -0
  120. package/dist/vendor/@base-ui/react/floating-ui-react/utils/constants.js +5 -0
  121. package/dist/vendor/@base-ui/react/floating-ui-react/utils/createAttribute.js +6 -0
  122. package/dist/vendor/@base-ui/react/floating-ui-react/utils/createEventEmitter.js +18 -0
  123. package/dist/vendor/@base-ui/react/floating-ui-react/utils/element.js +26 -0
  124. package/dist/vendor/@base-ui/react/floating-ui-react/utils/enqueueFocus.js +25 -0
  125. package/dist/vendor/@base-ui/react/floating-ui-react/utils/event.js +25 -0
  126. package/dist/vendor/@base-ui/react/floating-ui-react/utils/markOthers.js +116 -0
  127. package/dist/vendor/@base-ui/react/floating-ui-react/utils/nodes.js +16 -0
  128. package/dist/vendor/@base-ui/react/floating-ui-react/utils/tabbable.js +135 -0
  129. package/dist/vendor/@base-ui/react/internals/TransitionStatusDataAttributes.js +11 -0
  130. package/dist/vendor/@base-ui/react/internals/composite/composite.js +89 -0
  131. package/dist/vendor/@base-ui/react/internals/composite/constants.js +4 -0
  132. package/dist/vendor/@base-ui/react/internals/composite/item/CompositeItem.js +21 -0
  133. package/dist/vendor/@base-ui/react/internals/composite/item/useCompositeItem.js +31 -0
  134. package/dist/vendor/@base-ui/react/internals/composite/list/CompositeList.js +180 -0
  135. package/dist/vendor/@base-ui/react/internals/composite/list/CompositeListContext.js +15 -0
  136. package/dist/vendor/@base-ui/react/internals/composite/list/useCompositeListItem.js +54 -0
  137. package/dist/vendor/@base-ui/react/internals/composite/root/CompositeRoot.js +62 -0
  138. package/dist/vendor/@base-ui/react/internals/composite/root/CompositeRootContext.js +13 -0
  139. package/dist/vendor/@base-ui/react/internals/composite/root/useCompositeRoot.js +170 -0
  140. package/dist/vendor/@base-ui/react/internals/constants.js +18 -0
  141. package/dist/vendor/@base-ui/react/internals/createBaseUIEventDetails.js +40 -0
  142. package/dist/vendor/@base-ui/react/internals/direction-context/DirectionContext.js +10 -0
  143. package/dist/vendor/@base-ui/react/internals/field-constants/constants.js +33 -0
  144. package/dist/vendor/@base-ui/react/internals/field-register-control/useRegisterFieldControl.js +40 -0
  145. package/dist/vendor/@base-ui/react/internals/field-root-context/FieldRootContext.js +45 -0
  146. package/dist/vendor/@base-ui/react/internals/form-context/FormContext.js +18 -0
  147. package/dist/vendor/@base-ui/react/internals/getStateAttributesProps.js +17 -0
  148. package/dist/vendor/@base-ui/react/internals/labelable-provider/LabelableContext.js +24 -0
  149. package/dist/vendor/@base-ui/react/internals/labelable-provider/useAriaLabelledBy.js +35 -0
  150. package/dist/vendor/@base-ui/react/internals/labelable-provider/useLabelableId.js +57 -0
  151. package/dist/vendor/@base-ui/react/internals/reason-parts.js +14 -0
  152. package/dist/vendor/@base-ui/react/internals/serializeValue.js +12 -0
  153. package/dist/vendor/@base-ui/react/internals/stateAttributesMapping.js +11 -0
  154. package/dist/vendor/@base-ui/react/internals/use-button/useButton.js +137 -0
  155. package/dist/vendor/@base-ui/react/internals/useAnimationsFinished.js +94 -0
  156. package/dist/vendor/@base-ui/react/internals/useBaseUiId.js +13 -0
  157. package/dist/vendor/@base-ui/react/internals/useOpenChangeComplete.js +28 -0
  158. package/dist/vendor/@base-ui/react/internals/useRenderElement.js +109 -0
  159. package/dist/vendor/@base-ui/react/internals/useTransitionStatus.js +70 -0
  160. package/dist/vendor/@base-ui/react/internals/useValueChanged.js +15 -0
  161. package/dist/vendor/@base-ui/react/merge-props/mergeProps.js +153 -0
  162. package/dist/vendor/@base-ui/react/radio/indicator/RadioIndicator.js +46 -0
  163. package/dist/vendor/@base-ui/react/radio/root/RadioRoot.js +179 -0
  164. package/dist/vendor/@base-ui/react/radio/root/RadioRootContext.js +13 -0
  165. package/dist/vendor/@base-ui/react/radio/root/RadioRootDataAttributes.js +11 -0
  166. package/dist/vendor/@base-ui/react/radio/utils/stateAttributesMapping.js +14 -0
  167. package/dist/vendor/@base-ui/react/radio-group/RadioGroup.js +170 -0
  168. package/dist/vendor/@base-ui/react/radio-group/RadioGroupContext.js +10 -0
  169. package/dist/vendor/@base-ui/react/switch/root/SwitchRoot.js +170 -0
  170. package/dist/vendor/@base-ui/react/switch/root/SwitchRootContext.js +13 -0
  171. package/dist/vendor/@base-ui/react/switch/root/SwitchRootDataAttributes.js +11 -0
  172. package/dist/vendor/@base-ui/react/switch/stateAttributesMapping.js +12 -0
  173. package/dist/vendor/@base-ui/react/switch/thumb/SwitchThumb.js +25 -0
  174. package/dist/vendor/@base-ui/react/tabs/list/TabsList.js +98 -0
  175. package/dist/vendor/@base-ui/react/tabs/list/TabsListContext.js +13 -0
  176. package/dist/vendor/@base-ui/react/tabs/root/TabsRoot.js +213 -0
  177. package/dist/vendor/@base-ui/react/tabs/root/TabsRootContext.js +16 -0
  178. package/dist/vendor/@base-ui/react/tabs/root/TabsRootDataAttributes.js +8 -0
  179. package/dist/vendor/@base-ui/react/tabs/root/stateAttributesMapping.js +5 -0
  180. package/dist/vendor/@base-ui/react/tabs/tab/TabsTab.js +137 -0
  181. package/dist/vendor/@base-ui/react/utils/CommonPopupDataAttributes.js +24 -0
  182. package/dist/vendor/@base-ui/react/utils/CommonTriggerDataAttributes.js +11 -0
  183. package/dist/vendor/@base-ui/react/utils/FocusGuard.js +32 -0
  184. package/dist/vendor/@base-ui/react/utils/InternalBackdrop.js +30 -0
  185. package/dist/vendor/@base-ui/react/utils/dispatchClickWithModifiers.js +25 -0
  186. package/dist/vendor/@base-ui/react/utils/popupStateMapping.js +22 -0
  187. package/dist/vendor/@base-ui/react/utils/popups/popupStoreUtils.js +247 -0
  188. package/dist/vendor/@base-ui/react/utils/popups/popupTriggerMap.js +96 -0
  189. package/dist/vendor/@base-ui/react/utils/popups/store.js +94 -0
  190. package/dist/vendor/@base-ui/react/utils/resolveClassName.js +13 -0
  191. package/dist/vendor/@base-ui/react/utils/resolveRef.js +11 -0
  192. package/dist/vendor/@base-ui/react/utils/resolveStyle.js +13 -0
  193. package/dist/vendor/@base-ui/react/utils/useFocusableWhenDisabled.js +30 -0
  194. package/dist/vendor/@base-ui/utils/addEventListener.js +12 -0
  195. package/dist/vendor/@base-ui/utils/createLogOnce.js +20 -0
  196. package/dist/vendor/@base-ui/utils/empty.js +6 -0
  197. package/dist/vendor/@base-ui/utils/error.js +5 -0
  198. package/dist/vendor/@base-ui/utils/fastHooks.js +68 -0
  199. package/dist/vendor/@base-ui/utils/formatErrorMessage.js +27 -0
  200. package/dist/vendor/@base-ui/utils/getDefaultFormSubmitter.js +25 -0
  201. package/dist/vendor/@base-ui/utils/getReactElementRef.js +14 -0
  202. package/dist/vendor/@base-ui/utils/inertValue.js +8 -0
  203. package/dist/vendor/@base-ui/utils/isElementDisabled.js +6 -0
  204. package/dist/vendor/@base-ui/utils/mergeCleanups.js +14 -0
  205. package/dist/vendor/@base-ui/utils/mergeObjects.js +11 -0
  206. package/dist/vendor/@base-ui/utils/owner.js +7 -0
  207. package/dist/vendor/@base-ui/utils/platform/engine.js +8 -0
  208. package/dist/vendor/@base-ui/utils/platform/env.js +6 -0
  209. package/dist/vendor/@base-ui/utils/platform/os.js +15 -0
  210. package/dist/vendor/@base-ui/utils/platform/screen-reader.js +9 -0
  211. package/dist/vendor/@base-ui/utils/platform/shared.js +36 -0
  212. package/dist/vendor/@base-ui/utils/reactVersion.js +8 -0
  213. package/dist/vendor/@base-ui/utils/safeReact.js +13 -0
  214. package/dist/vendor/@base-ui/utils/shadowDom.js +26 -0
  215. package/dist/vendor/@base-ui/utils/store/ReactStore.js +181 -0
  216. package/dist/vendor/@base-ui/utils/store/Store.js +102 -0
  217. package/dist/vendor/@base-ui/utils/store/useStore.js +97 -0
  218. package/dist/vendor/@base-ui/utils/useAnimationFrame.js +87 -0
  219. package/dist/vendor/@base-ui/utils/useControlled.js +52 -0
  220. package/dist/vendor/@base-ui/utils/useId.js +32 -0
  221. package/dist/vendor/@base-ui/utils/useIsoLayoutEffect.js +7 -0
  222. package/dist/vendor/@base-ui/utils/useMergedRefs.js +87 -0
  223. package/dist/vendor/@base-ui/utils/useOnMount.js +12 -0
  224. package/dist/vendor/@base-ui/utils/useRefWithInit.js +18 -0
  225. package/dist/vendor/@base-ui/utils/useScrollLock.js +206 -0
  226. package/dist/vendor/@base-ui/utils/useStableCallback.js +38 -0
  227. package/dist/vendor/@base-ui/utils/useTimeout.js +43 -0
  228. package/dist/vendor/@base-ui/utils/useValueAsRef.js +27 -0
  229. package/dist/vendor/@base-ui/utils/visuallyHidden.js +23 -0
  230. package/dist/vendor/@base-ui/utils/warn.js +5 -0
  231. package/dist/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +49 -0
  232. package/dist/vendor/uqr/dist/index.js +858 -0
  233. package/dist/vendor/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +74 -0
  234. package/dist/vendor/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +77 -0
  235. package/dist/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +69 -0
  236. package/dist/vendor/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +64 -0
  237. package/dist/vendor/use-sync-external-store/shim/index.js +11 -0
  238. package/dist/vendor/use-sync-external-store/shim/with-selector.js +11 -0
  239. package/package.json +8 -14
  240. package/dist/garra-versions.json +0 -7
@@ -0,0 +1,27 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/formatErrorMessage.mjs
2
+ /**
3
+ * Creates a formatErrorMessage function with a custom URL and prefix.
4
+ * @param baseUrl - The base URL for the error page (e.g., 'https://base-ui.com/production-error')
5
+ * @param prefix - The prefix for the error message (e.g., 'Base UI')
6
+ * @returns A function that formats error messages with the given URL and prefix
7
+ */
8
+ function createFormatErrorMessage(baseUrl, prefix) {
9
+ return function formatErrorMessage(code, ...args) {
10
+ const url = new URL(baseUrl);
11
+ url.searchParams.set("code", code.toString());
12
+ args.forEach((arg) => url.searchParams.append("args[]", arg));
13
+ return `${prefix} error #${code}; visit ${url} for the full message.`;
14
+ };
15
+ }
16
+ /**
17
+ * WARNING: Don't import this directly. It's imported by the code generated by
18
+ * `@mui/internal-babel-plugin-minify-errors`. Make sure to always use string literals in `Error`
19
+ * constructors to ensure the plugin works as expected. Supported patterns include:
20
+ * throw new Error('My message');
21
+ * throw new Error(`My message: ${foo}`);
22
+ * throw new Error(`My message: ${foo}` + 'another string');
23
+ * ...
24
+ */
25
+ const formatErrorMessage = createFormatErrorMessage("https://base-ui.com/production-error", "Base UI");
26
+ //#endregion
27
+ export { createFormatErrorMessage, formatErrorMessage as default };
@@ -0,0 +1,25 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/getDefaultFormSubmitter.mjs
2
+ /**
3
+ * Returns the default button a browser uses for implicit form submission.
4
+ *
5
+ * This is useful for custom form controls that need to mirror native Enter key behavior.
6
+ * Clicking the returned submitter preserves browser semantics such as the submitter's click
7
+ * event, `SubmitEvent.submitter`, and submitter-specific attributes.
8
+ *
9
+ * The function follows the controls exposed by `form.elements`, which includes controls associated
10
+ * through the `form` attribute. Disabled submitters can be returned because the default button is
11
+ * determined before disabled state is considered; clicking a disabled submitter is a no-op.
12
+ */
13
+ function getDefaultFormSubmitter(form) {
14
+ if (!form) return null;
15
+ for (const candidate of form.elements) {
16
+ const tagName = candidate.tagName;
17
+ if (tagName === "BUTTON" || tagName === "INPUT") {
18
+ const button = candidate;
19
+ if (button.type === "submit") return button;
20
+ }
21
+ }
22
+ return null;
23
+ }
24
+ //#endregion
25
+ export { getDefaultFormSubmitter };
@@ -0,0 +1,14 @@
1
+ import { isReactVersionAtLeast } from "./reactVersion.js";
2
+ import * as React from "react";
3
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/getReactElementRef.mjs
4
+ /**
5
+ * Extracts the `ref` from a React element, handling different React versions.
6
+ */
7
+ function getReactElementRef(element) {
8
+ if (!/*#__PURE__*/ React.isValidElement(element)) return null;
9
+ const reactElement = element;
10
+ const propsWithRef = reactElement.props;
11
+ return (isReactVersionAtLeast(19) ? propsWithRef?.ref : reactElement.ref) ?? null;
12
+ }
13
+ //#endregion
14
+ export { getReactElementRef };
@@ -0,0 +1,8 @@
1
+ import { isReactVersionAtLeast } from "./reactVersion.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/inertValue.mjs
3
+ function inertValue(value) {
4
+ if (isReactVersionAtLeast(19)) return value;
5
+ return value ? "true" : void 0;
6
+ }
7
+ //#endregion
8
+ export { inertValue };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/isElementDisabled.mjs
2
+ function isElementDisabled(element) {
3
+ return element == null || element.hasAttribute("disabled") || element.getAttribute("aria-disabled") === "true";
4
+ }
5
+ //#endregion
6
+ export { isElementDisabled };
@@ -0,0 +1,14 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/mergeCleanups.mjs
2
+ /**
3
+ * Combines multiple cleanup functions into a single cleanup function.
4
+ */
5
+ function mergeCleanups(...cleanups) {
6
+ return () => {
7
+ for (let i = 0; i < cleanups.length; i += 1) {
8
+ const cleanup = cleanups[i];
9
+ if (cleanup) cleanup();
10
+ }
11
+ };
12
+ }
13
+ //#endregion
14
+ export { mergeCleanups };
@@ -0,0 +1,11 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/mergeObjects.mjs
2
+ function mergeObjects(a, b) {
3
+ if (a && !b) return a;
4
+ if (!a && b) return b;
5
+ if (a || b) return {
6
+ ...a,
7
+ ...b
8
+ };
9
+ }
10
+ //#endregion
11
+ export { mergeObjects };
@@ -0,0 +1,7 @@
1
+ import { getWindow } from "../../@floating-ui/utils/dist/floating-ui.utils.dom.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/owner.mjs
3
+ function ownerDocument(node) {
4
+ return node?.ownerDocument || document;
5
+ }
6
+ //#endregion
7
+ export { ownerDocument, getWindow as ownerWindow };
@@ -0,0 +1,8 @@
1
+ import { lowerUserAgent } from "./shared.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/platform/engine.mjs
3
+ /** WebKit: Safari, all iOS browsers, GNOME Web. Excludes Blink. */
4
+ const webkit = typeof CSS !== "undefined" && !!CSS.supports?.("-webkit-backdrop-filter:none");
5
+ !webkit && lowerUserAgent.includes("firefox");
6
+ !webkit && lowerUserAgent.includes("chrom");
7
+ //#endregion
8
+ export { webkit };
@@ -0,0 +1,6 @@
1
+ import { lowerUserAgent } from "./shared.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/platform/env.mjs
3
+ /** Running in jsdom or HappyDOM (used by unit tests). */
4
+ const jsdom = /jsdom|happydom/.test(lowerUserAgent);
5
+ //#endregion
6
+ export { jsdom };
@@ -0,0 +1,15 @@
1
+ import { lowerPlatform, lowerUserAgent, maxTouchPoints } from "./shared.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/platform/os.mjs
3
+ /** iPhone, iPad (including iPadOS 13+ reporting as macOS), iPod. */
4
+ const ios = /^i(os$|p)/.test(lowerPlatform) || lowerPlatform === "macintel" && maxTouchPoints > 1;
5
+ /** Android phones, tablets, and embedded Android browsers. */
6
+ const ANDROID_STRING = "android";
7
+ const android = lowerPlatform === ANDROID_STRING || lowerUserAgent.includes(ANDROID_STRING);
8
+ /** macOS desktop. Excludes iPadOS, which reports as `MacIntel`. */
9
+ const mac = !ios && lowerPlatform.startsWith("mac");
10
+ lowerPlatform.startsWith("win");
11
+ !android && /^(linux|chrome os)/.test(lowerPlatform);
12
+ /** Any Apple OS (`mac || ios`). */
13
+ const apple = mac || ios;
14
+ //#endregion
15
+ export { android, apple, ios, mac };
@@ -0,0 +1,9 @@
1
+ import { apple } from "./os.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/platform/screen-reader.mjs
3
+ /**
4
+ * The user *may* be using VoiceOver — actual activation is not detectable.
5
+ * True on any Apple platform (macOS, iOS, iPadOS).
6
+ */
7
+ const voiceOver = apple;
8
+ //#endregion
9
+ export { voiceOver };
@@ -0,0 +1,36 @@
1
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/platform/shared.mjs
2
+ /**
3
+ * Reads `navigator.userAgent` / `navigator.platform` (legacy but universally
4
+ * supported) into a normalized shape. In development, prefers the modern
5
+ * `navigator.userAgentData` API on Chromium to avoid DevTools warnings about
6
+ * the deprecated reads; that branch is dead-code-eliminated in production
7
+ * builds to keep the bundle small.
8
+ *
9
+ * Returns empty/zero values when `navigator` is undefined (SSR), so every
10
+ * derived flag safely evaluates to `false`.
11
+ */
12
+ function readRawData() {
13
+ if (typeof navigator === "undefined") return {
14
+ userAgent: "",
15
+ platform: "",
16
+ maxTouchPoints: 0
17
+ };
18
+ if (process.env.NODE_ENV !== "production") {
19
+ const uaData = navigator.userAgentData;
20
+ if (uaData && Array.isArray(uaData.brands)) return {
21
+ userAgent: uaData.brands.map(({ brand, version }) => `${brand}/${version}`).join(" "),
22
+ platform: uaData.platform ?? navigator.platform ?? "",
23
+ maxTouchPoints: navigator.maxTouchPoints ?? 0
24
+ };
25
+ }
26
+ return {
27
+ userAgent: navigator.userAgent,
28
+ platform: navigator.platform ?? "",
29
+ maxTouchPoints: navigator.maxTouchPoints ?? 0
30
+ };
31
+ }
32
+ const { userAgent, platform, maxTouchPoints } = readRawData();
33
+ const lowerUserAgent = userAgent.toLowerCase();
34
+ const lowerPlatform = platform.toLowerCase();
35
+ //#endregion
36
+ export { lowerPlatform, lowerUserAgent, maxTouchPoints };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/reactVersion.mjs
3
+ const majorVersion = parseInt(React.version, 10);
4
+ function isReactVersionAtLeast(reactVersionToCheck) {
5
+ return majorVersion >= reactVersionToCheck;
6
+ }
7
+ //#endregion
8
+ export { isReactVersionAtLeast };
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/safeReact.mjs
3
+ /**
4
+ * A clone of the React namespace for reading APIs that may be missing in older
5
+ * supported React versions. Bundlers can rewrite direct `React.someNewApi`
6
+ * reads into named imports, which breaks React 17. Reading from this cloned
7
+ * object keeps those lookups optional.
8
+ *
9
+ * @see https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379
10
+ */
11
+ const SafeReact = { ...React };
12
+ //#endregion
13
+ export { SafeReact };
@@ -0,0 +1,26 @@
1
+ import { isShadowRoot } from "../../@floating-ui/utils/dist/floating-ui.utils.dom.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/shadowDom.mjs
3
+ function activeElement(doc) {
4
+ let element = doc.activeElement;
5
+ while (element?.shadowRoot?.activeElement != null) element = element.shadowRoot.activeElement;
6
+ return element;
7
+ }
8
+ function contains(parent, child) {
9
+ if (!parent || !child) return false;
10
+ const rootNode = child.getRootNode?.();
11
+ if (parent.contains(child)) return true;
12
+ if (rootNode && isShadowRoot(rootNode)) {
13
+ let next = child;
14
+ while (next) {
15
+ if (parent === next) return true;
16
+ next = next.parentNode || next.host;
17
+ }
18
+ }
19
+ return false;
20
+ }
21
+ function getTarget(event) {
22
+ if ("composedPath" in event) return event.composedPath()[0] ?? event.target;
23
+ return event.target;
24
+ }
25
+ //#endregion
26
+ export { activeElement, contains, getTarget };
@@ -0,0 +1,181 @@
1
+ "use client";
2
+ import { NOOP } from "../empty.js";
3
+ import { useStableCallback } from "../useStableCallback.js";
4
+ import { useIsoLayoutEffect } from "../useIsoLayoutEffect.js";
5
+ import { useStore } from "./useStore.js";
6
+ import { Store } from "./Store.js";
7
+ import * as React from "react";
8
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/store/ReactStore.mjs
9
+ /**
10
+ * A Store that supports controlled state keys, non-reactive values and provides utility methods for React.
11
+ */
12
+ var ReactStore = class extends Store {
13
+ /**
14
+ * Creates a new ReactStore instance.
15
+ *
16
+ * @param state Initial state of the store.
17
+ * @param context Non-reactive context values.
18
+ * @param selectors Optional selectors for use with `useState`.
19
+ */
20
+ constructor(state, context = {}, selectors) {
21
+ super(state);
22
+ this.context = context;
23
+ this.selectors = selectors;
24
+ }
25
+ /**
26
+ * Non-reactive values such as refs, callbacks, etc.
27
+ */
28
+ /**
29
+ * Synchronizes a single external value into the store.
30
+ *
31
+ * Note that the while the value in `state` is updated immediately, the value returned
32
+ * by `useState` is updated before the next render (similarly to React's `useState`).
33
+ */
34
+ useSyncedValue(key, value) {
35
+ React.useDebugValue(key);
36
+ const store = this;
37
+ useIsoLayoutEffect(() => {
38
+ if (store.state[key] !== value) store.set(key, value);
39
+ }, [
40
+ store,
41
+ key,
42
+ value
43
+ ]);
44
+ }
45
+ /**
46
+ * Synchronizes a single external value into the store and
47
+ * cleans it up (sets to `undefined`) on unmount.
48
+ *
49
+ * Note that the while the value in `state` is updated immediately, the value returned
50
+ * by `useState` is updated before the next render (similarly to React's `useState`).
51
+ */
52
+ useSyncedValueWithCleanup(key, value) {
53
+ const store = this;
54
+ useIsoLayoutEffect(() => {
55
+ if (store.state[key] !== value) store.set(key, value);
56
+ return () => {
57
+ store.set(key, void 0);
58
+ };
59
+ }, [
60
+ store,
61
+ key,
62
+ value
63
+ ]);
64
+ }
65
+ /**
66
+ * Synchronizes multiple external values into the store.
67
+ * Each value must match its state key. Pass an exact known subset rather than a broad
68
+ * `Partial<State>`, which may contain `undefined` for required state fields.
69
+ *
70
+ * Note that the while the values in `state` are updated immediately, the values returned
71
+ * by `useState` are updated before the next render (similarly to React's `useState`).
72
+ *
73
+ * @param statePart An exact subset of state fields to synchronize. Unknown keys are not accepted.
74
+ */
75
+ useSyncedValues(statePart) {
76
+ const store = this;
77
+ if (process.env.NODE_ENV !== "production") {
78
+ React.useDebugValue(statePart, (p) => Object.keys(p));
79
+ const keys = React.useRef(Object.keys(statePart)).current;
80
+ const nextKeys = Object.keys(statePart);
81
+ if (keys.length !== nextKeys.length || keys.some((key, index) => key !== nextKeys[index])) console.error("ReactStore.useSyncedValues expects the same prop keys on every render. Keys should be stable.");
82
+ }
83
+ const dependencies = Object.values(statePart);
84
+ useIsoLayoutEffect(() => {
85
+ store.update(statePart);
86
+ }, [store, ...dependencies]);
87
+ }
88
+ /**
89
+ * Registers a controllable prop pair (`controlled`, `defaultValue`) for a specific key. If `controlled`
90
+ * is non-undefined, the store's state at `key` is updated to match `controlled`.
91
+ */
92
+ useControlledProp(key, controlled) {
93
+ React.useDebugValue(key);
94
+ const store = this;
95
+ const isControlled = controlled !== void 0;
96
+ useIsoLayoutEffect(() => {
97
+ if (isControlled && !Object.is(store.state[key], controlled)) store.setState({
98
+ ...store.state,
99
+ [key]: controlled
100
+ });
101
+ }, [
102
+ store,
103
+ key,
104
+ controlled,
105
+ isControlled
106
+ ]);
107
+ if (process.env.NODE_ENV !== "production") {
108
+ const cache = this.controlledValues ??= /* @__PURE__ */ new Map();
109
+ if (!cache.has(key)) cache.set(key, isControlled);
110
+ const previouslyControlled = cache.get(key);
111
+ if (previouslyControlled !== void 0 && previouslyControlled !== isControlled) console.error(`A component is changing the ${isControlled ? "" : "un"}controlled state of ${key.toString()} to be ${isControlled ? "un" : ""}controlled. Elements should not switch from uncontrolled to controlled (or vice versa).`);
112
+ }
113
+ }
114
+ /** Gets the current value from the store using a selector with the provided key.
115
+ *
116
+ * @param key Key of the selector to use.
117
+ */
118
+ select(key, a1, a2, a3) {
119
+ const selector = this.selectors[key];
120
+ return selector(this.state, a1, a2, a3);
121
+ }
122
+ /**
123
+ * Returns a value from the store's state using a selector function.
124
+ * Used to subscribe to specific parts of the state.
125
+ * This methods causes a rerender whenever the selected state changes.
126
+ *
127
+ * @param key Key of the selector to use.
128
+ */
129
+ useState(key, a1, a2, a3) {
130
+ React.useDebugValue(key);
131
+ return useStore(this, this.selectors[key], a1, a2, a3);
132
+ }
133
+ /**
134
+ * Wraps a function with `useStableCallback` to ensure it has a stable reference
135
+ * and assigns it to the context.
136
+ *
137
+ * @param key Key of the event callback. Must be a function in the context.
138
+ * @param fn Function to assign.
139
+ */
140
+ useContextCallback(key, fn) {
141
+ React.useDebugValue(key);
142
+ const stableFunction = useStableCallback(fn ?? NOOP);
143
+ this.context[key] = stableFunction;
144
+ }
145
+ /**
146
+ * Returns a stable setter function for a specific key in the store's state.
147
+ * It's commonly used to pass as a ref callback to React elements.
148
+ *
149
+ * @param key Key of the state to set.
150
+ */
151
+ useStateSetter(key) {
152
+ const ref = React.useRef(void 0);
153
+ if (ref.current === void 0) ref.current = (value) => {
154
+ this.set(key, value);
155
+ };
156
+ return ref.current;
157
+ }
158
+ /**
159
+ * Observes changes derived from the store's selectors and calls the listener when the selected value changes.
160
+ *
161
+ * @param key Key of the selector to observe.
162
+ * @param listener Listener function called when the selector result changes.
163
+ */
164
+ observe(selector, listener) {
165
+ let selectFn;
166
+ if (typeof selector === "function") selectFn = selector;
167
+ else selectFn = this.selectors[selector];
168
+ let prevValue = selectFn(this.state);
169
+ listener(prevValue, prevValue, this);
170
+ return this.subscribe((nextState) => {
171
+ const nextValue = selectFn(nextState);
172
+ if (!Object.is(prevValue, nextValue)) {
173
+ const oldValue = prevValue;
174
+ prevValue = nextValue;
175
+ listener(nextValue, oldValue, this);
176
+ }
177
+ });
178
+ }
179
+ };
180
+ //#endregion
181
+ export { ReactStore };
@@ -0,0 +1,102 @@
1
+ import { useStore } from "./useStore.js";
2
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/store/Store.mjs
3
+ /**
4
+ * A data store implementation that allows subscribing to state changes and updating the state.
5
+ * It uses an observer pattern to notify subscribers when the state changes.
6
+ */
7
+ var Store = class {
8
+ /**
9
+ * Creates a store with the given initial state, constructing the class it is called on.
10
+ * Calling it on a generic base class (e.g. `ReactStore.create(...)`) constructs that
11
+ * class but degrades the inferred instance type to `Store`; use `new` there instead.
12
+ */
13
+ static create(state) {
14
+ return new this(state);
15
+ }
16
+ /**
17
+ * The current state of the store.
18
+ * This property is updated immediately when the state changes as a result of calling {@link setState}, {@link update}, or {@link set}.
19
+ * To subscribe to state changes, use the {@link useState} method. The value returned by {@link useState} is updated after the component renders (similarly to React's useState).
20
+ * The values can be used directly (to avoid subscribing to the store) in effects or event handlers.
21
+ *
22
+ * Do not modify properties in state directly. Instead, use the provided methods to ensure proper state management and listener notification.
23
+ */
24
+ constructor(state) {
25
+ this.state = state;
26
+ this.listeners = /* @__PURE__ */ new Set();
27
+ this.updateTick = 0;
28
+ }
29
+ /**
30
+ * Registers a listener that will be called whenever the store's state changes.
31
+ *
32
+ * @param fn The listener function to be called on state changes.
33
+ * @returns A function to unsubscribe the listener.
34
+ */
35
+ subscribe = (fn) => {
36
+ this.listeners.add(fn);
37
+ return () => {
38
+ this.listeners.delete(fn);
39
+ };
40
+ };
41
+ /**
42
+ * Returns the current state of the store.
43
+ */
44
+ getSnapshot = () => {
45
+ return this.state;
46
+ };
47
+ /**
48
+ * Updates the entire store's state and notifies all registered listeners.
49
+ *
50
+ * @param newState The new state to set for the store.
51
+ */
52
+ setState(newState) {
53
+ if (this.state === newState) return;
54
+ this.state = newState;
55
+ this.updateTick += 1;
56
+ const currentTick = this.updateTick;
57
+ for (const listener of this.listeners) {
58
+ if (currentTick !== this.updateTick) return;
59
+ listener(newState);
60
+ }
61
+ }
62
+ /**
63
+ * Merges the provided changes into the current state and notifies listeners if there are changes.
64
+ * Each value must match its state key. Pass an exact known subset rather than a broad
65
+ * `Partial<State>`, which may contain `undefined` for required state fields.
66
+ *
67
+ * @param changes An object containing the changes to apply to the current state.
68
+ */
69
+ update(changes) {
70
+ for (const key in changes) if (!Object.is(this.state[key], changes[key])) {
71
+ this.setState({
72
+ ...this.state,
73
+ ...changes
74
+ });
75
+ return;
76
+ }
77
+ }
78
+ /**
79
+ * Sets a specific key in the store's state to a new value and notifies listeners if the value has changed.
80
+ *
81
+ * @param key The key in the store's state to update.
82
+ * @param value The new value to set for the specified key.
83
+ */
84
+ set(key, value) {
85
+ if (!Object.is(this.state[key], value)) this.setState({
86
+ ...this.state,
87
+ [key]: value
88
+ });
89
+ }
90
+ /**
91
+ * Gives the state a new reference and updates all registered listeners.
92
+ */
93
+ notifyAll() {
94
+ const newState = { ...this.state };
95
+ this.setState(newState);
96
+ }
97
+ use(selector, a1, a2, a3) {
98
+ return useStore(this, selector, a1, a2, a3);
99
+ }
100
+ };
101
+ //#endregion
102
+ export { Store };
@@ -0,0 +1,97 @@
1
+ import { isReactVersionAtLeast } from "../reactVersion.js";
2
+ import { require_shim } from "../../../use-sync-external-store/shim/index.js";
3
+ import { require_with_selector } from "../../../use-sync-external-store/shim/with-selector.js";
4
+ import { getInstance, register } from "../fastHooks.js";
5
+ import * as React from "react";
6
+ //#region ../../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/store/useStore.mjs
7
+ var import_shim = require_shim();
8
+ var import_with_selector = require_with_selector();
9
+ const useStoreImplementation = isReactVersionAtLeast(19) ? useStoreFast : useStoreLegacy;
10
+ function useStore(store, selector, a1, a2, a3) {
11
+ return useStoreImplementation(store, selector, a1, a2, a3);
12
+ }
13
+ function useStoreR19(store, selector, a1, a2, a3) {
14
+ const getSelection = React.useCallback(() => selector(store.getSnapshot(), a1, a2, a3), [
15
+ store,
16
+ selector,
17
+ a1,
18
+ a2,
19
+ a3
20
+ ]);
21
+ return (0, import_shim.useSyncExternalStore)(store.subscribe, getSelection, getSelection);
22
+ }
23
+ register({
24
+ before(instance) {
25
+ instance.syncIndex = 0;
26
+ if (!instance.didInitialize) {
27
+ instance.syncTick = 1;
28
+ instance.syncHooks = [];
29
+ instance.didChangeStore = true;
30
+ instance.getSnapshot = () => {
31
+ let didChange = false;
32
+ for (let i = 0; i < instance.syncHooks.length; i += 1) {
33
+ const hook = instance.syncHooks[i];
34
+ const value = hook.selector(hook.store.state, hook.a1, hook.a2, hook.a3);
35
+ if (!Object.is(hook.value, value)) {
36
+ didChange = true;
37
+ hook.value = value;
38
+ }
39
+ }
40
+ if (didChange) instance.syncTick += 1;
41
+ return instance.syncTick;
42
+ };
43
+ }
44
+ },
45
+ after(instance) {
46
+ if (instance.syncHooks.length > 0) {
47
+ if (instance.didChangeStore) {
48
+ instance.didChangeStore = false;
49
+ instance.subscribe = (onStoreChange) => {
50
+ const stores = /* @__PURE__ */ new Set();
51
+ for (const hook of instance.syncHooks) stores.add(hook.store);
52
+ const unsubscribes = [];
53
+ for (const store of stores) unsubscribes.push(store.subscribe(onStoreChange));
54
+ return () => {
55
+ for (const unsubscribe of unsubscribes) unsubscribe();
56
+ };
57
+ };
58
+ }
59
+ (0, import_shim.useSyncExternalStore)(instance.subscribe, instance.getSnapshot, instance.getSnapshot);
60
+ }
61
+ }
62
+ });
63
+ function useStoreFast(store, selector, a1, a2, a3) {
64
+ const instance = getInstance();
65
+ if (!instance) return useStoreR19(store, selector, a1, a2, a3);
66
+ const index = instance.syncIndex;
67
+ instance.syncIndex += 1;
68
+ let hook;
69
+ if (!instance.didInitialize) {
70
+ hook = {
71
+ store,
72
+ selector,
73
+ a1,
74
+ a2,
75
+ a3,
76
+ value: selector(store.getSnapshot(), a1, a2, a3)
77
+ };
78
+ instance.syncHooks.push(hook);
79
+ } else {
80
+ hook = instance.syncHooks[index];
81
+ if (hook.store !== store || hook.selector !== selector || !Object.is(hook.a1, a1) || !Object.is(hook.a2, a2) || !Object.is(hook.a3, a3)) {
82
+ if (hook.store !== store) instance.didChangeStore = true;
83
+ hook.store = store;
84
+ hook.selector = selector;
85
+ hook.a1 = a1;
86
+ hook.a2 = a2;
87
+ hook.a3 = a3;
88
+ hook.value = selector(store.getSnapshot(), a1, a2, a3);
89
+ }
90
+ }
91
+ return hook.value;
92
+ }
93
+ function useStoreLegacy(store, selector, a1, a2, a3) {
94
+ return (0, import_with_selector.useSyncExternalStoreWithSelector)(store.subscribe, store.getSnapshot, store.getSnapshot, (state) => selector(state, a1, a2, a3));
95
+ }
96
+ //#endregion
97
+ export { useStore };