"use strict";Liferay.Loader.define("liferay!analytics-settings-web$dom-accessibility-api@0.5.16/dist/is-inaccessible",["module","exports","require"],(function(e,t,i){window;{function isSubtreeInaccessible(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.getComputedStyle,o=void 0===n?null===(t=e.ownerDocument.defaultView)||void 0===t?void 0:t.getComputedStyle:n;if("function"!=typeof o)throw new TypeError("Owner document of the element needs to have an associated window.");return!0===e.hidden||("true"===e.getAttribute("aria-hidden")||"none"===o(e).display)}t.__esModule=!0,t.isInaccessible=function isInaccessible(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.getComputedStyle,o=void 0===n?null===(t=e.ownerDocument.defaultView)||void 0===t?void 0:t.getComputedStyle:n,s=i.isSubtreeInaccessible,r=void 0===s?isSubtreeInaccessible:s;if("function"!=typeof o)throw new TypeError("Owner document of the element needs to have an associated window.");if("hidden"===o(e).visibility)return!0;var d=e;for(;d;){if(r(d,{getComputedStyle:o}))return!0;d=d.parentElement}return!1},t.isSubtreeInaccessible=isSubtreeInaccessible}}));
//# sourceMappingURL=is-inaccessible.js.map