vendor: 3,706 bytes, line 1
1var tt=t=>typeof t=="object"&&t!=null&&t.nodeType===1,et=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",L=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let i=getComputedStyle(t,null);return et(i.overflowY,e)||et(i.overflowX,e)||(d=>{let l=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(d);return!!l&&(l.clientHeight<d.scrollHeight||l.clientWidth<d.scrollWidth)})(t)}return!1},j=(t,e,i,d,l,o,f,r)=>o<t&&f>e||o>t&&f<e?0:o<=t&&r<=i||f>=e&&r>=i?o-t-d:f>e&&r<i||o<t&&r>i?f-e+l:0,lt=t=>{let e=t.parentElement;return e??(t.getRootNode().host||null)},K=(t,e)=>{var i,d,l,o;if(typeof document>"u")return[];let{scrollMode:f,block:r,inline:h,boundary:D,skipOverflowHiddenElements:ot}=e,nt=typeof D=="function"?D:g=>g!==D;if(!tt(t))throw new TypeError("Invalid target");let O=document.scrollingElement||document.documentElement,M=[],s=t;for(;tt(s)&&nt(s);){if(s=lt(s),s===O){M.push(s);break}s!=null&&s===document.body&&L(s)&&!L(document.documentElement)||s!=null&&L(s,ot)&&M.push(s)}let m=(d=(i=window.visualViewport)==null?void 0:i.width)!=null?d:innerWidth,b=(o=(l=window.visualViewport)==null?void 0:l.height)!=null?o:innerHeight,{scrollX:w,scrollY:W}=window,{height:y,width:v,top:H,right:X,bottom:Y,left:F}=t.getBoundingClientRect(),{top:P,right:Q,bottom:U,left:Z}=(g=>{let n=window.getComputedStyle(g);return{top:parseFloat(n.scrollMarginTop)||0,right:parseFloat(n.scrollMarginRight)||0,bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0}})(t),a=r==="start"||r==="nearest"?H-P:r==="end"?Y+U:H+y/2-P+U,c=h==="center"?F+v/2-Z+Q:h==="end"?X+Q:F-Z,q=[];for(let g=0;g<M.length;g++){let n=M[g],{height:C,width:E,top:R,right:z,bottom:A,left:T}=n.getBoundingClientRect();if(f==="if-needed"&&H>=0&&F>=0&&Y<=b&&X<=m&&(n===O&&!L(n)||H>=R&&Y<=A&&F>=T&&X<=z))return q;let k=getComputedStyle(n),x=parseInt(k.borderLeftWidth,10),B=parseInt(k.borderTopWidth,10),I=parseInt(k.borderRightWidth,10),N=parseInt(k.borderBottomWidth,10),u=0,p=0,S="offsetWidth"in n?n.offsetWidth-n.clientWidth-x-I:0,V="offsetHeight"in n?n.offsetHeight-n.clientHeight-B-N:0,G="offsetWidth"in n?n.offsetWidth===0?0:E/n.offsetWidth:0,J="offsetHeight"in n?n.offsetHeight===0?0:C/n.offsetHeight:0;if(O===n)u=r==="start"?a:r==="end"?a-b:r==="nearest"?j(W,W+b,b,B,N,W+a,W+a+y,y):a-b/2,p=h==="start"?c:h==="center"?c-m/2:h==="end"?c-m:j(w,w+m,m,x,I,w+c,w+c+v,v),u=Math.max(0,u+W),p=Math.max(0,p+w);else{u=r==="start"?a-R-B:r==="end"?a-A+N+V:r==="nearest"?j(R,A,C,B,N+V,a,a+y,y):a-(R+C/2)+V/2,p=h==="start"?c-T-x:h==="center"?c-(T+E/2)+S/2:h==="end"?c-z+I+S:j(T,z,E,x,I+S,c,c+v,v);let{scrollLeft:_,scrollTop:$}=n;u=J===0?0:Math.max(0,Math.min($+u/J,n.scrollHeight-C/J+V)),p=G===0?0:Math.max(0,Math.min(_+p/G,n.scrollWidth-E/G+S)),a+=$-u,c+=_-p}q.push({el:n,top:u,left:p})}return q};var rt=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function at(t,e){if(!t.isConnected||!(l=>{let o=l;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(t))return;let i=(l=>{let o=window.getComputedStyle(l);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(t);if((l=>typeof l=="object"&&typeof l.behavior=="function")(e))return e.behavior(K(t,e));let d=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:l,top:o,left:f}of K(t,rt(e))){let r=o-i.top+i.bottom,h=f-i.left+i.right;l.scroll({top:r,left:h,behavior:d})}}export{at as a};
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.