PageSourceSearch

https://www.sangse.page/_next/static/chunks/878-4b07cf6a3aada174.js

js sangse.page collected 2026-10-04 23:48:59 UTC 26,220 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{63509:(t,e,n)=>{n.d(e,{X:()=>o});var r=n(12115),i=n(66294);function o(t){let[e,n]=r.useState(void 0);return(0,i.N)(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let r,i;if(!Array.isArray(e)||!e.length)return;let o=e[0];if("borderBoxSize"in o){let t=o.borderBoxSize,e=Array.isArray(t)?t[0]:t;r=e.inlineSize,i=e.blockSize}else r=t.offsetWidth,i=t.offsetHeight;n({width:r,height:i})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}n(void 0)},[t]),e}},80878:(t,e,n)=>{n.d(e,{Mz:()=>t1,i3:()=>t5,UC:()=>t2,bL:()=>t0,Bk:()=>tj});var r=n(12115);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,s=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}let y=new Set(["top","bottom"]);function w(t){return y.has(p(t))?"y":"x"}function x(t){return t.replace(/start|end/g,t=>u[t])}let v=["left","right"],b=["right","left"],R=["top","bottom"],A=["bottom","top"];function S(t){return t.replace(/left|right|bottom|top/g,t=>c[t])}function L(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function C(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 T(t,e,n){let r,{reference:i,floating:o}=t,l=w(e),a=m(w(e)),s=g(a),f=p(e),c="y"===l,u=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(f){case"top":r={x:u,y:i.y-o.height};break;case"bottom":r={x:u,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(e)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}let E=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:u}=T(f,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:e}});c=null!=g?g:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(f=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:u}=T(f,d,s)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};async function O(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=t,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=d(e,t),m=L(h),g=a[p?"floating"===u?"reference":"floating":u],y=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:f,rootBoundary:c,strategy:s})),w="floating"===u?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function P(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function k(t){return i.some(e=>t[e]>=0)}let H=new Set(["left","top"]);async function D(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),s="y"===w(n),f=H.has(l)?-1:1,c=o&&s?-1:1,u=d(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}
1:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),s?{x:g*c,y:m*f}:{x:m*f,y:g*c}}function F(){return"u">typeof window}function M(t){return j(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function N(t){var e;return null==(e=(j(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function j(t){return!!F()&&(t instanceof Node||t instanceof W(t).Node)}function $(t){return!!F()&&(t instanceof Element||t instanceof W(t).Element)}function z(t){return!!F()&&(t instanceof HTMLElement||t instanceof W(t).HTMLElement)}function B(t){return!(!F()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof W(t).ShadowRoot)}let V=new Set(["inline","contents"]);function _(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!V.has(i)}let X=new Set(["table","td","th"]),I=[":popover-open",":modal"];function Y(t){return I.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let G=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],U=["paint","layout","strict","content"];function J(t){let e=K(),n=$(t)?tt(t):t;return G.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||q.some(t=>(n.willChange||"").includes(t))||U.some(t=>(n.contain||"").includes(t))}function K(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function Z(t){return Q.has(M(t))}function tt(t){return W(t).getComputedStyle(t)}function te(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tn(t){if("html"===M(t))return t;let e=t.assignedSlot||t.parentNode||B(t)&&t.host||N(t);return B(e)?e.host:e}function tr(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=tn(e);return Z(n)?e.ownerDocument?e.ownerDocument.body:e.body:z(n)&&_(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=W(i);if(o){let t=ti(l);return e.concat(l,l.visualViewport||[],_(i)?i:[],t&&n?tr(t):[])}return e.concat(i,tr(i,[],n))}function ti(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function to(t){let e=tt(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=z(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,s=a(n)!==o||a(r)!==l;return s&&(n=o,r=l),{width:n,height:r,$:s}}function tl(t){return $(t)?t:t.contextElement}function ta(t){let e=tl(t);if(!z(e))return f(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=to(e),l=(o?a(n.width):n.width)/r,s=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let ts=f(0);function tf(t){let e=W(t);
1return K()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ts}function tc(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=tl(t),a=f(1);e&&(r?$(r)&&(a=ta(r)):a=ta(t));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===W(l))&&i)?tf(l):f(0),c=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let t=W(l),e=r&&$(r)?W(r):r,n=t,i=ti(n);for(;i&&r&&e!==n;){let t=ta(i),e=i.getBoundingClientRect(),r=tt(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,u*=t.y,d*=t.x,p*=t.y,c+=o,u+=l,i=ti(n=W(i))}}return C({width:d,height:p,x:c,y:u})}function tu(t,e){let n=te(t).scrollLeft;return e?e.left+n:tc(N(t)).left+n}function td(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tu(t,n),y:n.top+e.scrollTop}}let tp=new Set(["absolute","fixed"]);function th(t,e,n){var r;let i;if("viewport"===e)i=function(t,e){let n=W(t),r=N(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let t=K();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,s=i.offsetTop)}let f=tu(r);if(f<=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 f<=25&&(o+=f);return{width:o,height:l,x:a,y:s}}(t,n);else if("document"===e){let e,n,o,a,s,f,c;r=N(t),e=N(r),n=te(r),o=r.ownerDocument.body,a=l(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=l(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),f=-n.scrollLeft+tu(r),c=-n.scrollTop,"rtl"===tt(o).direction&&(f+=l(e.clientWidth,o.clientWidth)-a),i={width:a,height:s,x:f,y:c}}else if($(e)){let t,r,o,l,a,s;r=(t=tc(e,!0,"fixed"===n)).top+e.clientTop,o=t.left+e.clientLeft,l=z(e)?ta(e):f(1),a=e.clientWidth*l.x,s=e.clientHeight*l.y,i={width:a,height:s,x:o*l.x,y:r*l.y}}else{let n=tf(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return C(i)}function tm(t){return"static"===tt(t).position}function tg(t,e){if(!z(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function ty(t,e){var n;let r=W(t);if(Y(t))return r;if(!z(t)){let e=tn(t);for(;e&&!Z(e);){if($(e)&&!tm(e))return e;e=tn(e)}return r}let i=tg(t,e);for(;i&&(n=i,X.has(M(n)))&&tm(i);)i=tg(i,e);return i&&Z(i)&&tm(i)&&!J(i)?r:i||function(t){let e=tn(t);for(;z(e)&&!Z(e);){if(J(e))return e;if(Y(e))break;e=tn(e)}return null}(t)||r}let tw=async function(t){let e=this.getOffsetParent||ty,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=z(e),i=N(e),o="fixed"===n,l=tc(t,!0,o,e),a={scrollLeft:0,scrollTop:0},s=f(0);if(r||!r&&!o)if(("body"!==M(e)||_(i))&&(a=te(e)),r){let t=tc(e,!0,o,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=tu(i));o&&!r&&i&&(s.x=tu(i));let c=!i||r||o?f(0):td(i,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.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}}},tx={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=N(r),a=!!e&&Y(e.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},c=f(1),u=f(0),d=z(r);if((d||!d&&!o)&&(("body"!==M(r)||_(l))&&(s=te(r)),z(r))){let t=tc(r);c=ta(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}let p=!l||d||o?f(0):td(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:N,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,a=[..."clippingAncestors"===n?Y(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=tr(t,[],!1).filter(t=>$(t)&&"body"!==M(t)),i=null,o="fixed"===tt(t).position,l=o?tn(t):t;for(;$(l)&&!Z(l);){let e=tt(l),n=J(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&tp.has(i.position)||_(l)&&!n&&function t(e,n){let r=tn(e);return!(r===n||!$(r)||Z(r))&&("fixed"===tt(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=tn(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],s=a[0],f=a.reduce((t,n)=>{let r=th(e,n,i);return t.top=l(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=l(r.left,t.left),t},th(e,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent:ty,getElementRects:tw,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=to(t);return{width:e,height:n}},getScale:ta,isElement:$,isRTL:function(t){return"rtl"===tt(t).direction}};function tv(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tb=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:a,platform:s,elements:f,middlewareData:c}=e,{element:u,padding:p=0}=d(t,e)||{};if(null==u)return{};let y=L(p),x={x:n,y:r},v=m(w(i)),b=g(v),R=await s.getDimensions(u),A="y"===v,S=A?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),O=E?E[S]:0;O&&await (null==s.isElement?void 0:s.isElement(E))||(O=f.floating[S]||a.floating[b]);let P=O/2-R[b]/2-1,k=o(y[A?"top":"left"],P),H=o(y[A?"bottom":"right"],P),D=O-R[b]-H,F=O/2-R[b]/2+(C/2-T/2),M=l(k,o(F,D)),W=!c.arrow&&null!=h(i)&&F!==M&&a.reference[b]/2-(F<k?k:H)-R[b]/2<0,N=W?F<k?F-k:F-D:0;return{[v]:x[v]+N,data:{[v]:M,centerOffset:F-M-N,...W&&{alignmentOffset:N}},reset:W}}});var tR=n(47650),tA="u">typeof document?r.useLayoutEffect:function(){};function tS(t,e){let n,r,i;if(t===e)return!0;
1if(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(!tS(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)&&!tS(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function tL(t){return"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tC(t,e){let n=tL(t);return Math.round(e*n)/n}function tT(t){let e=r.useRef(t);return tA(()=>{e.current=t}),e}var tE=n(99354),tO=n(95155),tP=r.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tO.jsx)(tE.sG.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tO.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tP.displayName="Arrow";var tk=n(47527),tH=n(68599),tD=n(17347),tF=n(66294),tM=n(63509),tW="Popper",[tN,tj]=(0,tH.A)(tW),[t$,tz]=tN(tW),tB=t=>{let{__scopePopper:e,children:n}=t,[i,o]=r.useState(null);return(0,tO.jsx)(t$,{scope:e,anchor:i,onAnchorChange:o,children:n})};tB.displayName=tW;var tV="PopperAnchor",t_=r.forwardRef((t,e)=>{let{__scopePopper:n,virtualRef:i,...o}=t,l=tz(tV,n),a=r.useRef(null),s=(0,tk.s)(e,a),f=r.useRef(null);return r.useEffect(()=>{let t=f.current;f.current=i?.current||a.current,t!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,tO.jsx)(tE.sG.div,{...o,ref:s})});t_.displayName=tV;var tX="PopperContent",[tI,tY]=tN(tX),tG=r.forwardRef((t,e)=>{var n,i,a,f,c,u,y,L,C,T,F,M,W;let{__scopePopper:j,side:$="bottom",sideOffset:z=0,align:B="center",alignOffset:V=0,arrowPadding:_=0,avoidCollisions:X=!0,collisionBoundary:I=[],collisionPadding:Y=0,sticky:G="partial",hideWhenDetached:q=!1,updatePositionStrategy:U="optimized",onPlaced:J,...K}=t,Q=tz(tX,j),[Z,tt]=r.useState(null),te=(0,tk.s)(e,t=>tt(t)),[tn,ti]=r.useState(null),to=(0,tM.X)(tn),ta=to?.width??0,ts=to?.height??0,tf="number"==typeof Y?Y:{top:0,right:0,bottom:0,left:0,...Y},tu=Array.isArray(I)?I:[I],td=tu.length>0,tp={padding:tf,boundary:tu.filter(tK),altBoundary:td},{refs:th,floatingStyles:tm,placement:tg,isPositioned:ty,middlewareData:tw}=function(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:f,open:c}=t,[u,d]=r.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);tS(p,i)||h(i);let[m,g]=r.useState(null),[y,w]=r.useState(null),x=r.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),v=r.useCallback(t=>{t!==S.current&&(S.current=t,w(t))},[]),b=l||m,R=a||y,A=r.useRef(null),S=r.useRef(null),L=r.useRef(u),C=null!=f,T=tT(f),O=tT(o),P=tT(c),k=r.useCallback(()=>{var t,r;let i,o,l;if(!A.current||!S.current)return;let a={placement:e,strategy:n,middleware:p};O.current&&(a.platform=O.current),(t=A.current,r=S.current,i=new Map,l={...(o={platform:tx,...a}).platform,_c:i},E(t,r,{...o,platform:l})).then(t=>{let e={...t,isPositioned:!1!==P.current};H.current&&!tS(L.current,e)&&(L.current=e,tR.flushSync(()=>{d(e)}))})},[p,e,n,O,P]);tA(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[c]);let H=r.useRef(!1);tA(()=>(H.current=!0,()=>{H.current=!1}),[]),tA(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(T.current)return T.current(b,R,k);k()}},[b,R,k,T,C]);let D=r.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),F=r.useMemo(()=>({reference:b,floating:R}),[b,R]),M=r.useMemo(()=>{let t={position:n,left:0,top:0};if(!F.floating)return t;let e=tC(F.floating,u.x),r=tC(F.floating,u.y);return s?{...t,transform:"translate("+e+"px, "+r+"px)",...tL(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,s,F.floating,u.x,u.y]);return r.useMemo(()=>({...u,update:k,refs:D,elements:F,floatingStyles:M}),[u,k,D,F,M])}({strategy:"fixed",placement:$+("center"!==B?"-"+B:""),whileElementsMounted:(...t)=>(function(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:f=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=tl(t),h=a||f?[...p?tr(p):[],...tr(e)]:[];h.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),f&&t.addEventListener("resize",n)});let m=p&&u?function(t,e){let n,r=null,i=N(t);function a(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function f(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),a();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;
1if(c||e(),!m||!g)return;let y={rootMargin:-s(h)+"px "+-s(i.clientWidth-(p+m))+"px "+-s(i.clientHeight-(h+g))+"px "+-s(p)+"px",threshold:l(0,o(1,u))||1},w=!0;function x(e){let r=e[0].intersectionRatio;if(r!==u){if(!w)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||tv(d,t.getBoundingClientRect())||f(),w=!1}try{r=new IntersectionObserver(x,{...y,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(x,y)}r.observe(t)}(!0),a}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let w=d?tc(t):null;return d&&function e(){let r=tc(t);w&&!tv(w,r)&&n(),w=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{a&&t.removeEventListener("scroll",n),f&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(i)}})(...t,{animationFrame:"always"===U}),elements:{reference:Q.anchor},middleware:[{...{name:"offset",options:i=n={mainAxis:z+ts,alignmentAxis:V},async fn(t){var e,n;let{x:r,y:o,placement:l,middlewareData:a}=t,s=await D(t,i);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:o+s.y,data:{...s,placement:l}}}},options:[n,void 0]},X&&{...{name:"shift",options:c=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===G?{...(a=void 0,{options:a={},fn(t){let{x:e,y:n,placement:r,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:s=!0,crossAxis:f=!0}=d(a,t),c={x:e,y:n},u=w(r),h=m(u),g=c[h],y=c[u],x=d(l,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){let t="y"===h?"height":"width",e=i.reference[h]-i.floating[t]+v.mainAxis,n=i.reference[h]+i.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(f){var b,R;let t="y"===h?"width":"height",e=H.has(p(r)),n=i.reference[u]-i.floating[t]+(e&&(null==(b=o.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),l=i.reference[u]+i.reference[t]+(e?0:(null==(R=o.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);y<n?y=n:y>l&&(y=l)}return{[h]:g,[u]:y}}}),options:[void 0,void 0]}:void 0,...tp},async fn(t){let{x:e,y:n,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...f}=d(c,t),u={x:e,y:n},h=await O(t,f),g=w(p(r)),y=m(g),x=u[y],v=u[g];if(i){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+h[t],r=x-h[e];x=l(n,o(x,r))}if(a){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",n=v+h[t],r=v-h[e];v=l(n,o(v,r))}let b=s.fn({...t,[y]:x,[g]:v});return{...b,data:{x:b.x-e,y:b.y-n,enabled:{[y]:i,[g]:a}}}}},options:[f,void 0]},X&&{...{name:"flip",options:y=u={...tp},async fn(t){var e,n,r,i,o,l,a,s;let f,c,u,{placement:L,middlewareData:C,rects:T,initialPlacement:E,platform:P,elements:k}=t,{mainAxis:H=!0,crossAxis:D=!0,fallbackPlacements:F,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:W="none",flipAlignment:N=!0,...j}=d(y,t);if(null!=(e=C.arrow)&&e.alignmentOffset)return{};let $=p(L),z=w(E),B=p(E)===E,V=await (null==P.isRTL?void 0:P.isRTL(k.floating)),_=F||(B||!N?[S(E)]:(f=S(E),[x(E),f,x(f)])),X="none"!==W;!F&&X&&_.push(...(c=h(E),u=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?b:v;return e?v:b;case"left":case"right":return e?R:A;default:return[]}}(p(E),"start"===W,V),c&&(u=u.map(t=>t+"-"+c),N&&(u=u.concat(u.map(x)))),u));let I=[E,..._],Y=await O(t,j),G=[],q=(null==(n=C.flip)?void 0:n.overflows)||[];if(H&&G.push(Y[$]),D){let t,e,n,r,i=(l=L,a=T,void 0===(s=V)&&(s=!1),t=h(l),n=g(e=m(w(l))),r="x"===e?t===(s?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=S(r)),[r,S(r)]);G.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:L,overflows:G}],!G.every(t=>t<=0)){let t=((null==(r=C.flip)?void 0:r.index)||0)+1,e=I[t];if(e&&("alignment"!==D||z===w(e)||q.every(t=>w(t.placement)!==z||t.overflows[0]>0)))return{data:{index:t,overflows:q},reset:{placement:e}};let n=null==(i=q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(M){case"bestFit":{let t=null==(o=q.filter(t=>{if(X){let e=w(t.placement);return e===z||"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:o[0];t&&(n=t);break}case"initialPlacement":n=E}if(L!==n)return{reset:{placement:n}}}return{}}},options:[u,void 0]},{...{name:"size",options:C=L={...tp,apply:({elements:t,rects:e,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=e.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(t){var e,n;let r,i,{placement:a,rects:s,platform:f,elements:c}=t,{apply:u=()=>{},...m}=d(C,t),g=await O(t,m),y=p(a),x=h(a),v="y"===w(a),{width:b,height:R}=s.floating;"top"===y||"bottom"===y?(r=y,i=x===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(i=y,r="end"===x?"top":"bottom");
1let A=R-g.top-g.bottom,S=b-g.left-g.right,L=o(R-g[r],A),T=o(b-g[i],S),E=!t.middlewareData.shift,P=L,k=T;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(k=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(P=A),E&&!x){let t=l(g.left,0),e=l(g.right,0),n=l(g.top,0),r=l(g.bottom,0);v?k=b-2*(0!==t||0!==e?t+e:l(g.left,g.right)):P=R-2*(0!==n||0!==r?n+r:l(g.top,g.bottom))}await u({...t,availableWidth:k,availableHeight:P});let H=await f.getDimensions(c.floating);return b!==H.width||R!==H.height?{reset:{rects:!0}}:{}}},options:[L,void 0]},tn&&{...{name:"arrow",options:F=T={element:tn,padding:_},fn(t){let{element:e,padding:n}="function"==typeof F?F(t):F;return e&&({}).hasOwnProperty.call(e,"current")?null!=e.current?tb({element:e.current,padding:n}).fn(t):{}:e?tb({element:e,padding:n}).fn(t):{}}},options:[T,void 0]},tQ({arrowWidth:ta,arrowHeight:ts}),q&&{...{name:"hide",options:W=M={strategy:"referenceHidden",...tp},async fn(t){let{rects:e}=t,{strategy:n="referenceHidden",...r}=d(W,t);switch(n){case"referenceHidden":{let n=P(await O(t,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:k(n)}}}case"escaped":{let n=P(await O(t,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:n,escaped:k(n)}}}default:return{}}}},options:[M,void 0]}]}),[tP,tH]=tZ(tg),tW=(0,tD.c)(J);(0,tF.N)(()=>{ty&&tW?.()},[ty,tW]);let tN=tw.arrow?.x,tj=tw.arrow?.y,t$=tw.arrow?.centerOffset!==0,[tB,tV]=r.useState();return(0,tF.N)(()=>{Z&&tV(window.getComputedStyle(Z).zIndex)},[Z]),(0,tO.jsx)("div",{ref:th.setFloating,"data-radix-popper-content-wrapper":"",style:{...tm,transform:ty?tm.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tB,"--radix-popper-transform-origin":[tw.transformOrigin?.x,tw.transformOrigin?.y].join(" "),...tw.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tO.jsx)(tI,{scope:j,placedSide:tP,onArrowChange:ti,arrowX:tN,arrowY:tj,shouldHideArrow:t$,children:(0,tO.jsx)(tE.sG.div,{"data-side":tP,"data-align":tH,...K,ref:te,style:{...K.style,animation:ty?void 0:"none"}})})})});tG.displayName=tX;var tq="PopperArrow",tU={top:"bottom",right:"left",bottom:"top",left:"right"},tJ=r.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=tY(tq,n),o=tU[i.placedSide];return(0,tO.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,tO.jsx)(tP,{...r,ref:e,style:{...r.style,display:"block"}})})});function tK(t){return null!==t}tJ.displayName=tq;var tQ=t=>({name:"transformOrigin",options:t,fn(e){let{placement:n,rects:r,middlewareData:i}=e,o=i.arrow?.centerOffset!==0,l=o?0:t.arrowWidth,a=o?0:t.arrowHeight,[s,f]=tZ(n),c={start:"0%",center:"50%",end:"100%"}[f],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?c:`${u}px`,h=`${-a}px`):"top"===s?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?c:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function tZ(t){let[e,n="center"]=t.split("-");return[e,n]}var t0=tB,t1=t_,t2=tG,t5=tJ}}]);

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.