File: /home/alfouzantranspor/www/wp-content/plugins_backup/surerank/build/vendor-77163304/index.js
"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[7683],{49054:(t,e,n)=>{n.d(e,{AO:()=>y,Kr:()=>g});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details: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},u=function t(e,n){var r;void 0===n&&(n=!0);var o=null===e||void 0===e||null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===o||"true"===o||n&&e&&t(e.parentNode)},l=function t(e,n,o){for(var a=[],l=Array.from(e);l.length;){var d=l.shift();if(!u(d,!1))if("SLOT"===d.tagName){var c=d.assignedElements(),f=t(c.length?c:d.children,!0,o);o.flatten?a.push.apply(a,f):a.push({scopeParent:d,candidates:f})}else{i.call(d,r)&&o.filter(d)&&(n||!e.includes(d))&&a.push(d);var s=d.shadowRoot||"function"===typeof o.getShadowRoot&&o.getShadowRoot(d),p=!u(s,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(d));if(s&&p){var h=t(!0===s?d.children:s.children,!0,o);o.flatten?a.push.apply(a,h):a.push({scopeParent:d,candidates:h})}else l.unshift.apply(l,d.children)}}return a},d=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},c=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))&&!d(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)||c(e)<0||!function(t,e){return!(e.disabled||u(e)||function(t){return s(t)&&"hidden"===t.type}(e)||function(t,e){var n=e.displayCheck,r=e.getShadowRoot;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&&"legacy-full"!==n){if("non-zero-area"===n)return p(t)}else{if("function"===typeof r){for(var u=t;t;){var l=t.parentElement,d=a(t);if(l&&!l.shadowRoot&&!0===r(l))return p(t);t=t.assignedSlot?t.assignedSlot:l||d===t.ownerDocument?l:d.host}t=u}if(function(t){var e,n,r,o,i=t&&a(t),u=null===(e=i)||void 0===e?void 0:e.host,l=!1;if(i&&i!==t)for(l=!!(null!==(n=u)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(u)||null!==t&&void 0!==t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!l&&u;){var d,c,f;l=!(null===(c=u=null===(d=i=a(u))||void 0===d?void 0:d.host)||void 0===c||null===(f=c.ownerDocument)||void 0===f||!f.contains(u))}return l}(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)},m=function t(e){var n=[],r=[];return e.forEach(function(e,o){var i=!!e.scopeParent,a=i?e.scopeParent:e,u=function(t,e){var n=c(t);return n<0&&e&&!d(t)?0:n}(a,i),l=i?t(e.candidates):a;0===u?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:u,item:e,isScope:i,content:l})}),r.sort(f).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(n)},g=function(t,e){var n;return n=(e=e||{}).getShadowRoot?l([t],e.includeContainer,{filter:h.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:v}):function(t,e,n){if(u(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)),m(n)},y=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==i.call(t,r)&&h(e,t)}}}]);