"use client";
'use strict';

var YV4JVR4I = require('./YV4JVR4I.cjs');
var ABQUS43J = require('./ABQUS43J.cjs');
var RCQ5P4YE = require('../../../../../../@ariakit_core@0.4.15/node_modules/@ariakit/core/esm/__chunks/RCQ5P4YE.cjs');

function useDisclosureStoreProps(store, update, props) {
  ABQUS43J.useUpdateEffect(update, [props.store, props.disclosure]);
  YV4JVR4I.useStoreProps(store, props, "open", "setOpen");
  YV4JVR4I.useStoreProps(store, props, "mounted", "setMounted");
  YV4JVR4I.useStoreProps(store, props, "animated");
  return Object.assign(store, { disclosure: props.disclosure });
}
function useDisclosureStore(props = {}) {
  const [store, update] = YV4JVR4I.useStore(RCQ5P4YE.createDisclosureStore, props);
  return useDisclosureStoreProps(store, update, props);
}

exports.useDisclosureStore = useDisclosureStore;
exports.useDisclosureStoreProps = useDisclosureStoreProps;
//# sourceMappingURL=WYCIER3C.cjs.map
