"use strict";const i=require("./FocusScope-DpnOCGtt.cjs.js"),s=require("./mergeProps-DD8aR8go.cjs.js"),l=require("react");function n(e,t){let r=t?.isDisabled,[d,c]=l.useState(!1);return s.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e?.current&&!r){let a=()=>{if(e.current){let u=i.$9bf71ea28793e738$export$2d6ec8fc375ceafa(e.current,{tabbable:!0});c(!!u.nextNode())}};a();let b=new MutationObserver(a);return b.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{b.disconnect()}}}),r?!1:d}exports.$83013635b024ae3d$export$eac1895992b9f3d6=n;
//# sourceMappingURL=useHasTabbableChild-C-c1qYBI.cjs.js.map
