PageSourceSearch

https://www.marcopolo.de/assets/es2015-DziKLAIy.js

js marcopolo.de collected 2026-10-01 11:59:18 UTC 19,690 bytes, 41 lines download raw bytes

vendor: 19,690 bytes, lines 1-41
1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`512517e5b0868e14196a136fc0d98aa7a05ade09`}}catch{}})();import{i as e}from"./chunk-DjJShkoQ.js";import{t}from"./react-DFvgpJaX.js";import{t as n}from"./react-dom-DJcaSka1.js";import{t as r}from"./jsx-runtime-C-C1S4HC.js";import{a as i,o as a,u as o}from"./Icon-CFI3Y9th.js";import{a as s}from"./dist-DiRB_q4M.js";import{t as c}from"./dist-BfaWyy-i.js";import{t as l}from"./dist-CgyhBuDA.js";import{n as u,r as d,t as f}from"./tslib.es6-B1Z28wn_.js";var p=e(t(),1);function m(e,t=globalThis?.document){let n=l(e);p.useEffect(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}var h=e(r(),1),g=`DismissableLayer`,_=`dismissableLayer.update`,v=`dismissableLayer.pointerDownOutside`,y=`dismissableLayer.focusOutside`,b,x=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=p.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:c,onInteractOutside:l,onDismiss:u,...d}=e,f=p.useContext(x),[g,v]=p.useState(null),y=g?.ownerDocument??globalThis?.document,[,S]=p.useState({}),C=o(t,e=>v(e)),w=Array.from(f.layers),[D]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),O=w.indexOf(D),k=g?w.indexOf(g):-1,A=f.layersWithOutsidePointerEventsDisabled.size>0,j=k>=O,M=T(e=>{let t=e.target,n=[...f.branches].some(e=>e.contains(t));!j||n||(a?.(e),l?.(e),e.defaultPrevented||u?.())},y),N=E(e=>{let t=e.target;[...f.branches].some(e=>e.contains(t))||(c?.(e),l?.(e),e.defaultPrevented||u?.())},y);return m(e=>{k===f.layers.size-1&&(r?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},y),p.useEffect(()=>{if(g)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(b=y.body.style.pointerEvents,y.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),ee(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=b)}},[g,y,n,f]),p.useEffect(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),ee())},[g,f]),p.useEffect(()=>{let e=()=>S({});return document.addEventListener(_,e),()=>document.removeEventListener(_,e)},[]),(0,h.jsx)(i.div,{...d,ref:C,style:{pointerEvents:A?j?`auto`:`none`:void 0,...e.style},onFocusCapture:s(e.onFocusCapture,N.onFocusCapture),onBlurCapture:s(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:s(e.onPointerDownCapture,M.onPointerDownCapture)})});S.displayName=g;var C=`DismissableLayerBranch`,w=p.forwardRef((e,t)=>{let n=p.useContext(x),r=p.useRef(null),a=o(t,r);return p.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,h.jsx)(i.div,{...e,ref:a})});w.displayName=C;function T(e,t=globalThis?.document){let n=l(e),r=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){D(v,n,a,{discrete:!0})},a={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=r,t.addEventListener(`click`,i.current,{once:!0})):r()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function E(e,t=globalThis?.document){let n=l(e),r=p.useRef(!1);return p.useEffect(()=>{let e=e=>{e.target&&!r.current&&D(y,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ee(){let e=new CustomEvent(_);document.dispatchEvent(e)}function D(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?a(i,o):i.dispatchEvent(o)}var O=`focusScope.autoFocusOnMount`,k=`focusScope.autoFocusOnUnmount`,A={bubbles:!1,cancelable:!0},j=`FocusScope`,M=p.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...c}=e,[u,d]=p.useState(null),f=l(a),m=l(s),g=p.useRef(null),_=o(t,e=>d(e)),v=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let e=function(e){if(v.paused||!u)return;let t=e.target;u.contains(t)?g.current=t:P(g.current,{select:!0})},t=function(e){if(v.paused||!u)return;let t=e.relatedTarget;t!==null&&(u.contains(t)||P(g.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&P(u)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,u,v.paused]),p.useEffect(()=>{if(u){oe.add(v);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(O,A);u.addEventListener(O,f),u.dispatchEvent(t),t.defaultPrevented||(N(le(ne(u)),{select:!0}),document.activeElement===e&&P(u))}return()=>{u.removeEventListener(O,f),setTimeout(()=>{let t=new CustomEvent(k,A);u.addEventListener(k,m),u.dispatchEvent(t),t.defaultPrevented||P(e??document.body,{select:!0}),u.removeEventListener(k,m),oe.remove(v)},0)}}},[u,f,m,v]);let y=p.useCallback(e=>{if(!n&&!r||v.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=te(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&P(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&P(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return(0,h.jsx)(i.div,{tabIndex:-1,...c,ref:_,onKeyDown:y})});M.displayName=j;function N(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(P(r,{select:t}),document.activeElement!==n)return}function te(e){let t=ne(e);return[re(t,e),re(t.reverse(),e)]}function ne(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function re(e,t){for(let n of e)if(!ie(n,{upTo:t}))return n}function ie(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function ae(e){return e instanceof HTMLInputElement&&`select`in e}function P(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ae(e)&&t&&e.select()}}var oe=se();function se(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=ce(e,t),e.unshift(t)},remove(t){e=ce(e,t),e[0]?.resume()}}}function ce(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function le(e){return e.filter(e=>e.tagName!==`A`)}var ue=e(n(),1),de=`Portal`,F=p.forwardRef((e,t)=>{let{container:n,...r}=e,[a,o]=p.useState(!1);c(()=>o(!0),[]);let s=n||a&&globalThis?.document?.body;return s?ue.createPortal((0,h.jsx)(i.div,{...r,ref:t}),s):null});F.displayName=de;var I=0;function fe(){p.useEffect(()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??pe()),document.body.insertAdjacentElement(`beforeend`,e[1]??pe()),I++,()=>{I===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),I--}},[])}function pe(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var L=`right-scroll-bar-position`,R=`width-before-scroll-bar`,me=`with-scroll-bars-hidden`,he=`--removed-body-scroll-bar-size`;function z(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function ge(e,t){var n=(0,p.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var _e=typeof window<`u`?p.useLayoutEffect:p.useEffect,ve=new WeakMap;function ye(e,t){var n=ge(t||null,function(t){return e.forEach(function(e){return z(e,t)})});return _e(function(){var t=ve.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||z(e,null)}),i.forEach(function(e){r.has(e)||z(e,a)})}ve.set(n,e)},[e]),n}function be(e){return e}function xe(e,t){t===void 0&&(t=be);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function Se(e){e===void 0&&(e={});var t=xe(null);return t.options=f({async:!0,ssr:!1},e),t}var Ce=function(e){var t=e.sideCar,n=u(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return p.createElement(r,f({},n))};Ce.isSideCarExport=!0;function we(e,t){return e.useMedium(t),Ce}var Te=Se(),B=function(){},V=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:B,onWheelCapture:B,onTouchMoveCapture:B}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,m=e.shards,h=e.sideCar,g=e.noRelative,_=e.noIsolation,v=e.inert,y=e.allowPinchZoom,b=e.as,x=b===void 0?`div`:b,S=e.gapMode,C=u(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),w=h,T=ye([n,t]),E=f(f({},C),i);return p.createElement(p.Fragment,null,d&&p.createElement(w,{sideCar:Te,removeScrollBar:l,shards:m,noRelative:g,noIsolation:_,inert:v,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:S}),o?p.cloneElement(p.Children.only(s),f(f({},E),{ref:T})):p.createElement(x,f({},E,{className:c,ref:T}),s))});V.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},V.classNames={fullWidth:R,zeroRight:L};var Ee,De=function(){if(Ee)return Ee;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Oe(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=De();return t&&e.setAttribute(`nonce`,t),e}function ke(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ae(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var je=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Oe())&&(ke(t,n),Ae(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Me=function(){var e=je();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ne=function(){var e=Me();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Pe={left:0,top:0,right:0,gap:0},H=function(e){return parseInt(e||``,10)||0},Fe=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[H(n),H(r),H(i)]},Ie=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Pe;var t=Fe(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Le=Ne(),U=`data-scroll-locked`,Re=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2  .${me} {
3   overflow: hidden ${r};
4   padding-right: ${s}px ${r};
5  }
6  body[${U}] {
7    overflow: hidden ${r};
8    overscroll-behavior: contain;
9    ${[t&&`position: relative ${r};`,n===`margin`&&`
10    padding-left: ${i}px;
11    padding-top: ${a}px;
12    padding-right: ${o}px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: ${s}px ${r};
16    `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
17  }
18  
19  .${L} {
20    right: ${s}px ${r};
21  }
22  
23  .${R} {
24    margin-right: ${s}px ${r};
25  }
26  
27  .${L} .${L} {
28    right: 0 ${r};
29  }
30  
31  .${R} .${R} {
32    margin-right: 0 ${r};
33  }
34  
35  body[${U}] {
36    ${he}: ${s}px;
37  }
38`},W=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},ze=function(){p.useEffect(function(){return document.body.setAttribute(U,(W()+1).toString()),function(){var e=W()-1;e<=0?document.body.removeAttribute(U):document.body.setAttribute(U,e.toString())}},[])},Be=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;ze();var a=p.useMemo(function(){return Ie(i)},[i]);return p.createElement(Le,{styles:Re(a,!t,i,n?``:`!important`)})},G=!1;if(typeof window<`u`)try{var K=Object.defineProperty({},`passive`,{get:function(){return G=!0,!0}});window.addEventListener(`test`,K,K),window.removeEventListener(`test`,K,K)}catch{G=!1}var q=G?{passive:!1}:!1,Ve=function(e){return e.tagName===`TEXTAREA`},He=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Ve(e)&&n[t]===`visible`)},Ue=function(e){return He(e,`overflowY`)},We=function(e){return He(e,`overflowX`)},Ge=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Je(e,r)){var i=Ye(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ke=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},qe=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Je=function(e,t){return e===`v`?Ue(t):We(t)},Ye=function(e,t){return e===`v`?Ke(t):qe(t)},Xe=function(e,t){return e===`h`&&t===`rtl`?-1:1},Ze=function(e,t,n,r,i){var a=Xe(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Ye(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Je(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},J=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Qe=function(e){return[e.deltaX,e.deltaY]},$e=function(e){return e&&`current`in e?e.current:e},et=function(e,t){return e[0]===t[0]&&e[1]===t[1]},tt=function(e){return`
39  .block-interactivity-${e} {pointer-events: none;}
40  .allow-interactivity-${e} {pointer-events: all;}
41`},nt=0,Y=[];function rt(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(nt++)[0],a=p.useState(Ne)[0],o=p.useRef(e);p.useEffect(function(){o.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=d([e.lockRef.current],(e.shards||[]).map($e),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=p.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=J(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Ge(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Ge(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Ze(h,t,e,h===`h`?s:c,!0)},[]),c=p.useCallback(function(e){var n=e;if(!(!Y.length||Y[Y.length-1]!==a)){var r=`deltaY`in n?Qe(n):J(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&et(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map($e).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=p.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:it(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=p.useCallback(function(e){n.current=J(e),r.current=void 0},[]),f=p.useCallback(function(t){l(t.type,Qe(t),t.target,s(t,e.lockRef.current))},[]),m=p.useCallback(function(t){l(t.type,J(t),t.target,s(t,e.lockRef.current))},[]);p.useEffect(function(){return Y.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener(`wheel`,c,q),document.addEventListener(`touchmove`,c,q),document.addEventListener(`touchstart`,u,q),function(){Y=Y.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,q),document.removeEventListener(`touchmove`,c,q),document.removeEventListener(`touchstart`,u,q)}},[]);var h=e.removeScrollBar,g=e.inert;return p.createElement(p.Fragment,null,g?p.createElement(a,{styles:tt(i)}):null,h?p.createElement(Be,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function it(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var at=we(Te,rt),ot=p.forwardRef(function(e,t){return p.createElement(V,f({},e,{ref:t,sideCar:at}))});ot.classNames=V.classNames;var st=ot,ct=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},X=new WeakMap,Z=new WeakMap,Q={},$=0,lt=function(e){return e&&(e.host||lt(e.parentNode))},ut=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=lt(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},dt=function(e,t,n,r){var i=ut(t,Array.isArray(e)?e:[e]);Q[n]||(Q[n]=new WeakMap);var a=Q[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(X.get(e)||0)+1,l=(a.get(e)||0)+1;X.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Z.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),$++,function(){o.forEach(function(e){var t=X.get(e)-1,i=a.get(e)-1;X.set(e,t),a.set(e,i),t||(Z.has(e)||e.removeAttribute(r),Z.delete(e)),i||e.removeAttribute(n)}),$--,$||(X=new WeakMap,X=new WeakMap,Z=new WeakMap,Q={})}},ft=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||ct(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),dt(r,i,n,`aria-hidden`)):function(){return null}};export{M as a,F as i,st as n,S as o,fe as r,ft as t};

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.