vendor: 4,121 bytes, lines 1-4
1function ge(a){const e=a-1;return e*e*e+1}function Ze(a){return--a*a*a*a*a+1}const we={y:-8,start:.95,duration:200},Xe=(a,e)=>{const t=getComputedStyle(a),n=t.transform==="none"?"":t.transform,u={...we,...e},l=(c,d,h)=>{const[w,S]=d,[E,I]=h;return(c-w)/(S-w)*(I-E)+E},r=c=>Object.keys(c).reduce((d,h)=>c[h]===void 0?d:d+`${h}:${c[h]};`,"");return{duration:u.duration??200,delay:0,css:c=>{const d=l(c,[0,1],[u.y,0]),h=l(c,[0,1],[u.start,1]);return r({transform:`${n} translate3d(0, ${d}px, 0) scale(${h})`,opacity:c})},easing:ge}};/*! 2* tabbable 6.4.0 3* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 4*/var se=["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=se.join(","),ce=typeof Element>"u",P=ce?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_=!ce&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},q=function(e,t){var n;t===void 0&&(t=!0);var u=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),l=u===""||u==="true",r=l||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):q(e.parentNode));return r},Se=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},fe=function(e,t,n){if(q(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(M));return t&&P.call(e,M)&&u.unshift(e),u=u.filter(n),u},G=function(e,t,n){for(var u=[],l=Array.from(e);l.length;){var r=l.shift();if(!q(r,!1))if(r.tagName==="SLOT"){var c=r.assignedElements(),d=c.length?c:r.children,h=G(d,!0,n);n.flatten?u.push.apply(u,h):u.push({scopeParent:r,candidates:h})}else{var w=P.call(r,M);w&&n.filter(r)&&(t||!e.includes(r))&&u.push(r);var S=r.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(r),E=!q(S,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(r));if(S&&E){var I=G(S===!0?r.children:S.children,!0,n);n.flatten?u.push.apply(u,I):u.push({scopeParent:r,candidates:I})}else l.unshift.apply(l,r.children)}}return u},de=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)||Se(e))&&!de(e)?0:e.tabIndex},Te=function(e,t){var n=D(e);return n<0&&t&&!de(e)?0:n},Ne=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ve=function(e){return e.tagName==="INPUT"},Ee=function(e){return ve(e)&&e.type==="hidden"},Fe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Ae=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},ke=function(e){if(!e.name)return!0;var t=e.form||_(e),n=function(c){return t.querySelectorAll('input[type="radio"][name="'+c+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=n(window.CSS.escape(e.name));else try{u=n(e.name)}catch(r){return r.message,!1}var l=Ae(u,e.form);return!l||l===e},Ie=function(e){return ve(e)&&e.type==="radio"},Re=function(e){return Ie(e)&&!ke(e)},Oe=function(e){var t,n=e&&_(e),u=(t=n)===null||t===void 0?void 0:t.host,l=!1;if(n&&n!==e){var r,c,d;for(l=!!((r=u)!==null&&r!==void 0&&(c=r.ownerDocument)!==null&&c!==void 0&&c.contains(u)||e!=null&&(d=e.ownerDocument)!==null&&d!==void 0&&d.contains(e));!l&&u;){var h,w,S;n=_(u),u=(h=n)===null||h===void 0?void 0:h.host,l=!!((w=u)!==null&&w!==void 0&&(S=w.ownerDocument)!==null&&S!==void 0&&S.contains(u))}}return l}
vendor: 15,113 bytes, lines 4-9
4,ne=function(e){var t=e.getBoundingClientRect(),n=t.width,u=t.height;return n===0&&u===0},De=function(e,t){var n=t.displayCheck,u=t.getShadowRoot;if(n==="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 r=P.call(e,"details>summary:first-of-type"),c=r?e.parentElement:e;if(P.call(c,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof u=="function"){for(var d=e;e;){var h=e.parentElement,w=_(e);if(h&&!h.shadowRoot&&u(h)===!0)return ne(e);e.assignedSlot?e=e.assignedSlot:!h&&w!==e.ownerDocument?e=w.host:e=h}e=d}if(Oe(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return ne(e);return!1},Pe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var u=t.children.item(n);if(u.tagName==="LEGEND")return P.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},V=function(e,t){return!(t.disabled||Ee(t)||De(t,e)||Fe(t)||Pe(t))},H=function(e,t){return!(Re(t)||D(t)<0||!V(e,t))},Ce=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},be=function(e){var t=[],n=[];return e.forEach(function(u,l){var r=!!u.scopeParent,c=r?u.scopeParent:u,d=Te(c,r),h=r?be(u.candidates):c;d===0?r?t.push.apply(t,h):t.push(c):n.push({documentOrder:l,tabIndex:d,item:u,isScope:r,content:h})}),n.sort(Ne).reduce(function(u,l){return l.isScope?u.push.apply(u,l.content):u.push(l.content),u},[]).concat(t)},je=function(e,t){t=t||{};var n;return t.getShadowRoot?n=G([e],t.includeContainer,{filter:H.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ce}):n=fe(e,t.includeContainer,H.bind(null,t)),be(n)},xe=function(e,t){t=t||{};var n;return t.getShadowRoot?n=G([e],t.includeContainer,{filter:V.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=fe(e,t.includeContainer,V.bind(null,t)),n},C=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return P.call(e,M)===!1?!1:H(t,e)},Le=se.concat("iframe:not([inert]):not([inert] *)").join(","),z=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return P.call(e,Le)===!1?!1:V(t,e)};/*! 5* focus-trap 7.8.0 6* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 7*/function Z(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=Array(e);t<e;t++)n[t]=a[t];return n}function Be(a){if(Array.isArray(a))return Z(a)}function ie(a,e){var t=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!t){if(Array.isArray(a)||(t=he(a))||e){t&&(a=t);var n=0,u=function(){};return{s:u,n:function(){return n>=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(d){throw d},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,r=!0,c=!1;return{s:function(){t=t.call(a)},n:function(){var d=t.next();return r=d.done,d},e:function(d){c=!0,l=d},f:function(){try{r||t.return==null||t.return()}finally{if(c)throw l}}}}function Ke(a,e,t){return(e=Ve(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function Me(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function _e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 9In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oe(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),t.push.apply(t,n)}return t}function ue(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?oe(Object(t),!0).forEach(function(n){Ke(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):oe(Object(t)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function qe(a){return Be(a)||Me(a)||he(a)||_e()}function Ge(a,e){if(typeof a!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var n=t.call(a,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function Ve(a){var e=Ge(a,"string");return typeof e=="symbol"?e:e+""}function he(a,e){if(a){if(typeof a=="string")return Z(a,e);var t={}.toString.call(a).slice(8,-1);return t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set"?Array.from(a):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Z(a,e):void 0}}var k={getActiveTrap:function(e){return(e==null?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){var n=k.getActiveTrap(e);t!==n&&k.pauseTrap(e);var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),k.unpauseTrap(e)},pauseTrap:function(e){var t=k.getActiveTrap(e);t==null||t._setPausedState(!0)},unpauseTrap:function(e){var t=k.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},$e=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ue=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},L=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},We=function(e){return L(e)&&!e.shiftKey},Ye=function(e){return L(e)&&e.shiftKey},le=function(e){return setTimeout(e,0)},x=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,n):e},K=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},ze=[],He=function(e,t){var n=(t==null?void 0:t.document)||document,u=(t==null?void 0:t.trapStack)||ze,l=ue({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:We,isKeyBackward:Ye},t),r={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},c,d=function(i,o,s){return i&&i[o]!==void 0?i[o]:l[s||o]},h=function(i,o){var s=typeof(o==null?void 0:o.composedPath)=="function"?o.composedPath():void 0;return r.containerGroups.findIndex(function(b){var v=b.container,y=b.tabbableNodes;return v.contains(i)||(s==null?void 0:s.includes(v))||y.find(function(f){return f===i})})},w=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.hasFallback,b=s===void 0?!1:s,v=o.params,y=v===void 0?[]:v,f=l[i];if(typeof f=="function"&&(f=f.apply(void 0,qe(y))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var p=f;if(typeof f=="string"){try{p=n.querySelector(f)}catch(m){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(m.message,'"'))}if(!p&&!b)throw new Error("`".concat(i,"` as selector refers to no known node"))}return p},S=function(){var i=w("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!z(i,l.tabbableOptions))if(h(n.activeElement)>=0)i=n.activeElement;else{var o=r.tabbableGroups[0],s=o&&o.firstTabbableNode;i=s||w("fallbackFocus")}else i===null&&(i=w("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},E=function(){if(r.containerGroups=r.containers.map(function(i){var o=je(i,l.tabbableOptions),s=xe(i,l.tabbableOptions),b=o.length>0?o[0]:void 0,v=o.length>0?o[o.length-1]:void 0,y=s.find(function(m){return C(m)}),f=s.slice().reverse().find(function(m){return C(m)}),p=!!o.find(function(m){return D(m)>0});return{container:i,tabbableNodes:o,focusableNodes:s,posTabIndexesFound:p,firstTabbableNode:b,lastTabbableNode:v,firstDomTabbableNode:y,lastDomTabbableNode:f,nextTabbableNode:function(T){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=o.indexOf(T);return N<0?F?s.slice(s.indexOf(T)+1).find(function(O){return C(O)}):s.slice(0,s.indexOf(T)).reverse().find(function(O){return C(O)}):o[N+(F?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!w("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(r.containerGroups.find(function(i){return i.posTabIndexesFound})&&r.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.")},I=function(i){var o=i.activeElement;if(o)return o.shadowRoot&&o.shadowRoot.activeElement!==null?I(o.shadowRoot):o},A=function(i){if(i!==!1&&i!==I(document)){if(!i||!i.focus){A(S());return}i.focus({preventScroll:!!l.preventScroll}),r.mostRecentlyFocusedNode=i,$e(i)&&i.select()}},$=function(i){var o=w("setReturnFocus",{params:[i]});return o||(o===!1?!1:i)},X=function(i){var o=i.target,s=i.event,b=i.isBackward,v=b===void 0?!1:b;o=o||K(s),E();var y=null;if(r.tabbableGroups.length>0){var f=h(o,s),p=f>=0?r.containerGroups[f]:void 0;if(f<0)v?y=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:y=r.tabbableGroups[0].firstTabbableNode;else if(v){var m=r.tabbableGroups.findIndex(function(W){var Y=W.firstTabbableNode;return o===Y});if(m<0&&(p.container===o||z(o,l.tabbableOptions)&&!C(o,l.tabbableOptions)&&!p.nextTabbableNode(o,!1))&&(m=f),m>=0){var T=m===0?r.tabbableGroups.length-1:m-1,F=r.tabbableGroups[T];y=D(o)>=0?F.lastTabbableNode:F.lastDomTabbableNode}else L(s)||(y=p.nextTabbableNode(o,!1))}else{var N=r.tabbableGroups.findIndex(function(W){var Y=W.lastTabbableNode;return o===Y});if(N<0&&(p.container===o||z(o,l.tabbableOptions)&&!C(o,l.tabbableOptions)&&!p.nextTabbableNode(o))&&(N=f),N>=0){var O=N===r.tabbableGroups.length-1?0:N+1,R=r.tabbableGroups[O];y=D(o)>=0?R.firstTabbableNode:R.firstDomTabbableNode}else L(s)||(y=p.nextTabbableNode(o))}}else y=w("fallbackFocus");return y},B=function(i){var o=K(i);if(!(h(o,i)>=0)){if(x(l.clickOutsideDeactivates,i)){c.deactivate({returnFocus:l.returnFocusOnDeactivate});return}x(l.allowOutsideClick,i)||i.preventDefault()}},J=function(i){var o=K(i),s=h(o,i)>=0;if(s||o instanceof Document)s&&(r.mostRecentlyFocusedNode=o);else{i.stopImmediatePropagation();var b,v=!0;if(r.mostRecentlyFocusedNode)if(D(r.mostRecentlyFocusedNode)>0){var y=h(r.mostRecentlyFocusedNode),f=r.containerGroups[y].tabbableNodes;if(f.length>0){var p=f.findIndex(function(m){return m===r.mostRecentlyFocusedNode});p>=0&&(l.isKeyForward(r.recentNavEvent)?p+1<f.length&&(b=f[p+1],v=!1):p-1>=0&&(b=f[p-1],v=!1))}}else r.containerGroups.some(function(m){return m.tabbableNodes.some(function(T){return D(T)>0})})||(v=!1);else v=!1;v&&(b=X({target:r.mostRecentlyFocusedNode,isBackward:l.isKeyBackward(r.recentNavEvent)})),A(b||r.mostRecentlyFocusedNode||S())}r.recentNavEvent=void 0},ye=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=i;var s=X({event:i,isBackward:o});s&&(L(i)&&i.preventDefault(),A(s))},Q=function(i){(l.isKeyForward(i)||l.isKeyBackward(i))&&ye(i,l.isKeyBackward(i))},ee=function(i){Ue(i)&&x(l.escapeDeactivates,i)!==!1&&(i.preventDefault(),c.deactivate())},te=function(i){var o=K(i);h(o,i)>=0||x(l.clickOutsideDeactivates,i)||x(l.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},ae=function(){if(r.active)return k.activateTrap(u,c),r.delayInitialFocusTimer=l.delayInitialFocus?le(function(){A(S())}):A(S()),n.addEventListener("focusin",J,!0),n.addEventListener("mousedown",B,{capture:!0,passive:!1}),n.addEventListener("touchstart",B,{capture:!0,passive:!1}),n.addEventListener("click",te,{capture:!0,passive:!1}),n.addEventListener("keydown",Q,{capture:!0,passive:!1}),n.addEventListener("keydown",ee),c},pe=function(i){r.active&&!r.paused&&c._setSubtreeIsolation(!1),r.adjacentElements.clear(),r.alreadySilent.clear();var o=new Set,s=new Set,b=ie(i),v;try{for(b.s();!(v=b.n()).done;){var y=v.value;o.add(y);for(var f=typeof ShadowRoot<"u"&&y.getRootNode()instanceof ShadowRoot,p=y;p;){o.add(p);var m=p.parentElement,T=[];m?T=m.children:!m&&f&&(T=p.getRootNode().children,m=p.getRootNode().host,f=typeof ShadowRoot<"u"&&m.getRootNode()instanceof ShadowRoot);var F=ie(T),N;try{for(F.s();!(N=F.n()).done;){var O=N.value;s.add(O)}}catch(R){F.e(R)}finally{F.f()}p=m}}}catch(R){b.e(R)}finally{b.f()}o.forEach(function(R){s.delete(R)}),r.adjacentElements=s},re=function(){if(r.active)return n.removeEventListener("focusin",J,!0),n.removeEventListener("mousedown",B,!0),n.removeEventListener("touchstart",B,!0),n.removeEventListener("click",te,!0),n.removeEventListener("keydown",Q,!0),n.removeEventListener("keydown",ee),c},me=function(i){var o=i.some(function(s){var b=Array.from(s.removedNodes);return b.some(function(v){return v===r.mostRecentlyFocusedNode})});o&&A(S())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(me):void 0,j=function(){U&&(U.disconnect(),r.active&&!r.paused&&r.containers.map(function(i){U.observe(i,{subtree:!0,childList:!0})}))};return c={get active(){return r.active},get paused(){return r.paused},activate:function(i){if(r.active)return this;var o=d(i,"onActivate"),s=d(i,"onPostActivate"),b=d(i,"checkCanFocusTrap"),v=k.getActiveTrap(u),y=!1;if(v&&!v.paused){var f;(f=v._setSubtreeIsolation)===null||f===void 0||f.call(v,!1),y=!0}try{b||E(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=I(n),o==null||o();var p=function(){b&&E(),ae(),j(),l.isolateSubtrees&&c._setSubtreeIsolation(!0),s==null||s()};if(b)return b(r.containers.concat()).then(p,p),this;p()}catch(T){if(v===k.getActiveTrap(u)&&y){var m;(m=v._setSubtreeIsolation)===null||m===void 0||m.call(v,!0)}throw T}return this},deactivate:function(i){if(!r.active)return this;var o=ue({onDeactivate:l.onDeactivate,onPostDeactivate:l.onPostDeactivate,checkCanReturnFocus:l.checkCanReturnFocus},i);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,r.paused||c._setSubtreeIsolation(!1),r.alreadySilent.clear(),re(),r.active=!1,r.paused=!1,j(),k.deactivateTrap(u,c);var s=d(o,"onDeactivate"),b=d(o,"onPostDeactivate"),v=d(o,"checkCanReturnFocus"),y=d(o,"returnFocus","returnFocusOnDeactivate");s==null||s();var f=function(){le(function(){y&&A($(r.nodeFocusedBeforeActivation)),b==null||b()})};return y&&v?(v($(r.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(i){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return r.active?(r.manuallyPaused=!1,u[u.length-1]!==this?this:this._setPausedState(!1,i)):this}
9,updateContainerElements:function(i){var o=[].concat(i).filter(Boolean);return r.containers=o.map(function(s){return typeof s=="string"?n.querySelector(s):s}),l.isolateSubtrees&&pe(r.containers),r.active&&(E(),l.isolateSubtrees&&!r.paused&&c._setSubtreeIsolation(!0)),j(),this}},Object.defineProperties(c,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(i,o){if(r.paused===i)return this;if(r.paused=i,i){var s=d(o,"onPause"),b=d(o,"onPostPause");s==null||s(),re(),j(),c._setSubtreeIsolation(!1),b==null||b()}else{var v=d(o,"onUnpause"),y=d(o,"onPostUnpause");v==null||v(),c._setSubtreeIsolation(!0),E(),ae(),j(),y==null||y()}return this}},_setSubtreeIsolation:{value:function(i){l.isolateSubtrees&&r.adjacentElements.forEach(function(o){var s;if(i)switch(l.isolateSubtrees){case"aria-hidden":(o.ariaHidden==="true"||((s=o.getAttribute("aria-hidden"))===null||s===void 0?void 0:s.toLowerCase())==="true")&&r.alreadySilent.add(o),o.setAttribute("aria-hidden","true");break;default:(o.inert||o.hasAttribute("inert"))&&r.alreadySilent.add(o),o.setAttribute("inert",!0);break}else if(!r.alreadySilent.has(o))switch(l.isolateSubtrees){case"aria-hidden":o.removeAttribute("aria-hidden");break;default:o.removeAttribute("inert");break}})}}}),c.updateContainerElements(e),c};const Je=Object.freeze(Object.defineProperty({__proto__:null,createFocusTrap:He},Symbol.toStringTag,{value:"Module"}));export{Je as F,xe as a,He as c,Xe as f,z as i,Ze as q,je as t}; 10//# sourceMappingURL=C9aOdl_g.js.map
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.