PageSourceSearch

https://ttpsc.com/_next/static/immutable/chunks/2ofhibow1ect9.js

js ttpsc.com collected 2026-10-02 09:56:08 UTC 37,257 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78928,41645,92615,e=>{"use strict";let t,n=["top","right","bottom","left"],r=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,l=Math.max,o=Math.round,u=Math.floor,a=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return l(e,i(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function h(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return g(h(e))}function y(e,t,n){void 0===n&&(n=!1);let r=m(e),i=v(e),l=p(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=A(o)),[o,A(o)]}function w(e){let t=A(e);return[x(e),t,x(t)]}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],R=["right","left"],E=["top","bottom"],C=["bottom","top"];function T(e,t,n,r){let i=m(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?E:C;default:return[]}}(d(e),"start"===n,r);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(x)))),l}function A(e){let t=d(e);return f[t]+e.slice(t.length)}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function M(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function P(e,t,n){let r,{reference:i,floating:l}=e,o=h(t),u=v(t),a=p(u),f=d(t),s="y"===o,c=i.x+i.width/2-l.width/2,g=i.y+i.height/2-l.height/2,y=i[a]/2-l[a]/2;switch(f){case"top":r={x:c,y:i.y-l.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-l.width,y:g};break;default:r={x:i.x,y:i.y}}switch(m(t)){case"start":r[u]-=y*(n&&s?-1:1);break;case"end":r[u]+=y*(n&&s?-1:1)}return r}async function O(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:l,rects:o,elements:u,strategy:a}=e,{boundary:f="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=c(t,e),p=S(g),h=u[m?"floating"===d?"reference":"floating":d],v=M(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(h)))||n?h:h.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:f,rootBoundary:s,strategy:a})),y="floating"===d?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),x=await (null==l.isElement?void 0:l.isElement(w))&&await (null==l.getScale?void 0:l.getScale(w))||{x:1,y:1},b=M(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:w,strategy:a}):y);return{top:(v.top-b.top+p.top)/x.y,bottom:(b.bottom-v.bottom+p.bottom)/x.y,left:(v.left-b.left+p.left)/x.x,right:(b.right-v.right+p.right)/x.x}}e.s(["clamp",0,s,"createCoords",0,a,"evaluate",0,c,"floor",0,u,"getAlignment",0,m,"getAlignmentAxis",0,v,"getAlignmentSides",0,y,"getAxisLength",0,p,"getExpandedPlacements",0,w,"getOppositeAlignmentPlacement",0,x,"getOppositeAxis",0,g,"getOppositeAxisPlacements",0,T,"getOppositePlacement",0,A,"getPaddingObject",0,S,"getSide",0,d,"getSideAxis",0,h,"max",0,l,"min",0,i,"placements",0,r,"rectToClientRect",0,M,"round",0,o,"sides",0,n],41645);let L=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:o}=n,u=o.detectOverflow?o:{...o,detectOverflow:O},a=await (null==o.isRTL?void 0:o.isRTL(t)),f=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:s,y:c}=P(f,r,a),d=r,m=0,g={};for(let n=0;n<l.length;n++){let p=l[n];if(!p)continue;let{name:h,fn:v}=p,{x:y,y:w,data:x,reset:b}=await v({x:s,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:g,rects:f,platform:u,elements:{reference:e,floating:t}});s=null!=y?y:s,c=null!=w?w:c,g[h]={...g[h],...x},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(f=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:i}
1):b.rects),{x:s,y:c}=P(f,d,a)),n=-1)}return{x:s,y:c,placement:d,strategy:i,middlewareData:g}};function F(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function H(e){return n.some(t=>e[t]>=0)}function k(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let D=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:i}=e,l=await (null==r.isRTL?void 0:r.isRTL(i.floating)),o=d(n),u=m(n),a="y"===h(n),f=D.has(o)?-1:1,s=l&&a?-1:1,g=c(t,e),{mainAxis:p,crossAxis:v,alignmentAxis:y}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return u&&"number"==typeof y&&(v="end"===u?-1*y:y),a?{x:v*s,y:p*f}:{x:p*f,y:v*s}}function B(){return"u">typeof window}function W(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function $(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!B()&&(e instanceof Node||e instanceof I(e).Node)}function j(e){return!!B()&&(e instanceof Element||e instanceof I(e).Element)}function z(e){return!!B()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function q(e){return!(!B()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}function _(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function K(e){return/^(table|td|th)$/.test(W(e))}function U(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let Y=/transform|translate|scale|rotate|perspective|filter/,J=/paint|layout|strict|content/,X=e=>!!e&&"none"!==e;function G(e){let t=j(e)?et(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!Z()&&(X(t.backdropFilter)||X(t.filter))||Y.test(t.willChange||"")||J.test(t.contain||"")}function Q(e){let t=er(e);for(;z(t)&&!ee(t);){if(G(t))return t;if(U(t))break;t=er(t)}return null}function Z(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ee(e){return/^(html|body|#document)$/.test(W(e))}function et(e){return I(e).getComputedStyle(e)}function en(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||q(e)&&e.host||$(e);return q(t)?t.host:t}function ei(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=er(t);return ee(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&_(n)?n:e(n)}(e),l=i===(null==(r=e.ownerDocument)?void 0:r.body),o=I(i);if(!l)return t.concat(i,ei(i,[],n));{let e=el(o);return t.concat(o,o.visualViewport||[],_(i)?i:[],e&&n?ei(e):[])}}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=et(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=z(e),l=i?e.offsetWidth:n,u=i?e.offsetHeight:r,a=o(n)!==l||o(r)!==u;return a&&(n=l,r=u),{width:n,height:r,$:a}}function eu(e){return j(e)?e:e.contextElement}function ea(e){let t=eu(e);if(!z(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=eo(t),u=(l?o(n.width):n.width)/r,f=(l?o(n.height):n.height)/i;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}e.s(["getComputedStyle",0,et,"getContainingBlock",0,Q,"getDocumentElement",0,$,"getFrameElement",0,el,"getNodeName",0,W,"getNodeScroll",0,en,"getOverflowAncestors",0,ei,"getParentNode",0,er,"getWindow",0,I,"isContainingBlock",0,G,"isElement",0,j,"isHTMLElement",0,z,"isLastTraversableNode",0,ee,"isOverflowElement",0,_,"isShadowRoot",0,q,"isTableElement",0,K,"isTopLayer",0,U,"isWebKit",0,Z],92615);let ef=a(0);function es(e){let t=I(e);return Z()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualVie
1wport.offsetTop}:ef}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),o=eu(e),u=a(1);t&&(r?j(r)&&(u=ea(r)):u=ea(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===I(o))&&i)?es(o):a(0),s=(l.left+f.x)/u.x,c=(l.top+f.y)/u.y,d=l.width/u.x,m=l.height/u.y;if(o){let e=I(o),t=r&&j(r)?I(r):r,n=e,i=el(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=et(i),l=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,m*=e.y,s+=l,c+=o,i=el(n=I(i))}}return M({width:d,height:m,x:s,y:c})}function ed(e,t){let n=en(e).scrollLeft;return t?t.left+n:ec($(e)).left+n}function em(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}function eg(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=I(e),r=$(e),i=n.visualViewport,l=r.clientWidth,o=r.clientHeight,u=0,a=0;if(i){l=i.width,o=i.height;let e=Z();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,a=i.offsetTop)}let f=ed(r);if(f<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(l-=o)}else f<=25&&(l+=f);return{width:l,height:o,x:u,y:a}}(e,n);else if("document"===t){let t,n,o,u,a,f,s;r=$(e),t=$(r),n=en(r),o=r.ownerDocument.body,u=l(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=l(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),f=-n.scrollLeft+ed(r),s=-n.scrollTop,"rtl"===et(o).direction&&(f+=l(t.clientWidth,o.clientWidth)-u),i={width:u,height:a,x:f,y:s}}else if(j(t)){let e,r,l,o,u,f;r=(e=ec(t,!0,"fixed"===n)).top+t.clientTop,l=e.left+t.clientLeft,o=z(t)?ea(t):a(1),u=t.clientWidth*o.x,f=t.clientHeight*o.y,i={width:u,height:f,x:l*o.x,y:r*o.y}}else{let n=es(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return M(i)}function ep(e){return"static"===et(e).position}function eh(e,t){if(!z(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return $(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){let n=I(e);if(U(e))return n;if(!z(e)){let t=er(e);for(;t&&!ee(t);){if(j(t)&&!ep(t))return t;t=er(t)}return n}let r=eh(e,t);for(;r&&K(r)&&ep(r);)r=eh(r,t);return r&&ee(r)&&ep(r)&&!G(r)?n:r||Q(e)||n}let ey=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=z(t),i=$(t),l="fixed"===n,o=ec(e,!0,l,t),u={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!l)if(("body"!==W(t)||_(i))&&(u=en(t)),r){let e=ec(t,!0,l,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ed(i));l&&!r&&i&&(f.x=ed(i));let s=!i||r||l?a(0):em(i,u);return{x:o.left+u.scrollLeft-f.x-s.x,y:o.top+u.scrollTop-f.y-s.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,l="fixed"===i,o=$(r),u=!!t&&U(t.floating);if(r===o||u&&l)return n;let f={scrollLeft:0,scrollTop:0},s=a(1),c=a(0),d=z(r);if((d||!d&&!l)&&(("body"!==W(r)||_(o))&&(f=en(r)),d)){let e=ec(r);s=ea(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let m=!o||d||l?a(0):em(o,f);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+c.x+m.x,y:n.y*s.y-f.scrollTop*s.y+c.y+m.y}},getDocumentElement:$,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,u=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ei(e,[],!1).filter(e=>j(e)&&"body"!==W(e)),i=null,l="fixed"===et(e).position,o=l?er(e):e;for(;j(o)&&!ee(o);){let t=et(o),n=G(o);n||"fixed"!==t.position||(i=null),(l?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||_(o)&&!n&&function e(t,n){let r=er(t);return!(r===n||!j(r)||ee(r))&&("fixed"===et(r).position||e(r,n))}(e,o)))?i=t:r=r.filter(e=>e!==o),o=er(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=eg(t,u[0],o),f=a.top,s=a.right,c=a.bottom,d=a.left;for(let e=1;e<u.length;e++){let n=eg(t,u[e],o);f=l(n.top,f),s=i(n.right,s),c=i(n.bottom,c),d=l(n.left,d)}return{width:s-d,height:c-f,x:d,y:f}},getOffsetParent:ev,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ea,isElement:j,isRTL:function(e){return"rtl"===et(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:o,platform:u,elements:a,middlewareData:f}=t,{element:d,padding:g=0}=c(e,t)||{};if(null==d)return{};let h=S(g),y={x:n,y:r},w=v(l),x=p(w),b=await u.getDimensions(d),R="y"===w,E=R?"clientHeight":"clientWidth",C=o.reference[x]+o.reference[w]-y[w]-o.floating[x],T=y[w]-o.reference[w],A=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),M=A?A[E]:0;M&&await (null==u.isElement?void 0:u.isElement(A))||(M=a.floating[E]||o.floating[x]);let P=M/2-b[x]/2-1,O=i(h[R?"top":"left"],P),L=i(h[R?"bottom":"right"],P),F=M-b[x]-L,H=M/2-b[x]/2+(C/2-T/2),k=s(O,H,F),D=!f.arrow&&null!=m(l)&&H!==k&&o.reference[x]/2-(H<O?O:L)-b[x]/2<0,N=D?H<O?H-O:H-F:0;return{[w]:y[w]+N,data:{[w]:k,centerOffset:H-k-N,...D&&{alignmentOffset:N}},reset:D}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,l,o;let{rects:u,middlewareData:a,placement:f,platform:s,elements:g}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:v=r,autoAlignment:w=!0,...b}=c(e,t),R=void 0!==h||v===r?((o=h||null)?[...v.filter(e=>m(e)===o),...v.filter(e=>m(e)!==o)]:v.filter(e=>d(e)===e)).filter(e=>!o||m(e)===o||!!w&&x(e)!==e):v,E=await s.detectOverflow(t,b),C=(null==(n=a.autoPlacement)?void 0:n.index)||0,T=R[C];if(null==T)return{};let A=y(T,u,await (null==s.isRTL?void 0:s.isRTL(g.floating)));if(f!==T)return{reset:{placement:R[0]}};let S=[E[d(T)],E[A[0]],E[A[1]]],M=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:S}],P=R[C+1];if(P)return{data:{index:C+1,overflows:M},reset:{placement:P}};let O=M.map(e=>{let t=m(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),L=(null==(l=O.filter(e=>e[2].slice(0,m(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||O[0][0];return L!==f?{data:{index:C+1,overflows:M},reset:{placement:L}}:{}}}},"autoUpdate",0,function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:f=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=eu(e),g=a||f?[...m?ei(m):[],...t?ei(t):[]]:[];g.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let p=m&&c?function(e,t){let n,r=null,o=$(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:m,top:g,width:p,height:h}=d;if(s||t(),!p||!h)return;let v={rootMargin:-u(g)+"px "+-u(o.clientWidth-(m+p))+"px "+-u(o.clientHeight-(g+h))+"px "+-u(m)+"px",threshold:l(0,i(1,c))||1},y=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!y)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||ex(d,e.getBoundingClientRect())||f(),y=!1}try{r=new IntersectionObserver(w,{...v,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(w,v)}r.observe(e)}(!0),a}(m,n):null,h=-1,v=null;s&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&v&&t&&(v.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),m&&!d&&v.observe(m),t&&v.observe(t));let y=d?ec(e):null;return d&&function t(){let r=ec(e);y&&!ex(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;g.forEach(e=>{a&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(o)}},"computePosition",0,(e,t,n)=>{let r=new Map,i={platform:ew,...n},l={...i.platform,_c:r};return L(e,t,{...i,platform:l})},"detectOverflow",0,O,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,l,o;let{placement:u,middlewareData:a,rects:f,initialPlacement:s,platform:m,elements:g}=t,{mainAxis:p=!0,crossAxis:v=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:E=!0,...C}=c(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let S=d(u),M=h(s),P=d(s)===s,O=await (null==m.isRTL?void 0:m.isRTL(g.floating)),L=x||(P||!E?[A(s)]:w(s)),F="none"!==R;!x&&F&&L.push(...T(s,E,R,O));let H=[s,...L],k=await m.detectOverflow(t,C),D=[],N=(null==(r=a.flip)?void 0:r.overflows)||[];if(p&&D.push(k[S]),v){let e=y(u,f,O);D.push(k[e[0]],k[e[1]])}if(N=[...N,{placement:u,overflows:D}],!D.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=H[e];if(t&&("alignment"!==v||M===h(t)||N.every(e=>h(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(l=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(b){case"bestFit":{let e=null==(o=N.filter(e=>{if(F){let t=h(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=s}if(u!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...l}=c(e,t);switch(i){case"referenceHidden":{let e=F(await r.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:H(e)}}}case"escaped":{let e=F(await r.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:H(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:o,platform:u,strategy:a}=t,{padding:f=2,x:s,y:m}=c(e,t),g=Array.from(await (null==u.getClientRects?void 0:u.getClientRects(r.reference))||[]),p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>M(k(e)))}(g),v=M(k(g)),y=S(f),w=await u.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=s&&null!=m)return p.find(e=>s>e.left-y.left&&s<e.right+y.right&&m>e.top-y.top&&m<e.bottom+y.bottom)||v;if(p.length>=2){if("y"===h(n)){let e=p[0],t=p[p.length-1],r="top"===d(n),i=e.top,l=t.bottom,o=r?e.left:t.left,u=r?e.right:t.right;return{top:i,bottom:l,left:o,right:u,width:u-o,height:l-i,x:o,y:i}}
1let e="left"===d(n),t=l(...p.map(e=>e.right)),r=i(...p.map(e=>e.left)),o=p.filter(n=>e?n.left===r:n.right===t),u=o[0].top,a=o[o.length-1].bottom;return{top:u,bottom:a,left:r,right:t,width:t-r,height:a-u,x:r,y:u}}return v}},floating:r.floating,strategy:a});return o.reference.x!==w.reference.x||o.reference.y!==w.reference.y||o.reference.width!==w.reference.width||o.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:l,middlewareData:o}=t,{offset:u=0,mainAxis:a=!0,crossAxis:f=!0}=c(e,t),s={x:n,y:r},m=h(i),p=g(m),v=s[p],y=s[m],w=c(u,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===p?"height":"width",t=l.reference[p]-l.floating[e]+x.mainAxis,n=l.reference[p]+l.reference[e]-x.mainAxis;v<t?v=t:v>n&&(v=n)}if(f){var b,R;let e="y"===p?"width":"height",t=D.has(d(i)),n=l.reference[m]-l.floating[e]+(t&&(null==(b=o.offset)?void 0:b[m])||0)+(t?0:x.crossAxis),r=l.reference[m]+l.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[m])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:v,[m]:y}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:l,placement:o,middlewareData:u}=t,a=await N(t,e);return o===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:l+a.y,data:{...a,placement:o}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:l}=t,{mainAxis:o=!0,crossAxis:u=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=c(e,t),m={x:n,y:r},p=await l.detectOverflow(t,f),v=h(d(i)),y=g(v),w=m[y],x=m[v];if(o){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+p[e],r=w-p[t];w=s(n,w,r)}if(u){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+p[e],r=x-p[t];x=s(n,x,r)}let b=a.fn({...t,[y]:w,[v]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[y]:o,[v]:u}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,u,{placement:a,rects:f,platform:s,elements:g}=t,{apply:p=()=>{},...v}=c(e,t),y=await s.detectOverflow(t,v),w=d(a),x=m(a),b="y"===h(a),{width:R,height:E}=f.floating;"top"===w||"bottom"===w?(o=w,u=x===(await (null==s.isRTL?void 0:s.isRTL(g.floating))?"start":"end")?"left":"right"):(u=w,o="end"===x?"top":"bottom");let C=E-y.top-y.bottom,T=R-y.left-y.right,A=i(E-y[o],C),S=i(R-y[u],T),M=!t.middlewareData.shift,P=A,O=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(O=T),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=C),M&&!x){let e=l(y.left,0),t=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);b?O=R-2*(0!==e||0!==t?e+t:l(y.left,y.right)):P=E-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await p({...t,availableWidth:O,availableHeight:P});let L=await s.getDimensions(g.floating);return R!==L.width||E!==L.height?{reset:{rects:!0}}:{}}}}],78928)},29023,27638,e=>{"use strict";var t=e.i(40075),n=e.i(32660),r=e.i(1483);function i(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}e.s(["useElementSize",0,function(e,l,o=!1){let[u,a]=(0,t.useState)(()=>i(l));return(0,r.useIsoMorphicEffect)(()=>{if(!l||!e)return;let t=(0,n.disposables)();return t.requestAnimationFrame(function e(){t.requestAnimationFrame(e),a(e=>{let t=i(l);return t.width===e.width&&t.height===e.height?e:t})}),()=>{t.dispose()}},[l,e]),o?{width:`${u.width}px`,height:`${u.height}px`}:u}],29023);var l=e.i(78928),o=e.i(33464),u="u">typeof document?t.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function f(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=f(e);return Math.round(t*n)/n}function c(e){let n=t.useRef(e);return u(()=>{n.current=e}),n}let d=(e,t)=>{let n=(0,l.offset)(e);return{name:n.name,fn:n.fn,options:[e,t]}};var m=e.i(92615),g=e.i(41645),p="u"<typeof Element;p||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,p||Element.prototype.getRootNode;let h={...t},v=h.useInsertionEffect||(e=>e());function y(e){let n=t.useRef(()=>{});return v(()=>{n.current=e}),t.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)},[])}var w="u">typeof document?t.useLayoutEffect:t.useEffect;let x=!1,b=0,R=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+b++,E=h.useId||function(){let[e,n]=t.useState(()=>x?R():void 0);return w(()=>{null==e&&n(R())},[]),t.useEffect(()=>{x=!0},[]),e},C=t.createContext(null),T=t.createContext(null),A="active",S="selected";function M(e,t,n){let r=new Map,i="item"===n,l=e;if(i&&e){let{[A]:t,[S]:n,...r}=e;l=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...l,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>
1(t&&Object.entries(t).forEach(t=>{let[n,l]=t;if(!(i&&[A,S].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof l){var o;null==(o=r.get(n))||o.push(l),e[n]=function(){for(var e,t=arguments.length,i=Array(t),l=0;l<t;l++)i[l]=arguments[l];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)}}}else e[n]=l}),e),{})}}function P(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var O=e.i(29997),L=e.i(674),F=e.i(42231);let H=(0,t.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});H.displayName="FloatingContext";let k=(0,t.createContext)(null);function D(e,n,i){let l=(0,O.useDisposables)(),o=(0,L.useEvent)((e,t)=>{if(null==e)return[i,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[i,null];let n=N(e,t);return[n,r=>{let i=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[r,...e(i)]:[r]}return[]}(e);{let o=i.map(e=>window.getComputedStyle(t).getPropertyValue(e));l.requestAnimationFrame(function u(){l.nextFrame(u);let a=!1;for(let[e,n]of i.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(o[e]!==r){o[e]=r,a=!0;break}}if(!a)return;let f=N(e,t);n!==f&&(r(f),n=f)})}return l.dispose}]}return[i,null]}),u=(0,t.useMemo)(()=>o(e,n)[0],[e,n]),[a=u,f]=(0,t.useState)();return(0,r.useIsoMorphicEffect)(()=>{let[t,r]=o(e,n);if(f(t),r)return r(f)},[e,n]),a}function N(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}k.displayName="PlacementContext",e.s(["FloatingProvider",0,function({children:e,enabled:n=!0}){var i,p,h,v,x,b,R,A,S,O;let N,B,W,I,$,V,j,z,q,_,K,U,Y,[J,X]=(0,t.useState)(null),[G,Q]=(0,t.useState)(0),Z=(0,t.useRef)(null),[ee,et]=(0,t.useState)(null);x=ee,(0,r.useIsoMorphicEffect)(()=>{if(!x)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(x).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(x.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(x,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[x]);let en=n&&null!==J&&null!==ee,{to:er="bottom",gap:ei=0,offset:el=0,padding:eo=0,inner:eu}=(b=J,R=ee,N=D(null!=(A=null==b?void 0:b.gap)?A:"var(--anchor-gap, 0)",R),B=D(null!=(S=null==b?void 0:b.offset)?S:"var(--anchor-offset, 0)",R),W=D(null!=(O=null==b?void 0:b.padding)?O:"var(--anchor-padding, 0)",R),{...b,gap:N,offset:B,padding:W}),[ea,ef="center"]=er.split(" ");(0,r.useIsoMorphicEffect)(()=>{en&&Q(0)},[en]);let{refs:es,floatingStyles:ec,context:ed}=function(e){void 0===e&&(e={});let{nodeId:n}=e,r=function(e){var n;let{open:r=!1,onOpenChange:i,elements:l}=e,o=E(),u=t.useRef({}),[a]=t.useState(()=>{let e;return e=new Map,{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}),f=null!=((null==(n=t.useContext(C))?void 0:n.id)||null),[s,c]=t.useState(l.reference),d=y((e,t,n)=>{u.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:n,nested:f}),null==i||i(e,t,n)}),m=t.useMemo(()=>({setPositionReference:c}),[]),g=t.useMemo(()=>({reference:s||l.reference||null,floating:l.floating||null,domReference:l.reference}),[s,l.reference,l.floating]);return t.useMemo(()=>({dataRef:u,open:r,onOpenChange:d,elements:g,events:a,floatingId:o,refs:m}),[r,d,g,a,o,m])}({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||r,d=i.elements,[g,p]=t.useState(null),[h,v]=t.useState(null),x=(null==d?void 0:d.domReference)||g,b=t.useRef(null),R=t.useContext(T);w(()=>{x&&(b.current=x)},[x]);let A=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:d,elements:{reference:m,floating:g}={},transform:p=!0,whileElementsMounted:h,open:v}=e,[y,w]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[x,b]=t.useState(i);a(x,i)||b(i);let[R,E]=t.useState(null),[C,T]=t.useState(null),A=t.useCallback(e=>
1{e!==O.current&&(O.current=e,E(e))},[]),S=t.useCallback(e=>{e!==L.current&&(L.current=e,T(e))},[]),M=m||R,P=g||C,O=t.useRef(null),L=t.useRef(null),F=t.useRef(y),H=null!=h,k=c(h),D=c(d),N=c(v),B=t.useCallback(()=>{if(!O.current||!L.current)return;let e={placement:n,strategy:r,middleware:x};D.current&&(e.platform=D.current),(0,l.computePosition)(O.current,L.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};W.current&&!a(F.current,t)&&(F.current=t,o.flushSync(()=>{w(t)}))})},[x,n,r,D,N]);u(()=>{!1===v&&F.current.isPositioned&&(F.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[v]);let W=t.useRef(!1);u(()=>(W.current=!0,()=>{W.current=!1}),[]),u(()=>{if(M&&(O.current=M),P&&(L.current=P),M&&P){if(k.current)return k.current(M,P,B);B()}},[M,P,B,k,H]);let I=t.useMemo(()=>({reference:O,floating:L,setReference:A,setFloating:S}),[A,S]),$=t.useMemo(()=>({reference:M,floating:P}),[M,P]),V=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!$.floating)return e;let t=s($.floating,y.x),n=s($.floating,y.y);return p?{...e,transform:"translate("+t+"px, "+n+"px)",...f($.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,p,$.floating,y.x,y.y]);return t.useMemo(()=>({...y,update:B,refs:I,elements:$,floatingStyles:V}),[y,B,I,$,V])}({...e,elements:{...d,...h&&{reference:h}}}),S=t.useCallback(e=>{let t=(0,m.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;v(t),A.refs.setReference(t)},[A.refs]),M=t.useCallback(e=>{((0,m.isElement)(e)||null===e)&&(b.current=e,p(e)),((0,m.isElement)(A.refs.reference.current)||null===A.refs.reference.current||null!==e&&!(0,m.isElement)(e))&&A.refs.setReference(e)},[A.refs]),P=t.useMemo(()=>({...A.refs,setReference:M,setPositionReference:S,domReference:b}),[A.refs,M,S]),O=t.useMemo(()=>({...A.elements,domReference:x}),[A.elements,x]),L=t.useMemo(()=>({...A,...i,refs:P,elements:O,nodeId:n}),[A,P,O,n,i]);return w(()=>{i.dataRef.current.floatingContext=L;let e=null==R?void 0:R.nodesRef.current.find(e=>e.id===n);e&&(e.context=L)}),t.useMemo(()=>({...A,context:L,refs:P,elements:O}),[A,P,O,L])}({open:en,placement:"selection"===ea?"center"===ef?"bottom":`bottom-${ef}`:"center"===ef?`${ea}`:`${ea}-${ef}`,strategy:"absolute",transform:!1,middleware:[d({mainAxis:"selection"===ea?0:ei,crossAxis:el}),(i={padding:eo},{name:(I=(0,l.shift)(i)).name,fn:I.fn,options:[i,void 0]}),"selection"!==ea&&(p={padding:eo},{name:($=(0,l.flip)(p)).name,fn:$.fn,options:[p,void 0]}),"selection"===ea&&eu?{name:"inner",options:V={...eu,padding:eo,overflowRef:Z,offset:G,minItemsVisible:4,referenceOverflowThreshold:eo,onFallbackChange(e){var t,n;if(!e)return;let r=ed.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,l=Math.min(4,r.childElementCount),o=0,u=0;for(let e of null!=(n=null==(t=ed.elements.floating)?void 0:t.childNodes)?n:[])if(F.isHTMLElement(e)){let t=e.offsetTop,n=t+e.clientHeight+i,a=r.scrollTop,f=a+r.clientHeight;if(t>=a&&n<=f)l--;else{u=Math.max(0,Math.min(n,f)-Math.max(t,a)),o=e.clientHeight;break}}l>=1&&Q(e=>{let t=o*l-u+i;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:n,onFallbackChange:r,offset:i=0,index:u=0,minItemsVisible:a=4,referenceOverflowThreshold:f=0,scrollRef:s,...c}=(0,g.evaluate)(V,e),{rects:m,elements:{floating:p}}=e,h=t.current[u],v=(null==s?void 0:s.current)||p,y=p.clientTop||v.clientTop,w=0!==p.clientTop,x=0!==v.clientTop,b=p===v;if(!h)return{};let R={...e,...await d(-h.offsetTop-p.clientTop-m.reference.height/2-h.offsetHeight/2-i).fn(e)},E=await (0,l.detectOverflow)(P(R,v.scrollHeight+y+p.clientTop),c),C=await (0,l.detectOverflow)(R,{...c,elementContext:"reference"}),T=(0,g.max)(0,E.top),A=R.y+T,S=(v.scrollHeight>v.clientHeight?e=>e:g.round)((0,g.max)(0,v.scrollHeight+(w&&b||x?2*y:0)-T-(0,g.max)(0,E.bottom)));if(v.style.maxHeight=S+"px",v.scrollTop=T,r){let e=v.offsetHeight<h.offsetHeight*(0,g.min)(a,t.current.length)-1||C.top>=-f||C.bottom>=-f;o.flushSync(()=>r(e))}return n&&(n.current=await (0,l.detectOverflow)(P({...R,y:A},v.offsetHeight+y+p.clientTop),c)),{y:A}}}:null,(h={padding:eo,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}},{name:(j=(0,l.size)(h)).name,fn:j.fn,options:[h,void 0]}
1)].filter(Boolean),whileElementsMounted:l.autoUpdate}),[em=ea,eg=ef]=ed.placement.split("-");"selection"===ea&&(em="selection");let ep=(0,t.useMemo)(()=>({anchor:[em,eg].filter(Boolean).join(" ")}),[em,eg]),{getReferenceProps:eh,getFloatingProps:ev}=(z=(v=[function(e,n){let{open:r,elements:i}=e,{enabled:l=!0,overflowRef:u,scrollRef:a,onChange:f}=n,s=y(f),c=t.useRef(!1),d=t.useRef(null),m=t.useRef(null);t.useEffect(()=>{if(!l)return;function e(e){if(e.ctrlKey||!t||null==u.current)return;let n=e.deltaY,r=u.current.top>=-.5,i=u.current.bottom>=-.5,l=t.scrollHeight-t.clientHeight,a=n<0?-1:1,f=n<0?"max":"min";if(!(t.scrollHeight<=t.clientHeight))if(!r&&n>0||!i&&n<0)e.preventDefault(),o.flushSync(()=>{s(e=>e+Math[f](n,l*a))});else{let e;/firefox/i.test((e=navigator.userAgentData)&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent)&&(t.scrollTop+=n)}}let t=(null==a?void 0:a.current)||i.floating;if(r&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{d.current=t.scrollTop,null!=u.current&&(m.current={...u.current})}),()=>{d.current=null,m.current=null,t.removeEventListener("wheel",e)}},[l,r,i.floating,u,a,s]);let g=t.useMemo(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){let e=(null==a?void 0:a.current)||i.floating;if(u.current&&e&&c.current){if(null!==d.current){let t=e.scrollTop-d.current;(u.current.bottom<-.5&&t<-1||u.current.top<-.5&&t>1)&&o.flushSync(()=>s(e=>e+t))}requestAnimationFrame(()=>{d.current=e.scrollTop})}}}),[i.floating,s,u,a]);return t.useMemo(()=>l?{floating:g}:{},[l,g])}(ed,{overflowRef:Z,onChange:Q})]).map(e=>null==e?void 0:e.reference),q=v.map(e=>null==e?void 0:e.floating),_=v.map(e=>null==e?void 0:e.item),K=t.useCallback(e=>M(e,v,"reference"),z),U=t.useCallback(e=>M(e,v,"floating"),q),Y=t.useCallback(e=>M(e,v,"item"),_),t.useMemo(()=>({getReferenceProps:K,getFloatingProps:U,getItemProps:Y}),[K,U,Y])),ey=(0,L.useEvent)(e=>{et(e),es.setFloating(e)});return t.createElement(k.Provider,{value:X},t.createElement(H.Provider,{value:{setFloating:ey,setReference:es.setReference,styles:ec,getReferenceProps:eh,getFloatingProps:ev,slot:ep}},e))},"useFloatingPanel",0,function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let n=(0,t.useContext)(k),i=(0,t.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,r.useIsoMorphicEffect)(()=>{null==n||n(null!=i?i:null)},[n,i]);let l=(0,t.useContext)(H);return(0,t.useMemo)(()=>[l.setFloating,e?l.styles:{}],[l.setFloating,e,l.styles])},"useFloatingPanelProps",0,function(){let{getFloatingProps:e,slot:n}=(0,t.useContext)(H);return(0,t.useCallback)((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])},"useFloatingReference",0,function(){return(0,t.useContext)(H).setReference},"useFloatingReferenceProps",0,function(){return(0,t.useContext)(H).getReferenceProps},"useResolvedAnchor",0,function(e){return(0,t.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}],27638)},97271,e=>{"use strict";var t=e.i(40075);e.s(["useResolveButtonType",0,function(e,n){return(0,t.useMemo)(()=>{var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==n?void 0:n.tagName)==="BUTTON"&&!n.hasAttribute("type"))return"button"},[e.type,e.as,n])}])},49406,e=>{"use strict";var t=e.i(42231);e.s(["isDisabledReactIssue7711",0,function(e){let n=e.parentElement,r=null;for(;n&&!t.isHTMLFieldSetElement(n);)t.isHTMLLegendElement(n)&&(r=n),n=n.parentElement;let i=(null==n?void 0:n.getAttribute("disabled"))==="";return!(i&&function(e){if(!e)return!1;let n=e.previousElementSibling;for(;null!==n;){if(t.isHTMLLegendElement(n))return!1;n=n.previousElementSibling}return!0}(r))&&i}])}]);

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.