'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react");const useMountTransition=(e,t)=>{let[r,u]=React.useState(!1);return React.useEffect(()=>{let s;return e&&!r?u(!0):!e&&r&&(s=setTimeout(()=>u(!1),t)),()=>{clearTimeout(s)}},[t,e,r]),r};exports.default=useMountTransition;
