FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surerank
/
build
/
vendor-77163304
Edit File: index.js
"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[7683],{49054(t,e,n){n.d(e,{AO:()=>g,Kr:()=>m});var r=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"].join(","),o="undefined"===typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(t){var e;return null===t||void 0===t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null===t||void 0===t?void 0:t.ownerDocument},l=function(t,e){var n;void 0===e&&(e=!0);var r=null===t||void 0===t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===r||"true"===r||e&&t&&("function"===typeof t.closest?t.closest("[inert]"):l(t.parentNode))},u=function(t,e,n){for(var o=[],a=Array.from(t);a.length;){var c=a.shift();if(!l(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=u(d.length?d:c.children,!0,n);n.flatten?o.push.apply(o,f):o.push({scopeParent:c,candidates:f})}else{i.call(c,r)&&n.filter(c)&&(e||!t.includes(c))&&o.push(c);var s=c.shadowRoot||"function"===typeof n.getShadowRoot&&n.getShadowRoot(c),p=!l(s,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(s&&p){var h=u(!0===s?c.children:s.children,!0,n);n.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else a.unshift.apply(a,c.children)}}return o},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null===t||void 0===t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){var e=t.getBoundingClientRect();return 0===e.width&&0===e.height},h=function(t,e){return!(function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||a(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(i){return!1}var o=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!o||o===t}(t)}(e)||d(e)<0||!function(t,e){return!(e.disabled||function(t){return s(t)&&"hidden"===t.type}(e)||function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var o=i.call(t,"details>summary:first-of-type");if(i.call(o?t.parentElement:t,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return p(t)}else{if("function"===typeof r){for(var l=t;t;){var u=t.parentElement,c=a(t);if(u&&!u.shadowRoot&&!0===r(u))return p(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,r,o,i=t&&a(t),l=null===(e=i)||void 0===e?void 0:e.host,u=!1;if(i&&i!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(l)||null!==t&&void 0!==t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=i=a(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(t){return"SUMMARY"===t.tagName})}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!i.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1}(e))}(t,e))},v=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},y=function(t){var e=[],n=[];return t.forEach(function(t,r){var o=!!t.scopeParent,i=o?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,o),l=o?y(t.candidates):i;0===a?o?e.push.apply(e,l):e.push(i):n.push({documentOrder:r,tabIndex:a,item:t,isScope:o,content:l})}),n.sort(f).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(e)},m=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:h.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:v}):function(t,e,n){if(l(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&i.call(t,r)&&o.unshift(t),o.filter(n)}(t,e.includeContainer,h.bind(null,e)),y(n)},g=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==i.call(t,r)&&h(e,t)}}}]);
Save
Back