1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,312364,413276,824844,866359,t=>{"use strict";t.i(502105);var e=t.i(9768);function n(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function o(t){return["top","bottom"].includes(n(t))?"x":"y"}function i(t){return"y"===t?"height":"width"}function l(t,e,l){let a,{reference:f,floating:u}=t,c=f.x+f.width/2-u.width/2,s=f.y+f.height/2-u.height/2,d=o(e),m=i(d),h=f[m]/2-u[m]/2,g="x"===d;switch(n(e)){case"top":a={x:c,y:f.y-u.height};break;case"bottom":a={x:c,y:f.y+f.height};break;case"right":a={x:f.x+f.width,y:s};break;case"left":a={x:f.x-u.width,y:s};break;default:a={x:f.x,y:f.y}}switch(r(e)){case"start":a[d]-=h*(l&&g?-1:1);break;case"end":a[d]+=h*(l&&g?-1:1)}return a}let a=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,f=await (null==a.isRTL?void 0:a.isRTL(e)),u=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:s}=l(u,r,f),d=r,m={};for(let n=0;n<i.length;n++){let{name:h,fn:g}=i[n],{x:p,y:y,data:w,reset:x}=await g({x:c,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:u,platform:a,elements:{reference:t,floating:e}});c=null!=p?p:c,s=null!=y?y:s,m={...m,[h]:{...m[h],...w}},x&&("object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:c,y:s}=l(u,d,f)),n=-1)}return{x:c,y:s,placement:d,strategy:o,middlewareData:m}};function f(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function u(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:h=!1,padding:g=0}=e,p=f(g),y=a[h?"floating"===m?"reference":"floating":m],w=u(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(y)))||n?y:y.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:d,strategy:c})),x=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...l.floating,x:r,y:o}:l.reference,offsetParent:await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),strategy:c}):l[m]);return{top:w.top-x.top+p.top,bottom:x.bottom-w.bottom+p.bottom,left:w.left-x.left+p.left,right:x.right-w.right+p.right}}let s=Math.min,d=Math.max,m=t=>({name:"arrow",options:t,async fn(e){let{element:n,padding:r=0}=null!=t?t:{},{x:l,y:a,placement:u,rects:c,platform:m}=e;if(null==n)return{};let h=f(r),g={x:l,y:a},p=o(u),y=i(p),w=await m.getDimensions(n),x="y"===p?"top":"left",v="y"===p?"bottom":"right",b=c.reference[y]+c.reference[p]-g[p]-c.floating[y],R=g[p]-c.reference[p],L=await (null==m.getOffsetParent?void 0:m.getOffsetParent(n)),T=L?"y"===p?L.clientHeight||0:L.clientWidth||0:0,E=h[x],A=T-w[y]-h[v],P=T/2-w[y]/2+(b/2-R/2),C=d(E,s(P,A));return{data:{[p]:C,centerOffset:P-C}}}}),h={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,t=>h[t])}let p={start:"end",end:"start"};function y(t){return t.replace(/start|end/g,t=>p[t])}function w(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function x(t){if(null==t)return window;if(!w(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function v(t){return x(t).getComputedStyle(t)}function b(t){return w(t)?"":t?(t.nodeName||"").toLowerCase():""}function R(t){return t instanceof x(t).HTMLElement}function L(t){return t instanceof x(t).Element}function T(t){return!("u"<typeof ShadowRoot)&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}function E(t){let{overflow:e,overflowX:n,overflowY:r}=v(t);return/auto|scroll|overlay|hidden/.test(e+r+n)}function A(t){let e=navigator.userAgent.toLowerCase().includes("firefox"),n=v(t);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter}function P(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),t.s(["arrow",0,m,"computePosition",0,a,"flip",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var l,a,f,u,s;let d,{placement:m,middlewareData:h,rects:p,initialPlacement:w,platform:x,elements:v}=e,{mainAxis:b=!0,crossAxis:R=!0,fallbackPlacements:L,fallbackStrategy:T="bestFit",flipAlignment:E=!0,...A}=t,P=n(m),C=L||(P!==w&&E?(d=g(w),[y(w),d,y(d)]):[g(w)]),O=[w,...C],S=await c(e,A),W=[],k=(null==(l=h.flip)?void 0:l.overflows)||[];if(b&&W.push(S[P]),R){let t,e,n,l,{main:a,cross:f}=(void 0===(s=await (null==x.isRTL?void 0:x.isRTL(v.floating)))&&(s=!1),t=r(m),n=i(e=o(m)),l="x"===e?t===(s?"end":"start")?"right":"left":"start"===t?"bottom":"top",p.reference[n]>p.floating[n]&&(l=g(l)),{main:l,cross:g(l)});W.push(S[a],S[f])}if(k=[...k,{placement:m,overflows:W}],!W.every(t=>t<=0)){let t=(null!=(a=null==(f=h.flip)?void 0:f.index)?a:0)+1,e=O[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n="bottom";switch(T){case"bestFit":{let t=null==(u=k.map(t=>[t,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:u[0].placement;t&&(n=t);break}case"initialPlacement":n=w}if(m!==n)return{reset:{placement:n}}}return{}}}},"offset",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){let{x:i,y:l,placement:a,rects:f,platform:u,elements:c}
1=e,s=function(t,e,i,l){void 0===l&&(l=!1);let a=n(t),f=r(t),u="x"===o(t),c=["left","top"].includes(a)?-1:1,s=l&&u?-1:1,d="function"==typeof i?i({...e,placement:t}):i,{mainAxis:m,crossAxis:h,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return f&&"number"==typeof g&&(h="end"===f?-1*g:g),u?{x:h*s,y:m*c}:{x:m*c,y:h*s}}(a,f,t,await (null==u.isRTL?void 0:u.isRTL(c.floating)));return{x:i+s.x,y:l+s.y,data:s}}}},"rectToClientRect",0,u,"shift",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:l}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=t,h={x:r,y:i},g=await c(e,m),p=o(n(l)),y="x"===p?"y":"x",w=h[p],x=h[y];if(a){let t="y"===p?"bottom":"right";w=d(w+g["y"===p?"top":"left"],s(w,w-g[t]))}if(f){let t="y"===y?"bottom":"right";x=d(x+g["y"===y?"top":"left"],s(x,x-g[t]))}let v=u.fn({...e,[p]:w,[y]:x});return{...v,data:{x:v.x-r,y:v.y-i}}}}}],413276);let C=Math.min,O=Math.max,S=Math.round;function W(t,e,n){var r,o,i,l;void 0===e&&(e=!1),void 0===n&&(n=!1);let a=t.getBoundingClientRect(),f=1,u=1;e&&R(t)&&(f=t.offsetWidth>0&&S(a.width)/t.offsetWidth||1,u=t.offsetHeight>0&&S(a.height)/t.offsetHeight||1);let c=L(t)?x(t):window,s=!P()&&n,d=(a.left+(s&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/f,m=(a.top+(s&&null!=(i=null==(l=c.visualViewport)?void 0:l.offsetTop)?i:0))/u,h=a.width/f,g=a.height/u;return{width:h,height:g,top:m,right:d+h,bottom:m+g,left:d,x:d,y:m}}function k(t){return((t instanceof x(t).Node?t.ownerDocument:t.document)||window.document).documentElement}function D(t){return L(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function H(t){return W(k(t)).left+D(t).scrollLeft}function M(t){return"html"===b(t)?t:t.assignedSlot||t.parentNode||(T(t)?t.host:null)||k(t)}function B(t){return R(t)&&"fixed"!==getComputedStyle(t).position?t.offsetParent:null}function F(t){let e=x(t),n=B(t);for(;n&&["table","td","th"].includes(b(n))&&"static"===getComputedStyle(n).position;)n=B(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===getComputedStyle(n).position&&!A(n))?e:n||function(t){let e=M(t);for(T(e)&&(e=e.host);R(e)&&!["html","body"].includes(b(e));){if(A(e))return e;e=e.parentNode}return null}(t)||e}function V(t){if(R(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=W(t);return{width:e.width,height:e.height}}function j(t,e){var n;void 0===e&&(e=[]);let r=function t(e){let n=M(e);return["html","body","#document"].includes(b(n))?e.ownerDocument.body:R(n)&&E(n)?n:t(n)}(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=x(r),l=o?[i].concat(i.visualViewport||[],E(r)?r:[]):r,a=e.concat(l);return o?a:a.concat(j(l))}function N(t,e,n){var r,o;let i,l,a,f,c,s,d,m,h,g;return"viewport"===e?u(function(t,e){let n=x(t),r=k(t),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,f=0;if(o){i=o.width,l=o.height;let t=P();(t||!t&&"fixed"===e)&&(a=o.offsetLeft,f=o.offsetTop)}return{width:i,height:l,x:a,y:f}}(t,n)):L(e)?(l=(i=W(e,!1,"fixed"===n)).top+e.clientTop,{top:l,left:a=i.left+e.clientLeft,x:a,y:l,right:a+e.clientWidth,bottom:l+e.clientHeight,width:e.clientWidth,height:e.clientHeight}):u((r=k(t),f=k(r),c=D(r),s=null==(o=r.ownerDocument)?void 0:o.body,d=O(f.scrollWidth,f.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),m=O(f.scrollHeight,f.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),h=-c.scrollLeft+H(r),g=-c.scrollTop,"rtl"===v(s||f).direction&&(h+=O(f.clientWidth,s?s.clientWidth:0)-d),{width:d,height:m,x:h,y:g}))}let z={getClippingRect:function(t){let e,n,{element:r,boundary:o,rootBoundary:i,strategy:l}=t,a=[..."clippingAncestors"===o?(e=j(r),L(n=["absolute","fixed"].includes(v(r).position)&&R(r)?F(r):r)?e.filter(t=>L(t)&&function(t,e){let n=null==e||null==e.getRootNode?void 0:e.getRootNode();if(null!=t&&t.contains(e))return!0;if(n&&T(n)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(t,n)&&"body"!==b(t)):[]):[].concat(o),i],f=a[0],u=a.reduce((t,e)=>{let n=N(r,e,l);return t.top=O(n.top,t.top),t.right=C(n.right,t.right),t.bottom=C(n.bottom,t.bottom),t.left=O(n.left,t.left),t},N(r,f,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t,o=R(n),i=k(n);if(n===i)return e;let l={scrollLeft:0,scrollTop:0},a={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==b(n)||E(i))&&(l=D(n)),R(n))){let t=W(n,!0);a.x=t.x+n.clientLeft,a.y=t.y+n.clientTop}return{...e,x:e.x-l.scrollLeft+a.x,y:e.y-l.scrollTop+a.y}},isElement:L,getDimensions:V,getOffsetParent:F,getDocumentElement:k,getElementRects:t=>{let{reference:e,floating:n,strategy:r}=t;return{reference:function(t,e,n){let r,o=R(e),i=k(e),l=W(t,o&&(S((r=W(e)).width)!==e.offsetWidth||S(r.height)!==e.offsetHeight),"fixed"===n),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==b(e)||E(i))&&(a=D(e)),R(e)){let t=W(e,!0);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else i&&(f.x=H(i));return{x:l.left+a.scrollLeft-f.x,y:l.top+a.scrollTop-f.y,width:l.width,height:l.height}}(e,F(n),r),floating:{...V(n),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===v(t).direction},I=(t,e,n)=>a(t,e,{platform:z,...n});t.s(["autoUpdate",0,function(t,e,n,r){void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=r,f=!1,u=o&&!a,c=i&&!a,s=u||c?[...L(t)?j(t):[],...j(e)]:[];
1s.forEach(t=>{u&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let d,m=null;l&&!a&&(m=new ResizeObserver(n),L(t)&&m.observe(t),m.observe(e));let h=a?W(t):null;return a&&function e(){if(f)return;let r=W(t);h&&(r.x!==h.x||r.y!==h.y||r.width!==h.width||r.height!==h.height)&&n(),h=r,d=requestAnimationFrame(e)}(),()=>{var t;f=!0,s.forEach(t=>{u&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==(t=m)||t.disconnect(),m=null,a&&cancelAnimationFrame(d)}},"computePosition",0,I,"getOverflowAncestors",0,j],824844);var U=t.i(733632),K="u">typeof document?e.useLayoutEffect:e.useEffect;function X(t){let{middleware:n,placement:r="bottom",strategy:o="absolute"}=void 0===t?{}:t,i=(0,e.useRef)(null),l=(0,e.useRef)(null),[a,f]=(0,e.useState)({x:null,y:null,strategy:o,placement:r,middlewareData:{}}),[u,c]=(0,e.useState)(n);!function t(e,n){let r,o,i;if(e===n)return!0;if(typeof e!=typeof n)return!1;if("function"==typeof e&&e.toString()===n.toString())return!0;if(e&&n&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(o=r;0!=o--;)if(!t(e[o],n[o]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){let r=i[o];if(("_owner"!==r||!e.$$typeof)&&!t(e[r],n[r]))return!1}return!0}return e!=e&&n!=n}(null==u?void 0:u.map(t=>{let{options:e}=t;return e}),null==n?void 0:n.map(t=>{let{options:e}=t;return e}))&&c(n);let s=(0,e.useRef)(!0);K(()=>(s.current=!0,()=>{s.current=!1}),[]);let d=(0,e.useCallback)(()=>{i.current&&l.current&&I(i.current,l.current,{middleware:u,placement:r,strategy:o}).then(t=>{s.current&&(0,U.flushSync)(()=>{f(t)})})},[u,r,o]);K(d,[d]);let m=(0,e.useCallback)(t=>{i.current=t,d()},[d]),h=(0,e.useCallback)(t=>{l.current=t,d()},[d]),g=(0,e.useMemo)(()=>({reference:i,floating:l}),[]);return(0,e.useMemo)(()=>({...a,update:d,refs:g,reference:m,floating:h}),[a,d,g,m,h])}t.s(["arrow",0,t=>{let{element:e,padding:n}=t;return{name:"arrow",options:t,fn(t){if(Object.prototype.hasOwnProperty.call(e,"current")){if(null!=e.current)return m({element:e.current,padding:n}).fn(t)}else if(e)return m({element:e,padding:n}).fn(t);return{}}}},"useFloating",0,X],866359),new WeakMap,new WeakMap;var Y="u">typeof document?e.useLayoutEffect:e.useEffect;let $=!1,q=0,_=()=>"floating-ui-"+q++,G=e["useId".toString()],J=null!=G?G:function(){let[t,n]=e.useState(()=>$?_():void 0);return Y(()=>{null==t&&n(_())},[]),e.useEffect(()=>{$||($=!0)},[]),t},Q=e.createContext(null);t.s(["FloatingPortal",0,t=>{let{children:n,id:r="floating-ui-root",root:o=null}=t,[i,l]=e.useState(!1),a=e.useRef(null);return(Y(()=>{if(o)return;let t=document.getElementById(r);t?a.current=t:(a.current=document.createElement("div"),a.current.id=r),document.body.contains(a.current)||document.body.appendChild(a.current),l(!0)},[r,o]),o)?(0,U.createPortal)(n,o):i&&a.current?(0,U.createPortal)(n,a.current):null},"useFloating",0,function(t){let{open:n=!1,onOpenChange:r=()=>{},placement:o,middleware:i,strategy:l,nodeId:a}=void 0===t?{}:t,f=e.useContext(Q),u=e.useRef({}),c=e.useState(()=>{let t;return t=new Map,{emit(e,n){var r;null==(r=t.get(e))||r.forEach(t=>t(n))},on(e,n){t.set(e,[...t.get(e)||[],n])},off(e,n){t.set(e,(t.get(e)||[]).filter(t=>t!==n))}}})[0],s=X({placement:o,middleware:i,strategy:l}),d=e.useMemo(()=>({...s,dataRef:u,nodeId:a,events:c,open:n,onOpenChange:r}),[s,u,a,c,n,r]);return Y(()=>{let t=null==f?void 0:f.nodesRef.current.find(t=>t.id===a);t&&(t.context=d)}),e.useMemo(()=>({context:d,...s}),[s,d])},"useId",0,J],312364)}]); 2 3//# sourceMappingURL=2ued81uqpxwgq.js.map
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.