vendor: 10,561 bytes, lines 1-3
1import{bX as Te,bY as Se,bZ as Ne,b_ as Ee}from"./BpI9WzFj.js";import{F as Fe,C as Ae,z as ne,m as ie}from"./BPkh4YjI.js";var fe=["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] *)"],M=fe.join(","),de=typeof Element>"u",O=de?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_=!de&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},G=function(e,t){var r;t===void 0&&(t=!0);var u=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),l=u===""||u==="true",a=l||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):G(e.parentNode));return a},ke=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},ve=function(e,t,r){if(G(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(M));return t&&O.call(e,M)&&u.unshift(e),u=u.filter(r),u},V=function(e,t,r){for(var u=[],l=Array.from(e);l.length;){var a=l.shift();if(!G(a,!1))if(a.tagName==="SLOT"){var f=a.assignedElements(),b=f.length?f:a.children,g=V(b,!0,r);r.flatten?u.push.apply(u,g):u.push({scopeParent:a,candidates:g})}else{var T=O.call(a,M);T&&r.filter(a)&&(t||!e.includes(a))&&u.push(a);var w=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),N=!G(w,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(w&&N){var P=V(w===!0?a.children:w.children,!0,r);r.flatten?u.push.apply(u,P):u.push({scopeParent:a,candidates:P})}else l.unshift.apply(l,a.children)}}return u},be=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},D=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ke(e))&&!be(e)?0:e.tabIndex},Ie=function(e,t){var r=D(e);return r<0&&t&&!be(e)?0:r},Re=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},he=function(e){return e.tagName==="INPUT"},De=function(e){return he(e)&&e.type==="hidden"},Oe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Pe=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},Ce=function(e){if(!e.name)return!0;var t=e.form||_(e),r=function(f){return t.querySelectorAll('input[type="radio"][name="'+f+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=r(window.CSS.escape(e.name));else try{u=r(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var l=Pe(u,e.form);return!l||l===e},je=function(e){return he(e)&&e.type==="radio"},Le=function(e){return je(e)&&!Ce(e)},xe=function(e){var t,r=e&&_(e),u=(t=r)===null||t===void 0?void 0:t.host,l=!1;if(r&&r!==e){var a,f,b;for(l=!!((a=u)!==null&&a!==void 0&&(f=a.ownerDocument)!==null&&f!==void 0&&f.contains(u)||e!=null&&(b=e.ownerDocument)!==null&&b!==void 0&&b.contains(e));!l&&u;){var g,T,w;r=_(u),u=(g=r)===null||g===void 0?void 0:g.host,l=!!((T=u)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(u))}}return l},oe=function(e){var t=e.getBoundingClientRect(),r=t.width,u=t.height;return r===0&&u===0},Be=function(e,t){var r=t.displayCheck,u=t.getShadowRoot;if(r==="full-native"&&"checkVisibility"in e){var l=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!l}if(getComputedStyle(e).visibility==="hidden")return!0;var a=O.call(e,"details>summary:first-of-type"),f=a?e.parentElement:e;if(O.call(f,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof u=="function"){for(var b=e;e;){var g=e.parentElement,T=_(e);if(g&&!g.shadowRoot&&u(g)===!0)return oe(e);e.assignedSlot?e=e.assignedSlot:!g&&T!==e.ownerDocument?e=T.host:e=g}e=b}if(xe(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return oe(e);return!1},Ke=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var u=t.children.item(r);if(u.tagName==="LEGEND")return O.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},q=function(e,t){return!(t.disabled||De(t)||Be(t,e)||Oe(t)||Ke(t))},z=function(e,t){return!(Le(t)||D(t)<0||!q(e,t))},Me=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},pe=function(e){var t=[],r=[];return e.forEach(function(u,l){var a=!!u.scopeParent,f=a?u.scopeParent:u,b=Ie(f,a),g=a?pe(u.candidates):f;b===0?a?t.push.apply(t,g):t.push(f):r.push({documentOrder:l,tabIndex:b,item:u,isScope:a,content:g})}),r.sort(Re).reduce(function(u,l){return l.isScope?u.push.apply(u,l.content):u.push(l.content),u},[]).concat(t)},_e=function(e,t){t=t||{};var r;return t.getShadowRoot?r=V([e],t.includeContainer,{filter:z.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Me}):r=ve(e,t.includeContainer,z.bind(null,t)),pe(r)},Ge=function(e,t){t=t||{};var r;return t.getShadowRoot?r=V([e],t.includeContainer,{filter:q.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=ve(e,t.includeContainer,q.bind(null,t)),r},C=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return O.call(e,M)===!1?!1:z(t,e)},Ve=fe.concat("iframe:not([inert]):not([inert] *)").join(","),Z=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return O.call(e,Ve)===!1?!1:q(t,e)};function H(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function qe(n){if(Array.isArray(n))return H(n)}function ue(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=ye(n))||e){t&&(n=t);var r=0,u=function(){};return{s:u,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(b){throw b},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,a=!0,f=!1;return{s:function(){t=t.call(n)},n:function(){var b=t.next();return a=b.done,b},e:function(b){f=!0,l=b},f:function(){try{a||t.return==null||t.return()}finally{if(f)throw l}}}}function Ye(n,e,t){return(e=He(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Ue(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function We(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function le(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),t.push.apply(t,r)}return t}function se(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?le(Object(t),!0).forEach(function(r){Ye(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Ze(n){return qe(n)||Ue(n)||ye(n)||We()}function ze(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function He(n){var e=ze(n,"string");return typeof e=="symbol"?e:e+""}function ye(n,e){if(n){if(typeof n=="string")return H(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?H(n,e):void 0}}var A={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){var r=A.getActiveTrap(e);t!==r&&A.pauseTrap(e);var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),A.unpauseTrap(e)},pauseTrap:function(e){var t=A.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=A.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Xe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},$e=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},Je=function(e){return x(e)&&!e.shiftKey},Qe=function(e){return x(e)&&e.shiftKey},ce=function(e){return setTimeout(e,0)},L=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),u=1;u<t;u++)r[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,r):e},K=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},et=[],tt=function(e,t){var r=t?.document||document,u=t?.trapStack||et,l=se({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Je,isKeyBackward:Qe},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},f,b=function(i,o,s){return i&&i[o]!==void 0?i[o]:l[s||o]},g=function(i,o){var s=typeof o?.composedPath=="function"?o.composedPath():void 0;return a.containerGroups.findIndex(function(v){var d=v.container,h=v.tabbableNodes;return d.contains(i)||s?.includes(d)||h.find(function(c){return c===i})})},T=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.hasFallback,v=s===void 0?!1:s,d=o.params,h=d===void 0?[]:d,c=l[i];if(typeof c=="function"&&(c=c.apply(void 0,Ze(h))),c===!0&&(c=void 0),!c){
vendor: 5,244 bytes, line 3
3if(c===void 0||c===!1)return c;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var p=c;if(typeof c=="string"){try{p=r.querySelector(c)}catch(y){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(y.message,'"'))}if(!p&&!v)throw new Error("`".concat(i,"` as selector refers to no known node"))}return p},w=function(){var i=T("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!Z(i,l.tabbableOptions))if(g(r.activeElement)>=0)i=r.activeElement;else{var o=a.tabbableGroups[0],s=o&&o.firstTabbableNode;i=s||T("fallbackFocus")}else i===null&&(i=T("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},N=function(){if(a.containerGroups=a.containers.map(function(i){var o=_e(i,l.tabbableOptions),s=Ge(i,l.tabbableOptions),v=o.length>0?o[0]:void 0,d=o.length>0?o[o.length-1]:void 0,h=s.find(function(y){return C(y)}),c=s.slice().reverse().find(function(y){return C(y)}),p=!!o.find(function(y){return D(y)>0});return{container:i,tabbableNodes:o,focusableNodes:s,posTabIndexesFound:p,firstTabbableNode:v,lastTabbableNode:d,firstDomTabbableNode:h,lastDomTabbableNode:c,nextTabbableNode:function(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,E=o.indexOf(S);return E<0?F?s.slice(s.indexOf(S)+1).find(function(R){return C(R)}):s.slice(0,s.indexOf(S)).reverse().find(function(R){return C(R)}):o[E+(F?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find(function(i){return i.posTabIndexesFound})&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},P=function(i){var o=i.activeElement;if(o)return o.shadowRoot&&o.shadowRoot.activeElement!==null?P(o.shadowRoot):o},k=function(i){if(i!==!1&&i!==P(document)){if(!i||!i.focus){k(w());return}i.focus({preventScroll:!!l.preventScroll}),a.mostRecentlyFocusedNode=i,Xe(i)&&i.select()}},X=function(i){var o=T("setReturnFocus",{params:[i]});return o||(o===!1?!1:i)},$=function(i){var o=i.target,s=i.event,v=i.isBackward,d=v===void 0?!1:v;o=o||K(s),N();var h=null;if(a.tabbableGroups.length>0){var c=g(o,s),p=c>=0?a.containerGroups[c]:void 0;if(c<0)d?h=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:h=a.tabbableGroups[0].firstTabbableNode;else if(d){var y=a.tabbableGroups.findIndex(function(U){var W=U.firstTabbableNode;return o===W});if(y<0&&(p.container===o||Z(o,l.tabbableOptions)&&!C(o,l.tabbableOptions)&&!p.nextTabbableNode(o,!1))&&(y=c),y>=0){var S=y===0?a.tabbableGroups.length-1:y-1,F=a.tabbableGroups[S];h=D(o)>=0?F.lastTabbableNode:F.lastDomTabbableNode}else x(s)||(h=p.nextTabbableNode(o,!1))}else{var E=a.tabbableGroups.findIndex(function(U){var W=U.lastTabbableNode;return o===W});if(E<0&&(p.container===o||Z(o,l.tabbableOptions)&&!C(o,l.tabbableOptions)&&!p.nextTabbableNode(o))&&(E=c),E>=0){var R=E===a.tabbableGroups.length-1?0:E+1,I=a.tabbableGroups[R];h=D(o)>=0?I.firstTabbableNode:I.firstDomTabbableNode}else x(s)||(h=p.nextTabbableNode(o))}}else h=T("fallbackFocus");return h},B=function(i){var o=K(i);if(!(g(o,i)>=0)){if(L(l.clickOutsideDeactivates,i)){f.deactivate({returnFocus:l.returnFocusOnDeactivate});return}L(l.allowOutsideClick,i)||i.preventDefault()}},J=function(i){var o=K(i),s=g(o,i)>=0;if(s||o instanceof Document)s&&(a.mostRecentlyFocusedNode=o);else{i.stopImmediatePropagation();var v,d=!0;if(a.mostRecentlyFocusedNode)if(D(a.mostRecentlyFocusedNode)>0){var h=g(a.mostRecentlyFocusedNode),c=a.containerGroups[h].tabbableNodes;if(c.length>0){var p=c.findIndex(function(y){return y===a.mostRecentlyFocusedNode});p>=0&&(l.isKeyForward(a.recentNavEvent)?p+1<c.length&&(v=c[p+1],d=!1):p-1>=0&&(v=c[p-1],d=!1))}}else a.containerGroups.some(function(y){return y.tabbableNodes.some(function(S){return D(S)>0})})||(d=!1);else d=!1;d&&(v=$({target:a.mostRecentlyFocusedNode,isBackward:l.isKeyBackward(a.recentNavEvent)})),k(v||a.mostRecentlyFocusedNode||w())}a.recentNavEvent=void 0},me=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;a.recentNavEvent=i;var s=$({event:i,isBackward:o});s&&(x(i)&&i.preventDefault(),k(s))},Q=function(i){(l.isKeyForward(i)||l.isKeyBackward(i))&&me(i,l.isKeyBackward(i))},ee=function(i){$e(i)&&L(l.escapeDeactivates,i)!==!1&&(i.preventDefault(),f.deactivate())},te=function(i){var o=K(i);g(o,i)>=0||L(l.clickOutsideDeactivates,i)||L(l.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},ae=function(){if(a.active)return A.activateTrap(u,f),a.delayInitialFocusTimer=l.delayInitialFocus?ce(function(){k(w())}):k(w()),r.addEventListener("focusin",J,!0),r.addEventListener("mousedown",B,{capture:!0,passive:!1}),r.addEventListener("touchstart",B,{capture:!0,passive:!1}),r.addEventListener("click",te,{capture:!0,passive:!1}),r.addEventListener("keydown",Q,{capture:!0,passive:!1}),r.addEventListener("keydown",ee),f}
3,ge=function(i){a.active&&!a.paused&&f._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var o=new Set,s=new Set,v=ue(i),d;try{for(v.s();!(d=v.n()).done;){var h=d.value;o.add(h);for(var c=typeof ShadowRoot<"u"&&h.getRootNode()instanceof ShadowRoot,p=h;p;){o.add(p);var y=p.parentElement,S=[];y?S=y.children:!y&&c&&(S=p.getRootNode().children,y=p.getRootNode().host,c=typeof ShadowRoot<"u"&&y.getRootNode()instanceof ShadowRoot);var F=ue(S),E;try{for(F.s();!(E=F.n()).done;){var R=E.value;s.add(R)}}catch(I){F.e(I)}finally{F.f()}p=y}}}catch(I){v.e(I)}finally{v.f()}o.forEach(function(I){s.delete(I)}),a.adjacentElements=s},re=function(){if(a.active)return r.removeEventListener("focusin",J,!0),r.removeEventListener("mousedown",B,!0),r.removeEventListener("touchstart",B,!0),r.removeEventListener("click",te,!0),r.removeEventListener("keydown",Q,!0),r.removeEventListener("keydown",ee),f},we=function(i){var o=i.some(function(s){var v=Array.from(s.removedNodes);return v.some(function(d){return d===a.mostRecentlyFocusedNode})});o&&k(w())},Y=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(we):void 0,j=function(){Y&&(Y.disconnect(),a.active&&!a.paused&&a.containers.map(function(i){Y.observe(i,{subtree:!0,childList:!0})}))};return f={get active(){return a.active},get paused(){return a.paused},activate:function(i){if(a.active)return this;var o=b(i,"onActivate"),s=b(i,"onPostActivate"),v=b(i,"checkCanFocusTrap"),d=A.getActiveTrap(u),h=!1;if(d&&!d.paused){var c;(c=d._setSubtreeIsolation)===null||c===void 0||c.call(d,!1),h=!0}try{v||N(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=P(r),o?.();var p=function(){v&&N(),ae(),j(),l.isolateSubtrees&&f._setSubtreeIsolation(!0),s?.()};if(v)return v(a.containers.concat()).then(p,p),this;p()}catch(S){if(d===A.getActiveTrap(u)&&h){var y;(y=d._setSubtreeIsolation)===null||y===void 0||y.call(d,!0)}throw S}return this},deactivate:function(i){if(!a.active)return this;var o=se({onDeactivate:l.onDeactivate,onPostDeactivate:l.onPostDeactivate,checkCanReturnFocus:l.checkCanReturnFocus},i);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||f._setSubtreeIsolation(!1),a.alreadySilent.clear(),re(),a.active=!1,a.paused=!1,j(),A.deactivateTrap(u,f);var s=b(o,"onDeactivate"),v=b(o,"onPostDeactivate"),d=b(o,"checkCanReturnFocus"),h=b(o,"returnFocus","returnFocusOnDeactivate");s?.();var c=function(){ce(function(){h&&k(X(a.nodeFocusedBeforeActivation)),v?.()})};return h&&d?(d(X(a.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(i){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return a.active?(a.manuallyPaused=!1,u[u.length-1]!==this?this:this._setPausedState(!1,i)):this},updateContainerElements:function(i){var o=[].concat(i).filter(Boolean);return a.containers=o.map(function(s){return typeof s=="string"?r.querySelector(s):s}),l.isolateSubtrees&&ge(a.containers),a.active&&(N(),l.isolateSubtrees&&!a.paused&&f._setSubtreeIsolation(!0)),j(),this}},Object.defineProperties(f,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(i,o){if(a.paused===i)return this;if(a.paused=i,i){var s=b(o,"onPause"),v=b(o,"onPostPause");s?.(),re(),j(),f._setSubtreeIsolation(!1),v?.()}else{var d=b(o,"onUnpause"),h=b(o,"onPostUnpause");d?.(),f._setSubtreeIsolation(!0),N(),ae(),j(),h?.()}return this}},_setSubtreeIsolation:{value:function(i){l.isolateSubtrees&&a.adjacentElements.forEach(function(o){var s;i?l.isolateSubtrees==="aria-hidden"?((o.ariaHidden==="true"||((s=o.getAttribute("aria-hidden"))===null||s===void 0?void 0:s.toLowerCase())==="true")&&a.alreadySilent.add(o),o.setAttribute("aria-hidden","true")):((o.inert||o.hasAttribute("inert"))&&a.alreadySilent.add(o),o.setAttribute("inert",!0)):a.alreadySilent.has(o)||(l.isolateSubtrees==="aria-hidden"?o.removeAttribute("aria-hidden"):o.removeAttribute("inert"))})}}}),f.updateContainerElements(e),f};function nt(n,e={}){let t;const{immediate:r,...u}=e,l=ne(!1),a=ne(!1),f=w=>t&&t.activate(w),b=w=>t&&t.deactivate(w),g=()=>{t&&(t.pause(),a.value=!0)},T=()=>{t&&(t.unpause(),a.value=!1)};return Fe(Ae(()=>Te(ie(n)).map(w=>{const N=ie(w);return typeof N=="string"?N:Se(N)}).filter(Ne)),w=>{if(w.length)if(!t)t=tt(w,{...u,onActivate(){l.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){l.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&f();else{const N=t?.active;t?.updateContainerElements(w),!N&&r&&f()}},{flush:"post"}),Ee(()=>b()),{hasFocus:l,isPaused:a,activate:f,deactivate:b,pause:g,unpause:T}}export{_e as t,nt as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.