"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./dom.js");exports.isDisabledReactIssue7711=function(t){let n=t.parentElement,l=null;for(;n&&!e.isHTMLFieldSetElement(n);)e.isHTMLLegendElement(n)&&(l=n),n=n.parentElement;let r=""===(null==n?void 0:n.getAttribute("disabled"));return(!r||!function(t){if(!t)return!1;let n=t.previousElementSibling;for(;null!==n;){if(e.isHTMLLegendElement(n))return!1;n=n.previousElementSibling}return!0}(l))&&r};
//# sourceMappingURL=bugs.js.map
