"use strict";Liferay.Loader.define("liferay!analytics-settings-web$dom-accessibility-api@0.5.16/dist/util",["module","exports","require","./getRole"],(function(e,t,n){window;{function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.__esModule=!0,t.hasAnyConcreteRoles=function hasAnyConcreteRoles(e,t){if(isElement(e))return-1!==t.indexOf((0,i.default)(e));return!1},t.isElement=isElement,t.isHTMLFieldSetElement=function isHTMLFieldSetElement(e){return isElement(e)&&"fieldset"===(0,i.getLocalName)(e)},t.isHTMLInputElement=function isHTMLInputElement(e){return isElement(e)&&"input"===(0,i.getLocalName)(e)},t.isHTMLLegendElement=function isHTMLLegendElement(e){return isElement(e)&&"legend"===(0,i.getLocalName)(e)},t.isHTMLOptGroupElement=function isHTMLOptGroupElement(e){return isElement(e)&&"optgroup"===(0,i.getLocalName)(e)},t.isHTMLSelectElement=function isHTMLSelectElement(e){return isElement(e)&&"select"===(0,i.getLocalName)(e)},t.isHTMLSlotElement=function isHTMLSlotElement(e){return isElement(e)&&"slot"===(0,i.getLocalName)(e)},t.isHTMLTableCaptionElement=function isHTMLTableCaptionElement(e){return isElement(e)&&"caption"===(0,i.getLocalName)(e)},t.isHTMLTableElement=function isHTMLTableElement(e){return isElement(e)&&"table"===(0,i.getLocalName)(e)},t.isHTMLTextAreaElement=function isHTMLTextAreaElement(e){return isElement(e)&&"textarea"===(0,i.getLocalName)(e)},t.isSVGElement=isSVGElement,t.isSVGSVGElement=function isSVGSVGElement(e){return isElement(e)&&"svg"===(0,i.getLocalName)(e)},t.isSVGTitleElement=function isSVGTitleElement(e){return isSVGElement(e)&&"title"===(0,i.getLocalName)(e)},t.queryIdRefs=function queryIdRefs(e,t){if(isElement(e)&&e.hasAttribute(t)){var n=e.getAttribute(t).split(" "),i=e.getRootNode?e.getRootNode():e.ownerDocument;return n.map((function(e){return i.getElementById(e)})).filter((function(e){return null!==e}))}return[]},t.safeWindow=function safeWindow(e){var t=(null===e.ownerDocument?e:e.ownerDocument).defaultView;if(null===t)throw new TypeError("no window available");return t};var i=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var o=r?Object.getOwnPropertyDescriptor(e,l):null;o&&(o.get||o.set)?Object.defineProperty(i,l,o):i[l]=e[l]}i.default=e,n&&n.set(e,i);return i}(n("./getRole"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}function isElement(e){return null!==e&&e.nodeType===e.ELEMENT_NODE}function isSVGElement(e){return isElement(e)&&void 0!==e.ownerSVGElement}t.getLocalName=i.getLocalName}}));
//# sourceMappingURL=util.js.map