import { createStore as o } from "zustand";
import { immer as c } from "zustand/middleware/immer";
const p = (t) => {
  const e = {
    ...t
  };
  return o(
    c((a, n) => ({
      ...e,
      actions: {
        /**
         * Función para cambiar los datos del estado del almacén.
         */
        changeData: (m) => {
          a((r) => {
            r.dynamicMFParameters = {
              ...r.dynamicMFParameters,
              ...m
            };
          });
        }
      }
    }))
  );
};
export {
  p as createDynamicMFStore
};
