PageSourceSearch

https://leon4gr45-postio.hf.space/_app/immutable/chunks/D3leKDmi.js

js leon4gr45-postio.hf.space collected 2026-10-03 17:04:03 UTC 3,780 bytes, 1 lines download raw bytes

1import{Z as e}from"./DptYOkLx.js";import{T as t,n}from"./CYt4wf5c.js";import{G as r}from"./nvZTlupu.js";function i(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function a(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function o(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var s=class{#e;#t;#n;#r=null;#i=null;#a=[];#o=null;#s=null;#c=null;#l(){this.#s!==null&&(cancelAnimationFrame(this.#s),this.#s=null)}#u(){this.#l(),this.#s=requestAnimationFrame(()=>{this.#s=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())})}#d(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#f(){this.#n!==null&&(this.#d(),this.#c=window.setTimeout(()=>{this.#c=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())},this.#n))}constructor(i){this.#e=i,this.#t=i.buffer??1;let a=i.transitIntentTimeout;this.#n=typeof a==`number`&&a>0?a:null,t([i.triggerNode,i.contentNode,i.enabled],([t,i,a])=>{if(!t||!i||!a){this.#o=null,this.#m();return}this.#o&&this.#o!==t&&this.#m(),this.#o=t;let o=r(t);return[e(o,`pointermove`,e=>{this.#p([e.clientX,e.clientY],t,i)}),e(t,`pointerleave`,e=>{let t=e.relatedTarget;if(n(t)&&i.contains(t))return;let r=this.#e.ignoredTargets?.()??[];n(t)&&r.some(e=>e===t||e.contains(t))||(this.#a=n(t)&&r.length>0?r.filter(e=>t.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),e(t,`pointerenter`,()=>{this.#m()}),e(i,`pointerenter`,()=>{this.#m()}),e(i,`pointerleave`,e=>{let r=e.relatedTarget;n(r)&&t.contains(r)||(this.#r=[e.clientX,e.clientY],this.#i=`trigger`,this.#u())})].reduce((e,t)=>()=>{e(),t()},()=>{})})}#p(e,t,n){if(!this.#r||!this.#i)return;this.#l(),this.#f();let r=t.getBoundingClientRect(),s=n.getBoundingClientRect();if(this.#i===`content`&&a(e,s)){this.#m();return}if(this.#i===`trigger`&&a(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(a(e,n))return;let s=o(r,n),c=this.#h(r,n,s);if(c&&i(e,c))return}let c=o(r,s),l=this.#h(r,s,c);if(l&&i(e,l))return;let u=this.#i===`content`?s:r;i(e,this.#g(this.#r,u,c,this.#i))||(this.#m(),this.#e.onPointerExit())}#m(){this.#r=null,this.#i=null,this.#a=[],this.#l(),this.#d()}#h(e,t,n){let r=this.#t;switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}#g(e,t,n,r){let i=this.#t*4,[a,o]=e;switch(r===`trigger`?this.#_(n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#_(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}};export{s 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.