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