"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19130],{19130:(t,e,n)=>{n.d(e,{AO:()=>D,Kr:()=>T,nq:()=>x,tp:()=>O,yT:()=>p});var o=["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])"],r=o.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(t){var e;return null==t?void 0:null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},u=function t(e,n){void 0===n&&(n=!0);var o,r=null==e?void 0:null===(o=e.getAttribute)||void 0===o?void 0:o.call(e,"inert");return""===r||"true"===r||n&&e&&t(e.parentNode)},d=function(t){var e,n=null==t?void 0:null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n},c=function(t,e,n){if(u(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&a.call(t,r)&&o.unshift(t),o=o.filter(n)},f=function t(e,n,o){for(var i=[],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?i.push.apply(i,f):i.push({scopeParent:d,candidates:f})}else{a.call(d,r)&&o.filter(d)&&(n||!e.includes(d))&&i.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?i.push.apply(i,h):i.push({scopeParent:d,candidates:h})}else l.unshift.apply(l,d.children)}}return i},s=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},p=function(t){if(!t)throw Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||d(t))&&!s(t)?0:t.tabIndex},h=function(t,e){var n=p(t);return n<0&&e&&!s(t)?0:n},v=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},m=function(t){return"INPUT"===t.tagName},g=function(t,e){for(var n=0;nsummary:first-of-type")?t.parentElement:t;if(a.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(t)}else{if("function"==typeof o){for(var i=t;t;){var u=t.parentElement,d=l(t);if(u&&!u.shadowRoot&&!0===o(u))return b(t);t=t.assignedSlot?t.assignedSlot:u||d===t.ownerDocument?u:d.host}t=i}if(S(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},N=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;np(e))&&!!R(t,e)},C=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||!!(e>=0)},I=function t(e){var n=[],o=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,l=h(a,i),u=i?t(e.candidates):a;0===l?i?n.push.apply(n,u):n.push(a):o.push({documentOrder:r,tabIndex:l,item:e,isScope:i,content:u})}),o.sort(v).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(n)},T=function(t,e){var n;return I((e=e||{}).getShadowRoot?f([t],e.includeContainer,{filter:A.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:C}):c(t,e.includeContainer,A.bind(null,e)))},x=function(t,e){var n;return(e=e||{}).getShadowRoot?f([t],e.includeContainer,{filter:R.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):c(t,e.includeContainer,R.bind(null,e))},D=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==a.call(t,r)&&A(e,t)},k=o.concat("iframe").join(","),O=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==a.call(t,k)&&R(e,t)}}}]);