PageSourceSearch

https://phyx.tv/_next/static/chunks/0b2h7lq.0qja1.js

js phyx.tv collected 2026-10-02 00:24:24 UTC 51,503 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,763256,e=>{"use strict";var t=e.i(271645);let n=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});e.s(["CompositeListContext",0,n,"useCompositeListContext",0,function(){return t.useContext(n)}])},263165,e=>{"use strict";var t,n=e.i(271645),r=e.i(500977),i=e.i(763256);let o=((t={})[t.None=0]="None",t[t.GuessFromOrder=1]="GuessFromOrder",t);e.s(["IndexGuessBehavior",0,o,"useCompositeListItem",0,function(e={}){let{label:t,metadata:l,textRef:u,indexGuessBehavior:s,index:a}=e,{register:c,unregister:f,subscribeMapChange:d,elementsRef:g,labelsRef:m,nextIndexRef:h}=(0,i.useCompositeListContext)(),p=n.useRef(-1),[y,x]=n.useState(a??(s===o.GuessFromOrder?()=>{if(-1===p.current){let e=h.current;h.current+=1,p.current=e}return p.current}:-1)),v=n.useRef(null),w=n.useCallback(e=>{if(v.current=e,-1!==y&&null!==e&&(g.current[y]=e,m)){let n=void 0!==t;m.current[y]=n?t:u?.current?.textContent??e.textContent}},[y,g,m,t,u]);return(0,r.useIsoLayoutEffect)(()=>{if(null!=a)return;let e=v.current;if(e)return c(e,l),()=>{f(e)}},[a,c,f,l]),(0,r.useIsoLayoutEffect)(()=>{if(null==a)return d(e=>{let t=v.current?e.get(v.current)?.index:null;null!=t&&x(t)})},[a,d,x]),n.useMemo(()=>({ref:w,index:y}),[y,w])}])},560752,e=>{"use strict";var t=e.i(367805),n=e.i(271645);let r=n.createContext(void 0);e.s(["useToolbarRootContext",0,function(e){let i=n.useContext(r);if(void 0===i&&!e)throw Error((0,t.default)(69));return i}])},418847,e=>{"use strict";var t=e.i(607335),n=e.i(417514);e.s(["getDisabledMountTransitionStyles",0,function(e){return"starting"===e?t.DISABLED_TRANSITIONS_STYLE:n.EMPTY_OBJECT}])},343084,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,u={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function f(e){return"y"===e?"height":"width"}function d(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return c(d(e))}function m(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let h=["left","right"],p=["right","left"],y=["top","bottom"],x=["bottom","top"];function v(e){let t=s(e);return u[t]+e.slice(t.length)}e.s(["clamp",0,function(e,t,n){return i(e,r(t,n))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,l,"getAlignment",0,a,"getAlignmentAxis",0,g,"getAlignmentSides",0,function(e,t,n){void 0===n&&(n=!1);let r=a(e),i=g(e),o=f(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=v(l)),[l,v(l)]},"getAxisLength",0,f,"getExpandedPlacements",0,function(e){let t=v(e);return[m(e),t,m(t)]},"getOppositeAlignmentPlacement",0,m,"getOppositeAxis",0,c,"getOppositeAxisPlacements",0,function(e,t,n,r){let i=a(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?p:h;return t?h:p;case"left":case"right":return t?y:x;default:return[]}}(s(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(m)))),o},"getOppositePlacement",0,v,"getPaddingObject",0,function(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}},"getSide",0,s,"getSideAxis",0,d,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,function(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}},"round",0,o,"sides",0,t])},953760,258950,e=>{"use strict";var t=e.i(343084);function n(e,n,r){let i,{reference:o,floating:l}=e,u=(0,t.getSideAxis)(n),s=(0,t.getAlignmentAxis)(n),a=(0,t.getAxisLength)(s),c=(0,t.getSide)(n),f="y"===u,d=o.x+o.width/2-l.width/2,g=o.y+o.height/2-l.height/2,m=o[a]/2-l[a]/2;switch(c){case"top":i={x:d,y:o.y-l.height};break;case"bottom":i={x:d,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:g};break;case"left":i={x:o.x-l.width,y:g};break;default:i={x:o.x,y:o.y}}switch((0,t.getAlignment)(n)){case"start":i[s]-=m*(r&&f?-1:1);break;case"end":i[s]+=m*(r&&f?-1:1)}return i}async function r(e,n){var r;void 0===n&&(n={});let{x:i,y:o,platform:l,rects:u,elements:s,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:g=!1,padding:m=0}
1=(0,t.evaluate)(n,e),h=(0,t.getPaddingObject)(m),p=s[g?"floating"===d?"reference":"floating":d],y=(0,t.rectToClientRect)(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(p)))||r?p:p.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:a})),x="floating"===d?{x:i,y:o,width:u.floating.width,height:u.floating.height}:u.reference,v=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s.floating)),w=await (null==l.isElement?void 0:l.isElement(v))&&await (null==l.getScale?void 0:l.getScale(v))||{x:1,y:1},R=(0,t.rectToClientRect)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:v,strategy:a}):x);return{top:(y.top-R.top+h.top)/w.y,bottom:(R.bottom-y.bottom+h.bottom)/w.y,left:(y.left-R.left+h.left)/w.x,right:(R.right-y.right+h.right)/w.x}}let i=async(e,t,i)=>{let{placement:o="bottom",strategy:l="absolute",middleware:u=[],platform:s}=i,a=s.detectOverflow?s:{...s,detectOverflow:r},c=await (null==s.isRTL?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:g}=n(f,o,c),m=o,h=0,p={};for(let r=0;r<u.length;r++){let i=u[r];if(!i)continue;let{name:y,fn:x}=i,{x:v,y:w,data:R,reset:E}=await x({x:d,y:g,initialPlacement:o,placement:m,strategy:l,middlewareData:p,rects:f,platform:a,elements:{reference:e,floating:t}});d=null!=v?v:d,g=null!=w?w:g,p[y]={...p[y],...R},E&&h<50&&(h++,"object"==typeof E&&(E.placement&&(m=E.placement),E.rects&&(f=!0===E.rects?await s.getElementRects({reference:e,floating:t,strategy:l}):E.rects),{x:d,y:g}=n(f,m,c)),r=-1)}return{x:d,y:g,placement:m,strategy:l,middlewareData:p}};function o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return t.sides.some(t=>e[t]>=0)}function u(e){let n=(0,t.min)(...e.map(e=>e.left)),r=(0,t.min)(...e.map(e=>e.top));return{x:n,y:r,width:(0,t.max)(...e.map(e=>e.right))-n,height:(0,t.max)(...e.map(e=>e.bottom))-r}}let s=new Set(["left","top"]);async function a(e,n){let{placement:r,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),u=(0,t.getSide)(r),a=(0,t.getAlignment)(r),c="y"===(0,t.getSideAxis)(r),f=s.has(u)?-1:1,d=l&&c?-1:1,g=(0,t.evaluate)(n,e),{mainAxis:m,crossAxis:h,alignmentAxis:p}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return a&&"number"==typeof p&&(h="end"===a?-1*p:p),c?{x:h*d,y:m*f}:{x:m*f,y:h*d}}var c=e.i(229315);function f(e){let n=(0,c.getComputedStyle)(e),r=parseFloat(n.width)||0,i=parseFloat(n.height)||0,o=(0,c.isHTMLElement)(e),l=o?e.offsetWidth:r,u=o?e.offsetHeight:i,s=(0,t.round)(r)!==l||(0,t.round)(i)!==u;return s&&(r=l,i=u),{width:r,height:i,$:s}}function d(e){return(0,c.isElement)(e)?e:e.contextElement}function g(e){let n=d(e);if(!(0,c.isHTMLElement)(n))return(0,t.createCoords)(1);let r=n.getBoundingClientRect(),{width:i,height:o,$:l}=f(n),u=(l?(0,t.round)(r.width):r.width)/i,s=(l?(0,t.round)(r.height):r.height)/o;return u&&Number.isFinite(u)||(u=1),s&&Number.isFinite(s)||(s=1),{x:u,y:s}}let m=(0,t.createCoords)(0);function h(e){let t=(0,c.getWindow)(e);return(0,c.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:m}function p(e,n,r,i){var o;void 0===n&&(n=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),u=d(e),s=(0,t.createCoords)(1);n&&(i?(0,c.isElement)(i)&&(s=g(i)):s=g(e));let a=(void 0===(o=r)&&(o=!1),i&&(!o||i===(0,c.getWindow)(u))&&o)?h(u):(0,t.createCoords)(0),f=(l.left+a.x)/s.x,m=(l.top+a.y)/s.y,p=l.width/s.x,y=l.height/s.y;if(u){let e=(0,c.getWindow)(u),t=i&&(0,c.isElement)(i)?(0,c.getWindow)(i):i,n=e,r=(0,c.getFrameElement)(n);for(;r&&i&&t!==n;){let e=g(r),t=r.getBoundingClientRect(),i=(0,c.getComputedStyle)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;f*=e.x,m*=e.y,p*=e.x,y*=e.y,f+=o,m+=l,n=(0,c.getWindow)(r),r=(0,c.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:p,height:y,x:f,y:m})}function y(e,t){let n=(0,c.getNodeScroll)(e).scrollLeft;return t?t.left+n:p((0,c.getDocumentElement)(e)).left+n}function x(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-y(e,n),y:n.top+t.scrollTop}}function v(e,n,r){var i;let o;if("viewport"===n)o=function(e,t){let n=(0,c.getWindow)(e),r=(0,c.getDocumentElement)(e),i=n.visualVie
1wport,o=r.clientWidth,l=r.clientHeight,u=0,s=0;if(i){o=i.width,l=i.height;let e=(0,c.isWebKit)();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,s=i.offsetTop)}let a=y(r);if(a<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else a<=25&&(o+=a);return{width:o,height:l,x:u,y:s}}(e,r);else if("document"===n){let n,r,l,u,s,a,f;i=(0,c.getDocumentElement)(e),n=(0,c.getDocumentElement)(i),r=(0,c.getNodeScroll)(i),l=i.ownerDocument.body,u=(0,t.max)(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),s=(0,t.max)(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight),a=-r.scrollLeft+y(i),f=-r.scrollTop,"rtl"===(0,c.getComputedStyle)(l).direction&&(a+=(0,t.max)(n.clientWidth,l.clientWidth)-u),o={width:u,height:s,x:a,y:f}}else if((0,c.isElement)(n)){let e,i,l,u,s,a;i=(e=p(n,!0,"fixed"===r)).top+n.clientTop,l=e.left+n.clientLeft,u=(0,c.isHTMLElement)(n)?g(n):(0,t.createCoords)(1),s=n.clientWidth*u.x,a=n.clientHeight*u.y,o={width:s,height:a,x:l*u.x,y:i*u.y}}else{let t=h(e);o={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(o)}function w(e){return"static"===(0,c.getComputedStyle)(e).position}function R(e,t){if(!(0,c.isHTMLElement)(e)||"fixed"===(0,c.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function E(e,t){let n=(0,c.getWindow)(e);if((0,c.isTopLayer)(e))return n;if(!(0,c.isHTMLElement)(e)){let t=(0,c.getParentNode)(e);for(;t&&!(0,c.isLastTraversableNode)(t);){if((0,c.isElement)(t)&&!w(t))return t;t=(0,c.getParentNode)(t)}return n}let r=R(e,t);for(;r&&(0,c.isTableElement)(r)&&w(r);)r=R(r,t);return r&&(0,c.isLastTraversableNode)(r)&&w(r)&&!(0,c.isContainingBlock)(r)?n:r||(0,c.getContainingBlock)(e)||n}let b=async function(e){let n=this.getOffsetParent||E,r=this.getDimensions,i=await r(e.floating);return{reference:function(e,n,r){let i=(0,c.isHTMLElement)(n),o=(0,c.getDocumentElement)(n),l="fixed"===r,u=p(e,!0,l,n),s={scrollLeft:0,scrollTop:0},a=(0,t.createCoords)(0);if(i||!i&&!l)if(("body"!==(0,c.getNodeName)(n)||(0,c.isOverflowElement)(o))&&(s=(0,c.getNodeScroll)(n)),i){let e=p(n,!0,l,n);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}else o&&(a.x=y(o));l&&!i&&o&&(a.x=y(o));let f=!o||i||l?(0,t.createCoords)(0):x(o,s);return{x:u.left+s.scrollLeft-a.x-f.x,y:u.top+s.scrollTop-a.y-f.y,width:u.width,height:u.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},A={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:r,offsetParent:i,strategy:o}=e,l="fixed"===o,u=(0,c.getDocumentElement)(i),s=!!n&&(0,c.isTopLayer)(n.floating);if(i===u||s&&l)return r;let a={scrollLeft:0,scrollTop:0},f=(0,t.createCoords)(1),d=(0,t.createCoords)(0),m=(0,c.isHTMLElement)(i);if((m||!m&&!l)&&(("body"!==(0,c.getNodeName)(i)||(0,c.isOverflowElement)(u))&&(a=(0,c.getNodeScroll)(i)),m)){let e=p(i);f=g(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let h=!u||m||l?(0,t.createCoords)(0):x(u,a);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-a.scrollLeft*f.x+d.x+h.x,y:r.y*f.y-a.scrollTop*f.y+d.y+h.y}},getDocumentElement:c.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:r,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===r?(0,c.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,c.getOverflowAncestors)(e,[],!1).filter(e=>(0,c.isElement)(e)&&"body"!==(0,c.getNodeName)(e)),i=null,o="fixed"===(0,c.getComputedStyle)(e).position,l=o?(0,c.getParentNode)(e):e;for(;(0,c.isElement)(l)&&!(0,c.isLastTraversableNode)(l);){let t=(0,c.getComputedStyle)(l),n=(0,c.isContainingBlock)(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,c.isOverflowElement)(l)&&!n&&function e(t,n){let r=(0,c.getParentNode)(t);return!(r===n||!(0,c.isElement)(r)||(0,c.isLastTraversableNode)(r))&&("fixed"===(0,c.getComputedStyle)(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=(0,c.getParentNode)(l)}return t.set(e,r),r}(n,this._c):[].concat(r),i],u=v(n,l[0],o),s=u.top,a=u.right,f=u.bottom,d=u.left;for(let e=1;e<l.length;e++){let r=v(n,l[e],o);s=(0,t.max)(r.top,s),a=(0,t.min)(r.right,a),f=(0,t.min)(r.bottom,f),d=(0,t.max)(r.left,d)}return{width:a-d,height:f-s,x:d,y:s}},getOffsetParent:E,getElementRects:b,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=f(e);return{width:t,height:n}},getScale:g,isElement:c.isElement,isRTL:function(e){return"rtl"===(0,c.getComputedStyle)(e).direction}};function S(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let C=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=t,s=await a(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(n){let{x:r,y:i,placement:o,platform:l}=n,{mainAxis:u=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,t.evaluate)(e,n),f={x:r,y:i},d=await l.detectOverflow(n,c),g=(0,t.getSideAxis)((0,t.getSide)(o)),m=(0,t.getOppositeAxis)(g),h=f[m],p=f[g];if(u){let e="y"===m?"top":"left",n="y"===m?"bottom":"right",r=h+d[e],i=h-d[n];h=(0,t.clamp)(r,h,i)}if(s){let e="y"===g?"top":"left",n="y"===g?"bottom":"right",r=p+d[e],i=p-d[n];p=(0,t.clamp)(r,p,i)}let y=a.fn({...n,[m]:h,[g]:p});return{...y,data:{x:y.x-r,y:y.y-i,enabled:{[m]:u,[g]:s}}}}}},T=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var r,i,o,l,u;let{placement:s,middlewareData:a,rects:c,initialPlacement:f,platform:d,elements:g}=n,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...w}=(0,t.evaluate)(e,n);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};let R=(0,t.getSide)(s),E=(0,t.getSideAxis)(f),b=(0,t.getSide)(f)===f,A=await (null==d.isRTL?void 0:d.isRTL(g.floating)),S=p||
1(b||!v?[(0,t.getOppositePlacement)(f)]:(0,t.getExpandedPlacements)(f)),C="none"!==x;!p&&C&&S.push(...(0,t.getOppositeAxisPlacements)(f,v,x,A));let O=[f,...S],T=await d.detectOverflow(n,w),L=[],I=(null==(i=a.flip)?void 0:i.overflows)||[];if(m&&L.push(T[R]),h){let e=(0,t.getAlignmentSides)(s,c,A);L.push(T[e[0]],T[e[1]])}if(I=[...I,{placement:s,overflows:L}],!L.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,n=O[e];if(n&&("alignment"!==h||E===(0,t.getSideAxis)(n)||I.every(e=>(0,t.getSideAxis)(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:n}};let r=null==(l=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!r)switch(y){case"bestFit":{let e=null==(u=I.filter(e=>{if(C){let n=(0,t.getSideAxis)(e.placement);return n===E||"y"===n}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:u[0];e&&(r=e);break}case"initialPlacement":r=f}if(s!==r)return{reset:{placement:r}}}return{}}}},L=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(n){var r,i;let o,l,{placement:u,rects:s,platform:a,elements:c}=n,{apply:f=()=>{},...d}=(0,t.evaluate)(e,n),g=await a.detectOverflow(n,d),m=(0,t.getSide)(u),h=(0,t.getAlignment)(u),p="y"===(0,t.getSideAxis)(u),{width:y,height:x}=s.floating;"top"===m||"bottom"===m?(o=m,l=h===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(l=m,o="end"===h?"top":"bottom");let v=x-g.top-g.bottom,w=y-g.left-g.right,R=(0,t.min)(x-g[o],v),E=(0,t.min)(y-g[l],w),b=!n.middlewareData.shift,A=R,S=E;if(null!=(r=n.middlewareData.shift)&&r.enabled.x&&(S=w),null!=(i=n.middlewareData.shift)&&i.enabled.y&&(A=v),b&&!h){let e=(0,t.max)(g.left,0),n=(0,t.max)(g.right,0),r=(0,t.max)(g.top,0),i=(0,t.max)(g.bottom,0);p?S=y-2*(0!==e||0!==n?e+n:(0,t.max)(g.left,g.right)):A=x-2*(0!==r||0!==i?r+i:(0,t.max)(g.top,g.bottom))}await f({...n,availableWidth:S,availableHeight:A});let C=await a.getDimensions(c.floating);return y!==C.width||x!==C.height?{reset:{rects:!0}}:{}}}},I=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(n){let{rects:r,platform:i}=n,{strategy:u="referenceHidden",...s}=(0,t.evaluate)(e,n);switch(u){case"referenceHidden":{let e=o(await i.detectOverflow(n,{...s,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=o(await i.detectOverflow(n,{...s,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},P=function(e){return void 0===e&&(e={}),{options:e,fn(n){let{x:r,y:i,placement:o,rects:l,middlewareData:u}=n,{offset:a=0,mainAxis:c=!0,crossAxis:f=!0}=(0,t.evaluate)(e,n),d={x:r,y:i},g=(0,t.getSideAxis)(o),m=(0,t.getOppositeAxis)(g),h=d[m],p=d[g],y=(0,t.evaluate)(a,n),x="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){let e="y"===m?"height":"width",t=l.reference[m]-l.floating[e]+x.mainAxis,n=l.reference[m]+l.reference[e]-x.mainAxis;h<t?h=t:h>n&&(h=n)}if(f){var v,w;let e="y"===m?"width":"height",n=s.has((0,t.getSide)(o)),r=l.reference[g]-l.floating[e]+(n&&(null==(v=u.offset)?void 0:v[g])||0)+(n?0:x.crossAxis),i=l.reference[g]+l.reference[e]+(n?0:(null==(w=u.offset)?void 0:w[g])||0)-(n?x.crossAxis:0);p<r?p=r:p>i&&(p=i)}return{[m]:h,[g]:p}}}},M=(e,t,n)=>{let r=new Map,o={platform:A,...n},l={...o.platform,_c:r};return i(e,t,{...o,platform:l})};e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(n){let{x:r,y:i,placement:o,rects:l,platform:u,elements:s,middlewareData:a}=n,{element:c,padding:f=0}=(0,t.evaluate)(e,n)||{};if(null==c)return{};let d=(0,t.getPaddingObject)(f),g={x:r,y:i},m=(0,t.getAlignmentAxis)(o),h=(0,t.getAxisLength)(m),p=await u.getDimensions(c),y="y"===m,x=y?"clientHeight":"clientWidth",v=l.reference[h]+l.reference[m]-g[m]-l.floating[h],w=g[m]-l.reference[m],R=await (null==u.getOffsetParent?void 0:u.getOffsetParent(c)),E=R?R[x]:0;E&&await (null==u.isElement?void 0:u.isElement(R))||(E=s.floating[x]||l.floating[h]);let b=E/2-p[h]/2-1,A=(0,t.min)(d[y?"top":"left"],b),S=(0,t.min)(d[y?"bottom":"right"],b),C=E-p[h]-S,O=E/2-p[h]/2+(v/2-w/2),T=(0,t.clamp)(A,O,C),L=!a.arrow&&null!=(0,t.getAlignment)(o)&&O!==T&&l.reference[h]/2-(O<A?A:S)-p[h]/2<0,I=L?O<A?O-A:O-C:0;return{[m]:g[m]+I,data:{[m]:T,centerOffset:O-T-I,...L&&{alignmentOffset:I}},reset:L}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(n){var r,i,o,l;let{rects:u,middlewareData:s,placement:a,platform:c,elements:f}=n,{crossAxis:d=!1,alignment:g,allowedPlacements:m=t.placements,autoAlignment:h=!0,...p}=(0,t.evaluate)(e,n),y=void 0!==g||m===t.placements?((l=g||null)?[...m.filter(e=>(0,t.getAlignment)(e)===l),...m.filter(e=>(0,t.getAlignment)(e)!==l)]:m.filter(e=>(0,t.getSide)(e)===e)).filter(e=>!l||(0,t.getAlignment)(e)===l||!!h&&(0,t.getOppositeAlignmentPlacement)(e)!==e):m,x=await c.detectOverflow(n,p),v=(null==(r=s.autoPlacement)?void 0:r.index)||0,w=y[v];if(null==w)return{};let R=(0,t.getAlignmentSides)(w,u,await (null==c.isRTL?void 0:c.isRTL(f.floating)));if(a!==w)return{reset:{placement:y[0]}};let E=[x[(0,t.getSide)(w)],x[R[0]],x[R[1]]],b=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:w,overflows:E}],A=y[v+1];if(A)return{data:{index:v+1,overflows:b},reset:{placement:A}};let S=b.map(e=>{let n=(0,t.getAlignment)(e.placement);return[e.placement,n&&d?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),C=(null==(o=S.filter(e=>e[2].slice(0,(0,t.getAlignment)(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||S[0][0];return C!==a?{data:{index:v+1,overflows:b},reset:{placement:C}}:{}}}},"autoUpdate",0,function(e,n,r,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,g=d(e),m=l||u?[...g?(0,c.getOverflowAncestors)(g):[],...n?(0,c.getOverflowAncestors)(n):[]]:[];m.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let h=g&&a?function(e,n){let r,i=null,o=(0,c.getDocumentElement)(e);function l(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return!function u(s,a){void 0===s&&(s=!1),void 0===a&&(a=1),l();let c=e.getBoundingClientRect(),{left:f,top:d,width:g,height:m}=c;if(s||n(),!g||!m)return;let h={rootMargin:-(0,t.floor)(d)+"px "+-(0,t.floor)(o.clientWidth-(f+g))+"px "+-(0,t.floor)(o.clientHeight-(d+m))+"px "+-(0,t.floor)(f)+"px",threshold:(0,t.max)(0,(0,t.min)(1,a))||1},p=!0;function y(t){let n=t[0].intersectionRatio;if(n!==a){if(!p)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||S(c,e.getBoundingClientRect())||u(),p=!1}try{i=new IntersectionObserver(y,{...h,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(y,h)}i.observe(e)}(!0),l}(g,r):null,y=-1,x=null;s&&(x=new ResizeObserver(e=>{let[t]=e;t&&t.target===g&&x&&n&&(x.unobserve(n),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=x)||e.observe(n)})),r()}),g&&!f&&x.observe(g),n&&x.observe(n));let v=f?p(e):null;return f&&function t(){let n=p(e);v&&!S(v,n)&&r(),v=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=x)||e.disconnect(),x=null,f&&cancelAnimationFrame(o)}},"computePosition",0,M,"flip",0,T,"hide",0,I,"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(n){let{placement:r,elements:i,rects:o,platform:l,strategy:s}=n,{padding:a=2,x:c,y:f}=(0,t.evaluate)(e,n),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]),g=function(e){let n=e.slice().sort((e,t)=>e.y-t.y),r=[],i=null;for(let e=0;e<n.length;e++){let t=n[e];!i||t.y-i.y>i.height/2?r.push([t]):r[r.length-1].push(t),i=t}return r.map(e=>(0,t.rectToClientRect)(u(e)))}(d),m=(0,t.rectToClientRect)(u(d)),h=(0,t.getPaddingObject)(a),p=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=c&&null!=f)return g.find(e=>c>e.left-h.left&&c<e.right+h.right&&f>e.top-h.top&&f<e.bottom+h.bottom)||m;if(g.length>=2){if("y"===(0,t.getSideAxis)(r)){let e=g[0],n=g[g.length-1],i="top"===(0,t.getSide)(r),o=e.top,l=n.bottom,u=i?e.left:n.left,s=i?e.right:n.right;return{top:o,bottom:l,left:u,right:s,width:s-u,height:l-o,x:u,y:o}}let e="left"===(0,t.getSide)(r),n=(0,t.max)(...g.map(e=>e.right)),i=(0,t.min)(...g.map(e=>e.left)),o=g.filter(t=>e?t.left===i:t.right===n),l=o[0].top,u=o[o.length-1].bottom;return{top:l,bottom:u,left:i,right:n,width:n-i,height:u-l,x:i,y:l}}return m}},floating:i.floating,strategy:s});return o.reference.x!==p.reference.x||o.reference.y!==p.reference.y||o.reference.width!==p.reference.width||o.reference.height!==p.reference.height?{reset:{rects:p}}:{}}}},"limitShift",0,P,"offset",0,C,"shift",0,O,"size",0,L],953760);var k=e.i(271645),N=e.i(174080),W="u">typeof document?k.useLayoutEffect:function(){};function D(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(!D(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)&&!D(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 _(e,t){let n=F(e);return Math.round(t*n)/n}function H(e){let t=k.useRef(e);return W(()=>{t.current=e}),t}e.s(["flip",0,(e,t)=>{let n=T(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,(e,t)=>{let n=I(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,(e,t)=>({fn:P(e).fn,options:[e,t]}),"offset",0,(e,t)=>{let n=C(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=O(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=L(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:u=!0,whileElementsMounted:s,open:a}=e,[c,f]=k.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,g]=k.useState(r);D(d,r)||g(r);let[m,h]=k.useState(null),[p,y]=k.useState(null),x=k.useCallback(e=>
1{e!==E.current&&(E.current=e,h(e))},[]),v=k.useCallback(e=>{e!==b.current&&(b.current=e,y(e))},[]),w=o||m,R=l||p,E=k.useRef(null),b=k.useRef(null),A=k.useRef(c),S=null!=s,C=H(s),O=H(i),T=H(a),L=k.useCallback(()=>{if(!E.current||!b.current)return;let e={placement:t,strategy:n,middleware:d};O.current&&(e.platform=O.current),M(E.current,b.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};I.current&&!D(A.current,t)&&(A.current=t,N.flushSync(()=>{f(t)}))})},[d,t,n,O,T]);W(()=>{!1===a&&A.current.isPositioned&&(A.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[a]);let I=k.useRef(!1);W(()=>(I.current=!0,()=>{I.current=!1}),[]),W(()=>{if(w&&(E.current=w),R&&(b.current=R),w&&R){if(C.current)return C.current(w,R,L);L()}},[w,R,L,C,S]);let P=k.useMemo(()=>({reference:E,floating:b,setReference:x,setFloating:v}),[x,v]),B=k.useMemo(()=>({reference:w,floating:R}),[w,R]),V=k.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=_(B.floating,c.x),r=_(B.floating,c.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...F(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,B.floating,c.x,c.y]);return k.useMemo(()=>({...c,update:L,refs:P,elements:B,floatingStyles:V}),[c,L,P,B,V])}],258950)},131292,e=>{"use strict";var t=e.i(229315),n=e.i(383799),r=e.i(630628),i=e.i(500977),o=e.i(151665),l=e.i(524019),u=e.i(769375);e.s(["useFloatingRootContext",0,function(e){let{open:s=!1,onOpenChange:a,elements:c={}}=e,f=(0,n.useId)(),d=null!=(0,o.useFloatingParentNodeId)(),g=(0,r.useRefWithInit)(()=>new l.FloatingRootStore({open:s,onOpenChange:a,referenceElement:c.reference??null,floatingElement:c.floating??null,triggerElements:new u.PopupTriggerMap,floatingId:f,nested:d,noEmit:!1})).current;return(0,i.useIsoLayoutEffect)(()=>{let e={open:s,floatingId:f};void 0!==c.reference&&(e.referenceElement=c.reference,e.domReferenceElement=(0,t.isElement)(c.reference)?c.reference:null),void 0!==c.floating&&(e.floatingElement=c.floating),g.update(e)},[s,f,c.reference,c.floating,g]),g.context.onOpenChange=a,g.context.nested=d,g.context.noEmit=!1,g}])},56590,579144,e=>{"use strict";var t=e.i(271645),n=e.i(343084),r=e.i(290219),i=e.i(500977),o=e.i(400231),l=e.i(676477),u=e.i(953760),s=e.i(258950),a=e.i(229315),c=e.i(151665),f=e.i(131292);e.i(247167);let d=t.createContext(void 0);function g(){let e=t.useContext(d);return e?.direction??"ltr"}e.s(["useDirection",0,g],579144);let m={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await (0,s.hide)().fn(e);return{data:{referenceHidden:o.data?.referenceHidden||0===t&&0===n&&0===r&&0===i}}}};e.i(333848);let h={sideX:"left",sideY:"top"};function p(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function y(e,t,r){let{rects:i,placement:o}=e;return{side:p(t,(0,n.getSide)(o),r),align:(0,n.getAlignment)(o)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function x(e){return null!=e&&"current"in e}e.s(["useAnchorPositioning",0,function(e){var d,v;let{anchor:w,positionMethod:R="absolute",side:E="bottom",sideOffset:b=0,align:A="center",alignOffset:S=0,collisionBoundary:C,collisionPadding:O=5,sticky:T=!1,arrowPadding:L=5,disableAnchorTracking:I=!1,keepMounted:P=!1,floatingRootContext:M,mounted:k,collisionAvoidance:N,shiftCrossAxis:W=!1,nodeId:D,adaptiveOrigin:F,lazyFlip:_=!1,externalTree:H}=e,[B,V]=t.useState(null);k||null===B||V(null);let $=N.side||"flip",z=N.align||"flip",G=N.fallbackAxisSide||"end",U="function"==typeof w?w:void 0,j=(0,l.useStableCallback)(U),K=U?j:w,q=(0,o.useValueAsRef)(w),Y="rtl"===g(),J=B||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":Y?"left":"right","inline-start":Y?"right":"left"})[E],X="center"===A?J:`${J}-${A}`,Q=O,Z=+("bottom"===E),ee=+("top"===E),et=+("right"===E),en=+("left"===E);"number"==typeof Q?Q={top:Q+Z,right:Q+en,bottom:Q+ee,left:Q+et}:Q&&(Q={top:(Q.top||0)+Z,right:(Q.right||0)+en,bottom:(Q.bottom||0)+ee,left:(Q.left||0)+et});let er={boundary:"clipping-ancestors"===C?"clippingAncestors":C,padding:Q},ei=t.useRef(null),eo=(0,o.useValueAsRef)(b),el=(0,o.useValueAsRef)(S),eu=[(0,s.offset)(e=>{let t=y(e,E,Y),n="function"==typeof eo.current?eo.current(t):eo.current,r="function"==typeof el.current?el.current(t):el.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},["function"!=typeof b?b:0,"function"!=typeof S?S:0,Y,E])],es="none"===z&&"shift"!==$,ea=!es&&
1(T||W||"shift"===$),ec="none"===$?null:(0,s.flip)({...er,padding:{top:Q.top+1,right:Q.right+1,bottom:Q.bottom+1,left:Q.left+1},mainAxis:!W&&"flip"===$,crossAxis:"flip"===z&&"alignment",fallbackAxisSideDirection:G}),ef=es?null:(0,s.shift)(e=>{let t=(0,r.ownerDocument)(e.elements.floating).documentElement;return{...er,rootBoundary:W?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==z,crossAxis:ea,limiter:T||W?void 0:(0,s.limitShift)(e=>{if(!ei.current)return{};let{width:t,height:r}=ei.current.getBoundingClientRect(),i=(0,n.getSideAxis)((0,n.getSide)(e.placement)),o="y"===i?Q.left+Q.right:Q.top+Q.bottom;return{offset:("y"===i?t:r)/2+o/2}})}},[er,T,W,Q,z]);"shift"===$||"shift"===z||"center"===A?eu.push(ef,ec):eu.push(ec,ef),eu.push((0,s.size)({...er,apply({elements:{floating:e},rects:{reference:t},availableWidth:n,availableHeight:r}){let i=e.style;i.setProperty("--available-width",`${n}px`),i.setProperty("--available-height",`${r}px`),i.setProperty("--anchor-width",`${t.width}px`),i.setProperty("--anchor-height",`${t.height}px`)}}),(d=()=>({element:ei.current||document.createElement("div"),padding:L,offsetParent:"floating"}),v=[L],{name:"arrow",options:d,async fn(e){let{x:t,y:r,placement:i,rects:o,platform:l,elements:u,middlewareData:s}=e,{element:a,padding:c=0,offsetParent:f="real"}=(0,n.evaluate)(d,e)||{};if(null==a)return{};let g=(0,n.getPaddingObject)(c),m={x:t,y:r},h=(0,n.getAlignmentAxis)(i),p=(0,n.getAxisLength)(h),y=await l.getDimensions(a),x="y"===h,v=x?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[h]-m[h]-o.floating[p],R=m[h]-o.reference[h],E="real"===f?await l.getOffsetParent?.(a):u.floating,b=u.floating[v]||o.floating[p];b&&await l.isElement?.(E)||(b=u.floating[v]||o.floating[p]);let A=b/2-y[p]/2-1,S=Math.min(g[x?"top":"left"],A),C=Math.min(g[x?"bottom":"right"],A),O=b-y[p]-C,T=b/2-y[p]/2+(w/2-R/2),L=(0,n.clamp)(S,T,O),I=!s.arrow&&null!=(0,n.getAlignment)(i)&&T!==L&&o.reference[p]/2-(T<S?S:C)-y[p]/2<0,P=I?T<S?T-S:T-O:0;return{[h]:m[h]+P,data:{[h]:L,centerOffset:T-L-P,...I&&{alignmentOffset:P}},reset:I}},options:[d,v]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:r,placement:i,rects:o,y:l}=e,u=(0,n.getSide)(i),s=(0,n.getSideAxis)(u),a=ei.current,c=r.arrow?.x||0,f=r.arrow?.y||0,d=a?.clientWidth||0,g=a?.clientHeight||0,m=c+d/2,h=f+g/2,p=Math.abs(r.shift?.y||0),x=o.reference.height/2,v="function"==typeof b?b(y(e,E,Y)):b,w=p>v,R={top:`${m}px calc(100% + ${v}px)`,bottom:`${m}px ${-v}px`,left:`calc(100% + ${v}px) ${h}px`,right:`${-v}px ${h}px`}[u],A=`${m}px ${o.reference.y+x-l}px`;return t.floating.style.setProperty("--transform-origin",ea&&"y"===s&&w?A:R),{}}},m,F),(0,i.useIsoLayoutEffect)(()=>{!k&&M&&M.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[k,M]);let ed=t.useMemo(()=>({elementResize:!I&&"u">typeof ResizeObserver,layoutShift:!I&&"u">typeof IntersectionObserver}),[I]),{refs:eg,elements:em,x:eh,y:ep,middlewareData:ey,update:ex,placement:ev,context:ew,isPositioned:eR,floatingStyles:eE}=function(e={}){let{nodeId:n,externalTree:r}=e,o=(0,f.useFloatingRootContext)(e),l=e.rootContext||o,u={reference:l.useState("referenceElement"),floating:l.useState("floatingElement"),domReference:l.useState("domReferenceElement")},[d,g]=t.useState(null),m=t.useRef(null),h=(0,c.useFloatingTree)(r);(0,i.useIsoLayoutEffect)(()=>{u.domReference&&(m.current=u.domReference)},[u.domReference]);let p=(0,s.useFloating)({...e,elements:{...u,...d&&{reference:d}}}),y=t.useCallback(e=>{let t=(0,a.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;g(t),p.refs.setReference(t)},[p.refs]),[x,v]=t.useState(null),[w,R]=t.useState(null);l.useSyncedValue("referenceElement",x),l.useSyncedValue("domReferenceElement",(0,a.isElement)(x)?x:null),l.useSyncedValue("floatingElement",w);let E=t.useCallback(e=>{((0,a.isElement)(e)||null===e)&&(m.current=e,v(e)),((0,a.isElement)(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!(0,a.isElement)(e))&&p.refs.setReference(e)},[p.refs,v]),b=t.useCallback(e=>{R(e),p.refs.setFloating(e)},[p.refs]),A=t.useMemo(()=>({...p.refs,setReference:E,setFloating:b,setPositionReference:y,domReference:m}),[p.refs,E,b,y]),S=t.useMemo(()=>({...p.elements,domReference:u.domReference}),[p.elements,u.domReference]),C=l.useState("open"),O=l.useState("floatingId"),T=t.useMemo(()=>({...p,dataRef:l.context.dataRef,open:C,onOpenChange:l.setOpen,events:l.context.events,floatingId:O,refs:A,elements:S,nodeId:n,rootStore:l}),[p,A,S,n,l,C,O]);return(0,i.useIsoLayoutEffect)(()=>{l.context.dataRef.current.floatingContext=T;let e=h?.nodesRef.current.find(e=>e.id===n);e&&(e.context=T)}),t.useMemo(()=>({...p,context:T,refs:A,elements:S,rootStore:l}),[p,A,S,T,l])}({rootContext:M,placement:X,middleware:eu,strategy:R,whileElementsMounted:P?void 0:(...e)=>(0,u.autoUpdate)(...e,ed),nodeId:D,externalTree:H}),{sideX:eb,sideY:eA}=ey.adaptiveOrigin||h,eS=eR?R:"fixed",eC=t.useMemo(()=>{let e=F?{position:eS,[eb]:eh,[eA]:ep}:{position:eS,...eE};return eR||(e.opacity=0),e},[F,eS,eb,eh,eA,ep,eE,eR]),eO=t.useRef(null);(0,i.useIsoLayoutEffect)(()=>
1{if(!k)return;let e=q.current,t="function"==typeof e?e():e,n=(x(t)?t.current:t)||null;n!==eO.current&&(eg.setPositionReference(n),eO.current=n)},[k,eg,K,q]),t.useEffect(()=>{if(!k)return;let e=q.current;"function"!=typeof e&&x(e)&&e.current!==eO.current&&(eg.setPositionReference(e.current),eO.current=e.current)},[k,eg,K,q]),t.useEffect(()=>{if(P&&k&&em.domReference&&em.floating)return(0,u.autoUpdate)(em.domReference,em.floating,ex,ed)},[P,k,em,ex,ed]);let eT=(0,n.getSide)(ev),eL=p(E,eT,Y),eI=(0,n.getAlignment)(ev)||"center",eP=!!ey.hide?.referenceHidden;(0,i.useIsoLayoutEffect)(()=>{_&&k&&eR&&V(eT)},[_,k,eR,eT]);let eM=t.useMemo(()=>({position:"absolute",top:ey.arrow?.y,left:ey.arrow?.x}),[ey.arrow]),ek=ey.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eC,arrowStyles:eM,arrowRef:ei,arrowUncentered:ek,side:eL,align:eI,physicalSide:eT,anchorHidden:eP,refs:eg,context:ew,isPositioned:eR,update:ex}),[eC,eM,ei,ek,eL,eI,eT,eP,eg,ew,eR,ex])}],56590)},212856,e=>{"use strict";var t=e.i(271645),n=e.i(630628),r=e.i(676477),i=e.i(500977),o=e.i(763256),l=e.i(843476);function u(){return new Map}function s(){return new Set}function a(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}e.s(["CompositeList",0,function(e){let{children:c,elementsRef:f,labelsRef:d,onMapChange:g}=e,m=(0,r.useStableCallback)(g),h=t.useRef(0),p=(0,n.useRefWithInit)(s).current,y=(0,n.useRefWithInit)(u).current,[x,v]=t.useState(0),w=t.useRef(x),R=(0,r.useStableCallback)((e,t)=>{y.set(e,t??null),w.current+=1,v(w.current)}),E=(0,r.useStableCallback)(e=>{y.delete(e),w.current+=1,v(w.current)}),b=t.useMemo(()=>{let e=new Map;return Array.from(y.keys()).filter(e=>e.isConnected).sort(a).forEach((t,n)=>{let r=y.get(t)??{};e.set(t,{...r,index:n})}),e},[y,x]);(0,i.useIsoLayoutEffect)(()=>{if("function"!=typeof MutationObserver||0===b.size)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),0===t.size&&(w.current+=1,v(w.current))});return b.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[b]),(0,i.useIsoLayoutEffect)(()=>{w.current===x&&(f.current.length!==b.size&&(f.current.length=b.size),d&&d.current.length!==b.size&&(d.current.length=b.size),h.current=b.size),m(b)},[m,b,f,d,x]),(0,i.useIsoLayoutEffect)(()=>()=>{f.current=[]},[f]),(0,i.useIsoLayoutEffect)(()=>()=>{d&&(d.current=[])},[d]);let A=(0,r.useStableCallback)(e=>(p.add(e),()=>{p.delete(e)}));(0,i.useIsoLayoutEffect)(()=>{p.forEach(e=>e(b))},[p,b]);let S=t.useMemo(()=>({register:R,unregister:E,subscribeMapChange:A,elementsRef:f,labelsRef:d,nextIndexRef:h}),[R,E,A,f,d,h]);return(0,l.jsx)(o.CompositeListContext.Provider,{value:S,children:c})}])},351368,869302,672257,e=>{"use strict";e.i(247167);var t=e.i(271645),n=e.i(229315),r=e.i(400231),i=e.i(676477),o=e.i(500977),l=e.i(290219),u=e.i(247857),s=e.i(282033),a=e.i(343084),c=e.i(494);function f(e,t,n){return Math.floor(e/t)!==n}function d(e,t){return t<0||t>=e.current.length}function g(e,t){return h(e,{disabledIndices:t})}function m(e,t){return h(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function h(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let o=t;do o+=n?-i:i;while(o>=0&&o<=e.current.length-1&&p(e,o,r))return o}function p(e,t,n){if("function"==typeof n)return n(t);if(n)return n.includes(t);let r=e.current[t];return!!r&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled"))}var y=e.i(151665),x=e.i(5963),v=e.i(803404),w=e.i(698442);function R(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function E(e,t){return R(t,e===c.ARROW_UP||e===c.ARROW_DOWN,e===c.ARROW_LEFT||e===c.ARROW_RIGHT)}function b(e,t,n){return R(t,e===c.ARROW_DOWN,n?e===c.ARROW_LEFT:e===c.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,A){let S="rootStore"in e?e.rootStore:e,C=S.useState("open"),O=S.useState("floatingElement"),T=S.useState("domReferenceElement"),L=S.context.dataRef,{listRef:I,activeIndex:P,onNavigate:M=()=>{},enabled:k=!0,selectedIndex:N=null,allowEscape:W=!1,loopFocus:D=!1,nested:F=!1,rtl:_=!1,virtual:H=!1,focusItemOnOpen:B="auto",focusItemOnHover:V=!0,openOnArrowKeyDown:$=!0,disabledIndices:z,orientation:G="vertical",parentOrientation:U,cols:j=1,id:K,resetOnPointerLeave:q=!0,externalTree:Y}=A,J=(0,u.getFloatingFocusElement)(O),X=(0,r.useValueAsRef)(J),Q=(0,y.useFloatingParentNodeId)(),Z=(0,y.useFloatingTree)(Y);(0,o.useIsoLayoutEffect)(()=>{L.current.orientation=G},[L,G]);let ee=(0,u.isTypeableCombobox)(T),et=t.useRef(B),en=t.useRef(N??-1),er=t.useRef(null),ei=t.useRef(!0),eo=(0,i.useStableCallback)(e=>{M(-1===en.current?null:en.current,e)}),el=t.useRef(eo),eu=t.useRef(!!O),es=t.useRef(C),ea=t.useRef(!1),ec=t.useRef(!1),ef=(0,r.useValueAsRef)(z),ed=(0,r.useValueAsRef)(C),eg=(0,r.useValueAsRef)(N),em=(0,r.useValueAsRef)(q),eh=(0,i.useStableCallback)(()=>{function e(e){H?Z?.events.emit("virtualfocus",e):(0,w.enqueueFocus)(e,{sync:ea.current,preventScroll:!0})}let t=I.current[en.current],n=ec.current;t&&e(t),(ea.current?e=>e():requestAnimationFrame)(()=>{let r=I.current[en.current]||t;!r||(t||e(r),ey&&(n||!ei.current)&&r.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,o.useIsoLayoutEffect)(()=>{k&&(C&&O?(en.current=N??-1,et.current&&null!=N&&(ec.current=!0,eo())):eu.current&&(en.current=-1,el.current()))},[k,C,O,N,eo]),(0,o.useIsoLayoutEffect)(()=>
1{if(k){if(!C){ea.current=!1;return}if(O)if(null==P){if(ea.current=!1,null!=eg.current)return;if(eu.current&&(en.current=-1,eh()),(!es.current||!eu.current)&&et.current&&(null!=er.current||!0===et.current&&null==er.current)){let e=0,t=()=>{null==I.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(en.current=null==er.current||b(er.current,G,_)||F?g(I):m(I),er.current=null,eo())};t()}}else d(I,P)||(en.current=P,eh(),ec.current=!1)}},[k,C,O,P,eg,F,I,G,_,eo,eh,ef]),(0,o.useIsoLayoutEffect)(()=>{if(!k||O||!Z||H||!eu.current)return;let e=Z.nodesRef.current,t=e.find(e=>e.id===Q)?.context?.elements.floating,n=(0,u.activeElement)((0,l.ownerDocument)(O)),r=e.some(e=>e.context&&(0,u.contains)(e.context.elements.floating,n));t&&!r&&ei.current&&t.focus({preventScroll:!0})},[k,O,Z,Q,H]),(0,o.useIsoLayoutEffect)(()=>{el.current=eo,es.current=C,eu.current=!!O}),(0,o.useIsoLayoutEffect)(()=>{C||(er.current=null,et.current=B)},[C,B]);let ep=null!=P,ey=t.useMemo(()=>{function e(e){if(!ed.current)return;let t=I.current.indexOf(e.currentTarget);-1!==t&&en.current!==t&&(en.current=t,eo(e))}return{onFocus(t){ea.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){ea.current=!0,ec.current=!1,V&&e(t)},onPointerLeave(e){if(!ed.current||!ei.current||"touch"===e.pointerType)return;ea.current=!0;let t=e.relatedTarget;!V||I.current.includes(t)||em.current&&((0,w.enqueueFocus)(null,{sync:!0}),en.current=-1,eo(e),H||X.current?.focus({preventScroll:!0}))}}},[ed,X,V,I,eo,em,H]),ex=t.useCallback(()=>U??Z?.nodesRef.current.find(e=>e.id===Q)?.context?.dataRef?.current.orientation,[Q,Z,U]),ev=(0,i.useStableCallback)(e=>{var t,r;let i,o;if(ei.current=!1,ea.current=!0,229===e.which||!ed.current&&e.currentTarget===X.current)return;if(F&&(t=e.key,i=_?t===c.ARROW_RIGHT:t===c.ARROW_LEFT,o=t===c.ARROW_UP,"both"===G||"horizontal"===G&&j&&j>1?"Escape"===t:R(G,i,o))){E(e.key,ex())||(0,s.stopEvent)(e),S.setOpen(!1,(0,x.createChangeEventDetails)(v.REASONS.listNavigation,e.nativeEvent)),(0,n.isHTMLElement)(T)&&(H?Z?.events.emit("virtualfocus",T):T.focus());return}let l=en.current,y=g(I,z),w=m(I,z);if(ee||("Home"===e.key&&((0,s.stopEvent)(e),en.current=y,eo(e)),"End"===e.key&&((0,s.stopEvent)(e),en.current=w,eo(e))),j>1){let t,n,i=Array.from({length:I.current.length},()=>({width:1,height:1})),o=(t=[],n=0,i.forEach(({width:e,height:r},i)=>{let o=!1;for(;!o;){let l=[];for(let t=0;t<e;t+=1)for(let e=0;e<r;e+=1)l.push(n+t+e*j);n%j+e<=j&&l.every(e=>null==t[e])?(l.forEach(e=>{t[e]=i}),o=!0):n+=1}}),[...t]),l=o.findIndex(e=>null!=e&&!p(I,e,z)),u=o.reduce((e,t,n)=>null==t||p(I,t,z)?e:n,-1),g=o[function(e,{event:t,orientation:n,loopFocus:r,rtl:i,
1cols:o,disabledIndices:l,minIndex:u,maxIndex:g,prevIndex:m,stopEvent:y=!1}){let x=m,v=[],w={},R=!1;{let t=null,n=-1;e.current.forEach((e,r)=>{if(null==e)return;let i=e.closest('[role="row"]');i&&(R=!0),(i!==t||-1===n)&&(t=i,v[n+=1]=[]),v[n].push(r),w[r]=n})}let E=R&&v.length>0&&v.some(e=>e.length!==o);function b(t){if(!E||-1===m)return;let n=w[m];if(null==n)return;let i=v[n].indexOf(m),o="up"===t?n-1:n+1;r&&(o<0?o=v.length-1:o>=v.length&&(o=0));let u=new Set;for(;o>=0&&o<v.length&&!u.has(o);){u.add(o);let n=v[o];if(0===n.length){o="up"===t?o-1:o+1;continue}let s=Math.min(i,n.length-1);for(let t=s;t>=0;t-=1){let r=n[t];if(!p(e,r,l))return r}o="up"===t?o-1:o+1,r&&(o<0?o=v.length-1:o>=v.length&&(o=0))}}if(t.key===c.ARROW_UP){let n=b("up");if(void 0!==n)y&&(0,s.stopEvent)(t),x=n;else{if(y&&(0,s.stopEvent)(t),-1===m)x=g;else if(x=h(e,{startingIndex:x,amount:o,decrement:!0,disabledIndices:l}),r&&(m-o<u||x<0)){let e=m%o,t=g%o,n=g-(t-e);x=t===e?g:t>e?n:n-o}d(e,x)&&(x=m)}}if(t.key===c.ARROW_DOWN){let n=b("down");void 0!==n?(y&&(0,s.stopEvent)(t),x=n):(y&&(0,s.stopEvent)(t),-1===m?x=u:(x=h(e,{startingIndex:m,amount:o,disabledIndices:l}),r&&m+o>g&&(x=h(e,{startingIndex:m%o-o,amount:o,disabledIndices:l}))),d(e,x)&&(x=m))}if("both"===n){let n=(0,a.floor)(m/o);t.key===(i?c.ARROW_LEFT:c.ARROW_RIGHT)&&(y&&(0,s.stopEvent)(t),m%o!=o-1?(x=h(e,{startingIndex:m,disabledIndices:l}),r&&f(x,o,n)&&(x=h(e,{startingIndex:m-m%o-1,disabledIndices:l}))):r&&(x=h(e,{startingIndex:m-m%o-1,disabledIndices:l})),f(x,o,n)&&(x=m)),t.key===(i?c.ARROW_RIGHT:c.ARROW_LEFT)&&(y&&(0,s.stopEvent)(t),m%o!=0?(x=h(e,{startingIndex:m,decrement:!0,disabledIndices:l}),r&&f(x,o,n)&&(x=h(e,{startingIndex:m+(o-m%o),decrement:!0,disabledIndices:l}))):r&&(x=h(e,{startingIndex:m+(o-m%o),decrement:!0,disabledIndices:l})),f(x,o,n)&&(x=m));let u=(0,a.floor)(g/o)===n;d(e,x)&&(x=r&&u?t.key===(i?c.ARROW_RIGHT:c.ARROW_LEFT)?g:h(e,{startingIndex:m-m%o-1,disabledIndices:l}):m)}return x}({current:o.map(e=>null!=e?I.current[e]:null)},{event:e,orientation:G,loopFocus:D,rtl:_,cols:j,disabledIndices:(r=[...("function"!=typeof z?z:null)||I.current.map((e,t)=>p(I,t,z)?t:void 0),void 0],o.flatMap((e,t)=>r.includes(e)?[t]:[])),minIndex:l,maxIndex:u,prevIndex:function(e,t,n,r,i){if(-1===e)return -1;let o=n.indexOf(e),l=t[e];switch(i){case"tl":return o;case"tr":if(!l)return o;return o+l.width-1;case"bl":if(!l)return o;return o+(l.height-1)*r;case"br":return n.lastIndexOf(e);default:return -1}}(en.current>w?y:en.current,i,o,j,e.key===c.ARROW_DOWN?"bl":e.key===(_?c.ARROW_LEFT:c.ARROW_RIGHT)?"tr":"tl"),stopEvent:!0})];if(null!=g&&(en.current=g,eo(e)),"both"===G)return}if(E(e.key,G)){if((0,s.stopEvent)(e),C&&!H&&(0,u.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){en.current=b(e.key,G,_)?y:w,eo(e);return}b(e.key,G,_)?D?l>=w?W&&l!==I.current.length?en.current=-1:(ea.current=!1,en.current=y):en.current=h(I,{startingIndex:l,disabledIndices:z}):en.current=Math.min(w,h(I,{startingIndex:l,disabledIndices:z})):D?l<=y?W&&-1!==l?en.current=I.current.length:(ea.current=!1,en.current=w):en.current=h(I,{startingIndex:l,decrement:!0,disabledIndices:z}):en.current=Math.max(y,h(I,{startingIndex:l,decrement:!0,disabledIndices:z})),d(I,en.current)&&(en.current=-1),eo(e)}}),ew=t.useMemo(()=>H&&C&&ep&&{"aria-activedescendant":`${K}-${P}`},[H,C,ep,K,P]),eR=t.useMemo(()=>({"aria-orientation":"both"===G?void 0:G,...!ee?ew:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&C&&!H){let t=(0,u.getTarget)(e.nativeEvent);if(t&&!(0,u.contains)(X.current,t))return;(0,s.stopEvent)(e),S.setOpen(!1,(0,x.createChangeEventDetails)(v.REASONS.focusOut,e.nativeEvent)),(0,n.isHTMLElement)(T)&&T.focus();return}ev(e)},onPointerMove(){ei.current=!0}}),[ew,ev,X,G,ee,S,C,H,T]),eE=t.useMemo(()=>{function e(e){"auto"===B&&(0,s.isVirtualClick)(e.nativeEvent)&&(et.current=!H)}function t(e){et.current=B,"auto"===B&&(0,s.isVirtualPointerEvent)(e.nativeEvent)&&(et.current=!0)}return{onKeyDown(e){var t,n;let r=S.select("open");ei.current=!1;let i=e.key.startsWith("Arrow"),o=(t=e.key,n=ex(),R(n,_?t===c.ARROW_LEFT:t===c.ARROW_RIGHT,t===c.ARROW_DOWN)),l=E(e.key,G),u=(F?o:l)||"Enter"===e.key||""===e.key.trim();if(H&&r)return ev(e);if(r||$||!i){if(u){let t=E(e.key,ex());er.current=F&&t?null:e.key}if(F){o&&((0,s.stopEvent)(e),r?(en.current=g(I,ef.current),eo(e)):S.setOpen(!0,(0,x.createChangeEventDetails)(v.REASONS.listNavigation,e.nativeEvent,e.currentTarget)));return}l&&(null!=eg.current&&(en.current=eg.current),(0,s.stopEvent)(e),!r&&$?S.setOpen(!0,(0,x.createChangeEventDetails)(v.REASONS.listNavigation,e.nativeEvent,e.currentTarget)):ev(e),r&&eo(e))}},onFocus(e){S.select("open")&&!H&&(en.current=-1,eo(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[ev,ef,B,I,F,eo,S,$,G,ex,_,eg,H]),eb=t.useMemo(()=>({...ew,...eE}),[ew,eE]);return t.useMemo(()=>k?{reference:eb,floating:eR,item:ey,trigger:eE}:{},[k,eb,eR,eE,ey])}],351368);var A=e.i(566745);e.s(["useTypeahead",0,function(e,n){let r="rootStore"in e?e.rootStore:e,l=r.context.dataRef,a=r.useState("open"),{listRef:c,activeIndex:f,onMatch:d,onTypingChange:g,enabled:m=!0,resetMs:h=750,selectedIndex:p=null}=n,y=(0,A.useTimeout)(),x=t.useRef(""),v=t.useRef(p??f??-1),w=t.useRef(null);(0,o.useIsoLayoutEffect)(()=>{(a||null===p)&&(y.clear(),w.current=null,""!==x.current&&(x.current=""))},[a,p,y]),(0,o.useIsoLayoutEffect)(()=>{a&&""===x.current&&(v.current=p??f??-1)},[a,p,f]);let R=(0,i.useStableCallback)(e=>{e?l.current.typing||(l.current.typing=e,g?.(e)):l.current.typing&&(l.current.typing=e,g?.(e))}),E=(0,i.useStableCallback)(e=>{function t(e,t,n){let r=t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let n=c.current;if(x.current.length>0&&" "!==x.current[0]&&(-1===t(n,n,x.current)?R(!1):" "===e.key&&(0,s.stopEvent)(e)),null==n||1!==e.ke
1y.length||e.ctrlKey||e.metaKey||e.altKey)return;a&&" "!==e.key&&((0,s.stopEvent)(e),R(!0));let r=""===x.current;r&&(v.current=p??f??-1),n.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&x.current===e.key&&(x.current="",v.current=w.current),x.current+=e.key,y.start(h,()=>{x.current="",v.current=w.current,R(!1)});let i=r?p??f??-1:v.current,o=t(n,[...n.slice((i||0)+1),...n.slice(0,(i||0)+1)],x.current);-1!==o?(d?.(o),w.current=o):" "!==e.key&&(x.current="",R(!1))}),b=(0,i.useStableCallback)(e=>{let t=e.relatedTarget,n=r.select("domReferenceElement"),i=r.select("floatingElement"),o=(0,u.contains)(n,t),l=(0,u.contains)(i,t);o||l||(y.clear(),x.current="",v.current=w.current,R(!1))}),S=t.useMemo(()=>({onKeyDown:E,onBlur:b}),[E,b]),C=t.useMemo(()=>({onKeyDown:E,onKeyUp(e){" "===e.key&&R(!1)},onBlur:b}),[E,b,R]);return t.useMemo(()=>m?{reference:S,floating:C}:{},[m,S,C])}],869302),e.s(["getPseudoElementBounds",0,function(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===r.content)return t;let i=parseFloat(n.width)||0,o=parseFloat(n.height)||0,l=parseFloat(r.width)||0,u=parseFloat(r.height)||0,s=Math.max(t.width,i,l),a=Math.max(t.height,o,u),c=s-t.width,f=a-t.height;return{left:t.left-c/2,right:t.right+c/2,top:t.top-f/2,bottom:t.bottom+f/2}}],672257)},740582,678784,e=>{"use strict";e.i(247167);var t=e.i(271645),n=e.i(327601);let r=t.forwardRef(function(e,t){let{className:r,render:i,orientation:o="horizontal",...l}=e;return(0,n.useRenderElement)("div",e,{state:{orientation:o},ref:t,props:[{role:"separator","aria-orientation":o},l]})});e.s(["Separator",0,r],740582);var i=e.i(678745);e.s(["CheckIcon",()=>i.default],678784)}]);

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.