PageSourceSearch

https://vidgap.com/_next/static/chunks/2064.d1823e8e924f8967.js

js vidgap.com collected 2026-10-08 23:42:51 UTC 18,136 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2064],{9683:(t,e,n)=>{n.d(e,{BN:()=>p,UU:()=>h,cY:()=>d,we:()=>s});var r=n(47226),i=n(12115),o=n(47650),l="u">typeof document?i.useLayoutEffect:function(){};function u(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!u(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!u(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function f(t){return"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=f(t);return Math.round(e*n)/n}function a(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=t,[w,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[v,b]=i.useState(s);u(v,s)||b(s);let[R,L]=i.useState(null),[T,E]=i.useState(null),C=i.useCallback(t=>{t!==k.current&&(k.current=t,L(t))},[]),S=i.useCallback(t=>{t!==D.current&&(D.current=t,E(t))},[]),A=p||R,O=h||T,k=i.useRef(null),D=i.useRef(null),P=i.useRef(w),F=null!=g,M=a(g),W=a(d),N=a(y),H=i.useCallback(()=>{if(!k.current||!D.current)return;let t={placement:e,strategy:n,middleware:v};W.current&&(t.platform=W.current),(0,r.rD)(k.current,D.current,t).then(t=>{let e={...t,isPositioned:!1!==N.current};V.current&&!u(P.current,e)&&(P.current=e,o.flushSync(()=>{x(e)}))})},[v,e,n,W,N]);l(()=>{!1===y&&P.current.isPositioned&&(P.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[y]);let V=i.useRef(!1);l(()=>(V.current=!0,()=>{V.current=!1}),[]),l(()=>{if(A&&(k.current=A),O&&(D.current=O),A&&O){if(M.current)return M.current(A,O,H);H()}},[A,O,H,M,F]);let _=i.useMemo(()=>({reference:k,floating:D,setReference:C,setFloating:S}),[C,S]),B=i.useMemo(()=>({reference:A,floating:O}),[A,O]),U=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!B.floating)return t;let e=c(B.floating,w.x),r=c(B.floating,w.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...f(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,B.floating,w.x,w.y]);return i.useMemo(()=>({...w,update:H,refs:_,elements:B,floatingStyles:U}),[w,H,_,B,U])}let d=(t,e)=>{let n=(0,r.cY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},p=(t,e)=>{let n=(0,r.BN)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>{let n=(0,r.UU)(t);return{name:n.name,fn:n.fn,options:[t,e]}}},47226:(t,e,n)=>{let r;n.d(e,{ll:()=>ta,rD:()=>th,UU:()=>tp,cY:()=>ts,BN:()=>td});let i=Math.min,o=Math.max,l=Math.round,u=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function a(t,e){return"function"==typeof t?t(e):t}function s(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function m(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function g(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let y=["left","right"],w=["right","left"],x=["top","bottom"],v=["bottom","top"];function b(t){let e=s(t);return c[e]+t.slice(e.length)}function R(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function L(t,e,n){let r,{reference:i,floating:o}=t,l=m(e),u=p(m(e)),f=h(u),c=s(e),a="y"===l,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[f]/2-o[f]/2;switch(c){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[u]-=w*(n&&a?-1:1);break;case"end":r[u]+=w*(n&&a?-1:1)}return r}async function T(t,e){var n,r;void 0===e&&(e={});let{x:i,y:o,platform:l,rects:u,elements:f,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:m=0}=a(e,t),g="number"!=typeof(r=m)?{top:0,right:0,bottom:0,left:0,...r}:{top:r,right:r,bottom:r,left:r},y=f[h?"floating"===p?"reference":"floating":p],w=R(await l.getClippingRect
vendor: 4,286 bytes, line 1
1({element:null==(n=await (null==l.isElement?void 0:l.isElement(y)))||n?y:y.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(f.floating)),boundary:s,rootBoundary:d,strategy:c})),x="floating"===p?{x:i,y:o,width:u.floating.width,height:u.floating.height}:u.reference,v=await (null==l.getOffsetParent?void 0:l.getOffsetParent(f.floating)),b=await (null==l.isElement?void 0:l.isElement(v))&&await (null==l.getScale?void 0:l.getScale(v))||{x:1,y:1},L=R(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:x,offsetParent:v,strategy:c}):x);return{top:(w.top-L.top+g.top)/b.y,bottom:(L.bottom-w.bottom+g.bottom)/b.y,left:(w.left-L.left+g.left)/b.x,right:(L.right-w.right+g.right)/b.x}}let E=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:T},f=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:s}=L(c,r,f),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:w,y:x,data:v,reset:b}=await y({x:a,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:u,elements:{reference:t,floating:e}});a=null!=w?w:a,s=null!=x?x:s,h[g]={...h[g],...v},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:a,y:s}=L(c,d,f)),n=-1)}return{x:a,y:s,placement:d,strategy:i,middlewareData:h}},C=new Set(["left","top"]);async function S(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=s(n),u=d(n),f="y"===m(n),c=C.has(l)?-1:1,p=o&&f?-1:1,h=a(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof w&&(y="end"===u?-1*w:w),f?{x:y*p,y:g*c}:{x:g*c,y:y*p}}function A(){return"u">typeof window}function O(t){return P(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function D(t){var e;return null==(e=(P(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function P(t){return!!A()&&(t instanceof Node||t instanceof k(t).Node)}function F(t){return!!A()&&(t instanceof Element||t instanceof k(t).Element)}function M(t){return!!A()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function W(t){return!(!A()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function N(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function H(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let V=/transform|translate|scale|rotate|perspective|filter/,_=/paint|layout|strict|content/,B=t=>!!t&&"none"!==t;function U(t){let e=F(t)?z(t):t;return B(e.transform)||B(e.translate)||B(e.scale)||B(e.rotate)||B(e.perspective)||!j()&&(B(e.backdropFilter)||B(e.filter))||V.test(e.willChange||"")||_.test(e.contain||"")}function j(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function $(t){return/^(html|body|#document)$/.test(O(t))}function z(t){return k(t).getComputedStyle(t)}function Y(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function I(t){if("html"===O(t))return t;let e=t.assignedSlot||t.parentNode||W(t)&&t.host||D(t);return W(e)?e.host:e}function q(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=I(e);return $(n)?e.ownerDocument?e.ownerDocument.body:e.body:M(n)&&N(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=k(i);if(!o)return e.concat(i,q(i,[],n));{let t=X(l);return e.concat(l,l.visualViewport||[],N(i)?i:[],t&&n?q(t):[])}}function X(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function G(t){let e=z(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=M(t),o=i?t.offsetWidth:n,u=i?t.offsetHeight:r,f
1=l(n)!==o||l(r)!==u;return f&&(n=o,r=u),{width:n,height:r,$:f}}function J(t){return F(t)?t:t.contextElement}function K(t){let e=J(t);if(!M(e))return f(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=G(e),u=(o?l(n.width):n.width)/r,c=(o?l(n.height):n.height)/i;return u&&Number.isFinite(u)||(u=1),c&&Number.isFinite(c)||(c=1),{x:u,y:c}}let Q=f(0);function Z(t){let e=k(t);return j()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Q}function tt(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=J(t),u=f(1);e&&(r?F(r)&&(u=K(r)):u=K(t));let c=(void 0===(i=n)&&(i=!1),r&&(!i||r===k(l))&&i)?Z(l):f(0),a=(o.left+c.x)/u.x,s=(o.top+c.y)/u.y,d=o.width/u.x,p=o.height/u.y;if(l){let t=k(l),e=r&&F(r)?k(r):r,n=t,i=X(n);for(;i&&r&&e!==n;){let t=K(i),e=i.getBoundingClientRect(),r=z(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;a*=t.x,s*=t.y,d*=t.x,p*=t.y,a+=o,s+=l,i=X(n=k(i))}}return R({width:d,height:p,x:a,y:s})}function te(t,e){let n=Y(t).scrollLeft;return e?e.left+n:tt(D(t)).left+n}function tn(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-te(t,n),y:n.top+e.scrollTop}}function tr(t,e,n){var r;let i;if("viewport"===e)i=function(t,e){let n=k(t),r=D(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,f=0;if(i){o=i.width,l=i.height;let t=j();(!t||t&&"fixed"===e)&&(u=i.offsetLeft,f=i.offsetTop)}let c=te(r);if(c<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:u,y:f}}(t,n);else if("document"===e){let e,n,l,u,f,c,a;r=D(t),e=D(r),n=Y(r),l=r.ownerDocument.body,u=o(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),f=o(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),c=-n.scrollLeft+te(r),a=-n.scrollTop,"rtl"===z(l).direction&&(c+=o(e.clientWidth,l.clientWidth)-u),i={width:u,height:f,x:c,y:a}}else if(F(e)){let t,r,o,l,u,c;r=(t=tt(e,!0,"fixed"===n)).top+e.clientTop,o=t.left+e.clientLeft,l=M(e)?K(e):f(1),u=e.clientWidth*l.x,c=e.clientHeight*l.y,i={width:u,height:c,x:o*l.x,y:r*l.y}}else{let n=Z(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return R(i)}function ti(t){return"static"===z(t).position}function to(t,e){if(!M(t)||"fixed"===z(t).position)return null;if(e)return e(t);let n=t.offsetParent;return D(t)===n&&(n=n.ownerDocument.body),n}function tl(t,e){var n;let r=k(t);if(H(t))return r;if(!M(t)){let e=I(t);for(;e&&!$(e);){if(F(e)&&!ti(e))return e;e=I(e)}return r}let i=to(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(O(n)))&&ti(i);)i=to(i,e);return i&&$(i)&&ti(i)&&!U(i)?r:i||function(t){let e=I(t);for(;M(e)&&!$(e);){if(U(e))return e;if(H(e))break;e=I(e)}return null}(t)||r}let tu=async function(t){let e=this.getOffsetParent||tl,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=M(e),i=D(e),o="fixed"===n,l=tt(t,!0,o,e),u={scrollLeft:0,scrollTop:0},c=f(0);if(r||!r&&!o)if(("body"!==O(e)||N(i))&&(u=Y(e)),r){let t=tt(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=te(i));o&&!r&&i&&(c.x=te(i));let a=!i||r||o?f(0):tn(i,u);return{x:l.left+u.scrollLeft-c.x-a.x,y:l.top+u.scrollTop-c.y-a.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tf={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=D(r),u=!!e&&H(e.floating);if(r===l||u&&o)return n;let c={scrollLeft:0,scrollTop:0},a=f(1),s=f(0),d=M(r);if((d||!d&&!o)&&(("body"!==O(r)||N(l))&&(c=Y(r)),d)){let t=tt(r);a=K(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?f(0):tn(l,c);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+s.x+p.x,y:n.y*a.y-c.scrollTop*a.y+s.y+p.y}},getDocumentElement:D,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,u=[..."clippingAncestors"===n?H(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=q(t,[],!1).filter(t=>F(t)&&"body"!==O(t)),i=null,o="fixed"===z(t).position,l=o?I(t):t;for(;F(l)&&!$(l);){let e=z(l),n=U(l);n||"fixed"!==e.position||(i=null),(o?n||i:!(!n&&"static"===e.position&&i&&("absolute"===i.position||"fixed"===i.position)||N(l)&&!n&&function t(e,n){let r=I(e);return!(r===n||!F(r)||$(r))&&("fixed"===z(r).position||t(r,n))}(t,l)))?i=e:r=r.filter(t=>t!==l),l=I(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=tr(e,u[0],l),c=f.top,a=f.right,s=f.bottom,d=f.left;for(let t=1;t<u.length;t++){let n=tr(e,u[t],l);c=o(n.top,c),a=i(n.right,a),s=i(n.bottom,s),d=o(n.left,d)}return{width:a-d,height:s-c,x:d,y:c}},getOffsetParent:tl,getElementRects:tu,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=G(t);return{width:e,height:n}},getScale:K,isElement:F,isRTL:function(t){return"rtl"===z(t).direction}};function tc(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ta(t,e,n,r){let l;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=J(t),h=f||c?[...p?q(p):[],...e?q(e):[]]:[];h.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let m=p&&s?function(t,e){let n,r=null,l=D(t);function f(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function c(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(a||e(),!m||!g)return;let y={rootMargin:-u(h)+"px "+-u(l.clientWidth-(p+m))+"px "+-u(l.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:o(0,i(1,s))||1},w=!0;function x(e){let r=e[0].intersectionRatio;if(r!==s){if(!w)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||tc(d,t.getBoundingClientRect())||c(),w=!1}try{r=new IntersectionObserver(x,{...y,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(x,y)}r.observe(t)}(!0),f}(p,n):null,g=-1,y=null;a&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&e&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}
1),p&&!d&&y.observe(p),e&&y.observe(e));let w=d?tt(t):null;return d&&function e(){let r=tt(t);w&&!tc(w,r)&&n(),w=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let ts=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=e,f=await S(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},td=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l,platform:u}=e,{mainAxis:f=!0,crossAxis:c=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...h}=a(t,e),g={x:n,y:r},y=await u.detectOverflow(e,h),w=m(s(l)),x=p(w),v=g[x],b=g[w];if(f){let t="y"===x?"top":"left",e="y"===x?"bottom":"right",n=v+y[t],r=v-y[e];v=o(n,i(v,r))}if(c){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=b+y[t],r=b-y[e];b=o(n,i(b,r))}let R=d.fn({...e,[x]:v,[w]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[x]:f,[w]:c}}}}}},tp=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l,u,f,c;let R,L,T,{placement:E,middlewareData:C,rects:S,initialPlacement:A,platform:O,elements:k}=e,{mainAxis:D=!0,crossAxis:P=!0,fallbackPlacements:F,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:W="none",flipAlignment:N=!0,...H}=a(t,e);if(null!=(n=C.arrow)&&n.alignmentOffset)return{};let V=s(E),_=m(A),B=s(A)===A,U=await (null==O.isRTL?void 0:O.isRTL(k.floating)),j=F||(B||!N?[b(A)]:(R=b(A),[g(A),R,g(R)])),$="none"!==W;!F&&$&&j.push(...(L=d(A),T=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?w:y;return e?y:w;case"left":case"right":return e?x:v;default:return[]}}(s(A),"start"===W,U),L&&(T=T.map(t=>t+"-"+L),N&&(T=T.concat(T.map(g)))),T));let z=[A,...j],Y=await O.detectOverflow(e,H),I=[],q=(null==(r=C.flip)?void 0:r.overflows)||[];if(D&&I.push(Y[V]),P){let t,e,n,r,i=(u=E,f=S,void 0===(c=U)&&(c=!1),t=d(u),n=h(e=p(m(u))),r="x"===e?t===(c?"end":"start")?"right":"left":"start"===t?"bottom":"top",f.reference[n]>f.floating[n]&&(r=b(r)),[r,b(r)]);I.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:E,overflows:I}],!I.every(t=>t<=0)){let t=((null==(i=C.flip)?void 0:i.index)||0)+1,e=z[t];if(e&&("alignment"!==P||_===m(e)||q.every(t=>m(t.placement)!==_||t.overflows[0]>0)))return{data:{index:t,overflows:q},reset:{placement:e}};let n=null==(o=q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(M){case"bestFit":{let t=null==(l=q.filter(t=>{if($){let e=m(t.placement);return e===_||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=A}if(E!==n)return{reset:{placement:n}}}return{}}}},th=(t,e,n)=>{let r=new Map,i={platform:tf,...n},o={...i.platform,_c:r};return E(t,e,{...i,platform:o})}}}]);

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.